@marcoappio/marco-config 2.0.464 → 2.0.466
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/zero/index.d.ts +76 -24
- package/dist/zero/index.d.ts.map +1 -1
- package/dist/zero/queries/getAccounts.d.ts +12 -4
- package/dist/zero/queries/getAccounts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.d.ts +11 -4
- package/dist/zero/queries/getContacts.d.ts.map +1 -1
- package/dist/zero/queries/getContacts.js +1 -1
- package/dist/zero/queries/getDrafts.d.ts +11 -4
- package/dist/zero/queries/getDrafts.d.ts.map +1 -1
- package/dist/zero/queries/getDrafts.js +1 -1
- package/dist/zero/queries/getThreads.d.ts +12 -4
- package/dist/zero/queries/getThreads.d.ts.map +1 -1
- package/dist/zero/queries/getThreads.js +1 -1
- package/dist/zero/queries/getUser.d.ts +12 -4
- package/dist/zero/queries/getUser.d.ts.map +1 -1
- package/dist/zero/queries/index.d.ts +11 -4
- package/dist/zero/queries/index.d.ts.map +1 -1
- package/dist/zero/schema.d.ts +18 -4
- package/dist/zero/schema.d.ts.map +1 -1
- package/dist/zero/schema.js +1 -0
- package/package.json +1 -1
package/dist/zero/index.d.ts
CHANGED
|
@@ -564,6 +564,13 @@ export declare const marcoZero: {
|
|
|
564
564
|
optional: false;
|
|
565
565
|
customType: string;
|
|
566
566
|
};
|
|
567
|
+
readonly name: Omit<{
|
|
568
|
+
type: "string";
|
|
569
|
+
optional: false;
|
|
570
|
+
customType: string;
|
|
571
|
+
}, "optional"> & {
|
|
572
|
+
optional: true;
|
|
573
|
+
};
|
|
567
574
|
readonly path: {
|
|
568
575
|
type: "string";
|
|
569
576
|
optional: false;
|
|
@@ -1069,7 +1076,7 @@ export declare const marcoZero: {
|
|
|
1069
1076
|
}];
|
|
1070
1077
|
labels: [{
|
|
1071
1078
|
readonly sourceField: string[];
|
|
1072
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1079
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1073
1080
|
readonly destSchema: "accountLabel";
|
|
1074
1081
|
readonly cardinality: "many";
|
|
1075
1082
|
}];
|
|
@@ -1161,7 +1168,7 @@ export declare const marcoZero: {
|
|
|
1161
1168
|
readonly cardinality: "many";
|
|
1162
1169
|
}, {
|
|
1163
1170
|
readonly sourceField: string[];
|
|
1164
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1171
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1165
1172
|
readonly destSchema: "accountLabel";
|
|
1166
1173
|
readonly cardinality: "many";
|
|
1167
1174
|
}];
|
|
@@ -1181,7 +1188,7 @@ export declare const marcoZero: {
|
|
|
1181
1188
|
readonly threadLabel: {
|
|
1182
1189
|
label: [{
|
|
1183
1190
|
readonly sourceField: string[];
|
|
1184
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1191
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1185
1192
|
readonly destSchema: "accountLabel";
|
|
1186
1193
|
readonly cardinality: "one";
|
|
1187
1194
|
}];
|
|
@@ -1212,7 +1219,7 @@ export declare const marcoZero: {
|
|
|
1212
1219
|
readonly cardinality: "many";
|
|
1213
1220
|
}, {
|
|
1214
1221
|
readonly sourceField: string[];
|
|
1215
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1222
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
1216
1223
|
readonly destSchema: "accountLabel";
|
|
1217
1224
|
readonly cardinality: "many";
|
|
1218
1225
|
}];
|
|
@@ -1277,6 +1284,7 @@ export declare const marcoZero: {
|
|
|
1277
1284
|
readonly labels: readonly {
|
|
1278
1285
|
readonly accountId: string;
|
|
1279
1286
|
readonly id: string;
|
|
1287
|
+
readonly name: string | null;
|
|
1280
1288
|
readonly path: string;
|
|
1281
1289
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
1282
1290
|
readonly uidValidity: number;
|
|
@@ -1515,6 +1523,13 @@ export declare const marcoZero: {
|
|
|
1515
1523
|
optional: false;
|
|
1516
1524
|
customType: string;
|
|
1517
1525
|
};
|
|
1526
|
+
readonly name: Omit<{
|
|
1527
|
+
type: "string";
|
|
1528
|
+
optional: false;
|
|
1529
|
+
customType: string;
|
|
1530
|
+
}, "optional"> & {
|
|
1531
|
+
optional: true;
|
|
1532
|
+
};
|
|
1518
1533
|
readonly path: {
|
|
1519
1534
|
type: "string";
|
|
1520
1535
|
optional: false;
|
|
@@ -2020,7 +2035,7 @@ export declare const marcoZero: {
|
|
|
2020
2035
|
}];
|
|
2021
2036
|
labels: [{
|
|
2022
2037
|
readonly sourceField: string[];
|
|
2023
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2038
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2024
2039
|
readonly destSchema: "accountLabel";
|
|
2025
2040
|
readonly cardinality: "many";
|
|
2026
2041
|
}];
|
|
@@ -2112,7 +2127,7 @@ export declare const marcoZero: {
|
|
|
2112
2127
|
readonly cardinality: "many";
|
|
2113
2128
|
}, {
|
|
2114
2129
|
readonly sourceField: string[];
|
|
2115
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2130
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2116
2131
|
readonly destSchema: "accountLabel";
|
|
2117
2132
|
readonly cardinality: "many";
|
|
2118
2133
|
}];
|
|
@@ -2132,7 +2147,7 @@ export declare const marcoZero: {
|
|
|
2132
2147
|
readonly threadLabel: {
|
|
2133
2148
|
label: [{
|
|
2134
2149
|
readonly sourceField: string[];
|
|
2135
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2150
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2136
2151
|
readonly destSchema: "accountLabel";
|
|
2137
2152
|
readonly cardinality: "one";
|
|
2138
2153
|
}];
|
|
@@ -2163,7 +2178,7 @@ export declare const marcoZero: {
|
|
|
2163
2178
|
readonly cardinality: "many";
|
|
2164
2179
|
}, {
|
|
2165
2180
|
readonly sourceField: string[];
|
|
2166
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2181
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2167
2182
|
readonly destSchema: "accountLabel";
|
|
2168
2183
|
readonly cardinality: "many";
|
|
2169
2184
|
}];
|
|
@@ -2433,6 +2448,13 @@ export declare const marcoZero: {
|
|
|
2433
2448
|
optional: false;
|
|
2434
2449
|
customType: string;
|
|
2435
2450
|
};
|
|
2451
|
+
readonly name: Omit<{
|
|
2452
|
+
type: "string";
|
|
2453
|
+
optional: false;
|
|
2454
|
+
customType: string;
|
|
2455
|
+
}, "optional"> & {
|
|
2456
|
+
optional: true;
|
|
2457
|
+
};
|
|
2436
2458
|
readonly path: {
|
|
2437
2459
|
type: "string";
|
|
2438
2460
|
optional: false;
|
|
@@ -2938,7 +2960,7 @@ export declare const marcoZero: {
|
|
|
2938
2960
|
}];
|
|
2939
2961
|
labels: [{
|
|
2940
2962
|
readonly sourceField: string[];
|
|
2941
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2963
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
2942
2964
|
readonly destSchema: "accountLabel";
|
|
2943
2965
|
readonly cardinality: "many";
|
|
2944
2966
|
}];
|
|
@@ -3030,7 +3052,7 @@ export declare const marcoZero: {
|
|
|
3030
3052
|
readonly cardinality: "many";
|
|
3031
3053
|
}, {
|
|
3032
3054
|
readonly sourceField: string[];
|
|
3033
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3055
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3034
3056
|
readonly destSchema: "accountLabel";
|
|
3035
3057
|
readonly cardinality: "many";
|
|
3036
3058
|
}];
|
|
@@ -3050,7 +3072,7 @@ export declare const marcoZero: {
|
|
|
3050
3072
|
readonly threadLabel: {
|
|
3051
3073
|
label: [{
|
|
3052
3074
|
readonly sourceField: string[];
|
|
3053
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3075
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3054
3076
|
readonly destSchema: "accountLabel";
|
|
3055
3077
|
readonly cardinality: "one";
|
|
3056
3078
|
}];
|
|
@@ -3081,7 +3103,7 @@ export declare const marcoZero: {
|
|
|
3081
3103
|
readonly cardinality: "many";
|
|
3082
3104
|
}, {
|
|
3083
3105
|
readonly sourceField: string[];
|
|
3084
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3106
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3085
3107
|
readonly destSchema: "accountLabel";
|
|
3086
3108
|
readonly cardinality: "many";
|
|
3087
3109
|
}];
|
|
@@ -3382,6 +3404,13 @@ export declare const marcoZero: {
|
|
|
3382
3404
|
optional: false;
|
|
3383
3405
|
customType: string;
|
|
3384
3406
|
};
|
|
3407
|
+
readonly name: Omit<{
|
|
3408
|
+
type: "string";
|
|
3409
|
+
optional: false;
|
|
3410
|
+
customType: string;
|
|
3411
|
+
}, "optional"> & {
|
|
3412
|
+
optional: true;
|
|
3413
|
+
};
|
|
3385
3414
|
readonly path: {
|
|
3386
3415
|
type: "string";
|
|
3387
3416
|
optional: false;
|
|
@@ -3887,7 +3916,7 @@ export declare const marcoZero: {
|
|
|
3887
3916
|
}];
|
|
3888
3917
|
labels: [{
|
|
3889
3918
|
readonly sourceField: string[];
|
|
3890
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3919
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3891
3920
|
readonly destSchema: "accountLabel";
|
|
3892
3921
|
readonly cardinality: "many";
|
|
3893
3922
|
}];
|
|
@@ -3979,7 +4008,7 @@ export declare const marcoZero: {
|
|
|
3979
4008
|
readonly cardinality: "many";
|
|
3980
4009
|
}, {
|
|
3981
4010
|
readonly sourceField: string[];
|
|
3982
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4011
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
3983
4012
|
readonly destSchema: "accountLabel";
|
|
3984
4013
|
readonly cardinality: "many";
|
|
3985
4014
|
}];
|
|
@@ -3999,7 +4028,7 @@ export declare const marcoZero: {
|
|
|
3999
4028
|
readonly threadLabel: {
|
|
4000
4029
|
label: [{
|
|
4001
4030
|
readonly sourceField: string[];
|
|
4002
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4031
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4003
4032
|
readonly destSchema: "accountLabel";
|
|
4004
4033
|
readonly cardinality: "one";
|
|
4005
4034
|
}];
|
|
@@ -4030,7 +4059,7 @@ export declare const marcoZero: {
|
|
|
4030
4059
|
readonly cardinality: "many";
|
|
4031
4060
|
}, {
|
|
4032
4061
|
readonly sourceField: string[];
|
|
4033
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4062
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4034
4063
|
readonly destSchema: "accountLabel";
|
|
4035
4064
|
readonly cardinality: "many";
|
|
4036
4065
|
}];
|
|
@@ -4105,6 +4134,7 @@ export declare const marcoZero: {
|
|
|
4105
4134
|
readonly labels: readonly {
|
|
4106
4135
|
readonly accountId: string;
|
|
4107
4136
|
readonly id: string;
|
|
4137
|
+
readonly name: string | null;
|
|
4108
4138
|
readonly path: string;
|
|
4109
4139
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
4110
4140
|
readonly uidValidity: number;
|
|
@@ -4335,6 +4365,13 @@ export declare const marcoZero: {
|
|
|
4335
4365
|
optional: false;
|
|
4336
4366
|
customType: string;
|
|
4337
4367
|
};
|
|
4368
|
+
readonly name: Omit<{
|
|
4369
|
+
type: "string";
|
|
4370
|
+
optional: false;
|
|
4371
|
+
customType: string;
|
|
4372
|
+
}, "optional"> & {
|
|
4373
|
+
optional: true;
|
|
4374
|
+
};
|
|
4338
4375
|
readonly path: {
|
|
4339
4376
|
type: "string";
|
|
4340
4377
|
optional: false;
|
|
@@ -4840,7 +4877,7 @@ export declare const marcoZero: {
|
|
|
4840
4877
|
}];
|
|
4841
4878
|
labels: [{
|
|
4842
4879
|
readonly sourceField: string[];
|
|
4843
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4880
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4844
4881
|
readonly destSchema: "accountLabel";
|
|
4845
4882
|
readonly cardinality: "many";
|
|
4846
4883
|
}];
|
|
@@ -4932,7 +4969,7 @@ export declare const marcoZero: {
|
|
|
4932
4969
|
readonly cardinality: "many";
|
|
4933
4970
|
}, {
|
|
4934
4971
|
readonly sourceField: string[];
|
|
4935
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4972
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4936
4973
|
readonly destSchema: "accountLabel";
|
|
4937
4974
|
readonly cardinality: "many";
|
|
4938
4975
|
}];
|
|
@@ -4952,7 +4989,7 @@ export declare const marcoZero: {
|
|
|
4952
4989
|
readonly threadLabel: {
|
|
4953
4990
|
label: [{
|
|
4954
4991
|
readonly sourceField: string[];
|
|
4955
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4992
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4956
4993
|
readonly destSchema: "accountLabel";
|
|
4957
4994
|
readonly cardinality: "one";
|
|
4958
4995
|
}];
|
|
@@ -4983,7 +5020,7 @@ export declare const marcoZero: {
|
|
|
4983
5020
|
readonly cardinality: "many";
|
|
4984
5021
|
}, {
|
|
4985
5022
|
readonly sourceField: string[];
|
|
4986
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5023
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
4987
5024
|
readonly destSchema: "accountLabel";
|
|
4988
5025
|
readonly cardinality: "many";
|
|
4989
5026
|
}];
|
|
@@ -5054,6 +5091,7 @@ export declare const marcoZero: {
|
|
|
5054
5091
|
readonly labels: readonly {
|
|
5055
5092
|
readonly accountId: string;
|
|
5056
5093
|
readonly id: string;
|
|
5094
|
+
readonly name: string | null;
|
|
5057
5095
|
readonly path: string;
|
|
5058
5096
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
5059
5097
|
readonly uidValidity: number;
|
|
@@ -5293,6 +5331,13 @@ export declare const marcoZero: {
|
|
|
5293
5331
|
optional: false;
|
|
5294
5332
|
customType: string;
|
|
5295
5333
|
};
|
|
5334
|
+
readonly name: Omit<{
|
|
5335
|
+
type: "string";
|
|
5336
|
+
optional: false;
|
|
5337
|
+
customType: string;
|
|
5338
|
+
}, "optional"> & {
|
|
5339
|
+
optional: true;
|
|
5340
|
+
};
|
|
5296
5341
|
readonly path: {
|
|
5297
5342
|
type: "string";
|
|
5298
5343
|
optional: false;
|
|
@@ -5798,7 +5843,7 @@ export declare const marcoZero: {
|
|
|
5798
5843
|
}];
|
|
5799
5844
|
labels: [{
|
|
5800
5845
|
readonly sourceField: string[];
|
|
5801
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5846
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5802
5847
|
readonly destSchema: "accountLabel";
|
|
5803
5848
|
readonly cardinality: "many";
|
|
5804
5849
|
}];
|
|
@@ -5890,7 +5935,7 @@ export declare const marcoZero: {
|
|
|
5890
5935
|
readonly cardinality: "many";
|
|
5891
5936
|
}, {
|
|
5892
5937
|
readonly sourceField: string[];
|
|
5893
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5938
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5894
5939
|
readonly destSchema: "accountLabel";
|
|
5895
5940
|
readonly cardinality: "many";
|
|
5896
5941
|
}];
|
|
@@ -5910,7 +5955,7 @@ export declare const marcoZero: {
|
|
|
5910
5955
|
readonly threadLabel: {
|
|
5911
5956
|
label: [{
|
|
5912
5957
|
readonly sourceField: string[];
|
|
5913
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5958
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5914
5959
|
readonly destSchema: "accountLabel";
|
|
5915
5960
|
readonly cardinality: "one";
|
|
5916
5961
|
}];
|
|
@@ -5941,7 +5986,7 @@ export declare const marcoZero: {
|
|
|
5941
5986
|
readonly cardinality: "many";
|
|
5942
5987
|
}, {
|
|
5943
5988
|
readonly sourceField: string[];
|
|
5944
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5989
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
5945
5990
|
readonly destSchema: "accountLabel";
|
|
5946
5991
|
readonly cardinality: "many";
|
|
5947
5992
|
}];
|
|
@@ -6099,6 +6144,13 @@ export declare const marcoZero: {
|
|
|
6099
6144
|
optional: false;
|
|
6100
6145
|
customType: string;
|
|
6101
6146
|
};
|
|
6147
|
+
readonly name: Omit<{
|
|
6148
|
+
type: "string";
|
|
6149
|
+
optional: false;
|
|
6150
|
+
customType: string;
|
|
6151
|
+
}, "optional"> & {
|
|
6152
|
+
optional: true;
|
|
6153
|
+
};
|
|
6102
6154
|
readonly path: {
|
|
6103
6155
|
type: "string";
|
|
6104
6156
|
optional: false;
|
package/dist/zero/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/zero/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAM,CAAA;AAEV,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -223,6 +223,13 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
223
223
|
optional: false;
|
|
224
224
|
customType: string;
|
|
225
225
|
};
|
|
226
|
+
readonly name: Omit<{
|
|
227
|
+
type: "string";
|
|
228
|
+
optional: false;
|
|
229
|
+
customType: string;
|
|
230
|
+
}, "optional"> & {
|
|
231
|
+
optional: true;
|
|
232
|
+
};
|
|
226
233
|
readonly path: {
|
|
227
234
|
type: "string";
|
|
228
235
|
optional: false;
|
|
@@ -728,7 +735,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
728
735
|
}];
|
|
729
736
|
labels: [{
|
|
730
737
|
readonly sourceField: string[];
|
|
731
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
738
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
732
739
|
readonly destSchema: "accountLabel";
|
|
733
740
|
readonly cardinality: "many";
|
|
734
741
|
}];
|
|
@@ -820,7 +827,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
820
827
|
readonly cardinality: "many";
|
|
821
828
|
}, {
|
|
822
829
|
readonly sourceField: string[];
|
|
823
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
830
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
824
831
|
readonly destSchema: "accountLabel";
|
|
825
832
|
readonly cardinality: "many";
|
|
826
833
|
}];
|
|
@@ -840,7 +847,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
840
847
|
readonly threadLabel: {
|
|
841
848
|
label: [{
|
|
842
849
|
readonly sourceField: string[];
|
|
843
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
850
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
844
851
|
readonly destSchema: "accountLabel";
|
|
845
852
|
readonly cardinality: "one";
|
|
846
853
|
}];
|
|
@@ -871,7 +878,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
871
878
|
readonly cardinality: "many";
|
|
872
879
|
}, {
|
|
873
880
|
readonly sourceField: string[];
|
|
874
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
881
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
875
882
|
readonly destSchema: "accountLabel";
|
|
876
883
|
readonly cardinality: "many";
|
|
877
884
|
}];
|
|
@@ -936,6 +943,7 @@ export declare const getAccounts: import("@rocicorp/zero").SyncedQuery<"getAccou
|
|
|
936
943
|
readonly labels: readonly {
|
|
937
944
|
readonly accountId: string;
|
|
938
945
|
readonly id: string;
|
|
946
|
+
readonly name: string | null;
|
|
939
947
|
readonly path: string;
|
|
940
948
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
941
949
|
readonly uidValidity: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccounts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getAccounts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"getAccounts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getAccounts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAEvB,CAAA"}
|
|
@@ -232,6 +232,13 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
232
232
|
optional: false;
|
|
233
233
|
customType: string;
|
|
234
234
|
};
|
|
235
|
+
readonly name: Omit<{
|
|
236
|
+
type: "string";
|
|
237
|
+
optional: false;
|
|
238
|
+
customType: string;
|
|
239
|
+
}, "optional"> & {
|
|
240
|
+
optional: true;
|
|
241
|
+
};
|
|
235
242
|
readonly path: {
|
|
236
243
|
type: "string";
|
|
237
244
|
optional: false;
|
|
@@ -737,7 +744,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
737
744
|
}];
|
|
738
745
|
labels: [{
|
|
739
746
|
readonly sourceField: string[];
|
|
740
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
747
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
741
748
|
readonly destSchema: "accountLabel";
|
|
742
749
|
readonly cardinality: "many";
|
|
743
750
|
}];
|
|
@@ -829,7 +836,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
829
836
|
readonly cardinality: "many";
|
|
830
837
|
}, {
|
|
831
838
|
readonly sourceField: string[];
|
|
832
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
839
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
833
840
|
readonly destSchema: "accountLabel";
|
|
834
841
|
readonly cardinality: "many";
|
|
835
842
|
}];
|
|
@@ -849,7 +856,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
849
856
|
readonly threadLabel: {
|
|
850
857
|
label: [{
|
|
851
858
|
readonly sourceField: string[];
|
|
852
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
859
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
853
860
|
readonly destSchema: "accountLabel";
|
|
854
861
|
readonly cardinality: "one";
|
|
855
862
|
}];
|
|
@@ -880,7 +887,7 @@ export declare const getContacts: import("@rocicorp/zero").SyncedQuery<"getConta
|
|
|
880
887
|
readonly cardinality: "many";
|
|
881
888
|
}, {
|
|
882
889
|
readonly sourceField: string[];
|
|
883
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
890
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
884
891
|
readonly destSchema: "accountLabel";
|
|
885
892
|
readonly cardinality: "many";
|
|
886
893
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getContacts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getContacts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAMlE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BvB,CAAA"}
|
|
@@ -5,7 +5,7 @@ const MAX_LIMIT = 1000;
|
|
|
5
5
|
const DEFAULT_LIMIT = 50;
|
|
6
6
|
const parseArgs = (args) => {
|
|
7
7
|
const schema = v.object({
|
|
8
|
-
limit: v.optional(v.pipe(v.number(), v.minValue(
|
|
8
|
+
limit: v.optional(v.pipe(v.number(), v.minValue(0), v.maxValue(MAX_LIMIT)), DEFAULT_LIMIT),
|
|
9
9
|
search: v.optional(v.string()),
|
|
10
10
|
where: v.optional(v.object({
|
|
11
11
|
emailAddress: v.optional(v.string()),
|
|
@@ -229,6 +229,13 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
229
229
|
optional: false;
|
|
230
230
|
customType: string;
|
|
231
231
|
};
|
|
232
|
+
readonly name: Omit<{
|
|
233
|
+
type: "string";
|
|
234
|
+
optional: false;
|
|
235
|
+
customType: string;
|
|
236
|
+
}, "optional"> & {
|
|
237
|
+
optional: true;
|
|
238
|
+
};
|
|
232
239
|
readonly path: {
|
|
233
240
|
type: "string";
|
|
234
241
|
optional: false;
|
|
@@ -734,7 +741,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
734
741
|
}];
|
|
735
742
|
labels: [{
|
|
736
743
|
readonly sourceField: string[];
|
|
737
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
744
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
738
745
|
readonly destSchema: "accountLabel";
|
|
739
746
|
readonly cardinality: "many";
|
|
740
747
|
}];
|
|
@@ -826,7 +833,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
826
833
|
readonly cardinality: "many";
|
|
827
834
|
}, {
|
|
828
835
|
readonly sourceField: string[];
|
|
829
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
836
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
830
837
|
readonly destSchema: "accountLabel";
|
|
831
838
|
readonly cardinality: "many";
|
|
832
839
|
}];
|
|
@@ -846,7 +853,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
846
853
|
readonly threadLabel: {
|
|
847
854
|
label: [{
|
|
848
855
|
readonly sourceField: string[];
|
|
849
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
856
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
850
857
|
readonly destSchema: "accountLabel";
|
|
851
858
|
readonly cardinality: "one";
|
|
852
859
|
}];
|
|
@@ -877,7 +884,7 @@ export declare const getDrafts: import("@rocicorp/zero").SyncedQuery<"getDrafts"
|
|
|
877
884
|
readonly cardinality: "many";
|
|
878
885
|
}, {
|
|
879
886
|
readonly sourceField: string[];
|
|
880
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
887
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
881
888
|
readonly destSchema: "accountLabel";
|
|
882
889
|
readonly cardinality: "many";
|
|
883
890
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getDrafts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAMpD,KAAK,aAAa,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;CACzC,CAAA;AAWD,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"getDrafts.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getDrafts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAMpD,KAAK,aAAa,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAA;CACzC,CAAA;AAWD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBrB,CAAA"}
|
|
@@ -7,7 +7,7 @@ const DEFAULT_LIMIT = 50;
|
|
|
7
7
|
const parseArgs = (args) => {
|
|
8
8
|
const schema = v.object({
|
|
9
9
|
accountId: v.optional(v.string()),
|
|
10
|
-
limit: v.optional(v.pipe(v.number(), v.minValue(
|
|
10
|
+
limit: v.optional(v.pipe(v.number(), v.minValue(0), v.maxValue(MAX_LIMIT)), DEFAULT_LIMIT),
|
|
11
11
|
status: v.optional(v.picklist(DRAFT_STATUSES)),
|
|
12
12
|
});
|
|
13
13
|
return [v.parse(schema, args[0])];
|
|
@@ -235,6 +235,13 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
235
235
|
optional: false;
|
|
236
236
|
customType: string;
|
|
237
237
|
};
|
|
238
|
+
readonly name: Omit<{
|
|
239
|
+
type: "string";
|
|
240
|
+
optional: false;
|
|
241
|
+
customType: string;
|
|
242
|
+
}, "optional"> & {
|
|
243
|
+
optional: true;
|
|
244
|
+
};
|
|
238
245
|
readonly path: {
|
|
239
246
|
type: "string";
|
|
240
247
|
optional: false;
|
|
@@ -740,7 +747,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
740
747
|
}];
|
|
741
748
|
labels: [{
|
|
742
749
|
readonly sourceField: string[];
|
|
743
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
750
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
744
751
|
readonly destSchema: "accountLabel";
|
|
745
752
|
readonly cardinality: "many";
|
|
746
753
|
}];
|
|
@@ -832,7 +839,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
832
839
|
readonly cardinality: "many";
|
|
833
840
|
}, {
|
|
834
841
|
readonly sourceField: string[];
|
|
835
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
842
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
836
843
|
readonly destSchema: "accountLabel";
|
|
837
844
|
readonly cardinality: "many";
|
|
838
845
|
}];
|
|
@@ -852,7 +859,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
852
859
|
readonly threadLabel: {
|
|
853
860
|
label: [{
|
|
854
861
|
readonly sourceField: string[];
|
|
855
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
862
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
856
863
|
readonly destSchema: "accountLabel";
|
|
857
864
|
readonly cardinality: "one";
|
|
858
865
|
}];
|
|
@@ -883,7 +890,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
883
890
|
readonly cardinality: "many";
|
|
884
891
|
}, {
|
|
885
892
|
readonly sourceField: string[];
|
|
886
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
893
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
887
894
|
readonly destSchema: "accountLabel";
|
|
888
895
|
readonly cardinality: "many";
|
|
889
896
|
}];
|
|
@@ -958,6 +965,7 @@ export declare const getThreads: import("@rocicorp/zero").SyncedQuery<"getThread
|
|
|
958
965
|
readonly labels: readonly {
|
|
959
966
|
readonly accountId: string;
|
|
960
967
|
readonly id: string;
|
|
968
|
+
readonly name: string | null;
|
|
961
969
|
readonly path: string;
|
|
962
970
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
963
971
|
readonly uidValidity: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getThreads.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getThreads.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAMlE,KAAK,cAAc,GAAG;IACpB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,OAAO,CAAA;QACjB,EAAE,CAAC,EAAE,MAAM,CAAA;QACX,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,UAAU,CAAC,EAAE,MAAM,EA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDtB,CAAA"}
|
|
@@ -5,7 +5,7 @@ const MAX_LIMIT = 1000;
|
|
|
5
5
|
const DEFAULT_LIMIT = 50;
|
|
6
6
|
const parseArgs = (args) => {
|
|
7
7
|
const schema = v.object({
|
|
8
|
-
limit: v.optional(v.pipe(v.number(), v.minValue(
|
|
8
|
+
limit: v.optional(v.pipe(v.number(), v.minValue(0), v.maxValue(MAX_LIMIT)), DEFAULT_LIMIT),
|
|
9
9
|
search: v.optional(v.string()),
|
|
10
10
|
where: v.optional(v.object({
|
|
11
11
|
flagged: v.optional(v.boolean()),
|
|
@@ -223,6 +223,13 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
223
223
|
optional: false;
|
|
224
224
|
customType: string;
|
|
225
225
|
};
|
|
226
|
+
readonly name: Omit<{
|
|
227
|
+
type: "string";
|
|
228
|
+
optional: false;
|
|
229
|
+
customType: string;
|
|
230
|
+
}, "optional"> & {
|
|
231
|
+
optional: true;
|
|
232
|
+
};
|
|
226
233
|
readonly path: {
|
|
227
234
|
type: "string";
|
|
228
235
|
optional: false;
|
|
@@ -728,7 +735,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
728
735
|
}];
|
|
729
736
|
labels: [{
|
|
730
737
|
readonly sourceField: string[];
|
|
731
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
738
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
732
739
|
readonly destSchema: "accountLabel";
|
|
733
740
|
readonly cardinality: "many";
|
|
734
741
|
}];
|
|
@@ -820,7 +827,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
820
827
|
readonly cardinality: "many";
|
|
821
828
|
}, {
|
|
822
829
|
readonly sourceField: string[];
|
|
823
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
830
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
824
831
|
readonly destSchema: "accountLabel";
|
|
825
832
|
readonly cardinality: "many";
|
|
826
833
|
}];
|
|
@@ -840,7 +847,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
840
847
|
readonly threadLabel: {
|
|
841
848
|
label: [{
|
|
842
849
|
readonly sourceField: string[];
|
|
843
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
850
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
844
851
|
readonly destSchema: "accountLabel";
|
|
845
852
|
readonly cardinality: "one";
|
|
846
853
|
}];
|
|
@@ -871,7 +878,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
871
878
|
readonly cardinality: "many";
|
|
872
879
|
}, {
|
|
873
880
|
readonly sourceField: string[];
|
|
874
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
881
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
875
882
|
readonly destSchema: "accountLabel";
|
|
876
883
|
readonly cardinality: "many";
|
|
877
884
|
}];
|
|
@@ -942,6 +949,7 @@ export declare const getUser: import("@rocicorp/zero").SyncedQuery<"getUser", Ma
|
|
|
942
949
|
readonly labels: readonly {
|
|
943
950
|
readonly accountId: string;
|
|
944
951
|
readonly id: string;
|
|
952
|
+
readonly name: string | null;
|
|
945
953
|
readonly path: string;
|
|
946
954
|
readonly specialUse: "ARCHIVE" | "INBOX" | "SENT" | "SPAM" | "TRASH" | null;
|
|
947
955
|
readonly uidValidity: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/getUser.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAA;AAGlE,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMnB,CAAA"}
|
|
@@ -222,6 +222,13 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
222
222
|
optional: false;
|
|
223
223
|
customType: string;
|
|
224
224
|
};
|
|
225
|
+
readonly name: Omit<{
|
|
226
|
+
type: "string";
|
|
227
|
+
optional: false;
|
|
228
|
+
customType: string;
|
|
229
|
+
}, "optional"> & {
|
|
230
|
+
optional: true;
|
|
231
|
+
};
|
|
225
232
|
readonly path: {
|
|
226
233
|
type: "string";
|
|
227
234
|
optional: false;
|
|
@@ -727,7 +734,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
727
734
|
}];
|
|
728
735
|
labels: [{
|
|
729
736
|
readonly sourceField: string[];
|
|
730
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
737
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
731
738
|
readonly destSchema: "accountLabel";
|
|
732
739
|
readonly cardinality: "many";
|
|
733
740
|
}];
|
|
@@ -819,7 +826,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
819
826
|
readonly cardinality: "many";
|
|
820
827
|
}, {
|
|
821
828
|
readonly sourceField: string[];
|
|
822
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
829
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
823
830
|
readonly destSchema: "accountLabel";
|
|
824
831
|
readonly cardinality: "many";
|
|
825
832
|
}];
|
|
@@ -839,7 +846,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
839
846
|
readonly threadLabel: {
|
|
840
847
|
label: [{
|
|
841
848
|
readonly sourceField: string[];
|
|
842
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
849
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
843
850
|
readonly destSchema: "accountLabel";
|
|
844
851
|
readonly cardinality: "one";
|
|
845
852
|
}];
|
|
@@ -870,7 +877,7 @@ export declare const z: import("@rocicorp/zero").SchemaQuery<{
|
|
|
870
877
|
readonly cardinality: "many";
|
|
871
878
|
}, {
|
|
872
879
|
readonly sourceField: string[];
|
|
873
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
880
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
874
881
|
readonly destSchema: "accountLabel";
|
|
875
882
|
readonly cardinality: "many";
|
|
876
883
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/zero/queries/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwB,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
|
package/dist/zero/schema.d.ts
CHANGED
|
@@ -222,6 +222,13 @@ export declare const schema: {
|
|
|
222
222
|
optional: false;
|
|
223
223
|
customType: string;
|
|
224
224
|
};
|
|
225
|
+
readonly name: Omit<{
|
|
226
|
+
type: "string";
|
|
227
|
+
optional: false;
|
|
228
|
+
customType: string;
|
|
229
|
+
}, "optional"> & {
|
|
230
|
+
optional: true;
|
|
231
|
+
};
|
|
225
232
|
readonly path: {
|
|
226
233
|
type: "string";
|
|
227
234
|
optional: false;
|
|
@@ -727,7 +734,7 @@ export declare const schema: {
|
|
|
727
734
|
}];
|
|
728
735
|
labels: [{
|
|
729
736
|
readonly sourceField: string[];
|
|
730
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
737
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
731
738
|
readonly destSchema: "accountLabel";
|
|
732
739
|
readonly cardinality: "many";
|
|
733
740
|
}];
|
|
@@ -819,7 +826,7 @@ export declare const schema: {
|
|
|
819
826
|
readonly cardinality: "many";
|
|
820
827
|
}, {
|
|
821
828
|
readonly sourceField: string[];
|
|
822
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
829
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
823
830
|
readonly destSchema: "accountLabel";
|
|
824
831
|
readonly cardinality: "many";
|
|
825
832
|
}];
|
|
@@ -839,7 +846,7 @@ export declare const schema: {
|
|
|
839
846
|
readonly threadLabel: {
|
|
840
847
|
label: [{
|
|
841
848
|
readonly sourceField: string[];
|
|
842
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
849
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
843
850
|
readonly destSchema: "accountLabel";
|
|
844
851
|
readonly cardinality: "one";
|
|
845
852
|
}];
|
|
@@ -870,7 +877,7 @@ export declare const schema: {
|
|
|
870
877
|
readonly cardinality: "many";
|
|
871
878
|
}, {
|
|
872
879
|
readonly sourceField: string[];
|
|
873
|
-
readonly destField: ("id" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
880
|
+
readonly destField: ("id" | "name" | "accountId" | "path" | "specialUse" | "uidValidity" | "unreadCount")[];
|
|
874
881
|
readonly destSchema: "accountLabel";
|
|
875
882
|
readonly cardinality: "many";
|
|
876
883
|
}];
|
|
@@ -1029,6 +1036,13 @@ export declare const zeroTables: {
|
|
|
1029
1036
|
optional: false;
|
|
1030
1037
|
customType: string;
|
|
1031
1038
|
};
|
|
1039
|
+
readonly name: Omit<{
|
|
1040
|
+
type: "string";
|
|
1041
|
+
optional: false;
|
|
1042
|
+
customType: string;
|
|
1043
|
+
}, "optional"> & {
|
|
1044
|
+
optional: true;
|
|
1045
|
+
};
|
|
1032
1046
|
readonly path: {
|
|
1033
1047
|
type: "string";
|
|
1034
1048
|
optional: false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names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,eAAe,GAAG,OAAO,MAAM,CAAA;AAE3C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BAlWR,MAAM;wBACX,MAAM,EAAE;wBACR,MAAM,EAAE;yBACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6WT,CAAA"}
|
package/dist/zero/schema.js
CHANGED
|
@@ -51,6 +51,7 @@ const accountLabel = table('accountLabel')
|
|
|
51
51
|
.columns({
|
|
52
52
|
accountId: string().from('account_id'),
|
|
53
53
|
id: string(),
|
|
54
|
+
name: string().optional(),
|
|
54
55
|
path: string(),
|
|
55
56
|
specialUse: enumeration().optional().from('special_use'),
|
|
56
57
|
uidValidity: numeric().from('uid_validity'),
|