@marcoappio/marco-config 2.0.169 → 2.0.171
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/clients/account.d.ts +3 -3
- package/dist/clients/draft.d.ts +73 -5
- package/dist/clients/draft.d.ts.map +1 -1
- package/dist/clients/draft.js +34 -14
- package/dist/clients/index.d.ts +79 -11
- package/dist/clients/index.d.ts.map +1 -1
- package/dist/clients/user.d.ts +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/schemas.d.ts +26 -11
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +34 -20
- package/dist/sdk/endpoints/index.d.ts +27 -7
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +27 -7
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +27 -7
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/account.d.ts +3 -3
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts +21 -1
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +14 -2
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +27 -7
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +3 -3
- package/dist/sdk/index.d.ts +27 -7
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/stringPatch/index.d.ts +2 -0
- package/dist/utils/stringPatch/index.d.ts.map +1 -0
- package/dist/utils/stringPatch/index.js +1 -0
- package/dist/utils/stringPatch/stringPatch.d.ts +3 -6
- package/dist/utils/stringPatch/stringPatch.d.ts.map +1 -1
- package/dist/utils/stringPatch/stringPatch.test.js +38 -0
- package/package.json +1 -1
|
@@ -275,7 +275,7 @@ export declare const endpoints: {
|
|
|
275
275
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
276
276
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
277
277
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
278
|
-
}, undefined>, "
|
|
278
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
279
279
|
readonly entries: {
|
|
280
280
|
readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
281
281
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -294,7 +294,7 @@ export declare const endpoints: {
|
|
|
294
294
|
color?: string | undefined;
|
|
295
295
|
firstName?: string | null | undefined;
|
|
296
296
|
lastName?: string | null | undefined;
|
|
297
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
297
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue>;
|
|
298
298
|
readonly '~types'?: {
|
|
299
299
|
readonly input: {
|
|
300
300
|
color?: string | undefined;
|
|
@@ -306,7 +306,7 @@ export declare const endpoints: {
|
|
|
306
306
|
firstName?: string | null | undefined;
|
|
307
307
|
lastName?: string | null | undefined;
|
|
308
308
|
};
|
|
309
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
309
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue;
|
|
310
310
|
} | undefined;
|
|
311
311
|
};
|
|
312
312
|
}, undefined>;
|
|
@@ -348,7 +348,27 @@ export declare const endpoints: {
|
|
|
348
348
|
}, undefined>;
|
|
349
349
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
350
350
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
351
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
351
|
+
readonly name: import("valibot").LiteralSchema<"create", undefined>;
|
|
352
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
353
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
354
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
355
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
356
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
357
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
358
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
359
|
+
}, undefined>, undefined>;
|
|
360
|
+
}, undefined>;
|
|
361
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
362
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
363
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
364
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
365
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
366
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
367
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
368
|
+
}, undefined>;
|
|
369
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
370
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
371
|
+
readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
|
|
352
372
|
}, undefined>], undefined>, undefined>;
|
|
353
373
|
}, undefined>, GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
354
374
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -391,7 +411,7 @@ export declare const endpoints: {
|
|
|
391
411
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
392
412
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
393
413
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
394
|
-
}, undefined>, "
|
|
414
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
395
415
|
readonly entries: {
|
|
396
416
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
397
417
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -406,7 +426,7 @@ export declare const endpoints: {
|
|
|
406
426
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
407
427
|
firstName?: string | null | undefined;
|
|
408
428
|
lastName?: string | null | undefined;
|
|
409
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
429
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
410
430
|
readonly '~types'?: {
|
|
411
431
|
readonly input: {
|
|
412
432
|
firstName?: string | null | undefined;
|
|
@@ -416,7 +436,7 @@ export declare const endpoints: {
|
|
|
416
436
|
firstName?: string | null | undefined;
|
|
417
437
|
lastName?: string | null | undefined;
|
|
418
438
|
};
|
|
419
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
439
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
420
440
|
} | undefined;
|
|
421
441
|
};
|
|
422
442
|
}, 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,EAAoB,MAAM,qBAAqB,CAAA;AActE,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,EAAoB,MAAM,qBAAqB,CAAA;AActE,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGM,CAAA"}
|
|
@@ -272,7 +272,7 @@ export declare const privateGroup: {
|
|
|
272
272
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
273
273
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
274
274
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
275
|
-
}, undefined>, "
|
|
275
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
276
276
|
readonly entries: {
|
|
277
277
|
readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
278
278
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -291,7 +291,7 @@ export declare const privateGroup: {
|
|
|
291
291
|
color?: string | undefined;
|
|
292
292
|
firstName?: string | null | undefined;
|
|
293
293
|
lastName?: string | null | undefined;
|
|
294
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
294
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue>;
|
|
295
295
|
readonly '~types'?: {
|
|
296
296
|
readonly input: {
|
|
297
297
|
color?: string | undefined;
|
|
@@ -303,7 +303,7 @@ export declare const privateGroup: {
|
|
|
303
303
|
firstName?: string | null | undefined;
|
|
304
304
|
lastName?: string | null | undefined;
|
|
305
305
|
};
|
|
306
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
306
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue;
|
|
307
307
|
} | undefined;
|
|
308
308
|
};
|
|
309
309
|
}, undefined>;
|
|
@@ -345,7 +345,27 @@ export declare const privateGroup: {
|
|
|
345
345
|
}, undefined>;
|
|
346
346
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
347
347
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
348
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
348
|
+
readonly name: import("valibot").LiteralSchema<"create", undefined>;
|
|
349
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
350
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
351
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
352
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
353
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
354
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
355
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
356
|
+
}, undefined>, undefined>;
|
|
357
|
+
}, undefined>;
|
|
358
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
359
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
360
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
361
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
362
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
363
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
364
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
365
|
+
}, undefined>;
|
|
366
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
367
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
368
|
+
readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
|
|
349
369
|
}, undefined>], undefined>, undefined>;
|
|
350
370
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
351
371
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -388,7 +408,7 @@ export declare const privateGroup: {
|
|
|
388
408
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
389
409
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
390
410
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
391
|
-
}, undefined>, "
|
|
411
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
392
412
|
readonly entries: {
|
|
393
413
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
394
414
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -403,7 +423,7 @@ export declare const privateGroup: {
|
|
|
403
423
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
404
424
|
firstName?: string | null | undefined;
|
|
405
425
|
lastName?: string | null | undefined;
|
|
406
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
426
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
407
427
|
readonly '~types'?: {
|
|
408
428
|
readonly input: {
|
|
409
429
|
firstName?: string | null | undefined;
|
|
@@ -413,7 +433,7 @@ export declare const privateGroup: {
|
|
|
413
433
|
firstName?: string | null | undefined;
|
|
414
434
|
lastName?: string | null | undefined;
|
|
415
435
|
};
|
|
416
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
436
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
417
437
|
} | undefined;
|
|
418
438
|
};
|
|
419
439
|
}, 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"}
|
|
@@ -257,7 +257,7 @@ export declare const sync: {
|
|
|
257
257
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
258
258
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
259
259
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
260
|
-
}, undefined>, "
|
|
260
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
261
261
|
readonly entries: {
|
|
262
262
|
readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
263
263
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -276,7 +276,7 @@ export declare const sync: {
|
|
|
276
276
|
color?: string | undefined;
|
|
277
277
|
firstName?: string | null | undefined;
|
|
278
278
|
lastName?: string | null | undefined;
|
|
279
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
279
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue>;
|
|
280
280
|
readonly '~types'?: {
|
|
281
281
|
readonly input: {
|
|
282
282
|
color?: string | undefined;
|
|
@@ -288,7 +288,7 @@ export declare const sync: {
|
|
|
288
288
|
firstName?: string | null | undefined;
|
|
289
289
|
lastName?: string | null | undefined;
|
|
290
290
|
};
|
|
291
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
291
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue;
|
|
292
292
|
} | undefined;
|
|
293
293
|
};
|
|
294
294
|
}, undefined>;
|
|
@@ -330,7 +330,27 @@ export declare const sync: {
|
|
|
330
330
|
}, undefined>;
|
|
331
331
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
332
332
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
333
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
333
|
+
readonly name: import("valibot").LiteralSchema<"create", undefined>;
|
|
334
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
335
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
336
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
337
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
338
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
339
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
340
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
341
|
+
}, undefined>, undefined>;
|
|
342
|
+
}, undefined>;
|
|
343
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
344
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
345
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
346
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
347
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
348
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
349
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
350
|
+
}, undefined>;
|
|
351
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
352
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
353
|
+
readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
|
|
334
354
|
}, undefined>], undefined>, undefined>;
|
|
335
355
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
336
356
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -373,7 +393,7 @@ export declare const sync: {
|
|
|
373
393
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
374
394
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
375
395
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
376
|
-
}, undefined>, "
|
|
396
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
377
397
|
readonly entries: {
|
|
378
398
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
379
399
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -388,7 +408,7 @@ export declare const sync: {
|
|
|
388
408
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
389
409
|
firstName?: string | null | undefined;
|
|
390
410
|
lastName?: string | null | undefined;
|
|
391
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
411
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
392
412
|
readonly '~types'?: {
|
|
393
413
|
readonly input: {
|
|
394
414
|
firstName?: string | null | undefined;
|
|
@@ -398,7 +418,7 @@ export declare const sync: {
|
|
|
398
418
|
firstName?: string | null | undefined;
|
|
399
419
|
lastName?: string | null | undefined;
|
|
400
420
|
};
|
|
401
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
421
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
402
422
|
} | undefined;
|
|
403
423
|
};
|
|
404
424
|
}, 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"}
|
|
@@ -37,7 +37,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
37
37
|
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
38
38
|
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
39
39
|
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
40
|
-
}, undefined>, "
|
|
40
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
41
41
|
readonly entries: {
|
|
42
42
|
readonly color: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
43
43
|
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -56,7 +56,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
56
56
|
color?: string | undefined;
|
|
57
57
|
firstName?: string | null | undefined;
|
|
58
58
|
lastName?: string | null | undefined;
|
|
59
|
-
}, v.StringIssue | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.
|
|
59
|
+
}, v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.NonOptionalIssue>;
|
|
60
60
|
readonly '~types'?: {
|
|
61
61
|
readonly input: {
|
|
62
62
|
color?: string | undefined;
|
|
@@ -68,7 +68,7 @@ export declare const syncPushAccount: import("../../../../..").EndpointConfig<"/
|
|
|
68
68
|
firstName?: string | null | undefined;
|
|
69
69
|
lastName?: string | null | undefined;
|
|
70
70
|
};
|
|
71
|
-
readonly issue: v.StringIssue | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.
|
|
71
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.NonOptionalIssue;
|
|
72
72
|
} | undefined;
|
|
73
73
|
};
|
|
74
74
|
}, undefined>;
|
|
@@ -24,7 +24,27 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
|
|
|
24
24
|
}, undefined>;
|
|
25
25
|
readonly clientID: v.StringSchema<undefined>;
|
|
26
26
|
readonly id: v.NumberSchema<undefined>;
|
|
27
|
-
readonly name: v.LiteralSchema<"
|
|
27
|
+
readonly name: v.LiteralSchema<"create", undefined>;
|
|
28
|
+
}, undefined>, v.ObjectSchema<{
|
|
29
|
+
readonly args: v.ObjectSchema<{
|
|
30
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
31
|
+
readonly patch: v.ArraySchema<v.ObjectSchema<{
|
|
32
|
+
readonly index: v.NumberSchema<undefined>;
|
|
33
|
+
readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
|
|
34
|
+
readonly value: v.StringSchema<undefined>;
|
|
35
|
+
}, undefined>, undefined>;
|
|
36
|
+
}, undefined>;
|
|
37
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
38
|
+
readonly id: v.NumberSchema<undefined>;
|
|
39
|
+
readonly name: v.LiteralSchema<"setContent", undefined>;
|
|
40
|
+
}, undefined>, v.ObjectSchema<{
|
|
41
|
+
readonly args: v.ObjectSchema<{
|
|
42
|
+
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
|
|
43
|
+
readonly status: v.UnionSchema<[v.LiteralSchema<"DRAFT", undefined>, v.LiteralSchema<"SENDING", undefined>, v.LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
44
|
+
}, undefined>;
|
|
45
|
+
readonly clientID: v.StringSchema<undefined>;
|
|
46
|
+
readonly id: v.NumberSchema<undefined>;
|
|
47
|
+
readonly name: v.LiteralSchema<"setStatus", undefined>;
|
|
28
48
|
}, undefined>], undefined>, undefined>;
|
|
29
49
|
}, undefined>, v.GenericSchema<unknown, unknown, v.BaseIssue<unknown>> | undefined, v.UnionSchema<[v.ObjectSchema<{
|
|
30
50
|
readonly code: v.LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"draft.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/draft.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAM5B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAqCxB,CAAA"}
|
|
@@ -13,10 +13,22 @@ export const syncPushDraft = createEndpoint({
|
|
|
13
13
|
name: v.literal('delete'),
|
|
14
14
|
}),
|
|
15
15
|
v.object({
|
|
16
|
-
args: draft.mutators.
|
|
16
|
+
args: draft.mutators.create.delta,
|
|
17
17
|
clientID: v.string(),
|
|
18
18
|
id: v.number(),
|
|
19
|
-
name: v.literal('
|
|
19
|
+
name: v.literal('create'),
|
|
20
|
+
}),
|
|
21
|
+
v.object({
|
|
22
|
+
args: draft.mutators.setContent.delta,
|
|
23
|
+
clientID: v.string(),
|
|
24
|
+
id: v.number(),
|
|
25
|
+
name: v.literal('setContent'),
|
|
26
|
+
}),
|
|
27
|
+
v.object({
|
|
28
|
+
args: draft.mutators.setStatus.delta,
|
|
29
|
+
clientID: v.string(),
|
|
30
|
+
id: v.number(),
|
|
31
|
+
name: v.literal('setStatus'),
|
|
20
32
|
}),
|
|
21
33
|
])),
|
|
22
34
|
}),
|
|
@@ -37,7 +37,7 @@ export declare const push: {
|
|
|
37
37
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
38
38
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
39
39
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
40
|
-
}, undefined>, "
|
|
40
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
41
41
|
readonly entries: {
|
|
42
42
|
readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
43
43
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -56,7 +56,7 @@ export declare const push: {
|
|
|
56
56
|
color?: string | undefined;
|
|
57
57
|
firstName?: string | null | undefined;
|
|
58
58
|
lastName?: string | null | undefined;
|
|
59
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
59
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue>;
|
|
60
60
|
readonly '~types'?: {
|
|
61
61
|
readonly input: {
|
|
62
62
|
color?: string | undefined;
|
|
@@ -68,7 +68,7 @@ export declare const push: {
|
|
|
68
68
|
firstName?: string | null | undefined;
|
|
69
69
|
lastName?: string | null | undefined;
|
|
70
70
|
};
|
|
71
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
71
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue;
|
|
72
72
|
} | undefined;
|
|
73
73
|
};
|
|
74
74
|
}, undefined>;
|
|
@@ -110,7 +110,27 @@ export declare const push: {
|
|
|
110
110
|
}, undefined>;
|
|
111
111
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
112
112
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
113
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
113
|
+
readonly name: import("valibot").LiteralSchema<"create", undefined>;
|
|
114
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
115
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
116
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
117
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
118
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
119
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
120
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
121
|
+
}, undefined>, undefined>;
|
|
122
|
+
}, undefined>;
|
|
123
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
124
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
125
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
126
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
127
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
128
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
129
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
130
|
+
}, undefined>;
|
|
131
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
132
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
133
|
+
readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
|
|
114
134
|
}, undefined>], undefined>, undefined>;
|
|
115
135
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
116
136
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -153,7 +173,7 @@ export declare const push: {
|
|
|
153
173
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
154
174
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
155
175
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
156
|
-
}, undefined>, "
|
|
176
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
157
177
|
readonly entries: {
|
|
158
178
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
159
179
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -168,7 +188,7 @@ export declare const push: {
|
|
|
168
188
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
169
189
|
firstName?: string | null | undefined;
|
|
170
190
|
lastName?: string | null | undefined;
|
|
171
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
191
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
172
192
|
readonly '~types'?: {
|
|
173
193
|
readonly input: {
|
|
174
194
|
firstName?: string | null | undefined;
|
|
@@ -178,7 +198,7 @@ export declare const push: {
|
|
|
178
198
|
firstName?: string | null | undefined;
|
|
179
199
|
lastName?: string | null | undefined;
|
|
180
200
|
};
|
|
181
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
201
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
182
202
|
} | undefined;
|
|
183
203
|
};
|
|
184
204
|
}, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/sdk/endpoints/private/sync/push/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA"}
|
|
@@ -7,7 +7,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
7
7
|
readonly settings: Omit<v.ObjectSchema<{
|
|
8
8
|
readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
9
9
|
readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
10
|
-
}, undefined>, "
|
|
10
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
11
11
|
readonly entries: {
|
|
12
12
|
readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
13
13
|
readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -22,7 +22,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
22
22
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
23
23
|
firstName?: string | null | undefined;
|
|
24
24
|
lastName?: string | null | undefined;
|
|
25
|
-
}, v.StringIssue | v.MaxLengthIssue<string, 255
|
|
25
|
+
}, v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, 255>>;
|
|
26
26
|
readonly '~types'?: {
|
|
27
27
|
readonly input: {
|
|
28
28
|
firstName?: string | null | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const syncPushUser: import("../../../../..").EndpointConfig<"/v1/
|
|
|
32
32
|
firstName?: string | null | undefined;
|
|
33
33
|
lastName?: string | null | undefined;
|
|
34
34
|
};
|
|
35
|
-
readonly issue: v.StringIssue | v.MaxLengthIssue<string, 255
|
|
35
|
+
readonly issue: v.StringIssue | v.ObjectIssue | v.MaxLengthIssue<string, 255>;
|
|
36
36
|
} | undefined;
|
|
37
37
|
};
|
|
38
38
|
}, undefined>;
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -274,7 +274,7 @@ export declare const marcoSDK: {
|
|
|
274
274
|
readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
275
275
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
276
276
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
277
|
-
}, undefined>, "
|
|
277
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
278
278
|
readonly entries: {
|
|
279
279
|
readonly color: import("valibot").OptionalSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
280
280
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -293,7 +293,7 @@ export declare const marcoSDK: {
|
|
|
293
293
|
color?: string | undefined;
|
|
294
294
|
firstName?: string | null | undefined;
|
|
295
295
|
lastName?: string | null | undefined;
|
|
296
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
296
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue>;
|
|
297
297
|
readonly '~types'?: {
|
|
298
298
|
readonly input: {
|
|
299
299
|
color?: string | undefined;
|
|
@@ -305,7 +305,7 @@ export declare const marcoSDK: {
|
|
|
305
305
|
firstName?: string | null | undefined;
|
|
306
306
|
lastName?: string | null | undefined;
|
|
307
307
|
};
|
|
308
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
308
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue;
|
|
309
309
|
} | undefined;
|
|
310
310
|
};
|
|
311
311
|
}, undefined>;
|
|
@@ -347,7 +347,27 @@ export declare const marcoSDK: {
|
|
|
347
347
|
}, undefined>;
|
|
348
348
|
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
349
349
|
readonly id: import("valibot").NumberSchema<undefined>;
|
|
350
|
-
readonly name: import("valibot").LiteralSchema<"
|
|
350
|
+
readonly name: import("valibot").LiteralSchema<"create", undefined>;
|
|
351
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
352
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
353
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
354
|
+
readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
355
|
+
readonly index: import("valibot").NumberSchema<undefined>;
|
|
356
|
+
readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
|
|
357
|
+
readonly value: import("valibot").StringSchema<undefined>;
|
|
358
|
+
}, undefined>, undefined>;
|
|
359
|
+
}, undefined>;
|
|
360
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
361
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
362
|
+
readonly name: import("valibot").LiteralSchema<"setContent", undefined>;
|
|
363
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
364
|
+
readonly args: import("valibot").ObjectSchema<{
|
|
365
|
+
readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
|
|
366
|
+
readonly status: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"DRAFT", undefined>, import("valibot").LiteralSchema<"SENDING", undefined>, import("valibot").LiteralSchema<"SENDING_FAILED", undefined>], undefined>;
|
|
367
|
+
}, undefined>;
|
|
368
|
+
readonly clientID: import("valibot").StringSchema<undefined>;
|
|
369
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
370
|
+
readonly name: import("valibot").LiteralSchema<"setStatus", undefined>;
|
|
351
371
|
}, undefined>], undefined>, undefined>;
|
|
352
372
|
}, undefined>, import("valibot").GenericSchema<unknown, unknown, import("valibot").BaseIssue<unknown>> | undefined, import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
353
373
|
readonly code: import("valibot").LiteralSchema<"VALIDATION_FAILED", undefined>;
|
|
@@ -390,7 +410,7 @@ export declare const marcoSDK: {
|
|
|
390
410
|
readonly settings: Omit<import("valibot").ObjectSchema<{
|
|
391
411
|
readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
392
412
|
readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
393
|
-
}, undefined>, "
|
|
413
|
+
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
394
414
|
readonly entries: {
|
|
395
415
|
readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
396
416
|
readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
|
|
@@ -405,7 +425,7 @@ export declare const marcoSDK: {
|
|
|
405
425
|
readonly '~run': (dataset: import("valibot").UnknownDataset, config: import("valibot").Config<import("valibot").BaseIssue<unknown>>) => import("valibot").OutputDataset<{
|
|
406
426
|
firstName?: string | null | undefined;
|
|
407
427
|
lastName?: string | null | undefined;
|
|
408
|
-
}, import("valibot").StringIssue | import("valibot").
|
|
428
|
+
}, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>>;
|
|
409
429
|
readonly '~types'?: {
|
|
410
430
|
readonly input: {
|
|
411
431
|
firstName?: string | null | undefined;
|
|
@@ -415,7 +435,7 @@ export declare const marcoSDK: {
|
|
|
415
435
|
firstName?: string | null | undefined;
|
|
416
436
|
lastName?: string | null | undefined;
|
|
417
437
|
};
|
|
418
|
-
readonly issue: import("valibot").StringIssue | import("valibot").
|
|
438
|
+
readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").MaxLengthIssue<string, 255>;
|
|
419
439
|
} | undefined;
|
|
420
440
|
};
|
|
421
441
|
}, undefined>;
|