@nikthegeek/dreamsforlittles-shared 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access.d.ts +2450 -30
- package/dist/access.js +63 -4
- package/dist/access.js.map +1 -1
- package/dist/admin.d.ts +12635 -1041
- package/dist/admin.js +554 -4
- package/dist/admin.js.map +1 -1
- package/dist/allergy-ladders.d.ts +563 -80
- package/dist/allergy-ladders.js +40 -0
- package/dist/allergy-ladders.js.map +1 -1
- package/dist/analysis.d.ts +68 -46
- package/dist/analysis.js +10 -2
- package/dist/analysis.js.map +1 -1
- package/dist/api.d.ts +12 -5
- package/dist/api.js +12 -0
- package/dist/api.js.map +1 -1
- package/dist/app-feedback.d.ts +322 -0
- package/dist/app-feedback.js +58 -0
- package/dist/app-feedback.js.map +1 -0
- package/dist/auth.d.ts +684 -0
- package/dist/auth.js +45 -4
- package/dist/auth.js.map +1 -1
- package/dist/billing.d.ts +47 -2
- package/dist/billing.js +56 -29
- package/dist/billing.js.map +1 -1
- package/dist/client-notices.d.ts +6114 -0
- package/dist/client-notices.js +455 -0
- package/dist/client-notices.js.map +1 -0
- package/dist/coach.d.ts +20178 -206
- package/dist/coach.js +329 -18
- package/dist/coach.js.map +1 -1
- package/dist/communication-preferences.d.ts +61 -0
- package/dist/communication-preferences.js +30 -0
- package/dist/communication-preferences.js.map +1 -0
- package/dist/enums.d.ts +6 -2
- package/dist/enums.js +27 -1
- package/dist/enums.js.map +1 -1
- package/dist/errors.d.ts +9 -4
- package/dist/errors.js +9 -2
- package/dist/errors.js.map +1 -1
- package/dist/family-invitations.d.ts +2289 -0
- package/dist/family-invitations.js +77 -0
- package/dist/family-invitations.js.map +1 -0
- package/dist/family-profile-artifacts.d.ts +4433 -0
- package/dist/family-profile-artifacts.js +192 -0
- package/dist/family-profile-artifacts.js.map +1 -0
- package/dist/family.d.ts +7902 -294
- package/dist/family.js +170 -5
- package/dist/family.js.map +1 -1
- package/dist/files.d.ts +17 -14
- package/dist/files.js +5 -1
- package/dist/files.js.map +1 -1
- package/dist/getting-started-guides.d.ts +117 -0
- package/dist/getting-started-guides.js +25 -0
- package/dist/getting-started-guides.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/invites.d.ts +252 -0
- package/dist/invites.js +2 -0
- package/dist/invites.js.map +1 -1
- package/dist/mobile-web-releases.d.ts +389 -0
- package/dist/mobile-web-releases.js +71 -0
- package/dist/mobile-web-releases.js.map +1 -0
- package/dist/notification-banners.d.ts +694 -0
- package/dist/notification-banners.js +132 -0
- package/dist/notification-banners.js.map +1 -0
- package/dist/product-analytics.d.ts +5984 -0
- package/dist/product-analytics.js +791 -0
- package/dist/product-analytics.js.map +1 -0
- package/dist/push-devices.d.ts +175 -0
- package/dist/push-devices.js +56 -0
- package/dist/push-devices.js.map +1 -0
- package/dist/realtime.d.ts +604 -0
- package/dist/realtime.js +152 -0
- package/dist/realtime.js.map +1 -0
- package/dist/review-prompt.d.ts +192 -0
- package/dist/review-prompt.js +72 -0
- package/dist/review-prompt.js.map +1 -0
- package/dist/support-faqs.d.ts +103 -0
- package/dist/support-faqs.js +24 -0
- package/dist/support-faqs.js.map +1 -0
- package/dist/support-tickets.d.ts +605 -0
- package/dist/support-tickets.js +100 -0
- package/dist/support-tickets.js.map +1 -0
- package/package.json +6 -1
|
@@ -0,0 +1,389 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const mobileWebReleaseStatusSchema: z.ZodEnum<["draft", "published", "paused", "archived"]>;
|
|
3
|
+
export declare const mobileWebReleaseChannelSchema: z.ZodString;
|
|
4
|
+
export declare const mobileWebReleaseVersionSchema: z.ZodString;
|
|
5
|
+
export declare const mobileWebReleaseManifestSchema: z.ZodObject<{
|
|
6
|
+
webReleaseVersion: z.ZodString;
|
|
7
|
+
requiredWrapperVersion: z.ZodString;
|
|
8
|
+
minApiVersion: z.ZodString;
|
|
9
|
+
compatibleWrapperVersionRange: z.ZodOptional<z.ZodString>;
|
|
10
|
+
compatibleApiVersionRange: z.ZodOptional<z.ZodString>;
|
|
11
|
+
zipUrl: z.ZodString;
|
|
12
|
+
sha256: z.ZodString;
|
|
13
|
+
entryFile: z.ZodString;
|
|
14
|
+
releasedAt: z.ZodString;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
webReleaseVersion: string;
|
|
17
|
+
requiredWrapperVersion: string;
|
|
18
|
+
minApiVersion: string;
|
|
19
|
+
zipUrl: string;
|
|
20
|
+
sha256: string;
|
|
21
|
+
entryFile: string;
|
|
22
|
+
releasedAt: string;
|
|
23
|
+
compatibleWrapperVersionRange?: string | undefined;
|
|
24
|
+
compatibleApiVersionRange?: string | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
webReleaseVersion: string;
|
|
27
|
+
requiredWrapperVersion: string;
|
|
28
|
+
minApiVersion: string;
|
|
29
|
+
zipUrl: string;
|
|
30
|
+
sha256: string;
|
|
31
|
+
entryFile: string;
|
|
32
|
+
releasedAt: string;
|
|
33
|
+
compatibleWrapperVersionRange?: string | undefined;
|
|
34
|
+
compatibleApiVersionRange?: string | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const mobileWebReleaseSchema: z.ZodObject<{
|
|
37
|
+
webReleaseVersion: z.ZodString;
|
|
38
|
+
requiredWrapperVersion: z.ZodString;
|
|
39
|
+
minApiVersion: z.ZodString;
|
|
40
|
+
zipUrl: z.ZodString;
|
|
41
|
+
sha256: z.ZodString;
|
|
42
|
+
entryFile: z.ZodString;
|
|
43
|
+
releasedAt: z.ZodString;
|
|
44
|
+
} & {
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
channel: z.ZodString;
|
|
47
|
+
status: z.ZodEnum<["draft", "published", "paused", "archived"]>;
|
|
48
|
+
storageBucket: z.ZodString;
|
|
49
|
+
storageObjectPath: z.ZodString;
|
|
50
|
+
compatibleWrapperVersionRange: z.ZodString;
|
|
51
|
+
compatibleApiVersionRange: z.ZodString;
|
|
52
|
+
releaseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
createdAt: z.ZodString;
|
|
54
|
+
updatedAt: z.ZodString;
|
|
55
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
58
|
+
id: string;
|
|
59
|
+
createdAt: string;
|
|
60
|
+
updatedAt: string;
|
|
61
|
+
webReleaseVersion: string;
|
|
62
|
+
storageBucket: string;
|
|
63
|
+
storageObjectPath: string;
|
|
64
|
+
requiredWrapperVersion: string;
|
|
65
|
+
minApiVersion: string;
|
|
66
|
+
compatibleWrapperVersionRange: string;
|
|
67
|
+
compatibleApiVersionRange: string;
|
|
68
|
+
zipUrl: string;
|
|
69
|
+
sha256: string;
|
|
70
|
+
entryFile: string;
|
|
71
|
+
releasedAt: string;
|
|
72
|
+
channel: string;
|
|
73
|
+
createdBy?: string | null | undefined;
|
|
74
|
+
releaseNotes?: string | null | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
77
|
+
id: string;
|
|
78
|
+
createdAt: string;
|
|
79
|
+
updatedAt: string;
|
|
80
|
+
webReleaseVersion: string;
|
|
81
|
+
storageBucket: string;
|
|
82
|
+
storageObjectPath: string;
|
|
83
|
+
requiredWrapperVersion: string;
|
|
84
|
+
minApiVersion: string;
|
|
85
|
+
compatibleWrapperVersionRange: string;
|
|
86
|
+
compatibleApiVersionRange: string;
|
|
87
|
+
zipUrl: string;
|
|
88
|
+
sha256: string;
|
|
89
|
+
entryFile: string;
|
|
90
|
+
releasedAt: string;
|
|
91
|
+
channel: string;
|
|
92
|
+
createdBy?: string | null | undefined;
|
|
93
|
+
releaseNotes?: string | null | undefined;
|
|
94
|
+
}>;
|
|
95
|
+
export declare const createMobileWebReleaseRequestSchema: z.ZodObject<{
|
|
96
|
+
channel: z.ZodDefault<z.ZodString>;
|
|
97
|
+
webReleaseVersion: z.ZodString;
|
|
98
|
+
status: z.ZodDefault<z.ZodEnum<["draft", "published", "paused", "archived"]>>;
|
|
99
|
+
storageBucket: z.ZodDefault<z.ZodString>;
|
|
100
|
+
storageObjectPath: z.ZodString;
|
|
101
|
+
zipUrl: z.ZodString;
|
|
102
|
+
sha256: z.ZodString;
|
|
103
|
+
entryFile: z.ZodDefault<z.ZodString>;
|
|
104
|
+
requiredWrapperVersion: z.ZodString;
|
|
105
|
+
minApiVersion: z.ZodString;
|
|
106
|
+
compatibleWrapperVersionRange: z.ZodOptional<z.ZodString>;
|
|
107
|
+
compatibleApiVersionRange: z.ZodOptional<z.ZodString>;
|
|
108
|
+
releaseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
+
releasedAt: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
|
111
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
112
|
+
webReleaseVersion: string;
|
|
113
|
+
storageBucket: string;
|
|
114
|
+
storageObjectPath: string;
|
|
115
|
+
requiredWrapperVersion: string;
|
|
116
|
+
minApiVersion: string;
|
|
117
|
+
zipUrl: string;
|
|
118
|
+
sha256: string;
|
|
119
|
+
entryFile: string;
|
|
120
|
+
channel: string;
|
|
121
|
+
compatibleWrapperVersionRange?: string | undefined;
|
|
122
|
+
compatibleApiVersionRange?: string | undefined;
|
|
123
|
+
releasedAt?: string | undefined;
|
|
124
|
+
releaseNotes?: string | null | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
webReleaseVersion: string;
|
|
127
|
+
storageObjectPath: string;
|
|
128
|
+
requiredWrapperVersion: string;
|
|
129
|
+
minApiVersion: string;
|
|
130
|
+
zipUrl: string;
|
|
131
|
+
sha256: string;
|
|
132
|
+
status?: "archived" | "paused" | "draft" | "published" | undefined;
|
|
133
|
+
storageBucket?: string | undefined;
|
|
134
|
+
compatibleWrapperVersionRange?: string | undefined;
|
|
135
|
+
compatibleApiVersionRange?: string | undefined;
|
|
136
|
+
entryFile?: string | undefined;
|
|
137
|
+
releasedAt?: string | undefined;
|
|
138
|
+
channel?: string | undefined;
|
|
139
|
+
releaseNotes?: string | null | undefined;
|
|
140
|
+
}>;
|
|
141
|
+
export declare const updateMobileWebReleaseRequestSchema: z.ZodObject<{
|
|
142
|
+
status: z.ZodOptional<z.ZodEnum<["draft", "published", "paused", "archived"]>>;
|
|
143
|
+
requiredWrapperVersion: z.ZodOptional<z.ZodString>;
|
|
144
|
+
minApiVersion: z.ZodOptional<z.ZodString>;
|
|
145
|
+
compatibleWrapperVersionRange: z.ZodOptional<z.ZodString>;
|
|
146
|
+
compatibleApiVersionRange: z.ZodOptional<z.ZodString>;
|
|
147
|
+
releaseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
148
|
+
}, "strict", z.ZodTypeAny, {
|
|
149
|
+
status?: "archived" | "paused" | "draft" | "published" | undefined;
|
|
150
|
+
requiredWrapperVersion?: string | undefined;
|
|
151
|
+
minApiVersion?: string | undefined;
|
|
152
|
+
compatibleWrapperVersionRange?: string | undefined;
|
|
153
|
+
compatibleApiVersionRange?: string | undefined;
|
|
154
|
+
releaseNotes?: string | null | undefined;
|
|
155
|
+
}, {
|
|
156
|
+
status?: "archived" | "paused" | "draft" | "published" | undefined;
|
|
157
|
+
requiredWrapperVersion?: string | undefined;
|
|
158
|
+
minApiVersion?: string | undefined;
|
|
159
|
+
compatibleWrapperVersionRange?: string | undefined;
|
|
160
|
+
compatibleApiVersionRange?: string | undefined;
|
|
161
|
+
releaseNotes?: string | null | undefined;
|
|
162
|
+
}>;
|
|
163
|
+
export declare const mobileWebReleaseLatestQuerySchema: z.ZodObject<{
|
|
164
|
+
channel: z.ZodDefault<z.ZodString>;
|
|
165
|
+
wrapperVersion: z.ZodOptional<z.ZodString>;
|
|
166
|
+
apiVersion: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
channel: string;
|
|
169
|
+
wrapperVersion?: string | undefined;
|
|
170
|
+
apiVersion?: string | undefined;
|
|
171
|
+
}, {
|
|
172
|
+
wrapperVersion?: string | undefined;
|
|
173
|
+
apiVersion?: string | undefined;
|
|
174
|
+
channel?: string | undefined;
|
|
175
|
+
}>;
|
|
176
|
+
export declare const mobileWebReleaseListResponseSchema: z.ZodObject<{
|
|
177
|
+
releases: z.ZodArray<z.ZodObject<{
|
|
178
|
+
webReleaseVersion: z.ZodString;
|
|
179
|
+
requiredWrapperVersion: z.ZodString;
|
|
180
|
+
minApiVersion: z.ZodString;
|
|
181
|
+
zipUrl: z.ZodString;
|
|
182
|
+
sha256: z.ZodString;
|
|
183
|
+
entryFile: z.ZodString;
|
|
184
|
+
releasedAt: z.ZodString;
|
|
185
|
+
} & {
|
|
186
|
+
id: z.ZodString;
|
|
187
|
+
channel: z.ZodString;
|
|
188
|
+
status: z.ZodEnum<["draft", "published", "paused", "archived"]>;
|
|
189
|
+
storageBucket: z.ZodString;
|
|
190
|
+
storageObjectPath: z.ZodString;
|
|
191
|
+
compatibleWrapperVersionRange: z.ZodString;
|
|
192
|
+
compatibleApiVersionRange: z.ZodString;
|
|
193
|
+
releaseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
createdAt: z.ZodString;
|
|
195
|
+
updatedAt: z.ZodString;
|
|
196
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
|
+
}, "strip", z.ZodTypeAny, {
|
|
198
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
199
|
+
id: string;
|
|
200
|
+
createdAt: string;
|
|
201
|
+
updatedAt: string;
|
|
202
|
+
webReleaseVersion: string;
|
|
203
|
+
storageBucket: string;
|
|
204
|
+
storageObjectPath: string;
|
|
205
|
+
requiredWrapperVersion: string;
|
|
206
|
+
minApiVersion: string;
|
|
207
|
+
compatibleWrapperVersionRange: string;
|
|
208
|
+
compatibleApiVersionRange: string;
|
|
209
|
+
zipUrl: string;
|
|
210
|
+
sha256: string;
|
|
211
|
+
entryFile: string;
|
|
212
|
+
releasedAt: string;
|
|
213
|
+
channel: string;
|
|
214
|
+
createdBy?: string | null | undefined;
|
|
215
|
+
releaseNotes?: string | null | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
218
|
+
id: string;
|
|
219
|
+
createdAt: string;
|
|
220
|
+
updatedAt: string;
|
|
221
|
+
webReleaseVersion: string;
|
|
222
|
+
storageBucket: string;
|
|
223
|
+
storageObjectPath: string;
|
|
224
|
+
requiredWrapperVersion: string;
|
|
225
|
+
minApiVersion: string;
|
|
226
|
+
compatibleWrapperVersionRange: string;
|
|
227
|
+
compatibleApiVersionRange: string;
|
|
228
|
+
zipUrl: string;
|
|
229
|
+
sha256: string;
|
|
230
|
+
entryFile: string;
|
|
231
|
+
releasedAt: string;
|
|
232
|
+
channel: string;
|
|
233
|
+
createdBy?: string | null | undefined;
|
|
234
|
+
releaseNotes?: string | null | undefined;
|
|
235
|
+
}>, "many">;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
releases: {
|
|
238
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
239
|
+
id: string;
|
|
240
|
+
createdAt: string;
|
|
241
|
+
updatedAt: string;
|
|
242
|
+
webReleaseVersion: string;
|
|
243
|
+
storageBucket: string;
|
|
244
|
+
storageObjectPath: string;
|
|
245
|
+
requiredWrapperVersion: string;
|
|
246
|
+
minApiVersion: string;
|
|
247
|
+
compatibleWrapperVersionRange: string;
|
|
248
|
+
compatibleApiVersionRange: string;
|
|
249
|
+
zipUrl: string;
|
|
250
|
+
sha256: string;
|
|
251
|
+
entryFile: string;
|
|
252
|
+
releasedAt: string;
|
|
253
|
+
channel: string;
|
|
254
|
+
createdBy?: string | null | undefined;
|
|
255
|
+
releaseNotes?: string | null | undefined;
|
|
256
|
+
}[];
|
|
257
|
+
}, {
|
|
258
|
+
releases: {
|
|
259
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
260
|
+
id: string;
|
|
261
|
+
createdAt: string;
|
|
262
|
+
updatedAt: string;
|
|
263
|
+
webReleaseVersion: string;
|
|
264
|
+
storageBucket: string;
|
|
265
|
+
storageObjectPath: string;
|
|
266
|
+
requiredWrapperVersion: string;
|
|
267
|
+
minApiVersion: string;
|
|
268
|
+
compatibleWrapperVersionRange: string;
|
|
269
|
+
compatibleApiVersionRange: string;
|
|
270
|
+
zipUrl: string;
|
|
271
|
+
sha256: string;
|
|
272
|
+
entryFile: string;
|
|
273
|
+
releasedAt: string;
|
|
274
|
+
channel: string;
|
|
275
|
+
createdBy?: string | null | undefined;
|
|
276
|
+
releaseNotes?: string | null | undefined;
|
|
277
|
+
}[];
|
|
278
|
+
}>;
|
|
279
|
+
export declare const mobileWebReleaseResponseSchema: z.ZodObject<{
|
|
280
|
+
release: z.ZodObject<{
|
|
281
|
+
webReleaseVersion: z.ZodString;
|
|
282
|
+
requiredWrapperVersion: z.ZodString;
|
|
283
|
+
minApiVersion: z.ZodString;
|
|
284
|
+
zipUrl: z.ZodString;
|
|
285
|
+
sha256: z.ZodString;
|
|
286
|
+
entryFile: z.ZodString;
|
|
287
|
+
releasedAt: z.ZodString;
|
|
288
|
+
} & {
|
|
289
|
+
id: z.ZodString;
|
|
290
|
+
channel: z.ZodString;
|
|
291
|
+
status: z.ZodEnum<["draft", "published", "paused", "archived"]>;
|
|
292
|
+
storageBucket: z.ZodString;
|
|
293
|
+
storageObjectPath: z.ZodString;
|
|
294
|
+
compatibleWrapperVersionRange: z.ZodString;
|
|
295
|
+
compatibleApiVersionRange: z.ZodString;
|
|
296
|
+
releaseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
297
|
+
createdAt: z.ZodString;
|
|
298
|
+
updatedAt: z.ZodString;
|
|
299
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
300
|
+
}, "strip", z.ZodTypeAny, {
|
|
301
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
302
|
+
id: string;
|
|
303
|
+
createdAt: string;
|
|
304
|
+
updatedAt: string;
|
|
305
|
+
webReleaseVersion: string;
|
|
306
|
+
storageBucket: string;
|
|
307
|
+
storageObjectPath: string;
|
|
308
|
+
requiredWrapperVersion: string;
|
|
309
|
+
minApiVersion: string;
|
|
310
|
+
compatibleWrapperVersionRange: string;
|
|
311
|
+
compatibleApiVersionRange: string;
|
|
312
|
+
zipUrl: string;
|
|
313
|
+
sha256: string;
|
|
314
|
+
entryFile: string;
|
|
315
|
+
releasedAt: string;
|
|
316
|
+
channel: string;
|
|
317
|
+
createdBy?: string | null | undefined;
|
|
318
|
+
releaseNotes?: string | null | undefined;
|
|
319
|
+
}, {
|
|
320
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
321
|
+
id: string;
|
|
322
|
+
createdAt: string;
|
|
323
|
+
updatedAt: string;
|
|
324
|
+
webReleaseVersion: string;
|
|
325
|
+
storageBucket: string;
|
|
326
|
+
storageObjectPath: string;
|
|
327
|
+
requiredWrapperVersion: string;
|
|
328
|
+
minApiVersion: string;
|
|
329
|
+
compatibleWrapperVersionRange: string;
|
|
330
|
+
compatibleApiVersionRange: string;
|
|
331
|
+
zipUrl: string;
|
|
332
|
+
sha256: string;
|
|
333
|
+
entryFile: string;
|
|
334
|
+
releasedAt: string;
|
|
335
|
+
channel: string;
|
|
336
|
+
createdBy?: string | null | undefined;
|
|
337
|
+
releaseNotes?: string | null | undefined;
|
|
338
|
+
}>;
|
|
339
|
+
}, "strip", z.ZodTypeAny, {
|
|
340
|
+
release: {
|
|
341
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
342
|
+
id: string;
|
|
343
|
+
createdAt: string;
|
|
344
|
+
updatedAt: string;
|
|
345
|
+
webReleaseVersion: string;
|
|
346
|
+
storageBucket: string;
|
|
347
|
+
storageObjectPath: string;
|
|
348
|
+
requiredWrapperVersion: string;
|
|
349
|
+
minApiVersion: string;
|
|
350
|
+
compatibleWrapperVersionRange: string;
|
|
351
|
+
compatibleApiVersionRange: string;
|
|
352
|
+
zipUrl: string;
|
|
353
|
+
sha256: string;
|
|
354
|
+
entryFile: string;
|
|
355
|
+
releasedAt: string;
|
|
356
|
+
channel: string;
|
|
357
|
+
createdBy?: string | null | undefined;
|
|
358
|
+
releaseNotes?: string | null | undefined;
|
|
359
|
+
};
|
|
360
|
+
}, {
|
|
361
|
+
release: {
|
|
362
|
+
status: "archived" | "paused" | "draft" | "published";
|
|
363
|
+
id: string;
|
|
364
|
+
createdAt: string;
|
|
365
|
+
updatedAt: string;
|
|
366
|
+
webReleaseVersion: string;
|
|
367
|
+
storageBucket: string;
|
|
368
|
+
storageObjectPath: string;
|
|
369
|
+
requiredWrapperVersion: string;
|
|
370
|
+
minApiVersion: string;
|
|
371
|
+
compatibleWrapperVersionRange: string;
|
|
372
|
+
compatibleApiVersionRange: string;
|
|
373
|
+
zipUrl: string;
|
|
374
|
+
sha256: string;
|
|
375
|
+
entryFile: string;
|
|
376
|
+
releasedAt: string;
|
|
377
|
+
channel: string;
|
|
378
|
+
createdBy?: string | null | undefined;
|
|
379
|
+
releaseNotes?: string | null | undefined;
|
|
380
|
+
};
|
|
381
|
+
}>;
|
|
382
|
+
export type MobileWebReleaseStatus = z.infer<typeof mobileWebReleaseStatusSchema>;
|
|
383
|
+
export type MobileWebReleaseManifest = z.infer<typeof mobileWebReleaseManifestSchema>;
|
|
384
|
+
export type MobileWebRelease = z.infer<typeof mobileWebReleaseSchema>;
|
|
385
|
+
export type CreateMobileWebReleaseRequest = z.infer<typeof createMobileWebReleaseRequestSchema>;
|
|
386
|
+
export type UpdateMobileWebReleaseRequest = z.infer<typeof updateMobileWebReleaseRequestSchema>;
|
|
387
|
+
export type MobileWebReleaseLatestQuery = z.infer<typeof mobileWebReleaseLatestQuerySchema>;
|
|
388
|
+
export type MobileWebReleaseListResponse = z.infer<typeof mobileWebReleaseListResponseSchema>;
|
|
389
|
+
export type MobileWebReleaseResponse = z.infer<typeof mobileWebReleaseResponseSchema>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { idSchema, isoDateStringSchema } from "./api.js";
|
|
3
|
+
export const mobileWebReleaseStatusSchema = z.enum(["draft", "published", "paused", "archived"]);
|
|
4
|
+
export const mobileWebReleaseChannelSchema = z
|
|
5
|
+
.string()
|
|
6
|
+
.min(1)
|
|
7
|
+
.max(64)
|
|
8
|
+
.regex(/^[a-z0-9][a-z0-9-]*$/);
|
|
9
|
+
export const mobileWebReleaseVersionSchema = z.string().min(1).max(64);
|
|
10
|
+
export const mobileWebReleaseManifestSchema = z.object({
|
|
11
|
+
webReleaseVersion: mobileWebReleaseVersionSchema,
|
|
12
|
+
requiredWrapperVersion: z.string().min(1),
|
|
13
|
+
minApiVersion: z.string().min(1),
|
|
14
|
+
compatibleWrapperVersionRange: z.string().min(1).optional(),
|
|
15
|
+
compatibleApiVersionRange: z.string().min(1).optional(),
|
|
16
|
+
zipUrl: z.string().url(),
|
|
17
|
+
sha256: z.string().regex(/^[a-f0-9]{64}$/i),
|
|
18
|
+
entryFile: z.string().min(1),
|
|
19
|
+
releasedAt: isoDateStringSchema
|
|
20
|
+
});
|
|
21
|
+
export const mobileWebReleaseSchema = mobileWebReleaseManifestSchema.extend({
|
|
22
|
+
id: idSchema,
|
|
23
|
+
channel: mobileWebReleaseChannelSchema,
|
|
24
|
+
status: mobileWebReleaseStatusSchema,
|
|
25
|
+
storageBucket: z.string().min(1),
|
|
26
|
+
storageObjectPath: z.string().min(1),
|
|
27
|
+
compatibleWrapperVersionRange: z.string().min(1),
|
|
28
|
+
compatibleApiVersionRange: z.string().min(1),
|
|
29
|
+
releaseNotes: z.string().nullable().optional(),
|
|
30
|
+
createdAt: isoDateStringSchema,
|
|
31
|
+
updatedAt: isoDateStringSchema,
|
|
32
|
+
createdBy: idSchema.nullable().optional()
|
|
33
|
+
});
|
|
34
|
+
export const createMobileWebReleaseRequestSchema = z.object({
|
|
35
|
+
channel: mobileWebReleaseChannelSchema.default("pilot"),
|
|
36
|
+
webReleaseVersion: mobileWebReleaseVersionSchema,
|
|
37
|
+
status: mobileWebReleaseStatusSchema.default("published"),
|
|
38
|
+
storageBucket: z.string().min(1).default("mobile-web-releases"),
|
|
39
|
+
storageObjectPath: z.string().min(1),
|
|
40
|
+
zipUrl: z.string().url(),
|
|
41
|
+
sha256: z.string().regex(/^[a-f0-9]{64}$/i),
|
|
42
|
+
entryFile: z.string().min(1).default("index.html"),
|
|
43
|
+
requiredWrapperVersion: z.string().min(1),
|
|
44
|
+
minApiVersion: z.string().min(1),
|
|
45
|
+
compatibleWrapperVersionRange: z.string().min(1).optional(),
|
|
46
|
+
compatibleApiVersionRange: z.string().min(1).optional(),
|
|
47
|
+
releaseNotes: z.string().nullable().optional(),
|
|
48
|
+
releasedAt: isoDateStringSchema.optional()
|
|
49
|
+
});
|
|
50
|
+
export const updateMobileWebReleaseRequestSchema = z
|
|
51
|
+
.object({
|
|
52
|
+
status: mobileWebReleaseStatusSchema.optional(),
|
|
53
|
+
requiredWrapperVersion: z.string().min(1).optional(),
|
|
54
|
+
minApiVersion: z.string().min(1).optional(),
|
|
55
|
+
compatibleWrapperVersionRange: z.string().min(1).optional(),
|
|
56
|
+
compatibleApiVersionRange: z.string().min(1).optional(),
|
|
57
|
+
releaseNotes: z.string().nullable().optional()
|
|
58
|
+
})
|
|
59
|
+
.strict();
|
|
60
|
+
export const mobileWebReleaseLatestQuerySchema = z.object({
|
|
61
|
+
channel: mobileWebReleaseChannelSchema.default("pilot"),
|
|
62
|
+
wrapperVersion: z.string().min(1).optional(),
|
|
63
|
+
apiVersion: z.string().min(1).optional()
|
|
64
|
+
});
|
|
65
|
+
export const mobileWebReleaseListResponseSchema = z.object({
|
|
66
|
+
releases: z.array(mobileWebReleaseSchema)
|
|
67
|
+
});
|
|
68
|
+
export const mobileWebReleaseResponseSchema = z.object({
|
|
69
|
+
release: mobileWebReleaseSchema
|
|
70
|
+
});
|
|
71
|
+
//# sourceMappingURL=mobile-web-releases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mobile-web-releases.js","sourceRoot":"","sources":["../src/mobile-web-releases.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzD,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,CAAC;AAEjG,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,EAAE,CAAC;KACP,KAAK,CAAC,sBAAsB,CAAC,CAAC;AAEjC,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAEvE,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IACrD,iBAAiB,EAAE,6BAA6B;IAChD,sBAAsB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACzC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAChC,6BAA6B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC3D,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACxB,MAAM,EAAE,CAAC,CAAC,M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