@marcoappio/marco-config 2.0.450 → 2.0.451

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 (37) hide show
  1. package/dist/types/{ImapConnectionStatus.d.ts → IMAPConnectionStatus.d.ts} +2 -2
  2. package/dist/types/IMAPConnectionStatus.d.ts.map +1 -0
  3. package/dist/types/IMAPSourceLocation.d.ts +7 -0
  4. package/dist/types/IMAPSourceLocation.d.ts.map +1 -0
  5. package/dist/types/IMAPSourceLocation.js +1 -0
  6. package/dist/types/index.d.ts +2 -1
  7. package/dist/types/index.d.ts.map +1 -1
  8. package/dist/types/index.js +2 -1
  9. package/dist/zero/index.d.ts +166 -18
  10. package/dist/zero/index.d.ts.map +1 -1
  11. package/dist/zero/mutatorSchemas/index.d.ts +36 -0
  12. package/dist/zero/mutatorSchemas/index.d.ts.map +1 -1
  13. package/dist/zero/mutatorSchemas/thread.d.ts +36 -0
  14. package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -1
  15. package/dist/zero/mutatorSchemas/thread.js +18 -7
  16. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +2 -2
  17. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
  18. package/dist/zero/mutators/threadMutators/threadMutators.js +43 -10
  19. package/dist/zero/mutators/threadMutators/threadMutators.test.js +6 -0
  20. package/dist/zero/queries/getAccounts.d.ts +19 -3
  21. package/dist/zero/queries/getAccounts.d.ts.map +1 -1
  22. package/dist/zero/queries/getContacts.d.ts +19 -3
  23. package/dist/zero/queries/getContacts.d.ts.map +1 -1
  24. package/dist/zero/queries/getDrafts.d.ts +19 -3
  25. package/dist/zero/queries/getDrafts.d.ts.map +1 -1
  26. package/dist/zero/queries/getThreads.d.ts +19 -3
  27. package/dist/zero/queries/getThreads.d.ts.map +1 -1
  28. package/dist/zero/queries/getUser.d.ts +19 -3
  29. package/dist/zero/queries/getUser.d.ts.map +1 -1
  30. package/dist/zero/queries/index.d.ts +19 -3
  31. package/dist/zero/queries/index.d.ts.map +1 -1
  32. package/dist/zero/schema.d.ts +35 -3
  33. package/dist/zero/schema.d.ts.map +1 -1
  34. package/dist/zero/schema.js +2 -0
  35. package/package.json +1 -1
  36. package/dist/types/ImapConnectionStatus.d.ts.map +0 -1
  37. /package/dist/types/{ImapConnectionStatus.js → IMAPConnectionStatus.js} +0 -0
@@ -524,6 +524,22 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
524
524
  } & {
525
525
  serverName: string;
526
526
  };
527
+ readonly uid: Omit<{
528
+ type: "number";
529
+ optional: false;
530
+ customType: number;
531
+ }, "optional"> & {
532
+ optional: true;
533
+ };
534
+ readonly uidValidity: Omit<{
535
+ type: "number";
536
+ optional: false;
537
+ customType: number;
538
+ }, "optional"> & {
539
+ optional: true;
540
+ } & {
541
+ serverName: string;
542
+ };
527
543
  };
528
544
  primaryKey: readonly [string, ...string[]];
529
545
  } & {
@@ -783,7 +799,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
783
799
  }];
784
800
  threads: [{
785
801
  readonly sourceField: string[];
786
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
802
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
787
803
  readonly destSchema: "threadLabel";
788
804
  readonly cardinality: "many";
789
805
  }, {
@@ -844,7 +860,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
844
860
  }];
845
861
  labels: [{
846
862
  readonly sourceField: string[];
847
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
863
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
848
864
  readonly destSchema: "threadLabel";
849
865
  readonly cardinality: "many";
850
866
  }, {
@@ -895,7 +911,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
895
911
  }];
896
912
  labels: [{
897
913
  readonly sourceField: string[];
898
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
914
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
899
915
  readonly destSchema: "threadLabel";
900
916
  readonly cardinality: "many";
901
917
  }, {
@@ -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"}
@@ -524,6 +524,22 @@ export declare const schema: {
524
524
  } & {
525
525
  serverName: string;
526
526
  };
527
+ readonly uid: Omit<{
528
+ type: "number";
529
+ optional: false;
530
+ customType: number;
531
+ }, "optional"> & {
532
+ optional: true;
533
+ };
534
+ readonly uidValidity: Omit<{
535
+ type: "number";
536
+ optional: false;
537
+ customType: number;
538
+ }, "optional"> & {
539
+ optional: true;
540
+ } & {
541
+ serverName: string;
542
+ };
527
543
  };
528
544
  primaryKey: readonly [string, ...string[]];
529
545
  } & {
@@ -783,7 +799,7 @@ export declare const schema: {
783
799
  }];
784
800
  threads: [{
785
801
  readonly sourceField: string[];
786
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
802
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
787
803
  readonly destSchema: "threadLabel";
788
804
  readonly cardinality: "many";
789
805
  }, {
@@ -844,7 +860,7 @@ export declare const schema: {
844
860
  }];
845
861
  labels: [{
846
862
  readonly sourceField: string[];
847
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
863
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
848
864
  readonly destSchema: "threadLabel";
849
865
  readonly cardinality: "many";
850
866
  }, {
@@ -895,7 +911,7 @@ export declare const schema: {
895
911
  }];
896
912
  labels: [{
897
913
  readonly sourceField: string[];
898
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
914
+ readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId" | "uidValidity" | "uid")[];
899
915
  readonly destSchema: "threadLabel";
900
916
  readonly cardinality: "many";
901
917
  }, {
@@ -1395,6 +1411,22 @@ export declare const zeroTables: {
1395
1411
  } & {
1396
1412
  serverName: string;
1397
1413
  };
1414
+ readonly uid: Omit<{
1415
+ type: "number";
1416
+ optional: false;
1417
+ customType: number;
1418
+ }, "optional"> & {
1419
+ optional: true;
1420
+ };
1421
+ readonly uidValidity: Omit<{
1422
+ type: "number";
1423
+ optional: false;
1424
+ customType: number;
1425
+ }, "optional"> & {
1426
+ optional: true;
1427
+ } & {
1428
+ serverName: string;
1429
+ };
1398
1430
  };
1399
1431
  primaryKey: readonly [string, ...string[]];
1400
1432
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AA4aA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyYT,CAAA"}
@@ -113,6 +113,8 @@ const threadLabel = table('threadLabel')
113
113
  labelId: string().from('label_id'),
114
114
  threadId: string().from('thread_id'),
115
115
  threadMessageId: string().from('thread_message_id'),
116
+ uid: numeric().optional(),
117
+ uidValidity: numeric().optional().from('uid_validity'),
116
118
  })
117
119
  .primaryKey('accountId', 'labelId', 'threadMessageId');
118
120
  const threadMessage = table('threadMessage')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.450",
3
+ "version": "2.0.451",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -1 +0,0 @@
1
- {"version":3,"file":"ImapConnectionStatus.d.ts","sourceRoot":"","sources":["../../src/types/ImapConnectionStatus.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB,6OAQ3B,CAAA;AAEV,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAA"}