@marcoappio/marco-config 2.0.451 → 2.0.453

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.
Files changed (49) hide show
  1. package/dist/sdk/endpoints/index.d.ts +30 -0
  2. package/dist/sdk/endpoints/index.d.ts.map +1 -1
  3. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts +31 -0
  4. package/dist/sdk/endpoints/private/draftAttachment/index.d.ts.map +1 -0
  5. package/dist/sdk/endpoints/private/draftAttachment/index.js +4 -0
  6. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts +30 -0
  7. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +1 -0
  8. package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.js +17 -0
  9. package/dist/sdk/endpoints/private/index.d.ts +30 -0
  10. package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
  11. package/dist/sdk/endpoints/private/index.js +2 -0
  12. package/dist/sdk/index.d.ts +30 -0
  13. package/dist/sdk/index.d.ts.map +1 -1
  14. package/dist/types/DraftAttachmentUploadStatus.d.ts +3 -0
  15. package/dist/types/DraftAttachmentUploadStatus.d.ts.map +1 -0
  16. package/dist/types/DraftAttachmentUploadStatus.js +1 -0
  17. package/dist/types/index.d.ts +1 -0
  18. package/dist/types/index.d.ts.map +1 -1
  19. package/dist/types/index.js +1 -0
  20. package/dist/zero/index.d.ts +187 -174
  21. package/dist/zero/index.d.ts.map +1 -1
  22. package/dist/zero/mutatorSchemas/draft.d.ts +2 -12
  23. package/dist/zero/mutatorSchemas/draft.d.ts.map +1 -1
  24. package/dist/zero/mutatorSchemas/draft.js +2 -11
  25. package/dist/zero/mutatorSchemas/index.d.ts +2 -12
  26. package/dist/zero/mutatorSchemas/index.d.ts.map +1 -1
  27. package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
  28. package/dist/zero/mutators/draftMutators/draftMutators.js +2 -16
  29. package/dist/zero/mutators/draftMutators/draftMutators.test.js +2 -41
  30. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +3 -1
  31. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
  32. package/dist/zero/mutators/threadMutators/threadMutators.js +31 -24
  33. package/dist/zero/mutators/threadMutators/threadMutators.test.js +12 -12
  34. package/dist/zero/queries/getAccounts.d.ts +28 -24
  35. package/dist/zero/queries/getAccounts.d.ts.map +1 -1
  36. package/dist/zero/queries/getContacts.d.ts +27 -24
  37. package/dist/zero/queries/getContacts.d.ts.map +1 -1
  38. package/dist/zero/queries/getDrafts.d.ts +28 -26
  39. package/dist/zero/queries/getDrafts.d.ts.map +1 -1
  40. package/dist/zero/queries/getThreads.d.ts +28 -24
  41. package/dist/zero/queries/getThreads.d.ts.map +1 -1
  42. package/dist/zero/queries/getUser.d.ts +28 -24
  43. package/dist/zero/queries/getUser.d.ts.map +1 -1
  44. package/dist/zero/queries/index.d.ts +27 -24
  45. package/dist/zero/queries/index.d.ts.map +1 -1
  46. package/dist/zero/schema.d.ts +46 -40
  47. package/dist/zero/schema.d.ts.map +1 -1
  48. package/dist/zero/schema.js +5 -4
  49. package/package.json +1 -1
@@ -236,6 +236,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
236
236
  } & {
237
237
  serverName: string;
238
238
  };
239
+ readonly uidValidity: {
240
+ type: "number";
241
+ optional: false;
242
+ customType: number;
243
+ } & {
244
+ serverName: string;
245
+ };
239
246
  };
240
247
  primaryKey: readonly [string, ...string[]];
241
248
  } & {
@@ -418,10 +425,10 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
418
425
  } & {
419
426
  serverName: string;
420
427
  };
421
- readonly totalChunks: {
422
- type: "number";
428
+ readonly status: {
429
+ type: "string";
423
430
  optional: false;
424
- customType: number;
431
+ customType: "PENDING" | "COMPLETE" | "FAILED";
425
432
  } & {
426
433
  serverName: string;
427
434
  };
@@ -432,13 +439,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
432
439
  } & {
433
440
  serverName: string;
434
441
  };
435
- readonly uploadedChunks: {
436
- type: "number";
437
- optional: false;
438
- customType: number;
439
- } & {
440
- serverName: string;
441
- };
442
442
  };
443
443
  primaryKey: readonly [string, ...string[]];
444
444
  } & {
@@ -510,6 +510,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
510
510
  } & {
511
511
  serverName: string;
512
512
  };
513
+ readonly lastSyncedAt: {
514
+ type: "number";
515
+ optional: false;
516
+ customType: number;
517
+ } & {
518
+ serverName: string;
519
+ };
513
520
  readonly threadId: {
514
521
  type: "string";
515
522
  optional: false;
@@ -524,19 +531,15 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
524
531
  } & {
525
532
  serverName: string;
526
533
  };
527
- readonly uid: Omit<{
534
+ readonly uid: {
528
535
  type: "number";
529
536
  optional: false;
530
537
  customType: number;
531
- }, "optional"> & {
532
- optional: true;
533
538
  };
534
- readonly uidValidity: Omit<{
539
+ readonly uidValidity: {
535
540
  type: "number";
536
541
  optional: false;
537
542
  customType: number;
538
- }, "optional"> & {
539
- optional: true;
540
543
  } & {
541
544
  serverName: string;
542
545
  };
@@ -759,7 +762,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
759
762
  }];
760
763
  labels: [{
761
764
  readonly sourceField: string[];
762
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
765
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
763
766
  readonly destSchema: "accountLabel";
764
767
  readonly cardinality: "many";
765
768
  }];
@@ -799,7 +802,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
799
802
  }];
800
803
  threads: [{
801
804
  readonly sourceField: string[];
802
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
805
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
803
806
  readonly destSchema: "threadLabel";
804
807
  readonly cardinality: "many";
805
808
  }, {
@@ -818,7 +821,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
818
821
  }];
819
822
  attachments: [{
820
823
  readonly sourceField: string[];
821
- readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
824
+ readonly destField: ("status" | "id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalSize")[];
822
825
  readonly destSchema: "draftAttachment";
823
826
  readonly cardinality: "many";
824
827
  }];
@@ -860,12 +863,12 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
860
863
  }];
861
864
  labels: [{
862
865
  readonly sourceField: string[];
863
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
866
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
864
867
  readonly destSchema: "threadLabel";
865
868
  readonly cardinality: "many";
866
869
  }, {
867
870
  readonly sourceField: string[];
868
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
871
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
869
872
  readonly destSchema: "accountLabel";
870
873
  readonly cardinality: "many";
871
874
  }];
@@ -885,7 +888,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
885
888
  readonly threadLabel: {
886
889
  label: [{
887
890
  readonly sourceField: string[];
888
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
891
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
889
892
  readonly destSchema: "accountLabel";
890
893
  readonly cardinality: "one";
891
894
  }];
@@ -911,12 +914,12 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
911
914
  }];
912
915
  labels: [{
913
916
  readonly sourceField: string[];
914
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
917
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
915
918
  readonly destSchema: "threadLabel";
916
919
  readonly cardinality: "many";
917
920
  }, {
918
921
  readonly sourceField: string[];
919
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
922
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
920
923
  readonly destSchema: "accountLabel";
921
924
  readonly cardinality: "many";
922
925
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwB,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -236,6 +236,13 @@ export declare const schema: {
236
236
  } & {
237
237
  serverName: string;
238
238
  };
239
+ readonly uidValidity: {
240
+ type: "number";
241
+ optional: false;
242
+ customType: number;
243
+ } & {
244
+ serverName: string;
245
+ };
239
246
  };
240
247
  primaryKey: readonly [string, ...string[]];
241
248
  } & {
@@ -418,10 +425,10 @@ export declare const schema: {
418
425
  } & {
419
426
  serverName: string;
420
427
  };
421
- readonly totalChunks: {
422
- type: "number";
428
+ readonly status: {
429
+ type: "string";
423
430
  optional: false;
424
- customType: number;
431
+ customType: "PENDING" | "COMPLETE" | "FAILED";
425
432
  } & {
426
433
  serverName: string;
427
434
  };
@@ -432,13 +439,6 @@ export declare const schema: {
432
439
  } & {
433
440
  serverName: string;
434
441
  };
435
- readonly uploadedChunks: {
436
- type: "number";
437
- optional: false;
438
- customType: number;
439
- } & {
440
- serverName: string;
441
- };
442
442
  };
443
443
  primaryKey: readonly [string, ...string[]];
444
444
  } & {
@@ -510,6 +510,13 @@ export declare const schema: {
510
510
  } & {
511
511
  serverName: string;
512
512
  };
513
+ readonly lastSyncedAt: {
514
+ type: "number";
515
+ optional: false;
516
+ customType: number;
517
+ } & {
518
+ serverName: string;
519
+ };
513
520
  readonly threadId: {
514
521
  type: "string";
515
522
  optional: false;
@@ -524,19 +531,15 @@ export declare const schema: {
524
531
  } & {
525
532
  serverName: string;
526
533
  };
527
- readonly uid: Omit<{
534
+ readonly uid: {
528
535
  type: "number";
529
536
  optional: false;
530
537
  customType: number;
531
- }, "optional"> & {
532
- optional: true;
533
538
  };
534
- readonly uidValidity: Omit<{
539
+ readonly uidValidity: {
535
540
  type: "number";
536
541
  optional: false;
537
542
  customType: number;
538
- }, "optional"> & {
539
- optional: true;
540
543
  } & {
541
544
  serverName: string;
542
545
  };
@@ -759,7 +762,7 @@ export declare const schema: {
759
762
  }];
760
763
  labels: [{
761
764
  readonly sourceField: string[];
762
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
765
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
763
766
  readonly destSchema: "accountLabel";
764
767
  readonly cardinality: "many";
765
768
  }];
@@ -799,7 +802,7 @@ export declare const schema: {
799
802
  }];
800
803
  threads: [{
801
804
  readonly sourceField: string[];
802
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
805
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
803
806
  readonly destSchema: "threadLabel";
804
807
  readonly cardinality: "many";
805
808
  }, {
@@ -818,7 +821,7 @@ export declare const schema: {
818
821
  }];
819
822
  attachments: [{
820
823
  readonly sourceField: string[];
821
- readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
824
+ readonly destField: ("status" | "id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalSize")[];
822
825
  readonly destSchema: "draftAttachment";
823
826
  readonly cardinality: "many";
824
827
  }];
@@ -860,12 +863,12 @@ export declare const schema: {
860
863
  }];
861
864
  labels: [{
862
865
  readonly sourceField: string[];
863
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
866
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
864
867
  readonly destSchema: "threadLabel";
865
868
  readonly cardinality: "many";
866
869
  }, {
867
870
  readonly sourceField: string[];
868
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
871
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
869
872
  readonly destSchema: "accountLabel";
870
873
  readonly cardinality: "many";
871
874
  }];
@@ -885,7 +888,7 @@ export declare const schema: {
885
888
  readonly threadLabel: {
886
889
  label: [{
887
890
  readonly sourceField: string[];
888
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
891
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
889
892
  readonly destSchema: "accountLabel";
890
893
  readonly cardinality: "one";
891
894
  }];
@@ -911,12 +914,12 @@ export declare const schema: {
911
914
  }];
912
915
  labels: [{
913
916
  readonly sourceField: string[];
914
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
917
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
915
918
  readonly destSchema: "threadLabel";
916
919
  readonly cardinality: "many";
917
920
  }, {
918
921
  readonly sourceField: string[];
919
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
922
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
920
923
  readonly destSchema: "accountLabel";
921
924
  readonly cardinality: "many";
922
925
  }];
@@ -1089,6 +1092,13 @@ export declare const zeroTables: {
1089
1092
  } & {
1090
1093
  serverName: string;
1091
1094
  };
1095
+ readonly uidValidity: {
1096
+ type: "number";
1097
+ optional: false;
1098
+ customType: number;
1099
+ } & {
1100
+ serverName: string;
1101
+ };
1092
1102
  };
1093
1103
  primaryKey: readonly [string, ...string[]];
1094
1104
  } & {
@@ -1273,10 +1283,10 @@ export declare const zeroTables: {
1273
1283
  } & {
1274
1284
  serverName: string;
1275
1285
  };
1276
- readonly totalChunks: {
1277
- type: "number";
1286
+ readonly status: {
1287
+ type: "string";
1278
1288
  optional: false;
1279
- customType: number;
1289
+ customType: "PENDING" | "COMPLETE" | "FAILED";
1280
1290
  } & {
1281
1291
  serverName: string;
1282
1292
  };
@@ -1287,13 +1297,6 @@ export declare const zeroTables: {
1287
1297
  } & {
1288
1298
  serverName: string;
1289
1299
  };
1290
- readonly uploadedChunks: {
1291
- type: "number";
1292
- optional: false;
1293
- customType: number;
1294
- } & {
1295
- serverName: string;
1296
- };
1297
1300
  };
1298
1301
  primaryKey: readonly [string, ...string[]];
1299
1302
  } & {
@@ -1397,6 +1400,13 @@ export declare const zeroTables: {
1397
1400
  } & {
1398
1401
  serverName: string;
1399
1402
  };
1403
+ readonly lastSyncedAt: {
1404
+ type: "number";
1405
+ optional: false;
1406
+ customType: number;
1407
+ } & {
1408
+ serverName: string;
1409
+ };
1400
1410
  readonly threadId: {
1401
1411
  type: "string";
1402
1412
  optional: false;
@@ -1411,19 +1421,15 @@ export declare const zeroTables: {
1411
1421
  } & {
1412
1422
  serverName: string;
1413
1423
  };
1414
- readonly uid: Omit<{
1424
+ readonly uid: {
1415
1425
  type: "number";
1416
1426
  optional: false;
1417
1427
  customType: number;
1418
- }, "optional"> & {
1419
- optional: true;
1420
1428
  };
1421
- readonly uidValidity: Omit<{
1429
+ readonly uidValidity: {
1422
1430
  type: "number";
1423
1431
  optional: false;
1424
1432
  customType: number;
1425
- }, "optional"> & {
1426
- optional: true;
1427
1433
  } & {
1428
1434
  serverName: string;
1429
1435
  };
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AA8aA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAvVJ,MAAM;4BACX,MAAM,EAAE;4BACR,MAAM,EAAE;6BACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsXjB,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,OAAO,MAAM,CAAA;AAE3C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA7XR,MAAM;wBACX,MAAM,EAAE;wBACR,MAAM,EAAE;yBACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyYT,CAAA"}
@@ -53,6 +53,7 @@ const accountLabel = table('accountLabel')
53
53
  id: string(),
54
54
  path: string(),
55
55
  specialUse: enumeration().optional().from('special_use'),
56
+ uidValidity: numeric().from('uid_validity'),
56
57
  })
57
58
  .primaryKey('id');
58
59
  const draft = table('draft')
@@ -90,9 +91,8 @@ const draftAttachment = table('draftAttachment')
90
91
  fileName: string().from('file_name'),
91
92
  id: string(),
92
93
  mimeType: string().from('mime_type'),
93
- totalChunks: numeric().from('total_chunks'),
94
+ status: enumeration().from('upload_status'),
94
95
  totalSize: numeric().from('total_size'),
95
- uploadedChunks: numeric().from('uploaded_chunks'),
96
96
  })
97
97
  .primaryKey('id');
98
98
  const thread = table('thread')
@@ -111,10 +111,11 @@ const threadLabel = table('threadLabel')
111
111
  .columns({
112
112
  accountId: string().from('account_id'),
113
113
  labelId: string().from('label_id'),
114
+ lastSyncedAt: numeric().from('last_synced_at'),
114
115
  threadId: string().from('thread_id'),
115
116
  threadMessageId: string().from('thread_message_id'),
116
- uid: numeric().optional(),
117
- uidValidity: numeric().optional().from('uid_validity'),
117
+ uid: numeric(),
118
+ uidValidity: numeric().from('uid_validity'),
118
119
  })
119
120
  .primaryKey('accountId', 'labelId', 'threadMessageId');
120
121
  const threadMessage = table('threadMessage')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.451",
3
+ "version": "2.0.453",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",