@marcoappio/marco-config 2.0.453 → 2.0.455
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/sdk/endpoints/createEndpointConfig.d.ts +2 -1
- package/dist/sdk/endpoints/createEndpointConfig.d.ts.map +1 -1
- package/dist/sdk/endpoints/createEndpointConfig.js +1 -0
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.js +1 -0
- package/dist/types/Endpoint.d.ts +2 -0
- package/dist/types/Endpoint.d.ts.map +1 -1
- package/dist/zero/index.d.ts +6 -44
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/mutatorSchemas/draft.d.ts +0 -2
- package/dist/zero/mutatorSchemas/draft.d.ts.map +1 -1
- package/dist/zero/mutatorSchemas/draft.js +0 -1
- package/dist/zero/mutatorSchemas/index.d.ts +0 -2
- package/dist/zero/mutatorSchemas/index.d.ts.map +1 -1
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
- package/dist/zero/mutators/draftMutators/draftMutators.js +0 -2
- package/dist/zero/mutators/draftMutators/draftMutators.test.js +0 -2
- 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 -7
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.d.ts +1 -6
- 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
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { GenericSchema } from 'valibot';
|
|
2
|
-
import type { EndpointConfig, HTTPMethod, SDKResponse, URLPattern } from '../../types/Endpoint';
|
|
2
|
+
import type { BodyType, EndpointConfig, HTTPMethod, SDKResponse, URLPattern } from '../../types/Endpoint';
|
|
3
3
|
export declare const createURLPattern: <T extends string>(pattern: T) => (params: URLPattern<T>) => string;
|
|
4
4
|
export declare const createEndpoint: <TPath extends string, TRequestBody extends GenericSchema | undefined, TRequestQuery extends GenericSchema | undefined, TResponse extends GenericSchema<SDKResponse>>(params: {
|
|
5
5
|
body?: TRequestBody;
|
|
6
|
+
bodyType?: BodyType;
|
|
6
7
|
method: HTTPMethod;
|
|
7
8
|
path: TPath;
|
|
8
9
|
query?: TRequestQuery;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEndpointConfig.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/createEndpointConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"createEndpointConfig.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/createEndpointConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAEjH,eAAO,MAAM,gBAAgB,GAC1B,CAAC,SAAS,MAAM,WAAW,CAAC,cACpB,UAAU,CAAC,CAAC,CAAC,KAAG,MAWxB,CAAA;AAEH,eAAO,MAAM,cAAc,GACzB,KAAK,SAAS,MAAM,EACpB,YAAY,SAAS,aAAa,GAAG,SAAS,EAC9C,aAAa,SAAS,aAAa,GAAG,SAAS,EAC/C,SAAS,SAAS,aAAa,CAAC,WAAW,CAAC,UACpC;IACR,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAA;IACnB,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;CACpB,KAAG,cAAc,CAAC,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,CAQ9D,CAAA"}
|
|
@@ -12,6 +12,7 @@ export const createURLPattern = (pattern) => (params) => {
|
|
|
12
12
|
};
|
|
13
13
|
export const createEndpoint = (params) => ({
|
|
14
14
|
body: params.body,
|
|
15
|
+
bodyType: params.bodyType ?? 'json',
|
|
15
16
|
buildPath: createURLPattern(params.path),
|
|
16
17
|
method: params.method,
|
|
17
18
|
path: params.path,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploadDraftAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"uploadDraftAttachment.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/draftAttachment/uploadDraftAttachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAU5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAchC,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { createEndpoint } from '../../../../sdk/endpoints/createEndpointConfig';
|
|
|
3
3
|
import { attachmentNotFoundErrorSchema, attachmentStateInvalidErrorSchema, authFailedErrorSchema, validationFailedErrorSchema, } from '../../../../sdk/validation/errors';
|
|
4
4
|
export const uploadDraftAttachment = createEndpoint({
|
|
5
5
|
body: v.blob(),
|
|
6
|
+
bodyType: 'blob',
|
|
6
7
|
method: 'POST',
|
|
7
8
|
path: '/v1/pv/drafts/:attachmentId/upload',
|
|
8
9
|
response: v.union([
|
package/dist/types/Endpoint.d.ts
CHANGED
|
@@ -11,8 +11,10 @@ export type SDKResponse = {
|
|
|
11
11
|
data?: any;
|
|
12
12
|
status: HTTPSuccessStatusCode;
|
|
13
13
|
} | SDKError;
|
|
14
|
+
export type BodyType = 'blob' | 'json';
|
|
14
15
|
export type EndpointConfig<TPath extends string, TRequestBody extends GenericSchema | undefined, TRequestQuery extends GenericSchema | undefined, TResponse extends GenericSchema<SDKResponse>> = {
|
|
15
16
|
body: TRequestBody;
|
|
17
|
+
bodyType: BodyType;
|
|
16
18
|
buildPath: (params: URLPattern<TPath>) => string;
|
|
17
19
|
method: HTTPMethod;
|
|
18
20
|
path: TPath;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Endpoint.d.ts","sourceRoot":"","sources":["../../src/types/Endpoint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE5C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAA;AAE5D,KAAK,KAAK,CAAC,CAAC,SAAS,MAAM,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,IAAI,MAAM,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;AAEzF,KAAK,SAAS,CAAC,QAAQ,SAAS,SAAS,MAAM,EAAE,IAAI;KAClD,GAAG,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,GAAG,SAAS,IAAI,MAAM,KAAK,EAAE,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM;CACnF,C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AK,CAAC,KAAK,MAAM,CAAA;IAChD,MAAM,EAAE,UAAU,CAAA;IAClB,IAAI,EAAE,KAAK,CAAA;IACX,KAAK,EAAE,aAAa,CAAA;IACpB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA"}
|
package/dist/zero/index.d.ts
CHANGED
|
@@ -89,7 +89,6 @@ export declare const marcoZero: {
|
|
|
89
89
|
readonly createAttachment: {
|
|
90
90
|
readonly delta: import("valibot").ObjectSchema<{
|
|
91
91
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
92
|
-
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
93
92
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
94
93
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
95
94
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -104,7 +103,6 @@ export declare const marcoZero: {
|
|
|
104
103
|
readonly delta: import("valibot").ObjectSchema<{
|
|
105
104
|
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
106
105
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
107
|
-
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
108
106
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
109
107
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
110
108
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -751,11 +749,6 @@ export declare const marcoZero: {
|
|
|
751
749
|
} & {
|
|
752
750
|
serverName: string;
|
|
753
751
|
};
|
|
754
|
-
readonly failed: {
|
|
755
|
-
type: "boolean";
|
|
756
|
-
optional: false;
|
|
757
|
-
customType: boolean;
|
|
758
|
-
};
|
|
759
752
|
readonly fileName: {
|
|
760
753
|
type: "string";
|
|
761
754
|
optional: false;
|
|
@@ -1171,7 +1164,7 @@ export declare const marcoZero: {
|
|
|
1171
1164
|
}];
|
|
1172
1165
|
attachments: [{
|
|
1173
1166
|
readonly sourceField: string[];
|
|
1174
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
1167
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
1175
1168
|
readonly destSchema: "draftAttachment";
|
|
1176
1169
|
readonly cardinality: "many";
|
|
1177
1170
|
}];
|
|
@@ -1750,11 +1743,6 @@ export declare const marcoZero: {
|
|
|
1750
1743
|
} & {
|
|
1751
1744
|
serverName: string;
|
|
1752
1745
|
};
|
|
1753
|
-
readonly failed: {
|
|
1754
|
-
type: "boolean";
|
|
1755
|
-
optional: false;
|
|
1756
|
-
customType: boolean;
|
|
1757
|
-
};
|
|
1758
1746
|
readonly fileName: {
|
|
1759
1747
|
type: "string";
|
|
1760
1748
|
optional: false;
|
|
@@ -2170,7 +2158,7 @@ export declare const marcoZero: {
|
|
|
2170
2158
|
}];
|
|
2171
2159
|
attachments: [{
|
|
2172
2160
|
readonly sourceField: string[];
|
|
2173
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
2161
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
2174
2162
|
readonly destSchema: "draftAttachment";
|
|
2175
2163
|
readonly cardinality: "many";
|
|
2176
2164
|
}];
|
|
@@ -2717,11 +2705,6 @@ export declare const marcoZero: {
|
|
|
2717
2705
|
} & {
|
|
2718
2706
|
serverName: string;
|
|
2719
2707
|
};
|
|
2720
|
-
readonly failed: {
|
|
2721
|
-
type: "boolean";
|
|
2722
|
-
optional: false;
|
|
2723
|
-
customType: boolean;
|
|
2724
|
-
};
|
|
2725
2708
|
readonly fileName: {
|
|
2726
2709
|
type: "string";
|
|
2727
2710
|
optional: false;
|
|
@@ -3137,7 +3120,7 @@ export declare const marcoZero: {
|
|
|
3137
3120
|
}];
|
|
3138
3121
|
attachments: [{
|
|
3139
3122
|
readonly sourceField: string[];
|
|
3140
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
3123
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
3141
3124
|
readonly destSchema: "draftAttachment";
|
|
3142
3125
|
readonly cardinality: "many";
|
|
3143
3126
|
}];
|
|
@@ -3301,7 +3284,6 @@ export declare const marcoZero: {
|
|
|
3301
3284
|
} & {
|
|
3302
3285
|
readonly attachments: readonly {
|
|
3303
3286
|
readonly draftId: string;
|
|
3304
|
-
readonly failed: boolean;
|
|
3305
3287
|
readonly fileName: string;
|
|
3306
3288
|
readonly id: string;
|
|
3307
3289
|
readonly mimeType: string;
|
|
@@ -3723,11 +3705,6 @@ export declare const marcoZero: {
|
|
|
3723
3705
|
} & {
|
|
3724
3706
|
serverName: string;
|
|
3725
3707
|
};
|
|
3726
|
-
readonly failed: {
|
|
3727
|
-
type: "boolean";
|
|
3728
|
-
optional: false;
|
|
3729
|
-
customType: boolean;
|
|
3730
|
-
};
|
|
3731
3708
|
readonly fileName: {
|
|
3732
3709
|
type: "string";
|
|
3733
3710
|
optional: false;
|
|
@@ -4143,7 +4120,7 @@ export declare const marcoZero: {
|
|
|
4143
4120
|
}];
|
|
4144
4121
|
attachments: [{
|
|
4145
4122
|
readonly sourceField: string[];
|
|
4146
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
4123
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
4147
4124
|
readonly destSchema: "draftAttachment";
|
|
4148
4125
|
readonly cardinality: "many";
|
|
4149
4126
|
}];
|
|
@@ -4725,11 +4702,6 @@ export declare const marcoZero: {
|
|
|
4725
4702
|
} & {
|
|
4726
4703
|
serverName: string;
|
|
4727
4704
|
};
|
|
4728
|
-
readonly failed: {
|
|
4729
|
-
type: "boolean";
|
|
4730
|
-
optional: false;
|
|
4731
|
-
customType: boolean;
|
|
4732
|
-
};
|
|
4733
4705
|
readonly fileName: {
|
|
4734
4706
|
type: "string";
|
|
4735
4707
|
optional: false;
|
|
@@ -5145,7 +5117,7 @@ export declare const marcoZero: {
|
|
|
5145
5117
|
}];
|
|
5146
5118
|
attachments: [{
|
|
5147
5119
|
readonly sourceField: string[];
|
|
5148
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
5120
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
5149
5121
|
readonly destSchema: "draftAttachment";
|
|
5150
5122
|
readonly cardinality: "many";
|
|
5151
5123
|
}];
|
|
@@ -5731,11 +5703,6 @@ export declare const marcoZero: {
|
|
|
5731
5703
|
} & {
|
|
5732
5704
|
serverName: string;
|
|
5733
5705
|
};
|
|
5734
|
-
readonly failed: {
|
|
5735
|
-
type: "boolean";
|
|
5736
|
-
optional: false;
|
|
5737
|
-
customType: boolean;
|
|
5738
|
-
};
|
|
5739
5706
|
readonly fileName: {
|
|
5740
5707
|
type: "string";
|
|
5741
5708
|
optional: false;
|
|
@@ -6151,7 +6118,7 @@ export declare const marcoZero: {
|
|
|
6151
6118
|
}];
|
|
6152
6119
|
attachments: [{
|
|
6153
6120
|
readonly sourceField: string[];
|
|
6154
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
6121
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
6155
6122
|
readonly destSchema: "draftAttachment";
|
|
6156
6123
|
readonly cardinality: "many";
|
|
6157
6124
|
}];
|
|
@@ -6588,11 +6555,6 @@ export declare const marcoZero: {
|
|
|
6588
6555
|
} & {
|
|
6589
6556
|
serverName: string;
|
|
6590
6557
|
};
|
|
6591
|
-
readonly failed: {
|
|
6592
|
-
type: "boolean";
|
|
6593
|
-
optional: false;
|
|
6594
|
-
customType: boolean;
|
|
6595
|
-
};
|
|
6596
6558
|
readonly fileName: {
|
|
6597
6559
|
type: "string";
|
|
6598
6560
|
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"}
|
|
@@ -9,7 +9,6 @@ export declare const draftMutatorSchemas: {
|
|
|
9
9
|
readonly createAttachment: {
|
|
10
10
|
readonly delta: v.ObjectSchema<{
|
|
11
11
|
readonly attachment: v.ObjectSchema<{
|
|
12
|
-
readonly failed: v.BooleanSchema<undefined>;
|
|
13
12
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
13
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
15
14
|
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -24,7 +23,6 @@ export declare const draftMutatorSchemas: {
|
|
|
24
23
|
readonly delta: v.ObjectSchema<{
|
|
25
24
|
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
25
|
readonly attachments: v.ArraySchema<v.ObjectSchema<{
|
|
27
|
-
readonly failed: v.BooleanSchema<undefined>;
|
|
28
26
|
readonly fileName: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
29
27
|
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
30
28
|
readonly mimeType: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsD5B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwDtB,CAAA"}
|
|
@@ -11,7 +11,6 @@ const draftBodySchema = v.object({
|
|
|
11
11
|
to: v.array(marcoSchemas.string.email()),
|
|
12
12
|
});
|
|
13
13
|
const draftAttachmentSchema = v.object({
|
|
14
|
-
failed: v.boolean(),
|
|
15
14
|
fileName: marcoSchemas.string.required(),
|
|
16
15
|
id: marcoSchemas.string.required(),
|
|
17
16
|
mimeType: marcoSchemas.string.required(),
|
|
@@ -87,7 +87,6 @@ export declare const zeroMutatorSchemas: {
|
|
|
87
87
|
readonly createAttachment: {
|
|
88
88
|
readonly delta: import("valibot").ObjectSchema<{
|
|
89
89
|
readonly attachment: import("valibot").ObjectSchema<{
|
|
90
|
-
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
91
90
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
92
91
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
93
92
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -102,7 +101,6 @@ export declare const zeroMutatorSchemas: {
|
|
|
102
101
|
readonly delta: import("valibot").ObjectSchema<{
|
|
103
102
|
readonly accountId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
104
103
|
readonly attachments: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
105
|
-
readonly failed: import("valibot").BooleanSchema<undefined>;
|
|
106
104
|
readonly fileName: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
107
105
|
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
108
106
|
readonly mimeType: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
@@ -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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draftMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/draftMutators/draftMutators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAA;AAEnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAE3E,MAAM,MAAM,qBAAqB,GAAG;KACjC,CAAC,IAAI,MAAM,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CACzC,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,KACzD,OAAO,CAAC,IAAI,CAAC;CACnB,CAAA;AAED,eAAO,MAAM,mBAAmB,aACpB,QAAQ,GAAG,SAAS,cAClB,qBAAqB,KAChC,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"draftMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/draftMutators/draftMutators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAA;AAEnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAE3E,MAAM,MAAM,qBAAqB,GAAG;KACjC,CAAC,IAAI,MAAM,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CACzC,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,KACzD,OAAO,CAAC,IAAI,CAAC;CACnB,CAAA;AAED,eAAO,MAAM,mBAAmB,aACpB,QAAQ,GAAG,SAAS,cAClB,qBAAqB,KAChC,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAiKvC,CAAA"}
|
|
@@ -13,7 +13,6 @@ export const createDraftMutators = (authData, callbacks) => ({
|
|
|
13
13
|
createAttachment: async (tx, args) => {
|
|
14
14
|
await tx.mutate.draftAttachment.insert({
|
|
15
15
|
draftId: args.id,
|
|
16
|
-
failed: args.attachment.failed,
|
|
17
16
|
fileName: args.attachment.fileName,
|
|
18
17
|
id: args.attachment.id,
|
|
19
18
|
mimeType: args.attachment.mimeType,
|
|
@@ -54,7 +53,6 @@ export const createDraftMutators = (authData, callbacks) => ({
|
|
|
54
53
|
for (const attachment of args.attachments) {
|
|
55
54
|
await tx.mutate.draftAttachment.insert({
|
|
56
55
|
draftId: args.id,
|
|
57
|
-
failed: attachment.failed,
|
|
58
56
|
fileName: attachment.fileName,
|
|
59
57
|
id: attachment.id,
|
|
60
58
|
mimeType: attachment.mimeType,
|
|
@@ -123,7 +123,6 @@ describe('draftMutators', () => {
|
|
|
123
123
|
const mutators = createMutators();
|
|
124
124
|
await mutators.draft.createAttachment(transaction, {
|
|
125
125
|
attachment: {
|
|
126
|
-
failed: false,
|
|
127
126
|
fileName: 'test-document.pdf',
|
|
128
127
|
id: 'test-attachment-id-1',
|
|
129
128
|
mimeType: 'application/pdf',
|
|
@@ -135,7 +134,6 @@ describe('draftMutators', () => {
|
|
|
135
134
|
});
|
|
136
135
|
expect(draftAttachmentInsert).toHaveBeenCalledWith({
|
|
137
136
|
draftId: 'test-draft-id-1',
|
|
138
|
-
failed: false,
|
|
139
137
|
fileName: 'test-document.pdf',
|
|
140
138
|
id: 'test-attachment-id-1',
|
|
141
139
|
mimeType: 'application/pdf',
|
|
@@ -402,11 +402,6 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
402
402
|
} & {
|
|
403
403
|
serverName: string;
|
|
404
404
|
};
|
|
405
|
-
readonly failed: {
|
|
406
|
-
type: "boolean";
|
|
407
|
-
optional: false;
|
|
408
|
-
customType: boolean;
|
|
409
|
-
};
|
|
410
405
|
readonly fileName: {
|
|
411
406
|
type: "string";
|
|
412
407
|
optional: false;
|
|
@@ -822,7 +817,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
822
817
|
}];
|
|
823
818
|
attachments: [{
|
|
824
819
|
readonly sourceField: string[];
|
|
825
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
820
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
826
821
|
readonly destSchema: "draftAttachment";
|
|
827
822
|
readonly cardinality: "many";
|
|
828
823
|
}];
|
|
@@ -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"}
|
|
@@ -411,11 +411,6 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
411
411
|
} & {
|
|
412
412
|
serverName: string;
|
|
413
413
|
};
|
|
414
|
-
readonly failed: {
|
|
415
|
-
type: "boolean";
|
|
416
|
-
optional: false;
|
|
417
|
-
customType: boolean;
|
|
418
|
-
};
|
|
419
414
|
readonly fileName: {
|
|
420
415
|
type: "string";
|
|
421
416
|
optional: false;
|
|
@@ -831,7 +826,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
831
826
|
}];
|
|
832
827
|
attachments: [{
|
|
833
828
|
readonly sourceField: string[];
|
|
834
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
829
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
835
830
|
readonly destSchema: "draftAttachment";
|
|
836
831
|
readonly cardinality: "many";
|
|
837
832
|
}];
|
|
@@ -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"}
|
|
@@ -408,11 +408,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
408
408
|
} & {
|
|
409
409
|
serverName: string;
|
|
410
410
|
};
|
|
411
|
-
readonly failed: {
|
|
412
|
-
type: "boolean";
|
|
413
|
-
optional: false;
|
|
414
|
-
customType: boolean;
|
|
415
|
-
};
|
|
416
411
|
readonly fileName: {
|
|
417
412
|
type: "string";
|
|
418
413
|
optional: false;
|
|
@@ -828,7 +823,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
828
823
|
}];
|
|
829
824
|
attachments: [{
|
|
830
825
|
readonly sourceField: string[];
|
|
831
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
826
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
832
827
|
readonly destSchema: "draftAttachment";
|
|
833
828
|
readonly cardinality: "many";
|
|
834
829
|
}];
|
|
@@ -992,7 +987,6 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
992
987
|
} & {
|
|
993
988
|
readonly attachments: readonly {
|
|
994
989
|
readonly draftId: string;
|
|
995
|
-
readonly failed: boolean;
|
|
996
990
|
readonly fileName: string;
|
|
997
991
|
readonly id: string;
|
|
998
992
|
readonly mimeType: 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,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoBrB,CAAA"}
|
|
@@ -414,11 +414,6 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
414
414
|
} & {
|
|
415
415
|
serverName: string;
|
|
416
416
|
};
|
|
417
|
-
readonly failed: {
|
|
418
|
-
type: "boolean";
|
|
419
|
-
optional: false;
|
|
420
|
-
customType: boolean;
|
|
421
|
-
};
|
|
422
417
|
readonly fileName: {
|
|
423
418
|
type: "string";
|
|
424
419
|
optional: false;
|
|
@@ -834,7 +829,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
834
829
|
}];
|
|
835
830
|
attachments: [{
|
|
836
831
|
readonly sourceField: string[];
|
|
837
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
832
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
838
833
|
readonly destSchema: "draftAttachment";
|
|
839
834
|
readonly cardinality: "many";
|
|
840
835
|
}];
|
|
@@ -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
|
+
{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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDtB,CAAA"}
|
|
@@ -402,11 +402,6 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
402
402
|
} & {
|
|
403
403
|
serverName: string;
|
|
404
404
|
};
|
|
405
|
-
readonly failed: {
|
|
406
|
-
type: "boolean";
|
|
407
|
-
optional: false;
|
|
408
|
-
customType: boolean;
|
|
409
|
-
};
|
|
410
405
|
readonly fileName: {
|
|
411
406
|
type: "string";
|
|
412
407
|
optional: false;
|
|
@@ -822,7 +817,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
822
817
|
}];
|
|
823
818
|
attachments: [{
|
|
824
819
|
readonly sourceField: string[];
|
|
825
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
820
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
826
821
|
readonly destSchema: "draftAttachment";
|
|
827
822
|
readonly cardinality: "many";
|
|
828
823
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnB,CAAA"}
|
|
@@ -401,11 +401,6 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
401
401
|
} & {
|
|
402
402
|
serverName: string;
|
|
403
403
|
};
|
|
404
|
-
readonly failed: {
|
|
405
|
-
type: "boolean";
|
|
406
|
-
optional: false;
|
|
407
|
-
customType: boolean;
|
|
408
|
-
};
|
|
409
404
|
readonly fileName: {
|
|
410
405
|
type: "string";
|
|
411
406
|
optional: false;
|
|
@@ -821,7 +816,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
821
816
|
}];
|
|
822
817
|
attachments: [{
|
|
823
818
|
readonly sourceField: string[];
|
|
824
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
819
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
825
820
|
readonly destSchema: "draftAttachment";
|
|
826
821
|
readonly cardinality: "many";
|
|
827
822
|
}];
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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 -401,11 +401,6 @@ export declare const schema: {
|
|
|
401
401
|
} & {
|
|
402
402
|
serverName: string;
|
|
403
403
|
};
|
|
404
|
-
readonly failed: {
|
|
405
|
-
type: "boolean";
|
|
406
|
-
optional: false;
|
|
407
|
-
customType: boolean;
|
|
408
|
-
};
|
|
409
404
|
readonly fileName: {
|
|
410
405
|
type: "string";
|
|
411
406
|
optional: false;
|
|
@@ -821,7 +816,7 @@ export declare const schema: {
|
|
|
821
816
|
}];
|
|
822
817
|
attachments: [{
|
|
823
818
|
readonly sourceField: string[];
|
|
824
|
-
readonly destField: ("status" | "id" | "draftId" | "
|
|
819
|
+
readonly destField: ("status" | "id" | "draftId" | "fileName" | "mimeType" | "totalSize")[];
|
|
825
820
|
readonly destSchema: "draftAttachment";
|
|
826
821
|
readonly cardinality: "many";
|
|
827
822
|
}];
|
|
@@ -1259,11 +1254,6 @@ export declare const zeroTables: {
|
|
|
1259
1254
|
} & {
|
|
1260
1255
|
serverName: string;
|
|
1261
1256
|
};
|
|
1262
|
-
readonly failed: {
|
|
1263
|
-
type: "boolean";
|
|
1264
|
-
optional: false;
|
|
1265
|
-
customType: boolean;
|
|
1266
|
-
};
|
|
1267
1257
|
readonly fileName: {
|
|
1268
1258
|
type: "string";
|
|
1269
1259
|
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":"AA+aA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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