@marcoappio/marco-config 2.0.388 → 2.0.390
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 +29 -14
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +29 -14
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +29 -14
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +2 -0
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.js +1 -0
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +29 -14
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +27 -14
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +12 -7
- package/dist/sdk/index.d.ts +29 -14
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -169,6 +169,7 @@ export declare const endpoints: {
|
|
|
169
169
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
170
170
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
171
171
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
172
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
172
173
|
}, undefined>, undefined>;
|
|
173
174
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
174
175
|
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
@@ -192,6 +193,7 @@ export declare const endpoints: {
|
|
|
192
193
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
193
194
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
194
195
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
196
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
195
197
|
}, undefined>;
|
|
196
198
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
197
199
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
@@ -238,13 +240,19 @@ export declare const endpoints: {
|
|
|
238
240
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
239
241
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
240
242
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
241
|
-
readonly
|
|
242
|
-
readonly
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
readonly
|
|
247
|
-
|
|
243
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
244
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
245
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
246
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
247
|
+
}, undefined>;
|
|
248
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
249
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
250
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
251
|
+
}, undefined>;
|
|
252
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
253
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
254
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
255
|
+
}, undefined>;
|
|
248
256
|
}, undefined>, undefined>;
|
|
249
257
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
250
258
|
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>;
|
|
@@ -267,14 +275,21 @@ export declare const endpoints: {
|
|
|
267
275
|
readonly data: import("valibot").ObjectSchema<{
|
|
268
276
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
269
277
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
270
|
-
readonly
|
|
271
|
-
readonly
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
readonly
|
|
276
|
-
|
|
278
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
279
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
280
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
281
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
282
|
+
}, undefined>;
|
|
283
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
284
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
285
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
288
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
289
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
290
|
+
}, undefined>;
|
|
277
291
|
}, undefined>;
|
|
292
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
278
293
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
279
294
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
280
295
|
readonly op: import("valibot").LiteralSchema<"clear", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sdk/endpoints/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAEvC,OAAO,EAAE,cAAc,EAAe,MAAM,qBAAqB,CAAA;AAcjE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -166,6 +166,7 @@ export declare const privateGroup: {
|
|
|
166
166
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
167
167
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
168
168
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
169
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
169
170
|
}, undefined>, undefined>;
|
|
170
171
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
171
172
|
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
@@ -189,6 +190,7 @@ export declare const privateGroup: {
|
|
|
189
190
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
190
191
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
191
192
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
193
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
192
194
|
}, undefined>;
|
|
193
195
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
194
196
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
@@ -235,13 +237,19 @@ export declare const privateGroup: {
|
|
|
235
237
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
236
238
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
237
239
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
238
|
-
readonly
|
|
239
|
-
readonly
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
readonly
|
|
244
|
-
|
|
240
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
241
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
242
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
243
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
244
|
+
}, undefined>;
|
|
245
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
246
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
247
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
248
|
+
}, undefined>;
|
|
249
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
250
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
251
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
252
|
+
}, undefined>;
|
|
245
253
|
}, undefined>, undefined>;
|
|
246
254
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
247
255
|
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>;
|
|
@@ -264,14 +272,21 @@ export declare const privateGroup: {
|
|
|
264
272
|
readonly data: import("valibot").ObjectSchema<{
|
|
265
273
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
266
274
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
267
|
-
readonly
|
|
268
|
-
readonly
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
readonly
|
|
273
|
-
|
|
275
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
276
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
277
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
278
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
279
|
+
}, undefined>;
|
|
280
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
281
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
282
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
283
|
+
}, undefined>;
|
|
284
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
285
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
286
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
287
|
+
}, undefined>;
|
|
274
288
|
}, undefined>;
|
|
289
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
275
290
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
276
291
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
277
292
|
readonly op: import("valibot").LiteralSchema<"clear", 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"}
|
|
@@ -128,6 +128,7 @@ export declare const sync: {
|
|
|
128
128
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
129
129
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
130
130
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
131
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
131
132
|
}, undefined>, undefined>;
|
|
132
133
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
133
134
|
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
@@ -151,6 +152,7 @@ export declare const sync: {
|
|
|
151
152
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
152
153
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
153
154
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
155
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
154
156
|
}, undefined>;
|
|
155
157
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
156
158
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
@@ -197,13 +199,19 @@ export declare const sync: {
|
|
|
197
199
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
198
200
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
199
201
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
200
|
-
readonly
|
|
201
|
-
readonly
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
readonly
|
|
206
|
-
|
|
202
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
203
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
204
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
205
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
206
|
+
}, undefined>;
|
|
207
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
208
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
209
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
210
|
+
}, undefined>;
|
|
211
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
212
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
213
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
214
|
+
}, undefined>;
|
|
207
215
|
}, undefined>, undefined>;
|
|
208
216
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
209
217
|
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>;
|
|
@@ -226,14 +234,21 @@ export declare const sync: {
|
|
|
226
234
|
readonly data: import("valibot").ObjectSchema<{
|
|
227
235
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
228
236
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
229
|
-
readonly
|
|
230
|
-
readonly
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
readonly
|
|
235
|
-
|
|
237
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
238
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
239
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
240
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
241
|
+
}, undefined>;
|
|
242
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
243
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
244
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
245
|
+
}, undefined>;
|
|
246
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
247
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
248
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
249
|
+
}, undefined>;
|
|
236
250
|
}, undefined>;
|
|
251
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
237
252
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
238
253
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
239
254
|
readonly op: import("valibot").LiteralSchema<"clear", 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,6 +4,7 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
4
4
|
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
5
|
readonly order: v.StringSchema<undefined>;
|
|
6
6
|
readonly version: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
7
|
+
readonly versionPeg: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
7
8
|
}, undefined>, undefined>;
|
|
8
9
|
}, undefined>, v.ObjectSchema<{
|
|
9
10
|
readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
@@ -27,6 +28,7 @@ export declare const syncPullDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
27
28
|
readonly cookie: v.ObjectSchema<{
|
|
28
29
|
readonly order: v.StringSchema<undefined>;
|
|
29
30
|
readonly version: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
31
|
+
readonly versionPeg: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
30
32
|
}, undefined>;
|
|
31
33
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
32
34
|
readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA4BxB,CAAA"}
|
|
@@ -6,6 +6,7 @@ import { errors } from '../../../../../sdk/validation/errors';
|
|
|
6
6
|
const cookieSchema = v.object({
|
|
7
7
|
order: v.string(),
|
|
8
8
|
version: marcoSchemas.number.positiveInteger(),
|
|
9
|
+
versionPeg: marcoSchemas.number.positiveInteger(),
|
|
9
10
|
});
|
|
10
11
|
export const syncPullDraft = createEndpoint({
|
|
11
12
|
body: v.object({
|
|
@@ -127,6 +127,7 @@ export declare const pull: {
|
|
|
127
127
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
128
128
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
129
129
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
130
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
130
131
|
}, undefined>, undefined>;
|
|
131
132
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
132
133
|
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
@@ -150,6 +151,7 @@ export declare const pull: {
|
|
|
150
151
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
151
152
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
152
153
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
154
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
153
155
|
}, undefined>;
|
|
154
156
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
155
157
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
@@ -196,13 +198,19 @@ export declare const pull: {
|
|
|
196
198
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
197
199
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
198
200
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
199
|
-
readonly
|
|
200
|
-
readonly
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
readonly
|
|
205
|
-
|
|
201
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
202
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
203
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
204
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
205
|
+
}, undefined>;
|
|
206
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
207
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
208
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
209
|
+
}, undefined>;
|
|
210
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
211
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
212
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
213
|
+
}, undefined>;
|
|
206
214
|
}, undefined>, undefined>;
|
|
207
215
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
208
216
|
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>;
|
|
@@ -225,14 +233,21 @@ export declare const pull: {
|
|
|
225
233
|
readonly data: import("valibot").ObjectSchema<{
|
|
226
234
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
227
235
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
228
|
-
readonly
|
|
229
|
-
readonly
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
readonly
|
|
234
|
-
|
|
236
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
237
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
238
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
239
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
240
|
+
}, undefined>;
|
|
241
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
242
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
243
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
244
|
+
}, undefined>;
|
|
245
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
246
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
247
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
248
|
+
}, undefined>;
|
|
235
249
|
}, undefined>;
|
|
250
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
236
251
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
237
252
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
238
253
|
readonly op: import("valibot").LiteralSchema<"clear", 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"}
|
|
@@ -3,13 +3,19 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
3
3
|
readonly clientGroupID: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
5
|
readonly hasMore: v.BooleanSchema<undefined>;
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly
|
|
12
|
-
|
|
6
|
+
readonly order: v.NumberSchema<undefined>;
|
|
7
|
+
readonly version: v.ObjectSchema<{
|
|
8
|
+
readonly current: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
9
|
+
readonly start: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
readonly windowCurrent: v.ObjectSchema<{
|
|
12
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
13
|
+
readonly sentAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
14
|
+
}, undefined>;
|
|
15
|
+
readonly windowHistoric: v.ObjectSchema<{
|
|
16
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
17
|
+
readonly sentAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
18
|
+
}, undefined>;
|
|
13
19
|
}, undefined>, undefined>;
|
|
14
20
|
}, undefined>, v.ObjectSchema<{
|
|
15
21
|
readonly pageSize: v.OptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.TransformAction<any, number>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
@@ -32,14 +38,21 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
32
38
|
readonly data: v.ObjectSchema<{
|
|
33
39
|
readonly cookie: v.ObjectSchema<{
|
|
34
40
|
readonly hasMore: v.BooleanSchema<undefined>;
|
|
35
|
-
readonly
|
|
36
|
-
readonly
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
readonly
|
|
41
|
-
|
|
41
|
+
readonly order: v.NumberSchema<undefined>;
|
|
42
|
+
readonly version: v.ObjectSchema<{
|
|
43
|
+
readonly current: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
44
|
+
readonly start: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
45
|
+
}, undefined>;
|
|
46
|
+
readonly windowCurrent: v.ObjectSchema<{
|
|
47
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
48
|
+
readonly sentAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
49
|
+
}, undefined>;
|
|
50
|
+
readonly windowHistoric: v.ObjectSchema<{
|
|
51
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
52
|
+
readonly sentAt: v.NonOptionalSchema<v.SchemaWithPipe<[v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
53
|
+
}, undefined>;
|
|
42
54
|
}, undefined>;
|
|
55
|
+
readonly hasMore: v.BooleanSchema<undefined>;
|
|
43
56
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, undefined>;
|
|
44
57
|
readonly patch: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
45
58
|
readonly op: v.LiteralSchema<"clear", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/pull/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuB5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA6BzB,CAAA"}
|
|
@@ -3,15 +3,19 @@ import { thread } from '../../../../../clients/thread';
|
|
|
3
3
|
import { marcoSchemas } from '../../../../../schemas';
|
|
4
4
|
import { createEndpoint } from '../../../../../sdk/endpoints/createEndpointConfig';
|
|
5
5
|
import { errors } from '../../../../../sdk/validation/errors';
|
|
6
|
+
const innerCookieSchema = v.object({
|
|
7
|
+
id: marcoSchemas.number.positiveInteger(),
|
|
8
|
+
sentAt: marcoSchemas.number.positiveInteger(),
|
|
9
|
+
});
|
|
6
10
|
const cookieSchema = v.object({
|
|
7
11
|
hasMore: v.boolean(),
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
order: v.number(),
|
|
13
|
+
version: v.object({
|
|
14
|
+
current: marcoSchemas.number.positiveInteger(),
|
|
15
|
+
start: marcoSchemas.number.positiveInteger(),
|
|
16
|
+
}),
|
|
17
|
+
windowCurrent: innerCookieSchema,
|
|
18
|
+
windowHistoric: innerCookieSchema,
|
|
15
19
|
});
|
|
16
20
|
export const syncPullThread = createEndpoint({
|
|
17
21
|
body: v.object({
|
|
@@ -29,6 +33,7 @@ export const syncPullThread = createEndpoint({
|
|
|
29
33
|
v.object({
|
|
30
34
|
data: v.object({
|
|
31
35
|
cookie: cookieSchema,
|
|
36
|
+
hasMore: v.boolean(),
|
|
32
37
|
lastMutationIDChanges: v.record(v.string(), v.number()),
|
|
33
38
|
patch: v.array(v.union([
|
|
34
39
|
v.object({ op: v.literal('clear') }),
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -168,6 +168,7 @@ export declare const marcoSDK: {
|
|
|
168
168
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
169
169
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
170
170
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
171
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
171
172
|
}, undefined>, undefined>;
|
|
172
173
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
173
174
|
readonly pageSize: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>]>, undefined>;
|
|
@@ -191,6 +192,7 @@ export declare const marcoSDK: {
|
|
|
191
192
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
192
193
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
193
194
|
readonly version: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
195
|
+
readonly versionPeg: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
194
196
|
}, undefined>;
|
|
195
197
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
196
198
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
@@ -237,13 +239,19 @@ export declare const marcoSDK: {
|
|
|
237
239
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
238
240
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
239
241
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
240
|
-
readonly
|
|
241
|
-
readonly
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
readonly
|
|
246
|
-
|
|
242
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
243
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
244
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
245
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
246
|
+
}, undefined>;
|
|
247
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
248
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
249
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
250
|
+
}, undefined>;
|
|
251
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
252
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
253
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
254
|
+
}, undefined>;
|
|
247
255
|
}, undefined>, undefined>;
|
|
248
256
|
}, undefined>, import("valibot").ObjectSchema<{
|
|
249
257
|
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>;
|
|
@@ -266,14 +274,21 @@ export declare const marcoSDK: {
|
|
|
266
274
|
readonly data: import("valibot").ObjectSchema<{
|
|
267
275
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
268
276
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
269
|
-
readonly
|
|
270
|
-
readonly
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
readonly
|
|
275
|
-
|
|
277
|
+
readonly order: import("valibot").NumberSchema<undefined>;
|
|
278
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
279
|
+
readonly current: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
280
|
+
readonly start: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
281
|
+
}, undefined>;
|
|
282
|
+
readonly windowCurrent: import("valibot").ObjectSchema<{
|
|
283
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
284
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
285
|
+
}, undefined>;
|
|
286
|
+
readonly windowHistoric: import("valibot").ObjectSchema<{
|
|
287
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
288
|
+
readonly sentAt: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
289
|
+
}, undefined>;
|
|
276
290
|
}, undefined>;
|
|
291
|
+
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
277
292
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, undefined>;
|
|
278
293
|
readonly patch: import("valibot").ArraySchema<import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
279
294
|
readonly op: import("valibot").LiteralSchema<"clear", 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
package/package.json
CHANGED