@marcoappio/marco-config 2.0.458 → 2.0.459
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 +6 -48
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/mutatorSchemas/index.d.ts +0 -6
- package/dist/zero/mutatorSchemas/index.d.ts.map +1 -1
- package/dist/zero/mutatorSchemas/thread.d.ts +0 -6
- package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -1
- package/dist/zero/mutatorSchemas/thread.js +0 -6
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.js +0 -13
- package/dist/zero/mutators/threadMutators/threadMutators.test.js +0 -33
- package/dist/zero/queries/getAccounts.d.ts +1 -6
- package/dist/zero/queries/getAccounts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.d.ts +1 -6
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.d.ts +1 -6
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.d.ts +1 -7
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getUser.d.ts +1 -6
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/index.d.ts +1 -6
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/schema.d.ts +1 -11
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +0 -1
- package/package.json +1 -1
- package/dist/types/MessageAttachmentStatus.d.ts +0 -3
- package/dist/types/MessageAttachmentStatus.d.ts.map +0 -1
- package/dist/types/MessageAttachmentStatus.js +0 -6
package/dist/types/index.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export * from './IMAPConnectionStatus';
|
|
|
9
9
|
export * from './IMAPSourceLocation';
|
|
10
10
|
export * from './LabelSpecialUse';
|
|
11
11
|
export * from './MarcoPlatform';
|
|
12
|
-
export * from './MessageAttachmentStatus';
|
|
13
12
|
export * from './MessageRecipientType';
|
|
14
13
|
export * from './OAuthProvider';
|
|
15
14
|
export * from './SDKError';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,+BAA+B,CAAA;AAC7C,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA"}
|
package/dist/types/index.js
CHANGED
|
@@ -9,7 +9,6 @@ export * from './IMAPConnectionStatus';
|
|
|
9
9
|
export * from './IMAPSourceLocation';
|
|
10
10
|
export * from './LabelSpecialUse';
|
|
11
11
|
export * from './MarcoPlatform';
|
|
12
|
-
export * from './MessageAttachmentStatus';
|
|
13
12
|
export * from './MessageRecipientType';
|
|
14
13
|
export * from './OAuthProvider';
|
|
15
14
|
export * from './SDKError';
|
package/dist/zero/index.d.ts
CHANGED
|
@@ -257,12 +257,6 @@ export declare const marcoZero: {
|
|
|
257
257
|
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
258
258
|
}, undefined>;
|
|
259
259
|
};
|
|
260
|
-
readonly requestAttachmentDownload: {
|
|
261
|
-
readonly delta: import("valibot").ObjectSchema<{
|
|
262
|
-
readonly attachmentIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
263
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
264
|
-
}, undefined>;
|
|
265
|
-
};
|
|
266
260
|
readonly setArchive: {
|
|
267
261
|
readonly delta: import("valibot").ObjectSchema<{
|
|
268
262
|
readonly sourceLocations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -1023,11 +1017,6 @@ export declare const marcoZero: {
|
|
|
1023
1017
|
optional: false;
|
|
1024
1018
|
customType: number;
|
|
1025
1019
|
};
|
|
1026
|
-
readonly status: {
|
|
1027
|
-
type: "string";
|
|
1028
|
-
optional: false;
|
|
1029
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
1030
|
-
};
|
|
1031
1020
|
readonly threadMessageId: {
|
|
1032
1021
|
type: "string";
|
|
1033
1022
|
optional: false;
|
|
@@ -1251,7 +1240,7 @@ export declare const marcoZero: {
|
|
|
1251
1240
|
readonly threadMessage: {
|
|
1252
1241
|
attachments: [{
|
|
1253
1242
|
readonly sourceField: string[];
|
|
1254
|
-
readonly destField: ("
|
|
1243
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
1255
1244
|
readonly destSchema: "threadMessageAttachment";
|
|
1256
1245
|
readonly cardinality: "many";
|
|
1257
1246
|
}];
|
|
@@ -2017,11 +2006,6 @@ export declare const marcoZero: {
|
|
|
2017
2006
|
optional: false;
|
|
2018
2007
|
customType: number;
|
|
2019
2008
|
};
|
|
2020
|
-
readonly status: {
|
|
2021
|
-
type: "string";
|
|
2022
|
-
optional: false;
|
|
2023
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
2024
|
-
};
|
|
2025
2009
|
readonly threadMessageId: {
|
|
2026
2010
|
type: "string";
|
|
2027
2011
|
optional: false;
|
|
@@ -2245,7 +2229,7 @@ export declare const marcoZero: {
|
|
|
2245
2229
|
readonly threadMessage: {
|
|
2246
2230
|
attachments: [{
|
|
2247
2231
|
readonly sourceField: string[];
|
|
2248
|
-
readonly destField: ("
|
|
2232
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
2249
2233
|
readonly destSchema: "threadMessageAttachment";
|
|
2250
2234
|
readonly cardinality: "many";
|
|
2251
2235
|
}];
|
|
@@ -2979,11 +2963,6 @@ export declare const marcoZero: {
|
|
|
2979
2963
|
optional: false;
|
|
2980
2964
|
customType: number;
|
|
2981
2965
|
};
|
|
2982
|
-
readonly status: {
|
|
2983
|
-
type: "string";
|
|
2984
|
-
optional: false;
|
|
2985
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
2986
|
-
};
|
|
2987
2966
|
readonly threadMessageId: {
|
|
2988
2967
|
type: "string";
|
|
2989
2968
|
optional: false;
|
|
@@ -3207,7 +3186,7 @@ export declare const marcoZero: {
|
|
|
3207
3186
|
readonly threadMessage: {
|
|
3208
3187
|
attachments: [{
|
|
3209
3188
|
readonly sourceField: string[];
|
|
3210
|
-
readonly destField: ("
|
|
3189
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
3211
3190
|
readonly destSchema: "threadMessageAttachment";
|
|
3212
3191
|
readonly cardinality: "many";
|
|
3213
3192
|
}];
|
|
@@ -3979,11 +3958,6 @@ export declare const marcoZero: {
|
|
|
3979
3958
|
optional: false;
|
|
3980
3959
|
customType: number;
|
|
3981
3960
|
};
|
|
3982
|
-
readonly status: {
|
|
3983
|
-
type: "string";
|
|
3984
|
-
optional: false;
|
|
3985
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
3986
|
-
};
|
|
3987
3961
|
readonly threadMessageId: {
|
|
3988
3962
|
type: "string";
|
|
3989
3963
|
optional: false;
|
|
@@ -4207,7 +4181,7 @@ export declare const marcoZero: {
|
|
|
4207
4181
|
readonly threadMessage: {
|
|
4208
4182
|
attachments: [{
|
|
4209
4183
|
readonly sourceField: string[];
|
|
4210
|
-
readonly destField: ("
|
|
4184
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
4211
4185
|
readonly destSchema: "threadMessageAttachment";
|
|
4212
4186
|
readonly cardinality: "many";
|
|
4213
4187
|
}];
|
|
@@ -4286,7 +4260,6 @@ export declare const marcoZero: {
|
|
|
4286
4260
|
readonly id: string;
|
|
4287
4261
|
readonly mimeType: string;
|
|
4288
4262
|
readonly size: number;
|
|
4289
|
-
readonly status: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
4290
4263
|
readonly threadMessageId: string;
|
|
4291
4264
|
}[];
|
|
4292
4265
|
})[];
|
|
@@ -4976,11 +4949,6 @@ export declare const marcoZero: {
|
|
|
4976
4949
|
optional: false;
|
|
4977
4950
|
customType: number;
|
|
4978
4951
|
};
|
|
4979
|
-
readonly status: {
|
|
4980
|
-
type: "string";
|
|
4981
|
-
optional: false;
|
|
4982
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
4983
|
-
};
|
|
4984
4952
|
readonly threadMessageId: {
|
|
4985
4953
|
type: "string";
|
|
4986
4954
|
optional: false;
|
|
@@ -5204,7 +5172,7 @@ export declare const marcoZero: {
|
|
|
5204
5172
|
readonly threadMessage: {
|
|
5205
5173
|
attachments: [{
|
|
5206
5174
|
readonly sourceField: string[];
|
|
5207
|
-
readonly destField: ("
|
|
5175
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
5208
5176
|
readonly destSchema: "threadMessageAttachment";
|
|
5209
5177
|
readonly cardinality: "many";
|
|
5210
5178
|
}];
|
|
@@ -5977,11 +5945,6 @@ export declare const marcoZero: {
|
|
|
5977
5945
|
optional: false;
|
|
5978
5946
|
customType: number;
|
|
5979
5947
|
};
|
|
5980
|
-
readonly status: {
|
|
5981
|
-
type: "string";
|
|
5982
|
-
optional: false;
|
|
5983
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
5984
|
-
};
|
|
5985
5948
|
readonly threadMessageId: {
|
|
5986
5949
|
type: "string";
|
|
5987
5950
|
optional: false;
|
|
@@ -6205,7 +6168,7 @@ export declare const marcoZero: {
|
|
|
6205
6168
|
readonly threadMessage: {
|
|
6206
6169
|
attachments: [{
|
|
6207
6170
|
readonly sourceField: string[];
|
|
6208
|
-
readonly destField: ("
|
|
6171
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
6209
6172
|
readonly destSchema: "threadMessageAttachment";
|
|
6210
6173
|
readonly cardinality: "many";
|
|
6211
6174
|
}];
|
|
@@ -6822,11 +6785,6 @@ export declare const marcoZero: {
|
|
|
6822
6785
|
optional: false;
|
|
6823
6786
|
customType: number;
|
|
6824
6787
|
};
|
|
6825
|
-
readonly status: {
|
|
6826
|
-
type: "string";
|
|
6827
|
-
optional: false;
|
|
6828
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
6829
|
-
};
|
|
6830
6788
|
readonly threadMessageId: {
|
|
6831
6789
|
type: "string";
|
|
6832
6790
|
optional: false;
|
package/dist/zero/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAM,CAAA;AAEV,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -255,12 +255,6 @@ export declare const zeroMutatorSchemas: {
|
|
|
255
255
|
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
256
256
|
}, undefined>;
|
|
257
257
|
};
|
|
258
|
-
readonly requestAttachmentDownload: {
|
|
259
|
-
readonly delta: import("valibot").ObjectSchema<{
|
|
260
|
-
readonly attachmentIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
261
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
262
|
-
}, undefined>;
|
|
263
|
-
};
|
|
264
258
|
readonly setArchive: {
|
|
265
259
|
readonly delta: import("valibot").ObjectSchema<{
|
|
266
260
|
readonly sourceLocations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrB,CAAA;AAEV,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA"}
|
|
@@ -29,12 +29,6 @@ export declare const threadMutatorSchemas: {
|
|
|
29
29
|
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
30
30
|
}, undefined>;
|
|
31
31
|
};
|
|
32
|
-
readonly requestAttachmentDownload: {
|
|
33
|
-
readonly delta: v.ObjectSchema<{
|
|
34
|
-
readonly attachmentIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
35
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
36
|
-
}, undefined>;
|
|
37
|
-
};
|
|
38
32
|
readonly setArchive: {
|
|
39
33
|
readonly delta: v.ObjectSchema<{
|
|
40
34
|
readonly sourceLocations: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA0B5B,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA0B5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCvB,CAAA"}
|
|
@@ -28,12 +28,6 @@ export const threadMutatorSchemas = {
|
|
|
28
28
|
removeLabel: {
|
|
29
29
|
delta: threadChangeLabelSchema,
|
|
30
30
|
},
|
|
31
|
-
requestAttachmentDownload: {
|
|
32
|
-
delta: v.object({
|
|
33
|
-
attachmentIds: v.array(marcoSchemas.string.required()),
|
|
34
|
-
threadIds: v.array(marcoSchemas.string.required()),
|
|
35
|
-
}),
|
|
36
|
-
},
|
|
37
31
|
setArchive: {
|
|
38
32
|
delta: specialUseLabelChangeDeltaSchema,
|
|
39
33
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threadMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/threadMutators/threadMutators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC9E,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAA;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,MAAM,MAAM,sBAAsB,GAAG;KAClC,CAAC,IAAI,MAAM,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAC1C,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,KAC1D,OAAO,CAAC,IAAI,CAAC;CACnB,CAAA;AAED,eAAO,MAAM,cAAc,OACrB,WAAW,CAAC,eAAe,CAAC,YACtB,MAAM,oBACE,eAAe,KAChC,OAAO,CAAC,kBAAkB,EAAE,CAoE9B,CAAA;AAED,eAAO,MAAM,oBAAoB,cACpB,QAAQ,GAAG,SAAS,cACnB,sBAAsB,KACjC,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"threadMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/threadMutators/threadMutators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC9E,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAA;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,MAAM,MAAM,sBAAsB,GAAG;KAClC,CAAC,IAAI,MAAM,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAC1C,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,KAC1D,OAAO,CAAC,IAAI,CAAC;CACnB,CAAA;AAED,eAAO,MAAM,cAAc,OACrB,WAAW,CAAC,eAAe,CAAC,YACtB,MAAM,oBACE,eAAe,KAChC,OAAO,CAAC,kBAAkB,EAAE,CAoE9B,CAAA;AAED,eAAO,MAAM,oBAAoB,cACpB,QAAQ,GAAG,SAAS,cACnB,sBAAsB,KACjC,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAoKxC,CAAA"}
|
|
@@ -141,19 +141,6 @@ export const createThreadMutators = (_authData, callbacks) => ({
|
|
|
141
141
|
}
|
|
142
142
|
callbacks?.removeLabel?.({ ...args, sourceLocations: allSourceLocations });
|
|
143
143
|
},
|
|
144
|
-
requestAttachmentDownload: async (tx, args) => {
|
|
145
|
-
for (const attachmentId of args.attachmentIds) {
|
|
146
|
-
const attachment = await tx.query.threadMessageAttachment.where('id', attachmentId).one().run();
|
|
147
|
-
if (!attachment) {
|
|
148
|
-
throw new Error(MutationError.ENTITY_NOT_FOUND);
|
|
149
|
-
}
|
|
150
|
-
await tx.mutate.threadMessageAttachment.update({
|
|
151
|
-
id: attachmentId,
|
|
152
|
-
status: 'DOWNLOAD_REQUESTED',
|
|
153
|
-
});
|
|
154
|
-
callbacks?.requestAttachmentDownload?.(args);
|
|
155
|
-
}
|
|
156
|
-
},
|
|
157
144
|
setArchive: async (tx, args) => {
|
|
158
145
|
const allSourceLocations = [];
|
|
159
146
|
for (const threadId of args.threadIds) {
|
|
@@ -165,39 +165,6 @@ describe('threadMutators', () => {
|
|
|
165
165
|
});
|
|
166
166
|
});
|
|
167
167
|
});
|
|
168
|
-
describe('requestAttachmentDownload', () => {
|
|
169
|
-
it('requests attachment download', async () => {
|
|
170
|
-
const attachmentRecord = {
|
|
171
|
-
id: 'test-attachment-id-1',
|
|
172
|
-
status: 'NOT_DOWNLOADED',
|
|
173
|
-
};
|
|
174
|
-
const run = mock(async () => attachmentRecord);
|
|
175
|
-
const one = mock(() => ({ run }));
|
|
176
|
-
const where = mock(() => ({ one }));
|
|
177
|
-
const attachmentUpdate = mock(async () => { });
|
|
178
|
-
const transaction = {
|
|
179
|
-
mutate: {
|
|
180
|
-
threadMessageAttachment: {
|
|
181
|
-
update: attachmentUpdate,
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
query: {
|
|
185
|
-
threadMessageAttachment: {
|
|
186
|
-
where,
|
|
187
|
-
},
|
|
188
|
-
},
|
|
189
|
-
};
|
|
190
|
-
const mutators = createMutators();
|
|
191
|
-
await mutators.thread.requestAttachmentDownload(transaction, {
|
|
192
|
-
attachmentIds: ['test-attachment-id-1'],
|
|
193
|
-
threadIds: ['test-thread-id-1'],
|
|
194
|
-
});
|
|
195
|
-
expect(attachmentUpdate).toHaveBeenCalledWith({
|
|
196
|
-
id: 'test-attachment-id-1',
|
|
197
|
-
status: 'DOWNLOAD_REQUESTED',
|
|
198
|
-
});
|
|
199
|
-
});
|
|
200
|
-
});
|
|
201
168
|
describe('setArchive', () => {
|
|
202
169
|
it('archives thread', async () => {
|
|
203
170
|
const threadRecord = {
|
|
@@ -676,11 +676,6 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
676
676
|
optional: false;
|
|
677
677
|
customType: number;
|
|
678
678
|
};
|
|
679
|
-
readonly status: {
|
|
680
|
-
type: "string";
|
|
681
|
-
optional: false;
|
|
682
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
683
|
-
};
|
|
684
679
|
readonly threadMessageId: {
|
|
685
680
|
type: "string";
|
|
686
681
|
optional: false;
|
|
@@ -904,7 +899,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
904
899
|
readonly threadMessage: {
|
|
905
900
|
attachments: [{
|
|
906
901
|
readonly sourceField: string[];
|
|
907
|
-
readonly destField: ("
|
|
902
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
908
903
|
readonly destSchema: "threadMessageAttachment";
|
|
909
904
|
readonly cardinality: "many";
|
|
910
905
|
}];
|
|
@@ -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"}
|
|
@@ -685,11 +685,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
685
685
|
optional: false;
|
|
686
686
|
customType: number;
|
|
687
687
|
};
|
|
688
|
-
readonly status: {
|
|
689
|
-
type: "string";
|
|
690
|
-
optional: false;
|
|
691
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
692
|
-
};
|
|
693
688
|
readonly threadMessageId: {
|
|
694
689
|
type: "string";
|
|
695
690
|
optional: false;
|
|
@@ -913,7 +908,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
913
908
|
readonly threadMessage: {
|
|
914
909
|
attachments: [{
|
|
915
910
|
readonly sourceField: string[];
|
|
916
|
-
readonly destField: ("
|
|
911
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
917
912
|
readonly destSchema: "threadMessageAttachment";
|
|
918
913
|
readonly cardinality: "many";
|
|
919
914
|
}];
|
|
@@ -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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BvB,CAAA"}
|
|
@@ -682,11 +682,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
682
682
|
optional: false;
|
|
683
683
|
customType: number;
|
|
684
684
|
};
|
|
685
|
-
readonly status: {
|
|
686
|
-
type: "string";
|
|
687
|
-
optional: false;
|
|
688
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
689
|
-
};
|
|
690
685
|
readonly threadMessageId: {
|
|
691
686
|
type: "string";
|
|
692
687
|
optional: false;
|
|
@@ -910,7 +905,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
910
905
|
readonly threadMessage: {
|
|
911
906
|
attachments: [{
|
|
912
907
|
readonly sourceField: string[];
|
|
913
|
-
readonly destField: ("
|
|
908
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
914
909
|
readonly destSchema: "threadMessageAttachment";
|
|
915
910
|
readonly cardinality: "many";
|
|
916
911
|
}];
|
|
@@ -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;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}
|
|
@@ -688,11 +688,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
688
688
|
optional: false;
|
|
689
689
|
customType: number;
|
|
690
690
|
};
|
|
691
|
-
readonly status: {
|
|
692
|
-
type: "string";
|
|
693
|
-
optional: false;
|
|
694
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
695
|
-
};
|
|
696
691
|
readonly threadMessageId: {
|
|
697
692
|
type: "string";
|
|
698
693
|
optional: false;
|
|
@@ -916,7 +911,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
916
911
|
readonly threadMessage: {
|
|
917
912
|
attachments: [{
|
|
918
913
|
readonly sourceField: string[];
|
|
919
|
-
readonly destField: ("
|
|
914
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
920
915
|
readonly destSchema: "threadMessageAttachment";
|
|
921
916
|
readonly cardinality: "many";
|
|
922
917
|
}];
|
|
@@ -995,7 +990,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
995
990
|
readonly id: string;
|
|
996
991
|
readonly mimeType: string;
|
|
997
992
|
readonly size: number;
|
|
998
|
-
readonly status: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
999
993
|
readonly threadMessageId: string;
|
|
1000
994
|
}[];
|
|
1001
995
|
})[];
|
|
@@ -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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDtB,CAAA"}
|
|
@@ -676,11 +676,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
676
676
|
optional: false;
|
|
677
677
|
customType: number;
|
|
678
678
|
};
|
|
679
|
-
readonly status: {
|
|
680
|
-
type: "string";
|
|
681
|
-
optional: false;
|
|
682
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
683
|
-
};
|
|
684
679
|
readonly threadMessageId: {
|
|
685
680
|
type: "string";
|
|
686
681
|
optional: false;
|
|
@@ -904,7 +899,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
904
899
|
readonly threadMessage: {
|
|
905
900
|
attachments: [{
|
|
906
901
|
readonly sourceField: string[];
|
|
907
|
-
readonly destField: ("
|
|
902
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
908
903
|
readonly destSchema: "threadMessageAttachment";
|
|
909
904
|
readonly cardinality: "many";
|
|
910
905
|
}];
|
|
@@ -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,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnB,CAAA"}
|
|
@@ -675,11 +675,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
675
675
|
optional: false;
|
|
676
676
|
customType: number;
|
|
677
677
|
};
|
|
678
|
-
readonly status: {
|
|
679
|
-
type: "string";
|
|
680
|
-
optional: false;
|
|
681
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
682
|
-
};
|
|
683
678
|
readonly threadMessageId: {
|
|
684
679
|
type: "string";
|
|
685
680
|
optional: false;
|
|
@@ -903,7 +898,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
903
898
|
readonly threadMessage: {
|
|
904
899
|
attachments: [{
|
|
905
900
|
readonly sourceField: string[];
|
|
906
|
-
readonly destField: ("
|
|
901
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
907
902
|
readonly destSchema: "threadMessageAttachment";
|
|
908
903
|
readonly cardinality: "many";
|
|
909
904
|
}];
|
|
@@ -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
|
@@ -675,11 +675,6 @@ export declare const schema: {
|
|
|
675
675
|
optional: false;
|
|
676
676
|
customType: number;
|
|
677
677
|
};
|
|
678
|
-
readonly status: {
|
|
679
|
-
type: "string";
|
|
680
|
-
optional: false;
|
|
681
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
682
|
-
};
|
|
683
678
|
readonly threadMessageId: {
|
|
684
679
|
type: "string";
|
|
685
680
|
optional: false;
|
|
@@ -903,7 +898,7 @@ export declare const schema: {
|
|
|
903
898
|
readonly threadMessage: {
|
|
904
899
|
attachments: [{
|
|
905
900
|
readonly sourceField: string[];
|
|
906
|
-
readonly destField: ("
|
|
901
|
+
readonly destField: ("id" | "fileName" | "mimeType" | "threadMessageId" | "size")[];
|
|
907
902
|
readonly destSchema: "threadMessageAttachment";
|
|
908
903
|
readonly cardinality: "many";
|
|
909
904
|
}];
|
|
@@ -1521,11 +1516,6 @@ export declare const zeroTables: {
|
|
|
1521
1516
|
optional: false;
|
|
1522
1517
|
customType: number;
|
|
1523
1518
|
};
|
|
1524
|
-
readonly status: {
|
|
1525
|
-
type: "string";
|
|
1526
|
-
optional: false;
|
|
1527
|
-
customType: "NOT_DOWNLOADED" | "DOWNLOAD_REQUESTED" | "DOWNLOADED" | "DOWNLOAD_FAILED";
|
|
1528
|
-
};
|
|
1529
1519
|
readonly threadMessageId: {
|
|
1530
1520
|
type: "string";
|
|
1531
1521
|
optional: false;
|
|
@@ -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":"AA6aA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCArVJ,MAAM;4BACX,MAAM,EAAE;4BACR,MAAM,EAAE;6BACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAA"}
|
package/dist/zero/schema.js
CHANGED
|
@@ -147,7 +147,6 @@ const threadMessageAttachment = table('threadMessageAttachment')
|
|
|
147
147
|
id: string(),
|
|
148
148
|
mimeType: string().from('mime_type'),
|
|
149
149
|
size: numeric(),
|
|
150
|
-
status: enumeration(),
|
|
151
150
|
threadMessageId: string().from('thread_message_id'),
|
|
152
151
|
})
|
|
153
152
|
.primaryKey('id');
|
package/package.json
CHANGED
|
@@ -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"}
|