Skip to content

Commit f7561e1

Browse files
committed
merge: main
1 parent 6085b92 commit f7561e1

19 files changed

+1641
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// This file was automatically generated. Edits will be overwritten
2+
3+
export interface Typegen0 {
4+
"@@xstate/typegen": true;
5+
internalEvents: {
6+
"done.invoke.authMethods.gettingAuthMethods:invocation[0]": {
7+
type: "done.invoke.authMethods.gettingAuthMethods:invocation[0]";
8+
data: unknown;
9+
__tip: "See the XState TS docs to learn how to strongly type this.";
10+
};
11+
"error.platform.authMethods.gettingAuthMethods:invocation[0]": {
12+
type: "error.platform.authMethods.gettingAuthMethods:invocation[0]";
13+
data: unknown;
14+
};
15+
"xstate.init": { type: "xstate.init" };
16+
};
17+
invokeSrcNameMap: {
18+
getAuthMethods: "done.invoke.authMethods.gettingAuthMethods:invocation[0]";
19+
};
20+
missingImplementations: {
21+
actions: never;
22+
delays: never;
23+
guards: never;
24+
services: never;
25+
};
26+
eventsCausingActions: {
27+
assignAuthMethods: "done.invoke.authMethods.gettingAuthMethods:invocation[0]";
28+
setError: "error.platform.authMethods.gettingAuthMethods:invocation[0]";
29+
};
30+
eventsCausingDelays: {};
31+
eventsCausingGuards: {};
32+
eventsCausingServices: {
33+
getAuthMethods: "xstate.init";
34+
};
35+
matchesStates: "gettingAuthMethods" | "idle";
36+
tags: never;
37+
}
Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
// This file was automatically generated. Edits will be overwritten
2+
3+
export interface Typegen0 {
4+
"@@xstate/typegen": true;
5+
internalEvents: {
6+
"done.invoke.authState.loadingInitialAuthData:invocation[0]": {
7+
type: "done.invoke.authState.loadingInitialAuthData:invocation[0]";
8+
data: unknown;
9+
__tip: "See the XState TS docs to learn how to strongly type this.";
10+
};
11+
"done.invoke.authState.signedIn.profile.updatingProfile:invocation[0]": {
12+
type: "done.invoke.authState.signedIn.profile.updatingProfile:invocation[0]";
13+
data: unknown;
14+
__tip: "See the XState TS docs to learn how to strongly type this.";
15+
};
16+
"done.invoke.signIn": {
17+
type: "done.invoke.signIn";
18+
data: unknown;
19+
__tip: "See the XState TS docs to learn how to strongly type this.";
20+
};
21+
"done.invoke.signOut": {
22+
type: "done.invoke.signOut";
23+
data: unknown;
24+
__tip: "See the XState TS docs to learn how to strongly type this.";
25+
};
26+
"error.platform.authState.loadingInitialAuthData:invocation[0]": {
27+
type: "error.platform.authState.loadingInitialAuthData:invocation[0]";
28+
data: unknown;
29+
};
30+
"error.platform.authState.signedIn.profile.updatingProfile:invocation[0]": {
31+
type: "error.platform.authState.signedIn.profile.updatingProfile:invocation[0]";
32+
data: unknown;
33+
};
34+
"error.platform.signIn": { type: "error.platform.signIn"; data: unknown };
35+
"error.platform.signOut": { type: "error.platform.signOut"; data: unknown };
36+
"xstate.init": { type: "xstate.init" };
37+
};
38+
invokeSrcNameMap: {
39+
loadInitialAuthData: "done.invoke.authState.loadingInitialAuthData:invocation[0]";
40+
signIn: "done.invoke.signIn";
41+
signOut: "done.invoke.signOut";
42+
updateProfile: "done.invoke.authState.signedIn.profile.updatingProfile:invocation[0]";
43+
};
44+
missingImplementations: {
45+
actions: never;
46+
delays: never;
47+
guards: never;
48+
services: never;
49+
};
50+
eventsCausingActions: {
51+
assignData:
52+
| "done.invoke.authState.loadingInitialAuthData:invocation[0]"
53+
| "done.invoke.signIn";
54+
assignError:
55+
| "error.platform.authState.loadingInitialAuthData:invocation[0]"
56+
| "error.platform.signIn"
57+
| "error.platform.signOut";
58+
assignUpdateProfileError: "error.platform.authState.signedIn.profile.updatingProfile:invocation[0]";
59+
clearData: "done.invoke.signOut";
60+
clearError:
61+
| "SIGN_IN"
62+
| "done.invoke.authState.loadingInitialAuthData:invocation[0]"
63+
| "done.invoke.signOut";
64+
clearUpdateProfileError: "UPDATE_PROFILE";
65+
notifySuccessProfileUpdate: "done.invoke.authState.signedIn.profile.updatingProfile:invocation[0]";
66+
redirect: "done.invoke.signOut";
67+
updateUser: "done.invoke.authState.signedIn.profile.updatingProfile:invocation[0]";
68+
};
69+
eventsCausingDelays: {};
70+
eventsCausingGuards: {
71+
hasRedirectUrl: "done.invoke.signOut";
72+
isAuthenticated: "done.invoke.authState.loadingInitialAuthData:invocation[0]";
73+
needSetup: "done.invoke.authState.loadingInitialAuthData:invocation[0]";
74+
};
75+
eventsCausingServices: {
76+
loadInitialAuthData: "xstate.init";
77+
signIn: "SIGN_IN";
78+
signOut: "SIGN_OUT";
79+
updateProfile: "UPDATE_PROFILE";
80+
};
81+
matchesStates:
82+
| "configuringTheFirstUser"
83+
| "loadingInitialAuthData"
84+
| "signedIn"
85+
| "signedIn.profile"
86+
| "signedIn.profile.idle"
87+
| "signedIn.profile.idle.error"
88+
| "signedIn.profile.idle.noError"
89+
| "signedIn.profile.updatingProfile"
90+
| "signedOut"
91+
| "signingIn"
92+
| "signingOut"
93+
| {
94+
signedIn?:
95+
| "profile"
96+
| {
97+
profile?:
98+
| "idle"
99+
| "updatingProfile"
100+
| { idle?: "error" | "noError" };
101+
};
102+
};
103+
tags: never;
104+
}
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
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

Comments
 (0)