@marcoappio/marco-config 2.0.490 → 2.0.491

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.
@@ -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 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
+ 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 sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
263
- 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>;
264
- 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>;
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 sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
280
- 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>;
281
- 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>;
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 sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
297
- 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>;
298
- 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>;
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 sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
308
- 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>;
309
- 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>;
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
  }, und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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 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
+ 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 sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
261
- 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>;
262
- 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>;
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 sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
278
- 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>;
279
- 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>;
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 sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
295
- 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>;
296
- 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>;
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 sourceLocations: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").ObjectSchema<{
306
- 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>;
307
- 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>;
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrB,CAAA;AAEV,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA"}
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 threadIds: v.ArraySchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
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 sourceLocations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
35
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
36
- readonly threadMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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 sourceLocations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
52
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
53
- readonly threadMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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 sourceLocations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
69
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
70
- readonly threadMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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 sourceLocations: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
80
- readonly labelId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
81
- readonly threadMessageId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
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;AA0B5B,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCvB,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 threadIdsSchema = v.object({
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: threadIdsSchema,
18
+ delta: baseThreadSchema,
27
19
  },
28
20
  removeLabel: {
29
21
  delta: threadChangeLabelSchema,
30
22
  },
31
23
  setArchive: {
32
- delta: specialUseLabelChangeDeltaSchema,
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: specialUseLabelChangeDeltaSchema,
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: specialUseLabelChangeDeltaSchema,
42
+ delta: baseThreadSchema,
51
43
  },
52
44
  setTrash: {
53
- delta: specialUseLabelChangeDeltaSchema,
45
+ delta: baseThreadSchema,
54
46
  },
55
47
  };
@@ -1 +1 @@
1
- {"version":3,"file":"threadMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/threadMutators/threadMutators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAA;AAEnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,MAAM,MAAM,sBAAsB,GAAG;KAClC,CAAC,IAAI,MAAM,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAC1C,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,KAC1D,OAAO,CAAC,IAAI,CAAC;CACnB,CAAA;AAKD,eAAO,MAAM,cAAc,OACrB,WAAW,CAAC,eAAe,CAAC,YACtB,MAAM,oBACE,eAAe,KAChC,OAAO,CAAC,IAAI,CAyFd,CAAA;AAED,eAAO,MAAM,oBAAoB,cACpB,QAAQ,GAAG,SAAS,cACnB,sBAAsB,KACjC,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CA6OxC,CAAA"}
1
+ {"version":3,"file":"threadMutators.d.ts","sourceRoot":"","sources":["../../../../src/zero/mutators/threadMutators/threadMutators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AAEjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAiB,MAAM,qBAAqB,CAAA;AAEnF,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AAC3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE,MAAM,MAAM,sBAAsB,GAAG;KAClC,CAAC,IAAI,MAAM,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAC1C,IAAI,EAAE,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,KAC1D,OAAO,CAAC,IAAI,CAAC;CACnB,CAAA;AAKD,eAAO,MAAM,cAAc,OACrB,WAAW,CAAC,eAAe,CAAC,YACtB,MAAM,oBACE,eAAe,KAChC,OAAO,CAAC,IAAI,CAyFd,CAAA;AAED,eAAO,MAAM,oBAAoB,cACpB,QAAQ,GAAG,SAAS,cACnB,sBAAsB,KACjC,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CA4PxC,CAAA"}
@@ -72,144 +72,157 @@ export const setSystemLabel = async (tx, threadId, targetSpecialUse) => {
72
72
  };
73
73
  export const createThreadMutators = (_authData, callbacks) => ({
74
74
  addLabel: async (tx, args) => {
75
- for (const threadId of args.threadIds) {
76
- const thread = await tx.query.thread.where('id', threadId).one().run();
77
- if (!thread) {
78
- throw new Error(MutationError.ENTITY_NOT_FOUND);
79
- }
80
- const [label, messages] = await Promise.all([
81
- tx.query.accountLabel.where('accountId', thread.accountId).where('path', args.labelPath).one().run(),
82
- tx.query.threadMessage.where('threadId', threadId).run(),
83
- ]);
75
+ for (const [accountId, { threadIds }] of Object.entries(args.accounts)) {
76
+ const label = await tx.query.accountLabel.where('accountId', accountId).where('path', args.labelPath).one().run();
84
77
  if (!label) {
85
78
  throw new Error(MutationError.ENTITY_NOT_FOUND);
86
79
  }
87
- const currentLabelIds = new Set(threadsUtils.parseLabelIdList(thread.labelIdList));
88
- if (!currentLabelIds.has(label.id)) {
89
- await Promise.all([
90
- tx.mutate.threadByLabel.insert({
80
+ for (const threadId of threadIds) {
81
+ const [thread, messages] = await Promise.all([
82
+ tx.query.thread.where('id', threadId).one().run(),
83
+ tx.query.threadMessage.where('threadId', threadId).run(),
84
+ ]);
85
+ if (!thread) {
86
+ throw new Error(MutationError.ENTITY_NOT_FOUND);
87
+ }
88
+ const currentLabelIds = new Set(threadsUtils.parseLabelIdList(thread.labelIdList));
89
+ if (!currentLabelIds.has(label.id)) {
90
+ await Promise.all([
91
+ tx.mutate.threadByLabel.insert({
92
+ labelId: label.id,
93
+ latestMessageDate: thread.latestMessageDate,
94
+ threadId,
95
+ }),
96
+ ...(thread.seen === false
97
+ ? [
98
+ tx.mutate.accountLabel.update({
99
+ id: label.id,
100
+ unreadCount: (label.unreadCount ?? 0) + 1,
101
+ }),
102
+ ]
103
+ : []),
104
+ ]);
105
+ }
106
+ const existingChecks = await Promise.all(messages.map(x => tx.query.threadLabel.where('threadMessageId', x.id).where('labelId', label.id).one().run()));
107
+ const messagesToInsert = messages.filter((_, i) => !existingChecks[i]);
108
+ const baseTimestamp = Date.now();
109
+ if (messagesToInsert.length > 0) {
110
+ await Promise.all(messagesToInsert.map((x, i) => tx.mutate.threadLabel.insert({
111
+ accountId,
91
112
  labelId: label.id,
92
- latestMessageDate: thread.latestMessageDate,
113
+ lastSyncedAt: 0,
93
114
  threadId,
94
- }),
95
- ...(thread.seen === false
96
- ? [
97
- tx.mutate.accountLabel.update({
98
- id: label.id,
99
- unreadCount: (label.unreadCount ?? 0) + 1,
100
- }),
101
- ]
102
- : []),
103
- ]);
104
- }
105
- const existingChecks = await Promise.all(messages.map(message => tx.query.threadLabel.where('threadMessageId', message.id).where('labelId', label.id).one().run()));
106
- const messagesToInsert = messages.filter((_, i) => !existingChecks[i]);
107
- const baseTimestamp = Date.now();
108
- if (messagesToInsert.length > 0) {
109
- await Promise.all(messagesToInsert.map((message, i) => tx.mutate.threadLabel.insert({
110
- accountId: thread.accountId,
111
- labelId: label.id,
112
- lastSyncedAt: 0,
113
- threadId,
114
- threadMessageId: message.id,
115
- uid: -(baseTimestamp + i),
116
- uidValidity: label.uidValidity ?? 0,
117
- })));
115
+ threadMessageId: x.id,
116
+ uid: -(baseTimestamp + i),
117
+ uidValidity: label.uidValidity ?? 0,
118
+ })));
119
+ }
120
+ currentLabelIds.add(label.id);
121
+ await tx.mutate.thread.update({
122
+ id: threadId,
123
+ labelIdList: buildLabelIdList([...currentLabelIds]),
124
+ });
118
125
  }
119
- currentLabelIds.add(label.id);
120
- await tx.mutate.thread.update({
121
- id: threadId,
122
- labelIdList: buildLabelIdList([...currentLabelIds]),
123
- });
124
126
  }
125
127
  callbacks?.addLabel?.(args);
126
128
  },
127
129
  delete: async (tx, args) => {
128
- for (const threadId of args.threadIds) {
129
- const thread = await tx.query.thread.where('id', threadId).one().run();
130
- if (thread) {
131
- if (thread.seen === false) {
132
- const labelIds = threadsUtils.parseLabelIdList(thread.labelIdList);
133
- if (labelIds.length > 0) {
134
- const labels = await tx.query.accountLabel.where('id', 'IN', labelIds).run();
135
- await Promise.all(labels.map(label => tx.mutate.accountLabel.update({
136
- id: label.id,
137
- unreadCount: Math.max(0, (label.unreadCount ?? 0) - 1),
138
- })));
130
+ for (const [, { threadIds }] of Object.entries(args.accounts)) {
131
+ for (const threadId of threadIds) {
132
+ const thread = await tx.query.thread.where('id', threadId).one().run();
133
+ if (thread) {
134
+ if (thread.seen === false) {
135
+ const labelIds = threadsUtils.parseLabelIdList(thread.labelIdList);
136
+ if (labelIds.length > 0) {
137
+ const labels = await tx.query.accountLabel.where('id', 'IN', labelIds).run();
138
+ await Promise.all(labels.map(x => tx.mutate.accountLabel.update({
139
+ id: x.id,
140
+ unreadCount: Math.max(0, (x.unreadCount ?? 0) - 1),
141
+ })));
142
+ }
139
143
  }
144
+ await tx.mutate.thread.delete({
145
+ id: threadId,
146
+ });
140
147
  }
141
- await tx.mutate.thread.delete({
142
- id: threadId,
143
- });
144
148
  }
145
149
  }
146
150
  callbacks?.delete?.(args);
147
151
  },
148
152
  removeLabel: async (tx, args) => {
149
- for (const threadId of args.threadIds) {
150
- const thread = await tx.query.thread.where('id', threadId).one().run();
151
- if (!thread) {
152
- throw new Error(MutationError.ENTITY_NOT_FOUND);
153
- }
154
- const [label, messages] = await Promise.all([
155
- tx.query.accountLabel.where('accountId', thread.accountId).where('path', args.labelPath).one().run(),
156
- tx.query.threadMessage.where('threadId', threadId).run(),
157
- ]);
153
+ for (const [accountId, { threadIds }] of Object.entries(args.accounts)) {
154
+ const label = await tx.query.accountLabel.where('accountId', accountId).where('path', args.labelPath).one().run();
158
155
  if (!label) {
159
156
  throw new Error(MutationError.ENTITY_NOT_FOUND);
160
157
  }
161
- const currentLabelIds = new Set(threadsUtils.parseLabelIdList(thread.labelIdList));
162
- if (!currentLabelIds.has(label.id)) {
163
- throw new Error(MutationError.ENTITY_NOT_FOUND);
158
+ for (const threadId of threadIds) {
159
+ const [thread, messages] = await Promise.all([
160
+ tx.query.thread.where('id', threadId).one().run(),
161
+ tx.query.threadMessage.where('threadId', threadId).run(),
162
+ ]);
163
+ if (!thread) {
164
+ throw new Error(MutationError.ENTITY_NOT_FOUND);
165
+ }
166
+ const currentLabelIds = new Set(threadsUtils.parseLabelIdList(thread.labelIdList));
167
+ if (!currentLabelIds.has(label.id)) {
168
+ throw new Error(MutationError.ENTITY_NOT_FOUND);
169
+ }
170
+ currentLabelIds.delete(label.id);
171
+ await Promise.all([
172
+ ...messages.map(x => tx.mutate.threadLabel.delete({
173
+ accountId,
174
+ labelId: label.id,
175
+ threadMessageId: x.id,
176
+ })),
177
+ tx.mutate.threadByLabel.delete({
178
+ labelId: label.id,
179
+ threadId,
180
+ }),
181
+ ...(thread.seen === false
182
+ ? [
183
+ tx.mutate.accountLabel.update({
184
+ id: label.id,
185
+ unreadCount: Math.max(0, (label.unreadCount ?? 0) - 1),
186
+ }),
187
+ ]
188
+ : []),
189
+ tx.mutate.thread.update({
190
+ id: threadId,
191
+ labelIdList: buildLabelIdList([...currentLabelIds]),
192
+ }),
193
+ ]);
164
194
  }
165
- currentLabelIds.delete(label.id);
166
- await Promise.all([
167
- ...messages.map(message => tx.mutate.threadLabel.delete({
168
- accountId: thread.accountId,
169
- labelId: label.id,
170
- threadMessageId: message.id,
171
- })),
172
- tx.mutate.threadByLabel.delete({
173
- labelId: label.id,
174
- threadId,
175
- }),
176
- ...(thread.seen === false
177
- ? [
178
- tx.mutate.accountLabel.update({
179
- id: label.id,
180
- unreadCount: Math.max(0, (label.unreadCount ?? 0) - 1),
181
- }),
182
- ]
183
- : []),
184
- tx.mutate.thread.update({
185
- id: threadId,
186
- labelIdList: buildLabelIdList([...currentLabelIds]),
187
- }),
188
- ]);
189
195
  }
190
196
  callbacks?.removeLabel?.(args);
191
197
  },
192
198
  setArchive: async (tx, args) => {
193
- for (const threadId of args.threadIds) {
194
- await setSystemLabel(tx, threadId, 'ARCHIVE');
199
+ for (const [, { threadIds }] of Object.entries(args.accounts)) {
200
+ for (const threadId of threadIds) {
201
+ await setSystemLabel(tx, threadId, 'ARCHIVE');
202
+ }
195
203
  }
196
204
  callbacks?.setArchive?.(args);
197
205
  },
198
206
  setFlagged: async (tx, args) => {
199
- await Promise.all(args.threadIds.map(threadId => tx.mutate.thread.update({
200
- flagged: args.flagged,
201
- id: threadId,
202
- })));
207
+ for (const [, { threadIds }] of Object.entries(args.accounts)) {
208
+ await Promise.all(threadIds.map(threadId => tx.mutate.thread.update({
209
+ flagged: args.flagged,
210
+ id: threadId,
211
+ })));
212
+ }
203
213
  callbacks?.setFlagged?.(args);
204
214
  },
205
215
  setInbox: async (tx, args) => {
206
- for (const threadId of args.threadIds) {
207
- await setSystemLabel(tx, threadId, 'INBOX');
216
+ for (const [, { threadIds }] of Object.entries(args.accounts)) {
217
+ for (const threadId of threadIds) {
218
+ await setSystemLabel(tx, threadId, 'INBOX');
219
+ }
208
220
  }
209
221
  callbacks?.setInbox?.(args);
210
222
  },
211
223
  setSeen: async (tx, args) => {
212
- const threads = await tx.query.thread.where('id', 'IN', args.threadIds).run();
224
+ const allThreadIds = Object.values(args.accounts).flatMap(x => x.threadIds);
225
+ const threads = await tx.query.thread.where('id', 'IN', allThreadIds).run();
213
226
  const labelCounts = new Map();
214
227
  for (const thread of threads) {
215
228
  if (thread.seen !== args.seen) {
@@ -222,27 +235,31 @@ export const createThreadMutators = (_authData, callbacks) => ({
222
235
  const labels = await tx.query.accountLabel.where('id', 'IN', [...labelCounts.keys()]).run();
223
236
  const delta = args.seen ? -1 : 1;
224
237
  await Promise.all(labels
225
- .filter(label => labelCounts.has(label.id))
226
- .map(label => tx.mutate.accountLabel.update({
227
- id: label.id,
228
- unreadCount: Math.max(0, (label.unreadCount ?? 0) + delta * (labelCounts.get(label.id) ?? 0)),
238
+ .filter(x => labelCounts.has(x.id))
239
+ .map(x => tx.mutate.accountLabel.update({
240
+ id: x.id,
241
+ unreadCount: Math.max(0, (x.unreadCount ?? 0) + delta * (labelCounts.get(x.id) ?? 0)),
229
242
  })));
230
243
  }
231
- await Promise.all(args.threadIds.map(threadId => tx.mutate.thread.update({
244
+ await Promise.all(allThreadIds.map(threadId => tx.mutate.thread.update({
232
245
  id: threadId,
233
246
  seen: args.seen,
234
247
  })));
235
248
  callbacks?.setSeen?.(args);
236
249
  },
237
250
  setSpam: async (tx, args) => {
238
- for (const threadId of args.threadIds) {
239
- await setSystemLabel(tx, threadId, 'SPAM');
251
+ for (const [, { threadIds }] of Object.entries(args.accounts)) {
252
+ for (const threadId of threadIds) {
253
+ await setSystemLabel(tx, threadId, 'SPAM');
254
+ }
240
255
  }
241
256
  callbacks?.setSpam?.(args);
242
257
  },
243
258
  setTrash: async (tx, args) => {
244
- for (const threadId of args.threadIds) {
245
- await setSystemLabel(tx, threadId, 'TRASH');
259
+ for (const [, { threadIds }] of Object.entries(args.accounts)) {
260
+ for (const threadId of threadIds) {
261
+ await setSystemLabel(tx, threadId, 'TRASH');
262
+ }
246
263
  }
247
264
  callbacks?.setTrash?.(args);
248
265
  },
@@ -79,8 +79,8 @@ describe('threadMutators', () => {
79
79
  };
80
80
  const mutators = createMutators();
81
81
  await mutators.thread.addLabel(transaction, {
82
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
82
83
  labelPath: 'Work',
83
- threadIds: ['test-thread-id-1'],
84
84
  });
85
85
  expect(threadLabelInsert).toHaveBeenCalledTimes(2);
86
86
  expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
@@ -139,7 +139,7 @@ describe('threadMutators', () => {
139
139
  };
140
140
  const mutators = createMutators();
141
141
  await mutators.thread.delete(transaction, {
142
- threadIds: ['test-thread-id-1', 'test-thread-id-2'],
142
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1', 'test-thread-id-2'] } },
143
143
  });
144
144
  expect(threadDelete).toHaveBeenCalledTimes(2);
145
145
  expect(threadDelete).toHaveBeenCalledWith({ id: 'test-thread-id-1' });
@@ -174,7 +174,7 @@ describe('threadMutators', () => {
174
174
  };
175
175
  const mutators = createMutators();
176
176
  await mutators.thread.delete(transaction, {
177
- threadIds: ['test-thread-id-1'],
177
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
178
178
  });
179
179
  expect(threadDelete).toHaveBeenCalledTimes(1);
180
180
  expect(labelUpdate).not.toHaveBeenCalled();
@@ -198,7 +198,7 @@ describe('threadMutators', () => {
198
198
  };
199
199
  const mutators = createMutators();
200
200
  await mutators.thread.delete(transaction, {
201
- threadIds: ['non-existent-thread'],
201
+ accounts: { 'test-account-id-1': { threadIds: ['non-existent-thread'] } },
202
202
  });
203
203
  expect(threadDelete).not.toHaveBeenCalled();
204
204
  });
@@ -257,8 +257,8 @@ describe('threadMutators', () => {
257
257
  };
258
258
  const mutators = createMutators();
259
259
  await mutators.thread.removeLabel(transaction, {
260
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
260
261
  labelPath: 'Work',
261
- threadIds: ['test-thread-id-1'],
262
262
  });
263
263
  expect(threadLabelDelete).toHaveBeenCalledTimes(2);
264
264
  expect(threadLabelDelete).toHaveBeenCalledWith({
@@ -341,7 +341,7 @@ describe('threadMutators', () => {
341
341
  };
342
342
  const mutators = createMutators();
343
343
  await mutators.thread.setArchive(transaction, {
344
- threadIds: ['test-thread-id-1'],
344
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
345
345
  });
346
346
  expect(threadLabelDelete).toHaveBeenCalledWith({
347
347
  accountId: 'test-account-id-1',
@@ -373,8 +373,8 @@ describe('threadMutators', () => {
373
373
  };
374
374
  const mutators = createMutators();
375
375
  await mutators.thread.setFlagged(transaction, {
376
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
376
377
  flagged: true,
377
- threadIds: ['test-thread-id-1'],
378
378
  });
379
379
  expect(threadUpdate).toHaveBeenCalledWith({
380
380
  flagged: true,
@@ -446,7 +446,7 @@ describe('threadMutators', () => {
446
446
  };
447
447
  const mutators = createMutators();
448
448
  await mutators.thread.setInbox(transaction, {
449
- threadIds: ['test-thread-id-1'],
449
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
450
450
  });
451
451
  expect(threadLabelDelete).toHaveBeenCalledWith({
452
452
  accountId: 'test-account-id-1',
@@ -498,8 +498,8 @@ describe('threadMutators', () => {
498
498
  };
499
499
  const mutators = createMutators();
500
500
  await mutators.thread.setSeen(transaction, {
501
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1', 'test-thread-id-2'] } },
501
502
  seen: true,
502
- threadIds: ['test-thread-id-1', 'test-thread-id-2'],
503
503
  });
504
504
  expect(threadUpdate).toHaveBeenCalledTimes(2);
505
505
  expect(labelUpdate).toHaveBeenCalledWith({
@@ -536,8 +536,8 @@ describe('threadMutators', () => {
536
536
  };
537
537
  const mutators = createMutators();
538
538
  await mutators.thread.setSeen(transaction, {
539
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
539
540
  seen: false,
540
- threadIds: ['test-thread-id-1'],
541
541
  });
542
542
  expect(threadUpdate).toHaveBeenCalledTimes(1);
543
543
  expect(labelUpdate).toHaveBeenCalledWith({
@@ -568,8 +568,8 @@ describe('threadMutators', () => {
568
568
  };
569
569
  const mutators = createMutators();
570
570
  await mutators.thread.setSeen(transaction, {
571
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
571
572
  seen: true,
572
- threadIds: ['test-thread-id-1'],
573
573
  });
574
574
  expect(threadUpdate).toHaveBeenCalledTimes(1);
575
575
  expect(labelUpdate).not.toHaveBeenCalled();
@@ -597,8 +597,8 @@ describe('threadMutators', () => {
597
597
  };
598
598
  const mutators = createMutators();
599
599
  await mutators.thread.setSeen(transaction, {
600
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
600
601
  seen: true,
601
- threadIds: ['test-thread-id-1'],
602
602
  });
603
603
  expect(threadUpdate).toHaveBeenCalledTimes(1);
604
604
  expect(labelUpdate).not.toHaveBeenCalled();
@@ -664,7 +664,7 @@ describe('threadMutators', () => {
664
664
  };
665
665
  const mutators = createMutators();
666
666
  await mutators.thread.setSpam(transaction, {
667
- threadIds: ['test-thread-id-1'],
667
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
668
668
  });
669
669
  expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
670
670
  accountId: 'test-account-id-1',
@@ -738,7 +738,7 @@ describe('threadMutators', () => {
738
738
  };
739
739
  const mutators = createMutators();
740
740
  await mutators.thread.setTrash(transaction, {
741
- threadIds: ['test-thread-id-1'],
741
+ accounts: { 'test-account-id-1': { threadIds: ['test-thread-id-1'] } },
742
742
  });
743
743
  expect(threadLabelInsert).toHaveBeenCalledWith(expect.objectContaining({
744
744
  accountId: 'test-account-id-1',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marcoappio/marco-config",
3
- "version": "2.0.490",
3
+ "version": "2.0.491",
4
4
  "author": "team@marcoapp.io",
5
5
  "main": "dist/index.js",
6
6
  "repository": "git@github.com:marcoappio/marco-config.git",