@marcoappio/marco-config 2.0.589 → 2.0.591
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.
|
@@ -32,18 +32,23 @@ export type AppwriteMessageRecipient = ReadonlyDeep<v.InferOutput<typeof message
|
|
|
32
32
|
declare const rowSchemas: {
|
|
33
33
|
readonly accounts: v.StrictObjectSchema<{
|
|
34
34
|
readonly colour: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
35
|
+
readonly credential: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
36
|
+
readonly displayName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
37
|
+
readonly initialSyncCompletedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
38
|
+
readonly lastErrorCode: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
39
|
+
readonly lastSuccessfulSyncAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
40
|
+
readonly mailboxSyncState: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
39
41
|
readonly mailProcessedCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
40
42
|
readonly mailTotalCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
41
|
-
readonly
|
|
43
|
+
readonly primaryAlias: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
44
|
+
readonly primaryAliasId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
42
45
|
readonly primaryEmail: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>;
|
|
46
|
+
readonly profile: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
43
47
|
readonly provider: v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>;
|
|
44
48
|
readonly state: v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>;
|
|
45
49
|
readonly userId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
46
|
-
readonly
|
|
50
|
+
readonly watcherShard: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
51
|
+
readonly watcherShardId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
47
52
|
readonly $createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
48
53
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
49
54
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
@@ -223,6 +228,7 @@ declare const rowSchemas: {
|
|
|
223
228
|
}, undefined>;
|
|
224
229
|
readonly profiles: v.StrictObjectSchema<{
|
|
225
230
|
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>;
|
|
231
|
+
readonly deletionRequestedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
226
232
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>;
|
|
227
233
|
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
228
234
|
readonly onboardingState: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
@@ -381,18 +387,23 @@ export declare const appwrite: {
|
|
|
381
387
|
readonly rowSchemas: {
|
|
382
388
|
readonly accounts: v.StrictObjectSchema<{
|
|
383
389
|
readonly colour: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 64, undefined>]>;
|
|
384
|
-
readonly
|
|
385
|
-
readonly
|
|
386
|
-
readonly
|
|
387
|
-
readonly
|
|
390
|
+
readonly credential: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
391
|
+
readonly displayName: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
392
|
+
readonly initialSyncCompletedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
393
|
+
readonly lastErrorCode: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
394
|
+
readonly lastSuccessfulSyncAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
395
|
+
readonly mailboxSyncState: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
388
396
|
readonly mailProcessedCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
389
397
|
readonly mailTotalCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
390
|
-
readonly
|
|
398
|
+
readonly primaryAlias: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
399
|
+
readonly primaryAliasId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
391
400
|
readonly primaryEmail: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>;
|
|
401
|
+
readonly profile: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
392
402
|
readonly provider: v.PicklistSchema<readonly ["GMAIL", "OUTLOOK", "IMAP"], undefined>;
|
|
393
403
|
readonly state: v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "ERROR", "DISCONNECTED"], undefined>;
|
|
394
404
|
readonly userId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>;
|
|
395
|
-
readonly
|
|
405
|
+
readonly watcherShard: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
406
|
+
readonly watcherShardId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
396
407
|
readonly $createdAt: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>;
|
|
397
408
|
readonly $databaseId: v.LiteralSchema<"marco", undefined>;
|
|
398
409
|
readonly $id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 36, undefined>, v.RegexAction<string, undefined>]>;
|
|
@@ -572,6 +583,7 @@ export declare const appwrite: {
|
|
|
572
583
|
}, undefined>;
|
|
573
584
|
readonly profiles: v.StrictObjectSchema<{
|
|
574
585
|
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>;
|
|
586
|
+
readonly deletionRequestedAt: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, undefined>]>, undefined>;
|
|
575
587
|
readonly email: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>]>;
|
|
576
588
|
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
577
589
|
readonly onboardingState: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 255, undefined>]>, 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,CA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
|
@@ -83,18 +83,23 @@ const rowSchemas = {
|
|
|
83
83
|
accounts: v.strictObject({
|
|
84
84
|
...wireMetadata(appwriteIds.tables.accounts),
|
|
85
85
|
colour: colourSchema,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
credential: identifierSchema,
|
|
87
|
+
displayName: v.nullable(identifierSchema),
|
|
88
|
+
initialSyncCompletedAt: v.nullable(timestampSchema),
|
|
89
|
+
lastErrorCode: v.nullable(identifierSchema),
|
|
90
|
+
lastSuccessfulSyncAt: v.nullable(timestampSchema),
|
|
91
|
+
mailboxSyncState: identifierSchema,
|
|
90
92
|
mailProcessedCount: nonNegativeIntegerSchema,
|
|
91
93
|
mailTotalCount: nonNegativeIntegerSchema,
|
|
92
|
-
|
|
94
|
+
primaryAlias: v.nullable(identifierSchema),
|
|
95
|
+
primaryAliasId: v.nullable(identifierSchema),
|
|
93
96
|
primaryEmail: emailSchema,
|
|
97
|
+
profile: identifierSchema,
|
|
94
98
|
provider: v.picklist(accountProviders),
|
|
95
99
|
state: v.picklist(accountStates),
|
|
96
100
|
userId: identifierSchema,
|
|
97
|
-
|
|
101
|
+
watcherShard: v.nullable(identifierSchema),
|
|
102
|
+
watcherShardId: v.nullable(identifierSchema),
|
|
98
103
|
}),
|
|
99
104
|
aliases: v.strictObject({
|
|
100
105
|
...wireMetadata(appwriteIds.tables.aliases),
|
|
@@ -214,6 +219,7 @@ const rowSchemas = {
|
|
|
214
219
|
profiles: v.strictObject({
|
|
215
220
|
...wireMetadata(appwriteIds.tables.profiles),
|
|
216
221
|
avatarFileId: v.nullable(appwriteRowIdSchema),
|
|
222
|
+
deletionRequestedAt: v.nullable(timestampSchema),
|
|
217
223
|
email: emailSchema,
|
|
218
224
|
name: v.nullable(identifierSchema),
|
|
219
225
|
onboardingState: v.nullable(identifierSchema),
|
|
@@ -14,12 +14,23 @@ const validRows = {
|
|
|
14
14
|
...metadata,
|
|
15
15
|
$tableId: 'accounts',
|
|
16
16
|
colour: '#000000',
|
|
17
|
+
credential: 'account-1',
|
|
18
|
+
displayName: null,
|
|
19
|
+
initialSyncCompletedAt: null,
|
|
20
|
+
lastErrorCode: null,
|
|
21
|
+
lastSuccessfulSyncAt: null,
|
|
22
|
+
mailboxSyncState: 'account-1',
|
|
17
23
|
mailProcessedCount: 0,
|
|
18
24
|
mailTotalCount: 0,
|
|
25
|
+
primaryAlias: 'alias-1',
|
|
26
|
+
primaryAliasId: 'alias-1',
|
|
19
27
|
primaryEmail: 'marco@example.com',
|
|
28
|
+
profile: 'user-1',
|
|
20
29
|
provider: 'GMAIL',
|
|
21
30
|
state: 'CONNECTED',
|
|
22
31
|
userId: 'user-1',
|
|
32
|
+
watcherShard: null,
|
|
33
|
+
watcherShardId: 'watcher-shard-1',
|
|
23
34
|
},
|
|
24
35
|
aliases: {
|
|
25
36
|
...metadata,
|
|
@@ -144,6 +155,7 @@ const validRows = {
|
|
|
144
155
|
...metadata,
|
|
145
156
|
$tableId: 'profiles',
|
|
146
157
|
avatarFileId: null,
|
|
158
|
+
deletionRequestedAt: null,
|
|
147
159
|
email: 'marco@example.com',
|
|
148
160
|
name: null,
|
|
149
161
|
onboardingState: null,
|