@marcoappio/marco-config 2.0.460 → 2.0.462
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.
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -1
- package/dist/zero/index.d.ts +0 -315
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.js +13 -0
- package/dist/zero/mutators/threadMutators/threadMutators.test.js +54 -2
- package/dist/zero/queries/getAccounts.d.ts +0 -46
- package/dist/zero/queries/getAccounts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.d.ts +0 -46
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.d.ts +0 -53
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.js +1 -5
- package/dist/zero/queries/getThreads.d.ts +0 -46
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getUser.d.ts +0 -46
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/index.d.ts +0 -46
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/schema.d.ts +0 -78
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +0 -24
- package/package.json +1 -1
- package/dist/types/DraftRecipientType.d.ts +0 -3
- package/dist/types/DraftRecipientType.d.ts.map +0 -1
- package/dist/types/DraftRecipientType.js +0 -1
|
@@ -367,38 +367,6 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
367
367
|
} & {
|
|
368
368
|
primaryKey: ["id"];
|
|
369
369
|
};
|
|
370
|
-
readonly draftRecipient: {
|
|
371
|
-
name: "draftRecipient";
|
|
372
|
-
columns: {
|
|
373
|
-
readonly draftId: {
|
|
374
|
-
type: "string";
|
|
375
|
-
optional: false;
|
|
376
|
-
customType: string;
|
|
377
|
-
} & {
|
|
378
|
-
serverName: string;
|
|
379
|
-
};
|
|
380
|
-
readonly emailAddress: {
|
|
381
|
-
type: "string";
|
|
382
|
-
optional: false;
|
|
383
|
-
customType: string;
|
|
384
|
-
} & {
|
|
385
|
-
serverName: string;
|
|
386
|
-
};
|
|
387
|
-
readonly id: {
|
|
388
|
-
type: "string";
|
|
389
|
-
optional: false;
|
|
390
|
-
customType: string;
|
|
391
|
-
};
|
|
392
|
-
readonly type: {
|
|
393
|
-
type: "string";
|
|
394
|
-
optional: false;
|
|
395
|
-
customType: "bcc" | "cc" | "to";
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
primaryKey: readonly [string, ...string[]];
|
|
399
|
-
} & {
|
|
400
|
-
primaryKey: ["id"];
|
|
401
|
-
};
|
|
402
370
|
readonly draftAttachment: {
|
|
403
371
|
name: "draftAttachment";
|
|
404
372
|
columns: {
|
|
@@ -823,12 +791,6 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
823
791
|
readonly destSchema: "draftAttachment";
|
|
824
792
|
readonly cardinality: "many";
|
|
825
793
|
}];
|
|
826
|
-
recipients: [{
|
|
827
|
-
readonly sourceField: string[];
|
|
828
|
-
readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
|
|
829
|
-
readonly destSchema: "draftRecipient";
|
|
830
|
-
readonly cardinality: "many";
|
|
831
|
-
}];
|
|
832
794
|
user: [{
|
|
833
795
|
readonly sourceField: string[];
|
|
834
796
|
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
@@ -836,14 +798,6 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
836
798
|
readonly cardinality: "one";
|
|
837
799
|
}];
|
|
838
800
|
};
|
|
839
|
-
readonly draftRecipient: {
|
|
840
|
-
draft: [{
|
|
841
|
-
readonly sourceField: string[];
|
|
842
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
843
|
-
readonly destSchema: "draft";
|
|
844
|
-
readonly cardinality: "one";
|
|
845
|
-
}];
|
|
846
|
-
};
|
|
847
801
|
readonly draftAttachment: {
|
|
848
802
|
draft: [{
|
|
849
803
|
readonly sourceField: string[];
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEvB,CAAA"}
|
|
@@ -376,38 +376,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
376
376
|
} & {
|
|
377
377
|
primaryKey: ["id"];
|
|
378
378
|
};
|
|
379
|
-
readonly draftRecipient: {
|
|
380
|
-
name: "draftRecipient";
|
|
381
|
-
columns: {
|
|
382
|
-
readonly draftId: {
|
|
383
|
-
type: "string";
|
|
384
|
-
optional: false;
|
|
385
|
-
customType: string;
|
|
386
|
-
} & {
|
|
387
|
-
serverName: string;
|
|
388
|
-
};
|
|
389
|
-
readonly emailAddress: {
|
|
390
|
-
type: "string";
|
|
391
|
-
optional: false;
|
|
392
|
-
customType: string;
|
|
393
|
-
} & {
|
|
394
|
-
serverName: string;
|
|
395
|
-
};
|
|
396
|
-
readonly id: {
|
|
397
|
-
type: "string";
|
|
398
|
-
optional: false;
|
|
399
|
-
customType: string;
|
|
400
|
-
};
|
|
401
|
-
readonly type: {
|
|
402
|
-
type: "string";
|
|
403
|
-
optional: false;
|
|
404
|
-
customType: "bcc" | "cc" | "to";
|
|
405
|
-
};
|
|
406
|
-
};
|
|
407
|
-
primaryKey: readonly [string, ...string[]];
|
|
408
|
-
} & {
|
|
409
|
-
primaryKey: ["id"];
|
|
410
|
-
};
|
|
411
379
|
readonly draftAttachment: {
|
|
412
380
|
name: "draftAttachment";
|
|
413
381
|
columns: {
|
|
@@ -832,12 +800,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
832
800
|
readonly destSchema: "draftAttachment";
|
|
833
801
|
readonly cardinality: "many";
|
|
834
802
|
}];
|
|
835
|
-
recipients: [{
|
|
836
|
-
readonly sourceField: string[];
|
|
837
|
-
readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
|
|
838
|
-
readonly destSchema: "draftRecipient";
|
|
839
|
-
readonly cardinality: "many";
|
|
840
|
-
}];
|
|
841
803
|
user: [{
|
|
842
804
|
readonly sourceField: string[];
|
|
843
805
|
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
@@ -845,14 +807,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
845
807
|
readonly cardinality: "one";
|
|
846
808
|
}];
|
|
847
809
|
};
|
|
848
|
-
readonly draftRecipient: {
|
|
849
|
-
draft: [{
|
|
850
|
-
readonly sourceField: string[];
|
|
851
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
852
|
-
readonly destSchema: "draft";
|
|
853
|
-
readonly cardinality: "one";
|
|
854
|
-
}];
|
|
855
|
-
};
|
|
856
810
|
readonly draftAttachment: {
|
|
857
811
|
draft: [{
|
|
858
812
|
readonly sourceField: string[];
|
|
@@ -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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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BvB,CAAA"}
|
|
@@ -373,38 +373,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
373
373
|
} & {
|
|
374
374
|
primaryKey: ["id"];
|
|
375
375
|
};
|
|
376
|
-
readonly draftRecipient: {
|
|
377
|
-
name: "draftRecipient";
|
|
378
|
-
columns: {
|
|
379
|
-
readonly draftId: {
|
|
380
|
-
type: "string";
|
|
381
|
-
optional: false;
|
|
382
|
-
customType: string;
|
|
383
|
-
} & {
|
|
384
|
-
serverName: string;
|
|
385
|
-
};
|
|
386
|
-
readonly emailAddress: {
|
|
387
|
-
type: "string";
|
|
388
|
-
optional: false;
|
|
389
|
-
customType: string;
|
|
390
|
-
} & {
|
|
391
|
-
serverName: string;
|
|
392
|
-
};
|
|
393
|
-
readonly id: {
|
|
394
|
-
type: "string";
|
|
395
|
-
optional: false;
|
|
396
|
-
customType: string;
|
|
397
|
-
};
|
|
398
|
-
readonly type: {
|
|
399
|
-
type: "string";
|
|
400
|
-
optional: false;
|
|
401
|
-
customType: "bcc" | "cc" | "to";
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
primaryKey: readonly [string, ...string[]];
|
|
405
|
-
} & {
|
|
406
|
-
primaryKey: ["id"];
|
|
407
|
-
};
|
|
408
376
|
readonly draftAttachment: {
|
|
409
377
|
name: "draftAttachment";
|
|
410
378
|
columns: {
|
|
@@ -829,12 +797,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
829
797
|
readonly destSchema: "draftAttachment";
|
|
830
798
|
readonly cardinality: "many";
|
|
831
799
|
}];
|
|
832
|
-
recipients: [{
|
|
833
|
-
readonly sourceField: string[];
|
|
834
|
-
readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
|
|
835
|
-
readonly destSchema: "draftRecipient";
|
|
836
|
-
readonly cardinality: "many";
|
|
837
|
-
}];
|
|
838
800
|
user: [{
|
|
839
801
|
readonly sourceField: string[];
|
|
840
802
|
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
@@ -842,14 +804,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
842
804
|
readonly cardinality: "one";
|
|
843
805
|
}];
|
|
844
806
|
};
|
|
845
|
-
readonly draftRecipient: {
|
|
846
|
-
draft: [{
|
|
847
|
-
readonly sourceField: string[];
|
|
848
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
849
|
-
readonly destSchema: "draft";
|
|
850
|
-
readonly cardinality: "one";
|
|
851
|
-
}];
|
|
852
|
-
};
|
|
853
807
|
readonly draftAttachment: {
|
|
854
808
|
draft: [{
|
|
855
809
|
readonly sourceField: string[];
|
|
@@ -979,13 +933,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
979
933
|
readonly type: "NEW" | "REPLY" | "FORWARD";
|
|
980
934
|
readonly updatedAt: number;
|
|
981
935
|
readonly userId: string;
|
|
982
|
-
} & {
|
|
983
|
-
readonly recipients: readonly {
|
|
984
|
-
readonly draftId: string;
|
|
985
|
-
readonly emailAddress: string;
|
|
986
|
-
readonly id: string;
|
|
987
|
-
readonly type: "bcc" | "cc" | "to";
|
|
988
|
-
}[];
|
|
989
936
|
} & {
|
|
990
937
|
readonly attachments: readonly {
|
|
991
938
|
readonly draftId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getDrafts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAMpD,KAAK,aAAa,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;CACzC,CAAA;AAWD,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getDrafts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAMpD,KAAK,aAAa,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;CACzC,CAAA;AAWD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBrB,CAAA"}
|
|
@@ -13,11 +13,7 @@ const parseArgs = (args) => {
|
|
|
13
13
|
return [v.parse(schema, args[0])];
|
|
14
14
|
};
|
|
15
15
|
export const getDrafts = syncedQueryWithContext('getDrafts', parseArgs, ({ userId }, { status, accountId, limit }) => {
|
|
16
|
-
let query = z.draft
|
|
17
|
-
.where('userId', userId)
|
|
18
|
-
.related('recipients')
|
|
19
|
-
.related('attachments')
|
|
20
|
-
.orderBy('updatedAt', 'desc');
|
|
16
|
+
let query = z.draft.where('userId', userId).related('attachments').orderBy('updatedAt', 'desc');
|
|
21
17
|
if (status) {
|
|
22
18
|
query = query.where('status', status);
|
|
23
19
|
}
|
|
@@ -379,38 +379,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
379
379
|
} & {
|
|
380
380
|
primaryKey: ["id"];
|
|
381
381
|
};
|
|
382
|
-
readonly draftRecipient: {
|
|
383
|
-
name: "draftRecipient";
|
|
384
|
-
columns: {
|
|
385
|
-
readonly draftId: {
|
|
386
|
-
type: "string";
|
|
387
|
-
optional: false;
|
|
388
|
-
customType: string;
|
|
389
|
-
} & {
|
|
390
|
-
serverName: string;
|
|
391
|
-
};
|
|
392
|
-
readonly emailAddress: {
|
|
393
|
-
type: "string";
|
|
394
|
-
optional: false;
|
|
395
|
-
customType: string;
|
|
396
|
-
} & {
|
|
397
|
-
serverName: string;
|
|
398
|
-
};
|
|
399
|
-
readonly id: {
|
|
400
|
-
type: "string";
|
|
401
|
-
optional: false;
|
|
402
|
-
customType: string;
|
|
403
|
-
};
|
|
404
|
-
readonly type: {
|
|
405
|
-
type: "string";
|
|
406
|
-
optional: false;
|
|
407
|
-
customType: "bcc" | "cc" | "to";
|
|
408
|
-
};
|
|
409
|
-
};
|
|
410
|
-
primaryKey: readonly [string, ...string[]];
|
|
411
|
-
} & {
|
|
412
|
-
primaryKey: ["id"];
|
|
413
|
-
};
|
|
414
382
|
readonly draftAttachment: {
|
|
415
383
|
name: "draftAttachment";
|
|
416
384
|
columns: {
|
|
@@ -835,12 +803,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
835
803
|
readonly destSchema: "draftAttachment";
|
|
836
804
|
readonly cardinality: "many";
|
|
837
805
|
}];
|
|
838
|
-
recipients: [{
|
|
839
|
-
readonly sourceField: string[];
|
|
840
|
-
readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
|
|
841
|
-
readonly destSchema: "draftRecipient";
|
|
842
|
-
readonly cardinality: "many";
|
|
843
|
-
}];
|
|
844
806
|
user: [{
|
|
845
807
|
readonly sourceField: string[];
|
|
846
808
|
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
@@ -848,14 +810,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
848
810
|
readonly cardinality: "one";
|
|
849
811
|
}];
|
|
850
812
|
};
|
|
851
|
-
readonly draftRecipient: {
|
|
852
|
-
draft: [{
|
|
853
|
-
readonly sourceField: string[];
|
|
854
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
855
|
-
readonly destSchema: "draft";
|
|
856
|
-
readonly cardinality: "one";
|
|
857
|
-
}];
|
|
858
|
-
};
|
|
859
813
|
readonly draftAttachment: {
|
|
860
814
|
draft: [{
|
|
861
815
|
readonly sourceField: string[];
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"getThreads.d.ts","s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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDtB,CAAA"}
|
|
@@ -367,38 +367,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
367
367
|
} & {
|
|
368
368
|
primaryKey: ["id"];
|
|
369
369
|
};
|
|
370
|
-
readonly draftRecipient: {
|
|
371
|
-
name: "draftRecipient";
|
|
372
|
-
columns: {
|
|
373
|
-
readonly draftId: {
|
|
374
|
-
type: "string";
|
|
375
|
-
optional: false;
|
|
376
|
-
customType: string;
|
|
377
|
-
} & {
|
|
378
|
-
serverName: string;
|
|
379
|
-
};
|
|
380
|
-
readonly emailAddress: {
|
|
381
|
-
type: "string";
|
|
382
|
-
optional: false;
|
|
383
|
-
customType: string;
|
|
384
|
-
} & {
|
|
385
|
-
serverName: string;
|
|
386
|
-
};
|
|
387
|
-
readonly id: {
|
|
388
|
-
type: "string";
|
|
389
|
-
optional: false;
|
|
390
|
-
customType: string;
|
|
391
|
-
};
|
|
392
|
-
readonly type: {
|
|
393
|
-
type: "string";
|
|
394
|
-
optional: false;
|
|
395
|
-
customType: "bcc" | "cc" | "to";
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
primaryKey: readonly [string, ...string[]];
|
|
399
|
-
} & {
|
|
400
|
-
primaryKey: ["id"];
|
|
401
|
-
};
|
|
402
370
|
readonly draftAttachment: {
|
|
403
371
|
name: "draftAttachment";
|
|
404
372
|
columns: {
|
|
@@ -823,12 +791,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
823
791
|
readonly destSchema: "draftAttachment";
|
|
824
792
|
readonly cardinality: "many";
|
|
825
793
|
}];
|
|
826
|
-
recipients: [{
|
|
827
|
-
readonly sourceField: string[];
|
|
828
|
-
readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
|
|
829
|
-
readonly destSchema: "draftRecipient";
|
|
830
|
-
readonly cardinality: "many";
|
|
831
|
-
}];
|
|
832
794
|
user: [{
|
|
833
795
|
readonly sourceField: string[];
|
|
834
796
|
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
@@ -836,14 +798,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
836
798
|
readonly cardinality: "one";
|
|
837
799
|
}];
|
|
838
800
|
};
|
|
839
|
-
readonly draftRecipient: {
|
|
840
|
-
draft: [{
|
|
841
|
-
readonly sourceField: string[];
|
|
842
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
843
|
-
readonly destSchema: "draft";
|
|
844
|
-
readonly cardinality: "one";
|
|
845
|
-
}];
|
|
846
|
-
};
|
|
847
801
|
readonly draftAttachment: {
|
|
848
802
|
draft: [{
|
|
849
803
|
readonly sourceField: string[];
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO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AA"}
|
|
@@ -366,38 +366,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
366
366
|
} & {
|
|
367
367
|
primaryKey: ["id"];
|
|
368
368
|
};
|
|
369
|
-
readonly draftRecipient: {
|
|
370
|
-
name: "draftRecipient";
|
|
371
|
-
columns: {
|
|
372
|
-
readonly draftId: {
|
|
373
|
-
type: "string";
|
|
374
|
-
optional: false;
|
|
375
|
-
customType: string;
|
|
376
|
-
} & {
|
|
377
|
-
serverName: string;
|
|
378
|
-
};
|
|
379
|
-
readonly emailAddress: {
|
|
380
|
-
type: "string";
|
|
381
|
-
optional: false;
|
|
382
|
-
customType: string;
|
|
383
|
-
} & {
|
|
384
|
-
serverName: string;
|
|
385
|
-
};
|
|
386
|
-
readonly id: {
|
|
387
|
-
type: "string";
|
|
388
|
-
optional: false;
|
|
389
|
-
customType: string;
|
|
390
|
-
};
|
|
391
|
-
readonly type: {
|
|
392
|
-
type: "string";
|
|
393
|
-
optional: false;
|
|
394
|
-
customType: "bcc" | "cc" | "to";
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
primaryKey: readonly [string, ...string[]];
|
|
398
|
-
} & {
|
|
399
|
-
primaryKey: ["id"];
|
|
400
|
-
};
|
|
401
369
|
readonly draftAttachment: {
|
|
402
370
|
name: "draftAttachment";
|
|
403
371
|
columns: {
|
|
@@ -822,12 +790,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
822
790
|
readonly destSchema: "draftAttachment";
|
|
823
791
|
readonly cardinality: "many";
|
|
824
792
|
}];
|
|
825
|
-
recipients: [{
|
|
826
|
-
readonly sourceField: string[];
|
|
827
|
-
readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
|
|
828
|
-
readonly destSchema: "draftRecipient";
|
|
829
|
-
readonly cardinality: "many";
|
|
830
|
-
}];
|
|
831
793
|
user: [{
|
|
832
794
|
readonly sourceField: string[];
|
|
833
795
|
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
@@ -835,14 +797,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
835
797
|
readonly cardinality: "one";
|
|
836
798
|
}];
|
|
837
799
|
};
|
|
838
|
-
readonly draftRecipient: {
|
|
839
|
-
draft: [{
|
|
840
|
-
readonly sourceField: string[];
|
|
841
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
842
|
-
readonly destSchema: "draft";
|
|
843
|
-
readonly cardinality: "one";
|
|
844
|
-
}];
|
|
845
|
-
};
|
|
846
800
|
readonly draftAttachment: {
|
|
847
801
|
draft: [{
|
|
848
802
|
readonly sourceField: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
|
package/dist/zero/schema.d.ts
CHANGED
|
@@ -366,38 +366,6 @@ export declare const schema: {
|
|
|
366
366
|
} & {
|
|
367
367
|
primaryKey: ["id"];
|
|
368
368
|
};
|
|
369
|
-
readonly draftRecipient: {
|
|
370
|
-
name: "draftRecipient";
|
|
371
|
-
columns: {
|
|
372
|
-
readonly draftId: {
|
|
373
|
-
type: "string";
|
|
374
|
-
optional: false;
|
|
375
|
-
customType: string;
|
|
376
|
-
} & {
|
|
377
|
-
serverName: string;
|
|
378
|
-
};
|
|
379
|
-
readonly emailAddress: {
|
|
380
|
-
type: "string";
|
|
381
|
-
optional: false;
|
|
382
|
-
customType: string;
|
|
383
|
-
} & {
|
|
384
|
-
serverName: string;
|
|
385
|
-
};
|
|
386
|
-
readonly id: {
|
|
387
|
-
type: "string";
|
|
388
|
-
optional: false;
|
|
389
|
-
customType: string;
|
|
390
|
-
};
|
|
391
|
-
readonly type: {
|
|
392
|
-
type: "string";
|
|
393
|
-
optional: false;
|
|
394
|
-
customType: "bcc" | "cc" | "to";
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
primaryKey: readonly [string, ...string[]];
|
|
398
|
-
} & {
|
|
399
|
-
primaryKey: ["id"];
|
|
400
|
-
};
|
|
401
369
|
readonly draftAttachment: {
|
|
402
370
|
name: "draftAttachment";
|
|
403
371
|
columns: {
|
|
@@ -822,12 +790,6 @@ export declare const schema: {
|
|
|
822
790
|
readonly destSchema: "draftAttachment";
|
|
823
791
|
readonly cardinality: "many";
|
|
824
792
|
}];
|
|
825
|
-
recipients: [{
|
|
826
|
-
readonly sourceField: string[];
|
|
827
|
-
readonly destField: ("type" | "id" | "emailAddress" | "draftId")[];
|
|
828
|
-
readonly destSchema: "draftRecipient";
|
|
829
|
-
readonly cardinality: "many";
|
|
830
|
-
}];
|
|
831
793
|
user: [{
|
|
832
794
|
readonly sourceField: string[];
|
|
833
795
|
readonly destField: ("id" | "profilePicture" | "undoSendEnabled" | "name")[];
|
|
@@ -835,14 +797,6 @@ export declare const schema: {
|
|
|
835
797
|
readonly cardinality: "one";
|
|
836
798
|
}];
|
|
837
799
|
};
|
|
838
|
-
readonly draftRecipient: {
|
|
839
|
-
draft: [{
|
|
840
|
-
readonly sourceField: string[];
|
|
841
|
-
readonly destField: ("type" | "status" | "id" | "userId" | "accountId" | "fromAliasId" | "fromEmail" | "fromName" | "referencedMessageId" | "scheduledFor" | "updatedAt" | "body" | "error" | "subject")[];
|
|
842
|
-
readonly destSchema: "draft";
|
|
843
|
-
readonly cardinality: "one";
|
|
844
|
-
}];
|
|
845
|
-
};
|
|
846
800
|
readonly draftAttachment: {
|
|
847
801
|
draft: [{
|
|
848
802
|
readonly sourceField: string[];
|
|
@@ -1301,38 +1255,6 @@ export declare const zeroTables: {
|
|
|
1301
1255
|
} & {
|
|
1302
1256
|
primaryKey: ["id"];
|
|
1303
1257
|
}>;
|
|
1304
|
-
readonly draftRecipient: import("@rocicorp/zero").TableBuilderWithColumns<{
|
|
1305
|
-
name: "draftRecipient";
|
|
1306
|
-
columns: {
|
|
1307
|
-
readonly draftId: {
|
|
1308
|
-
type: "string";
|
|
1309
|
-
optional: false;
|
|
1310
|
-
customType: string;
|
|
1311
|
-
} & {
|
|
1312
|
-
serverName: string;
|
|
1313
|
-
};
|
|
1314
|
-
readonly emailAddress: {
|
|
1315
|
-
type: "string";
|
|
1316
|
-
optional: false;
|
|
1317
|
-
customType: string;
|
|
1318
|
-
} & {
|
|
1319
|
-
serverName: string;
|
|
1320
|
-
};
|
|
1321
|
-
readonly id: {
|
|
1322
|
-
type: "string";
|
|
1323
|
-
optional: false;
|
|
1324
|
-
customType: string;
|
|
1325
|
-
};
|
|
1326
|
-
readonly type: {
|
|
1327
|
-
type: "string";
|
|
1328
|
-
optional: false;
|
|
1329
|
-
customType: "bcc" | "cc" | "to";
|
|
1330
|
-
};
|
|
1331
|
-
};
|
|
1332
|
-
primaryKey: readonly [string, ...string[]];
|
|
1333
|
-
} & {
|
|
1334
|
-
primaryKey: ["id"];
|
|
1335
|
-
}>;
|
|
1336
1258
|
readonly thread: import("@rocicorp/zero").TableBuilderWithColumns<{
|
|
1337
1259
|
name: "thread";
|
|
1338
1260
|
columns: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AAsZA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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