@marcoappio/marco-config 2.0.458 → 2.0.460

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 (32) hide show
  1. package/dist/types/index.d.ts +0 -1
  2. package/dist/types/index.d.ts.map +1 -1
  3. package/dist/types/index.js +0 -1
  4. package/dist/zero/index.d.ts +82 -72
  5. package/dist/zero/index.d.ts.map +1 -1
  6. package/dist/zero/mutatorSchemas/index.d.ts +0 -6
  7. package/dist/zero/mutatorSchemas/index.d.ts.map +1 -1
  8. package/dist/zero/mutatorSchemas/thread.d.ts +0 -6
  9. package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -1
  10. package/dist/zero/mutatorSchemas/thread.js +0 -6
  11. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
  12. package/dist/zero/mutators/threadMutators/threadMutators.js +0 -13
  13. package/dist/zero/mutators/threadMutators/threadMutators.test.js +0 -33
  14. package/dist/zero/queries/getAccounts.d.ts +13 -10
  15. package/dist/zero/queries/getAccounts.d.ts.map +1 -1
  16. package/dist/zero/queries/getContacts.d.ts +12 -10
  17. package/dist/zero/queries/getContacts.d.ts.map +1 -1
  18. package/dist/zero/queries/getDrafts.d.ts +12 -10
  19. package/dist/zero/queries/getDrafts.d.ts.map +1 -1
  20. package/dist/zero/queries/getThreads.d.ts +13 -11
  21. package/dist/zero/queries/getThreads.d.ts.map +1 -1
  22. package/dist/zero/queries/getUser.d.ts +13 -10
  23. package/dist/zero/queries/getUser.d.ts.map +1 -1
  24. package/dist/zero/queries/index.d.ts +12 -10
  25. package/dist/zero/queries/index.d.ts.map +1 -1
  26. package/dist/zero/schema.d.ts +19 -15
  27. package/dist/zero/schema.d.ts.map +1 -1
  28. package/dist/zero/schema.js +1 -1
  29. package/package.json +1 -1
  30. package/dist/types/MessageAttachmentStatus.d.ts +0 -3
  31. package/dist/types/MessageAttachmentStatus.d.ts.map +0 -1
  32. package/dist/types/MessageAttachmentStatus.js +0 -6
@@ -243,6 +243,13 @@ export declare const schema: {
243
243
  } & {
244
244
  serverName: string;
245
245
  };
246
+ readonly unreadCount: {
247
+ type: "number";
248
+ optional: false;
249
+ customType: number;
250
+ } & {
251
+ serverName: string;
252
+ };
246
253
  };
247
254
  primaryKey: readonly [string, ...string[]];
248
255
  } & {
@@ -675,11 +682,6 @@ export declare const schema: {
675
682
  optional: false;
676
683
  customType: number;
677
684
  };
678
- readonly status: {
679
- type: "string";
680
- optional: false;
681
- customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
682
- };
683
685
  readonly threadMessageId: {
684
686
  type: "string";
685
687
  optional: false;
@@ -757,7 +759,7 @@ export declare const schema: {
757
759
  }];
758
760
  labels: [{
759
761
  readonly sourceField: string[];
760
- readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
762
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
761
763
  readonly destSchema: "accountLabel";
762
764
  readonly cardinality: "many";
763
765
  }];
@@ -863,7 +865,7 @@ export declare const schema: {
863
865
  readonly cardinality: "many";
864
866
  }, {
865
867
  readonly sourceField: string[];
866
- readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
868
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
867
869
  readonly destSchema: "accountLabel";
868
870
  readonly cardinality: "many";
869
871
  }];
@@ -883,7 +885,7 @@ export declare const schema: {
883
885
  readonly threadLabel: {
884
886
  label: [{
885
887
  readonly sourceField: string[];
886
- readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
888
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
887
889
  readonly destSchema: "accountLabel";
888
890
  readonly cardinality: "one";
889
891
  }];
@@ -903,7 +905,7 @@ export declare const schema: {
903
905
  readonly threadMessage: {
904
906
  attachments: [{
905
907
  readonly sourceField: string[];
906
- readonly destField: ("status" | "id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
908
+ readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
907
909
  readonly destSchema: "threadMessageAttachment";
908
910
  readonly cardinality: "many";
909
911
  }];
@@ -914,7 +916,7 @@ export declare const schema: {
914
916
  readonly cardinality: "many";
915
917
  }, {
916
918
  readonly sourceField: string[];
917
- readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
919
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
918
920
  readonly destSchema: "accountLabel";
919
921
  readonly cardinality: "many";
920
922
  }];
@@ -1094,6 +1096,13 @@ export declare const zeroTables: {
1094
1096
  } & {
1095
1097
  serverName: string;
1096
1098
  };
1099
+ readonly unreadCount: {
1100
+ type: "number";
1101
+ optional: false;
1102
+ customType: number;
1103
+ } & {
1104
+ serverName: string;
1105
+ };
1097
1106
  };
1098
1107
  primaryKey: readonly [string, ...string[]];
1099
1108
  } & {
@@ -1521,11 +1530,6 @@ export declare const zeroTables: {
1521
1530
  optional: false;
1522
1531
  customType: number;
1523
1532
  };
1524
- readonly status: {
1525
- type: "string";
1526
- optional: false;
1527
- customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
1528
- };
1529
1533
  readonly threadMessageId: {
1530
1534
  type: "string";
1531
1535
  optional: false;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AA+aA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuYT,CAAA"}
@@ -54,6 +54,7 @@ const accountLabel = table('accountLabel')
54
54
  path: string(),
55
55
  specialUse: enumeration().optional().from('special_use'),
56
56
  uidValidity: numeric().from('uid_validity'),
57
+ unreadCount: numeric().from('unread_count'),
57
58
  })
58
59
  .primaryKey('id');
59
60
  const draft = table('draft')
@@ -147,7 +148,6 @@ const threadMessageAttachment = table('threadMessageAttachment')
147
148
  id: string(),
148
149
  mimeType: string().from('mime_type'),
149
150
  size: numeric(),
150
- status: enumeration(),
151
151
  threadMessageId: string().from('thread_message_id'),
152
152
  })
153
153
  .primaryKey('id');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.458",
3
+ "version": "2.0.460",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",
@@ -1,3 +0,0 @@
1
- export declare const MESSAGE_ATTACHMENT_STATUSES: readonly ["NOT_DOWNLOADED", "DOWNLOAD_REQUESTED", "DOWNLOADED", "DOWNLOAD_FAILED"];
2
- export type MessageAttachmentStatus = (typeof MESSAGE_ATTACHMENT_STATUSES)[number];
3
- //# sourceMappingURL=MessageAttachmentStatus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MessageAttachmentStatus.d.ts","sourceRoot":"","sources":["../../src/types/MessageAttachmentStatus.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B,oFAK9B,CAAA;AAEV,MAAM,MAAM,uBAAuB,GAAG,CAAC,OAAO,2BAA2B,CAAC,CAAC,MAAM,CAAC,CAAA"}
@@ -1,6 +0,0 @@
1
- export const MESSAGE_ATTACHMENT_STATUSES = [
2
- 'NOT_DOWNLOADED',
3
- 'DOWNLOAD_REQUESTED',
4
- 'DOWNLOADED',
5
- 'DOWNLOAD_FAILED',
6
- ];