@marcoappio/marco-config 2.0.170 → 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.
@@ -56,7 +56,7 @@ export declare const account: {
56
56
  readonly color: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
57
57
  readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
58
58
  readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
59
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
59
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
60
60
  readonly entries: {
61
61
  readonly color: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
62
62
  readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -36,12 +36,12 @@ export declare const draft: {
36
36
  };
37
37
  setContent: {
38
38
  delta: v.ObjectSchema<{
39
- readonly content: v.ArraySchema<v.ObjectSchema<{
39
+ readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
40
+ readonly patch: v.ArraySchema<v.ObjectSchema<{
40
41
  readonly index: v.NumberSchema<undefined>;
41
42
  readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
42
43
  readonly value: v.StringSchema<undefined>;
43
44
  }, undefined>, undefined>;
44
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
45
45
  }, undefined>;
46
46
  };
47
47
  setEnvelope: {
@@ -52,7 +52,7 @@ export declare const draft: {
52
52
  readonly content: v.StringSchema<undefined>;
53
53
  readonly subject: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
54
54
  readonly to: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
55
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
55
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
56
56
  readonly entries: Omit<{
57
57
  readonly bcc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
58
58
  readonly cc: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -76,7 +76,7 @@ export declare const draft: {
76
76
  cc: string[];
77
77
  to: string[];
78
78
  subject: string;
79
- }, v.StringIssue | v.ObjectIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.ArrayIssue>;
79
+ }, v.StringIssue | v.ObjectIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ArrayIssue | v.NonOptionalIssue>;
80
80
  readonly '~types'?: {
81
81
  readonly input: {
82
82
  bcc: string[];
@@ -90,7 +90,7 @@ export declare const draft: {
90
90
  to: string[];
91
91
  subject: string;
92
92
  };
93
- readonly issue: v.StringIssue | v.ObjectIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.NonOptionalIssue | v.ArrayIssue;
93
+ readonly issue: v.StringIssue | v.ObjectIssue | v.EmailIssue<string> | v.MaxLengthIssue<string, 255> | v.NonEmptyIssue<string> | v.ArrayIssue | v.NonOptionalIssue;
94
94
  } | undefined;
95
95
  };
96
96
  readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
@@ -32,8 +32,8 @@ export const draft = {
32
32
  },
33
33
  setContent: {
34
34
  delta: v.object({
35
- content: marcoSchemas.drafts.contentPatch.patch(),
36
35
  id: marcoSchemas.string.uuid(),
36
+ patch: marcoSchemas.drafts.contentPatch.patch(),
37
37
  }),
38
38
  },
39
39
  setEnvelope: {
@@ -57,7 +57,7 @@ export declare const marcoClients: {
57
57
  readonly color: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
58
58
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
59
59
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
60
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
60
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
61
61
  readonly entries: {
62
62
  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>;
63
63
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -148,12 +148,12 @@ export declare const marcoClients: {
148
148
  };
149
149
  setContent: {
150
150
  delta: import("valibot").ObjectSchema<{
151
- readonly content: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
151
+ readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
152
+ readonly patch: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
152
153
  readonly index: import("valibot").NumberSchema<undefined>;
153
154
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
154
155
  readonly value: import("valibot").StringSchema<undefined>;
155
156
  }, undefined>, undefined>;
156
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
157
157
  }, undefined>;
158
158
  };
159
159
  setEnvelope: {
@@ -164,7 +164,7 @@ export declare const marcoClients: {
164
164
  readonly content: import("valibot").StringSchema<undefined>;
165
165
  readonly subject: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
166
166
  readonly to: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
167
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
167
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
168
168
  readonly entries: Omit<{
169
169
  readonly bcc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
170
170
  readonly cc: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").EmailAction<string, undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -188,7 +188,7 @@ export declare const marcoClients: {
188
188
  cc: string[];
189
189
  to: string[];
190
190
  subject: string;
191
- }, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue>;
191
+ }, import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue>;
192
192
  readonly '~types'?: {
193
193
  readonly input: {
194
194
  bcc: string[];
@@ -202,7 +202,7 @@ export declare const marcoClients: {
202
202
  to: string[];
203
203
  subject: string;
204
204
  };
205
- readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").NonOptionalIssue | import("valibot").ArrayIssue;
205
+ readonly issue: import("valibot").StringIssue | import("valibot").ObjectIssue | import("valibot").EmailIssue<string> | import("valibot").MaxLengthIssue<string, 255> | import("valibot").NonEmptyIssue<string> | import("valibot").ArrayIssue | import("valibot").NonOptionalIssue;
206
206
  } | undefined;
207
207
  };
208
208
  readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
@@ -283,7 +283,7 @@ export declare const marcoClients: {
283
283
  readonly settings: Omit<import("valibot").ObjectSchema<{
284
284
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
285
285
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
286
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
286
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
287
287
  readonly entries: {
288
288
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
289
289
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -14,7 +14,7 @@ export declare const user: {
14
14
  readonly settings: Omit<v.ObjectSchema<{
15
15
  readonly firstName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
16
16
  readonly lastName: v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
17
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
17
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
18
18
  readonly entries: {
19
19
  readonly firstName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
20
20
  readonly lastName: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { accountUtils } from './utils';
1
+ export { accountUtils, stringPatch } from './utils';
2
2
  export { marcoClients, marcoClientsUtils } from './clients';
3
3
  export { marcoPublicConfig, MARCO_ENV, MarcoEnvironment } from './marcoPublicConfig';
4
4
  export { marcoSchemas } from './schemas';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAA;AAC3D,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAA;AAC9B,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { accountUtils } from './utils';
1
+ export { accountUtils, stringPatch } from './utils';
2
2
  export { marcoClients, marcoClientsUtils } from './clients';
3
3
  export { marcoPublicConfig, MARCO_ENV } from './marcoPublicConfig';
4
4
  export { marcoSchemas } from './schemas';
@@ -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>, "entries" | "~types" | "~run" | "~standard"> & {
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>;
@@ -351,12 +351,12 @@ export declare const endpoints: {
351
351
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
352
352
  }, undefined>, import("valibot").ObjectSchema<{
353
353
  readonly args: import("valibot").ObjectSchema<{
354
- readonly content: import("valibot").ArraySchema<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<{
355
356
  readonly index: import("valibot").NumberSchema<undefined>;
356
357
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
357
358
  readonly value: import("valibot").StringSchema<undefined>;
358
359
  }, undefined>, undefined>;
359
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
360
360
  }, undefined>;
361
361
  readonly clientID: import("valibot").StringSchema<undefined>;
362
362
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -411,7 +411,7 @@ export declare const endpoints: {
411
411
  readonly settings: Omit<import("valibot").ObjectSchema<{
412
412
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
413
413
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
414
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
414
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
415
415
  readonly entries: {
416
416
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
417
417
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -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>, "entries" | "~types" | "~run" | "~standard"> & {
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>;
@@ -348,12 +348,12 @@ export declare const privateGroup: {
348
348
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
349
349
  }, undefined>, import("valibot").ObjectSchema<{
350
350
  readonly args: import("valibot").ObjectSchema<{
351
- readonly content: import("valibot").ArraySchema<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<{
352
353
  readonly index: import("valibot").NumberSchema<undefined>;
353
354
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
354
355
  readonly value: import("valibot").StringSchema<undefined>;
355
356
  }, undefined>, undefined>;
356
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
357
357
  }, undefined>;
358
358
  readonly clientID: import("valibot").StringSchema<undefined>;
359
359
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -408,7 +408,7 @@ export declare const privateGroup: {
408
408
  readonly settings: Omit<import("valibot").ObjectSchema<{
409
409
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
410
410
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
411
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
411
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
412
412
  readonly entries: {
413
413
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
414
414
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -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>, "entries" | "~types" | "~run" | "~standard"> & {
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>;
@@ -333,12 +333,12 @@ export declare const sync: {
333
333
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
334
334
  }, undefined>, import("valibot").ObjectSchema<{
335
335
  readonly args: import("valibot").ObjectSchema<{
336
- readonly content: import("valibot").ArraySchema<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<{
337
338
  readonly index: import("valibot").NumberSchema<undefined>;
338
339
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
339
340
  readonly value: import("valibot").StringSchema<undefined>;
340
341
  }, undefined>, undefined>;
341
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
342
342
  }, undefined>;
343
343
  readonly clientID: import("valibot").StringSchema<undefined>;
344
344
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -393,7 +393,7 @@ export declare const sync: {
393
393
  readonly settings: Omit<import("valibot").ObjectSchema<{
394
394
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
395
395
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
396
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
396
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
397
397
  readonly entries: {
398
398
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
399
399
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -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>, "entries" | "~types" | "~run" | "~standard"> & {
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>;
@@ -27,12 +27,12 @@ export declare const syncPushDraft: import("../../../../..").EndpointConfig<"/v1
27
27
  readonly name: v.LiteralSchema<"create", undefined>;
28
28
  }, undefined>, v.ObjectSchema<{
29
29
  readonly args: v.ObjectSchema<{
30
- readonly content: v.ArraySchema<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<{
31
32
  readonly index: v.NumberSchema<undefined>;
32
33
  readonly type: v.UnionSchema<[v.LiteralSchema<"INSERTION", undefined>, v.LiteralSchema<"DELETION", undefined>], undefined>;
33
34
  readonly value: v.StringSchema<undefined>;
34
35
  }, undefined>, undefined>;
35
- readonly id: v.NonOptionalSchema<v.SchemaWithPipe<[v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.UuidAction<string, undefined>]>, undefined>;
36
36
  }, undefined>;
37
37
  readonly clientID: v.StringSchema<undefined>;
38
38
  readonly id: v.NumberSchema<undefined>;
@@ -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>, "entries" | "~types" | "~run" | "~standard"> & {
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>;
@@ -113,12 +113,12 @@ export declare const push: {
113
113
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
114
114
  }, undefined>, import("valibot").ObjectSchema<{
115
115
  readonly args: import("valibot").ObjectSchema<{
116
- readonly content: import("valibot").ArraySchema<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<{
117
118
  readonly index: import("valibot").NumberSchema<undefined>;
118
119
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
119
120
  readonly value: import("valibot").StringSchema<undefined>;
120
121
  }, undefined>, undefined>;
121
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
122
122
  }, undefined>;
123
123
  readonly clientID: import("valibot").StringSchema<undefined>;
124
124
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -173,7 +173,7 @@ export declare const push: {
173
173
  readonly settings: Omit<import("valibot").ObjectSchema<{
174
174
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
175
175
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
176
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
176
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
177
177
  readonly entries: {
178
178
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
179
179
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -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>, "entries" | "~types" | "~run" | "~standard"> & {
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>;
@@ -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>, "entries" | "~types" | "~run" | "~standard"> & {
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>;
@@ -350,12 +350,12 @@ export declare const marcoSDK: {
350
350
  readonly name: import("valibot").LiteralSchema<"create", undefined>;
351
351
  }, undefined>, import("valibot").ObjectSchema<{
352
352
  readonly args: import("valibot").ObjectSchema<{
353
- readonly content: import("valibot").ArraySchema<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<{
354
355
  readonly index: import("valibot").NumberSchema<undefined>;
355
356
  readonly type: import("valibot").UnionSchema<[import("valibot").LiteralSchema<"INSERTION", undefined>, import("valibot").LiteralSchema<"DELETION", undefined>], undefined>;
356
357
  readonly value: import("valibot").StringSchema<undefined>;
357
358
  }, undefined>, undefined>;
358
- readonly id: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").UuidAction<string, undefined>]>, undefined>;
359
359
  }, undefined>;
360
360
  readonly clientID: import("valibot").StringSchema<undefined>;
361
361
  readonly id: import("valibot").NumberSchema<undefined>;
@@ -410,7 +410,7 @@ export declare const marcoSDK: {
410
410
  readonly settings: Omit<import("valibot").ObjectSchema<{
411
411
  readonly firstName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
412
412
  readonly lastName: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>;
413
- }, undefined>, "entries" | "~types" | "~run" | "~standard"> & {
413
+ }, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
414
414
  readonly entries: {
415
415
  readonly firstName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
416
416
  readonly lastName: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<[import("valibot").StringSchema<undefined>, import("valibot").MaxLengthAction<string, 255, undefined>]>, undefined>, undefined>;
@@ -1,2 +1,3 @@
1
1
  export { accountUtils } from './accounts';
2
+ export { stringPatch } from './stringPatch';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -1 +1,2 @@
1
1
  export { accountUtils } from './accounts';
2
+ export { stringPatch } from './stringPatch';
@@ -0,0 +1,2 @@
1
+ export { stringPatch } from './stringPatch';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/stringPatch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1 @@
1
+ export { stringPatch } from './stringPatch';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.170",
3
+ "version": "2.0.171",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",