@marcoappio/marco-config 2.0.490 → 2.0.492
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/zero/index.d.ts +28 -46
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/mutatorSchemas/index.d.ts +27 -45
- package/dist/zero/mutatorSchemas/index.d.ts.map +1 -1
- package/dist/zero/mutatorSchemas/thread.d.ts +27 -45
- package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -1
- package/dist/zero/mutatorSchemas/thread.js +12 -20
- package/dist/zero/mutators/accountMutators/accountMutators.d.ts +1 -5
- package/dist/zero/mutators/accountMutators/accountMutators.d.ts.map +1 -1
- package/dist/zero/mutators/accountMutators/accountMutators.js +1 -10
- package/dist/zero/mutators/accountMutators/accountMutators.test.js +4 -22
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts +1 -5
- package/dist/zero/mutators/draftMutators/draftMutators.d.ts.map +1 -1
- package/dist/zero/mutators/draftMutators/draftMutators.js +5 -16
- package/dist/zero/mutators/mutators.d.ts +3 -14
- package/dist/zero/mutators/mutators.d.ts.map +1 -1
- package/dist/zero/mutators/mutators.js +5 -5
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts +1 -5
- package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
- package/dist/zero/mutators/threadMutators/threadMutators.js +130 -122
- package/dist/zero/mutators/threadMutators/threadMutators.test.js +14 -14
- package/dist/zero/mutators/userMutators/userMutators.d.ts +1 -5
- package/dist/zero/mutators/userMutators/userMutators.d.ts.map +1 -1
- package/dist/zero/mutators/userMutators/userMutators.js +1 -4
- package/package.json +1 -1
package/dist/zero/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const marcoZero: {
|
|
2
|
-
readonly createMutators: (authData?: import("./mutators/mutators").AuthData
|
|
2
|
+
readonly createMutators: (authData?: import("./mutators/mutators").AuthData) => import("./mutators").MarcoZeroMutators;
|
|
3
3
|
readonly mutatorSchemas: {
|
|
4
4
|
readonly account: {
|
|
5
5
|
readonly createAccount: {
|
|
@@ -230,87 +230,69 @@ export declare const marcoZero: {
|
|
|
230
230
|
readonly thread: {
|
|
231
231
|
readonly addLabel: {
|
|
232
232
|
readonly delta: import("valibot").ObjectSchema<{
|
|
233
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
234
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
235
|
+
}, undefined>, undefined>;
|
|
233
236
|
readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
234
|
-
readonly sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
235
|
-
readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
236
|
-
readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
237
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
238
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
239
|
-
}, undefined>, undefined>, undefined>;
|
|
240
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
241
237
|
}, undefined>;
|
|
242
238
|
};
|
|
243
239
|
readonly delete: {
|
|
244
240
|
readonly delta: import("valibot").ObjectSchema<{
|
|
245
|
-
readonly
|
|
241
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
242
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
243
|
+
}, undefined>, undefined>;
|
|
246
244
|
}, undefined>;
|
|
247
245
|
};
|
|
248
246
|
readonly removeLabel: {
|
|
249
247
|
readonly delta: import("valibot").ObjectSchema<{
|
|
248
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
249
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
250
|
+
}, undefined>, undefined>;
|
|
250
251
|
readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
251
|
-
readonly sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
252
|
-
readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
253
|
-
readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
254
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
255
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
256
|
-
}, undefined>, undefined>, undefined>;
|
|
257
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
258
252
|
}, undefined>;
|
|
259
253
|
};
|
|
260
254
|
readonly setArchive: {
|
|
261
255
|
readonly delta: import("valibot").ObjectSchema<{
|
|
262
|
-
readonly
|
|
263
|
-
readonly
|
|
264
|
-
|
|
265
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
266
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
267
|
-
}, undefined>, undefined>, undefined>;
|
|
268
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
256
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
257
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
258
|
+
}, undefined>, undefined>;
|
|
269
259
|
}, undefined>;
|
|
270
260
|
};
|
|
271
261
|
readonly setFlagged: {
|
|
272
262
|
readonly delta: import("valibot").ObjectSchema<{
|
|
263
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
264
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
265
|
+
}, undefined>, undefined>;
|
|
273
266
|
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
274
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
275
267
|
}, undefined>;
|
|
276
268
|
};
|
|
277
269
|
readonly setInbox: {
|
|
278
270
|
readonly delta: import("valibot").ObjectSchema<{
|
|
279
|
-
readonly
|
|
280
|
-
readonly
|
|
281
|
-
|
|
282
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
283
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
284
|
-
}, undefined>, undefined>, undefined>;
|
|
285
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
271
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
272
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
273
|
+
}, undefined>, undefined>;
|
|
286
274
|
}, undefined>;
|
|
287
275
|
};
|
|
288
276
|
readonly setSeen: {
|
|
289
277
|
readonly delta: import("valibot").ObjectSchema<{
|
|
278
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
279
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
280
|
+
}, undefined>, undefined>;
|
|
290
281
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
291
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
292
282
|
}, undefined>;
|
|
293
283
|
};
|
|
294
284
|
readonly setSpam: {
|
|
295
285
|
readonly delta: import("valibot").ObjectSchema<{
|
|
296
|
-
readonly
|
|
297
|
-
readonly
|
|
298
|
-
|
|
299
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
300
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
301
|
-
}, undefined>, undefined>, undefined>;
|
|
302
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
286
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
287
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
288
|
+
}, undefined>, undefined>;
|
|
303
289
|
}, undefined>;
|
|
304
290
|
};
|
|
305
291
|
readonly setTrash: {
|
|
306
292
|
readonly delta: import("valibot").ObjectSchema<{
|
|
307
|
-
readonly
|
|
308
|
-
readonly
|
|
309
|
-
|
|
310
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
311
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
312
|
-
}, undefined>, undefined>, undefined>;
|
|
313
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
293
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
294
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
295
|
+
}, undefined>, undefined>;
|
|
314
296
|
}, undefined>;
|
|
315
297
|
};
|
|
316
298
|
};
|
package/dist/zero/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAU,CAAA;AAEV,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -228,87 +228,69 @@ export declare const zeroMutatorSchemas: {
|
|
|
228
228
|
readonly thread: {
|
|
229
229
|
readonly addLabel: {
|
|
230
230
|
readonly delta: import("valibot").ObjectSchema<{
|
|
231
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
232
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
233
|
+
}, undefined>, undefined>;
|
|
231
234
|
readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
232
|
-
readonly sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
233
|
-
readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
234
|
-
readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
235
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
236
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
237
|
-
}, undefined>, undefined>, undefined>;
|
|
238
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
239
235
|
}, undefined>;
|
|
240
236
|
};
|
|
241
237
|
readonly delete: {
|
|
242
238
|
readonly delta: import("valibot").ObjectSchema<{
|
|
243
|
-
readonly
|
|
239
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
240
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
241
|
+
}, undefined>, undefined>;
|
|
244
242
|
}, undefined>;
|
|
245
243
|
};
|
|
246
244
|
readonly removeLabel: {
|
|
247
245
|
readonly delta: import("valibot").ObjectSchema<{
|
|
246
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
247
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
248
|
+
}, undefined>, undefined>;
|
|
248
249
|
readonly labelPath: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
249
|
-
readonly sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
|
|
250
|
-
readonly labelId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
251
|
-
readonly threadMessageId: import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
252
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
253
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
254
|
-
}, undefined>, undefined>, undefined>;
|
|
255
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
256
250
|
}, undefined>;
|
|
257
251
|
};
|
|
258
252
|
readonly setArchive: {
|
|
259
253
|
readonly delta: import("valibot").ObjectSchema<{
|
|
260
|
-
readonly
|
|
261
|
-
readonly
|
|
262
|
-
|
|
263
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
264
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
265
|
-
}, undefined>, undefined>, undefined>;
|
|
266
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
254
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
255
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
256
|
+
}, undefined>, undefined>;
|
|
267
257
|
}, undefined>;
|
|
268
258
|
};
|
|
269
259
|
readonly setFlagged: {
|
|
270
260
|
readonly delta: import("valibot").ObjectSchema<{
|
|
261
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
262
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
263
|
+
}, undefined>, undefined>;
|
|
271
264
|
readonly flagged: import("valibot").NonOptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
272
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
273
265
|
}, undefined>;
|
|
274
266
|
};
|
|
275
267
|
readonly setInbox: {
|
|
276
268
|
readonly delta: import("valibot").ObjectSchema<{
|
|
277
|
-
readonly
|
|
278
|
-
readonly
|
|
279
|
-
|
|
280
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
281
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
282
|
-
}, undefined>, undefined>, undefined>;
|
|
283
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
269
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
270
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
271
|
+
}, undefined>, undefined>;
|
|
284
272
|
}, undefined>;
|
|
285
273
|
};
|
|
286
274
|
readonly setSeen: {
|
|
287
275
|
readonly delta: import("valibot").ObjectSchema<{
|
|
276
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
277
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
278
|
+
}, undefined>, undefined>;
|
|
288
279
|
readonly seen: import("valibot").BooleanSchema<undefined>;
|
|
289
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
290
280
|
}, undefined>;
|
|
291
281
|
};
|
|
292
282
|
readonly setSpam: {
|
|
293
283
|
readonly delta: import("valibot").ObjectSchema<{
|
|
294
|
-
readonly
|
|
295
|
-
readonly
|
|
296
|
-
|
|
297
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
298
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
299
|
-
}, undefined>, undefined>, undefined>;
|
|
300
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
284
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
285
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
286
|
+
}, undefined>, undefined>;
|
|
301
287
|
}, undefined>;
|
|
302
288
|
};
|
|
303
289
|
readonly setTrash: {
|
|
304
290
|
readonly delta: import("valibot").ObjectSchema<{
|
|
305
|
-
readonly
|
|
306
|
-
readonly
|
|
307
|
-
|
|
308
|
-
readonly uid: import("valibot").NumberSchema<undefined>;
|
|
309
|
-
readonly uidValidity: import("valibot").NumberSchema<undefined>;
|
|
310
|
-
}, undefined>, undefined>, undefined>;
|
|
311
|
-
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
291
|
+
readonly accounts: import("valibot").RecordSchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, import("valibot").ObjectSchema<{
|
|
292
|
+
readonly threadIds: import("valibot").ArraySchema<import("valibot").NonOptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").NonEmptyAction<string, undefined>, import("valibot").MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
293
|
+
}, undefined>, undefined>;
|
|
312
294
|
}, undefined>;
|
|
313
295
|
};
|
|
314
296
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrB,CAAA;AAEV,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA"}
|
|
@@ -2,87 +2,69 @@ import * as v from 'valibot';
|
|
|
2
2
|
export declare const threadMutatorSchemas: {
|
|
3
3
|
readonly addLabel: {
|
|
4
4
|
readonly delta: v.ObjectSchema<{
|
|
5
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
6
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
7
|
+
}, undefined>, undefined>;
|
|
5
8
|
readonly labelPath: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
6
|
-
readonly sourceLocations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
7
|
-
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
-
readonly threadMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
|
-
readonly uid: v.NumberSchema<undefined>;
|
|
10
|
-
readonly uidValidity: v.NumberSchema<undefined>;
|
|
11
|
-
}, undefined>, undefined>, undefined>;
|
|
12
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
13
9
|
}, undefined>;
|
|
14
10
|
};
|
|
15
11
|
readonly delete: {
|
|
16
12
|
readonly delta: v.ObjectSchema<{
|
|
17
|
-
readonly
|
|
13
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
14
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
15
|
+
}, undefined>, undefined>;
|
|
18
16
|
}, undefined>;
|
|
19
17
|
};
|
|
20
18
|
readonly removeLabel: {
|
|
21
19
|
readonly delta: v.ObjectSchema<{
|
|
20
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
21
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
22
|
+
}, undefined>, undefined>;
|
|
22
23
|
readonly labelPath: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
23
|
-
readonly sourceLocations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
24
|
-
readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
25
|
-
readonly threadMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
26
|
-
readonly uid: v.NumberSchema<undefined>;
|
|
27
|
-
readonly uidValidity: v.NumberSchema<undefined>;
|
|
28
|
-
}, undefined>, undefined>, undefined>;
|
|
29
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
30
24
|
}, undefined>;
|
|
31
25
|
};
|
|
32
26
|
readonly setArchive: {
|
|
33
27
|
readonly delta: v.ObjectSchema<{
|
|
34
|
-
readonly
|
|
35
|
-
readonly
|
|
36
|
-
|
|
37
|
-
readonly uid: v.NumberSchema<undefined>;
|
|
38
|
-
readonly uidValidity: v.NumberSchema<undefined>;
|
|
39
|
-
}, undefined>, undefined>, undefined>;
|
|
40
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
28
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
29
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
30
|
+
}, undefined>, undefined>;
|
|
41
31
|
}, undefined>;
|
|
42
32
|
};
|
|
43
33
|
readonly setFlagged: {
|
|
44
34
|
readonly delta: v.ObjectSchema<{
|
|
35
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
36
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
37
|
+
}, undefined>, undefined>;
|
|
45
38
|
readonly flagged: v.NonOptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
46
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
47
39
|
}, undefined>;
|
|
48
40
|
};
|
|
49
41
|
readonly setInbox: {
|
|
50
42
|
readonly delta: v.ObjectSchema<{
|
|
51
|
-
readonly
|
|
52
|
-
readonly
|
|
53
|
-
|
|
54
|
-
readonly uid: v.NumberSchema<undefined>;
|
|
55
|
-
readonly uidValidity: v.NumberSchema<undefined>;
|
|
56
|
-
}, undefined>, undefined>, undefined>;
|
|
57
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
43
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
44
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
45
|
+
}, undefined>, undefined>;
|
|
58
46
|
}, undefined>;
|
|
59
47
|
};
|
|
60
48
|
readonly setSeen: {
|
|
61
49
|
readonly delta: v.ObjectSchema<{
|
|
50
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
51
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
52
|
+
}, undefined>, undefined>;
|
|
62
53
|
readonly seen: v.BooleanSchema<undefined>;
|
|
63
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
64
54
|
}, undefined>;
|
|
65
55
|
};
|
|
66
56
|
readonly setSpam: {
|
|
67
57
|
readonly delta: v.ObjectSchema<{
|
|
68
|
-
readonly
|
|
69
|
-
readonly
|
|
70
|
-
|
|
71
|
-
readonly uid: v.NumberSchema<undefined>;
|
|
72
|
-
readonly uidValidity: v.NumberSchema<undefined>;
|
|
73
|
-
}, undefined>, undefined>, undefined>;
|
|
74
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
58
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
59
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
60
|
+
}, undefined>, undefined>;
|
|
75
61
|
}, undefined>;
|
|
76
62
|
};
|
|
77
63
|
readonly setTrash: {
|
|
78
64
|
readonly delta: v.ObjectSchema<{
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
81
|
-
|
|
82
|
-
readonly uid: v.NumberSchema<undefined>;
|
|
83
|
-
readonly uidValidity: v.NumberSchema<undefined>;
|
|
84
|
-
}, undefined>, undefined>, undefined>;
|
|
85
|
-
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
65
|
+
readonly accounts: v.RecordSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, v.ObjectSchema<{
|
|
66
|
+
readonly threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
67
|
+
}, undefined>, undefined>;
|
|
86
68
|
}, undefined>;
|
|
87
69
|
};
|
|
88
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"thread.d.ts","sourceRoot":"","sources":["../../../src/zero/mutatorSchemas/thread.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAoB5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCvB,CAAA"}
|
|
@@ -1,55 +1,47 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
2
|
import { marcoSchemas } from '../../schemas';
|
|
3
|
-
const
|
|
4
|
-
threadIds: v.array(marcoSchemas.string.required()),
|
|
5
|
-
});
|
|
6
|
-
const imapSourceLocationSchema = v.object({
|
|
7
|
-
labelId: marcoSchemas.string.required(),
|
|
8
|
-
threadMessageId: marcoSchemas.string.required(),
|
|
9
|
-
uid: v.number(),
|
|
10
|
-
uidValidity: v.number(),
|
|
11
|
-
});
|
|
12
|
-
const specialUseLabelChangeDeltaSchema = v.object({
|
|
13
|
-
sourceLocations: v.optional(v.array(imapSourceLocationSchema)),
|
|
3
|
+
const accountsSchema = v.record(marcoSchemas.string.required(), v.object({
|
|
14
4
|
threadIds: v.array(marcoSchemas.string.required()),
|
|
5
|
+
}));
|
|
6
|
+
const baseThreadSchema = v.object({
|
|
7
|
+
accounts: accountsSchema,
|
|
15
8
|
});
|
|
16
9
|
const threadChangeLabelSchema = v.object({
|
|
10
|
+
accounts: accountsSchema,
|
|
17
11
|
labelPath: marcoSchemas.string.required(),
|
|
18
|
-
sourceLocations: v.optional(v.array(imapSourceLocationSchema)),
|
|
19
|
-
threadIds: v.array(marcoSchemas.string.required()),
|
|
20
12
|
});
|
|
21
13
|
export const threadMutatorSchemas = {
|
|
22
14
|
addLabel: {
|
|
23
15
|
delta: threadChangeLabelSchema,
|
|
24
16
|
},
|
|
25
17
|
delete: {
|
|
26
|
-
delta:
|
|
18
|
+
delta: baseThreadSchema,
|
|
27
19
|
},
|
|
28
20
|
removeLabel: {
|
|
29
21
|
delta: threadChangeLabelSchema,
|
|
30
22
|
},
|
|
31
23
|
setArchive: {
|
|
32
|
-
delta:
|
|
24
|
+
delta: baseThreadSchema,
|
|
33
25
|
},
|
|
34
26
|
setFlagged: {
|
|
35
27
|
delta: v.object({
|
|
28
|
+
accounts: accountsSchema,
|
|
36
29
|
flagged: v.nonOptional(v.boolean()),
|
|
37
|
-
threadIds: v.array(marcoSchemas.string.required()),
|
|
38
30
|
}),
|
|
39
31
|
},
|
|
40
32
|
setInbox: {
|
|
41
|
-
delta:
|
|
33
|
+
delta: baseThreadSchema,
|
|
42
34
|
},
|
|
43
35
|
setSeen: {
|
|
44
36
|
delta: v.object({
|
|
37
|
+
accounts: accountsSchema,
|
|
45
38
|
seen: v.boolean(),
|
|
46
|
-
threadIds: v.array(marcoSchemas.string.required()),
|
|
47
39
|
}),
|
|
48
40
|
},
|
|
49
41
|
setSpam: {
|
|
50
|
-
delta:
|
|
42
|
+
delta: baseThreadSchema,
|
|
51
43
|
},
|
|
52
44
|
setTrash: {
|
|
53
|
-
delta:
|
|
45
|
+
delta: baseThreadSchema,
|
|
54
46
|
},
|
|
55
47
|
};
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import type * as v from 'valibot';
|
|
2
1
|
import { type AuthData, type HandlerMap } from '../../../types';
|
|
3
2
|
import type { ZeroMutatorSchemas } from '../../../zero/mutatorSchemas';
|
|
4
|
-
export
|
|
5
|
-
[K in keyof ZeroMutatorSchemas['account']]?: (args: v.InferOutput<ZeroMutatorSchemas['account'][K]['delta']>) => Promise<void>;
|
|
6
|
-
};
|
|
7
|
-
export declare const createAccountMutators: (authData: AuthData | undefined, callbacks?: AccountMutatorCallbacks) => HandlerMap<ZeroMutatorSchemas["account"]>;
|
|
3
|
+
export declare const createAccountMutators: (authData: AuthData | undefined) => HandlerMap<ZeroMutatorSchemas["account"]>;
|
|
8
4
|
//# sourceMappingURL=accountMutators.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accountMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/accountMutators/accountMutators.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"accountMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/accountMutators/accountMutators.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAA;AACnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAE3E,eAAO,MAAM,qBAAqB,aAAc,QAAQ,GAAG,SAAS,KAAG,UAAU,CAAC,kBAAkB,CAAC,SAAS,CAAC,CA2G7G,CAAA"}
|