@marcoappio/marco-config 2.0.528 → 2.0.530

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.
@@ -31,6 +31,15 @@ export declare const schema: {
31
31
  } & {
32
32
  serverName: string;
33
33
  };
34
+ readonly views: {
35
+ type: "json";
36
+ optional: false;
37
+ customType: {
38
+ id: string;
39
+ name: string;
40
+ aliasEmails: string[];
41
+ }[];
42
+ };
34
43
  };
35
44
  primaryKey: readonly [string, ...string[]];
36
45
  } & {
@@ -769,31 +778,31 @@ export declare const schema: {
769
778
  relationships: {
770
779
  readonly user: {
771
780
  accounts: [{
772
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
781
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
773
782
  readonly destField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
774
783
  readonly destSchema: "account";
775
784
  readonly cardinality: "many";
776
785
  }];
777
786
  contacts: [{
778
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
787
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
779
788
  readonly destField: readonly ("id" | "name" | "userId" | "emailAddress")[];
780
789
  readonly destSchema: "contact";
781
790
  readonly cardinality: "many";
782
791
  }];
783
792
  drafts: [{
784
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
793
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
785
794
  readonly destField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
786
795
  readonly destSchema: "draft";
787
796
  readonly cardinality: "many";
788
797
  }];
789
798
  pushNotificationTokens: [{
790
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
799
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
791
800
  readonly destField: readonly ("id" | "createdAt" | "token" | "userId")[];
792
801
  readonly destSchema: "userPushNotificationToken";
793
802
  readonly cardinality: "many";
794
803
  }];
795
804
  threads: [{
796
- readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
805
+ readonly sourceField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
797
806
  readonly destField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
798
807
  readonly destSchema: "thread";
799
808
  readonly cardinality: "many";
@@ -802,7 +811,7 @@ export declare const schema: {
802
811
  readonly userPushNotificationToken: {
803
812
  user: [{
804
813
  readonly sourceField: readonly ("id" | "createdAt" | "token" | "userId")[];
805
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
814
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
806
815
  readonly destSchema: "user";
807
816
  readonly cardinality: "one";
808
817
  }];
@@ -810,7 +819,7 @@ export declare const schema: {
810
819
  readonly contact: {
811
820
  user: [{
812
821
  readonly sourceField: readonly ("id" | "name" | "userId" | "emailAddress")[];
813
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
822
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
814
823
  readonly destSchema: "user";
815
824
  readonly cardinality: "one";
816
825
  }];
@@ -848,7 +857,7 @@ export declare const schema: {
848
857
  }];
849
858
  user: [{
850
859
  readonly sourceField: readonly ("id" | "userId" | "color" | "displayName" | "imapConnectionStatus" | "mailProcessedCount" | "mailTotalCount" | "primaryAliasId")[];
851
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
860
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
852
861
  readonly destSchema: "user";
853
862
  readonly cardinality: "one";
854
863
  }];
@@ -895,7 +904,7 @@ export declare const schema: {
895
904
  }];
896
905
  user: [{
897
906
  readonly sourceField: readonly ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
898
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
907
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
899
908
  readonly destSchema: "user";
900
909
  readonly cardinality: "one";
901
910
  }];
@@ -940,7 +949,7 @@ export declare const schema: {
940
949
  }];
941
950
  user: [{
942
951
  readonly sourceField: readonly ("id" | "userId" | "accountId" | "subject" | "flagged" | "hasAttachments" | "labelIdList" | "latestMessageDate" | "latestMessageId" | "messageCount" | "previewText" | "seen" | "senderEmail" | "senderName" | "words")[];
943
- readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
952
+ readonly destField: readonly ("id" | "profilePicture" | "undoSendEnabled" | "name" | "views")[];
944
953
  readonly destSchema: "user";
945
954
  readonly cardinality: "one";
946
955
  }];
@@ -1759,6 +1768,15 @@ export declare const tables: {
1759
1768
  } & {
1760
1769
  serverName: string;
1761
1770
  };
1771
+ readonly views: {
1772
+ type: "json";
1773
+ optional: false;
1774
+ customType: {
1775
+ id: string;
1776
+ name: string;
1777
+ aliasEmails: string[];
1778
+ }[];
1779
+ };
1762
1780
  };
1763
1781
  primaryKey: readonly [string, ...string[]];
1764
1782
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AA2bA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;CAiYjB,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAtYJ,MAAM;wBACX,MAAM,EAAE;wBACR,MAAM,EAAE;yBACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAvEL,MAAM;0BACJ,MAAM;iCACC,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAudrB,CAAA"}
@@ -5,6 +5,7 @@ const user = table('user')
5
5
  name: string().optional(),
6
6
  profilePicture: string().optional().from('profile_picture'),
7
7
  undoSendEnabled: boolean().from('undo_send_enabled'),
8
+ views: json(),
8
9
  })
9
10
  .primaryKey('id');
10
11
  const userPushNotificationToken = table('userPushNotificationToken')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.528",
3
+ "version": "2.0.530",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",