()
| 10 | import { DeleteWorkflowUseCase } from "~/features/workflow/DeleteWorkflow/index.js"; |
| 11 | |
| 12 | export const createWorkflowsSchema = () => { |
| 13 | return new GraphQLSchemaPlugin({ |
| 14 | typeDefs: /* GraphQL */ ` |
| 15 | type WorkflowError { |
| 16 | code: String |
| 17 | message: String |
| 18 | data: JSON |
| 19 | stack: String |
| 20 | } |
| 21 | |
| 22 | input WorkflowStepNotificationInput { |
| 23 | id: String! |
| 24 | } |
| 25 | |
| 26 | input WorkflowStepTeamInput { |
| 27 | id: String! |
| 28 | } |
| 29 | |
| 30 | input WorkflowStepInput { |
| 31 | id: String! |
| 32 | title: String! |
| 33 | color: String! |
| 34 | description: String |
| 35 | teams: [WorkflowStepTeamInput!]! |
| 36 | notifications: [WorkflowStepNotificationInput!] |
| 37 | } |
| 38 | |
| 39 | input StoreWorkflowInput { |
| 40 | name: String! |
| 41 | steps: [WorkflowStepInput!]! |
| 42 | } |
| 43 | |
| 44 | type WorkflowStepNotification { |
| 45 | id: String! |
| 46 | } |
| 47 | |
| 48 | type WorkflowStepTeam { |
| 49 | id: String! |
| 50 | } |
| 51 | |
| 52 | type WorkflowStep { |
| 53 | id: String! |
| 54 | title: String! |
| 55 | color: String! |
| 56 | description: String |
| 57 | teams: [WorkflowStepTeam!]! |
| 58 | notifications: [WorkflowStepNotification!] |
| 59 | } |
| 60 | |
| 61 | type Workflow { |
| 62 | id: String! |
| 63 | app: String! |
| 64 | name: String! |
| 65 | steps: [WorkflowStep!]! |
| 66 | } |
| 67 | |
| 68 | type ListWorkflowsMeta { |
| 69 | cursor: String |
no test coverage detected