@marcoappio/marco-config 2.0.588 → 2.0.589
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,7 +217,7 @@ 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>;
|
|
@@ -231,7 +231,7 @@ declare const rowSchemas: {
|
|
|
231
231
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
232
232
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
233
233
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
234
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
234
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
235
235
|
readonly $tableId: v.LiteralSchema<"profiles", undefined>;
|
|
236
236
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
237
237
|
}, undefined>;
|
|
@@ -242,7 +242,7 @@ declare const rowSchemas: {
|
|
|
242
242
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
243
243
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
244
244
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
245
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
245
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
246
246
|
readonly $tableId: v.LiteralSchema<"push_notification_tokens", undefined>;
|
|
247
247
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
248
248
|
}, undefined>;
|
|
@@ -254,7 +254,7 @@ declare const rowSchemas: {
|
|
|
254
254
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
255
255
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
256
256
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
257
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
257
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
258
258
|
readonly $tableId: v.LiteralSchema<"saved_views", undefined>;
|
|
259
259
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
260
260
|
}, undefined>;
|
|
@@ -269,7 +269,7 @@ declare const rowSchemas: {
|
|
|
269
269
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
270
270
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
271
271
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
272
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
272
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
273
273
|
readonly $tableId: v.LiteralSchema<"thread_labels", undefined>;
|
|
274
274
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
275
275
|
}, undefined>;
|
|
@@ -300,7 +300,7 @@ declare const rowSchemas: {
|
|
|
300
300
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
301
301
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
302
302
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
303
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
303
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
304
304
|
readonly $tableId: v.LiteralSchema<"threads", undefined>;
|
|
305
305
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
306
306
|
}, undefined>;
|
|
@@ -317,7 +317,7 @@ declare const rowSchemas: {
|
|
|
317
317
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
318
318
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
319
319
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
320
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
320
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
321
321
|
readonly $tableId: v.LiteralSchema<"watcher_shards", undefined>;
|
|
322
322
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
323
323
|
}, undefined>;
|
|
@@ -397,7 +397,7 @@ export declare const appwrite: {
|
|
|
397
397
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
398
398
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
399
399
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
400
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
400
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
401
401
|
readonly $tableId: v.LiteralSchema<"accounts", undefined>;
|
|
402
402
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
403
403
|
}, undefined>;
|
|
@@ -413,7 +413,7 @@ export declare const appwrite: {
|
|
|
413
413
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
414
414
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
415
415
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
416
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
416
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
417
417
|
readonly $tableId: v.LiteralSchema<"aliases", undefined>;
|
|
418
418
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
419
419
|
}, undefined>;
|
|
@@ -432,7 +432,7 @@ export declare const appwrite: {
|
|
|
432
432
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
433
433
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
434
434
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
435
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
435
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
436
436
|
readonly $tableId: v.LiteralSchema<"commands", undefined>;
|
|
437
437
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
438
438
|
}, undefined>;
|
|
@@ -447,7 +447,7 @@ export declare const appwrite: {
|
|
|
447
447
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
448
448
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
449
449
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
450
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
450
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
451
451
|
readonly $tableId: v.LiteralSchema<"contacts", undefined>;
|
|
452
452
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
453
453
|
}, undefined>;
|
|
@@ -460,7 +460,7 @@ export declare const appwrite: {
|
|
|
460
460
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
461
461
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
462
462
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
463
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
463
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
464
464
|
readonly $tableId: v.LiteralSchema<"credentials", undefined>;
|
|
465
465
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
466
466
|
}, undefined>;
|
|
@@ -483,7 +483,7 @@ export declare const appwrite: {
|
|
|
483
483
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
484
484
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
485
485
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
486
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
486
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
487
487
|
readonly $tableId: v.LiteralSchema<"drafts", undefined>;
|
|
488
488
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
489
489
|
}, undefined>;
|
|
@@ -505,7 +505,7 @@ export declare const appwrite: {
|
|
|
505
505
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
506
506
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
507
507
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
508
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
508
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
509
509
|
readonly $tableId: v.LiteralSchema<"jobs", undefined>;
|
|
510
510
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
511
511
|
}, undefined>;
|
|
@@ -522,7 +522,7 @@ export declare const appwrite: {
|
|
|
522
522
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
523
523
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
524
524
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
525
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
525
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
526
526
|
readonly $tableId: v.LiteralSchema<"labels", undefined>;
|
|
527
527
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
528
528
|
}, undefined>;
|
|
@@ -540,7 +540,7 @@ export declare const appwrite: {
|
|
|
540
540
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
541
541
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
542
542
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
543
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
543
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
544
544
|
readonly $tableId: v.LiteralSchema<"mailbox_sync_states", undefined>;
|
|
545
545
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
546
546
|
}, undefined>;
|
|
@@ -566,7 +566,7 @@ export declare const appwrite: {
|
|
|
566
566
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
567
567
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
568
568
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
569
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
569
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
570
570
|
readonly $tableId: v.LiteralSchema<"messages", undefined>;
|
|
571
571
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
572
572
|
}, undefined>;
|
|
@@ -580,7 +580,7 @@ export declare const appwrite: {
|
|
|
580
580
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
581
581
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
582
582
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
583
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
583
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
584
584
|
readonly $tableId: v.LiteralSchema<"profiles", undefined>;
|
|
585
585
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
586
586
|
}, undefined>;
|
|
@@ -591,7 +591,7 @@ export declare const appwrite: {
|
|
|
591
591
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
592
592
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
593
593
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
594
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
594
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
595
595
|
readonly $tableId: v.LiteralSchema<"push_notification_tokens", undefined>;
|
|
596
596
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
597
597
|
}, undefined>;
|
|
@@ -603,7 +603,7 @@ export declare const appwrite: {
|
|
|
603
603
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
604
604
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
605
605
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
606
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
606
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
607
607
|
readonly $tableId: v.LiteralSchema<"saved_views", undefined>;
|
|
608
608
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
609
609
|
}, undefined>;
|
|
@@ -618,7 +618,7 @@ export declare const appwrite: {
|
|
|
618
618
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
619
619
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
620
620
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
621
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
621
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
622
622
|
readonly $tableId: v.LiteralSchema<"thread_labels", undefined>;
|
|
623
623
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
624
624
|
}, undefined>;
|
|
@@ -649,7 +649,7 @@ export declare const appwrite: {
|
|
|
649
649
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
650
650
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
651
651
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
652
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
652
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
653
653
|
readonly $tableId: v.LiteralSchema<"threads", undefined>;
|
|
654
654
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
655
655
|
}, undefined>;
|
|
@@ -666,7 +666,7 @@ export declare const appwrite: {
|
|
|
666
666
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
667
667
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
668
668
|
readonly $permissions: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
669
|
-
readonly $sequence: v.SchemaWithPipe<readonly [v.
|
|
669
|
+
readonly $sequence: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
670
670
|
readonly $tableId: v.LiteralSchema<"watcher_shards", undefined>;
|
|
671
671
|
readonly $updatedAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
672
672
|
}, undefined>;
|
|
@@ -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
|
});
|
|
@@ -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 = {
|
|
@@ -246,6 +246,15 @@ describe('appwrite', () => {
|
|
|
246
246
|
expect(v.safeParse(appwrite.rowSchemas[table], rowWithoutId).success).toBe(false);
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
|
+
const invalidSequences = [
|
|
250
|
+
{ description: 'numeric', value: 1 },
|
|
251
|
+
{ description: 'empty', value: '' },
|
|
252
|
+
];
|
|
253
|
+
for (const { description, value } of invalidSequences) {
|
|
254
|
+
it(`rejects ${description} Appwrite sequence metadata`, () => {
|
|
255
|
+
expect(v.safeParse(appwrite.rowSchemas.profiles, { ...validRows.profiles, $sequence: value }).success).toBe(false);
|
|
256
|
+
});
|
|
257
|
+
}
|
|
249
258
|
it('accepts a provider-canonical label name', () => {
|
|
250
259
|
expect(v.safeParse(appwrite.rowSchemas.labels, { ...validRows.labels, name: 'CATEGORY_PROMOTIONS' }).success).toBe(true);
|
|
251
260
|
});
|