@marcoappio/marco-config 2.0.588 → 2.0.590
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.
|
@@ -48,7 +48,7 @@ declare const rowSchemas: {
|
|
|
48
48
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
49
49
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
50
50
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
51
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
51
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
52
52
|
readonly $tableId: v.LiteralSchema<"accounts", undefined>;
|
|
53
53
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
54
54
|
}, undefined>;
|
|
@@ -64,7 +64,7 @@ declare const rowSchemas: {
|
|
|
64
64
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
65
65
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
66
66
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
67
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
67
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
68
68
|
readonly $tableId: v.LiteralSchema<"aliases", undefined>;
|
|
69
69
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
70
70
|
}, undefined>;
|
|
@@ -83,7 +83,7 @@ declare const rowSchemas: {
|
|
|
83
83
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
84
84
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
85
85
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
86
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
87
87
|
readonly $tableId: v.LiteralSchema<"commands", undefined>;
|
|
88
88
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
89
89
|
}, undefined>;
|
|
@@ -98,7 +98,7 @@ declare const rowSchemas: {
|
|
|
98
98
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
99
99
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
100
100
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
101
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
101
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
102
102
|
readonly $tableId: v.LiteralSchema<"contacts", undefined>;
|
|
103
103
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
104
104
|
}, undefined>;
|
|
@@ -111,7 +111,7 @@ declare const rowSchemas: {
|
|
|
111
111
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
112
112
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
113
113
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
114
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
114
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
115
115
|
readonly $tableId: v.LiteralSchema<"credentials", undefined>;
|
|
116
116
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
117
117
|
}, undefined>;
|
|
@@ -134,7 +134,7 @@ declare const rowSchemas: {
|
|
|
134
134
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
135
135
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
136
136
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
137
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
137
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
138
138
|
readonly $tableId: v.LiteralSchema<"drafts", undefined>;
|
|
139
139
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
140
140
|
}, undefined>;
|
|
@@ -156,7 +156,7 @@ declare const rowSchemas: {
|
|
|
156
156
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
157
157
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
158
158
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
159
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
159
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
160
160
|
readonly $tableId: v.LiteralSchema<"jobs", undefined>;
|
|
161
161
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
162
162
|
}, undefined>;
|
|
@@ -173,7 +173,7 @@ declare const rowSchemas: {
|
|
|
173
173
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
174
174
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
175
175
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
176
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
176
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
177
177
|
readonly $tableId: v.LiteralSchema<"labels", undefined>;
|
|
178
178
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
179
179
|
}, undefined>;
|
|
@@ -191,7 +191,7 @@ declare const rowSchemas: {
|
|
|
191
191
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
192
192
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
193
193
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
194
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
194
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
195
195
|
readonly $tableId: v.LiteralSchema<"mailbox_sync_states", undefined>;
|
|
196
196
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
197
197
|
}, undefined>;
|
|
@@ -217,12 +217,13 @@ declare const rowSchemas: {
|
|
|
217
217
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
218
218
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
219
219
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
220
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
220
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
221
221
|
readonly $tableId: v.LiteralSchema<"messages", undefined>;
|
|
222
222
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
223
223
|
}, undefined>;
|
|
224
224
|
readonly profiles: v.StrictObjectSchema<{
|
|
225
225
|
readonly avatarFileId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
226
|
+
readonly deletionRequestedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
226
227
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>;
|
|
227
228
|
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
228
229
|
readonly onboardingState: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -231,7 +232,7 @@ declare const rowSchemas: {
|
|
|
231
232
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
232
233
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
233
234
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
234
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
235
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
235
236
|
readonly $tableId: v.LiteralSchema<"profiles", undefined>;
|
|
236
237
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
237
238
|
}, undefined>;
|
|
@@ -242,7 +243,7 @@ declare const rowSchemas: {
|
|
|
242
243
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
243
244
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
244
245
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
245
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
246
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
246
247
|
readonly $tableId: v.LiteralSchema<"push_notification_tokens", undefined>;
|
|
247
248
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
248
249
|
}, undefined>;
|
|
@@ -254,7 +255,7 @@ declare const rowSchemas: {
|
|
|
254
255
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
255
256
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
256
257
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
257
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
258
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
258
259
|
readonly $tableId: v.LiteralSchema<"saved_views", undefined>;
|
|
259
260
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
260
261
|
}, undefined>;
|
|
@@ -269,7 +270,7 @@ declare const rowSchemas: {
|
|
|
269
270
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
270
271
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
271
272
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
272
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
273
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
273
274
|
readonly $tableId: v.LiteralSchema<"thread_labels", undefined>;
|
|
274
275
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
275
276
|
}, undefined>;
|
|
@@ -300,7 +301,7 @@ declare const rowSchemas: {
|
|
|
300
301
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
301
302
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
302
303
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
303
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
304
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
304
305
|
readonly $tableId: v.LiteralSchema<"threads", undefined>;
|
|
305
306
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
306
307
|
}, undefined>;
|
|
@@ -317,7 +318,7 @@ declare const rowSchemas: {
|
|
|
317
318
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
318
319
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
319
320
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
320
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
321
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
321
322
|
readonly $tableId: v.LiteralSchema<"watcher_shards", undefined>;
|
|
322
323
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
323
324
|
}, undefined>;
|
|
@@ -397,7 +398,7 @@ export declare const appwrite: {
|
|
|
397
398
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
398
399
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
399
400
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
400
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
401
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
401
402
|
readonly $tableId: v.LiteralSchema<"accounts", undefined>;
|
|
402
403
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
403
404
|
}, undefined>;
|
|
@@ -413,7 +414,7 @@ export declare const appwrite: {
|
|
|
413
414
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
414
415
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
415
416
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
416
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
417
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
417
418
|
readonly $tableId: v.LiteralSchema<"aliases", undefined>;
|
|
418
419
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
419
420
|
}, undefined>;
|
|
@@ -432,7 +433,7 @@ export declare const appwrite: {
|
|
|
432
433
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
433
434
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
434
435
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
435
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
436
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
436
437
|
readonly $tableId: v.LiteralSchema<"commands", undefined>;
|
|
437
438
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
438
439
|
}, undefined>;
|
|
@@ -447,7 +448,7 @@ export declare const appwrite: {
|
|
|
447
448
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
448
449
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
449
450
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
450
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
451
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
451
452
|
readonly $tableId: v.LiteralSchema<"contacts", undefined>;
|
|
452
453
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
453
454
|
}, undefined>;
|
|
@@ -460,7 +461,7 @@ export declare const appwrite: {
|
|
|
460
461
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
461
462
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
462
463
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
463
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
464
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
464
465
|
readonly $tableId: v.LiteralSchema<"credentials", undefined>;
|
|
465
466
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
466
467
|
}, undefined>;
|
|
@@ -483,7 +484,7 @@ export declare const appwrite: {
|
|
|
483
484
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
484
485
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
485
486
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
486
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
487
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
487
488
|
readonly $tableId: v.LiteralSchema<"drafts", undefined>;
|
|
488
489
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
489
490
|
}, undefined>;
|
|
@@ -505,7 +506,7 @@ export declare const appwrite: {
|
|
|
505
506
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
506
507
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
507
508
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
508
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
509
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
509
510
|
readonly $tableId: v.LiteralSchema<"jobs", undefined>;
|
|
510
511
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
511
512
|
}, undefined>;
|
|
@@ -522,7 +523,7 @@ export declare const appwrite: {
|
|
|
522
523
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
523
524
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
524
525
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
525
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
526
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
526
527
|
readonly $tableId: v.LiteralSchema<"labels", undefined>;
|
|
527
528
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
528
529
|
}, undefined>;
|
|
@@ -540,7 +541,7 @@ export declare const appwrite: {
|
|
|
540
541
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
541
542
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
542
543
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
543
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
544
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
544
545
|
readonly $tableId: v.LiteralSchema<"mailbox_sync_states", undefined>;
|
|
545
546
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
546
547
|
}, undefined>;
|
|
@@ -566,12 +567,13 @@ export declare const appwrite: {
|
|
|
566
567
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
567
568
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
568
569
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
569
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
570
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
570
571
|
readonly $tableId: v.LiteralSchema<"messages", undefined>;
|
|
571
572
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
572
573
|
}, undefined>;
|
|
573
574
|
readonly profiles: v.StrictObjectSchema<{
|
|
574
575
|
readonly avatarFileId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>, undefined>;
|
|
576
|
+
readonly deletionRequestedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
575
577
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>;
|
|
576
578
|
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
577
579
|
readonly onboardingState: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -580,7 +582,7 @@ export declare const appwrite: {
|
|
|
580
582
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
581
583
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
582
584
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
583
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
585
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
584
586
|
readonly $tableId: v.LiteralSchema<"profiles", undefined>;
|
|
585
587
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
586
588
|
}, undefined>;
|
|
@@ -591,7 +593,7 @@ export declare const appwrite: {
|
|
|
591
593
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
592
594
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
593
595
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
594
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
596
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
595
597
|
readonly $tableId: v.LiteralSchema<"push_notification_tokens", undefined>;
|
|
596
598
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
597
599
|
}, undefined>;
|
|
@@ -603,7 +605,7 @@ export declare const appwrite: {
|
|
|
603
605
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
604
606
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
605
607
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
606
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
608
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
607
609
|
readonly $tableId: v.LiteralSchema<"saved_views", undefined>;
|
|
608
610
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
609
611
|
}, undefined>;
|
|
@@ -618,7 +620,7 @@ export declare const appwrite: {
|
|
|
618
620
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
619
621
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
620
622
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
621
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
623
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
622
624
|
readonly $tableId: v.LiteralSchema<"thread_labels", undefined>;
|
|
623
625
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
624
626
|
}, undefined>;
|
|
@@ -649,7 +651,7 @@ export declare const appwrite: {
|
|
|
649
651
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
650
652
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
651
653
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
652
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
654
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
653
655
|
readonly $tableId: v.LiteralSchema<"threads", undefined>;
|
|
654
656
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
655
657
|
}, undefined>;
|
|
@@ -666,7 +668,7 @@ export declare const appwrite: {
|
|
|
666
668
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
667
669
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
668
670
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
669
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
671
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
670
672
|
readonly $tableId: v.LiteralSchema<"watcher_shards", undefined>;
|
|
671
673
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
672
674
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appwrite.d.ts","sourceRoot":"","sources":["../../src/appwrite/appwrite.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,QAAA,MAAM,qBAAqB;;;;;aAKzB,CAAA;AAEF,QAAA,MAAM,mBAAmB;;;;;eASxB,CAAA;AACD,QAAA,MAAM,uBAAuB;;;;;;;aAO3B,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;aAI1B,CAAA;AAGF,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAA;AAC/F,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAA;AAC3F,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAA;AACnG,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAA;AAmDjG,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"appwrite.d.ts","sourceRoot":"","sources":["../../src/appwrite/appwrite.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAC7C,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,QAAA,MAAM,qBAAqB;;;;;aAKzB,CAAA;AAEF,QAAA,MAAM,mBAAmB;;;;;eASxB,CAAA;AACD,QAAA,MAAM,uBAAuB;;;;;;;aAO3B,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;aAI1B,CAAA;AAGF,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAC,CAAA;AAC/F,MAAM,MAAM,qBAAqB,GAAG,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAA;AAC3F,MAAM,MAAM,yBAAyB,GAAG,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAA;AACnG,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAA;AAmDjG,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqMN,CAAA;AAEV,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWX,CAAA;AAEV,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,UAAU,CAAA;AACtD,MAAM,MAAM,WAAW,CAAC,MAAM,SAAS,gBAAgB,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA"}
|
|
@@ -75,7 +75,7 @@ const wireMetadata = (tableId) => ({
|
|
|
75
75
|
$databaseId: v.literal(appwriteIds.database),
|
|
76
76
|
$id: appwriteRowIdSchema,
|
|
77
77
|
$permissions: v.array(v.string()),
|
|
78
|
-
$sequence:
|
|
78
|
+
$sequence: identifierSchema,
|
|
79
79
|
$tableId: v.literal(tableId),
|
|
80
80
|
$updatedAt: timestampSchema,
|
|
81
81
|
});
|
|
@@ -214,6 +214,7 @@ const rowSchemas = {
|
|
|
214
214
|
profiles: v.strictObject({
|
|
215
215
|
...wireMetadata(appwriteIds.tables.profiles),
|
|
216
216
|
avatarFileId: v.nullable(appwriteRowIdSchema),
|
|
217
|
+
deletionRequestedAt: v.nullable(timestampSchema),
|
|
217
218
|
email: emailSchema,
|
|
218
219
|
name: v.nullable(identifierSchema),
|
|
219
220
|
onboardingState: v.nullable(identifierSchema),
|
|
@@ -6,7 +6,7 @@ const metadata = {
|
|
|
6
6
|
$databaseId: 'marco',
|
|
7
7
|
$id: 'row-1',
|
|
8
8
|
$permissions: ['read("user:user-1")'],
|
|
9
|
-
$sequence: 1,
|
|
9
|
+
$sequence: '1',
|
|
10
10
|
$updatedAt: '2026-07-15T00:00:00.000Z',
|
|
11
11
|
};
|
|
12
12
|
const validRows = {
|
|
@@ -144,6 +144,7 @@ const validRows = {
|
|
|
144
144
|
...metadata,
|
|
145
145
|
$tableId: 'profiles',
|
|
146
146
|
avatarFileId: null,
|
|
147
|
+
deletionRequestedAt: null,
|
|
147
148
|
email: 'marco@example.com',
|
|
148
149
|
name: null,
|
|
149
150
|
onboardingState: null,
|
|
@@ -246,6 +247,15 @@ describe('appwrite', () => {
|
|
|
246
247
|
expect(v.safeParse(appwrite.rowSchemas[table], rowWithoutId).success).toBe(false);
|
|
247
248
|
});
|
|
248
249
|
}
|
|
250
|
+
const invalidSequences = [
|
|
251
|
+
{ description: 'numeric', value: 1 },
|
|
252
|
+
{ description: 'empty', value: '' },
|
|
253
|
+
];
|
|
254
|
+
for (const { description, value } of invalidSequences) {
|
|
255
|
+
it(`rejects ${description} Appwrite sequence metadata`, () => {
|
|
256
|
+
expect(v.safeParse(appwrite.rowSchemas.profiles, { ...validRows.profiles, $sequence: value }).success).toBe(false);
|
|
257
|
+
});
|
|
258
|
+
}
|
|
249
259
|
it('accepts a provider-canonical label name', () => {
|
|
250
260
|
expect(v.safeParse(appwrite.rowSchemas.labels, { ...validRows.labels, name: 'CATEGORY_PROMOTIONS' }).success).toBe(true);
|
|
251
261
|
});
|