|
| 1 | +// This file was automatically generated. Edits will be overwritten |
| 2 | + |
| 3 | +export interface Typegen0 { |
| 4 | + "@@xstate/typegen": true; |
| 5 | + internalEvents: { |
| 6 | + "": { type: "" }; |
| 7 | + "done.invoke.createTemplate.copyingTemplateData:invocation[0]": { |
| 8 | + type: "done.invoke.createTemplate.copyingTemplateData:invocation[0]"; |
| 9 | + data: unknown; |
| 10 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 11 | + }; |
| 12 | + "done.invoke.createTemplate.creating.checkingParametersAndVariables:invocation[0]": { |
| 13 | + type: "done.invoke.createTemplate.creating.checkingParametersAndVariables:invocation[0]"; |
| 14 | + data: unknown; |
| 15 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 16 | + }; |
| 17 | + "done.invoke.createTemplate.creating.creatingFirstVersion:invocation[0]": { |
| 18 | + type: "done.invoke.createTemplate.creating.creatingFirstVersion:invocation[0]"; |
| 19 | + data: unknown; |
| 20 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 21 | + }; |
| 22 | + "done.invoke.createTemplate.creating.creatingTemplate:invocation[0]": { |
| 23 | + type: "done.invoke.createTemplate.creating.creatingTemplate:invocation[0]"; |
| 24 | + data: unknown; |
| 25 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 26 | + }; |
| 27 | + "done.invoke.createTemplate.creating.creatingVersionWithParametersAndVariables:invocation[0]": { |
| 28 | + type: "done.invoke.createTemplate.creating.creatingVersionWithParametersAndVariables:invocation[0]"; |
| 29 | + data: unknown; |
| 30 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 31 | + }; |
| 32 | + "done.invoke.createTemplate.creating.loadingVersionLogs:invocation[0]": { |
| 33 | + type: "done.invoke.createTemplate.creating.loadingVersionLogs:invocation[0]"; |
| 34 | + data: unknown; |
| 35 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 36 | + }; |
| 37 | + "done.invoke.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]": { |
| 38 | + type: "done.invoke.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]"; |
| 39 | + data: unknown; |
| 40 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 41 | + }; |
| 42 | + "done.invoke.createTemplate.loadingStarterTemplate:invocation[0]": { |
| 43 | + type: "done.invoke.createTemplate.loadingStarterTemplate:invocation[0]"; |
| 44 | + data: unknown; |
| 45 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 46 | + }; |
| 47 | + "done.invoke.createTemplate.uploading:invocation[0]": { |
| 48 | + type: "done.invoke.createTemplate.uploading:invocation[0]"; |
| 49 | + data: unknown; |
| 50 | + __tip: "See the XState TS docs to learn how to strongly type this."; |
| 51 | + }; |
| 52 | + "error.platform.createTemplate.copyingTemplateData:invocation[0]": { |
| 53 | + type: "error.platform.createTemplate.copyingTemplateData:invocation[0]"; |
| 54 | + data: unknown; |
| 55 | + }; |
| 56 | + "error.platform.createTemplate.creating.checkingParametersAndVariables:invocation[0]": { |
| 57 | + type: "error.platform.createTemplate.creating.checkingParametersAndVariables:invocation[0]"; |
| 58 | + data: unknown; |
| 59 | + }; |
| 60 | + "error.platform.createTemplate.creating.creatingFirstVersion:invocation[0]": { |
| 61 | + type: "error.platform.createTemplate.creating.creatingFirstVersion:invocation[0]"; |
| 62 | + data: unknown; |
| 63 | + }; |
| 64 | + "error.platform.createTemplate.creating.creatingTemplate:invocation[0]": { |
| 65 | + type: "error.platform.createTemplate.creating.creatingTemplate:invocation[0]"; |
| 66 | + data: unknown; |
| 67 | + }; |
| 68 | + "error.platform.createTemplate.creating.creatingVersionWithParametersAndVariables:invocation[0]": { |
| 69 | + type: "error.platform.createTemplate.creating.creatingVersionWithParametersAndVariables:invocation[0]"; |
| 70 | + data: unknown; |
| 71 | + }; |
| 72 | + "error.platform.createTemplate.creating.loadingVersionLogs:invocation[0]": { |
| 73 | + type: "error.platform.createTemplate.creating.loadingVersionLogs:invocation[0]"; |
| 74 | + data: unknown; |
| 75 | + }; |
| 76 | + "error.platform.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]": { |
| 77 | + type: "error.platform.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]"; |
| 78 | + data: unknown; |
| 79 | + }; |
| 80 | + "error.platform.createTemplate.loadingStarterTemplate:invocation[0]": { |
| 81 | + type: "error.platform.createTemplate.loadingStarterTemplate:invocation[0]"; |
| 82 | + data: unknown; |
| 83 | + }; |
| 84 | + "error.platform.createTemplate.uploading:invocation[0]": { |
| 85 | + type: "error.platform.createTemplate.uploading:invocation[0]"; |
| 86 | + data: unknown; |
| 87 | + }; |
| 88 | + "xstate.init": { type: "xstate.init" }; |
| 89 | + }; |
| 90 | + invokeSrcNameMap: { |
| 91 | + checkParametersAndVariables: "done.invoke.createTemplate.creating.checkingParametersAndVariables:invocation[0]"; |
| 92 | + copyTemplateData: "done.invoke.createTemplate.copyingTemplateData:invocation[0]"; |
| 93 | + createFirstVersion: "done.invoke.createTemplate.creating.creatingFirstVersion:invocation[0]"; |
| 94 | + createTemplate: "done.invoke.createTemplate.creating.creatingTemplate:invocation[0]"; |
| 95 | + createVersionWithParametersAndVariables: "done.invoke.createTemplate.creating.creatingVersionWithParametersAndVariables:invocation[0]"; |
| 96 | + loadStarterTemplate: "done.invoke.createTemplate.loadingStarterTemplate:invocation[0]"; |
| 97 | + loadVersionLogs: "done.invoke.createTemplate.creating.loadingVersionLogs:invocation[0]"; |
| 98 | + uploadFile: "done.invoke.createTemplate.uploading:invocation[0]"; |
| 99 | + waitForJobToBeCompleted: "done.invoke.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]"; |
| 100 | + }; |
| 101 | + missingImplementations: { |
| 102 | + actions: "onCreate"; |
| 103 | + delays: never; |
| 104 | + guards: never; |
| 105 | + services: never; |
| 106 | + }; |
| 107 | + eventsCausingActions: { |
| 108 | + assignCopiedTemplateData: "done.invoke.createTemplate.copyingTemplateData:invocation[0]"; |
| 109 | + assignError: |
| 110 | + | "error.platform.createTemplate.copyingTemplateData:invocation[0]" |
| 111 | + | "error.platform.createTemplate.creating.checkingParametersAndVariables:invocation[0]" |
| 112 | + | "error.platform.createTemplate.creating.creatingFirstVersion:invocation[0]" |
| 113 | + | "error.platform.createTemplate.creating.creatingTemplate:invocation[0]" |
| 114 | + | "error.platform.createTemplate.creating.creatingVersionWithParametersAndVariables:invocation[0]" |
| 115 | + | "error.platform.createTemplate.creating.loadingVersionLogs:invocation[0]" |
| 116 | + | "error.platform.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]" |
| 117 | + | "error.platform.createTemplate.loadingStarterTemplate:invocation[0]"; |
| 118 | + assignFile: "UPLOAD_FILE"; |
| 119 | + assignJobError: "done.invoke.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]"; |
| 120 | + assignJobLogs: "done.invoke.createTemplate.creating.loadingVersionLogs:invocation[0]"; |
| 121 | + assignParametersAndVariables: "done.invoke.createTemplate.creating.checkingParametersAndVariables:invocation[0]"; |
| 122 | + assignStarterTemplate: "done.invoke.createTemplate.loadingStarterTemplate:invocation[0]"; |
| 123 | + assignTemplateData: "CREATE"; |
| 124 | + assignUploadResponse: "done.invoke.createTemplate.uploading:invocation[0]"; |
| 125 | + assignVersion: |
| 126 | + | "done.invoke.createTemplate.creating.creatingFirstVersion:invocation[0]" |
| 127 | + | "done.invoke.createTemplate.creating.creatingVersionWithParametersAndVariables:invocation[0]" |
| 128 | + | "done.invoke.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]"; |
| 129 | + displayUploadError: "error.platform.createTemplate.uploading:invocation[0]"; |
| 130 | + onCreate: "done.invoke.createTemplate.creating.creatingTemplate:invocation[0]"; |
| 131 | + removeFile: |
| 132 | + | "REMOVE_FILE" |
| 133 | + | "error.platform.createTemplate.uploading:invocation[0]"; |
| 134 | + }; |
| 135 | + eventsCausingDelays: {}; |
| 136 | + eventsCausingGuards: { |
| 137 | + hasFailed: "done.invoke.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]"; |
| 138 | + hasFile: "REMOVE_FILE"; |
| 139 | + hasNoParametersOrVariables: "done.invoke.createTemplate.creating.checkingParametersAndVariables:invocation[0]"; |
| 140 | + hasParametersOrVariables: "done.invoke.createTemplate.copyingTemplateData:invocation[0]"; |
| 141 | + isExampleProvided: ""; |
| 142 | + isNotUsingExample: "UPLOAD_FILE"; |
| 143 | + isTemplateIdToCopyProvided: ""; |
| 144 | + }; |
| 145 | + eventsCausingServices: { |
| 146 | + checkParametersAndVariables: "done.invoke.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]"; |
| 147 | + copyTemplateData: ""; |
| 148 | + createFirstVersion: |
| 149 | + | "CREATE" |
| 150 | + | "done.invoke.createTemplate.copyingTemplateData:invocation[0]"; |
| 151 | + createTemplate: "done.invoke.createTemplate.creating.checkingParametersAndVariables:invocation[0]"; |
| 152 | + createVersionWithParametersAndVariables: "CREATE"; |
| 153 | + loadStarterTemplate: ""; |
| 154 | + loadVersionLogs: "done.invoke.createTemplate.creating.waitingForJobToBeCompleted:invocation[0]"; |
| 155 | + uploadFile: "UPLOAD_FILE"; |
| 156 | + waitForJobToBeCompleted: |
| 157 | + | "done.invoke.createTemplate.creating.creatingFirstVersion:invocation[0]" |
| 158 | + | "done.invoke.createTemplate.creating.creatingVersionWithParametersAndVariables:invocation[0]"; |
| 159 | + }; |
| 160 | + matchesStates: |
| 161 | + | "copyingTemplateData" |
| 162 | + | "creating" |
| 163 | + | "creating.checkingParametersAndVariables" |
| 164 | + | "creating.created" |
| 165 | + | "creating.creatingFirstVersion" |
| 166 | + | "creating.creatingTemplate" |
| 167 | + | "creating.creatingVersionWithParametersAndVariables" |
| 168 | + | "creating.loadingVersionLogs" |
| 169 | + | "creating.promptParametersAndVariables" |
| 170 | + | "creating.waitingForJobToBeCompleted" |
| 171 | + | "idle" |
| 172 | + | "loadingStarterTemplate" |
| 173 | + | "starting" |
| 174 | + | "uploading" |
| 175 | + | { |
| 176 | + creating?: |
| 177 | + | "checkingParametersAndVariables" |
| 178 | + | "created" |
| 179 | + | "creatingFirstVersion" |
| 180 | + | "creatingTemplate" |
| 181 | + | "creatingVersionWithParametersAndVariables" |
| 182 | + | "loadingVersionLogs" |
| 183 | + | "promptParametersAndVariables" |
| 184 | + | "waitingForJobToBeCompleted"; |
| 185 | + }; |
| 186 | + tags: "loading" | "submitting"; |
| 187 | +} |
0 commit comments