@marcoappio/marco-config 2.0.255 → 2.0.257
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 +10 -3
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +10 -3
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +10 -3
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +10 -3
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +10 -3
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +10 -3
- package/dist/sdk/index.d.ts +10 -3
- package/dist/sdk/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -198,9 +198,12 @@ export declare const endpoints: {
|
|
|
198
198
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
199
199
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
200
200
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
201
|
-
readonly latestMessageSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
202
201
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
203
|
-
readonly version: import("valibot").
|
|
202
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
203
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
204
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
205
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
206
|
+
}, undefined>;
|
|
204
207
|
}, undefined>, undefined>;
|
|
205
208
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
206
209
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -222,7 +225,11 @@ export declare const endpoints: {
|
|
|
222
225
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
223
226
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
224
227
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
225
|
-
readonly version: import("valibot").
|
|
228
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
229
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
230
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
231
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
232
|
+
}, undefined>;
|
|
226
233
|
}, undefined>;
|
|
227
234
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
228
235
|
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,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -195,9 +195,12 @@ export declare const privateGroup: {
|
|
|
195
195
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
196
196
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
197
197
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
198
|
-
readonly latestMessageSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
199
198
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
200
|
-
readonly version: import("valibot").
|
|
199
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
200
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
201
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
202
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
203
|
+
}, undefined>;
|
|
201
204
|
}, undefined>, undefined>;
|
|
202
205
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
203
206
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -219,7 +222,11 @@ export declare const privateGroup: {
|
|
|
219
222
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
220
223
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
221
224
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
222
|
-
readonly version: import("valibot").
|
|
225
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
226
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
227
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
228
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
229
|
+
}, undefined>;
|
|
223
230
|
}, undefined>;
|
|
224
231
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
225
232
|
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"}
|
|
@@ -162,9 +162,12 @@ export declare const sync: {
|
|
|
162
162
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
163
163
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
164
164
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
165
|
-
readonly latestMessageSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
166
165
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
167
|
-
readonly version: import("valibot").
|
|
166
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
167
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
168
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
169
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
170
|
+
}, undefined>;
|
|
168
171
|
}, undefined>, undefined>;
|
|
169
172
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
170
173
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -186,7 +189,11 @@ export declare const sync: {
|
|
|
186
189
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
187
190
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
188
191
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
189
|
-
readonly version: import("valibot").
|
|
192
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
193
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
194
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
195
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
196
|
+
}, undefined>;
|
|
190
197
|
}, undefined>;
|
|
191
198
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
192
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"}
|
|
@@ -161,9 +161,12 @@ export declare const pull: {
|
|
|
161
161
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
162
162
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
163
163
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
164
|
-
readonly latestMessageSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
165
164
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
166
|
-
readonly version: import("valibot").
|
|
165
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
166
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
167
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
168
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
169
|
+
}, undefined>;
|
|
167
170
|
}, undefined>, undefined>;
|
|
168
171
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
169
172
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -185,7 +188,11 @@ export declare const pull: {
|
|
|
185
188
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
186
189
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
187
190
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
188
|
-
readonly version: import("valibot").
|
|
191
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
192
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
193
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
194
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
195
|
+
}, undefined>;
|
|
189
196
|
}, undefined>;
|
|
190
197
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
191
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,9 +3,12 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
3
3
|
readonly clientGroupID: v.StringSchema<undefined>;
|
|
4
4
|
readonly cookie: v.NullableSchema<v.ObjectSchema<{
|
|
5
5
|
readonly id: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
6
|
-
readonly latestMessageSentAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
7
6
|
readonly order: v.StringSchema<undefined>;
|
|
8
|
-
readonly version: v.
|
|
7
|
+
readonly version: v.ObjectSchema<{
|
|
8
|
+
readonly current: v.NumberSchema<undefined>;
|
|
9
|
+
readonly previous: v.NumberSchema<undefined>;
|
|
10
|
+
readonly target: v.NumberSchema<undefined>;
|
|
11
|
+
}, undefined>;
|
|
9
12
|
}, undefined>, undefined>;
|
|
10
13
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
11
14
|
readonly data: v.ObjectSchema<{
|
|
@@ -27,7 +30,11 @@ export declare const syncPullThread: import("../../../../..").EndpointConfig<"/v
|
|
|
27
30
|
readonly cookie: v.ObjectSchema<{
|
|
28
31
|
readonly id: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
29
32
|
readonly order: v.StringSchema<undefined>;
|
|
30
|
-
readonly version: v.
|
|
33
|
+
readonly version: v.ObjectSchema<{
|
|
34
|
+
readonly current: v.NumberSchema<undefined>;
|
|
35
|
+
readonly previous: v.NumberSchema<undefined>;
|
|
36
|
+
readonly target: v.NumberSchema<undefined>;
|
|
37
|
+
}, undefined>;
|
|
31
38
|
}, undefined>;
|
|
32
39
|
readonly hasMore: v.BooleanSchema<undefined>;
|
|
33
40
|
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;AAM5B,eAAO,MAAM,cAAc
|
|
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;AAM5B,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAyCzB,CAAA"}
|
|
@@ -7,9 +7,12 @@ export const syncPullThread = createEndpoint({
|
|
|
7
7
|
clientGroupID: v.string(),
|
|
8
8
|
cookie: v.nullable(v.object({
|
|
9
9
|
id: v.nullable(v.pipe(v.string(), v.uuid())),
|
|
10
|
-
latestMessageSentAt: v.nullable(v.number()),
|
|
11
10
|
order: v.string(),
|
|
12
|
-
version: v.
|
|
11
|
+
version: v.object({
|
|
12
|
+
current: v.number(),
|
|
13
|
+
previous: v.number(),
|
|
14
|
+
target: v.number(),
|
|
15
|
+
}),
|
|
13
16
|
})),
|
|
14
17
|
}),
|
|
15
18
|
method: 'POST',
|
|
@@ -22,7 +25,11 @@ export const syncPullThread = createEndpoint({
|
|
|
22
25
|
cookie: v.object({
|
|
23
26
|
id: v.nullable(v.pipe(v.string(), v.uuid())),
|
|
24
27
|
order: v.string(),
|
|
25
|
-
version: v.
|
|
28
|
+
version: v.object({
|
|
29
|
+
current: v.number(),
|
|
30
|
+
previous: v.number(),
|
|
31
|
+
target: v.number(),
|
|
32
|
+
}),
|
|
26
33
|
}),
|
|
27
34
|
hasMore: v.boolean(),
|
|
28
35
|
lastMutationIDChanges: v.record(v.string(), v.number()),
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -197,9 +197,12 @@ export declare const marcoSDK: {
|
|
|
197
197
|
readonly clientGroupID: import("valibot").StringSchema<undefined>;
|
|
198
198
|
readonly cookie: import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
199
199
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
200
|
-
readonly latestMessageSentAt: import("valibot").NullableSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
201
200
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
202
|
-
readonly version: import("valibot").
|
|
201
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
202
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
203
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
204
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
205
|
+
}, undefined>;
|
|
203
206
|
}, undefined>, undefined>;
|
|
204
207
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
205
208
|
readonly data: import("valibot").ObjectSchema<{
|
|
@@ -221,7 +224,11 @@ export declare const marcoSDK: {
|
|
|
221
224
|
readonly cookie: import("valibot").ObjectSchema<{
|
|
222
225
|
readonly id: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
223
226
|
readonly order: import("valibot").StringSchema<undefined>;
|
|
224
|
-
readonly version: import("valibot").
|
|
227
|
+
readonly version: import("valibot").ObjectSchema<{
|
|
228
|
+
readonly current: import("valibot").NumberSchema<undefined>;
|
|
229
|
+
readonly previous: import("valibot").NumberSchema<undefined>;
|
|
230
|
+
readonly target: import("valibot").NumberSchema<undefined>;
|
|
231
|
+
}, undefined>;
|
|
225
232
|
}, undefined>;
|
|
226
233
|
readonly hasMore: import("valibot").BooleanSchema<undefined>;
|
|
227
234
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGpB,CAAA"}
|
package/package.json
CHANGED