@marcoappio/marco-config 2.0.371 → 2.0.373
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/index.d.ts +6 -4
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +6 -4
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +6 -4
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +5 -3
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.js +3 -2
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +6 -4
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +1 -1
- package/dist/sdk/index.d.ts +6 -4
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -115,10 +115,11 @@ export declare const endpoints: {
|
|
|
115
115
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
116
116
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
117
117
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
118
|
-
readonly
|
|
118
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
119
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
119
120
|
}, undefined>, undefined>;
|
|
120
121
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
121
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
122
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
122
123
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
123
124
|
readonly data: import("valibot").ObjectSchema<{
|
|
124
125
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -139,7 +140,8 @@ export declare const endpoints: {
|
|
|
139
140
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
140
141
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
141
142
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
142
|
-
readonly
|
|
143
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
144
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
143
145
|
}, undefined>;
|
|
144
146
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
145
147
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -240,7 +242,7 @@ export declare const endpoints: {
|
|
|
240
242
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
241
243
|
}, undefined>, undefined>;
|
|
242
244
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
243
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
245
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
244
246
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
245
247
|
readonly data: import("valibot").ObjectSchema<{
|
|
246
248
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -112,10 +112,11 @@ export declare const privateGroup: {
|
|
|
112
112
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
113
113
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
114
114
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
115
|
-
readonly
|
|
115
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
116
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
116
117
|
}, undefined>, undefined>;
|
|
117
118
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
118
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
119
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
119
120
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
120
121
|
readonly data: import("valibot").ObjectSchema<{
|
|
121
122
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -136,7 +137,8 @@ export declare const privateGroup: {
|
|
|
136
137
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
137
138
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
138
139
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
139
|
-
readonly
|
|
140
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
141
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
140
142
|
}, undefined>;
|
|
141
143
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
142
144
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -237,7 +239,7 @@ export declare const privateGroup: {
|
|
|
237
239
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
238
240
|
}, undefined>, undefined>;
|
|
239
241
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
240
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
242
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
241
243
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
242
244
|
readonly data: import("valibot").ObjectSchema<{
|
|
243
245
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sdk/endpoints/private/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIxB,CAAA"}
|
|
@@ -74,10 +74,11 @@ export declare const sync: {
|
|
|
74
74
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
75
75
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
76
76
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
77
|
-
readonly
|
|
77
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
78
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
78
79
|
}, undefined>, undefined>;
|
|
79
80
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
80
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
81
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
81
82
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
82
83
|
readonly data: import("valibot").ObjectSchema<{
|
|
83
84
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -98,7 +99,8 @@ export declare const sync: {
|
|
|
98
99
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
99
100
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
100
101
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
101
|
-
readonly
|
|
102
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
103
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
102
104
|
}, undefined>;
|
|
103
105
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
104
106
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -199,7 +201,7 @@ export declare const sync: {
|
|
|
199
201
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
200
202
|
}, undefined>, undefined>;
|
|
201
203
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
202
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
204
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
203
205
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
204
206
|
readonly data: import("valibot").ObjectSchema<{
|
|
205
207
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/sdk/endpoints/private/sync/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiB,CAAA"}
|
|
@@ -4,10 +4,11 @@ export declare const syncPullContact: import("../../../../..").EndpointConfig<"/
|
|
|
4
4
|
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
5
|
readonly id: v.StringSchema<undefined>;
|
|
6
6
|
readonly order: v.StringSchema<undefined>;
|
|
7
|
-
readonly
|
|
7
|
+
readonly versionMax: v.NumberSchema<undefined>;
|
|
8
|
+
readonly versionMin: v.NumberSchema<undefined>;
|
|
8
9
|
}, undefined>, undefined>;
|
|
9
10
|
}, undefined>, v.ObjectSchema<{
|
|
10
|
-
readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.
|
|
11
|
+
readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.TransformAction<any, number>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
11
12
|
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
12
13
|
readonly data: v.ObjectSchema<{
|
|
13
14
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -28,7 +29,8 @@ export declare const syncPullContact: import("../../../../..").EndpointConfig<"/
|
|
|
28
29
|
readonly cookie: v.ObjectSchema<{
|
|
29
30
|
readonly id: v.StringSchema<undefined>;
|
|
30
31
|
readonly order: v.StringSchema<undefined>;
|
|
31
|
-
readonly
|
|
32
|
+
readonly versionMax: v.NumberSchema<undefined>;
|
|
33
|
+
readonly versionMin: v.NumberSchema<undefined>;
|
|
32
34
|
}, undefined>;
|
|
33
35
|
readonly hasMore: v.BooleanSchema<undefined>;
|
|
34
36
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"contact.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/contact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA+B1B,CAAA"}
|
|
@@ -6,7 +6,8 @@ import { errors } from '../../../../../sdk/validation/errors';
|
|
|
6
6
|
const cookieSchema = v.object({
|
|
7
7
|
id: v.string(),
|
|
8
8
|
order: v.string(),
|
|
9
|
-
|
|
9
|
+
versionMax: v.number(),
|
|
10
|
+
versionMin: v.number(),
|
|
10
11
|
});
|
|
11
12
|
export const syncPullContact = createEndpoint({
|
|
12
13
|
body: v.object({
|
|
@@ -16,7 +17,7 @@ export const syncPullContact = createEndpoint({
|
|
|
16
17
|
method: 'POST',
|
|
17
18
|
path: contact.pullUrl,
|
|
18
19
|
query: v.object({
|
|
19
|
-
pageSize: v.optional(v.pipe(v.
|
|
20
|
+
pageSize: v.optional(v.pipe(v.string(), v.transform(Number), v.integer(), v.minValue(1))),
|
|
20
21
|
}),
|
|
21
22
|
response: v.union([
|
|
22
23
|
errors.validationFailedErrorSchema,
|
|
@@ -73,10 +73,11 @@ export declare const pull: {
|
|
|
73
73
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
74
74
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
75
75
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
76
|
-
readonly
|
|
76
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
77
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
77
78
|
}, undefined>, undefined>;
|
|
78
79
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
79
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
80
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
80
81
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
81
82
|
readonly data: import("valibot").ObjectSchema<{
|
|
82
83
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -97,7 +98,8 @@ export declare const pull: {
|
|
|
97
98
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
98
99
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
99
100
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
100
|
-
readonly
|
|
101
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
102
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
101
103
|
}, undefined>;
|
|
102
104
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
103
105
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -198,7 +200,7 @@ export declare const pull: {
|
|
|
198
200
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
199
201
|
}, undefined>, undefined>;
|
|
200
202
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
201
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
203
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
202
204
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
203
205
|
readonly data: import("valibot").ObjectSchema<{
|
|
204
206
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA4C,CAAA"}
|
|
@@ -9,7 +9,7 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
9
9
|
readonly versionMin: v.NumberSchema<undefined>;
|
|
10
10
|
}, undefined>, undefined>;
|
|
11
11
|
}, undefined>, v.ObjectSchema<{
|
|
12
|
-
readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.
|
|
12
|
+
readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.TransformAction<any, number>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
13
13
|
}, undefined>, v.UnionSchema<[v.ObjectSchema<{
|
|
14
14
|
readonly data: v.ObjectSchema<{
|
|
15
15
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -18,7 +18,7 @@ export const syncPullThread = createEndpoint({
|
|
|
18
18
|
method: 'POST',
|
|
19
19
|
path: thread.pullUrl,
|
|
20
20
|
query: v.object({
|
|
21
|
-
pageSize: v.optional(v.pipe(v.
|
|
21
|
+
pageSize: v.optional(v.pipe(v.string(), v.transform(Number), v.integer(), v.minValue(1))),
|
|
22
22
|
}),
|
|
23
23
|
response: v.union([
|
|
24
24
|
errors.validationFailedErrorSchema,
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -114,10 +114,11 @@ export declare const marcoSDK: {
|
|
|
114
114
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
115
115
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
116
116
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
117
|
-
readonly
|
|
117
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
118
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
118
119
|
}, undefined>, undefined>;
|
|
119
120
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
120
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
121
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
121
122
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
122
123
|
readonly data: import("valibot").ObjectSchema<{
|
|
123
124
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -138,7 +139,8 @@ export declare const marcoSDK: {
|
|
|
138
139
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
139
140
|
readonly id: import("valibot").StringSchema<undefined>;
|
|
140
141
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
141
|
-
readonly
|
|
142
|
+
readonly versionMax: import("valibot").NumberSchema<undefined>;
|
|
143
|
+
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
142
144
|
}, undefined>;
|
|
143
145
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
144
146
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
@@ -239,7 +241,7 @@ export declare const marcoSDK: {
|
|
|
239
241
|
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
240
242
|
}, undefined>, undefined>;
|
|
241
243
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
242
|
-
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").
|
|
244
|
+
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").TransformAction<any, number>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
243
245
|
}, undefined>, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
244
246
|
readonly data: import("valibot").ObjectSchema<{
|
|
245
247
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
package/dist/sdk/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/sdk/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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