@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
@@ -1 +1 @@
1
- {"version":3,"file":"getAccounts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getAccounts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEvB,CAAA"}
@@ -246,6 +246,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
246
246
  } & {
247
247
  serverName: string;
248
248
  };
249
+ readonly uidValidity: {
250
+ type: "number";
251
+ optional: false;
252
+ customType: number;
253
+ } & {
254
+ serverName: string;
255
+ };
249
256
  };
250
257
  primaryKey: readonly [string, ...string[]];
251
258
  } & {
@@ -428,10 +435,10 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
428
435
  } & {
429
436
  serverName: string;
430
437
  };
431
- readonly totalChunks: {
432
- type: "number";
438
+ readonly status: {
439
+ type: "string";
433
440
  optional: false;
434
- customType: number;
441
+ customType: "PENDING" | "COMPLETE" | "FAILED";
435
442
  } & {
436
443
  serverName: string;
437
444
  };
@@ -442,13 +449,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
442
449
  } & {
443
450
  serverName: string;
444
451
  };
445
- readonly uploadedChunks: {
446
- type: "number";
447
- optional: false;
448
- customType: number;
449
- } & {
450
- serverName: string;
451
- };
452
452
  };
453
453
  primaryKey: readonly [string, ...string[]];
454
454
  } & {
@@ -520,6 +520,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
520
520
  } & {
521
521
  serverName: string;
522
522
  };
523
+ readonly lastSyncedAt: {
524
+ type: "number";
525
+ optional: false;
526
+ customType: number;
527
+ } & {
528
+ serverName: string;
529
+ };
523
530
  readonly threadId: {
524
531
  type: "string";
525
532
  optional: false;
@@ -534,19 +541,15 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
534
541
  } & {
535
542
  serverName: string;
536
543
  };
537
- readonly uid: Omit<{
544
+ readonly uid: {
538
545
  type: "number";
539
546
  optional: false;
540
547
  customType: number;
541
- }, "optional"> & {
542
- optional: true;
543
548
  };
544
- readonly uidValidity: Omit<{
549
+ readonly uidValidity: {
545
550
  type: "number";
546
551
  optional: false;
547
552
  customType: number;
548
- }, "optional"> & {
549
- optional: true;
550
553
  } & {
551
554
  serverName: string;
552
555
  };
@@ -769,7 +772,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
769
772
  }];
770
773
  labels: [{
771
774
  readonly sourceField: string[];
772
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
775
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
773
776
  readonly destSchema: "accountLabel";
774
777
  readonly cardinality: "many";
775
778
  }];
@@ -809,7 +812,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
809
812
  }];
810
813
  threads: [{
811
814
  readonly sourceField: string[];
812
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
815
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
813
816
  readonly destSchema: "threadLabel";
814
817
  readonly cardinality: "many";
815
818
  }, {
@@ -828,7 +831,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
828
831
  }];
829
832
  attachments: [{
830
833
  readonly sourceField: string[];
831
- readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
834
+ readonly destField: ("status" | "id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalSize")[];
832
835
  readonly destSchema: "draftAttachment";
833
836
  readonly cardinality: "many";
834
837
  }];
@@ -870,12 +873,12 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
870
873
  }];
871
874
  labels: [{
872
875
  readonly sourceField: string[];
873
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
876
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
874
877
  readonly destSchema: "threadLabel";
875
878
  readonly cardinality: "many";
876
879
  }, {
877
880
  readonly sourceField: string[];
878
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
881
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
879
882
  readonly destSchema: "accountLabel";
880
883
  readonly cardinality: "many";
881
884
  }];
@@ -895,7 +898,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
895
898
  readonly threadLabel: {
896
899
  label: [{
897
900
  readonly sourceField: string[];
898
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
901
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
899
902
  readonly destSchema: "accountLabel";
900
903
  readonly cardinality: "one";
901
904
  }];
@@ -921,12 +924,12 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
921
924
  }];
922
925
  labels: [{
923
926
  readonly sourceField: string[];
924
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
927
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
925
928
  readonly destSchema: "threadLabel";
926
929
  readonly cardinality: "many";
927
930
  }, {
928
931
  readonly sourceField: string[];
929
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
932
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
930
933
  readonly destSchema: "accountLabel";
931
934
  readonly cardinality: "many";
932
935
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getContacts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAMlE,KAAK,eAAe,GAAG;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,GAAG,CAAC,EAAE,MAAM,EAAE,CAAA;QACd,IAAI,CAAC,EAAE,MAAM,CAAA;KACd,CAAA;CACF,CAAA;AAiBD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BvB,CAAA"}
@@ -243,6 +243,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
243
243
  } & {
244
244
  serverName: string;
245
245
  };
246
+ readonly uidValidity: {
247
+ type: "number";
248
+ optional: false;
249
+ customType: number;
250
+ } & {
251
+ serverName: string;
252
+ };
246
253
  };
247
254
  primaryKey: readonly [string, ...string[]];
248
255
  } & {
@@ -425,10 +432,10 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
425
432
  } & {
426
433
  serverName: string;
427
434
  };
428
- readonly totalChunks: {
429
- type: "number";
435
+ readonly status: {
436
+ type: "string";
430
437
  optional: false;
431
- customType: number;
438
+ customType: "PENDING" | "COMPLETE" | "FAILED";
432
439
  } & {
433
440
  serverName: string;
434
441
  };
@@ -439,13 +446,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
439
446
  } & {
440
447
  serverName: string;
441
448
  };
442
- readonly uploadedChunks: {
443
- type: "number";
444
- optional: false;
445
- customType: number;
446
- } & {
447
- serverName: string;
448
- };
449
449
  };
450
450
  primaryKey: readonly [string, ...string[]];
451
451
  } & {
@@ -517,6 +517,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
517
517
  } & {
518
518
  serverName: string;
519
519
  };
520
+ readonly lastSyncedAt: {
521
+ type: "number";
522
+ optional: false;
523
+ customType: number;
524
+ } & {
525
+ serverName: string;
526
+ };
520
527
  readonly threadId: {
521
528
  type: "string";
522
529
  optional: false;
@@ -531,19 +538,15 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
531
538
  } & {
532
539
  serverName: string;
533
540
  };
534
- readonly uid: Omit<{
541
+ readonly uid: {
535
542
  type: "number";
536
543
  optional: false;
537
544
  customType: number;
538
- }, "optional"> & {
539
- optional: true;
540
545
  };
541
- readonly uidValidity: Omit<{
546
+ readonly uidValidity: {
542
547
  type: "number";
543
548
  optional: false;
544
549
  customType: number;
545
- }, "optional"> & {
546
- optional: true;
547
550
  } & {
548
551
  serverName: string;
549
552
  };
@@ -766,7 +769,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
766
769
  }];
767
770
  labels: [{
768
771
  readonly sourceField: string[];
769
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
772
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
770
773
  readonly destSchema: "accountLabel";
771
774
  readonly cardinality: "many";
772
775
  }];
@@ -806,7 +809,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
806
809
  }];
807
810
  threads: [{
808
811
  readonly sourceField: string[];
809
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
812
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
810
813
  readonly destSchema: "threadLabel";
811
814
  readonly cardinality: "many";
812
815
  }, {
@@ -825,7 +828,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
825
828
  }];
826
829
  attachments: [{
827
830
  readonly sourceField: string[];
828
- readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
831
+ readonly destField: ("status" | "id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalSize")[];
829
832
  readonly destSchema: "draftAttachment";
830
833
  readonly cardinality: "many";
831
834
  }];
@@ -867,12 +870,12 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
867
870
  }];
868
871
  labels: [{
869
872
  readonly sourceField: string[];
870
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
873
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
871
874
  readonly destSchema: "threadLabel";
872
875
  readonly cardinality: "many";
873
876
  }, {
874
877
  readonly sourceField: string[];
875
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
878
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
876
879
  readonly destSchema: "accountLabel";
877
880
  readonly cardinality: "many";
878
881
  }];
@@ -892,7 +895,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
892
895
  readonly threadLabel: {
893
896
  label: [{
894
897
  readonly sourceField: string[];
895
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
898
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
896
899
  readonly destSchema: "accountLabel";
897
900
  readonly cardinality: "one";
898
901
  }];
@@ -918,12 +921,12 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
918
921
  }];
919
922
  labels: [{
920
923
  readonly sourceField: string[];
921
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
924
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
922
925
  readonly destSchema: "threadLabel";
923
926
  readonly cardinality: "many";
924
927
  }, {
925
928
  readonly sourceField: string[];
926
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
929
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
927
930
  readonly destSchema: "accountLabel";
928
931
  readonly cardinality: "many";
929
932
  }];
@@ -993,9 +996,8 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
993
996
  readonly fileName: string;
994
997
  readonly id: string;
995
998
  readonly mimeType: string;
996
- readonly totalChunks: number;
999
+ readonly status: "PENDING" | "COMPLETE" | "FAILED";
997
1000
  readonly totalSize: number;
998
- readonly uploadedChunks: number;
999
1001
  }[];
1000
1002
  }>>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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBrB,CAAA"}
@@ -249,6 +249,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
249
249
  } & {
250
250
  serverName: string;
251
251
  };
252
+ readonly uidValidity: {
253
+ type: "number";
254
+ optional: false;
255
+ customType: number;
256
+ } & {
257
+ serverName: string;
258
+ };
252
259
  };
253
260
  primaryKey: readonly [string, ...string[]];
254
261
  } & {
@@ -431,10 +438,10 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
431
438
  } & {
432
439
  serverName: string;
433
440
  };
434
- readonly totalChunks: {
435
- type: "number";
441
+ readonly status: {
442
+ type: "string";
436
443
  optional: false;
437
- customType: number;
444
+ customType: "PENDING" | "COMPLETE" | "FAILED";
438
445
  } & {
439
446
  serverName: string;
440
447
  };
@@ -445,13 +452,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
445
452
  } & {
446
453
  serverName: string;
447
454
  };
448
- readonly uploadedChunks: {
449
- type: "number";
450
- optional: false;
451
- customType: number;
452
- } & {
453
- serverName: string;
454
- };
455
455
  };
456
456
  primaryKey: readonly [string, ...string[]];
457
457
  } & {
@@ -523,6 +523,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
523
523
  } & {
524
524
  serverName: string;
525
525
  };
526
+ readonly lastSyncedAt: {
527
+ type: "number";
528
+ optional: false;
529
+ customType: number;
530
+ } & {
531
+ serverName: string;
532
+ };
526
533
  readonly threadId: {
527
534
  type: "string";
528
535
  optional: false;
@@ -537,19 +544,15 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
537
544
  } & {
538
545
  serverName: string;
539
546
  };
540
- readonly uid: Omit<{
547
+ readonly uid: {
541
548
  type: "number";
542
549
  optional: false;
543
550
  customType: number;
544
- }, "optional"> & {
545
- optional: true;
546
551
  };
547
- readonly uidValidity: Omit<{
552
+ readonly uidValidity: {
548
553
  type: "number";
549
554
  optional: false;
550
555
  customType: number;
551
- }, "optional"> & {
552
- optional: true;
553
556
  } & {
554
557
  serverName: string;
555
558
  };
@@ -772,7 +775,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
772
775
  }];
773
776
  labels: [{
774
777
  readonly sourceField: string[];
775
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
778
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
776
779
  readonly destSchema: "accountLabel";
777
780
  readonly cardinality: "many";
778
781
  }];
@@ -812,7 +815,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
812
815
  }];
813
816
  threads: [{
814
817
  readonly sourceField: string[];
815
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
818
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
816
819
  readonly destSchema: "threadLabel";
817
820
  readonly cardinality: "many";
818
821
  }, {
@@ -831,7 +834,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
831
834
  }];
832
835
  attachments: [{
833
836
  readonly sourceField: string[];
834
- readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
837
+ readonly destField: ("status" | "id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalSize")[];
835
838
  readonly destSchema: "draftAttachment";
836
839
  readonly cardinality: "many";
837
840
  }];
@@ -873,12 +876,12 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
873
876
  }];
874
877
  labels: [{
875
878
  readonly sourceField: string[];
876
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
879
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
877
880
  readonly destSchema: "threadLabel";
878
881
  readonly cardinality: "many";
879
882
  }, {
880
883
  readonly sourceField: string[];
881
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
884
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
882
885
  readonly destSchema: "accountLabel";
883
886
  readonly cardinality: "many";
884
887
  }];
@@ -898,7 +901,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
898
901
  readonly threadLabel: {
899
902
  label: [{
900
903
  readonly sourceField: string[];
901
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
904
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
902
905
  readonly destSchema: "accountLabel";
903
906
  readonly cardinality: "one";
904
907
  }];
@@ -924,12 +927,12 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
924
927
  }];
925
928
  labels: [{
926
929
  readonly sourceField: string[];
927
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
930
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
928
931
  readonly destSchema: "threadLabel";
929
932
  readonly cardinality: "many";
930
933
  }, {
931
934
  readonly sourceField: string[];
932
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
935
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
933
936
  readonly destSchema: "accountLabel";
934
937
  readonly cardinality: "many";
935
938
  }];
@@ -1007,6 +1010,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
1007
1010
  readonly id: string;
1008
1011
  readonly path: string;
1009
1012
  readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
1013
+ readonly uidValidity: number;
1010
1014
  }[];
1011
1015
  }>>;
1012
1016
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"getThreads.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getThreads.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAMlE,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,EAAE,CAAC,EAAE,MAAM,CAAA;QACX,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;QACrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;QACvB,IAAI,CAAC,EAAE,OAAO,CAAA;KACf,CAAA;CACF,CAAA;AAoBD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDtB,CAAA"}
@@ -237,6 +237,13 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
237
237
  } & {
238
238
  serverName: string;
239
239
  };
240
+ readonly uidValidity: {
241
+ type: "number";
242
+ optional: false;
243
+ customType: number;
244
+ } & {
245
+ serverName: string;
246
+ };
240
247
  };
241
248
  primaryKey: readonly [string, ...string[]];
242
249
  } & {
@@ -419,10 +426,10 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
419
426
  } & {
420
427
  serverName: string;
421
428
  };
422
- readonly totalChunks: {
423
- type: "number";
429
+ readonly status: {
430
+ type: "string";
424
431
  optional: false;
425
- customType: number;
432
+ customType: "PENDING" | "COMPLETE" | "FAILED";
426
433
  } & {
427
434
  serverName: string;
428
435
  };
@@ -433,13 +440,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
433
440
  } & {
434
441
  serverName: string;
435
442
  };
436
- readonly uploadedChunks: {
437
- type: "number";
438
- optional: false;
439
- customType: number;
440
- } & {
441
- serverName: string;
442
- };
443
443
  };
444
444
  primaryKey: readonly [string, ...string[]];
445
445
  } & {
@@ -511,6 +511,13 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
511
511
  } & {
512
512
  serverName: string;
513
513
  };
514
+ readonly lastSyncedAt: {
515
+ type: "number";
516
+ optional: false;
517
+ customType: number;
518
+ } & {
519
+ serverName: string;
520
+ };
514
521
  readonly threadId: {
515
522
  type: "string";
516
523
  optional: false;
@@ -525,19 +532,15 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
525
532
  } & {
526
533
  serverName: string;
527
534
  };
528
- readonly uid: Omit<{
535
+ readonly uid: {
529
536
  type: "number";
530
537
  optional: false;
531
538
  customType: number;
532
- }, "optional"> & {
533
- optional: true;
534
539
  };
535
- readonly uidValidity: Omit<{
540
+ readonly uidValidity: {
536
541
  type: "number";
537
542
  optional: false;
538
543
  customType: number;
539
- }, "optional"> & {
540
- optional: true;
541
544
  } & {
542
545
  serverName: string;
543
546
  };
@@ -760,7 +763,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
760
763
  }];
761
764
  labels: [{
762
765
  readonly sourceField: string[];
763
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
766
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
764
767
  readonly destSchema: "accountLabel";
765
768
  readonly cardinality: "many";
766
769
  }];
@@ -800,7 +803,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
800
803
  }];
801
804
  threads: [{
802
805
  readonly sourceField: string[];
803
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
806
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
804
807
  readonly destSchema: "threadLabel";
805
808
  readonly cardinality: "many";
806
809
  }, {
@@ -819,7 +822,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
819
822
  }];
820
823
  attachments: [{
821
824
  readonly sourceField: string[];
822
- readonly destField: ("id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalChunks" | "totalSize" | "uploadedChunks")[];
825
+ readonly destField: ("status" | "id" | "draftId" | "failed" | "fileName" | "mimeType" | "totalSize")[];
823
826
  readonly destSchema: "draftAttachment";
824
827
  readonly cardinality: "many";
825
828
  }];
@@ -861,12 +864,12 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
861
864
  }];
862
865
  labels: [{
863
866
  readonly sourceField: string[];
864
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
867
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
865
868
  readonly destSchema: "threadLabel";
866
869
  readonly cardinality: "many";
867
870
  }, {
868
871
  readonly sourceField: string[];
869
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
872
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
870
873
  readonly destSchema: "accountLabel";
871
874
  readonly cardinality: "many";
872
875
  }];
@@ -886,7 +889,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
886
889
  readonly threadLabel: {
887
890
  label: [{
888
891
  readonly sourceField: string[];
889
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
892
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
890
893
  readonly destSchema: "accountLabel";
891
894
  readonly cardinality: "one";
892
895
  }];
@@ -912,12 +915,12 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
912
915
  }];
913
916
  labels: [{
914
917
  readonly sourceField: string[];
915
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
918
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
916
919
  readonly destSchema: "threadLabel";
917
920
  readonly cardinality: "many";
918
921
  }, {
919
922
  readonly sourceField: string[];
920
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
923
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
921
924
  readonly destSchema: "accountLabel";
922
925
  readonly cardinality: "many";
923
926
  }];
@@ -990,6 +993,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
990
993
  readonly id: string;
991
994
  readonly path: string;
992
995
  readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
996
+ readonly uidValidity: number;
993
997
  }[];
994
998
  })[];
995
999
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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