@marcoappio/marco-config 2.0.415 → 2.0.417
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/index.d.ts +3 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/marcoPublicConfig.d.ts +9 -1
- package/dist/marcoPublicConfig.d.ts.map +1 -1
- package/dist/marcoPublicConfig.js +12 -0
- package/dist/schemas/app.d.ts +1 -1
- package/dist/schemas/app.d.ts.map +1 -1
- package/dist/schemas/app.js +2 -1
- package/dist/schemas/emailAccount.d.ts +1 -1
- package/dist/schemas/index.d.ts +3 -3
- package/dist/schemas/oauth.d.ts +1 -1
- package/dist/schemas/oauth.d.ts.map +1 -1
- package/dist/schemas/oauth.js +2 -1
- package/dist/sdk/endpoints/index.d.ts +0 -887
- package/dist/sdk/endpoints/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.d.ts +0 -887
- package/dist/sdk/endpoints/private/index.d.ts.map +1 -1
- package/dist/sdk/endpoints/private/index.js +0 -2
- package/dist/sdk/index.d.ts +0 -887
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/types/MarcoPlatform.d.ts +3 -0
- package/dist/types/MarcoPlatform.d.ts.map +1 -0
- package/dist/types/MarcoPlatform.js +1 -0
- package/dist/types/OAuthProvider.d.ts +3 -0
- package/dist/types/OAuthProvider.d.ts.map +1 -0
- package/dist/types/OAuthProvider.js +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/labels/index.d.ts +4 -0
- package/dist/utils/labels/index.d.ts.map +1 -0
- package/dist/utils/labels/index.js +4 -0
- package/dist/zero/index.d.ts +1448 -0
- package/dist/zero/index.d.ts.map +1 -0
- package/dist/zero/index.js +13 -0
- package/dist/{sdk/endpoints/private/sync/push → zero/mutators}/account.d.ts +33 -75
- package/dist/zero/mutators/account.d.ts.map +1 -0
- package/dist/zero/mutators/account.js +69 -0
- package/dist/{sdk/endpoints/private/sync/push → zero/mutators}/draft.d.ts +35 -79
- package/dist/{clients → zero/mutators}/draft.d.ts.map +1 -1
- package/dist/zero/mutators/draft.js +114 -0
- package/dist/{sdk/endpoints/private/sync/push → zero/mutators}/thread.d.ts +32 -76
- package/dist/zero/mutators/thread.d.ts.map +1 -0
- package/dist/zero/mutators/thread.js +76 -0
- package/dist/zero/mutators/user.d.ts +32 -0
- package/dist/zero/mutators/user.d.ts.map +1 -0
- package/dist/zero/mutators/user.js +33 -0
- package/dist/zero/mutators.d.ts +412 -0
- package/dist/zero/mutators.d.ts.map +1 -0
- package/dist/zero/mutators.js +44 -0
- package/dist/zero/mutators.test.d.ts +2 -0
- package/dist/zero/mutators.test.d.ts.map +1 -0
- package/dist/zero/mutators.test.js +33 -0
- package/dist/zero/schema.d.ts +1438 -0
- package/dist/zero/schema.d.ts.map +1 -0
- package/dist/zero/schema.js +430 -0
- package/package.json +2 -1
- package/dist/clients/account.d.ts +0 -144
- package/dist/clients/account.d.ts.map +0 -1
- package/dist/clients/account.js +0 -93
- package/dist/clients/contact.d.ts +0 -14
- package/dist/clients/contact.d.ts.map +0 -1
- package/dist/clients/contact.js +0 -14
- package/dist/clients/draft.d.ts +0 -196
- package/dist/clients/draft.js +0 -122
- package/dist/clients/index.d.ts +0 -526
- package/dist/clients/index.d.ts.map +0 -1
- package/dist/clients/index.js +0 -13
- package/dist/clients/thread.d.ts +0 -125
- package/dist/clients/thread.d.ts.map +0 -1
- package/dist/clients/thread.js +0 -117
- package/dist/clients/user.d.ts +0 -53
- package/dist/clients/user.d.ts.map +0 -1
- package/dist/clients/user.js +0 -52
- package/dist/clients/utils/index.d.ts +0 -4
- package/dist/clients/utils/index.d.ts.map +0 -1
- package/dist/clients/utils/index.js +0 -4
- package/dist/clients/utils/labelSpecialUseOrdering.d.ts +0 -3
- package/dist/clients/utils/labelSpecialUseOrdering.d.ts.map +0 -1
- package/dist/clients/utils/labelSpecialUseOrdering.js +0 -1
- package/dist/sdk/endpoints/private/sync/index.d.ts +0 -888
- package/dist/sdk/endpoints/private/sync/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/index.js +0 -3
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts +0 -71
- package/dist/sdk/endpoints/private/sync/pull/account.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/account.js +0 -33
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts +0 -56
- package/dist/sdk/endpoints/private/sync/pull/contact.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/contact.js +0 -40
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts +0 -72
- package/dist/sdk/endpoints/private/sync/pull/draft.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/draft.js +0 -36
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts +0 -349
- package/dist/sdk/endpoints/private/sync/pull/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/index.js +0 -6
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts +0 -100
- package/dist/sdk/endpoints/private/sync/pull/thread.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/thread.js +0 -45
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts +0 -57
- package/dist/sdk/endpoints/private/sync/pull/user.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/pull/user.js +0 -33
- package/dist/sdk/endpoints/private/sync/push/account.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/account.js +0 -73
- package/dist/sdk/endpoints/private/sync/push/draft.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/draft.js +0 -79
- package/dist/sdk/endpoints/private/sync/push/index.d.ts +0 -538
- package/dist/sdk/endpoints/private/sync/push/index.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/index.js +0 -5
- package/dist/sdk/endpoints/private/sync/push/thread.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/thread.js +0 -79
- package/dist/sdk/endpoints/private/sync/push/user.d.ts +0 -64
- package/dist/sdk/endpoints/private/sync/push/user.d.ts.map +0 -1
- package/dist/sdk/endpoints/private/sync/push/user.js +0 -43
- package/dist/types/MarcoClient.d.ts +0 -12
- package/dist/types/MarcoClient.d.ts.map +0 -1
- package/dist/types/MarcoClient.js +0 -1
- package/dist/types/WS.d.ts +0 -7
- package/dist/types/WS.d.ts.map +0 -1
- package/dist/types/WS.js +0 -1
- package/dist/ws.d.ts +0 -6
- package/dist/ws.d.ts.map +0 -1
- package/dist/ws.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/zero/schema.ts"],"names":[],"mappings":"AA2bA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAvWJ,MAAM;4BACX,MAAM,EAAE;4BACR,MAAM,EAAE;6BACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwYjB,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,OAAO,MAAM,CAAA;AAE3C,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA/YR,MAAM;wBACX,MAAM,EAAE;wBACR,MAAM,EAAE;yBACP,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ZT,CAAA"}
|
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
import { boolean, createSchema, enumeration, json, number as numeric, relationships, string, table, } from '@rocicorp/zero';
|
|
2
|
+
const user = table('user')
|
|
3
|
+
.columns({
|
|
4
|
+
id: string(),
|
|
5
|
+
name: string().optional(),
|
|
6
|
+
profilePicture: string().optional(),
|
|
7
|
+
undoSendEnabled: boolean(),
|
|
8
|
+
})
|
|
9
|
+
.primaryKey('id');
|
|
10
|
+
const userPushNotificationToken = table('userPushNotificationToken')
|
|
11
|
+
.columns({
|
|
12
|
+
createdAt: numeric(),
|
|
13
|
+
id: string(),
|
|
14
|
+
token: string(),
|
|
15
|
+
userId: string(),
|
|
16
|
+
})
|
|
17
|
+
.primaryKey('id');
|
|
18
|
+
const contact = table('contact')
|
|
19
|
+
.columns({
|
|
20
|
+
emailAddress: string(),
|
|
21
|
+
id: string(),
|
|
22
|
+
name: string().optional(),
|
|
23
|
+
userId: string(),
|
|
24
|
+
})
|
|
25
|
+
.primaryKey('id');
|
|
26
|
+
const account = table('account')
|
|
27
|
+
.columns({
|
|
28
|
+
color: string(),
|
|
29
|
+
displayName: string().optional(),
|
|
30
|
+
id: string(),
|
|
31
|
+
imapConnectionStatus: enumeration(),
|
|
32
|
+
mailProcessedCount: numeric(),
|
|
33
|
+
mailTotalCount: numeric(),
|
|
34
|
+
primaryAliasId: string().optional(),
|
|
35
|
+
userId: string(),
|
|
36
|
+
})
|
|
37
|
+
.primaryKey('id');
|
|
38
|
+
const accountAlias = table('accountAlias')
|
|
39
|
+
.columns({
|
|
40
|
+
accountId: string(),
|
|
41
|
+
emailAddress: string(),
|
|
42
|
+
id: string(),
|
|
43
|
+
isPrimary: boolean(),
|
|
44
|
+
name: string().optional(),
|
|
45
|
+
})
|
|
46
|
+
.primaryKey('id');
|
|
47
|
+
const accountLabel = table('accountLabel')
|
|
48
|
+
.columns({
|
|
49
|
+
accountId: string(),
|
|
50
|
+
id: string(),
|
|
51
|
+
path: string(),
|
|
52
|
+
specialUse: enumeration().optional(),
|
|
53
|
+
})
|
|
54
|
+
.primaryKey('id');
|
|
55
|
+
const draft = table('draft')
|
|
56
|
+
.columns({
|
|
57
|
+
accountId: string(),
|
|
58
|
+
body: json(),
|
|
59
|
+
error: string().optional(),
|
|
60
|
+
fromAliasId: string().optional(),
|
|
61
|
+
fromEmail: string(),
|
|
62
|
+
fromName: string().optional(),
|
|
63
|
+
id: string(),
|
|
64
|
+
referencedMessageId: string().optional(),
|
|
65
|
+
scheduledFor: numeric().optional(),
|
|
66
|
+
status: enumeration(),
|
|
67
|
+
subject: string().optional(),
|
|
68
|
+
type: enumeration(),
|
|
69
|
+
updatedAt: numeric(),
|
|
70
|
+
userId: string(),
|
|
71
|
+
})
|
|
72
|
+
.primaryKey('id');
|
|
73
|
+
const draftRecipient = table('draftRecipient')
|
|
74
|
+
.columns({
|
|
75
|
+
draftId: string(),
|
|
76
|
+
emailAddress: string(),
|
|
77
|
+
id: string(),
|
|
78
|
+
type: enumeration(),
|
|
79
|
+
})
|
|
80
|
+
.primaryKey('id');
|
|
81
|
+
const draftAttachment = table('draftAttachment')
|
|
82
|
+
.columns({
|
|
83
|
+
draftId: string(),
|
|
84
|
+
failed: boolean(),
|
|
85
|
+
fileName: string(),
|
|
86
|
+
id: string(),
|
|
87
|
+
mimeType: string(),
|
|
88
|
+
totalChunks: numeric(),
|
|
89
|
+
totalSize: numeric(),
|
|
90
|
+
uploadedChunks: numeric(),
|
|
91
|
+
})
|
|
92
|
+
.primaryKey('id');
|
|
93
|
+
const thread = table('thread')
|
|
94
|
+
.columns({
|
|
95
|
+
accountId: string(),
|
|
96
|
+
flagged: boolean(),
|
|
97
|
+
id: string(),
|
|
98
|
+
latestMessageDate: numeric(),
|
|
99
|
+
seen: boolean(),
|
|
100
|
+
userId: string(),
|
|
101
|
+
words: string(),
|
|
102
|
+
})
|
|
103
|
+
.primaryKey('id');
|
|
104
|
+
const threadLabel = table('threadLabel')
|
|
105
|
+
.columns({
|
|
106
|
+
labelId: string(),
|
|
107
|
+
threadId: string(),
|
|
108
|
+
})
|
|
109
|
+
.primaryKey('threadId', 'labelId');
|
|
110
|
+
const threadMessage = table('threadMessage')
|
|
111
|
+
.columns({
|
|
112
|
+
envelopeDate: numeric(),
|
|
113
|
+
envelopeSubject: string().optional(),
|
|
114
|
+
id: string(),
|
|
115
|
+
previewText: string(),
|
|
116
|
+
senderEmail: string(),
|
|
117
|
+
senderName: string().optional(),
|
|
118
|
+
threadId: string(),
|
|
119
|
+
})
|
|
120
|
+
.primaryKey('id');
|
|
121
|
+
const threadMessageRecipient = table('threadMessageRecipient')
|
|
122
|
+
.columns({
|
|
123
|
+
emailAddress: string(),
|
|
124
|
+
id: string(),
|
|
125
|
+
name: string().optional(),
|
|
126
|
+
threadMessageId: string(),
|
|
127
|
+
type: enumeration(),
|
|
128
|
+
})
|
|
129
|
+
.primaryKey('id');
|
|
130
|
+
const threadMessageAttachment = table('threadMessageAttachment')
|
|
131
|
+
.columns({
|
|
132
|
+
fileName: string(),
|
|
133
|
+
id: string(),
|
|
134
|
+
mimeType: string(),
|
|
135
|
+
size: numeric(),
|
|
136
|
+
status: enumeration(),
|
|
137
|
+
threadMessageId: string(),
|
|
138
|
+
})
|
|
139
|
+
.primaryKey('id');
|
|
140
|
+
const threadMessageLabel = table('threadMessageLabel')
|
|
141
|
+
.columns({
|
|
142
|
+
labelId: string(),
|
|
143
|
+
threadMessageId: string(),
|
|
144
|
+
})
|
|
145
|
+
.primaryKey('threadMessageId', 'labelId');
|
|
146
|
+
const userRelationships = relationships(user, ({ many }) => ({
|
|
147
|
+
accounts: many({
|
|
148
|
+
destField: ['userId'],
|
|
149
|
+
destSchema: account,
|
|
150
|
+
sourceField: ['id'],
|
|
151
|
+
}),
|
|
152
|
+
contacts: many({
|
|
153
|
+
destField: ['userId'],
|
|
154
|
+
destSchema: contact,
|
|
155
|
+
sourceField: ['id'],
|
|
156
|
+
}),
|
|
157
|
+
drafts: many({
|
|
158
|
+
destField: ['userId'],
|
|
159
|
+
destSchema: draft,
|
|
160
|
+
sourceField: ['id'],
|
|
161
|
+
}),
|
|
162
|
+
pushNotificationTokens: many({
|
|
163
|
+
destField: ['userId'],
|
|
164
|
+
destSchema: userPushNotificationToken,
|
|
165
|
+
sourceField: ['id'],
|
|
166
|
+
}),
|
|
167
|
+
threads: many({
|
|
168
|
+
destField: ['userId'],
|
|
169
|
+
destSchema: thread,
|
|
170
|
+
sourceField: ['id'],
|
|
171
|
+
}),
|
|
172
|
+
}));
|
|
173
|
+
const userPushNotificationTokenRelationships = relationships(userPushNotificationToken, ({ one }) => ({
|
|
174
|
+
user: one({
|
|
175
|
+
destField: ['id'],
|
|
176
|
+
destSchema: user,
|
|
177
|
+
sourceField: ['userId'],
|
|
178
|
+
}),
|
|
179
|
+
}));
|
|
180
|
+
const contactRelationships = relationships(contact, ({ one }) => ({
|
|
181
|
+
user: one({
|
|
182
|
+
destField: ['id'],
|
|
183
|
+
destSchema: user,
|
|
184
|
+
sourceField: ['userId'],
|
|
185
|
+
}),
|
|
186
|
+
}));
|
|
187
|
+
const accountRelationships = relationships(account, ({ one, many }) => ({
|
|
188
|
+
aliases: many({
|
|
189
|
+
destField: ['accountId'],
|
|
190
|
+
destSchema: accountAlias,
|
|
191
|
+
sourceField: ['id'],
|
|
192
|
+
}),
|
|
193
|
+
drafts: many({
|
|
194
|
+
destField: ['accountId'],
|
|
195
|
+
destSchema: draft,
|
|
196
|
+
sourceField: ['id'],
|
|
197
|
+
}),
|
|
198
|
+
labels: many({
|
|
199
|
+
destField: ['accountId'],
|
|
200
|
+
destSchema: accountLabel,
|
|
201
|
+
sourceField: ['id'],
|
|
202
|
+
}),
|
|
203
|
+
primaryAlias: one({
|
|
204
|
+
destField: ['id'],
|
|
205
|
+
destSchema: accountAlias,
|
|
206
|
+
sourceField: ['primaryAliasId'],
|
|
207
|
+
}),
|
|
208
|
+
threads: many({
|
|
209
|
+
destField: ['accountId'],
|
|
210
|
+
destSchema: thread,
|
|
211
|
+
sourceField: ['id'],
|
|
212
|
+
}),
|
|
213
|
+
user: one({
|
|
214
|
+
destField: ['id'],
|
|
215
|
+
destSchema: user,
|
|
216
|
+
sourceField: ['userId'],
|
|
217
|
+
}),
|
|
218
|
+
}));
|
|
219
|
+
const accountAliasRelationships = relationships(accountAlias, ({ one }) => ({
|
|
220
|
+
account: one({
|
|
221
|
+
destField: ['id'],
|
|
222
|
+
destSchema: account,
|
|
223
|
+
sourceField: ['accountId'],
|
|
224
|
+
}),
|
|
225
|
+
}));
|
|
226
|
+
const accountLabelRelationships = relationships(accountLabel, ({ one, many }) => ({
|
|
227
|
+
account: one({
|
|
228
|
+
destField: ['id'],
|
|
229
|
+
destSchema: account,
|
|
230
|
+
sourceField: ['accountId'],
|
|
231
|
+
}),
|
|
232
|
+
threadMessages: many({
|
|
233
|
+
destField: ['labelId'],
|
|
234
|
+
destSchema: threadMessageLabel,
|
|
235
|
+
sourceField: ['id'],
|
|
236
|
+
}, {
|
|
237
|
+
destField: ['id'],
|
|
238
|
+
destSchema: threadMessage,
|
|
239
|
+
sourceField: ['threadMessageId'],
|
|
240
|
+
}),
|
|
241
|
+
threads: many({
|
|
242
|
+
destField: ['labelId'],
|
|
243
|
+
destSchema: threadLabel,
|
|
244
|
+
sourceField: ['id'],
|
|
245
|
+
}, {
|
|
246
|
+
destField: ['id'],
|
|
247
|
+
destSchema: thread,
|
|
248
|
+
sourceField: ['threadId'],
|
|
249
|
+
}),
|
|
250
|
+
}));
|
|
251
|
+
const draftRelationships = relationships(draft, ({ one, many }) => ({
|
|
252
|
+
account: one({
|
|
253
|
+
destField: ['id'],
|
|
254
|
+
destSchema: account,
|
|
255
|
+
sourceField: ['accountId'],
|
|
256
|
+
}),
|
|
257
|
+
attachments: many({
|
|
258
|
+
destField: ['draftId'],
|
|
259
|
+
destSchema: draftAttachment,
|
|
260
|
+
sourceField: ['id'],
|
|
261
|
+
}),
|
|
262
|
+
recipients: many({
|
|
263
|
+
destField: ['draftId'],
|
|
264
|
+
destSchema: draftRecipient,
|
|
265
|
+
sourceField: ['id'],
|
|
266
|
+
}),
|
|
267
|
+
user: one({
|
|
268
|
+
destField: ['id'],
|
|
269
|
+
destSchema: user,
|
|
270
|
+
sourceField: ['userId'],
|
|
271
|
+
}),
|
|
272
|
+
}));
|
|
273
|
+
const draftAttachmentRelationships = relationships(draftAttachment, ({ one }) => ({
|
|
274
|
+
draft: one({
|
|
275
|
+
destField: ['id'],
|
|
276
|
+
destSchema: draft,
|
|
277
|
+
sourceField: ['draftId'],
|
|
278
|
+
}),
|
|
279
|
+
}));
|
|
280
|
+
const draftRecipientRelationships = relationships(draftRecipient, ({ one }) => ({
|
|
281
|
+
draft: one({
|
|
282
|
+
destField: ['id'],
|
|
283
|
+
destSchema: draft,
|
|
284
|
+
sourceField: ['draftId'],
|
|
285
|
+
}),
|
|
286
|
+
}));
|
|
287
|
+
const threadRelationships = relationships(thread, ({ one, many }) => ({
|
|
288
|
+
account: one({
|
|
289
|
+
destField: ['id'],
|
|
290
|
+
destSchema: account,
|
|
291
|
+
sourceField: ['accountId'],
|
|
292
|
+
}),
|
|
293
|
+
labels: many({
|
|
294
|
+
destField: ['threadId'],
|
|
295
|
+
destSchema: threadLabel,
|
|
296
|
+
sourceField: ['id'],
|
|
297
|
+
}, {
|
|
298
|
+
destField: ['id'],
|
|
299
|
+
destSchema: accountLabel,
|
|
300
|
+
sourceField: ['labelId'],
|
|
301
|
+
}),
|
|
302
|
+
messages: many({
|
|
303
|
+
destField: ['threadId'],
|
|
304
|
+
destSchema: threadMessage,
|
|
305
|
+
sourceField: ['id'],
|
|
306
|
+
}),
|
|
307
|
+
user: one({
|
|
308
|
+
destField: ['id'],
|
|
309
|
+
destSchema: user,
|
|
310
|
+
sourceField: ['userId'],
|
|
311
|
+
}),
|
|
312
|
+
}));
|
|
313
|
+
const threadLabelRelationships = relationships(threadLabel, ({ one }) => ({
|
|
314
|
+
label: one({
|
|
315
|
+
destField: ['id'],
|
|
316
|
+
destSchema: accountLabel,
|
|
317
|
+
sourceField: ['labelId'],
|
|
318
|
+
}),
|
|
319
|
+
thread: one({
|
|
320
|
+
destField: ['id'],
|
|
321
|
+
destSchema: thread,
|
|
322
|
+
sourceField: ['threadId'],
|
|
323
|
+
}),
|
|
324
|
+
}));
|
|
325
|
+
const threadMessageRelationships = relationships(threadMessage, ({ one, many }) => ({
|
|
326
|
+
attachments: many({
|
|
327
|
+
destField: ['threadMessageId'],
|
|
328
|
+
destSchema: threadMessageAttachment,
|
|
329
|
+
sourceField: ['id'],
|
|
330
|
+
}),
|
|
331
|
+
labels: many({
|
|
332
|
+
destField: ['threadMessageId'],
|
|
333
|
+
destSchema: threadMessageLabel,
|
|
334
|
+
sourceField: ['id'],
|
|
335
|
+
}, {
|
|
336
|
+
destField: ['id'],
|
|
337
|
+
destSchema: accountLabel,
|
|
338
|
+
sourceField: ['labelId'],
|
|
339
|
+
}),
|
|
340
|
+
recipients: many({
|
|
341
|
+
destField: ['threadMessageId'],
|
|
342
|
+
destSchema: threadMessageRecipient,
|
|
343
|
+
sourceField: ['id'],
|
|
344
|
+
}),
|
|
345
|
+
thread: one({
|
|
346
|
+
destField: ['id'],
|
|
347
|
+
destSchema: thread,
|
|
348
|
+
sourceField: ['threadId'],
|
|
349
|
+
}),
|
|
350
|
+
}));
|
|
351
|
+
const threadMessageAttachmentRelationships = relationships(threadMessageAttachment, ({ one }) => ({
|
|
352
|
+
message: one({
|
|
353
|
+
destField: ['id'],
|
|
354
|
+
destSchema: threadMessage,
|
|
355
|
+
sourceField: ['threadMessageId'],
|
|
356
|
+
}),
|
|
357
|
+
}));
|
|
358
|
+
const threadMessageRecipientRelationships = relationships(threadMessageRecipient, ({ one }) => ({
|
|
359
|
+
message: one({
|
|
360
|
+
destField: ['id'],
|
|
361
|
+
destSchema: threadMessage,
|
|
362
|
+
sourceField: ['threadMessageId'],
|
|
363
|
+
}),
|
|
364
|
+
}));
|
|
365
|
+
const threadMessageLabelRelationships = relationships(threadMessageLabel, ({ one }) => ({
|
|
366
|
+
label: one({
|
|
367
|
+
destField: ['id'],
|
|
368
|
+
destSchema: accountLabel,
|
|
369
|
+
sourceField: ['labelId'],
|
|
370
|
+
}),
|
|
371
|
+
message: one({
|
|
372
|
+
destField: ['id'],
|
|
373
|
+
destSchema: threadMessage,
|
|
374
|
+
sourceField: ['threadMessageId'],
|
|
375
|
+
}),
|
|
376
|
+
}));
|
|
377
|
+
export const schema = createSchema({
|
|
378
|
+
enableLegacyMutators: false,
|
|
379
|
+
relationships: [
|
|
380
|
+
userRelationships,
|
|
381
|
+
userPushNotificationTokenRelationships,
|
|
382
|
+
contactRelationships,
|
|
383
|
+
accountRelationships,
|
|
384
|
+
accountAliasRelationships,
|
|
385
|
+
accountLabelRelationships,
|
|
386
|
+
draftRelationships,
|
|
387
|
+
draftAttachmentRelationships,
|
|
388
|
+
draftRecipientRelationships,
|
|
389
|
+
threadRelationships,
|
|
390
|
+
threadLabelRelationships,
|
|
391
|
+
threadMessageRelationships,
|
|
392
|
+
threadMessageAttachmentRelationships,
|
|
393
|
+
threadMessageRecipientRelationships,
|
|
394
|
+
threadMessageLabelRelationships,
|
|
395
|
+
],
|
|
396
|
+
tables: [
|
|
397
|
+
user,
|
|
398
|
+
userPushNotificationToken,
|
|
399
|
+
contact,
|
|
400
|
+
account,
|
|
401
|
+
accountAlias,
|
|
402
|
+
accountLabel,
|
|
403
|
+
draft,
|
|
404
|
+
draftRecipient,
|
|
405
|
+
draftAttachment,
|
|
406
|
+
thread,
|
|
407
|
+
threadLabel,
|
|
408
|
+
threadMessage,
|
|
409
|
+
threadMessageRecipient,
|
|
410
|
+
threadMessageAttachment,
|
|
411
|
+
threadMessageLabel,
|
|
412
|
+
],
|
|
413
|
+
});
|
|
414
|
+
export const zeroTables = {
|
|
415
|
+
account,
|
|
416
|
+
accountAlias,
|
|
417
|
+
accountLabel,
|
|
418
|
+
contact,
|
|
419
|
+
draft,
|
|
420
|
+
draftAttachment,
|
|
421
|
+
draftRecipient,
|
|
422
|
+
thread,
|
|
423
|
+
threadLabel,
|
|
424
|
+
threadMessage,
|
|
425
|
+
threadMessageAttachment,
|
|
426
|
+
threadMessageLabel,
|
|
427
|
+
threadMessageRecipient,
|
|
428
|
+
user,
|
|
429
|
+
userPushNotificationToken,
|
|
430
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@marcoappio/marco-config",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.417",
|
|
4
4
|
"author": "team@marcoapp.io",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": "git@github.com:marcoappio/marco-config.git",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"typecheck": "tsc -noEmit --incremental"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
+
"@rocicorp/zero": "0.24.2025101500",
|
|
28
29
|
"diff": "8.0.2",
|
|
29
30
|
"valibot": "1.1.0"
|
|
30
31
|
},
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
export declare const account: {
|
|
3
|
-
model: v.ObjectSchema<{
|
|
4
|
-
readonly aliases: v.ObjectSchema<{
|
|
5
|
-
readonly nonPrimary: v.ArraySchema<v.ObjectSchema<{
|
|
6
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
7
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
8
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
9
|
-
}, undefined>, undefined>;
|
|
10
|
-
readonly primary: v.ObjectSchema<{
|
|
11
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
12
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
13
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
14
|
-
}, undefined>;
|
|
15
|
-
}, undefined>;
|
|
16
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
17
|
-
readonly imapConnectionStatus: v.PicklistSchema<readonly ["AWAITING_CONNECTION", "CONNECTED", "CONNECTION_FAILED_AUTHENTICATION_ERROR", "CONNECTION_FAILED_CONNECTION_ERROR", "CONNECTION_FAILED_OAUTH_EXCHANGE_ERROR", "CONNECTION_FAILED_QUOTA_ERROR", "CONNECTION_FAILED_UNKNOWN_ERROR"], undefined>;
|
|
18
|
-
readonly labels: v.ArraySchema<v.ObjectSchema<{
|
|
19
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
20
|
-
readonly path: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
21
|
-
readonly specialUse: v.NullableSchema<v.PicklistSchema<readonly ["ARCHIVE", "INBOX", "SENT", "SPAM", "TRASH"], undefined>, undefined>;
|
|
22
|
-
}, undefined>, undefined>;
|
|
23
|
-
readonly mailCounts: v.ObjectSchema<{
|
|
24
|
-
readonly processed: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
25
|
-
readonly total: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
26
|
-
}, undefined>;
|
|
27
|
-
readonly settings: v.ObjectSchema<{
|
|
28
|
-
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
29
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
30
|
-
}, undefined>;
|
|
31
|
-
}, undefined>;
|
|
32
|
-
mutators: {
|
|
33
|
-
createAccount: {
|
|
34
|
-
delta: v.ObjectSchema<{
|
|
35
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
36
|
-
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
37
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
38
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
39
|
-
}, undefined>;
|
|
40
|
-
};
|
|
41
|
-
createAlias: {
|
|
42
|
-
delta: v.ObjectSchema<{
|
|
43
|
-
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
44
|
-
readonly alias: v.ObjectSchema<{
|
|
45
|
-
readonly emailAddress: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.EmailAction<string, undefined>, v.MaxLengthAction<string, 255, undefined>]>, undefined>;
|
|
46
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
47
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
48
|
-
}, undefined>;
|
|
49
|
-
}, undefined>;
|
|
50
|
-
};
|
|
51
|
-
deleteAccount: {
|
|
52
|
-
delta: v.ObjectSchema<{
|
|
53
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
54
|
-
}, undefined>;
|
|
55
|
-
};
|
|
56
|
-
deleteAlias: {
|
|
57
|
-
delta: v.ObjectSchema<{
|
|
58
|
-
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
59
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
60
|
-
}, undefined>;
|
|
61
|
-
};
|
|
62
|
-
setAliasName: {
|
|
63
|
-
delta: v.ObjectSchema<{
|
|
64
|
-
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
65
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
66
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
67
|
-
}, undefined>;
|
|
68
|
-
};
|
|
69
|
-
setAliasPrimary: {
|
|
70
|
-
delta: v.ObjectSchema<{
|
|
71
|
-
readonly accountId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
72
|
-
readonly aliasId: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
73
|
-
}, undefined>;
|
|
74
|
-
};
|
|
75
|
-
setConnectionConfigImapRaw: {
|
|
76
|
-
delta: v.ObjectSchema<{
|
|
77
|
-
readonly connectionConfig: v.ObjectSchema<{
|
|
78
|
-
readonly imapHost: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
79
|
-
readonly imapPassword: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
80
|
-
readonly imapPort: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
81
|
-
readonly imapSocketType: v.UnionSchema<[v.LiteralSchema<"STARTTLS", undefined>, v.LiteralSchema<"SSL", undefined>], undefined>;
|
|
82
|
-
readonly imapUser: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
83
|
-
readonly smtpHost: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
84
|
-
readonly smtpPassword: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
85
|
-
readonly smtpPort: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, number, undefined>, v.MaxValueAction<number, number, undefined>]>, undefined>;
|
|
86
|
-
readonly smtpSocketType: v.UnionSchema<[v.LiteralSchema<"STARTTLS", undefined>, v.LiteralSchema<"SSL", undefined>], undefined>;
|
|
87
|
-
readonly smtpUser: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
88
|
-
}, undefined>;
|
|
89
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
90
|
-
}, undefined>;
|
|
91
|
-
};
|
|
92
|
-
setConnectionConfigOauth: {
|
|
93
|
-
delta: v.ObjectSchema<{
|
|
94
|
-
readonly connectionConfig: v.ObjectSchema<{
|
|
95
|
-
readonly code: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
96
|
-
readonly provider: v.UnionSchema<[v.LiteralSchema<"GOOGLE", undefined>, v.LiteralSchema<"OUTLOOK", undefined>], undefined>;
|
|
97
|
-
readonly user: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
98
|
-
}, undefined>;
|
|
99
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
100
|
-
}, undefined>;
|
|
101
|
-
};
|
|
102
|
-
setSettings: {
|
|
103
|
-
delta: v.ObjectSchema<{
|
|
104
|
-
readonly id: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
105
|
-
readonly settings: Omit<v.ObjectSchema<{
|
|
106
|
-
readonly color: v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
107
|
-
readonly name: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>;
|
|
108
|
-
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
109
|
-
readonly entries: {
|
|
110
|
-
readonly color: v.OptionalSchema<v.NonOptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
111
|
-
readonly name: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.NonEmptyAction<string, undefined>, v.MaxLengthAction<string, number, undefined>]>, undefined>, undefined>;
|
|
112
|
-
};
|
|
113
|
-
readonly '~standard': v.StandardProps<{
|
|
114
|
-
color?: string | undefined;
|
|
115
|
-
name?: string | null | undefined;
|
|
116
|
-
}, {
|
|
117
|
-
color?: string | undefined;
|
|
118
|
-
name?: string | null | undefined;
|
|
119
|
-
}>;
|
|
120
|
-
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
121
|
-
color?: string | undefined;
|
|
122
|
-
name?: string | null | undefined;
|
|
123
|
-
}, v.ObjectIssue | v.StringIssue | v.NonOptionalIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number>>;
|
|
124
|
-
readonly '~types'?: {
|
|
125
|
-
readonly input: {
|
|
126
|
-
color?: string | undefined;
|
|
127
|
-
name?: string | null | undefined;
|
|
128
|
-
};
|
|
129
|
-
readonly output: {
|
|
130
|
-
color?: string | undefined;
|
|
131
|
-
name?: string | null | undefined;
|
|
132
|
-
};
|
|
133
|
-
readonly issue: v.ObjectIssue | v.StringIssue | v.NonOptionalIssue | v.NonEmptyIssue<string> | v.MaxLengthIssue<string, number>;
|
|
134
|
-
} | undefined;
|
|
135
|
-
};
|
|
136
|
-
}, undefined>;
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
name: "account";
|
|
140
|
-
pullUrl: "/v1/pv/sync/pull/account";
|
|
141
|
-
pushUrl: "/v1/pv/sync/push/account";
|
|
142
|
-
schemaVersion: "v1";
|
|
143
|
-
};
|
|
144
|
-
//# sourceMappingURL=account.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../src/clients/account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAgB5B,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmFG,CAAA"}
|