@codecks/fetch 0.1.0 → 0.1.2
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/_exploration/api-requester.d.ts +18 -0
- package/dist/_exploration/api-requester.js +120 -0
- package/dist/_exploration/create-hooks.d.ts +12 -0
- package/dist/_exploration/create-hooks.js +137 -0
- package/dist/_exploration/loader.d.ts +26 -0
- package/dist/_exploration/loader.js +89 -0
- package/dist/_exploration/store.d.ts +4 -0
- package/dist/_exploration/store.js +161 -0
- package/dist/_root-BG9fhc-C.d.ts +34 -0
- package/dist/collection-utils-CYJaA1a9.js +32 -0
- package/dist/index.d.ts +4 -2890
- package/dist/index.js +13 -3076
- package/dist/loader-types-DJdGWL4B.d.ts +40 -0
- package/dist/loader-utils-CjrkQskt.d.ts +2688 -0
- package/dist/query-helpers-DsMMOtSO.js +3037 -0
- package/dist/query-type-MH8IxqbW.d.ts +182 -0
- package/dist/store-mAj3G67A.d.ts +44 -0
- package/package.json +1 -1
|
@@ -0,0 +1,2688 @@
|
|
|
1
|
+
import { InferModelQuery, ModelDesc, ModelQuery, Nominal, RelationEntry, TypedField } from "./query-type-MH8IxqbW.js";
|
|
2
|
+
|
|
3
|
+
//#region src/models/AccountOnboardingStep.d.ts
|
|
4
|
+
type AccountOnboardingStepId = Nominal<string, "accountOnboardingStep">;
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/models/File.d.ts
|
|
7
|
+
type FileId = Nominal<string, "file">;
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region src/models/Release.d.ts
|
|
10
|
+
type ReleaseId = Nominal<string, "release">;
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region src/models/User.d.ts
|
|
13
|
+
type UserId = Nominal<string, "user">;
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/models/Account.d.ts
|
|
16
|
+
type AccountId = Nominal<string, "account">;
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/models/Project.d.ts
|
|
19
|
+
type ProjectId = Nominal<string, "project">;
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/models/Milestone.d.ts
|
|
22
|
+
type MilestoneId = Nominal<string, "milestone">;
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/models/ProjectTag.d.ts
|
|
25
|
+
type ProjectTagId = Nominal<string, "projectTag">;
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/models/Deck.d.ts
|
|
28
|
+
type DeckId = Nominal<string, "deck">;
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/models/SprintConfig.d.ts
|
|
31
|
+
type SprintConfigId = Nominal<string, "sprintConfig">;
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region src/models/Sprint.d.ts
|
|
34
|
+
type SprintId = Nominal<string, "sprint">;
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/models/WorkflowItem.d.ts
|
|
37
|
+
type WorkflowItemId = Nominal<string, "workflowItem">;
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region src/models/DiscordGuild.d.ts
|
|
40
|
+
type DiscordGuildId = Nominal<string, "discordGuild">;
|
|
41
|
+
//#endregion
|
|
42
|
+
//#region src/models/VisionBoard.d.ts
|
|
43
|
+
type VisionBoardId = Nominal<string, "visionBoard">;
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/models/Card.d.ts
|
|
46
|
+
type CardId = Nominal<string, "card">;
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/models/ActiveTimeTracker.d.ts
|
|
49
|
+
type ActiveTimeTrackerId = Nominal<string, "activeTimeTracker">;
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region src/models/Activity.d.ts
|
|
52
|
+
type ActivityId = Nominal<string, "activity">;
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/models/AffiliateCode.d.ts
|
|
55
|
+
type AffiliateCodeId = Nominal<string, "affiliateCode">;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/models/App.d.ts
|
|
58
|
+
type AppId = Nominal<string, "app">;
|
|
59
|
+
//#endregion
|
|
60
|
+
//#region src/models/AppInstallation.d.ts
|
|
61
|
+
type AppInstallationId = Nominal<string, "appInstallation">;
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/models/Attachment.d.ts
|
|
64
|
+
type AttachmentId = Nominal<string, "attachment">;
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/models/TimeTrackingSegment.d.ts
|
|
67
|
+
type TimeTrackingSegmentId = Nominal<string, "timeTrackingSegment">;
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/models/CardPreset.d.ts
|
|
70
|
+
type CardPresetId = Nominal<string, "cardPreset">;
|
|
71
|
+
//#endregion
|
|
72
|
+
//#region src/models/CardSubscription.d.ts
|
|
73
|
+
type CardSubscriptionId = Nominal<string, "cardSubscription">;
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region src/models/CardUpvote.d.ts
|
|
76
|
+
type CardUpvoteId = Nominal<string, "cardUpvote">;
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/models/DeckSubscription.d.ts
|
|
79
|
+
type DeckSubscriptionId = Nominal<string, "deckSubscription">;
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/models/DiscordMember.d.ts
|
|
82
|
+
type DiscordMemberId = Nominal<string, "discordMember">;
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region src/models/DiscordProjectNotification.d.ts
|
|
85
|
+
type DiscordProjectNotificationId = Nominal<string, "discordProjectNotification">;
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/models/DiscordSlashCommand.d.ts
|
|
88
|
+
type DiscordSlashCommandId = Nominal<string, "discordSlashCommand">;
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/models/Integration.d.ts
|
|
91
|
+
type IntegrationId = Nominal<string, "integration">;
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region src/models/Invoice.d.ts
|
|
94
|
+
type InvoiceId = Nominal<string, "invoice">;
|
|
95
|
+
//#endregion
|
|
96
|
+
//#region src/models/PinnedMilestone.d.ts
|
|
97
|
+
type PinnedMilestoneId = Nominal<string, "pinnedMilestone">;
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/models/ProjectSelection.d.ts
|
|
100
|
+
type ProjectSelectionId = Nominal<string, "projectSelection">;
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/models/QueueEntry.d.ts
|
|
103
|
+
type QueueEntryId = Nominal<string, "queueEntry">;
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/models/QueueSelection.d.ts
|
|
106
|
+
type QueueSelectionId = Nominal<string, "queueSelection">;
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/models/Resolvable.d.ts
|
|
109
|
+
type ResolvableId = Nominal<string, "resolvable">;
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/models/ResolvableEntry.d.ts
|
|
112
|
+
type ResolvableEntryId = Nominal<string, "resolvableEntry">;
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/models/ResolvableEntryReaction.d.ts
|
|
115
|
+
type ResolvableEntryReactionId = Nominal<string, "resolvableEntryReaction">;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/models/SavedSearch.d.ts
|
|
118
|
+
type SavedSearchId = Nominal<string, "savedSearch">;
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/models/UserEmail.d.ts
|
|
121
|
+
type UserEmailId = Nominal<string, "userEmail">;
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/models/UserInvitation.d.ts
|
|
124
|
+
type UserInvitationId = Nominal<string, "userInvitation">;
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region src/models/UserInviteCode.d.ts
|
|
127
|
+
type UserInviteCodeId = Nominal<string, "userInviteCode">;
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region src/models/UserTag.d.ts
|
|
130
|
+
type UserTagId = Nominal<string, "userTag">;
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region src/models/UserReportSetting.d.ts
|
|
133
|
+
type UserReportSettingId = Nominal<string, "userReportSetting">;
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region src/models/UserReportEmail.d.ts
|
|
136
|
+
type UserReportEmailId = Nominal<string, "userReportEmail">;
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/models/UserReportToken.d.ts
|
|
139
|
+
type UserReportTokenId = Nominal<string, "userReportToken">;
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region src/models/VisionBoardQuery.d.ts
|
|
142
|
+
type VisionBoardQueryId = Nominal<string, "visionBoardQuery">;
|
|
143
|
+
//#endregion
|
|
144
|
+
//#region src/models/Wizard.d.ts
|
|
145
|
+
type WizardId = Nominal<string, "wizard">;
|
|
146
|
+
//#endregion
|
|
147
|
+
//#region src/models/index.d.ts
|
|
148
|
+
declare const modelMap: {
|
|
149
|
+
_root: ModelDesc<"_root", {}, {
|
|
150
|
+
releases: RelationEntry<"release", {
|
|
151
|
+
readonly type: "hasMany";
|
|
152
|
+
}>;
|
|
153
|
+
accountOnboardingSteps: RelationEntry<"accountOnboardingStep", {
|
|
154
|
+
readonly type: "hasMany";
|
|
155
|
+
}>;
|
|
156
|
+
apps: RelationEntry<"app", {
|
|
157
|
+
readonly type: "hasMany";
|
|
158
|
+
}>;
|
|
159
|
+
account: RelationEntry<"account", {
|
|
160
|
+
readonly type: "hasOne";
|
|
161
|
+
}>;
|
|
162
|
+
loggedInUser: RelationEntry<"user", {
|
|
163
|
+
readonly type: "hasOne";
|
|
164
|
+
}>;
|
|
165
|
+
cardsStatusHistory: RelationEntry<"cardsStatusHistory", {
|
|
166
|
+
readonly type: "hasMany";
|
|
167
|
+
}>;
|
|
168
|
+
cardsEffortHistory: RelationEntry<"cardsEffortHistory", {
|
|
169
|
+
readonly type: "hasMany";
|
|
170
|
+
}>;
|
|
171
|
+
cardsFinishedHistory: RelationEntry<"cardsFinishedHistory", {
|
|
172
|
+
readonly type: "hasMany";
|
|
173
|
+
}>;
|
|
174
|
+
cardsTimeToFinished: RelationEntry<"cardsTimeToFinished", {
|
|
175
|
+
readonly type: "hasMany";
|
|
176
|
+
}>;
|
|
177
|
+
}, []>;
|
|
178
|
+
accountOnboardingStep: ModelDesc<"accountOnboardingStep", {
|
|
179
|
+
key: TypedField<"id", AccountOnboardingStepId, {}>;
|
|
180
|
+
title: TypedField<"string", string, {}>;
|
|
181
|
+
description: TypedField<"string", string, {}>;
|
|
182
|
+
chapter: TypedField<"string", string, {}>;
|
|
183
|
+
sortValue: TypedField<"string", string, {}>;
|
|
184
|
+
variants: TypedField<"array", any[], {}>;
|
|
185
|
+
xp: TypedField<"int", number, {}>;
|
|
186
|
+
milestone: TypedField<"string", string, {}>;
|
|
187
|
+
}, {}, ["key"]>;
|
|
188
|
+
accountOnboarding: ModelDesc<"accountOnboarding", {
|
|
189
|
+
variants: TypedField<"array", any[], {}>;
|
|
190
|
+
steps: TypedField<"obj", any, {}>;
|
|
191
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
192
|
+
}, {
|
|
193
|
+
account: RelationEntry<"account", {
|
|
194
|
+
readonly type: "belongsTo";
|
|
195
|
+
readonly fk: "accountId";
|
|
196
|
+
}>;
|
|
197
|
+
}, ["accountId"]>;
|
|
198
|
+
accountRole: ModelDesc<"accountRole", {
|
|
199
|
+
role: TypedField<"string", string, {}>;
|
|
200
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
201
|
+
lastChangedAt: TypedField<"date", Date, {}>;
|
|
202
|
+
roleAsPrio: TypedField<"int", number, {}>;
|
|
203
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
204
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
205
|
+
}, {
|
|
206
|
+
user: RelationEntry<"user", {
|
|
207
|
+
readonly type: "belongsTo";
|
|
208
|
+
readonly fk: "userId";
|
|
209
|
+
}>;
|
|
210
|
+
account: RelationEntry<"account", {
|
|
211
|
+
readonly type: "belongsTo";
|
|
212
|
+
readonly fk: "accountId";
|
|
213
|
+
}>;
|
|
214
|
+
}, ["accountId", "userId"]>;
|
|
215
|
+
accountUserAchievement: ModelDesc<"accountUserAchievement", {
|
|
216
|
+
value: TypedField<"obj", any, {}>;
|
|
217
|
+
context: TypedField<"obj", any, {}>;
|
|
218
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
219
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
220
|
+
}, {
|
|
221
|
+
account: RelationEntry<"account", {
|
|
222
|
+
readonly type: "belongsTo";
|
|
223
|
+
readonly fk: "accountId";
|
|
224
|
+
}>;
|
|
225
|
+
user: RelationEntry<"user", {
|
|
226
|
+
readonly type: "belongsTo";
|
|
227
|
+
readonly fk: "userId";
|
|
228
|
+
}>;
|
|
229
|
+
}, ["accountId", "userId", "key"]>;
|
|
230
|
+
accountUserSetting: ModelDesc<"accountUserSetting", {
|
|
231
|
+
wantsWeeklyDigestMail: TypedField<"bool", boolean, {}>;
|
|
232
|
+
timelineScaleTypeOverwrite: TypedField<"string", string, {}>;
|
|
233
|
+
startWeekdayOverwrite: TypedField<"string", string, {}>;
|
|
234
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
235
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
236
|
+
inboxDeckId: TypedField<"belongsTo", DeckId, {}>;
|
|
237
|
+
}, {
|
|
238
|
+
account: RelationEntry<"account", {
|
|
239
|
+
readonly type: "belongsTo";
|
|
240
|
+
readonly fk: "accountId";
|
|
241
|
+
}>;
|
|
242
|
+
user: RelationEntry<"user", {
|
|
243
|
+
readonly type: "belongsTo";
|
|
244
|
+
readonly fk: "userId";
|
|
245
|
+
}>;
|
|
246
|
+
inboxDeck: RelationEntry<"deck", {
|
|
247
|
+
readonly type: "belongsTo";
|
|
248
|
+
readonly fk: "inboxDeckId";
|
|
249
|
+
}>;
|
|
250
|
+
}, ["accountId", "userId"]>;
|
|
251
|
+
account: ModelDesc<"account", {
|
|
252
|
+
id: TypedField<"id", AccountId, {}>;
|
|
253
|
+
subdomain: TypedField<"string", string, {}>;
|
|
254
|
+
name: TypedField<"string", string, {}>;
|
|
255
|
+
billingName: TypedField<"string", string, {
|
|
256
|
+
readonly optional: true;
|
|
257
|
+
}>;
|
|
258
|
+
billingLine1: TypedField<"string", string, {
|
|
259
|
+
readonly optional: true;
|
|
260
|
+
}>;
|
|
261
|
+
billingLine2: TypedField<"string", string, {
|
|
262
|
+
readonly optional: true;
|
|
263
|
+
}>;
|
|
264
|
+
billingZip: TypedField<"string", string, {
|
|
265
|
+
readonly optional: true;
|
|
266
|
+
}>;
|
|
267
|
+
billingCity: TypedField<"string", string, {
|
|
268
|
+
readonly optional: true;
|
|
269
|
+
}>;
|
|
270
|
+
billingCountryCode: TypedField<"string", string, {
|
|
271
|
+
readonly optional: true;
|
|
272
|
+
}>;
|
|
273
|
+
billingEmail: TypedField<"string", string, {
|
|
274
|
+
readonly optional: true;
|
|
275
|
+
}>;
|
|
276
|
+
netGiftAmount: TypedField<"int", number, {}>;
|
|
277
|
+
persona: TypedField<"string", string, {
|
|
278
|
+
readonly optional: true;
|
|
279
|
+
}>;
|
|
280
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
281
|
+
disabledAt: TypedField<"date", Date, {
|
|
282
|
+
readonly optional: true;
|
|
283
|
+
}>;
|
|
284
|
+
totalMediaByteUsage: TypedField<"bigint", bigint, {}>;
|
|
285
|
+
isDisabled: TypedField<"string", string, {}>;
|
|
286
|
+
milestonesEnabled: TypedField<"string", string, {}>;
|
|
287
|
+
sprintsEnabled: TypedField<"string", string, {}>;
|
|
288
|
+
priorityLabels: TypedField<"obj", any, {}>;
|
|
289
|
+
effortScale: TypedField<"obj", any, {}>;
|
|
290
|
+
statusChangeDurations: TypedField<"obj", any, {}>;
|
|
291
|
+
activeFeatureFlags: TypedField<"obj", any, {}>;
|
|
292
|
+
timeTrackingMode: TypedField<"string", string, {}>;
|
|
293
|
+
maxTimeTrackingSegmentMsDuration: TypedField<"int", number, {}>;
|
|
294
|
+
timeTrackingSwimLaneInfo: TypedField<"bool", boolean, {}>;
|
|
295
|
+
workdays: TypedField<"string", string, {}>;
|
|
296
|
+
workflowMode: TypedField<"string", string, {}>;
|
|
297
|
+
isLearning: TypedField<"bool", boolean, {}>;
|
|
298
|
+
isNonProfit: TypedField<"bool", boolean, {}>;
|
|
299
|
+
dependenciesEnabled: TypedField<"bool", boolean, {}>;
|
|
300
|
+
maxHandSlotCount: TypedField<"int", number, {}>;
|
|
301
|
+
seats: TypedField<"int", number, {}>;
|
|
302
|
+
activeProjectCount: TypedField<"int", number, {}>;
|
|
303
|
+
billingType: TypedField<"string", string, {}>;
|
|
304
|
+
allowInheritHeroCover: TypedField<"bool", boolean, {}>;
|
|
305
|
+
attachmentCoverMode: TypedField<"string", string, {}>;
|
|
306
|
+
staffPermission: TypedField<"string", string, {}>;
|
|
307
|
+
offeringTrial: TypedField<"bool", boolean, {}>;
|
|
308
|
+
coupon: TypedField<"obj", any, {
|
|
309
|
+
readonly optional: true;
|
|
310
|
+
}>;
|
|
311
|
+
hideCompletedCardCountForDecks: TypedField<"bool", boolean, {}>;
|
|
312
|
+
visionBoardEnabled: TypedField<"bool", boolean, {}>;
|
|
313
|
+
fallbackEffort: TypedField<"int", number, {}>;
|
|
314
|
+
timelineScaleType: TypedField<"string", string, {}>;
|
|
315
|
+
startWeekday: TypedField<"string", string, {}>;
|
|
316
|
+
disabledById: TypedField<"belongsTo", UserId, {
|
|
317
|
+
readonly optional: true;
|
|
318
|
+
}>;
|
|
319
|
+
}, {
|
|
320
|
+
disabledBy: RelationEntry<"user", {
|
|
321
|
+
readonly type: "belongsTo";
|
|
322
|
+
readonly fk: "disabledById";
|
|
323
|
+
}>;
|
|
324
|
+
cards: RelationEntry<"card", {
|
|
325
|
+
readonly type: "hasMany";
|
|
326
|
+
}>;
|
|
327
|
+
invoices: RelationEntry<"invoice", {
|
|
328
|
+
readonly type: "hasMany";
|
|
329
|
+
}>;
|
|
330
|
+
cardPresets: RelationEntry<"cardPreset", {
|
|
331
|
+
readonly type: "hasMany";
|
|
332
|
+
}>;
|
|
333
|
+
attachments: RelationEntry<"attachment", {
|
|
334
|
+
readonly type: "hasMany";
|
|
335
|
+
}>;
|
|
336
|
+
discordGuilds: RelationEntry<"discordGuild", {
|
|
337
|
+
readonly type: "hasMany";
|
|
338
|
+
}>;
|
|
339
|
+
timeTrackingSegments: RelationEntry<"timeTrackingSegment", {
|
|
340
|
+
readonly type: "hasMany";
|
|
341
|
+
}>;
|
|
342
|
+
workflowItems: RelationEntry<"workflowItem", {
|
|
343
|
+
readonly type: "hasMany";
|
|
344
|
+
}>;
|
|
345
|
+
deckAssignments: RelationEntry<"deckAssignment", {
|
|
346
|
+
readonly type: "hasMany";
|
|
347
|
+
}>;
|
|
348
|
+
assigneeAssignments: RelationEntry<"assigneeAssignment", {
|
|
349
|
+
readonly type: "hasMany";
|
|
350
|
+
}>;
|
|
351
|
+
assigneeDeckAssignments: RelationEntry<"assigneeDeckAssignment", {
|
|
352
|
+
readonly type: "hasMany";
|
|
353
|
+
}>;
|
|
354
|
+
wizards: RelationEntry<"wizard", {
|
|
355
|
+
readonly type: "hasMany";
|
|
356
|
+
}>;
|
|
357
|
+
milestones: RelationEntry<"milestone", {
|
|
358
|
+
readonly type: "hasMany";
|
|
359
|
+
}>;
|
|
360
|
+
sprints: RelationEntry<"sprint", {
|
|
361
|
+
readonly type: "hasMany";
|
|
362
|
+
}>;
|
|
363
|
+
sprintConfigs: RelationEntry<"sprintConfig", {
|
|
364
|
+
readonly type: "hasMany";
|
|
365
|
+
}>;
|
|
366
|
+
handCards: RelationEntry<"handCard", {
|
|
367
|
+
readonly type: "hasMany";
|
|
368
|
+
}>;
|
|
369
|
+
resolvables: RelationEntry<"resolvable", {
|
|
370
|
+
readonly type: "hasMany";
|
|
371
|
+
}>;
|
|
372
|
+
cardUpvotes: RelationEntry<"cardUpvote", {
|
|
373
|
+
readonly type: "hasMany";
|
|
374
|
+
}>;
|
|
375
|
+
resolvableParticipants: RelationEntry<"resolvableParticipant", {
|
|
376
|
+
readonly type: "hasMany";
|
|
377
|
+
}>;
|
|
378
|
+
userReportSettings: RelationEntry<"userReportSetting", {
|
|
379
|
+
readonly type: "hasMany";
|
|
380
|
+
}>;
|
|
381
|
+
cardOrders: RelationEntry<"cardOrder", {
|
|
382
|
+
readonly type: "hasMany";
|
|
383
|
+
}>;
|
|
384
|
+
accountUserAchievements: RelationEntry<"accountUserAchievement", {
|
|
385
|
+
readonly type: "hasMany";
|
|
386
|
+
}>;
|
|
387
|
+
userInviteCodes: RelationEntry<"userInviteCode", {
|
|
388
|
+
readonly type: "hasMany";
|
|
389
|
+
}>;
|
|
390
|
+
visionBoards: RelationEntry<"visionBoard", {
|
|
391
|
+
readonly type: "hasMany";
|
|
392
|
+
}>;
|
|
393
|
+
deckSubscriptions: RelationEntry<"deckSubscription", {
|
|
394
|
+
readonly type: "hasMany";
|
|
395
|
+
}>;
|
|
396
|
+
appInstallations: RelationEntry<"appInstallation", {
|
|
397
|
+
readonly type: "hasMany";
|
|
398
|
+
}>;
|
|
399
|
+
files: RelationEntry<"file", {
|
|
400
|
+
readonly type: "hasMany";
|
|
401
|
+
}>;
|
|
402
|
+
decks: RelationEntry<"deck", {
|
|
403
|
+
readonly type: "hasMany";
|
|
404
|
+
}>;
|
|
405
|
+
queueEntries: RelationEntry<"queueEntry", {
|
|
406
|
+
readonly type: "hasMany";
|
|
407
|
+
}>;
|
|
408
|
+
visionBoardQueries: RelationEntry<"visionBoardQuery", {
|
|
409
|
+
readonly type: "hasMany";
|
|
410
|
+
}>;
|
|
411
|
+
anyDecks: RelationEntry<"deck", {
|
|
412
|
+
readonly type: "hasMany";
|
|
413
|
+
}>;
|
|
414
|
+
projects: RelationEntry<"project", {
|
|
415
|
+
readonly type: "hasMany";
|
|
416
|
+
}>;
|
|
417
|
+
archivedProjects: RelationEntry<"project", {
|
|
418
|
+
readonly type: "hasMany";
|
|
419
|
+
}>;
|
|
420
|
+
anyProjects: RelationEntry<"project", {
|
|
421
|
+
readonly type: "hasMany";
|
|
422
|
+
}>;
|
|
423
|
+
roles: RelationEntry<"accountRole", {
|
|
424
|
+
readonly type: "hasMany";
|
|
425
|
+
}>;
|
|
426
|
+
invitations: RelationEntry<"userInvitation", {
|
|
427
|
+
readonly type: "hasMany";
|
|
428
|
+
}>;
|
|
429
|
+
githubIntegration: RelationEntry<"integration", {
|
|
430
|
+
readonly type: "hasOne";
|
|
431
|
+
}>;
|
|
432
|
+
slackIntegration: RelationEntry<"integration", {
|
|
433
|
+
readonly type: "hasOne";
|
|
434
|
+
}>;
|
|
435
|
+
affiliateCodes: RelationEntry<"affiliateCode", {
|
|
436
|
+
readonly type: "hasMany";
|
|
437
|
+
}>;
|
|
438
|
+
activities: RelationEntry<"activity", {
|
|
439
|
+
readonly type: "hasMany";
|
|
440
|
+
}>;
|
|
441
|
+
stripeAccountSync: RelationEntry<"stripeAccountSync", {
|
|
442
|
+
readonly type: "hasOne";
|
|
443
|
+
}>;
|
|
444
|
+
accountOnboarding: RelationEntry<"accountOnboarding", {
|
|
445
|
+
readonly type: "hasOne";
|
|
446
|
+
}>;
|
|
447
|
+
}, ["id"]>;
|
|
448
|
+
activeTimeTracker: ModelDesc<"activeTimeTracker", {
|
|
449
|
+
id: TypedField<"id", ActiveTimeTrackerId, {}>;
|
|
450
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
451
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
452
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
453
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
454
|
+
}, {
|
|
455
|
+
card: RelationEntry<"card", {
|
|
456
|
+
readonly type: "belongsTo";
|
|
457
|
+
readonly fk: "cardId";
|
|
458
|
+
}>;
|
|
459
|
+
user: RelationEntry<"user", {
|
|
460
|
+
readonly type: "belongsTo";
|
|
461
|
+
readonly fk: "userId";
|
|
462
|
+
}>;
|
|
463
|
+
account: RelationEntry<"account", {
|
|
464
|
+
readonly type: "belongsTo";
|
|
465
|
+
readonly fk: "accountId";
|
|
466
|
+
}>;
|
|
467
|
+
}, ["id"]>;
|
|
468
|
+
activity: ModelDesc<"activity", {
|
|
469
|
+
id: TypedField<"id", ActivityId, {}>;
|
|
470
|
+
type: TypedField<"string", string, {}>;
|
|
471
|
+
data: TypedField<"obj", any, {}>;
|
|
472
|
+
isRemovedFromDeckEntry: TypedField<"bool", boolean, {}>;
|
|
473
|
+
isRemovedFromMilestoneEntry: TypedField<"bool", boolean, {}>;
|
|
474
|
+
isRemovedFromSprintEntry: TypedField<"bool", boolean, {}>;
|
|
475
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
476
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
477
|
+
deckId: TypedField<"belongsTo", DeckId, {}>;
|
|
478
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
479
|
+
milestoneId: TypedField<"belongsTo", MilestoneId, {}>;
|
|
480
|
+
sprintId: TypedField<"belongsTo", SprintId, {}>;
|
|
481
|
+
changerId: TypedField<"belongsTo", UserId, {}>;
|
|
482
|
+
}, {
|
|
483
|
+
card: RelationEntry<"card", {
|
|
484
|
+
readonly type: "belongsTo";
|
|
485
|
+
readonly fk: "cardId";
|
|
486
|
+
}>;
|
|
487
|
+
deck: RelationEntry<"deck", {
|
|
488
|
+
readonly type: "belongsTo";
|
|
489
|
+
readonly fk: "deckId";
|
|
490
|
+
}>;
|
|
491
|
+
project: RelationEntry<"project", {
|
|
492
|
+
readonly type: "belongsTo";
|
|
493
|
+
readonly fk: "projectId";
|
|
494
|
+
}>;
|
|
495
|
+
milestone: RelationEntry<"milestone", {
|
|
496
|
+
readonly type: "belongsTo";
|
|
497
|
+
readonly fk: "milestoneId";
|
|
498
|
+
}>;
|
|
499
|
+
sprint: RelationEntry<"sprint", {
|
|
500
|
+
readonly type: "belongsTo";
|
|
501
|
+
readonly fk: "sprintId";
|
|
502
|
+
}>;
|
|
503
|
+
changer: RelationEntry<"user", {
|
|
504
|
+
readonly type: "belongsTo";
|
|
505
|
+
readonly fk: "changerId";
|
|
506
|
+
}>;
|
|
507
|
+
}, ["id"]>;
|
|
508
|
+
affiliateCodeStat: ModelDesc<"affiliateCodeStat", {
|
|
509
|
+
month: TypedField<"int", number, {}>;
|
|
510
|
+
year: TypedField<"int", number, {}>;
|
|
511
|
+
visits: TypedField<"int", number, {}>;
|
|
512
|
+
newVisitors: TypedField<"int", number, {}>;
|
|
513
|
+
signups: TypedField<"int", number, {}>;
|
|
514
|
+
revenue: TypedField<"int", number, {}>;
|
|
515
|
+
affiliateCodeId: TypedField<"belongsTo", AffiliateCodeId, {}>;
|
|
516
|
+
}, {
|
|
517
|
+
affiliateCode: RelationEntry<"affiliateCode", {
|
|
518
|
+
readonly type: "belongsTo";
|
|
519
|
+
readonly fk: "affiliateCodeId";
|
|
520
|
+
}>;
|
|
521
|
+
}, ["affiliateCodeId", "month"]>;
|
|
522
|
+
affiliateCode: ModelDesc<"affiliateCode", {
|
|
523
|
+
id: TypedField<"id", AffiliateCodeId, {}>;
|
|
524
|
+
code: TypedField<"string", string, {}>;
|
|
525
|
+
vanityUrl: TypedField<"string", string, {}>;
|
|
526
|
+
message: TypedField<"string", string, {}>;
|
|
527
|
+
label: TypedField<"string", string, {}>;
|
|
528
|
+
isDisabled: TypedField<"string", string, {}>;
|
|
529
|
+
isDeleted: TypedField<"string", string, {}>;
|
|
530
|
+
validUntil: TypedField<"string", string, {}>;
|
|
531
|
+
remainingRedemptions: TypedField<"string", string, {}>;
|
|
532
|
+
reward: TypedField<"obj", any, {}>;
|
|
533
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
534
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
535
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
536
|
+
}, {
|
|
537
|
+
account: RelationEntry<"account", {
|
|
538
|
+
readonly type: "belongsTo";
|
|
539
|
+
readonly fk: "accountId";
|
|
540
|
+
}>;
|
|
541
|
+
creator: RelationEntry<"user", {
|
|
542
|
+
readonly type: "belongsTo";
|
|
543
|
+
readonly fk: "creatorId";
|
|
544
|
+
}>;
|
|
545
|
+
stats: RelationEntry<"affiliateCodeStat", {
|
|
546
|
+
readonly type: "hasMany";
|
|
547
|
+
}>;
|
|
548
|
+
}, ["id"]>;
|
|
549
|
+
appInstallation: ModelDesc<"appInstallation", {
|
|
550
|
+
id: TypedField<"id", AppInstallationId, {}>;
|
|
551
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
552
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
553
|
+
appId: TypedField<"belongsTo", AppId, {}>;
|
|
554
|
+
installerId: TypedField<"belongsTo", UserId, {}>;
|
|
555
|
+
}, {
|
|
556
|
+
account: RelationEntry<"account", {
|
|
557
|
+
readonly type: "belongsTo";
|
|
558
|
+
readonly fk: "accountId";
|
|
559
|
+
}>;
|
|
560
|
+
app: RelationEntry<"app", {
|
|
561
|
+
readonly type: "belongsTo";
|
|
562
|
+
readonly fk: "appId";
|
|
563
|
+
}>;
|
|
564
|
+
installer: RelationEntry<"user", {
|
|
565
|
+
readonly type: "belongsTo";
|
|
566
|
+
readonly fk: "installerId";
|
|
567
|
+
}>;
|
|
568
|
+
}, ["id"]>;
|
|
569
|
+
app: ModelDesc<"app", {
|
|
570
|
+
id: TypedField<"id", AppId, {}>;
|
|
571
|
+
name: TypedField<"string", string, {}>;
|
|
572
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
573
|
+
payload: TypedField<"obj", any, {}>;
|
|
574
|
+
}, {}, ["id"]>;
|
|
575
|
+
assigneeAssignment: ModelDesc<"assigneeAssignment", {
|
|
576
|
+
lastAssignedAt: TypedField<"date", Date, {}>;
|
|
577
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
578
|
+
assigneeId: TypedField<"belongsTo", UserId, {}>;
|
|
579
|
+
assignedById: TypedField<"belongsTo", UserId, {}>;
|
|
580
|
+
}, {
|
|
581
|
+
account: RelationEntry<"account", {
|
|
582
|
+
readonly type: "belongsTo";
|
|
583
|
+
readonly fk: "accountId";
|
|
584
|
+
}>;
|
|
585
|
+
assignee: RelationEntry<"user", {
|
|
586
|
+
readonly type: "belongsTo";
|
|
587
|
+
readonly fk: "assigneeId";
|
|
588
|
+
}>;
|
|
589
|
+
assignedBy: RelationEntry<"user", {
|
|
590
|
+
readonly type: "belongsTo";
|
|
591
|
+
readonly fk: "assignedById";
|
|
592
|
+
}>;
|
|
593
|
+
}, ["assigneeId", "assignedById"]>;
|
|
594
|
+
assigneeDeckAssignment: ModelDesc<"assigneeDeckAssignment", {
|
|
595
|
+
lastAssignedAt: TypedField<"date", Date, {}>;
|
|
596
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
597
|
+
deckId: TypedField<"belongsTo", DeckId, {}>;
|
|
598
|
+
assigneeId: TypedField<"belongsTo", UserId, {}>;
|
|
599
|
+
assignedById: TypedField<"belongsTo", UserId, {}>;
|
|
600
|
+
}, {
|
|
601
|
+
account: RelationEntry<"account", {
|
|
602
|
+
readonly type: "belongsTo";
|
|
603
|
+
readonly fk: "accountId";
|
|
604
|
+
}>;
|
|
605
|
+
deck: RelationEntry<"deck", {
|
|
606
|
+
readonly type: "belongsTo";
|
|
607
|
+
readonly fk: "deckId";
|
|
608
|
+
}>;
|
|
609
|
+
assignee: RelationEntry<"user", {
|
|
610
|
+
readonly type: "belongsTo";
|
|
611
|
+
readonly fk: "assigneeId";
|
|
612
|
+
}>;
|
|
613
|
+
assignedBy: RelationEntry<"user", {
|
|
614
|
+
readonly type: "belongsTo";
|
|
615
|
+
readonly fk: "assignedById";
|
|
616
|
+
}>;
|
|
617
|
+
}, ["assigneeId", "assignedById", "deckId"]>;
|
|
618
|
+
attachment: ModelDesc<"attachment", {
|
|
619
|
+
id: TypedField<"id", AttachmentId, {}>;
|
|
620
|
+
content: TypedField<"string", string, {}>;
|
|
621
|
+
title: TypedField<"string", string, {}>;
|
|
622
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
623
|
+
fileId: TypedField<"belongsTo", FileId, {}>;
|
|
624
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
625
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
626
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
627
|
+
}, {
|
|
628
|
+
file: RelationEntry<"file", {
|
|
629
|
+
readonly type: "belongsTo";
|
|
630
|
+
readonly fk: "fileId";
|
|
631
|
+
}>;
|
|
632
|
+
card: RelationEntry<"card", {
|
|
633
|
+
readonly type: "belongsTo";
|
|
634
|
+
readonly fk: "cardId";
|
|
635
|
+
}>;
|
|
636
|
+
account: RelationEntry<"account", {
|
|
637
|
+
readonly type: "belongsTo";
|
|
638
|
+
readonly fk: "accountId";
|
|
639
|
+
}>;
|
|
640
|
+
creator: RelationEntry<"user", {
|
|
641
|
+
readonly type: "belongsTo";
|
|
642
|
+
readonly fk: "creatorId";
|
|
643
|
+
}>;
|
|
644
|
+
}, ["id"]>;
|
|
645
|
+
autoFinishedTimeTrackingSegment: ModelDesc<"autoFinishedTimeTrackingSegment", {
|
|
646
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
647
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
648
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
649
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
650
|
+
timeTrackingSegmentId: TypedField<"belongsTo", TimeTrackingSegmentId, {}>;
|
|
651
|
+
}, {
|
|
652
|
+
user: RelationEntry<"user", {
|
|
653
|
+
readonly type: "belongsTo";
|
|
654
|
+
readonly fk: "userId";
|
|
655
|
+
}>;
|
|
656
|
+
account: RelationEntry<"account", {
|
|
657
|
+
readonly type: "belongsTo";
|
|
658
|
+
readonly fk: "accountId";
|
|
659
|
+
}>;
|
|
660
|
+
card: RelationEntry<"card", {
|
|
661
|
+
readonly type: "belongsTo";
|
|
662
|
+
readonly fk: "cardId";
|
|
663
|
+
}>;
|
|
664
|
+
timeTrackingSegment: RelationEntry<"timeTrackingSegment", {
|
|
665
|
+
readonly type: "belongsTo";
|
|
666
|
+
readonly fk: "timeTrackingSegmentId";
|
|
667
|
+
}>;
|
|
668
|
+
}, ["userId", "accountId"]>;
|
|
669
|
+
cardDiffNotification: ModelDesc<"cardDiffNotification", {
|
|
670
|
+
changes: TypedField<"obj", any, {}>;
|
|
671
|
+
asOwner: TypedField<"bool", boolean, {}>;
|
|
672
|
+
changers: TypedField<"array", any[], {}>;
|
|
673
|
+
lastUpdatedAt: TypedField<"date", Date, {}>;
|
|
674
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
675
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
676
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
677
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
678
|
+
}, {
|
|
679
|
+
user: RelationEntry<"user", {
|
|
680
|
+
readonly type: "belongsTo";
|
|
681
|
+
readonly fk: "userId";
|
|
682
|
+
}>;
|
|
683
|
+
card: RelationEntry<"card", {
|
|
684
|
+
readonly type: "belongsTo";
|
|
685
|
+
readonly fk: "cardId";
|
|
686
|
+
}>;
|
|
687
|
+
account: RelationEntry<"account", {
|
|
688
|
+
readonly type: "belongsTo";
|
|
689
|
+
readonly fk: "accountId";
|
|
690
|
+
}>;
|
|
691
|
+
}, ["userId", "cardId"]>;
|
|
692
|
+
cardHistory: ModelDesc<"cardHistory", {
|
|
693
|
+
diff: TypedField<"obj", any, {}>;
|
|
694
|
+
versionCreatedAt: TypedField<"date", Date, {}>;
|
|
695
|
+
version: TypedField<"int", number, {}>;
|
|
696
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
697
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
698
|
+
changerId: TypedField<"belongsTo", UserId, {}>;
|
|
699
|
+
}, {
|
|
700
|
+
account: RelationEntry<"account", {
|
|
701
|
+
readonly type: "belongsTo";
|
|
702
|
+
readonly fk: "accountId";
|
|
703
|
+
}>;
|
|
704
|
+
card: RelationEntry<"card", {
|
|
705
|
+
readonly type: "belongsTo";
|
|
706
|
+
readonly fk: "cardId";
|
|
707
|
+
}>;
|
|
708
|
+
changer: RelationEntry<"user", {
|
|
709
|
+
readonly type: "belongsTo";
|
|
710
|
+
readonly fk: "changerId";
|
|
711
|
+
}>;
|
|
712
|
+
}, ["cardId", "version"]>;
|
|
713
|
+
cardOrderInDeck: ModelDesc<"cardOrderInDeck", {
|
|
714
|
+
sortIndex: TypedField<"string", string, {}>;
|
|
715
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
716
|
+
deckId: TypedField<"belongsTo", DeckId, {}>;
|
|
717
|
+
changerId: TypedField<"belongsTo", UserId, {}>;
|
|
718
|
+
}, {
|
|
719
|
+
card: RelationEntry<"card", {
|
|
720
|
+
readonly type: "belongsTo";
|
|
721
|
+
readonly fk: "cardId";
|
|
722
|
+
}>;
|
|
723
|
+
deck: RelationEntry<"deck", {
|
|
724
|
+
readonly type: "belongsTo";
|
|
725
|
+
readonly fk: "deckId";
|
|
726
|
+
}>;
|
|
727
|
+
changer: RelationEntry<"user", {
|
|
728
|
+
readonly type: "belongsTo";
|
|
729
|
+
readonly fk: "changerId";
|
|
730
|
+
}>;
|
|
731
|
+
}, ["cardId", "deckId"]>;
|
|
732
|
+
cardOrder: ModelDesc<"cardOrder", {
|
|
733
|
+
sortValue: TypedField<"string", string, {}>;
|
|
734
|
+
label: TypedField<"string", string, {}>;
|
|
735
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
736
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
737
|
+
}, {
|
|
738
|
+
card: RelationEntry<"card", {
|
|
739
|
+
readonly type: "belongsTo";
|
|
740
|
+
readonly fk: "cardId";
|
|
741
|
+
}>;
|
|
742
|
+
account: RelationEntry<"account", {
|
|
743
|
+
readonly type: "belongsTo";
|
|
744
|
+
readonly fk: "accountId";
|
|
745
|
+
}>;
|
|
746
|
+
}, ["context", "cardId"]>;
|
|
747
|
+
cardPreset: ModelDesc<"cardPreset", {
|
|
748
|
+
id: TypedField<"id", CardPresetId, {}>;
|
|
749
|
+
name: TypedField<"string", string, {}>;
|
|
750
|
+
data: TypedField<"obj", any, {}>;
|
|
751
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
752
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
753
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
754
|
+
}, {
|
|
755
|
+
account: RelationEntry<"account", {
|
|
756
|
+
readonly type: "belongsTo";
|
|
757
|
+
readonly fk: "accountId";
|
|
758
|
+
}>;
|
|
759
|
+
creator: RelationEntry<"user", {
|
|
760
|
+
readonly type: "belongsTo";
|
|
761
|
+
readonly fk: "creatorId";
|
|
762
|
+
}>;
|
|
763
|
+
}, ["id"]>;
|
|
764
|
+
cardSubscription: ModelDesc<"cardSubscription", {
|
|
765
|
+
id: TypedField<"id", CardSubscriptionId, {}>;
|
|
766
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
767
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
768
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
769
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
770
|
+
}, {
|
|
771
|
+
user: RelationEntry<"user", {
|
|
772
|
+
readonly type: "belongsTo";
|
|
773
|
+
readonly fk: "userId";
|
|
774
|
+
}>;
|
|
775
|
+
card: RelationEntry<"card", {
|
|
776
|
+
readonly type: "belongsTo";
|
|
777
|
+
readonly fk: "cardId";
|
|
778
|
+
}>;
|
|
779
|
+
account: RelationEntry<"account", {
|
|
780
|
+
readonly type: "belongsTo";
|
|
781
|
+
readonly fk: "accountId";
|
|
782
|
+
}>;
|
|
783
|
+
}, ["id"]>;
|
|
784
|
+
cardUpvote: ModelDesc<"cardUpvote", {
|
|
785
|
+
id: TypedField<"id", CardUpvoteId, {}>;
|
|
786
|
+
type: TypedField<"string", string, {}>;
|
|
787
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
788
|
+
discordUserInfo: TypedField<"obj", any, {}>;
|
|
789
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
790
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
791
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
792
|
+
}, {
|
|
793
|
+
user: RelationEntry<"user", {
|
|
794
|
+
readonly type: "belongsTo";
|
|
795
|
+
readonly fk: "userId";
|
|
796
|
+
}>;
|
|
797
|
+
account: RelationEntry<"account", {
|
|
798
|
+
readonly type: "belongsTo";
|
|
799
|
+
readonly fk: "accountId";
|
|
800
|
+
}>;
|
|
801
|
+
card: RelationEntry<"card", {
|
|
802
|
+
readonly type: "belongsTo";
|
|
803
|
+
readonly fk: "cardId";
|
|
804
|
+
}>;
|
|
805
|
+
}, ["id"]>;
|
|
806
|
+
card: ModelDesc<"card", {
|
|
807
|
+
cardId: TypedField<"id", CardId, {}>;
|
|
808
|
+
version: TypedField<"int", number, {}>;
|
|
809
|
+
accountSeq: TypedField<"int", number, {}>;
|
|
810
|
+
content: TypedField<"string", string, {}>;
|
|
811
|
+
status: TypedField<"string", string, {}>;
|
|
812
|
+
derivedStatus: TypedField<"string", string, {}>;
|
|
813
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
814
|
+
lastUpdatedAt: TypedField<"date", Date, {}>;
|
|
815
|
+
tags: TypedField<"array", any[], {}>;
|
|
816
|
+
masterTags: TypedField<"array", any[], {}>;
|
|
817
|
+
mentionedUsers: TypedField<"array", any[], {}>;
|
|
818
|
+
title: TypedField<"string", string, {}>;
|
|
819
|
+
priority: TypedField<"string", string, {
|
|
820
|
+
readonly optional: true;
|
|
821
|
+
}>;
|
|
822
|
+
effort: TypedField<"int", number, {
|
|
823
|
+
readonly optional: true;
|
|
824
|
+
}>;
|
|
825
|
+
checkboxStats: TypedField<"obj", any, {}>;
|
|
826
|
+
checkboxInfo: TypedField<"array", any[], {}>;
|
|
827
|
+
visibility: TypedField<"string", string, {}>;
|
|
828
|
+
legacyProjectSeq: TypedField<"int", number, {
|
|
829
|
+
readonly optional: true;
|
|
830
|
+
}>;
|
|
831
|
+
meta: TypedField<"obj", any, {}>;
|
|
832
|
+
embeds: TypedField<"obj", any, {}>;
|
|
833
|
+
isPublic: TypedField<"bool", boolean, {}>;
|
|
834
|
+
hasBlockingDeps: TypedField<"bool", boolean, {}>;
|
|
835
|
+
dueDate: TypedField<"day", {
|
|
836
|
+
day: number;
|
|
837
|
+
month: number;
|
|
838
|
+
year: number;
|
|
839
|
+
}, {
|
|
840
|
+
readonly optional: true;
|
|
841
|
+
}>;
|
|
842
|
+
isDoc: TypedField<"bool", boolean, {
|
|
843
|
+
readonly optional: true;
|
|
844
|
+
}>;
|
|
845
|
+
childCardInfo: TypedField<"string", string, {}>;
|
|
846
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
847
|
+
deckId: TypedField<"belongsTo", DeckId, {
|
|
848
|
+
readonly optional: true;
|
|
849
|
+
}>;
|
|
850
|
+
assigneeId: TypedField<"belongsTo", UserId, {
|
|
851
|
+
readonly optional: true;
|
|
852
|
+
}>;
|
|
853
|
+
creatorId: TypedField<"belongsTo", UserId, {
|
|
854
|
+
readonly optional: true;
|
|
855
|
+
}>;
|
|
856
|
+
milestoneId: TypedField<"belongsTo", MilestoneId, {
|
|
857
|
+
readonly optional: true;
|
|
858
|
+
}>;
|
|
859
|
+
sprintId: TypedField<"belongsTo", SprintId, {
|
|
860
|
+
readonly optional: true;
|
|
861
|
+
}>;
|
|
862
|
+
legacyProjectId: TypedField<"belongsTo", ProjectId, {
|
|
863
|
+
readonly optional: true;
|
|
864
|
+
}>;
|
|
865
|
+
coverFileId: TypedField<"belongsTo", FileId, {
|
|
866
|
+
readonly optional: true;
|
|
867
|
+
}>;
|
|
868
|
+
parentCardId: TypedField<"belongsTo", CardId, {
|
|
869
|
+
readonly optional: true;
|
|
870
|
+
}>;
|
|
871
|
+
sourceWorkflowItemId: TypedField<"belongsTo", WorkflowItemId, {
|
|
872
|
+
readonly optional: true;
|
|
873
|
+
}>;
|
|
874
|
+
discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
|
|
875
|
+
visionBoardId: TypedField<"belongsTo", VisionBoardId, {
|
|
876
|
+
readonly optional: true;
|
|
877
|
+
}>;
|
|
878
|
+
}, {
|
|
879
|
+
account: RelationEntry<"account", {
|
|
880
|
+
readonly type: "belongsTo";
|
|
881
|
+
readonly fk: "accountId";
|
|
882
|
+
}>;
|
|
883
|
+
deck: RelationEntry<"deck", {
|
|
884
|
+
readonly type: "belongsTo";
|
|
885
|
+
readonly fk: "deckId";
|
|
886
|
+
}>;
|
|
887
|
+
assignee: RelationEntry<"user", {
|
|
888
|
+
readonly type: "belongsTo";
|
|
889
|
+
readonly fk: "assigneeId";
|
|
890
|
+
}>;
|
|
891
|
+
creator: RelationEntry<"user", {
|
|
892
|
+
readonly type: "belongsTo";
|
|
893
|
+
readonly fk: "creatorId";
|
|
894
|
+
}>;
|
|
895
|
+
milestone: RelationEntry<"milestone", {
|
|
896
|
+
readonly type: "belongsTo";
|
|
897
|
+
readonly fk: "milestoneId";
|
|
898
|
+
}>;
|
|
899
|
+
sprint: RelationEntry<"sprint", {
|
|
900
|
+
readonly type: "belongsTo";
|
|
901
|
+
readonly fk: "sprintId";
|
|
902
|
+
}>;
|
|
903
|
+
legacyProject: RelationEntry<"project", {
|
|
904
|
+
readonly type: "belongsTo";
|
|
905
|
+
readonly fk: "legacyProjectId";
|
|
906
|
+
}>;
|
|
907
|
+
coverFile: RelationEntry<"file", {
|
|
908
|
+
readonly type: "belongsTo";
|
|
909
|
+
readonly fk: "coverFileId";
|
|
910
|
+
}>;
|
|
911
|
+
parentCard: RelationEntry<"card", {
|
|
912
|
+
readonly type: "belongsTo";
|
|
913
|
+
readonly fk: "parentCardId";
|
|
914
|
+
}>;
|
|
915
|
+
sourceWorkflowItem: RelationEntry<"workflowItem", {
|
|
916
|
+
readonly type: "belongsTo";
|
|
917
|
+
readonly fk: "sourceWorkflowItemId";
|
|
918
|
+
}>;
|
|
919
|
+
discordGuild: RelationEntry<"discordGuild", {
|
|
920
|
+
readonly type: "belongsTo";
|
|
921
|
+
readonly fk: "discordGuildId";
|
|
922
|
+
}>;
|
|
923
|
+
visionBoard: RelationEntry<"visionBoard", {
|
|
924
|
+
readonly type: "belongsTo";
|
|
925
|
+
readonly fk: "visionBoardId";
|
|
926
|
+
}>;
|
|
927
|
+
resolvables: RelationEntry<"resolvable", {
|
|
928
|
+
readonly type: "hasMany";
|
|
929
|
+
}>;
|
|
930
|
+
handCards: RelationEntry<"handCard", {
|
|
931
|
+
readonly type: "hasMany";
|
|
932
|
+
}>;
|
|
933
|
+
timeTrackingSegments: RelationEntry<"timeTrackingSegment", {
|
|
934
|
+
readonly type: "hasMany";
|
|
935
|
+
}>;
|
|
936
|
+
cardSubscriptions: RelationEntry<"cardSubscription", {
|
|
937
|
+
readonly type: "hasMany";
|
|
938
|
+
}>;
|
|
939
|
+
cardOrders: RelationEntry<"cardOrder", {
|
|
940
|
+
readonly type: "hasMany";
|
|
941
|
+
}>;
|
|
942
|
+
resolvableEntries: RelationEntry<"resolvableEntry", {
|
|
943
|
+
readonly type: "hasMany";
|
|
944
|
+
}>;
|
|
945
|
+
queueEntries: RelationEntry<"queueEntry", {
|
|
946
|
+
readonly type: "hasMany";
|
|
947
|
+
}>;
|
|
948
|
+
attachments: RelationEntry<"attachment", {
|
|
949
|
+
readonly type: "hasMany";
|
|
950
|
+
}>;
|
|
951
|
+
diffs: RelationEntry<"cardHistory", {
|
|
952
|
+
readonly type: "hasMany";
|
|
953
|
+
}>;
|
|
954
|
+
totalTimeTrackingSums: RelationEntry<"timeTrackingSum", {
|
|
955
|
+
readonly type: "hasOne";
|
|
956
|
+
}>;
|
|
957
|
+
userTimeTrackingSums: RelationEntry<"timeTrackingSum", {
|
|
958
|
+
readonly type: "hasMany";
|
|
959
|
+
}>;
|
|
960
|
+
childCards: RelationEntry<"card", {
|
|
961
|
+
readonly type: "hasMany";
|
|
962
|
+
}>;
|
|
963
|
+
inDeps: RelationEntry<"card", {
|
|
964
|
+
readonly type: "hasMany";
|
|
965
|
+
}>;
|
|
966
|
+
outDeps: RelationEntry<"card", {
|
|
967
|
+
readonly type: "hasMany";
|
|
968
|
+
}>;
|
|
969
|
+
cardReferences: RelationEntry<"card", {
|
|
970
|
+
readonly type: "hasMany";
|
|
971
|
+
}>;
|
|
972
|
+
upvotes: RelationEntry<"cardUpvote", {
|
|
973
|
+
readonly type: "hasMany";
|
|
974
|
+
}>;
|
|
975
|
+
}, ["cardId"]>;
|
|
976
|
+
cardsEffortHistory: ModelDesc<"cardsEffortHistory", {
|
|
977
|
+
effortSum: TypedField<"bigint", bigint, {}>;
|
|
978
|
+
cardCount: TypedField<"bigint", bigint, {}>;
|
|
979
|
+
date: TypedField<"day", {
|
|
980
|
+
day: number;
|
|
981
|
+
month: number;
|
|
982
|
+
year: number;
|
|
983
|
+
}, {}>;
|
|
984
|
+
}, {}, ["date", "effortSum", "cardCount"]>;
|
|
985
|
+
cardsFinishedHistory: ModelDesc<"cardsFinishedHistory", {
|
|
986
|
+
effortSum: TypedField<"bigint", bigint, {}>;
|
|
987
|
+
cardCount: TypedField<"bigint", bigint, {}>;
|
|
988
|
+
date: TypedField<"day", {
|
|
989
|
+
day: number;
|
|
990
|
+
month: number;
|
|
991
|
+
year: number;
|
|
992
|
+
}, {}>;
|
|
993
|
+
assigneeId: TypedField<"belongsTo", UserId, {}>;
|
|
994
|
+
}, {
|
|
995
|
+
assignee: RelationEntry<"user", {
|
|
996
|
+
readonly type: "belongsTo";
|
|
997
|
+
readonly fk: "assigneeId";
|
|
998
|
+
}>;
|
|
999
|
+
}, ["date", "effortSum", "cardCount", "assigneeId"]>;
|
|
1000
|
+
cardsStatusHistory: ModelDesc<"cardsStatusHistory", {
|
|
1001
|
+
status: TypedField<"string", string, {}>;
|
|
1002
|
+
count: TypedField<"int", number, {}>;
|
|
1003
|
+
date: TypedField<"day", {
|
|
1004
|
+
day: number;
|
|
1005
|
+
month: number;
|
|
1006
|
+
year: number;
|
|
1007
|
+
}, {}>;
|
|
1008
|
+
}, {}, ["date", "status", "count"]>;
|
|
1009
|
+
cardsTimeToFinished: ModelDesc<"cardsTimeToFinished", {
|
|
1010
|
+
effort: TypedField<"int", number, {}>;
|
|
1011
|
+
startedAt: TypedField<"date", Date, {}>;
|
|
1012
|
+
doneAt: TypedField<"date", Date, {}>;
|
|
1013
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
1014
|
+
assigneeId: TypedField<"belongsTo", UserId, {}>;
|
|
1015
|
+
}, {
|
|
1016
|
+
card: RelationEntry<"card", {
|
|
1017
|
+
readonly type: "belongsTo";
|
|
1018
|
+
readonly fk: "cardId";
|
|
1019
|
+
}>;
|
|
1020
|
+
assignee: RelationEntry<"user", {
|
|
1021
|
+
readonly type: "belongsTo";
|
|
1022
|
+
readonly fk: "assigneeId";
|
|
1023
|
+
}>;
|
|
1024
|
+
}, ["cardId", "startedAt", "doneAt", "effort", "assigneeId"]>;
|
|
1025
|
+
dailyDiscordGuildVoteMembership: ModelDesc<"dailyDiscordGuildVoteMembership", {
|
|
1026
|
+
t: TypedField<"date", Date, {}>;
|
|
1027
|
+
membershipCount: TypedField<"int", number, {}>;
|
|
1028
|
+
discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
|
|
1029
|
+
}, {
|
|
1030
|
+
discordGuild: RelationEntry<"discordGuild", {
|
|
1031
|
+
readonly type: "belongsTo";
|
|
1032
|
+
readonly fk: "discordGuildId";
|
|
1033
|
+
}>;
|
|
1034
|
+
}, ["t", "guildId"]>;
|
|
1035
|
+
dailyPublicProjectMembership: ModelDesc<"dailyPublicProjectMembership", {
|
|
1036
|
+
t: TypedField<"date", Date, {}>;
|
|
1037
|
+
membershipCount: TypedField<"int", number, {}>;
|
|
1038
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1039
|
+
}, {
|
|
1040
|
+
project: RelationEntry<"project", {
|
|
1041
|
+
readonly type: "belongsTo";
|
|
1042
|
+
readonly fk: "projectId";
|
|
1043
|
+
}>;
|
|
1044
|
+
}, ["t", "projectId"]>;
|
|
1045
|
+
publicProjectVisit: ModelDesc<"publicProjectVisit", {
|
|
1046
|
+
t: TypedField<"date", Date, {}>;
|
|
1047
|
+
topReferrers: TypedField<"obj", any, {}>;
|
|
1048
|
+
visitCounts: TypedField<"int", number, {}>;
|
|
1049
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1050
|
+
}, {
|
|
1051
|
+
project: RelationEntry<"project", {
|
|
1052
|
+
readonly type: "belongsTo";
|
|
1053
|
+
readonly fk: "projectId";
|
|
1054
|
+
}>;
|
|
1055
|
+
}, ["t", "projectId"]>;
|
|
1056
|
+
deckAssignment: ModelDesc<"deckAssignment", {
|
|
1057
|
+
lastAssignedAt: TypedField<"date", Date, {}>;
|
|
1058
|
+
deckId: TypedField<"belongsTo", DeckId, {}>;
|
|
1059
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1060
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1061
|
+
}, {
|
|
1062
|
+
deck: RelationEntry<"deck", {
|
|
1063
|
+
readonly type: "belongsTo";
|
|
1064
|
+
readonly fk: "deckId";
|
|
1065
|
+
}>;
|
|
1066
|
+
user: RelationEntry<"user", {
|
|
1067
|
+
readonly type: "belongsTo";
|
|
1068
|
+
readonly fk: "userId";
|
|
1069
|
+
}>;
|
|
1070
|
+
account: RelationEntry<"account", {
|
|
1071
|
+
readonly type: "belongsTo";
|
|
1072
|
+
readonly fk: "accountId";
|
|
1073
|
+
}>;
|
|
1074
|
+
}, ["userId", "deckId"]>;
|
|
1075
|
+
deckGuardian: ModelDesc<"deckGuardian", {
|
|
1076
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1077
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1078
|
+
deckId: TypedField<"belongsTo", DeckId, {}>;
|
|
1079
|
+
}, {
|
|
1080
|
+
user: RelationEntry<"user", {
|
|
1081
|
+
readonly type: "belongsTo";
|
|
1082
|
+
readonly fk: "userId";
|
|
1083
|
+
}>;
|
|
1084
|
+
account: RelationEntry<"account", {
|
|
1085
|
+
readonly type: "belongsTo";
|
|
1086
|
+
readonly fk: "accountId";
|
|
1087
|
+
}>;
|
|
1088
|
+
deck: RelationEntry<"deck", {
|
|
1089
|
+
readonly type: "belongsTo";
|
|
1090
|
+
readonly fk: "deckId";
|
|
1091
|
+
}>;
|
|
1092
|
+
}, ["deckId", "userId"]>;
|
|
1093
|
+
deckSubscription: ModelDesc<"deckSubscription", {
|
|
1094
|
+
id: TypedField<"id", DeckSubscriptionId, {}>;
|
|
1095
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1096
|
+
deckId: TypedField<"belongsTo", DeckId, {}>;
|
|
1097
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1098
|
+
}, {
|
|
1099
|
+
user: RelationEntry<"user", {
|
|
1100
|
+
readonly type: "belongsTo";
|
|
1101
|
+
readonly fk: "userId";
|
|
1102
|
+
}>;
|
|
1103
|
+
deck: RelationEntry<"deck", {
|
|
1104
|
+
readonly type: "belongsTo";
|
|
1105
|
+
readonly fk: "deckId";
|
|
1106
|
+
}>;
|
|
1107
|
+
account: RelationEntry<"account", {
|
|
1108
|
+
readonly type: "belongsTo";
|
|
1109
|
+
readonly fk: "accountId";
|
|
1110
|
+
}>;
|
|
1111
|
+
}, ["id"]>;
|
|
1112
|
+
deck: ModelDesc<"deck", {
|
|
1113
|
+
id: TypedField<"id", DeckId, {}>;
|
|
1114
|
+
content: TypedField<"string", string, {}>;
|
|
1115
|
+
description: TypedField<"string", string, {}>;
|
|
1116
|
+
title: TypedField<"string", string, {}>;
|
|
1117
|
+
sortValue: TypedField<"string", string, {}>;
|
|
1118
|
+
preferredOrder: TypedField<"string", string, {
|
|
1119
|
+
readonly optional: true;
|
|
1120
|
+
}>;
|
|
1121
|
+
coverColor: TypedField<"string", string, {
|
|
1122
|
+
readonly optional: true;
|
|
1123
|
+
}>;
|
|
1124
|
+
isDeleted: TypedField<"string", string, {}>;
|
|
1125
|
+
accountSeq: TypedField<"int", number, {}>;
|
|
1126
|
+
spaceId: TypedField<"int", number, {
|
|
1127
|
+
readonly optional: true;
|
|
1128
|
+
}>;
|
|
1129
|
+
defaultCard: TypedField<"obj", any, {}>;
|
|
1130
|
+
isOnboardingDeck: TypedField<"bool", boolean, {}>;
|
|
1131
|
+
handSyncEnabled: TypedField<"string", string, {}>;
|
|
1132
|
+
stickyDefaultProjectTag: TypedField<"string", string, {}>;
|
|
1133
|
+
manualOrderLabels: TypedField<"string", string, {}>;
|
|
1134
|
+
workflowItemOrderLabels: TypedField<"string", string, {}>;
|
|
1135
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1136
|
+
stats: TypedField<"obj", any, {}>;
|
|
1137
|
+
hasGuardians: TypedField<"string", string, {}>;
|
|
1138
|
+
allowedCardTypes: TypedField<"string", string, {}>;
|
|
1139
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1140
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1141
|
+
milestoneId: TypedField<"belongsTo", MilestoneId, {
|
|
1142
|
+
readonly optional: true;
|
|
1143
|
+
}>;
|
|
1144
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
1145
|
+
coverFileId: TypedField<"belongsTo", FileId, {
|
|
1146
|
+
readonly optional: true;
|
|
1147
|
+
}>;
|
|
1148
|
+
descriptionCoverFileId: TypedField<"belongsTo", FileId, {
|
|
1149
|
+
readonly optional: true;
|
|
1150
|
+
}>;
|
|
1151
|
+
defaultProjectTagId: TypedField<"belongsTo", ProjectTagId, {
|
|
1152
|
+
readonly optional: true;
|
|
1153
|
+
}>;
|
|
1154
|
+
}, {
|
|
1155
|
+
project: RelationEntry<"project", {
|
|
1156
|
+
readonly type: "belongsTo";
|
|
1157
|
+
readonly fk: "projectId";
|
|
1158
|
+
}>;
|
|
1159
|
+
account: RelationEntry<"account", {
|
|
1160
|
+
readonly type: "belongsTo";
|
|
1161
|
+
readonly fk: "accountId";
|
|
1162
|
+
}>;
|
|
1163
|
+
milestone: RelationEntry<"milestone", {
|
|
1164
|
+
readonly type: "belongsTo";
|
|
1165
|
+
readonly fk: "milestoneId";
|
|
1166
|
+
}>;
|
|
1167
|
+
creator: RelationEntry<"user", {
|
|
1168
|
+
readonly type: "belongsTo";
|
|
1169
|
+
readonly fk: "creatorId";
|
|
1170
|
+
}>;
|
|
1171
|
+
coverFile: RelationEntry<"file", {
|
|
1172
|
+
readonly type: "belongsTo";
|
|
1173
|
+
readonly fk: "coverFileId";
|
|
1174
|
+
}>;
|
|
1175
|
+
descriptionCoverFile: RelationEntry<"file", {
|
|
1176
|
+
readonly type: "belongsTo";
|
|
1177
|
+
readonly fk: "descriptionCoverFileId";
|
|
1178
|
+
}>;
|
|
1179
|
+
defaultProjectTag: RelationEntry<"projectTag", {
|
|
1180
|
+
readonly type: "belongsTo";
|
|
1181
|
+
readonly fk: "defaultProjectTagId";
|
|
1182
|
+
}>;
|
|
1183
|
+
cards: RelationEntry<"card", {
|
|
1184
|
+
readonly type: "hasMany";
|
|
1185
|
+
}>;
|
|
1186
|
+
workflowItems: RelationEntry<"workflowItem", {
|
|
1187
|
+
readonly type: "hasMany";
|
|
1188
|
+
}>;
|
|
1189
|
+
cardOrderInDecks: RelationEntry<"cardOrderInDeck", {
|
|
1190
|
+
readonly type: "hasMany";
|
|
1191
|
+
}>;
|
|
1192
|
+
activities: RelationEntry<"activity", {
|
|
1193
|
+
readonly type: "hasMany";
|
|
1194
|
+
}>;
|
|
1195
|
+
guardians: RelationEntry<"deckGuardian", {
|
|
1196
|
+
readonly type: "hasMany";
|
|
1197
|
+
}>;
|
|
1198
|
+
}, ["id"]>;
|
|
1199
|
+
discordGuild: ModelDesc<"discordGuild", {
|
|
1200
|
+
id: TypedField<"id", DiscordGuildId, {}>;
|
|
1201
|
+
discordGuildId: TypedField<"string", string, {}>;
|
|
1202
|
+
guildName: TypedField<"string", string, {}>;
|
|
1203
|
+
guildIconId: TypedField<"string", string, {}>;
|
|
1204
|
+
scope: TypedField<"string", string, {}>;
|
|
1205
|
+
karmaRoleThresholds: TypedField<"obj", any, {}>;
|
|
1206
|
+
removeCommandEnabled: TypedField<"string", string, {}>;
|
|
1207
|
+
removeCommandEmoji: TypedField<"string", string, {}>;
|
|
1208
|
+
removeCommandRoleId: TypedField<"string", string, {}>;
|
|
1209
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1210
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1211
|
+
}, {
|
|
1212
|
+
account: RelationEntry<"account", {
|
|
1213
|
+
readonly type: "belongsTo";
|
|
1214
|
+
readonly fk: "accountId";
|
|
1215
|
+
}>;
|
|
1216
|
+
slashCommands: RelationEntry<"discordSlashCommand", {
|
|
1217
|
+
readonly type: "hasMany";
|
|
1218
|
+
}>;
|
|
1219
|
+
projectNotifications: RelationEntry<"discordProjectNotification", {
|
|
1220
|
+
readonly type: "hasMany";
|
|
1221
|
+
}>;
|
|
1222
|
+
dailyDiscordGuildVoteMemberships: RelationEntry<"dailyDiscordGuildVoteMembership", {
|
|
1223
|
+
readonly type: "hasMany";
|
|
1224
|
+
}>;
|
|
1225
|
+
members: RelationEntry<"discordMember", {
|
|
1226
|
+
readonly type: "hasMany";
|
|
1227
|
+
}>;
|
|
1228
|
+
}, ["id"]>;
|
|
1229
|
+
discordMember: ModelDesc<"discordMember", {
|
|
1230
|
+
id: TypedField<"id", DiscordMemberId, {}>;
|
|
1231
|
+
discordUserId: TypedField<"string", string, {}>;
|
|
1232
|
+
name: TypedField<"string", string, {}>;
|
|
1233
|
+
nick: TypedField<"string", string, {}>;
|
|
1234
|
+
avatar: TypedField<"string", string, {}>;
|
|
1235
|
+
discriminator: TypedField<"string", string, {}>;
|
|
1236
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1237
|
+
deckyScore: TypedField<"int", number, {}>;
|
|
1238
|
+
discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
|
|
1239
|
+
}, {
|
|
1240
|
+
discordGuild: RelationEntry<"discordGuild", {
|
|
1241
|
+
readonly type: "belongsTo";
|
|
1242
|
+
readonly fk: "discordGuildId";
|
|
1243
|
+
}>;
|
|
1244
|
+
}, ["id"]>;
|
|
1245
|
+
discordProjectNotification: ModelDesc<"discordProjectNotification", {
|
|
1246
|
+
id: TypedField<"id", DiscordProjectNotificationId, {}>;
|
|
1247
|
+
discordChannelId: TypedField<"string", string, {}>;
|
|
1248
|
+
disabledTypes: TypedField<"obj", any, {}>;
|
|
1249
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1250
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1251
|
+
discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
|
|
1252
|
+
}, {
|
|
1253
|
+
project: RelationEntry<"project", {
|
|
1254
|
+
readonly type: "belongsTo";
|
|
1255
|
+
readonly fk: "projectId";
|
|
1256
|
+
}>;
|
|
1257
|
+
discordGuild: RelationEntry<"discordGuild", {
|
|
1258
|
+
readonly type: "belongsTo";
|
|
1259
|
+
readonly fk: "discordGuildId";
|
|
1260
|
+
}>;
|
|
1261
|
+
}, ["id"]>;
|
|
1262
|
+
discordSlashCommand: ModelDesc<"discordSlashCommand", {
|
|
1263
|
+
id: TypedField<"id", DiscordSlashCommandId, {}>;
|
|
1264
|
+
channelId: TypedField<"string", string, {}>;
|
|
1265
|
+
statusTargetChannelId: TypedField<"string", string, {}>;
|
|
1266
|
+
reaction: TypedField<"string", string, {}>;
|
|
1267
|
+
name: TypedField<"string", string, {}>;
|
|
1268
|
+
description: TypedField<"string", string, {}>;
|
|
1269
|
+
autoAddRoleToThread: TypedField<"string", string, {}>;
|
|
1270
|
+
leaderboard: TypedField<"obj", any, {}>;
|
|
1271
|
+
reactionThreshold: TypedField<"int", number, {}>;
|
|
1272
|
+
karmaForCompletion: TypedField<"int", number, {}>;
|
|
1273
|
+
maxFileSizeInBytes: TypedField<"int", number, {}>;
|
|
1274
|
+
statusMessages: TypedField<"obj", any, {}>;
|
|
1275
|
+
permissions: TypedField<"obj", any, {}>;
|
|
1276
|
+
deckId: TypedField<"belongsTo", DeckId, {}>;
|
|
1277
|
+
discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
|
|
1278
|
+
}, {
|
|
1279
|
+
deck: RelationEntry<"deck", {
|
|
1280
|
+
readonly type: "belongsTo";
|
|
1281
|
+
readonly fk: "deckId";
|
|
1282
|
+
}>;
|
|
1283
|
+
discordGuild: RelationEntry<"discordGuild", {
|
|
1284
|
+
readonly type: "belongsTo";
|
|
1285
|
+
readonly fk: "discordGuildId";
|
|
1286
|
+
}>;
|
|
1287
|
+
}, ["id"]>;
|
|
1288
|
+
dueCard: ModelDesc<"dueCard", {
|
|
1289
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1290
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1291
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1292
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
1293
|
+
}, {
|
|
1294
|
+
user: RelationEntry<"user", {
|
|
1295
|
+
readonly type: "belongsTo";
|
|
1296
|
+
readonly fk: "userId";
|
|
1297
|
+
}>;
|
|
1298
|
+
account: RelationEntry<"account", {
|
|
1299
|
+
readonly type: "belongsTo";
|
|
1300
|
+
readonly fk: "accountId";
|
|
1301
|
+
}>;
|
|
1302
|
+
card: RelationEntry<"card", {
|
|
1303
|
+
readonly type: "belongsTo";
|
|
1304
|
+
readonly fk: "cardId";
|
|
1305
|
+
}>;
|
|
1306
|
+
}, ["userId", "cardId"]>;
|
|
1307
|
+
file: ModelDesc<"file", {
|
|
1308
|
+
id: TypedField<"id", FileId, {}>;
|
|
1309
|
+
name: TypedField<"string", string, {}>;
|
|
1310
|
+
url: TypedField<"string", string, {}>;
|
|
1311
|
+
size: TypedField<"string", string, {}>;
|
|
1312
|
+
isDeleted: TypedField<"string", string, {}>;
|
|
1313
|
+
meta: TypedField<"obj", any, {}>;
|
|
1314
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1315
|
+
deletedAt: TypedField<"date", Date, {}>;
|
|
1316
|
+
selfHosted: TypedField<"string", string, {}>;
|
|
1317
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1318
|
+
uploaderId: TypedField<"belongsTo", UserId, {}>;
|
|
1319
|
+
deletedById: TypedField<"belongsTo", UserId, {}>;
|
|
1320
|
+
}, {
|
|
1321
|
+
account: RelationEntry<"account", {
|
|
1322
|
+
readonly type: "belongsTo";
|
|
1323
|
+
readonly fk: "accountId";
|
|
1324
|
+
}>;
|
|
1325
|
+
uploader: RelationEntry<"user", {
|
|
1326
|
+
readonly type: "belongsTo";
|
|
1327
|
+
readonly fk: "uploaderId";
|
|
1328
|
+
}>;
|
|
1329
|
+
deletedBy: RelationEntry<"user", {
|
|
1330
|
+
readonly type: "belongsTo";
|
|
1331
|
+
readonly fk: "deletedById";
|
|
1332
|
+
}>;
|
|
1333
|
+
}, ["id"]>;
|
|
1334
|
+
handCard: ModelDesc<"handCard", {
|
|
1335
|
+
sortIndex: TypedField<"int", number, {}>;
|
|
1336
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1337
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1338
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
1339
|
+
}, {
|
|
1340
|
+
user: RelationEntry<"user", {
|
|
1341
|
+
readonly type: "belongsTo";
|
|
1342
|
+
readonly fk: "userId";
|
|
1343
|
+
}>;
|
|
1344
|
+
account: RelationEntry<"account", {
|
|
1345
|
+
readonly type: "belongsTo";
|
|
1346
|
+
readonly fk: "accountId";
|
|
1347
|
+
}>;
|
|
1348
|
+
card: RelationEntry<"card", {
|
|
1349
|
+
readonly type: "belongsTo";
|
|
1350
|
+
readonly fk: "cardId";
|
|
1351
|
+
}>;
|
|
1352
|
+
}, ["cardId", "userId", "accountId"]>;
|
|
1353
|
+
integration: ModelDesc<"integration", {
|
|
1354
|
+
id: TypedField<"id", IntegrationId, {}>;
|
|
1355
|
+
type: TypedField<"string", string, {}>;
|
|
1356
|
+
disabled: TypedField<"string", string, {}>;
|
|
1357
|
+
userData: TypedField<"obj", any, {}>;
|
|
1358
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1359
|
+
version: TypedField<"int", number, {}>;
|
|
1360
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1361
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1362
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
1363
|
+
}, {
|
|
1364
|
+
account: RelationEntry<"account", {
|
|
1365
|
+
readonly type: "belongsTo";
|
|
1366
|
+
readonly fk: "accountId";
|
|
1367
|
+
}>;
|
|
1368
|
+
user: RelationEntry<"user", {
|
|
1369
|
+
readonly type: "belongsTo";
|
|
1370
|
+
readonly fk: "userId";
|
|
1371
|
+
}>;
|
|
1372
|
+
creator: RelationEntry<"user", {
|
|
1373
|
+
readonly type: "belongsTo";
|
|
1374
|
+
readonly fk: "creatorId";
|
|
1375
|
+
}>;
|
|
1376
|
+
}, ["id"]>;
|
|
1377
|
+
invoice: ModelDesc<"invoice", {
|
|
1378
|
+
id: TypedField<"id", InvoiceId, {}>;
|
|
1379
|
+
invoiceNumber: TypedField<"string", string, {}>;
|
|
1380
|
+
url: TypedField<"string", string, {}>;
|
|
1381
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1382
|
+
total: TypedField<"int", number, {}>;
|
|
1383
|
+
subtotal: TypedField<"int", number, {}>;
|
|
1384
|
+
charged: TypedField<"int", number, {}>;
|
|
1385
|
+
chargeData: TypedField<"obj", any, {}>;
|
|
1386
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1387
|
+
}, {
|
|
1388
|
+
account: RelationEntry<"account", {
|
|
1389
|
+
readonly type: "belongsTo";
|
|
1390
|
+
readonly fk: "accountId";
|
|
1391
|
+
}>;
|
|
1392
|
+
}, ["id"]>;
|
|
1393
|
+
lastSeenCardUpvote: ModelDesc<"lastSeenCardUpvote", {
|
|
1394
|
+
lastSeenAt: TypedField<"date", Date, {}>;
|
|
1395
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1396
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1397
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1398
|
+
}, {
|
|
1399
|
+
user: RelationEntry<"user", {
|
|
1400
|
+
readonly type: "belongsTo";
|
|
1401
|
+
readonly fk: "userId";
|
|
1402
|
+
}>;
|
|
1403
|
+
account: RelationEntry<"account", {
|
|
1404
|
+
readonly type: "belongsTo";
|
|
1405
|
+
readonly fk: "accountId";
|
|
1406
|
+
}>;
|
|
1407
|
+
}, ["userId", "accountId"]>;
|
|
1408
|
+
milestoneProgress: ModelDesc<"milestoneProgress", {
|
|
1409
|
+
progress: TypedField<"obj", any, {}>;
|
|
1410
|
+
milestoneId: TypedField<"belongsTo", MilestoneId, {}>;
|
|
1411
|
+
}, {
|
|
1412
|
+
milestone: RelationEntry<"milestone", {
|
|
1413
|
+
readonly type: "belongsTo";
|
|
1414
|
+
readonly fk: "milestoneId";
|
|
1415
|
+
}>;
|
|
1416
|
+
}, ["milestoneId", "date"]>;
|
|
1417
|
+
milestoneProject: ModelDesc<"milestoneProject", {
|
|
1418
|
+
milestoneId: TypedField<"belongsTo", MilestoneId, {}>;
|
|
1419
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1420
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1421
|
+
}, {
|
|
1422
|
+
milestone: RelationEntry<"milestone", {
|
|
1423
|
+
readonly type: "belongsTo";
|
|
1424
|
+
readonly fk: "milestoneId";
|
|
1425
|
+
}>;
|
|
1426
|
+
project: RelationEntry<"project", {
|
|
1427
|
+
readonly type: "belongsTo";
|
|
1428
|
+
readonly fk: "projectId";
|
|
1429
|
+
}>;
|
|
1430
|
+
account: RelationEntry<"account", {
|
|
1431
|
+
readonly type: "belongsTo";
|
|
1432
|
+
readonly fk: "accountId";
|
|
1433
|
+
}>;
|
|
1434
|
+
}, ["milestoneId", "projectId"]>;
|
|
1435
|
+
milestone: ModelDesc<"milestone", {
|
|
1436
|
+
id: TypedField<"id", MilestoneId, {}>;
|
|
1437
|
+
name: TypedField<"string", string, {}>;
|
|
1438
|
+
color: TypedField<"string", string, {}>;
|
|
1439
|
+
date: TypedField<"day", {
|
|
1440
|
+
day: number;
|
|
1441
|
+
month: number;
|
|
1442
|
+
year: number;
|
|
1443
|
+
}, {}>;
|
|
1444
|
+
startDate: TypedField<"day", {
|
|
1445
|
+
day: number;
|
|
1446
|
+
month: number;
|
|
1447
|
+
year: number;
|
|
1448
|
+
}, {
|
|
1449
|
+
readonly optional: true;
|
|
1450
|
+
}>;
|
|
1451
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1452
|
+
accountSeq: TypedField<"int", number, {}>;
|
|
1453
|
+
description: TypedField<"string", string, {
|
|
1454
|
+
readonly optional: true;
|
|
1455
|
+
}>;
|
|
1456
|
+
isGlobal: TypedField<"string", string, {}>;
|
|
1457
|
+
handSyncEnabled: TypedField<"string", string, {}>;
|
|
1458
|
+
manualOrderLabels: TypedField<"string", string, {}>;
|
|
1459
|
+
stats: TypedField<"obj", any, {}>;
|
|
1460
|
+
userCapacities: TypedField<"obj", any, {}>;
|
|
1461
|
+
isDeleted: TypedField<"bool", boolean, {}>;
|
|
1462
|
+
preferredOrder: TypedField<"string", string, {
|
|
1463
|
+
readonly optional: true;
|
|
1464
|
+
}>;
|
|
1465
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1466
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
1467
|
+
coverFileId: TypedField<"belongsTo", FileId, {
|
|
1468
|
+
readonly optional: true;
|
|
1469
|
+
}>;
|
|
1470
|
+
}, {
|
|
1471
|
+
account: RelationEntry<"account", {
|
|
1472
|
+
readonly type: "belongsTo";
|
|
1473
|
+
readonly fk: "accountId";
|
|
1474
|
+
}>;
|
|
1475
|
+
creator: RelationEntry<"user", {
|
|
1476
|
+
readonly type: "belongsTo";
|
|
1477
|
+
readonly fk: "creatorId";
|
|
1478
|
+
}>;
|
|
1479
|
+
coverFile: RelationEntry<"file", {
|
|
1480
|
+
readonly type: "belongsTo";
|
|
1481
|
+
readonly fk: "coverFileId";
|
|
1482
|
+
}>;
|
|
1483
|
+
milestoneProjects: RelationEntry<"milestoneProject", {
|
|
1484
|
+
readonly type: "hasMany";
|
|
1485
|
+
}>;
|
|
1486
|
+
cards: RelationEntry<"card", {
|
|
1487
|
+
readonly type: "hasMany";
|
|
1488
|
+
}>;
|
|
1489
|
+
activities: RelationEntry<"activity", {
|
|
1490
|
+
readonly type: "hasMany";
|
|
1491
|
+
}>;
|
|
1492
|
+
progress: RelationEntry<"milestoneProgress", {
|
|
1493
|
+
readonly type: "hasMany";
|
|
1494
|
+
}>;
|
|
1495
|
+
}, ["id"]>;
|
|
1496
|
+
pinnedMilestone: ModelDesc<"pinnedMilestone", {
|
|
1497
|
+
id: TypedField<"id", PinnedMilestoneId, {}>;
|
|
1498
|
+
autoAssignStartedCard: TypedField<"bool", boolean, {}>;
|
|
1499
|
+
autoAssignNewCard: TypedField<"bool", boolean, {}>;
|
|
1500
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1501
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1502
|
+
sprintId: TypedField<"belongsTo", SprintId, {}>;
|
|
1503
|
+
milestoneId: TypedField<"belongsTo", MilestoneId, {}>;
|
|
1504
|
+
}, {
|
|
1505
|
+
user: RelationEntry<"user", {
|
|
1506
|
+
readonly type: "belongsTo";
|
|
1507
|
+
readonly fk: "userId";
|
|
1508
|
+
}>;
|
|
1509
|
+
account: RelationEntry<"account", {
|
|
1510
|
+
readonly type: "belongsTo";
|
|
1511
|
+
readonly fk: "accountId";
|
|
1512
|
+
}>;
|
|
1513
|
+
sprint: RelationEntry<"sprint", {
|
|
1514
|
+
readonly type: "belongsTo";
|
|
1515
|
+
readonly fk: "sprintId";
|
|
1516
|
+
}>;
|
|
1517
|
+
milestone: RelationEntry<"milestone", {
|
|
1518
|
+
readonly type: "belongsTo";
|
|
1519
|
+
readonly fk: "milestoneId";
|
|
1520
|
+
}>;
|
|
1521
|
+
}, ["id"]>;
|
|
1522
|
+
projectOrder: ModelDesc<"projectOrder", {
|
|
1523
|
+
sortIndex: TypedField<"int", number, {}>;
|
|
1524
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1525
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1526
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1527
|
+
}, {
|
|
1528
|
+
user: RelationEntry<"user", {
|
|
1529
|
+
readonly type: "belongsTo";
|
|
1530
|
+
readonly fk: "userId";
|
|
1531
|
+
}>;
|
|
1532
|
+
account: RelationEntry<"account", {
|
|
1533
|
+
readonly type: "belongsTo";
|
|
1534
|
+
readonly fk: "accountId";
|
|
1535
|
+
}>;
|
|
1536
|
+
project: RelationEntry<"project", {
|
|
1537
|
+
readonly type: "belongsTo";
|
|
1538
|
+
readonly fk: "projectId";
|
|
1539
|
+
}>;
|
|
1540
|
+
}, ["projectId", "userId", "accountId"]>;
|
|
1541
|
+
projectSelection: ModelDesc<"projectSelection", {
|
|
1542
|
+
id: TypedField<"id", ProjectSelectionId, {}>;
|
|
1543
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1544
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1545
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1546
|
+
}, {
|
|
1547
|
+
user: RelationEntry<"user", {
|
|
1548
|
+
readonly type: "belongsTo";
|
|
1549
|
+
readonly fk: "userId";
|
|
1550
|
+
}>;
|
|
1551
|
+
account: RelationEntry<"account", {
|
|
1552
|
+
readonly type: "belongsTo";
|
|
1553
|
+
readonly fk: "accountId";
|
|
1554
|
+
}>;
|
|
1555
|
+
project: RelationEntry<"project", {
|
|
1556
|
+
readonly type: "belongsTo";
|
|
1557
|
+
readonly fk: "projectId";
|
|
1558
|
+
}>;
|
|
1559
|
+
}, ["id"]>;
|
|
1560
|
+
projectTag: ModelDesc<"projectTag", {
|
|
1561
|
+
id: TypedField<"id", ProjectTagId, {}>;
|
|
1562
|
+
tag: TypedField<"string", string, {}>;
|
|
1563
|
+
color: TypedField<"string", string, {
|
|
1564
|
+
readonly optional: true;
|
|
1565
|
+
}>;
|
|
1566
|
+
emoji: TypedField<"string", string, {
|
|
1567
|
+
readonly optional: true;
|
|
1568
|
+
}>;
|
|
1569
|
+
description: TypedField<"string", string, {
|
|
1570
|
+
readonly optional: true;
|
|
1571
|
+
}>;
|
|
1572
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1573
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1574
|
+
}, {
|
|
1575
|
+
project: RelationEntry<"project", {
|
|
1576
|
+
readonly type: "belongsTo";
|
|
1577
|
+
readonly fk: "projectId";
|
|
1578
|
+
}>;
|
|
1579
|
+
}, ["id"]>;
|
|
1580
|
+
projectUserSetting: ModelDesc<"projectUserSetting", {
|
|
1581
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1582
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1583
|
+
}, {
|
|
1584
|
+
project: RelationEntry<"project", {
|
|
1585
|
+
readonly type: "belongsTo";
|
|
1586
|
+
readonly fk: "projectId";
|
|
1587
|
+
}>;
|
|
1588
|
+
user: RelationEntry<"user", {
|
|
1589
|
+
readonly type: "belongsTo";
|
|
1590
|
+
readonly fk: "userId";
|
|
1591
|
+
}>;
|
|
1592
|
+
}, ["projectId", "userId"]>;
|
|
1593
|
+
projectUser: ModelDesc<"projectUser", {
|
|
1594
|
+
projectRole: TypedField<"string", string, {}>;
|
|
1595
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1596
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1597
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1598
|
+
}, {
|
|
1599
|
+
user: RelationEntry<"user", {
|
|
1600
|
+
readonly type: "belongsTo";
|
|
1601
|
+
readonly fk: "userId";
|
|
1602
|
+
}>;
|
|
1603
|
+
project: RelationEntry<"project", {
|
|
1604
|
+
readonly type: "belongsTo";
|
|
1605
|
+
readonly fk: "projectId";
|
|
1606
|
+
}>;
|
|
1607
|
+
account: RelationEntry<"account", {
|
|
1608
|
+
readonly type: "belongsTo";
|
|
1609
|
+
readonly fk: "accountId";
|
|
1610
|
+
}>;
|
|
1611
|
+
}, ["projectId", "userId"]>;
|
|
1612
|
+
project: ModelDesc<"project", {
|
|
1613
|
+
id: TypedField<"id", ProjectId, {}>;
|
|
1614
|
+
name: TypedField<"string", string, {}>;
|
|
1615
|
+
visibility: TypedField<"string", string, {}>;
|
|
1616
|
+
defaultUserAccess: TypedField<"string", string, {}>;
|
|
1617
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1618
|
+
accountSeq: TypedField<"int", number, {}>;
|
|
1619
|
+
allowUpvotes: TypedField<"string", string, {}>;
|
|
1620
|
+
isPublic: TypedField<"string", string, {}>;
|
|
1621
|
+
commentsArePublic: TypedField<"string", string, {}>;
|
|
1622
|
+
publicRegistryAgreement: TypedField<"string", string, {
|
|
1623
|
+
readonly optional: true;
|
|
1624
|
+
}>;
|
|
1625
|
+
publicLayoutVersion: TypedField<"string", string, {}>;
|
|
1626
|
+
publicIsExplicit: TypedField<"string", string, {}>;
|
|
1627
|
+
markerColor: TypedField<"string", string, {
|
|
1628
|
+
readonly optional: true;
|
|
1629
|
+
}>;
|
|
1630
|
+
effortIcon: TypedField<"string", string, {
|
|
1631
|
+
readonly optional: true;
|
|
1632
|
+
}>;
|
|
1633
|
+
spaces: TypedField<"string", string, {}>;
|
|
1634
|
+
publicPath: TypedField<"string", string, {
|
|
1635
|
+
readonly optional: true;
|
|
1636
|
+
}>;
|
|
1637
|
+
publicMessage: TypedField<"string", string, {
|
|
1638
|
+
readonly optional: true;
|
|
1639
|
+
}>;
|
|
1640
|
+
publicHeading: TypedField<"string", string, {
|
|
1641
|
+
readonly optional: true;
|
|
1642
|
+
}>;
|
|
1643
|
+
publicBackgroundColor: TypedField<"string", string, {
|
|
1644
|
+
readonly optional: true;
|
|
1645
|
+
}>;
|
|
1646
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1647
|
+
coverFileId: TypedField<"belongsTo", FileId, {
|
|
1648
|
+
readonly optional: true;
|
|
1649
|
+
}>;
|
|
1650
|
+
publicBannerFileId: TypedField<"belongsTo", FileId, {
|
|
1651
|
+
readonly optional: true;
|
|
1652
|
+
}>;
|
|
1653
|
+
publicTileFileId: TypedField<"belongsTo", FileId, {
|
|
1654
|
+
readonly optional: true;
|
|
1655
|
+
}>;
|
|
1656
|
+
publicBackgroundImageId: TypedField<"belongsTo", FileId, {
|
|
1657
|
+
readonly optional: true;
|
|
1658
|
+
}>;
|
|
1659
|
+
}, {
|
|
1660
|
+
account: RelationEntry<"account", {
|
|
1661
|
+
readonly type: "belongsTo";
|
|
1662
|
+
readonly fk: "accountId";
|
|
1663
|
+
}>;
|
|
1664
|
+
coverFile: RelationEntry<"file", {
|
|
1665
|
+
readonly type: "belongsTo";
|
|
1666
|
+
readonly fk: "coverFileId";
|
|
1667
|
+
}>;
|
|
1668
|
+
publicBannerFile: RelationEntry<"file", {
|
|
1669
|
+
readonly type: "belongsTo";
|
|
1670
|
+
readonly fk: "publicBannerFileId";
|
|
1671
|
+
}>;
|
|
1672
|
+
publicTileFile: RelationEntry<"file", {
|
|
1673
|
+
readonly type: "belongsTo";
|
|
1674
|
+
readonly fk: "publicTileFileId";
|
|
1675
|
+
}>;
|
|
1676
|
+
publicBackgroundImage: RelationEntry<"file", {
|
|
1677
|
+
readonly type: "belongsTo";
|
|
1678
|
+
readonly fk: "publicBackgroundImageId";
|
|
1679
|
+
}>;
|
|
1680
|
+
decks: RelationEntry<"deck", {
|
|
1681
|
+
readonly type: "hasMany";
|
|
1682
|
+
}>;
|
|
1683
|
+
milestoneProjects: RelationEntry<"milestoneProject", {
|
|
1684
|
+
readonly type: "hasMany";
|
|
1685
|
+
}>;
|
|
1686
|
+
sprintProjects: RelationEntry<"sprintProject", {
|
|
1687
|
+
readonly type: "hasMany";
|
|
1688
|
+
}>;
|
|
1689
|
+
publicProjectVisits: RelationEntry<"publicProjectVisit", {
|
|
1690
|
+
readonly type: "hasMany";
|
|
1691
|
+
}>;
|
|
1692
|
+
dailyPublicProjectMembership: RelationEntry<"dailyPublicProjectMembership", {
|
|
1693
|
+
readonly type: "hasMany";
|
|
1694
|
+
}>;
|
|
1695
|
+
publicProjectMemberships: RelationEntry<"publicProjectMembership", {
|
|
1696
|
+
readonly type: "hasMany";
|
|
1697
|
+
}>;
|
|
1698
|
+
cardUpvotes: RelationEntry<"cardUpvote", {
|
|
1699
|
+
readonly type: "hasMany";
|
|
1700
|
+
}>;
|
|
1701
|
+
tags: RelationEntry<"projectTag", {
|
|
1702
|
+
readonly type: "hasMany";
|
|
1703
|
+
}>;
|
|
1704
|
+
activities: RelationEntry<"activity", {
|
|
1705
|
+
readonly type: "hasMany";
|
|
1706
|
+
}>;
|
|
1707
|
+
explicitProjectUsers: RelationEntry<"projectUser", {
|
|
1708
|
+
readonly type: "hasMany";
|
|
1709
|
+
}>;
|
|
1710
|
+
access: RelationEntry<"userProjectAccess", {
|
|
1711
|
+
readonly type: "hasMany";
|
|
1712
|
+
}>;
|
|
1713
|
+
publicProjectInfo: RelationEntry<"publicProjectInfo", {
|
|
1714
|
+
readonly type: "hasOne";
|
|
1715
|
+
}>;
|
|
1716
|
+
}, ["id"]>;
|
|
1717
|
+
publicProjectInfo: ModelDesc<"publicProjectInfo", {
|
|
1718
|
+
lastActivityAt: TypedField<"string", string, {}>;
|
|
1719
|
+
activities7d: TypedField<"string", string, {}>;
|
|
1720
|
+
cardCount: TypedField<"string", string, {}>;
|
|
1721
|
+
visits7d: TypedField<"string", string, {}>;
|
|
1722
|
+
cardDoneStreak: TypedField<"string", string, {}>;
|
|
1723
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1724
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1725
|
+
}, {
|
|
1726
|
+
project: RelationEntry<"project", {
|
|
1727
|
+
readonly type: "belongsTo";
|
|
1728
|
+
readonly fk: "projectId";
|
|
1729
|
+
}>;
|
|
1730
|
+
account: RelationEntry<"account", {
|
|
1731
|
+
readonly type: "belongsTo";
|
|
1732
|
+
readonly fk: "accountId";
|
|
1733
|
+
}>;
|
|
1734
|
+
}, ["projectId"]>;
|
|
1735
|
+
publicProjectMembership: ModelDesc<"publicProjectMembership", {
|
|
1736
|
+
digestFrequencyInDays: TypedField<"int", number, {}>;
|
|
1737
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1738
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1739
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
1740
|
+
}, {
|
|
1741
|
+
user: RelationEntry<"user", {
|
|
1742
|
+
readonly type: "belongsTo";
|
|
1743
|
+
readonly fk: "userId";
|
|
1744
|
+
}>;
|
|
1745
|
+
project: RelationEntry<"project", {
|
|
1746
|
+
readonly type: "belongsTo";
|
|
1747
|
+
readonly fk: "projectId";
|
|
1748
|
+
}>;
|
|
1749
|
+
}, ["userId", "projectId"]>;
|
|
1750
|
+
queueEntry: ModelDesc<"queueEntry", {
|
|
1751
|
+
id: TypedField<"id", QueueEntryId, {}>;
|
|
1752
|
+
sortIndex: TypedField<"int", number, {}>;
|
|
1753
|
+
cardDoneAt: TypedField<"date", Date, {}>;
|
|
1754
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1755
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1756
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1757
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
1758
|
+
}, {
|
|
1759
|
+
account: RelationEntry<"account", {
|
|
1760
|
+
readonly type: "belongsTo";
|
|
1761
|
+
readonly fk: "accountId";
|
|
1762
|
+
}>;
|
|
1763
|
+
user: RelationEntry<"user", {
|
|
1764
|
+
readonly type: "belongsTo";
|
|
1765
|
+
readonly fk: "userId";
|
|
1766
|
+
}>;
|
|
1767
|
+
card: RelationEntry<"card", {
|
|
1768
|
+
readonly type: "belongsTo";
|
|
1769
|
+
readonly fk: "cardId";
|
|
1770
|
+
}>;
|
|
1771
|
+
}, ["id"]>;
|
|
1772
|
+
queueSelection: ModelDesc<"queueSelection", {
|
|
1773
|
+
id: TypedField<"id", QueueSelectionId, {}>;
|
|
1774
|
+
sortIndex: TypedField<"int", number, {}>;
|
|
1775
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1776
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1777
|
+
queueUserId: TypedField<"belongsTo", UserId, {}>;
|
|
1778
|
+
}, {
|
|
1779
|
+
user: RelationEntry<"user", {
|
|
1780
|
+
readonly type: "belongsTo";
|
|
1781
|
+
readonly fk: "userId";
|
|
1782
|
+
}>;
|
|
1783
|
+
account: RelationEntry<"account", {
|
|
1784
|
+
readonly type: "belongsTo";
|
|
1785
|
+
readonly fk: "accountId";
|
|
1786
|
+
}>;
|
|
1787
|
+
queueUser: RelationEntry<"user", {
|
|
1788
|
+
readonly type: "belongsTo";
|
|
1789
|
+
readonly fk: "queueUserId";
|
|
1790
|
+
}>;
|
|
1791
|
+
}, ["id"]>;
|
|
1792
|
+
release: ModelDesc<"release", {
|
|
1793
|
+
id: TypedField<"id", ReleaseId, {}>;
|
|
1794
|
+
version: TypedField<"string", string, {}>;
|
|
1795
|
+
isLive: TypedField<"string", string, {}>;
|
|
1796
|
+
content: TypedField<"string", string, {}>;
|
|
1797
|
+
title: TypedField<"string", string, {}>;
|
|
1798
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1799
|
+
}, {}, ["id"]>;
|
|
1800
|
+
resolvableEntryHistory: ModelDesc<"resolvableEntryHistory", {
|
|
1801
|
+
content: TypedField<"string", string, {}>;
|
|
1802
|
+
lastChangedAt: TypedField<"date", Date, {}>;
|
|
1803
|
+
version: TypedField<"int", number, {}>;
|
|
1804
|
+
resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
|
|
1805
|
+
authorId: TypedField<"belongsTo", UserId, {}>;
|
|
1806
|
+
entryId: TypedField<"belongsTo", ResolvableEntryId, {}>;
|
|
1807
|
+
}, {
|
|
1808
|
+
resolvable: RelationEntry<"resolvable", {
|
|
1809
|
+
readonly type: "belongsTo";
|
|
1810
|
+
readonly fk: "resolvableId";
|
|
1811
|
+
}>;
|
|
1812
|
+
author: RelationEntry<"user", {
|
|
1813
|
+
readonly type: "belongsTo";
|
|
1814
|
+
readonly fk: "authorId";
|
|
1815
|
+
}>;
|
|
1816
|
+
entry: RelationEntry<"resolvableEntry", {
|
|
1817
|
+
readonly type: "belongsTo";
|
|
1818
|
+
readonly fk: "entryId";
|
|
1819
|
+
}>;
|
|
1820
|
+
}, ["entryId", "version"]>;
|
|
1821
|
+
resolvableEntryReaction: ModelDesc<"resolvableEntryReaction", {
|
|
1822
|
+
id: TypedField<"id", ResolvableEntryReactionId, {}>;
|
|
1823
|
+
value: TypedField<"obj", any, {}>;
|
|
1824
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1825
|
+
isPublic: TypedField<"bool", boolean, {}>;
|
|
1826
|
+
resolvableEntryId: TypedField<"belongsTo", ResolvableEntryId, {}>;
|
|
1827
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1828
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1829
|
+
resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
|
|
1830
|
+
}, {
|
|
1831
|
+
resolvableEntry: RelationEntry<"resolvableEntry", {
|
|
1832
|
+
readonly type: "belongsTo";
|
|
1833
|
+
readonly fk: "resolvableEntryId";
|
|
1834
|
+
}>;
|
|
1835
|
+
account: RelationEntry<"account", {
|
|
1836
|
+
readonly type: "belongsTo";
|
|
1837
|
+
readonly fk: "accountId";
|
|
1838
|
+
}>;
|
|
1839
|
+
user: RelationEntry<"user", {
|
|
1840
|
+
readonly type: "belongsTo";
|
|
1841
|
+
readonly fk: "userId";
|
|
1842
|
+
}>;
|
|
1843
|
+
resolvable: RelationEntry<"resolvable", {
|
|
1844
|
+
readonly type: "belongsTo";
|
|
1845
|
+
readonly fk: "resolvableId";
|
|
1846
|
+
}>;
|
|
1847
|
+
}, ["id"]>;
|
|
1848
|
+
resolvableEntry: ModelDesc<"resolvableEntry", {
|
|
1849
|
+
entryId: TypedField<"id", ResolvableEntryId, {}>;
|
|
1850
|
+
content: TypedField<"string", string, {}>;
|
|
1851
|
+
lastChangedAt: TypedField<"date", Date, {}>;
|
|
1852
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1853
|
+
version: TypedField<"int", number, {}>;
|
|
1854
|
+
meta: TypedField<"obj", any, {}>;
|
|
1855
|
+
resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
|
|
1856
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
1857
|
+
authorId: TypedField<"belongsTo", UserId, {}>;
|
|
1858
|
+
}, {
|
|
1859
|
+
resolvable: RelationEntry<"resolvable", {
|
|
1860
|
+
readonly type: "belongsTo";
|
|
1861
|
+
readonly fk: "resolvableId";
|
|
1862
|
+
}>;
|
|
1863
|
+
card: RelationEntry<"card", {
|
|
1864
|
+
readonly type: "belongsTo";
|
|
1865
|
+
readonly fk: "cardId";
|
|
1866
|
+
}>;
|
|
1867
|
+
author: RelationEntry<"user", {
|
|
1868
|
+
readonly type: "belongsTo";
|
|
1869
|
+
readonly fk: "authorId";
|
|
1870
|
+
}>;
|
|
1871
|
+
reactions: RelationEntry<"resolvableEntryReaction", {
|
|
1872
|
+
readonly type: "hasMany";
|
|
1873
|
+
}>;
|
|
1874
|
+
histories: RelationEntry<"resolvableEntryHistory", {
|
|
1875
|
+
readonly type: "hasMany";
|
|
1876
|
+
}>;
|
|
1877
|
+
}, ["entryId"]>;
|
|
1878
|
+
resolvableNotification: ModelDesc<"resolvableNotification", {
|
|
1879
|
+
isParticipating: TypedField<"bool", boolean, {}>;
|
|
1880
|
+
isSnoozing: TypedField<"bool", boolean, {}>;
|
|
1881
|
+
unseenEntryCount: TypedField<"int", number, {}>;
|
|
1882
|
+
unseenAuthors: TypedField<"array", any[], {}>;
|
|
1883
|
+
isLastParticipant: TypedField<"bool", boolean, {}>;
|
|
1884
|
+
lastUpdatedAt: TypedField<"date", Date, {}>;
|
|
1885
|
+
snoozeUntil: TypedField<"date", Date, {
|
|
1886
|
+
readonly optional: true;
|
|
1887
|
+
}>;
|
|
1888
|
+
remindMeOn: TypedField<"date", Date, {
|
|
1889
|
+
readonly optional: true;
|
|
1890
|
+
}>;
|
|
1891
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1892
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1893
|
+
resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
|
|
1894
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1895
|
+
latestEntryId: TypedField<"belongsTo", ResolvableEntryId, {}>;
|
|
1896
|
+
latestSeenEntryId: TypedField<"belongsTo", ResolvableEntryId, {}>;
|
|
1897
|
+
}, {
|
|
1898
|
+
user: RelationEntry<"user", {
|
|
1899
|
+
readonly type: "belongsTo";
|
|
1900
|
+
readonly fk: "userId";
|
|
1901
|
+
}>;
|
|
1902
|
+
resolvable: RelationEntry<"resolvable", {
|
|
1903
|
+
readonly type: "belongsTo";
|
|
1904
|
+
readonly fk: "resolvableId";
|
|
1905
|
+
}>;
|
|
1906
|
+
account: RelationEntry<"account", {
|
|
1907
|
+
readonly type: "belongsTo";
|
|
1908
|
+
readonly fk: "accountId";
|
|
1909
|
+
}>;
|
|
1910
|
+
latestEntry: RelationEntry<"resolvableEntry", {
|
|
1911
|
+
readonly type: "belongsTo";
|
|
1912
|
+
readonly fk: "latestEntryId";
|
|
1913
|
+
}>;
|
|
1914
|
+
latestSeenEntry: RelationEntry<"resolvableEntry", {
|
|
1915
|
+
readonly type: "belongsTo";
|
|
1916
|
+
readonly fk: "latestSeenEntryId";
|
|
1917
|
+
}>;
|
|
1918
|
+
}, ["userId", "resolvableId"]>;
|
|
1919
|
+
resolvableParticipantHistory: ModelDesc<"resolvableParticipantHistory", {
|
|
1920
|
+
firstJoinedAt: TypedField<"string", string, {}>;
|
|
1921
|
+
done: TypedField<"string", string, {}>;
|
|
1922
|
+
status: TypedField<"string", string, {}>;
|
|
1923
|
+
lastChangedAt: TypedField<"date", Date, {}>;
|
|
1924
|
+
version: TypedField<"int", number, {}>;
|
|
1925
|
+
reaction: TypedField<"string", string, {}>;
|
|
1926
|
+
resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
|
|
1927
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1928
|
+
addedById: TypedField<"belongsTo", UserId, {}>;
|
|
1929
|
+
}, {
|
|
1930
|
+
resolvable: RelationEntry<"resolvable", {
|
|
1931
|
+
readonly type: "belongsTo";
|
|
1932
|
+
readonly fk: "resolvableId";
|
|
1933
|
+
}>;
|
|
1934
|
+
user: RelationEntry<"user", {
|
|
1935
|
+
readonly type: "belongsTo";
|
|
1936
|
+
readonly fk: "userId";
|
|
1937
|
+
}>;
|
|
1938
|
+
addedBy: RelationEntry<"user", {
|
|
1939
|
+
readonly type: "belongsTo";
|
|
1940
|
+
readonly fk: "addedById";
|
|
1941
|
+
}>;
|
|
1942
|
+
}, ["participantId", "resolvableId", "version"]>;
|
|
1943
|
+
resolvableParticipant: ModelDesc<"resolvableParticipant", {
|
|
1944
|
+
firstJoinedAt: TypedField<"date", Date, {}>;
|
|
1945
|
+
lastChangedAt: TypedField<"date", Date, {}>;
|
|
1946
|
+
done: TypedField<"bool", boolean, {}>;
|
|
1947
|
+
status: TypedField<"string", string, {}>;
|
|
1948
|
+
discordUserId: TypedField<"string", string, {}>;
|
|
1949
|
+
resolvableIsClosed: TypedField<"bool", boolean, {}>;
|
|
1950
|
+
resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
|
|
1951
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1952
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
1953
|
+
addedById: TypedField<"belongsTo", UserId, {}>;
|
|
1954
|
+
}, {
|
|
1955
|
+
resolvable: RelationEntry<"resolvable", {
|
|
1956
|
+
readonly type: "belongsTo";
|
|
1957
|
+
readonly fk: "resolvableId";
|
|
1958
|
+
}>;
|
|
1959
|
+
account: RelationEntry<"account", {
|
|
1960
|
+
readonly type: "belongsTo";
|
|
1961
|
+
readonly fk: "accountId";
|
|
1962
|
+
}>;
|
|
1963
|
+
user: RelationEntry<"user", {
|
|
1964
|
+
readonly type: "belongsTo";
|
|
1965
|
+
readonly fk: "userId";
|
|
1966
|
+
}>;
|
|
1967
|
+
addedBy: RelationEntry<"user", {
|
|
1968
|
+
readonly type: "belongsTo";
|
|
1969
|
+
readonly fk: "addedById";
|
|
1970
|
+
}>;
|
|
1971
|
+
}, ["participantId", "resolvableId"]>;
|
|
1972
|
+
resolvable: ModelDesc<"resolvable", {
|
|
1973
|
+
id: TypedField<"id", ResolvableId, {}>;
|
|
1974
|
+
context: TypedField<"string", string, {}>;
|
|
1975
|
+
contextAsPrio: TypedField<"int", number, {}>;
|
|
1976
|
+
isClosed: TypedField<"bool", boolean, {}>;
|
|
1977
|
+
closedAt: TypedField<"date", Date, {
|
|
1978
|
+
readonly optional: true;
|
|
1979
|
+
}>;
|
|
1980
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
1981
|
+
isPublic: TypedField<"bool", boolean, {}>;
|
|
1982
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
1983
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
1984
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
1985
|
+
closedById: TypedField<"belongsTo", UserId, {
|
|
1986
|
+
readonly optional: true;
|
|
1987
|
+
}>;
|
|
1988
|
+
}, {
|
|
1989
|
+
card: RelationEntry<"card", {
|
|
1990
|
+
readonly type: "belongsTo";
|
|
1991
|
+
readonly fk: "cardId";
|
|
1992
|
+
}>;
|
|
1993
|
+
account: RelationEntry<"account", {
|
|
1994
|
+
readonly type: "belongsTo";
|
|
1995
|
+
readonly fk: "accountId";
|
|
1996
|
+
}>;
|
|
1997
|
+
creator: RelationEntry<"user", {
|
|
1998
|
+
readonly type: "belongsTo";
|
|
1999
|
+
readonly fk: "creatorId";
|
|
2000
|
+
}>;
|
|
2001
|
+
closedBy: RelationEntry<"user", {
|
|
2002
|
+
readonly type: "belongsTo";
|
|
2003
|
+
readonly fk: "closedById";
|
|
2004
|
+
}>;
|
|
2005
|
+
participants: RelationEntry<"resolvableParticipant", {
|
|
2006
|
+
readonly type: "hasMany";
|
|
2007
|
+
}>;
|
|
2008
|
+
participantHistories: RelationEntry<"resolvableParticipantHistory", {
|
|
2009
|
+
readonly type: "hasMany";
|
|
2010
|
+
}>;
|
|
2011
|
+
entries: RelationEntry<"resolvableEntry", {
|
|
2012
|
+
readonly type: "hasMany";
|
|
2013
|
+
}>;
|
|
2014
|
+
}, ["id"]>;
|
|
2015
|
+
savedSearch: ModelDesc<"savedSearch", {
|
|
2016
|
+
id: TypedField<"id", SavedSearchId, {}>;
|
|
2017
|
+
tokens: TypedField<"array", any[], {}>;
|
|
2018
|
+
forceOr: TypedField<"bool", boolean, {}>;
|
|
2019
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2020
|
+
ownerId: TypedField<"belongsTo", UserId, {}>;
|
|
2021
|
+
}, {
|
|
2022
|
+
account: RelationEntry<"account", {
|
|
2023
|
+
readonly type: "belongsTo";
|
|
2024
|
+
readonly fk: "accountId";
|
|
2025
|
+
}>;
|
|
2026
|
+
owner: RelationEntry<"user", {
|
|
2027
|
+
readonly type: "belongsTo";
|
|
2028
|
+
readonly fk: "ownerId";
|
|
2029
|
+
}>;
|
|
2030
|
+
}, ["id"]>;
|
|
2031
|
+
sprintConfigProgress: ModelDesc<"sprintConfigProgress", {
|
|
2032
|
+
progress: TypedField<"obj", any, {}>;
|
|
2033
|
+
sprintConfigId: TypedField<"belongsTo", SprintConfigId, {}>;
|
|
2034
|
+
}, {
|
|
2035
|
+
sprintConfig: RelationEntry<"sprintConfig", {
|
|
2036
|
+
readonly type: "belongsTo";
|
|
2037
|
+
readonly fk: "sprintConfigId";
|
|
2038
|
+
}>;
|
|
2039
|
+
}, ["sprintConfigId", "date"]>;
|
|
2040
|
+
sprintConfig: ModelDesc<"sprintConfig", {
|
|
2041
|
+
id: TypedField<"id", SprintConfigId, {}>;
|
|
2042
|
+
name: TypedField<"string", string, {}>;
|
|
2043
|
+
color: TypedField<"string", string, {}>;
|
|
2044
|
+
stopOn: TypedField<"day", {
|
|
2045
|
+
day: number;
|
|
2046
|
+
month: number;
|
|
2047
|
+
year: number;
|
|
2048
|
+
}, {
|
|
2049
|
+
readonly optional: true;
|
|
2050
|
+
}>;
|
|
2051
|
+
isGlobal: TypedField<"string", string, {}>;
|
|
2052
|
+
upcomingSprints: TypedField<"int", number, {}>;
|
|
2053
|
+
sprintDurationWeeks: TypedField<"int", number, {}>;
|
|
2054
|
+
sprintStartWeekday: TypedField<"int", number, {}>;
|
|
2055
|
+
endHour: TypedField<"int", number, {}>;
|
|
2056
|
+
endHourTimezone: TypedField<"string", string, {}>;
|
|
2057
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2058
|
+
preferredOrder: TypedField<"string", string, {
|
|
2059
|
+
readonly optional: true;
|
|
2060
|
+
}>;
|
|
2061
|
+
moveOnFinish: TypedField<"string", string, {}>;
|
|
2062
|
+
autoBeastModeDurationHours: TypedField<"int", number, {
|
|
2063
|
+
readonly optional: true;
|
|
2064
|
+
}>;
|
|
2065
|
+
autoAssignStartedCard: TypedField<"bool", boolean, {}>;
|
|
2066
|
+
autoAssignNewCard: TypedField<"bool", boolean, {}>;
|
|
2067
|
+
beastGracePeriodHours: TypedField<"int", number, {}>;
|
|
2068
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2069
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
2070
|
+
}, {
|
|
2071
|
+
account: RelationEntry<"account", {
|
|
2072
|
+
readonly type: "belongsTo";
|
|
2073
|
+
readonly fk: "accountId";
|
|
2074
|
+
}>;
|
|
2075
|
+
creator: RelationEntry<"user", {
|
|
2076
|
+
readonly type: "belongsTo";
|
|
2077
|
+
readonly fk: "creatorId";
|
|
2078
|
+
}>;
|
|
2079
|
+
sprintProjects: RelationEntry<"sprintProject", {
|
|
2080
|
+
readonly type: "hasMany";
|
|
2081
|
+
}>;
|
|
2082
|
+
sprints: RelationEntry<"sprint", {
|
|
2083
|
+
readonly type: "hasMany";
|
|
2084
|
+
}>;
|
|
2085
|
+
progress: RelationEntry<"sprintConfigProgress", {
|
|
2086
|
+
readonly type: "hasMany";
|
|
2087
|
+
}>;
|
|
2088
|
+
}, ["id"]>;
|
|
2089
|
+
sprintProgress: ModelDesc<"sprintProgress", {
|
|
2090
|
+
progress: TypedField<"obj", any, {}>;
|
|
2091
|
+
sprintId: TypedField<"belongsTo", SprintId, {}>;
|
|
2092
|
+
}, {
|
|
2093
|
+
sprint: RelationEntry<"sprint", {
|
|
2094
|
+
readonly type: "belongsTo";
|
|
2095
|
+
readonly fk: "sprintId";
|
|
2096
|
+
}>;
|
|
2097
|
+
}, ["sprintId", "date"]>;
|
|
2098
|
+
sprintProject: ModelDesc<"sprintProject", {
|
|
2099
|
+
sprintConfigId: TypedField<"belongsTo", SprintConfigId, {}>;
|
|
2100
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
2101
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2102
|
+
}, {
|
|
2103
|
+
sprintConfig: RelationEntry<"sprintConfig", {
|
|
2104
|
+
readonly type: "belongsTo";
|
|
2105
|
+
readonly fk: "sprintConfigId";
|
|
2106
|
+
}>;
|
|
2107
|
+
project: RelationEntry<"project", {
|
|
2108
|
+
readonly type: "belongsTo";
|
|
2109
|
+
readonly fk: "projectId";
|
|
2110
|
+
}>;
|
|
2111
|
+
account: RelationEntry<"account", {
|
|
2112
|
+
readonly type: "belongsTo";
|
|
2113
|
+
readonly fk: "accountId";
|
|
2114
|
+
}>;
|
|
2115
|
+
}, ["sprintConfigId", "projectId"]>;
|
|
2116
|
+
sprint: ModelDesc<"sprint", {
|
|
2117
|
+
id: TypedField<"id", SprintId, {}>;
|
|
2118
|
+
description: TypedField<"string", string, {}>;
|
|
2119
|
+
name: TypedField<"string", string, {
|
|
2120
|
+
readonly optional: true;
|
|
2121
|
+
}>;
|
|
2122
|
+
accountSeq: TypedField<"int", number, {}>;
|
|
2123
|
+
index: TypedField<"int", number, {}>;
|
|
2124
|
+
startDate: TypedField<"day", {
|
|
2125
|
+
day: number;
|
|
2126
|
+
month: number;
|
|
2127
|
+
year: number;
|
|
2128
|
+
}, {}>;
|
|
2129
|
+
endDate: TypedField<"day", {
|
|
2130
|
+
day: number;
|
|
2131
|
+
month: number;
|
|
2132
|
+
year: number;
|
|
2133
|
+
}, {}>;
|
|
2134
|
+
stats: TypedField<"obj", any, {}>;
|
|
2135
|
+
manualOrderLabels: TypedField<"string", string, {}>;
|
|
2136
|
+
userCapacities: TypedField<"obj", any, {}>;
|
|
2137
|
+
handSyncEnabled: TypedField<"string", string, {}>;
|
|
2138
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2139
|
+
isDeleted: TypedField<"bool", boolean, {}>;
|
|
2140
|
+
completedAt: TypedField<"date", Date, {
|
|
2141
|
+
readonly optional: true;
|
|
2142
|
+
}>;
|
|
2143
|
+
lockedAt: TypedField<"date", Date, {
|
|
2144
|
+
readonly optional: true;
|
|
2145
|
+
}>;
|
|
2146
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2147
|
+
sprintConfigId: TypedField<"belongsTo", SprintConfigId, {}>;
|
|
2148
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
2149
|
+
coverFileId: TypedField<"belongsTo", FileId, {
|
|
2150
|
+
readonly optional: true;
|
|
2151
|
+
}>;
|
|
2152
|
+
autoMilestoneId: TypedField<"belongsTo", MilestoneId, {
|
|
2153
|
+
readonly optional: true;
|
|
2154
|
+
}>;
|
|
2155
|
+
}, {
|
|
2156
|
+
account: RelationEntry<"account", {
|
|
2157
|
+
readonly type: "belongsTo";
|
|
2158
|
+
readonly fk: "accountId";
|
|
2159
|
+
}>;
|
|
2160
|
+
sprintConfig: RelationEntry<"sprintConfig", {
|
|
2161
|
+
readonly type: "belongsTo";
|
|
2162
|
+
readonly fk: "sprintConfigId";
|
|
2163
|
+
}>;
|
|
2164
|
+
creator: RelationEntry<"user", {
|
|
2165
|
+
readonly type: "belongsTo";
|
|
2166
|
+
readonly fk: "creatorId";
|
|
2167
|
+
}>;
|
|
2168
|
+
coverFile: RelationEntry<"file", {
|
|
2169
|
+
readonly type: "belongsTo";
|
|
2170
|
+
readonly fk: "coverFileId";
|
|
2171
|
+
}>;
|
|
2172
|
+
autoMilestone: RelationEntry<"milestone", {
|
|
2173
|
+
readonly type: "belongsTo";
|
|
2174
|
+
readonly fk: "autoMilestoneId";
|
|
2175
|
+
}>;
|
|
2176
|
+
cards: RelationEntry<"card", {
|
|
2177
|
+
readonly type: "hasMany";
|
|
2178
|
+
}>;
|
|
2179
|
+
progress: RelationEntry<"sprintProgress", {
|
|
2180
|
+
readonly type: "hasMany";
|
|
2181
|
+
}>;
|
|
2182
|
+
activities: RelationEntry<"activity", {
|
|
2183
|
+
readonly type: "hasMany";
|
|
2184
|
+
}>;
|
|
2185
|
+
}, ["id"]>;
|
|
2186
|
+
stripeAccountSync: ModelDesc<"stripeAccountSync", {
|
|
2187
|
+
status: TypedField<"string", string, {}>;
|
|
2188
|
+
euVatIdData: TypedField<"obj", any, {}>;
|
|
2189
|
+
vatCountryCode: TypedField<"string", string, {}>;
|
|
2190
|
+
vatTaxPercentage: TypedField<"int", number, {}>;
|
|
2191
|
+
centsPerSeat: TypedField<"int", number, {}>;
|
|
2192
|
+
billingCycleStart: TypedField<"date", Date, {}>;
|
|
2193
|
+
billingCycleEnd: TypedField<"date", Date, {}>;
|
|
2194
|
+
grossActualBalance: TypedField<"int", number, {}>;
|
|
2195
|
+
grossBonusBalance: TypedField<"int", number, {}>;
|
|
2196
|
+
netGiftBalance: TypedField<"int", number, {}>;
|
|
2197
|
+
paymentMethod: TypedField<"obj", any, {}>;
|
|
2198
|
+
hasBeenCancelledAt: TypedField<"date", Date, {}>;
|
|
2199
|
+
planType: TypedField<"string", string, {}>;
|
|
2200
|
+
planName: TypedField<"string", string, {}>;
|
|
2201
|
+
pendingPlanType: TypedField<"string", string, {}>;
|
|
2202
|
+
repeatingCoupon: TypedField<"obj", any, {}>;
|
|
2203
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2204
|
+
}, {
|
|
2205
|
+
account: RelationEntry<"account", {
|
|
2206
|
+
readonly type: "belongsTo";
|
|
2207
|
+
readonly fk: "accountId";
|
|
2208
|
+
}>;
|
|
2209
|
+
}, ["accountId"]>;
|
|
2210
|
+
timeTrackingSegment: ModelDesc<"timeTrackingSegment", {
|
|
2211
|
+
id: TypedField<"id", TimeTrackingSegmentId, {}>;
|
|
2212
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2213
|
+
finishedAt: TypedField<"date", Date, {
|
|
2214
|
+
readonly optional: true;
|
|
2215
|
+
}>;
|
|
2216
|
+
startedAt: TypedField<"date", Date, {}>;
|
|
2217
|
+
modifyDurationMsBy: TypedField<"int", number, {}>;
|
|
2218
|
+
addedManually: TypedField<"string", string, {}>;
|
|
2219
|
+
autoFinishedState: TypedField<"string", string, {}>;
|
|
2220
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
2221
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
2222
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2223
|
+
}, {
|
|
2224
|
+
card: RelationEntry<"card", {
|
|
2225
|
+
readonly type: "belongsTo";
|
|
2226
|
+
readonly fk: "cardId";
|
|
2227
|
+
}>;
|
|
2228
|
+
user: RelationEntry<"user", {
|
|
2229
|
+
readonly type: "belongsTo";
|
|
2230
|
+
readonly fk: "userId";
|
|
2231
|
+
}>;
|
|
2232
|
+
account: RelationEntry<"account", {
|
|
2233
|
+
readonly type: "belongsTo";
|
|
2234
|
+
readonly fk: "accountId";
|
|
2235
|
+
}>;
|
|
2236
|
+
}, ["id"]>;
|
|
2237
|
+
timeTrackingSum: ModelDesc<"timeTrackingSum", {
|
|
2238
|
+
sumMs: TypedField<"int", number, {}>;
|
|
2239
|
+
runningStartedAt: TypedField<"date", Date, {}>;
|
|
2240
|
+
runningModifyDurationMsBy: TypedField<"int", number, {}>;
|
|
2241
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
2242
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
2243
|
+
}, {
|
|
2244
|
+
card: RelationEntry<"card", {
|
|
2245
|
+
readonly type: "belongsTo";
|
|
2246
|
+
readonly fk: "cardId";
|
|
2247
|
+
}>;
|
|
2248
|
+
user: RelationEntry<"user", {
|
|
2249
|
+
readonly type: "belongsTo";
|
|
2250
|
+
readonly fk: "userId";
|
|
2251
|
+
}>;
|
|
2252
|
+
}, ["cardId", "userId"]>;
|
|
2253
|
+
userDismissedHint: ModelDesc<"userDismissedHint", {
|
|
2254
|
+
hintKey: TypedField<"string", string, {}>;
|
|
2255
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2256
|
+
returnAt: TypedField<"date", Date, {}>;
|
|
2257
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
2258
|
+
}, {
|
|
2259
|
+
user: RelationEntry<"user", {
|
|
2260
|
+
readonly type: "belongsTo";
|
|
2261
|
+
readonly fk: "userId";
|
|
2262
|
+
}>;
|
|
2263
|
+
}, ["userId", "hintKey"]>;
|
|
2264
|
+
userEmail: ModelDesc<"userEmail", {
|
|
2265
|
+
id: TypedField<"id", UserEmailId, {}>;
|
|
2266
|
+
email: TypedField<"string", string, {}>;
|
|
2267
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2268
|
+
isPrimary: TypedField<"bool", boolean, {}>;
|
|
2269
|
+
isVerified: TypedField<"bool", boolean, {}>;
|
|
2270
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
2271
|
+
}, {
|
|
2272
|
+
user: RelationEntry<"user", {
|
|
2273
|
+
readonly type: "belongsTo";
|
|
2274
|
+
readonly fk: "userId";
|
|
2275
|
+
}>;
|
|
2276
|
+
}, ["id"]>;
|
|
2277
|
+
userInvitation: ModelDesc<"userInvitation", {
|
|
2278
|
+
id: TypedField<"id", UserInvitationId, {}>;
|
|
2279
|
+
email: TypedField<"string", string, {}>;
|
|
2280
|
+
role: TypedField<"string", string, {}>;
|
|
2281
|
+
accessToProjectIds: TypedField<"array", any[], {}>;
|
|
2282
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2283
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2284
|
+
inviterId: TypedField<"belongsTo", UserId, {}>;
|
|
2285
|
+
}, {
|
|
2286
|
+
account: RelationEntry<"account", {
|
|
2287
|
+
readonly type: "belongsTo";
|
|
2288
|
+
readonly fk: "accountId";
|
|
2289
|
+
}>;
|
|
2290
|
+
inviter: RelationEntry<"user", {
|
|
2291
|
+
readonly type: "belongsTo";
|
|
2292
|
+
readonly fk: "inviterId";
|
|
2293
|
+
}>;
|
|
2294
|
+
}, ["id"]>;
|
|
2295
|
+
userInviteCode: ModelDesc<"userInviteCode", {
|
|
2296
|
+
id: TypedField<"id", UserInviteCodeId, {}>;
|
|
2297
|
+
token: TypedField<"string", string, {}>;
|
|
2298
|
+
role: TypedField<"string", string, {}>;
|
|
2299
|
+
useCount: TypedField<"string", string, {}>;
|
|
2300
|
+
isActive: TypedField<"string", string, {}>;
|
|
2301
|
+
accessToProjectIds: TypedField<"array", any[], {}>;
|
|
2302
|
+
validUntil: TypedField<"date", Date, {}>;
|
|
2303
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2304
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2305
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
2306
|
+
}, {
|
|
2307
|
+
account: RelationEntry<"account", {
|
|
2308
|
+
readonly type: "belongsTo";
|
|
2309
|
+
readonly fk: "accountId";
|
|
2310
|
+
}>;
|
|
2311
|
+
creator: RelationEntry<"user", {
|
|
2312
|
+
readonly type: "belongsTo";
|
|
2313
|
+
readonly fk: "creatorId";
|
|
2314
|
+
}>;
|
|
2315
|
+
}, ["id"]>;
|
|
2316
|
+
userOnboarding: ModelDesc<"userOnboarding", {
|
|
2317
|
+
steps: TypedField<"obj", any, {}>;
|
|
2318
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
2319
|
+
}, {
|
|
2320
|
+
user: RelationEntry<"user", {
|
|
2321
|
+
readonly type: "belongsTo";
|
|
2322
|
+
readonly fk: "userId";
|
|
2323
|
+
}>;
|
|
2324
|
+
}, ["userId"]>;
|
|
2325
|
+
userProjectAccess: ModelDesc<"userProjectAccess", {
|
|
2326
|
+
role: TypedField<"string", string, {}>;
|
|
2327
|
+
projectRole: TypedField<"string", string, {}>;
|
|
2328
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
2329
|
+
projectId: TypedField<"belongsTo", ProjectId, {}>;
|
|
2330
|
+
}, {
|
|
2331
|
+
user: RelationEntry<"user", {
|
|
2332
|
+
readonly type: "belongsTo";
|
|
2333
|
+
readonly fk: "userId";
|
|
2334
|
+
}>;
|
|
2335
|
+
project: RelationEntry<"project", {
|
|
2336
|
+
readonly type: "belongsTo";
|
|
2337
|
+
readonly fk: "projectId";
|
|
2338
|
+
}>;
|
|
2339
|
+
}, ["projectId", "userId"]>;
|
|
2340
|
+
userTag: ModelDesc<"userTag", {
|
|
2341
|
+
id: TypedField<"id", UserTagId, {}>;
|
|
2342
|
+
tag: TypedField<"string", string, {}>;
|
|
2343
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2344
|
+
userId: TypedField<"belongsTo", UserId, {}>;
|
|
2345
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2346
|
+
}, {
|
|
2347
|
+
user: RelationEntry<"user", {
|
|
2348
|
+
readonly type: "belongsTo";
|
|
2349
|
+
readonly fk: "userId";
|
|
2350
|
+
}>;
|
|
2351
|
+
account: RelationEntry<"account", {
|
|
2352
|
+
readonly type: "belongsTo";
|
|
2353
|
+
readonly fk: "accountId";
|
|
2354
|
+
}>;
|
|
2355
|
+
}, ["id"]>;
|
|
2356
|
+
user: ModelDesc<"user", {
|
|
2357
|
+
id: TypedField<"id", UserId, {}>;
|
|
2358
|
+
name: TypedField<"string", string, {}>;
|
|
2359
|
+
fullName: TypedField<"string", string, {
|
|
2360
|
+
readonly optional: true;
|
|
2361
|
+
}>;
|
|
2362
|
+
timezone: TypedField<"string", string, {
|
|
2363
|
+
readonly optional: true;
|
|
2364
|
+
}>;
|
|
2365
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2366
|
+
hasPassword: TypedField<"bool", boolean, {}>;
|
|
2367
|
+
showCardIdInTimer: TypedField<"bool", boolean, {}>;
|
|
2368
|
+
disableMovingImages: TypedField<"bool", boolean, {}>;
|
|
2369
|
+
autoMeFilterCardLimit: TypedField<"int", number, {
|
|
2370
|
+
readonly optional: true;
|
|
2371
|
+
}>;
|
|
2372
|
+
isIntegration: TypedField<"bool", boolean, {}>;
|
|
2373
|
+
statusColorPalette: TypedField<"string", string, {}>;
|
|
2374
|
+
wantsNewsletter: TypedField<"bool", boolean, {
|
|
2375
|
+
readonly optional: true;
|
|
2376
|
+
}>;
|
|
2377
|
+
wantsDailyDigestMail: TypedField<"bool", boolean, {
|
|
2378
|
+
readonly optional: true;
|
|
2379
|
+
}>;
|
|
2380
|
+
wantsConvoDigestMail: TypedField<"bool", boolean, {
|
|
2381
|
+
readonly optional: true;
|
|
2382
|
+
}>;
|
|
2383
|
+
disableAnimations: TypedField<"bool", boolean, {}>;
|
|
2384
|
+
enableClickToEditCards: TypedField<"bool", boolean, {}>;
|
|
2385
|
+
cdxRole: TypedField<"string", string, {}>;
|
|
2386
|
+
profileImageId: TypedField<"belongsTo", FileId, {
|
|
2387
|
+
readonly optional: true;
|
|
2388
|
+
}>;
|
|
2389
|
+
lastSeenReleaseId: TypedField<"belongsTo", ReleaseId, {}>;
|
|
2390
|
+
}, {
|
|
2391
|
+
profileImage: RelationEntry<"file", {
|
|
2392
|
+
readonly type: "belongsTo";
|
|
2393
|
+
readonly fk: "profileImageId";
|
|
2394
|
+
}>;
|
|
2395
|
+
lastSeenRelease: RelationEntry<"release", {
|
|
2396
|
+
readonly type: "belongsTo";
|
|
2397
|
+
readonly fk: "lastSeenReleaseId";
|
|
2398
|
+
}>;
|
|
2399
|
+
projectOrders: RelationEntry<"projectOrder", {
|
|
2400
|
+
readonly type: "hasMany";
|
|
2401
|
+
}>;
|
|
2402
|
+
projectSelections: RelationEntry<"projectSelection", {
|
|
2403
|
+
readonly type: "hasMany";
|
|
2404
|
+
}>;
|
|
2405
|
+
queueSelections: RelationEntry<"queueSelection", {
|
|
2406
|
+
readonly type: "hasMany";
|
|
2407
|
+
}>;
|
|
2408
|
+
accountRoles: RelationEntry<"accountRole", {
|
|
2409
|
+
readonly type: "hasMany";
|
|
2410
|
+
}>;
|
|
2411
|
+
cardDiffNotifications: RelationEntry<"cardDiffNotification", {
|
|
2412
|
+
readonly type: "hasMany";
|
|
2413
|
+
}>;
|
|
2414
|
+
resolvableNotifications: RelationEntry<"resolvableNotification", {
|
|
2415
|
+
readonly type: "hasMany";
|
|
2416
|
+
}>;
|
|
2417
|
+
publicProjectMembership: RelationEntry<"publicProjectMembership", {
|
|
2418
|
+
readonly type: "hasMany";
|
|
2419
|
+
}>;
|
|
2420
|
+
lastSeenCardUpvotes: RelationEntry<"lastSeenCardUpvote", {
|
|
2421
|
+
readonly type: "hasMany";
|
|
2422
|
+
}>;
|
|
2423
|
+
dueCards: RelationEntry<"dueCard", {
|
|
2424
|
+
readonly type: "hasMany";
|
|
2425
|
+
}>;
|
|
2426
|
+
assigneeDeckAssignments: RelationEntry<"assigneeDeckAssignment", {
|
|
2427
|
+
readonly type: "hasMany";
|
|
2428
|
+
}>;
|
|
2429
|
+
autoFinishedTimeTrackingSegments: RelationEntry<"autoFinishedTimeTrackingSegment", {
|
|
2430
|
+
readonly type: "hasMany";
|
|
2431
|
+
}>;
|
|
2432
|
+
savedSearches: RelationEntry<"savedSearch", {
|
|
2433
|
+
readonly type: "hasMany";
|
|
2434
|
+
}>;
|
|
2435
|
+
activities: RelationEntry<"activity", {
|
|
2436
|
+
readonly type: "hasMany";
|
|
2437
|
+
}>;
|
|
2438
|
+
emails: RelationEntry<"userEmail", {
|
|
2439
|
+
readonly type: "hasMany";
|
|
2440
|
+
}>;
|
|
2441
|
+
tags: RelationEntry<"userTag", {
|
|
2442
|
+
readonly type: "hasMany";
|
|
2443
|
+
}>;
|
|
2444
|
+
unverifiedEmails: RelationEntry<"userEmail", {
|
|
2445
|
+
readonly type: "hasMany";
|
|
2446
|
+
}>;
|
|
2447
|
+
primaryEmail: RelationEntry<"userEmail", {
|
|
2448
|
+
readonly type: "hasOne";
|
|
2449
|
+
}>;
|
|
2450
|
+
pinnedMilestoneNext: RelationEntry<"pinnedMilestone", {
|
|
2451
|
+
readonly type: "hasOne";
|
|
2452
|
+
}>;
|
|
2453
|
+
projectAccess: RelationEntry<"projectUser", {
|
|
2454
|
+
readonly type: "hasMany";
|
|
2455
|
+
}>;
|
|
2456
|
+
explicitProjectAccess: RelationEntry<"projectUser", {
|
|
2457
|
+
readonly type: "hasMany";
|
|
2458
|
+
}>;
|
|
2459
|
+
withProjectAccess: RelationEntry<"userProjectAccess", {
|
|
2460
|
+
readonly type: "hasMany";
|
|
2461
|
+
}>;
|
|
2462
|
+
projectSettings: RelationEntry<"projectUserSetting", {
|
|
2463
|
+
readonly type: "hasMany";
|
|
2464
|
+
}>;
|
|
2465
|
+
accountSettings: RelationEntry<"accountUserSetting", {
|
|
2466
|
+
readonly type: "hasMany";
|
|
2467
|
+
}>;
|
|
2468
|
+
dismissedHints: RelationEntry<"userDismissedHint", {
|
|
2469
|
+
readonly type: "hasMany";
|
|
2470
|
+
}>;
|
|
2471
|
+
slackIntegrations: RelationEntry<"integration", {
|
|
2472
|
+
readonly type: "hasMany";
|
|
2473
|
+
}>;
|
|
2474
|
+
activeTimeTracker: RelationEntry<"activeTimeTracker", {
|
|
2475
|
+
readonly type: "hasOne";
|
|
2476
|
+
}>;
|
|
2477
|
+
participations: RelationEntry<"resolvableParticipant", {
|
|
2478
|
+
readonly type: "hasMany";
|
|
2479
|
+
}>;
|
|
2480
|
+
upvotes: RelationEntry<"cardUpvote", {
|
|
2481
|
+
readonly type: "hasMany";
|
|
2482
|
+
}>;
|
|
2483
|
+
userOnboarding: RelationEntry<"userOnboarding", {
|
|
2484
|
+
readonly type: "hasOne";
|
|
2485
|
+
}>;
|
|
2486
|
+
}, ["id"]>;
|
|
2487
|
+
userReportEmail: ModelDesc<"userReportEmail", {
|
|
2488
|
+
id: TypedField<"id", UserReportEmailId, {}>;
|
|
2489
|
+
email: TypedField<"string", string, {}>;
|
|
2490
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2491
|
+
enabled: TypedField<"string", string, {}>;
|
|
2492
|
+
userReportSettingId: TypedField<"belongsTo", UserReportSettingId, {}>;
|
|
2493
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2494
|
+
}, {
|
|
2495
|
+
userReportSetting: RelationEntry<"userReportSetting", {
|
|
2496
|
+
readonly type: "belongsTo";
|
|
2497
|
+
readonly fk: "userReportSettingId";
|
|
2498
|
+
}>;
|
|
2499
|
+
account: RelationEntry<"account", {
|
|
2500
|
+
readonly type: "belongsTo";
|
|
2501
|
+
readonly fk: "accountId";
|
|
2502
|
+
}>;
|
|
2503
|
+
}, ["id"]>;
|
|
2504
|
+
userReportSetting: ModelDesc<"userReportSetting", {
|
|
2505
|
+
id: TypedField<"id", UserReportSettingId, {}>;
|
|
2506
|
+
name: TypedField<"string", string, {}>;
|
|
2507
|
+
fileSizeBytesLimit: TypedField<"bigint", bigint, {}>;
|
|
2508
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2509
|
+
deckMapping: TypedField<"obj", any, {}>;
|
|
2510
|
+
prioMapping: TypedField<"obj", any, {}>;
|
|
2511
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2512
|
+
}, {
|
|
2513
|
+
account: RelationEntry<"account", {
|
|
2514
|
+
readonly type: "belongsTo";
|
|
2515
|
+
readonly fk: "accountId";
|
|
2516
|
+
}>;
|
|
2517
|
+
reportTokens: RelationEntry<"userReportToken", {
|
|
2518
|
+
readonly type: "hasMany";
|
|
2519
|
+
}>;
|
|
2520
|
+
}, ["id"]>;
|
|
2521
|
+
userReportToken: ModelDesc<"userReportToken", {
|
|
2522
|
+
token: TypedField<"id", UserReportTokenId, {}>;
|
|
2523
|
+
label: TypedField<"string", string, {}>;
|
|
2524
|
+
reportCount: TypedField<"int", number, {}>;
|
|
2525
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2526
|
+
enabled: TypedField<"string", string, {}>;
|
|
2527
|
+
userReportSettingId: TypedField<"belongsTo", UserReportSettingId, {}>;
|
|
2528
|
+
}, {
|
|
2529
|
+
userReportSetting: RelationEntry<"userReportSetting", {
|
|
2530
|
+
readonly type: "belongsTo";
|
|
2531
|
+
readonly fk: "userReportSettingId";
|
|
2532
|
+
}>;
|
|
2533
|
+
}, ["token"]>;
|
|
2534
|
+
visionBoardQuery: ModelDesc<"visionBoardQuery", {
|
|
2535
|
+
id: TypedField<"id", VisionBoardQueryId, {}>;
|
|
2536
|
+
query: TypedField<"obj", any, {}>;
|
|
2537
|
+
lastUsedAt: TypedField<"date", Date, {}>;
|
|
2538
|
+
isStale: TypedField<"bool", boolean, {}>;
|
|
2539
|
+
type: TypedField<"string", string, {}>;
|
|
2540
|
+
payload: TypedField<"obj", any, {}>;
|
|
2541
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2542
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
2543
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2544
|
+
}, {
|
|
2545
|
+
card: RelationEntry<"card", {
|
|
2546
|
+
readonly type: "belongsTo";
|
|
2547
|
+
readonly fk: "cardId";
|
|
2548
|
+
}>;
|
|
2549
|
+
account: RelationEntry<"account", {
|
|
2550
|
+
readonly type: "belongsTo";
|
|
2551
|
+
readonly fk: "accountId";
|
|
2552
|
+
}>;
|
|
2553
|
+
}, ["id"]>;
|
|
2554
|
+
visionBoard: ModelDesc<"visionBoard", {
|
|
2555
|
+
id: TypedField<"id", VisionBoardId, {}>;
|
|
2556
|
+
accountSeq: TypedField<"int", number, {}>;
|
|
2557
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2558
|
+
isDeleted: TypedField<"bool", boolean, {}>;
|
|
2559
|
+
cardId: TypedField<"belongsTo", CardId, {}>;
|
|
2560
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2561
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
2562
|
+
}, {
|
|
2563
|
+
card: RelationEntry<"card", {
|
|
2564
|
+
readonly type: "belongsTo";
|
|
2565
|
+
readonly fk: "cardId";
|
|
2566
|
+
}>;
|
|
2567
|
+
account: RelationEntry<"account", {
|
|
2568
|
+
readonly type: "belongsTo";
|
|
2569
|
+
readonly fk: "accountId";
|
|
2570
|
+
}>;
|
|
2571
|
+
creator: RelationEntry<"user", {
|
|
2572
|
+
readonly type: "belongsTo";
|
|
2573
|
+
readonly fk: "creatorId";
|
|
2574
|
+
}>;
|
|
2575
|
+
}, ["id"]>;
|
|
2576
|
+
wizard: ModelDesc<"wizard", {
|
|
2577
|
+
id: TypedField<"id", WizardId, {}>;
|
|
2578
|
+
name: TypedField<"string", string, {}>;
|
|
2579
|
+
currentStep: TypedField<"string", string, {}>;
|
|
2580
|
+
data: TypedField<"obj", any, {}>;
|
|
2581
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2582
|
+
finishedAt: TypedField<"date", Date, {}>;
|
|
2583
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2584
|
+
}, {
|
|
2585
|
+
account: RelationEntry<"account", {
|
|
2586
|
+
readonly type: "belongsTo";
|
|
2587
|
+
readonly fk: "accountId";
|
|
2588
|
+
}>;
|
|
2589
|
+
}, ["id"]>;
|
|
2590
|
+
workflowItemHistory: ModelDesc<"workflowItemHistory", {
|
|
2591
|
+
diff: TypedField<"obj", any, {}>;
|
|
2592
|
+
versionCreatedAt: TypedField<"date", Date, {}>;
|
|
2593
|
+
version: TypedField<"int", number, {}>;
|
|
2594
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2595
|
+
changerId: TypedField<"belongsTo", UserId, {}>;
|
|
2596
|
+
}, {
|
|
2597
|
+
account: RelationEntry<"account", {
|
|
2598
|
+
readonly type: "belongsTo";
|
|
2599
|
+
readonly fk: "accountId";
|
|
2600
|
+
}>;
|
|
2601
|
+
changer: RelationEntry<"user", {
|
|
2602
|
+
readonly type: "belongsTo";
|
|
2603
|
+
readonly fk: "changerId";
|
|
2604
|
+
}>;
|
|
2605
|
+
}, ["itemId", "version"]>;
|
|
2606
|
+
workflowItem: ModelDesc<"workflowItem", {
|
|
2607
|
+
itemId: TypedField<"id", WorkflowItemId, {}>;
|
|
2608
|
+
version: TypedField<"string", string, {}>;
|
|
2609
|
+
sortOrder: TypedField<"string", string, {}>;
|
|
2610
|
+
sortValue: TypedField<"string", string, {}>;
|
|
2611
|
+
priority: TypedField<"string", string, {
|
|
2612
|
+
readonly optional: true;
|
|
2613
|
+
}>;
|
|
2614
|
+
content: TypedField<"string", string, {}>;
|
|
2615
|
+
createdAt: TypedField<"date", Date, {}>;
|
|
2616
|
+
lastUpdatedAt: TypedField<"date", Date, {}>;
|
|
2617
|
+
tags: TypedField<"array", any[], {}>;
|
|
2618
|
+
masterTags: TypedField<"array", any[], {}>;
|
|
2619
|
+
mentionedUsers: TypedField<"array", any[], {}>;
|
|
2620
|
+
title: TypedField<"string", string, {}>;
|
|
2621
|
+
effort: TypedField<"int", number, {
|
|
2622
|
+
readonly optional: true;
|
|
2623
|
+
}>;
|
|
2624
|
+
label: TypedField<"string", string, {
|
|
2625
|
+
readonly optional: true;
|
|
2626
|
+
}>;
|
|
2627
|
+
checkboxStats: TypedField<"obj", any, {}>;
|
|
2628
|
+
accountSeq: TypedField<"int", number, {}>;
|
|
2629
|
+
checkboxInfo: TypedField<"array", any[], {}>;
|
|
2630
|
+
visibility: TypedField<"string", string, {}>;
|
|
2631
|
+
accountId: TypedField<"belongsTo", AccountId, {}>;
|
|
2632
|
+
deckId: TypedField<"belongsTo", DeckId, {}>;
|
|
2633
|
+
targetDeckId: TypedField<"belongsTo", DeckId, {
|
|
2634
|
+
readonly optional: true;
|
|
2635
|
+
}>;
|
|
2636
|
+
assigneeId: TypedField<"belongsTo", UserId, {
|
|
2637
|
+
readonly optional: true;
|
|
2638
|
+
}>;
|
|
2639
|
+
creatorId: TypedField<"belongsTo", UserId, {}>;
|
|
2640
|
+
}, {
|
|
2641
|
+
account: RelationEntry<"account", {
|
|
2642
|
+
readonly type: "belongsTo";
|
|
2643
|
+
readonly fk: "accountId";
|
|
2644
|
+
}>;
|
|
2645
|
+
deck: RelationEntry<"deck", {
|
|
2646
|
+
readonly type: "belongsTo";
|
|
2647
|
+
readonly fk: "deckId";
|
|
2648
|
+
}>;
|
|
2649
|
+
targetDeck: RelationEntry<"deck", {
|
|
2650
|
+
readonly type: "belongsTo";
|
|
2651
|
+
readonly fk: "targetDeckId";
|
|
2652
|
+
}>;
|
|
2653
|
+
assignee: RelationEntry<"user", {
|
|
2654
|
+
readonly type: "belongsTo";
|
|
2655
|
+
readonly fk: "assigneeId";
|
|
2656
|
+
}>;
|
|
2657
|
+
creator: RelationEntry<"user", {
|
|
2658
|
+
readonly type: "belongsTo";
|
|
2659
|
+
readonly fk: "creatorId";
|
|
2660
|
+
}>;
|
|
2661
|
+
diffs: RelationEntry<"workflowItemHistory", {
|
|
2662
|
+
readonly type: "hasMany";
|
|
2663
|
+
}>;
|
|
2664
|
+
inDeps: RelationEntry<"workflowItem", {
|
|
2665
|
+
readonly type: "hasMany";
|
|
2666
|
+
}>;
|
|
2667
|
+
outDeps: RelationEntry<"workflowItem", {
|
|
2668
|
+
readonly type: "hasMany";
|
|
2669
|
+
}>;
|
|
2670
|
+
}, ["itemId"]>;
|
|
2671
|
+
};
|
|
2672
|
+
//#endregion
|
|
2673
|
+
//#region src/loaders/loader-utils.d.ts
|
|
2674
|
+
type ModelMap = typeof modelMap;
|
|
2675
|
+
type DataLoader = {
|
|
2676
|
+
fetchModel: <K extends keyof ModelMap, Id extends string, const Q extends ModelQuery<ModelMap[K], ModelMap>>(model: K, id: Id[], q: Q) => Promise<Record<Id, InferModelQuery<ModelMap[K], Q, ModelMap>>>;
|
|
2677
|
+
};
|
|
2678
|
+
type FetchFunction = (url: string, init?: RequestInit) => Promise<Response>;
|
|
2679
|
+
type FetchOptions = {
|
|
2680
|
+
fetch?: FetchFunction;
|
|
2681
|
+
accessToken?: string;
|
|
2682
|
+
subdomain?: string;
|
|
2683
|
+
baseUrl?: string;
|
|
2684
|
+
headers?: Record<string, string>;
|
|
2685
|
+
timeout?: number;
|
|
2686
|
+
};
|
|
2687
|
+
//#endregion
|
|
2688
|
+
export { DataLoader, FetchOptions, modelMap as modelMap$1 };
|