@marcoappio/marco-config 2.0.355 → 2.0.357
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 +4 -8
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +4 -8
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +4 -8
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +4 -8
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +4 -8
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +8 -16
- package/dist/sdk/index.d.ts +4 -8
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -209,11 +209,9 @@ export declare const endpoints: {
|
|
|
209
209
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
210
210
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
211
211
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
212
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
213
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
212
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
214
213
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
215
|
-
readonly
|
|
216
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
214
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
217
215
|
}, undefined>, undefined>;
|
|
218
216
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
219
217
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -234,11 +232,9 @@ export declare const endpoints: {
|
|
|
234
232
|
readonly data: import("valibot").ObjectSchema<{
|
|
235
233
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
236
234
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
237
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
238
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
235
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
239
236
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
240
|
-
readonly
|
|
241
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
237
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
242
238
|
}, undefined>;
|
|
243
239
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
244
240
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, 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,SA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+206,9 @@ export declare const privateGroup: {
|
|
|
206
206
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
207
207
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
208
208
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
209
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
210
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
209
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
211
210
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
212
|
-
readonly
|
|
213
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
211
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
214
212
|
}, undefined>, undefined>;
|
|
215
213
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
216
214
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -231,11 +229,9 @@ export declare const privateGroup: {
|
|
|
231
229
|
readonly data: import("valibot").ObjectSchema<{
|
|
232
230
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
233
231
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
234
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
235
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
232
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
236
233
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
237
|
-
readonly
|
|
238
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
234
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
239
235
|
}, undefined>;
|
|
240
236
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
241
237
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, 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"}
|
|
@@ -168,11 +168,9 @@ export declare const sync: {
|
|
|
168
168
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
169
169
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
170
170
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
171
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
172
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
171
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
173
172
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
174
|
-
readonly
|
|
175
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
173
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
176
174
|
}, undefined>, undefined>;
|
|
177
175
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
178
176
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -193,11 +191,9 @@ export declare const sync: {
|
|
|
193
191
|
readonly data: import("valibot").ObjectSchema<{
|
|
194
192
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
195
193
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
196
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
197
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
194
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
198
195
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
199
|
-
readonly
|
|
200
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
196
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
201
197
|
}, undefined>;
|
|
202
198
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
203
199
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, 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"}
|
|
@@ -167,11 +167,9 @@ export declare const pull: {
|
|
|
167
167
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
168
168
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
169
169
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
170
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
171
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
170
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
172
171
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
173
|
-
readonly
|
|
174
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
172
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
175
173
|
}, undefined>, undefined>;
|
|
176
174
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
177
175
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -192,11 +190,9 @@ export declare const pull: {
|
|
|
192
190
|
readonly data: import("valibot").ObjectSchema<{
|
|
193
191
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
194
192
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
195
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
196
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
193
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
197
194
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
198
|
-
readonly
|
|
199
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
195
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
200
196
|
}, undefined>;
|
|
201
197
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
202
198
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, 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,11 +3,9 @@ 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 id: v.NullableSchema<v.
|
|
7
|
-
readonly latestSentAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
6
|
+
readonly id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
8
7
|
readonly order: v.StringSchema<undefined>;
|
|
9
|
-
readonly
|
|
10
|
-
readonly versionMin: v.NumberSchema<undefined>;
|
|
8
|
+
readonly version: v.NumberSchema<undefined>;
|
|
11
9
|
}, undefined>, undefined>;
|
|
12
10
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
13
11
|
readonly data: v.ObjectSchema<{
|
|
@@ -28,11 +26,9 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
28
26
|
readonly data: v.ObjectSchema<{
|
|
29
27
|
readonly cookie: v.ObjectSchema<{
|
|
30
28
|
readonly hasMore: v.BooleanSchema<undefined>;
|
|
31
|
-
readonly id: v.NullableSchema<v.
|
|
32
|
-
readonly latestSentAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
29
|
+
readonly id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
33
30
|
readonly order: v.StringSchema<undefined>;
|
|
34
|
-
readonly
|
|
35
|
-
readonly versionMin: v.NumberSchema<undefined>;
|
|
31
|
+
readonly version: v.NumberSchema<undefined>;
|
|
36
32
|
}, undefined>;
|
|
37
33
|
readonly hasMore: v.BooleanSchema<undefined>;
|
|
38
34
|
readonly lastMutationIDChanges: v.RecordSchema<v.StringSchema<undefined>, v.NumberSchema<undefined>, 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;AAc5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyBzB,CAAA"}
|
|
@@ -3,17 +3,16 @@ 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 cookieSchema = v.object({
|
|
7
|
+
hasMore: v.boolean(),
|
|
8
|
+
id: v.nullable(v.string()),
|
|
9
|
+
order: v.string(),
|
|
10
|
+
version: v.number(),
|
|
11
|
+
});
|
|
6
12
|
export const syncPullThread = createEndpoint({
|
|
7
13
|
body: v.object({
|
|
8
14
|
clientGroupID: marcoSchemas.string.required(),
|
|
9
|
-
cookie: v.nullable(
|
|
10
|
-
hasMore: v.boolean(),
|
|
11
|
-
id: marcoSchemas.string.nullable(),
|
|
12
|
-
latestSentAt: v.nullable(v.number()),
|
|
13
|
-
order: v.string(),
|
|
14
|
-
versionMax: v.number(),
|
|
15
|
-
versionMin: v.number(),
|
|
16
|
-
})),
|
|
15
|
+
cookie: v.nullable(cookieSchema),
|
|
17
16
|
}),
|
|
18
17
|
method: 'POST',
|
|
19
18
|
path: thread.pullUrl,
|
|
@@ -22,14 +21,7 @@ export const syncPullThread = createEndpoint({
|
|
|
22
21
|
errors.authFailedErrorSchema,
|
|
23
22
|
v.object({
|
|
24
23
|
data: v.object({
|
|
25
|
-
cookie:
|
|
26
|
-
hasMore: v.boolean(),
|
|
27
|
-
id: marcoSchemas.string.nullable(),
|
|
28
|
-
latestSentAt: v.nullable(v.number()),
|
|
29
|
-
order: v.string(),
|
|
30
|
-
versionMax: v.number(),
|
|
31
|
-
versionMin: v.number(),
|
|
32
|
-
}),
|
|
24
|
+
cookie: cookieSchema,
|
|
33
25
|
hasMore: v.boolean(),
|
|
34
26
|
lastMutationIDChanges: v.record(v.string(), v.number()),
|
|
35
27
|
patch: v.array(v.union([
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -208,11 +208,9 @@ export declare const marcoSDK: {
|
|
|
208
208
|
readonly clientGroupID: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
209
209
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
210
210
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
211
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
212
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
211
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
213
212
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
214
|
-
readonly
|
|
215
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
213
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
216
214
|
}, undefined>, undefined>;
|
|
217
215
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
218
216
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -233,11 +231,9 @@ export declare const marcoSDK: {
|
|
|
233
231
|
readonly data: import("valibot").ObjectSchema<{
|
|
234
232
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
235
233
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
236
|
-
readonly id: import("valibot").NullableSchema<import("valibot").
|
|
237
|
-
readonly latestSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
234
|
+
readonly id: import("valibot").NullableSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
238
235
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
239
|
-
readonly
|
|
240
|
-
readonly versionMin: import("valibot").NumberSchema<undefined>;
|
|
236
|
+
readonly version: import("valibot").NumberSchema<undefined>;
|
|
241
237
|
}, undefined>;
|
|
242
238
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
243
239
|
readonly lastMutationIDChanges: import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>, 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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