@marcoappio/marco-config 2.0.450 → 2.0.452

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.
Files changed (37) hide show
  1. package/dist/types/{ImapConnectionStatus.d.ts → IMAPConnectionStatus.d.ts} +2 -2
  2. package/dist/types/IMAPConnectionStatus.d.ts.map +1 -0
  3. package/dist/types/IMAPSourceLocation.d.ts +7 -0
  4. package/dist/types/IMAPSourceLocation.d.ts.map +1 -0
  5. package/dist/types/IMAPSourceLocation.js +1 -0
  6. package/dist/types/index.d.ts +2 -1
  7. package/dist/types/index.d.ts.map +1 -1
  8. package/dist/types/index.js +2 -1
  9. package/dist/zero/index.d.ts +263 -42
  10. package/dist/zero/index.d.ts.map +1 -1
  11. package/dist/zero/mutatorSchemas/index.d.ts +36 -0
  12. package/dist/zero/mutatorSchemas/index.d.ts.map +1 -1
  13. package/dist/zero/mutatorSchemas/thread.d.ts +36 -0
  14. package/dist/zero/mutatorSchemas/thread.d.ts.map +1 -1
  15. package/dist/zero/mutatorSchemas/thread.js +18 -7
  16. package/dist/zero/mutators/threadMutators/threadMutators.d.ts +4 -2
  17. package/dist/zero/mutators/threadMutators/threadMutators.d.ts.map +1 -1
  18. package/dist/zero/mutators/threadMutators/threadMutators.js +59 -19
  19. package/dist/zero/mutators/threadMutators/threadMutators.test.js +18 -12
  20. package/dist/zero/queries/getAccounts.d.ts +34 -7
  21. package/dist/zero/queries/getAccounts.d.ts.map +1 -1
  22. package/dist/zero/queries/getContacts.d.ts +33 -7
  23. package/dist/zero/queries/getContacts.d.ts.map +1 -1
  24. package/dist/zero/queries/getDrafts.d.ts +33 -7
  25. package/dist/zero/queries/getDrafts.d.ts.map +1 -1
  26. package/dist/zero/queries/getThreads.d.ts +34 -7
  27. package/dist/zero/queries/getThreads.d.ts.map +1 -1
  28. package/dist/zero/queries/getUser.d.ts +34 -7
  29. package/dist/zero/queries/getUser.d.ts.map +1 -1
  30. package/dist/zero/queries/index.d.ts +33 -7
  31. package/dist/zero/queries/index.d.ts.map +1 -1
  32. package/dist/zero/schema.d.ts +59 -7
  33. package/dist/zero/schema.d.ts.map +1 -1
  34. package/dist/zero/schema.js +4 -0
  35. package/package.json +1 -1
  36. package/dist/types/ImapConnectionStatus.d.ts.map +0 -1
  37. /package/dist/types/{ImapConnectionStatus.js → IMAPConnectionStatus.js} +0 -0
@@ -243,6 +243,12 @@ export declare const marcoZero: {
243
243
  readonly addLabel: {
244
244
  readonly delta: import("valibot").ObjectSchema<{
245
245
  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>;
246
+ readonly sourceLocations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
247
+ 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>;
248
+ 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>;
249
+ readonly uid: import("valibot").NumberSchema<undefined>;
250
+ readonly uidValidity: import("valibot").NumberSchema<undefined>;
251
+ }, undefined>, undefined>;
246
252
  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>;
247
253
  }, undefined>;
248
254
  };
@@ -254,6 +260,12 @@ export declare const marcoZero: {
254
260
  readonly removeLabel: {
255
261
  readonly delta: import("valibot").ObjectSchema<{
256
262
  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>;
263
+ readonly sourceLocations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
264
+ 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>;
265
+ 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>;
266
+ readonly uid: import("valibot").NumberSchema<undefined>;
267
+ readonly uidValidity: import("valibot").NumberSchema<undefined>;
268
+ }, undefined>, undefined>;
257
269
  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
270
  }, undefined>;
259
271
  };
@@ -265,6 +277,12 @@ export declare const marcoZero: {
265
277
  };
266
278
  readonly setArchive: {
267
279
  readonly delta: import("valibot").ObjectSchema<{
280
+ readonly sourceLocations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
281
+ 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>;
282
+ 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>;
283
+ readonly uid: import("valibot").NumberSchema<undefined>;
284
+ readonly uidValidity: import("valibot").NumberSchema<undefined>;
285
+ }, undefined>, undefined>;
268
286
  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
287
  }, undefined>;
270
288
  };
@@ -276,6 +294,12 @@ export declare const marcoZero: {
276
294
  };
277
295
  readonly setInbox: {
278
296
  readonly delta: import("valibot").ObjectSchema<{
297
+ readonly sourceLocations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
298
+ 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>;
299
+ 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>;
300
+ readonly uid: import("valibot").NumberSchema<undefined>;
301
+ readonly uidValidity: import("valibot").NumberSchema<undefined>;
302
+ }, undefined>, undefined>;
279
303
  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
304
  }, undefined>;
281
305
  };
@@ -287,11 +311,23 @@ export declare const marcoZero: {
287
311
  };
288
312
  readonly setSpam: {
289
313
  readonly delta: import("valibot").ObjectSchema<{
314
+ readonly sourceLocations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
315
+ 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>;
316
+ 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>;
317
+ readonly uid: import("valibot").NumberSchema<undefined>;
318
+ readonly uidValidity: import("valibot").NumberSchema<undefined>;
319
+ }, undefined>, undefined>;
290
320
  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
321
  }, undefined>;
292
322
  };
293
323
  readonly setTrash: {
294
324
  readonly delta: import("valibot").ObjectSchema<{
325
+ readonly sourceLocations: import("valibot").ArraySchema<import("valibot").ObjectSchema<{
326
+ 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>;
327
+ 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>;
328
+ readonly uid: import("valibot").NumberSchema<undefined>;
329
+ readonly uidValidity: import("valibot").NumberSchema<undefined>;
330
+ }, undefined>, undefined>;
295
331
  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>;
296
332
  }, undefined>;
297
333
  };
@@ -560,6 +596,13 @@ export declare const marcoZero: {
560
596
  } & {
561
597
  serverName: string;
562
598
  };
599
+ readonly uidValidity: {
600
+ type: "number";
601
+ optional: false;
602
+ customType: number;
603
+ } & {
604
+ serverName: string;
605
+ };
563
606
  };
564
607
  primaryKey: readonly [string, ...string[]];
565
608
  } & {
@@ -834,6 +877,13 @@ export declare const marcoZero: {
834
877
  } & {
835
878
  serverName: string;
836
879
  };
880
+ readonly lastSyncedAt: {
881
+ type: "number";
882
+ optional: false;
883
+ customType: number;
884
+ } & {
885
+ serverName: string;
886
+ };
837
887
  readonly threadId: {
838
888
  type: "string";
839
889
  optional: false;
@@ -848,6 +898,18 @@ export declare const marcoZero: {
848
898
  } & {
849
899
  serverName: string;
850
900
  };
901
+ readonly uid: {
902
+ type: "number";
903
+ optional: false;
904
+ customType: number;
905
+ };
906
+ readonly uidValidity: {
907
+ type: "number";
908
+ optional: false;
909
+ customType: number;
910
+ } & {
911
+ serverName: string;
912
+ };
851
913
  };
852
914
  primaryKey: readonly [string, ...string[]];
853
915
  } & {
@@ -1067,7 +1129,7 @@ export declare const marcoZero: {
1067
1129
  }];
1068
1130
  labels: [{
1069
1131
  readonly sourceField: string[];
1070
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
1132
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
1071
1133
  readonly destSchema: "accountLabel";
1072
1134
  readonly cardinality: "many";
1073
1135
  }];
@@ -1107,7 +1169,7 @@ export declare const marcoZero: {
1107
1169
  }];
1108
1170
  threads: [{
1109
1171
  readonly sourceField: string[];
1110
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
1172
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1111
1173
  readonly destSchema: "threadLabel";
1112
1174
  readonly cardinality: "many";
1113
1175
  }, {
@@ -1168,12 +1230,12 @@ export declare const marcoZero: {
1168
1230
  }];
1169
1231
  labels: [{
1170
1232
  readonly sourceField: string[];
1171
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
1233
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1172
1234
  readonly destSchema: "threadLabel";
1173
1235
  readonly cardinality: "many";
1174
1236
  }, {
1175
1237
  readonly sourceField: string[];
1176
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
1238
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
1177
1239
  readonly destSchema: "accountLabel";
1178
1240
  readonly cardinality: "many";
1179
1241
  }];
@@ -1193,7 +1255,7 @@ export declare const marcoZero: {
1193
1255
  readonly threadLabel: {
1194
1256
  label: [{
1195
1257
  readonly sourceField: string[];
1196
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
1258
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
1197
1259
  readonly destSchema: "accountLabel";
1198
1260
  readonly cardinality: "one";
1199
1261
  }];
@@ -1219,12 +1281,12 @@ export declare const marcoZero: {
1219
1281
  }];
1220
1282
  labels: [{
1221
1283
  readonly sourceField: string[];
1222
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
1284
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
1223
1285
  readonly destSchema: "threadLabel";
1224
1286
  readonly cardinality: "many";
1225
1287
  }, {
1226
1288
  readonly sourceField: string[];
1227
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
1289
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
1228
1290
  readonly destSchema: "accountLabel";
1229
1291
  readonly cardinality: "many";
1230
1292
  }];
@@ -1291,6 +1353,7 @@ export declare const marcoZero: {
1291
1353
  readonly id: string;
1292
1354
  readonly path: string;
1293
1355
  readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
1356
+ readonly uidValidity: number;
1294
1357
  }[];
1295
1358
  }>>;
1296
1359
  readonly getContacts: import("@rocicorp/zero").SyncedQuery<"getContacts", import("..").MarcoSyncedQueryContext, true, [{
@@ -1539,6 +1602,13 @@ export declare const marcoZero: {
1539
1602
  } & {
1540
1603
  serverName: string;
1541
1604
  };
1605
+ readonly uidValidity: {
1606
+ type: "number";
1607
+ optional: false;
1608
+ customType: number;
1609
+ } & {
1610
+ serverName: string;
1611
+ };
1542
1612
  };
1543
1613
  primaryKey: readonly [string, ...string[]];
1544
1614
  } & {
@@ -1813,6 +1883,13 @@ export declare const marcoZero: {
1813
1883
  } & {
1814
1884
  serverName: string;
1815
1885
  };
1886
+ readonly lastSyncedAt: {
1887
+ type: "number";
1888
+ optional: false;
1889
+ customType: number;
1890
+ } & {
1891
+ serverName: string;
1892
+ };
1816
1893
  readonly threadId: {
1817
1894
  type: "string";
1818
1895
  optional: false;
@@ -1827,6 +1904,18 @@ export declare const marcoZero: {
1827
1904
  } & {
1828
1905
  serverName: string;
1829
1906
  };
1907
+ readonly uid: {
1908
+ type: "number";
1909
+ optional: false;
1910
+ customType: number;
1911
+ };
1912
+ readonly uidValidity: {
1913
+ type: "number";
1914
+ optional: false;
1915
+ customType: number;
1916
+ } & {
1917
+ serverName: string;
1918
+ };
1830
1919
  };
1831
1920
  primaryKey: readonly [string, ...string[]];
1832
1921
  } & {
@@ -2046,7 +2135,7 @@ export declare const marcoZero: {
2046
2135
  }];
2047
2136
  labels: [{
2048
2137
  readonly sourceField: string[];
2049
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
2138
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
2050
2139
  readonly destSchema: "accountLabel";
2051
2140
  readonly cardinality: "many";
2052
2141
  }];
@@ -2086,7 +2175,7 @@ export declare const marcoZero: {
2086
2175
  }];
2087
2176
  threads: [{
2088
2177
  readonly sourceField: string[];
2089
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
2178
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2090
2179
  readonly destSchema: "threadLabel";
2091
2180
  readonly cardinality: "many";
2092
2181
  }, {
@@ -2147,12 +2236,12 @@ export declare const marcoZero: {
2147
2236
  }];
2148
2237
  labels: [{
2149
2238
  readonly sourceField: string[];
2150
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
2239
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2151
2240
  readonly destSchema: "threadLabel";
2152
2241
  readonly cardinality: "many";
2153
2242
  }, {
2154
2243
  readonly sourceField: string[];
2155
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
2244
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
2156
2245
  readonly destSchema: "accountLabel";
2157
2246
  readonly cardinality: "many";
2158
2247
  }];
@@ -2172,7 +2261,7 @@ export declare const marcoZero: {
2172
2261
  readonly threadLabel: {
2173
2262
  label: [{
2174
2263
  readonly sourceField: string[];
2175
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
2264
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
2176
2265
  readonly destSchema: "accountLabel";
2177
2266
  readonly cardinality: "one";
2178
2267
  }];
@@ -2198,12 +2287,12 @@ export declare const marcoZero: {
2198
2287
  }];
2199
2288
  labels: [{
2200
2289
  readonly sourceField: string[];
2201
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
2290
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
2202
2291
  readonly destSchema: "threadLabel";
2203
2292
  readonly cardinality: "many";
2204
2293
  }, {
2205
2294
  readonly sourceField: string[];
2206
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
2295
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
2207
2296
  readonly destSchema: "accountLabel";
2208
2297
  readonly cardinality: "many";
2209
2298
  }];
@@ -2487,6 +2576,13 @@ export declare const marcoZero: {
2487
2576
  } & {
2488
2577
  serverName: string;
2489
2578
  };
2579
+ readonly uidValidity: {
2580
+ type: "number";
2581
+ optional: false;
2582
+ customType: number;
2583
+ } & {
2584
+ serverName: string;
2585
+ };
2490
2586
  };
2491
2587
  primaryKey: readonly [string, ...string[]];
2492
2588
  } & {
@@ -2761,6 +2857,13 @@ export declare const marcoZero: {
2761
2857
  } & {
2762
2858
  serverName: string;
2763
2859
  };
2860
+ readonly lastSyncedAt: {
2861
+ type: "number";
2862
+ optional: false;
2863
+ customType: number;
2864
+ } & {
2865
+ serverName: string;
2866
+ };
2764
2867
  readonly threadId: {
2765
2868
  type: "string";
2766
2869
  optional: false;
@@ -2775,6 +2878,18 @@ export declare const marcoZero: {
2775
2878
  } & {
2776
2879
  serverName: string;
2777
2880
  };
2881
+ readonly uid: {
2882
+ type: "number";
2883
+ optional: false;
2884
+ customType: number;
2885
+ };
2886
+ readonly uidValidity: {
2887
+ type: "number";
2888
+ optional: false;
2889
+ customType: number;
2890
+ } & {
2891
+ serverName: string;
2892
+ };
2778
2893
  };
2779
2894
  primaryKey: readonly [string, ...string[]];
2780
2895
  } & {
@@ -2994,7 +3109,7 @@ export declare const marcoZero: {
2994
3109
  }];
2995
3110
  labels: [{
2996
3111
  readonly sourceField: string[];
2997
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
3112
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
2998
3113
  readonly destSchema: "accountLabel";
2999
3114
  readonly cardinality: "many";
3000
3115
  }];
@@ -3034,7 +3149,7 @@ export declare const marcoZero: {
3034
3149
  }];
3035
3150
  threads: [{
3036
3151
  readonly sourceField: string[];
3037
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
3152
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3038
3153
  readonly destSchema: "threadLabel";
3039
3154
  readonly cardinality: "many";
3040
3155
  }, {
@@ -3095,12 +3210,12 @@ export declare const marcoZero: {
3095
3210
  }];
3096
3211
  labels: [{
3097
3212
  readonly sourceField: string[];
3098
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
3213
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3099
3214
  readonly destSchema: "threadLabel";
3100
3215
  readonly cardinality: "many";
3101
3216
  }, {
3102
3217
  readonly sourceField: string[];
3103
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
3218
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
3104
3219
  readonly destSchema: "accountLabel";
3105
3220
  readonly cardinality: "many";
3106
3221
  }];
@@ -3120,7 +3235,7 @@ export declare const marcoZero: {
3120
3235
  readonly threadLabel: {
3121
3236
  label: [{
3122
3237
  readonly sourceField: string[];
3123
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
3238
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
3124
3239
  readonly destSchema: "accountLabel";
3125
3240
  readonly cardinality: "one";
3126
3241
  }];
@@ -3146,12 +3261,12 @@ export declare const marcoZero: {
3146
3261
  }];
3147
3262
  labels: [{
3148
3263
  readonly sourceField: string[];
3149
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
3264
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
3150
3265
  readonly destSchema: "threadLabel";
3151
3266
  readonly cardinality: "many";
3152
3267
  }, {
3153
3268
  readonly sourceField: string[];
3154
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
3269
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
3155
3270
  readonly destSchema: "accountLabel";
3156
3271
  readonly cardinality: "many";
3157
3272
  }];
@@ -3475,6 +3590,13 @@ export declare const marcoZero: {
3475
3590
  } & {
3476
3591
  serverName: string;
3477
3592
  };
3593
+ readonly uidValidity: {
3594
+ type: "number";
3595
+ optional: false;
3596
+ customType: number;
3597
+ } & {
3598
+ serverName: string;
3599
+ };
3478
3600
  };
3479
3601
  primaryKey: readonly [string, ...string[]];
3480
3602
  } & {
@@ -3749,6 +3871,13 @@ export declare const marcoZero: {
3749
3871
  } & {
3750
3872
  serverName: string;
3751
3873
  };
3874
+ readonly lastSyncedAt: {
3875
+ type: "number";
3876
+ optional: false;
3877
+ customType: number;
3878
+ } & {
3879
+ serverName: string;
3880
+ };
3752
3881
  readonly threadId: {
3753
3882
  type: "string";
3754
3883
  optional: false;
@@ -3763,6 +3892,18 @@ export declare const marcoZero: {
3763
3892
  } & {
3764
3893
  serverName: string;
3765
3894
  };
3895
+ readonly uid: {
3896
+ type: "number";
3897
+ optional: false;
3898
+ customType: number;
3899
+ };
3900
+ readonly uidValidity: {
3901
+ type: "number";
3902
+ optional: false;
3903
+ customType: number;
3904
+ } & {
3905
+ serverName: string;
3906
+ };
3766
3907
  };
3767
3908
  primaryKey: readonly [string, ...string[]];
3768
3909
  } & {
@@ -3982,7 +4123,7 @@ export declare const marcoZero: {
3982
4123
  }];
3983
4124
  labels: [{
3984
4125
  readonly sourceField: string[];
3985
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
4126
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
3986
4127
  readonly destSchema: "accountLabel";
3987
4128
  readonly cardinality: "many";
3988
4129
  }];
@@ -4022,7 +4163,7 @@ export declare const marcoZero: {
4022
4163
  }];
4023
4164
  threads: [{
4024
4165
  readonly sourceField: string[];
4025
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
4166
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
4026
4167
  readonly destSchema: "threadLabel";
4027
4168
  readonly cardinality: "many";
4028
4169
  }, {
@@ -4083,12 +4224,12 @@ export declare const marcoZero: {
4083
4224
  }];
4084
4225
  labels: [{
4085
4226
  readonly sourceField: string[];
4086
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
4227
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
4087
4228
  readonly destSchema: "threadLabel";
4088
4229
  readonly cardinality: "many";
4089
4230
  }, {
4090
4231
  readonly sourceField: string[];
4091
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
4232
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
4092
4233
  readonly destSchema: "accountLabel";
4093
4234
  readonly cardinality: "many";
4094
4235
  }];
@@ -4108,7 +4249,7 @@ export declare const marcoZero: {
4108
4249
  readonly threadLabel: {
4109
4250
  label: [{
4110
4251
  readonly sourceField: string[];
4111
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
4252
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
4112
4253
  readonly destSchema: "accountLabel";
4113
4254
  readonly cardinality: "one";
4114
4255
  }];
@@ -4134,12 +4275,12 @@ export declare const marcoZero: {
4134
4275
  }];
4135
4276
  labels: [{
4136
4277
  readonly sourceField: string[];
4137
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
4278
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
4138
4279
  readonly destSchema: "threadLabel";
4139
4280
  readonly cardinality: "many";
4140
4281
  }, {
4141
4282
  readonly sourceField: string[];
4142
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
4283
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
4143
4284
  readonly destSchema: "accountLabel";
4144
4285
  readonly cardinality: "many";
4145
4286
  }];
@@ -4217,6 +4358,7 @@ export declare const marcoZero: {
4217
4358
  readonly id: string;
4218
4359
  readonly path: string;
4219
4360
  readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
4361
+ readonly uidValidity: number;
4220
4362
  }[];
4221
4363
  }>>;
4222
4364
  readonly getUser: import("@rocicorp/zero").SyncedQuery<"getUser", import("..").MarcoSyncedQueryContext, true, [], import("@rocicorp/zero").Query<{
@@ -4457,6 +4599,13 @@ export declare const marcoZero: {
4457
4599
  } & {
4458
4600
  serverName: string;
4459
4601
  };
4602
+ readonly uidValidity: {
4603
+ type: "number";
4604
+ optional: false;
4605
+ customType: number;
4606
+ } & {
4607
+ serverName: string;
4608
+ };
4460
4609
  };
4461
4610
  primaryKey: readonly [string, ...string[]];
4462
4611
  } & {
@@ -4731,6 +4880,13 @@ export declare const marcoZero: {
4731
4880
  } & {
4732
4881
  serverName: string;
4733
4882
  };
4883
+ readonly lastSyncedAt: {
4884
+ type: "number";
4885
+ optional: false;
4886
+ customType: number;
4887
+ } & {
4888
+ serverName: string;
4889
+ };
4734
4890
  readonly threadId: {
4735
4891
  type: "string";
4736
4892
  optional: false;
@@ -4745,6 +4901,18 @@ export declare const marcoZero: {
4745
4901
  } & {
4746
4902
  serverName: string;
4747
4903
  };
4904
+ readonly uid: {
4905
+ type: "number";
4906
+ optional: false;
4907
+ customType: number;
4908
+ };
4909
+ readonly uidValidity: {
4910
+ type: "number";
4911
+ optional: false;
4912
+ customType: number;
4913
+ } & {
4914
+ serverName: string;
4915
+ };
4748
4916
  };
4749
4917
  primaryKey: readonly [string, ...string[]];
4750
4918
  } & {
@@ -4964,7 +5132,7 @@ export declare const marcoZero: {
4964
5132
  }];
4965
5133
  labels: [{
4966
5134
  readonly sourceField: string[];
4967
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
5135
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
4968
5136
  readonly destSchema: "accountLabel";
4969
5137
  readonly cardinality: "many";
4970
5138
  }];
@@ -5004,7 +5172,7 @@ export declare const marcoZero: {
5004
5172
  }];
5005
5173
  threads: [{
5006
5174
  readonly sourceField: string[];
5007
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
5175
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
5008
5176
  readonly destSchema: "threadLabel";
5009
5177
  readonly cardinality: "many";
5010
5178
  }, {
@@ -5065,12 +5233,12 @@ export declare const marcoZero: {
5065
5233
  }];
5066
5234
  labels: [{
5067
5235
  readonly sourceField: string[];
5068
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
5236
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
5069
5237
  readonly destSchema: "threadLabel";
5070
5238
  readonly cardinality: "many";
5071
5239
  }, {
5072
5240
  readonly sourceField: string[];
5073
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
5241
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
5074
5242
  readonly destSchema: "accountLabel";
5075
5243
  readonly cardinality: "many";
5076
5244
  }];
@@ -5090,7 +5258,7 @@ export declare const marcoZero: {
5090
5258
  readonly threadLabel: {
5091
5259
  label: [{
5092
5260
  readonly sourceField: string[];
5093
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
5261
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
5094
5262
  readonly destSchema: "accountLabel";
5095
5263
  readonly cardinality: "one";
5096
5264
  }];
@@ -5116,12 +5284,12 @@ export declare const marcoZero: {
5116
5284
  }];
5117
5285
  labels: [{
5118
5286
  readonly sourceField: string[];
5119
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
5287
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
5120
5288
  readonly destSchema: "threadLabel";
5121
5289
  readonly cardinality: "many";
5122
5290
  }, {
5123
5291
  readonly sourceField: string[];
5124
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
5292
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
5125
5293
  readonly destSchema: "accountLabel";
5126
5294
  readonly cardinality: "many";
5127
5295
  }];
@@ -5194,6 +5362,7 @@ export declare const marcoZero: {
5194
5362
  readonly id: string;
5195
5363
  readonly path: string;
5196
5364
  readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
5365
+ readonly uidValidity: number;
5197
5366
  }[];
5198
5367
  })[];
5199
5368
  } & {
@@ -5443,6 +5612,13 @@ export declare const marcoZero: {
5443
5612
  } & {
5444
5613
  serverName: string;
5445
5614
  };
5615
+ readonly uidValidity: {
5616
+ type: "number";
5617
+ optional: false;
5618
+ customType: number;
5619
+ } & {
5620
+ serverName: string;
5621
+ };
5446
5622
  };
5447
5623
  primaryKey: readonly [string, ...string[]];
5448
5624
  } & {
@@ -5717,6 +5893,13 @@ export declare const marcoZero: {
5717
5893
  } & {
5718
5894
  serverName: string;
5719
5895
  };
5896
+ readonly lastSyncedAt: {
5897
+ type: "number";
5898
+ optional: false;
5899
+ customType: number;
5900
+ } & {
5901
+ serverName: string;
5902
+ };
5720
5903
  readonly threadId: {
5721
5904
  type: "string";
5722
5905
  optional: false;
@@ -5731,6 +5914,18 @@ export declare const marcoZero: {
5731
5914
  } & {
5732
5915
  serverName: string;
5733
5916
  };
5917
+ readonly uid: {
5918
+ type: "number";
5919
+ optional: false;
5920
+ customType: number;
5921
+ };
5922
+ readonly uidValidity: {
5923
+ type: "number";
5924
+ optional: false;
5925
+ customType: number;
5926
+ } & {
5927
+ serverName: string;
5928
+ };
5734
5929
  };
5735
5930
  primaryKey: readonly [string, ...string[]];
5736
5931
  } & {
@@ -5950,7 +6145,7 @@ export declare const marcoZero: {
5950
6145
  }];
5951
6146
  labels: [{
5952
6147
  readonly sourceField: string[];
5953
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
6148
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
5954
6149
  readonly destSchema: "accountLabel";
5955
6150
  readonly cardinality: "many";
5956
6151
  }];
@@ -5990,7 +6185,7 @@ export declare const marcoZero: {
5990
6185
  }];
5991
6186
  threads: [{
5992
6187
  readonly sourceField: string[];
5993
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
6188
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
5994
6189
  readonly destSchema: "threadLabel";
5995
6190
  readonly cardinality: "many";
5996
6191
  }, {
@@ -6051,12 +6246,12 @@ export declare const marcoZero: {
6051
6246
  }];
6052
6247
  labels: [{
6053
6248
  readonly sourceField: string[];
6054
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
6249
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
6055
6250
  readonly destSchema: "threadLabel";
6056
6251
  readonly cardinality: "many";
6057
6252
  }, {
6058
6253
  readonly sourceField: string[];
6059
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
6254
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
6060
6255
  readonly destSchema: "accountLabel";
6061
6256
  readonly cardinality: "many";
6062
6257
  }];
@@ -6076,7 +6271,7 @@ export declare const marcoZero: {
6076
6271
  readonly threadLabel: {
6077
6272
  label: [{
6078
6273
  readonly sourceField: string[];
6079
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
6274
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
6080
6275
  readonly destSchema: "accountLabel";
6081
6276
  readonly cardinality: "one";
6082
6277
  }];
@@ -6102,12 +6297,12 @@ export declare const marcoZero: {
6102
6297
  }];
6103
6298
  labels: [{
6104
6299
  readonly sourceField: string[];
6105
- readonly destField: ("accountId" | "labelId" | "threadId" | "threadMessageId")[];
6300
+ readonly destField: ("accountId" | "uidValidity" | "labelId" | "lastSyncedAt" | "threadId" | "threadMessageId" | "uid")[];
6106
6301
  readonly destSchema: "threadLabel";
6107
6302
  readonly cardinality: "many";
6108
6303
  }, {
6109
6304
  readonly sourceField: string[];
6110
- readonly destField: ("id" | "accountId" | "path" | "specialUse")[];
6305
+ readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity")[];
6111
6306
  readonly destSchema: "accountLabel";
6112
6307
  readonly cardinality: "many";
6113
6308
  }];
@@ -6279,6 +6474,13 @@ export declare const marcoZero: {
6279
6474
  } & {
6280
6475
  serverName: string;
6281
6476
  };
6477
+ readonly uidValidity: {
6478
+ type: "number";
6479
+ optional: false;
6480
+ customType: number;
6481
+ } & {
6482
+ serverName: string;
6483
+ };
6282
6484
  };
6283
6485
  primaryKey: readonly [string, ...string[]];
6284
6486
  } & {
@@ -6587,6 +6789,13 @@ export declare const marcoZero: {
6587
6789
  } & {
6588
6790
  serverName: string;
6589
6791
  };
6792
+ readonly lastSyncedAt: {
6793
+ type: "number";
6794
+ optional: false;
6795
+ customType: number;
6796
+ } & {
6797
+ serverName: string;
6798
+ };
6590
6799
  readonly threadId: {
6591
6800
  type: "string";
6592
6801
  optional: false;
@@ -6601,6 +6810,18 @@ export declare const marcoZero: {
6601
6810
  } & {
6602
6811
  serverName: string;
6603
6812
  };
6813
+ readonly uid: {
6814
+ type: "number";
6815
+ optional: false;
6816
+ customType: number;
6817
+ };
6818
+ readonly uidValidity: {
6819
+ type: "number";
6820
+ optional: false;
6821
+ customType: number;
6822
+ } & {
6823
+ serverName: string;
6824
+ };
6604
6825
  };
6605
6826
  primaryKey: readonly [string, ...string[]];
6606
6827
  } & {