@codecks/fetch 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/README.md +79 -32
  2. package/dist/_exploration/api-requester.d.ts +3 -4
  3. package/dist/_exploration/api-requester.js +2 -2
  4. package/dist/_exploration/create-hooks.d.ts +4313 -13097
  5. package/dist/_exploration/create-hooks.js +1 -1
  6. package/dist/_exploration/loader.d.ts +2 -2
  7. package/dist/_exploration/loader.js +1 -1
  8. package/dist/_exploration/store.d.ts +5 -4
  9. package/dist/_exploration/store.js +1 -1
  10. package/dist/{collection-utils-T3bx0BS1.js → collection-utils-Ia_ahcpI.js} +4 -2
  11. package/dist/index-g5c30upI.d.ts +39 -0
  12. package/dist/index.d.ts +4 -19
  13. package/dist/index.js +26 -15
  14. package/dist/{loader-types-fd5tV0FD.d.ts → loader-types-D2Pf8qzH.d.ts} +1 -1
  15. package/dist/loader-utils-BZWanWDZ.d.ts +2218 -0
  16. package/dist/query-helpers-DndWBcMF.js +1203 -0
  17. package/dist/{query-type-BqQ9oX_U.d.ts → query-type-DPNcQFpZ.d.ts} +27 -13
  18. package/dist/store-ztk8y6Pm.d.ts +1203 -0
  19. package/package.json +2 -1
  20. package/schema/actions.md +789 -0
  21. package/schema/models/account.md +57 -90
  22. package/schema/models/attachment.md +15 -11
  23. package/schema/models/card.md +91 -65
  24. package/schema/models/cardHistory.md +15 -9
  25. package/schema/models/deck.md +41 -36
  26. package/schema/models/file.md +13 -15
  27. package/schema/models/handCard.md +8 -5
  28. package/schema/models/milestone.md +27 -22
  29. package/schema/models/milestoneProgress.md +9 -3
  30. package/schema/models/milestoneProject.md +6 -4
  31. package/schema/models/project.md +15 -39
  32. package/schema/models/projectTag.md +12 -7
  33. package/schema/models/queueEntry.md +12 -8
  34. package/schema/models/release.md +8 -6
  35. package/schema/models/resolvable.md +19 -15
  36. package/schema/models/resolvableEntry.md +16 -13
  37. package/schema/models/resolvableEntryReaction.md +16 -12
  38. package/schema/models/sprint.md +35 -25
  39. package/schema/models/sprintConfig.md +24 -20
  40. package/schema/models/sprintConfigProgress.md +9 -3
  41. package/schema/models/sprintProgress.md +9 -3
  42. package/schema/models/sprintProject.md +7 -5
  43. package/schema/models/user.md +15 -56
  44. package/schema/models/workflowItem.md +47 -31
  45. package/schema/overview.md +40 -93
  46. package/schema/query-syntax.md +1 -1
  47. package/schema/types.md +103 -0
  48. package/dist/_root-BW9uzB79.d.ts +0 -34
  49. package/dist/index-k-KPWV9R.d.ts +0 -2680
  50. package/dist/loader-utils-hvdC-xsQ.d.ts +0 -42
  51. package/dist/query-helpers-iX1fiqLv.js +0 -3062
  52. package/dist/store-BvEJzUVp.d.ts +0 -2667
  53. package/schema/models/accountOnboarding.md +0 -15
  54. package/schema/models/accountOnboardingStep.md +0 -14
  55. package/schema/models/accountRole.md +0 -19
  56. package/schema/models/accountUserAchievement.md +0 -17
  57. package/schema/models/accountUserSetting.md +0 -20
  58. package/schema/models/activeTimeTracker.md +0 -19
  59. package/schema/models/activity.md +0 -30
  60. package/schema/models/affiliateCode.md +0 -30
  61. package/schema/models/affiliateCodeStat.md +0 -19
  62. package/schema/models/app.md +0 -10
  63. package/schema/models/appInstallation.md +0 -19
  64. package/schema/models/assigneeAssignment.md +0 -18
  65. package/schema/models/assigneeDeckAssignment.md +0 -20
  66. package/schema/models/autoFinishedTimeTrackingSegment.md +0 -20
  67. package/schema/models/cardDiffNotification.md +0 -22
  68. package/schema/models/cardOrder.md +0 -17
  69. package/schema/models/cardOrderInDeck.md +0 -18
  70. package/schema/models/cardPreset.md +0 -19
  71. package/schema/models/cardSubscription.md +0 -19
  72. package/schema/models/cardUpvote.md +0 -21
  73. package/schema/models/cardsEffortHistory.md +0 -9
  74. package/schema/models/cardsFinishedHistory.md +0 -16
  75. package/schema/models/cardsStatusHistory.md +0 -9
  76. package/schema/models/cardsTimeToFinished.md +0 -18
  77. package/schema/models/dailyDiscordGuildVoteMembership.md +0 -15
  78. package/schema/models/dailyPublicProjectMembership.md +0 -15
  79. package/schema/models/deckAssignment.md +0 -18
  80. package/schema/models/deckGuardian.md +0 -17
  81. package/schema/models/deckSubscription.md +0 -18
  82. package/schema/models/discordGuild.md +0 -30
  83. package/schema/models/discordMember.md +0 -21
  84. package/schema/models/discordProjectNotification.md +0 -19
  85. package/schema/models/discordSlashCommand.md +0 -28
  86. package/schema/models/dueCard.md +0 -18
  87. package/schema/models/integration.md +0 -23
  88. package/schema/models/invoice.md +0 -21
  89. package/schema/models/lastSeenCardUpvote.md +0 -17
  90. package/schema/models/pinnedMilestone.md +0 -22
  91. package/schema/models/projectOrder.md +0 -18
  92. package/schema/models/projectSelection.md +0 -18
  93. package/schema/models/projectUser.md +0 -18
  94. package/schema/models/projectUserSetting.md +0 -15
  95. package/schema/models/publicProjectInfo.md +0 -20
  96. package/schema/models/publicProjectMembership.md +0 -17
  97. package/schema/models/publicProjectVisit.md +0 -16
  98. package/schema/models/queueSelection.md +0 -19
  99. package/schema/models/resolvableEntryHistory.md +0 -20
  100. package/schema/models/resolvableNotification.md +0 -30
  101. package/schema/models/resolvableParticipant.md +0 -25
  102. package/schema/models/resolvableParticipantHistory.md +0 -23
  103. package/schema/models/savedSearch.md +0 -18
  104. package/schema/models/stripeAccountSync.md +0 -29
  105. package/schema/models/timeTrackingSegment.md +0 -24
  106. package/schema/models/timeTrackingSum.md +0 -18
  107. package/schema/models/userDismissedHint.md +0 -16
  108. package/schema/models/userEmail.md +0 -18
  109. package/schema/models/userInvitation.md +0 -20
  110. package/schema/models/userInviteCode.md +0 -23
  111. package/schema/models/userOnboarding.md +0 -14
  112. package/schema/models/userProjectAccess.md +0 -17
  113. package/schema/models/userReportEmail.md +0 -19
  114. package/schema/models/userReportSetting.md +0 -23
  115. package/schema/models/userReportToken.md +0 -18
  116. package/schema/models/userTag.md +0 -18
  117. package/schema/models/visionBoard.md +0 -21
  118. package/schema/models/visionBoardQuery.md +0 -22
  119. package/schema/models/wizard.md +0 -19
  120. package/schema/models/workflowItemHistory.md +0 -18
@@ -1,2680 +0,0 @@
1
- import { ModelDesc, Nominal, RelationEntry, TypedField } from "./query-type-BqQ9oX_U.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
- readonly fkAsArray: true;
951
- }>;
952
- diffs: RelationEntry<"cardHistory", {
953
- readonly type: "hasMany";
954
- }>;
955
- totalTimeTrackingSums: RelationEntry<"timeTrackingSum", {
956
- readonly type: "hasOne";
957
- }>;
958
- userTimeTrackingSums: RelationEntry<"timeTrackingSum", {
959
- readonly type: "hasMany";
960
- }>;
961
- childCards: RelationEntry<"card", {
962
- readonly type: "hasMany";
963
- readonly fkAsArray: true;
964
- }>;
965
- inDeps: RelationEntry<"card", {
966
- readonly type: "hasMany";
967
- readonly fkAsArray: true;
968
- }>;
969
- outDeps: RelationEntry<"card", {
970
- readonly type: "hasMany";
971
- readonly fkAsArray: true;
972
- }>;
973
- cardReferences: RelationEntry<"card", {
974
- readonly type: "hasMany";
975
- readonly fkAsArray: true;
976
- }>;
977
- upvotes: RelationEntry<"cardUpvote", {
978
- readonly type: "hasMany";
979
- }>;
980
- }, ["cardId"]>;
981
- cardsEffortHistory: ModelDesc<"cardsEffortHistory", {
982
- effortSum: TypedField<"bigint", bigint, {}>;
983
- cardCount: TypedField<"bigint", bigint, {}>;
984
- date: TypedField<"day", {
985
- day: number;
986
- month: number;
987
- year: number;
988
- }, {}>;
989
- }, {}, ["date", "effortSum", "cardCount"]>;
990
- cardsFinishedHistory: ModelDesc<"cardsFinishedHistory", {
991
- effortSum: TypedField<"bigint", bigint, {}>;
992
- cardCount: TypedField<"bigint", bigint, {}>;
993
- date: TypedField<"day", {
994
- day: number;
995
- month: number;
996
- year: number;
997
- }, {}>;
998
- assigneeId: TypedField<"belongsTo", UserId, {}>;
999
- }, {
1000
- assignee: RelationEntry<"user", {
1001
- readonly type: "belongsTo";
1002
- readonly fk: "assigneeId";
1003
- }>;
1004
- }, ["date", "effortSum", "cardCount", "assigneeId"]>;
1005
- cardsStatusHistory: ModelDesc<"cardsStatusHistory", {
1006
- status: TypedField<"string", string, {}>;
1007
- count: TypedField<"int", number, {}>;
1008
- date: TypedField<"day", {
1009
- day: number;
1010
- month: number;
1011
- year: number;
1012
- }, {}>;
1013
- }, {}, ["date", "status", "count"]>;
1014
- cardsTimeToFinished: ModelDesc<"cardsTimeToFinished", {
1015
- effort: TypedField<"int", number, {}>;
1016
- startedAt: TypedField<"date", Date, {}>;
1017
- doneAt: TypedField<"date", Date, {}>;
1018
- cardId: TypedField<"belongsTo", CardId, {}>;
1019
- assigneeId: TypedField<"belongsTo", UserId, {}>;
1020
- }, {
1021
- card: RelationEntry<"card", {
1022
- readonly type: "belongsTo";
1023
- readonly fk: "cardId";
1024
- }>;
1025
- assignee: RelationEntry<"user", {
1026
- readonly type: "belongsTo";
1027
- readonly fk: "assigneeId";
1028
- }>;
1029
- }, ["cardId", "startedAt", "doneAt", "effort", "assigneeId"]>;
1030
- dailyDiscordGuildVoteMembership: ModelDesc<"dailyDiscordGuildVoteMembership", {
1031
- t: TypedField<"date", Date, {}>;
1032
- membershipCount: TypedField<"int", number, {}>;
1033
- discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
1034
- }, {
1035
- discordGuild: RelationEntry<"discordGuild", {
1036
- readonly type: "belongsTo";
1037
- readonly fk: "discordGuildId";
1038
- }>;
1039
- }, ["t", "guildId"]>;
1040
- dailyPublicProjectMembership: ModelDesc<"dailyPublicProjectMembership", {
1041
- t: TypedField<"date", Date, {}>;
1042
- membershipCount: TypedField<"int", number, {}>;
1043
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1044
- }, {
1045
- project: RelationEntry<"project", {
1046
- readonly type: "belongsTo";
1047
- readonly fk: "projectId";
1048
- }>;
1049
- }, ["t", "projectId"]>;
1050
- publicProjectVisit: ModelDesc<"publicProjectVisit", {
1051
- t: TypedField<"date", Date, {}>;
1052
- topReferrers: TypedField<"obj", any, {}>;
1053
- visitCounts: TypedField<"int", number, {}>;
1054
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1055
- }, {
1056
- project: RelationEntry<"project", {
1057
- readonly type: "belongsTo";
1058
- readonly fk: "projectId";
1059
- }>;
1060
- }, ["t", "projectId"]>;
1061
- deckAssignment: ModelDesc<"deckAssignment", {
1062
- lastAssignedAt: TypedField<"date", Date, {}>;
1063
- deckId: TypedField<"belongsTo", DeckId, {}>;
1064
- userId: TypedField<"belongsTo", UserId, {}>;
1065
- accountId: TypedField<"belongsTo", AccountId, {}>;
1066
- }, {
1067
- deck: RelationEntry<"deck", {
1068
- readonly type: "belongsTo";
1069
- readonly fk: "deckId";
1070
- }>;
1071
- user: RelationEntry<"user", {
1072
- readonly type: "belongsTo";
1073
- readonly fk: "userId";
1074
- }>;
1075
- account: RelationEntry<"account", {
1076
- readonly type: "belongsTo";
1077
- readonly fk: "accountId";
1078
- }>;
1079
- }, ["userId", "deckId"]>;
1080
- deckGuardian: ModelDesc<"deckGuardian", {
1081
- userId: TypedField<"belongsTo", UserId, {}>;
1082
- accountId: TypedField<"belongsTo", AccountId, {}>;
1083
- deckId: TypedField<"belongsTo", DeckId, {}>;
1084
- }, {
1085
- user: RelationEntry<"user", {
1086
- readonly type: "belongsTo";
1087
- readonly fk: "userId";
1088
- }>;
1089
- account: RelationEntry<"account", {
1090
- readonly type: "belongsTo";
1091
- readonly fk: "accountId";
1092
- }>;
1093
- deck: RelationEntry<"deck", {
1094
- readonly type: "belongsTo";
1095
- readonly fk: "deckId";
1096
- }>;
1097
- }, ["deckId", "userId"]>;
1098
- deckSubscription: ModelDesc<"deckSubscription", {
1099
- id: TypedField<"id", DeckSubscriptionId, {}>;
1100
- userId: TypedField<"belongsTo", UserId, {}>;
1101
- deckId: TypedField<"belongsTo", DeckId, {}>;
1102
- accountId: TypedField<"belongsTo", AccountId, {}>;
1103
- }, {
1104
- user: RelationEntry<"user", {
1105
- readonly type: "belongsTo";
1106
- readonly fk: "userId";
1107
- }>;
1108
- deck: RelationEntry<"deck", {
1109
- readonly type: "belongsTo";
1110
- readonly fk: "deckId";
1111
- }>;
1112
- account: RelationEntry<"account", {
1113
- readonly type: "belongsTo";
1114
- readonly fk: "accountId";
1115
- }>;
1116
- }, ["id"]>;
1117
- deck: ModelDesc<"deck", {
1118
- id: TypedField<"id", DeckId, {}>;
1119
- content: TypedField<"string", string, {}>;
1120
- description: TypedField<"string", string, {}>;
1121
- title: TypedField<"string", string, {}>;
1122
- sortValue: TypedField<"string", string, {}>;
1123
- preferredOrder: TypedField<"string", string, {
1124
- readonly optional: true;
1125
- }>;
1126
- coverColor: TypedField<"string", string, {
1127
- readonly optional: true;
1128
- }>;
1129
- isDeleted: TypedField<"string", string, {}>;
1130
- accountSeq: TypedField<"int", number, {}>;
1131
- spaceId: TypedField<"int", number, {
1132
- readonly optional: true;
1133
- }>;
1134
- defaultCard: TypedField<"obj", any, {}>;
1135
- isOnboardingDeck: TypedField<"bool", boolean, {}>;
1136
- handSyncEnabled: TypedField<"string", string, {}>;
1137
- stickyDefaultProjectTag: TypedField<"string", string, {}>;
1138
- manualOrderLabels: TypedField<"string", string, {}>;
1139
- workflowItemOrderLabels: TypedField<"string", string, {}>;
1140
- createdAt: TypedField<"date", Date, {}>;
1141
- stats: TypedField<"obj", any, {}>;
1142
- hasGuardians: TypedField<"string", string, {}>;
1143
- allowedCardTypes: TypedField<"string", string, {}>;
1144
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1145
- accountId: TypedField<"belongsTo", AccountId, {}>;
1146
- milestoneId: TypedField<"belongsTo", MilestoneId, {
1147
- readonly optional: true;
1148
- }>;
1149
- creatorId: TypedField<"belongsTo", UserId, {}>;
1150
- coverFileId: TypedField<"belongsTo", FileId, {
1151
- readonly optional: true;
1152
- }>;
1153
- descriptionCoverFileId: TypedField<"belongsTo", FileId, {
1154
- readonly optional: true;
1155
- }>;
1156
- defaultProjectTagId: TypedField<"belongsTo", ProjectTagId, {
1157
- readonly optional: true;
1158
- }>;
1159
- }, {
1160
- project: RelationEntry<"project", {
1161
- readonly type: "belongsTo";
1162
- readonly fk: "projectId";
1163
- }>;
1164
- account: RelationEntry<"account", {
1165
- readonly type: "belongsTo";
1166
- readonly fk: "accountId";
1167
- }>;
1168
- milestone: RelationEntry<"milestone", {
1169
- readonly type: "belongsTo";
1170
- readonly fk: "milestoneId";
1171
- }>;
1172
- creator: RelationEntry<"user", {
1173
- readonly type: "belongsTo";
1174
- readonly fk: "creatorId";
1175
- }>;
1176
- coverFile: RelationEntry<"file", {
1177
- readonly type: "belongsTo";
1178
- readonly fk: "coverFileId";
1179
- }>;
1180
- descriptionCoverFile: RelationEntry<"file", {
1181
- readonly type: "belongsTo";
1182
- readonly fk: "descriptionCoverFileId";
1183
- }>;
1184
- defaultProjectTag: RelationEntry<"projectTag", {
1185
- readonly type: "belongsTo";
1186
- readonly fk: "defaultProjectTagId";
1187
- }>;
1188
- cards: RelationEntry<"card", {
1189
- readonly type: "hasMany";
1190
- }>;
1191
- workflowItems: RelationEntry<"workflowItem", {
1192
- readonly type: "hasMany";
1193
- }>;
1194
- cardOrderInDecks: RelationEntry<"cardOrderInDeck", {
1195
- readonly type: "hasMany";
1196
- }>;
1197
- activities: RelationEntry<"activity", {
1198
- readonly type: "hasMany";
1199
- }>;
1200
- guardians: RelationEntry<"deckGuardian", {
1201
- readonly type: "hasMany";
1202
- }>;
1203
- }, ["id"]>;
1204
- discordGuild: ModelDesc<"discordGuild", {
1205
- id: TypedField<"id", DiscordGuildId, {}>;
1206
- discordGuildId: TypedField<"string", string, {}>;
1207
- guildName: TypedField<"string", string, {}>;
1208
- guildIconId: TypedField<"string", string, {}>;
1209
- scope: TypedField<"string", string, {}>;
1210
- karmaRoleThresholds: TypedField<"obj", any, {}>;
1211
- removeCommandEnabled: TypedField<"string", string, {}>;
1212
- removeCommandEmoji: TypedField<"string", string, {}>;
1213
- removeCommandRoleId: TypedField<"string", string, {}>;
1214
- createdAt: TypedField<"date", Date, {}>;
1215
- accountId: TypedField<"belongsTo", AccountId, {}>;
1216
- }, {
1217
- account: RelationEntry<"account", {
1218
- readonly type: "belongsTo";
1219
- readonly fk: "accountId";
1220
- }>;
1221
- slashCommands: RelationEntry<"discordSlashCommand", {
1222
- readonly type: "hasMany";
1223
- }>;
1224
- projectNotifications: RelationEntry<"discordProjectNotification", {
1225
- readonly type: "hasMany";
1226
- }>;
1227
- dailyDiscordGuildVoteMemberships: RelationEntry<"dailyDiscordGuildVoteMembership", {
1228
- readonly type: "hasMany";
1229
- }>;
1230
- members: RelationEntry<"discordMember", {
1231
- readonly type: "hasMany";
1232
- }>;
1233
- }, ["id"]>;
1234
- discordMember: ModelDesc<"discordMember", {
1235
- id: TypedField<"id", DiscordMemberId, {}>;
1236
- discordUserId: TypedField<"string", string, {}>;
1237
- name: TypedField<"string", string, {}>;
1238
- nick: TypedField<"string", string, {}>;
1239
- avatar: TypedField<"string", string, {}>;
1240
- discriminator: TypedField<"string", string, {}>;
1241
- createdAt: TypedField<"date", Date, {}>;
1242
- deckyScore: TypedField<"int", number, {}>;
1243
- discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
1244
- }, {
1245
- discordGuild: RelationEntry<"discordGuild", {
1246
- readonly type: "belongsTo";
1247
- readonly fk: "discordGuildId";
1248
- }>;
1249
- }, ["id"]>;
1250
- discordProjectNotification: ModelDesc<"discordProjectNotification", {
1251
- id: TypedField<"id", DiscordProjectNotificationId, {}>;
1252
- discordChannelId: TypedField<"string", string, {}>;
1253
- disabledTypes: TypedField<"obj", any, {}>;
1254
- createdAt: TypedField<"date", Date, {}>;
1255
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1256
- discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
1257
- }, {
1258
- project: RelationEntry<"project", {
1259
- readonly type: "belongsTo";
1260
- readonly fk: "projectId";
1261
- }>;
1262
- discordGuild: RelationEntry<"discordGuild", {
1263
- readonly type: "belongsTo";
1264
- readonly fk: "discordGuildId";
1265
- }>;
1266
- }, ["id"]>;
1267
- discordSlashCommand: ModelDesc<"discordSlashCommand", {
1268
- id: TypedField<"id", DiscordSlashCommandId, {}>;
1269
- channelId: TypedField<"string", string, {}>;
1270
- statusTargetChannelId: TypedField<"string", string, {}>;
1271
- reaction: TypedField<"string", string, {}>;
1272
- name: TypedField<"string", string, {}>;
1273
- description: TypedField<"string", string, {}>;
1274
- autoAddRoleToThread: TypedField<"string", string, {}>;
1275
- leaderboard: TypedField<"obj", any, {}>;
1276
- reactionThreshold: TypedField<"int", number, {}>;
1277
- karmaForCompletion: TypedField<"int", number, {}>;
1278
- maxFileSizeInBytes: TypedField<"int", number, {}>;
1279
- statusMessages: TypedField<"obj", any, {}>;
1280
- permissions: TypedField<"obj", any, {}>;
1281
- deckId: TypedField<"belongsTo", DeckId, {}>;
1282
- discordGuildId: TypedField<"belongsTo", DiscordGuildId, {}>;
1283
- }, {
1284
- deck: RelationEntry<"deck", {
1285
- readonly type: "belongsTo";
1286
- readonly fk: "deckId";
1287
- }>;
1288
- discordGuild: RelationEntry<"discordGuild", {
1289
- readonly type: "belongsTo";
1290
- readonly fk: "discordGuildId";
1291
- }>;
1292
- }, ["id"]>;
1293
- dueCard: ModelDesc<"dueCard", {
1294
- createdAt: TypedField<"date", Date, {}>;
1295
- userId: TypedField<"belongsTo", UserId, {}>;
1296
- accountId: TypedField<"belongsTo", AccountId, {}>;
1297
- cardId: TypedField<"belongsTo", CardId, {}>;
1298
- }, {
1299
- user: RelationEntry<"user", {
1300
- readonly type: "belongsTo";
1301
- readonly fk: "userId";
1302
- }>;
1303
- account: RelationEntry<"account", {
1304
- readonly type: "belongsTo";
1305
- readonly fk: "accountId";
1306
- }>;
1307
- card: RelationEntry<"card", {
1308
- readonly type: "belongsTo";
1309
- readonly fk: "cardId";
1310
- }>;
1311
- }, ["userId", "cardId"]>;
1312
- file: ModelDesc<"file", {
1313
- id: TypedField<"id", FileId, {}>;
1314
- name: TypedField<"string", string, {}>;
1315
- url: TypedField<"string", string, {}>;
1316
- size: TypedField<"string", string, {}>;
1317
- isDeleted: TypedField<"string", string, {}>;
1318
- meta: TypedField<"obj", any, {}>;
1319
- createdAt: TypedField<"date", Date, {}>;
1320
- deletedAt: TypedField<"date", Date, {}>;
1321
- selfHosted: TypedField<"string", string, {}>;
1322
- accountId: TypedField<"belongsTo", AccountId, {}>;
1323
- uploaderId: TypedField<"belongsTo", UserId, {}>;
1324
- deletedById: TypedField<"belongsTo", UserId, {}>;
1325
- }, {
1326
- account: RelationEntry<"account", {
1327
- readonly type: "belongsTo";
1328
- readonly fk: "accountId";
1329
- }>;
1330
- uploader: RelationEntry<"user", {
1331
- readonly type: "belongsTo";
1332
- readonly fk: "uploaderId";
1333
- }>;
1334
- deletedBy: RelationEntry<"user", {
1335
- readonly type: "belongsTo";
1336
- readonly fk: "deletedById";
1337
- }>;
1338
- }, ["id"]>;
1339
- handCard: ModelDesc<"handCard", {
1340
- sortIndex: TypedField<"int", number, {}>;
1341
- userId: TypedField<"belongsTo", UserId, {}>;
1342
- accountId: TypedField<"belongsTo", AccountId, {}>;
1343
- cardId: TypedField<"belongsTo", CardId, {}>;
1344
- }, {
1345
- user: RelationEntry<"user", {
1346
- readonly type: "belongsTo";
1347
- readonly fk: "userId";
1348
- }>;
1349
- account: RelationEntry<"account", {
1350
- readonly type: "belongsTo";
1351
- readonly fk: "accountId";
1352
- }>;
1353
- card: RelationEntry<"card", {
1354
- readonly type: "belongsTo";
1355
- readonly fk: "cardId";
1356
- }>;
1357
- }, ["cardId", "userId", "accountId"]>;
1358
- integration: ModelDesc<"integration", {
1359
- id: TypedField<"id", IntegrationId, {}>;
1360
- type: TypedField<"string", string, {}>;
1361
- disabled: TypedField<"string", string, {}>;
1362
- userData: TypedField<"obj", any, {}>;
1363
- createdAt: TypedField<"date", Date, {}>;
1364
- version: TypedField<"int", number, {}>;
1365
- accountId: TypedField<"belongsTo", AccountId, {}>;
1366
- userId: TypedField<"belongsTo", UserId, {}>;
1367
- creatorId: TypedField<"belongsTo", UserId, {}>;
1368
- }, {
1369
- account: RelationEntry<"account", {
1370
- readonly type: "belongsTo";
1371
- readonly fk: "accountId";
1372
- }>;
1373
- user: RelationEntry<"user", {
1374
- readonly type: "belongsTo";
1375
- readonly fk: "userId";
1376
- }>;
1377
- creator: RelationEntry<"user", {
1378
- readonly type: "belongsTo";
1379
- readonly fk: "creatorId";
1380
- }>;
1381
- }, ["id"]>;
1382
- invoice: ModelDesc<"invoice", {
1383
- id: TypedField<"id", InvoiceId, {}>;
1384
- invoiceNumber: TypedField<"string", string, {}>;
1385
- url: TypedField<"string", string, {}>;
1386
- createdAt: TypedField<"date", Date, {}>;
1387
- total: TypedField<"int", number, {}>;
1388
- subtotal: TypedField<"int", number, {}>;
1389
- charged: TypedField<"int", number, {}>;
1390
- chargeData: TypedField<"obj", any, {}>;
1391
- accountId: TypedField<"belongsTo", AccountId, {}>;
1392
- }, {
1393
- account: RelationEntry<"account", {
1394
- readonly type: "belongsTo";
1395
- readonly fk: "accountId";
1396
- }>;
1397
- }, ["id"]>;
1398
- lastSeenCardUpvote: ModelDesc<"lastSeenCardUpvote", {
1399
- lastSeenAt: TypedField<"date", Date, {}>;
1400
- createdAt: TypedField<"date", Date, {}>;
1401
- userId: TypedField<"belongsTo", UserId, {}>;
1402
- accountId: TypedField<"belongsTo", AccountId, {}>;
1403
- }, {
1404
- user: RelationEntry<"user", {
1405
- readonly type: "belongsTo";
1406
- readonly fk: "userId";
1407
- }>;
1408
- account: RelationEntry<"account", {
1409
- readonly type: "belongsTo";
1410
- readonly fk: "accountId";
1411
- }>;
1412
- }, ["userId", "accountId"]>;
1413
- milestoneProgress: ModelDesc<"milestoneProgress", {
1414
- progress: TypedField<"obj", any, {}>;
1415
- milestoneId: TypedField<"belongsTo", MilestoneId, {}>;
1416
- }, {
1417
- milestone: RelationEntry<"milestone", {
1418
- readonly type: "belongsTo";
1419
- readonly fk: "milestoneId";
1420
- }>;
1421
- }, ["milestoneId", "date"]>;
1422
- milestoneProject: ModelDesc<"milestoneProject", {
1423
- milestoneId: TypedField<"belongsTo", MilestoneId, {}>;
1424
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1425
- accountId: TypedField<"belongsTo", AccountId, {}>;
1426
- }, {
1427
- milestone: RelationEntry<"milestone", {
1428
- readonly type: "belongsTo";
1429
- readonly fk: "milestoneId";
1430
- }>;
1431
- project: RelationEntry<"project", {
1432
- readonly type: "belongsTo";
1433
- readonly fk: "projectId";
1434
- }>;
1435
- account: RelationEntry<"account", {
1436
- readonly type: "belongsTo";
1437
- readonly fk: "accountId";
1438
- }>;
1439
- }, ["milestoneId", "projectId"]>;
1440
- milestone: ModelDesc<"milestone", {
1441
- id: TypedField<"id", MilestoneId, {}>;
1442
- name: TypedField<"string", string, {}>;
1443
- color: TypedField<"string", string, {}>;
1444
- date: TypedField<"day", {
1445
- day: number;
1446
- month: number;
1447
- year: number;
1448
- }, {}>;
1449
- startDate: TypedField<"day", {
1450
- day: number;
1451
- month: number;
1452
- year: number;
1453
- }, {
1454
- readonly optional: true;
1455
- }>;
1456
- createdAt: TypedField<"date", Date, {}>;
1457
- accountSeq: TypedField<"int", number, {}>;
1458
- description: TypedField<"string", string, {
1459
- readonly optional: true;
1460
- }>;
1461
- isGlobal: TypedField<"string", string, {}>;
1462
- handSyncEnabled: TypedField<"string", string, {}>;
1463
- manualOrderLabels: TypedField<"string", string, {}>;
1464
- stats: TypedField<"obj", any, {}>;
1465
- userCapacities: TypedField<"obj", any, {}>;
1466
- isDeleted: TypedField<"bool", boolean, {}>;
1467
- preferredOrder: TypedField<"string", string, {
1468
- readonly optional: true;
1469
- }>;
1470
- accountId: TypedField<"belongsTo", AccountId, {}>;
1471
- creatorId: TypedField<"belongsTo", UserId, {}>;
1472
- coverFileId: TypedField<"belongsTo", FileId, {
1473
- readonly optional: true;
1474
- }>;
1475
- }, {
1476
- account: RelationEntry<"account", {
1477
- readonly type: "belongsTo";
1478
- readonly fk: "accountId";
1479
- }>;
1480
- creator: RelationEntry<"user", {
1481
- readonly type: "belongsTo";
1482
- readonly fk: "creatorId";
1483
- }>;
1484
- coverFile: RelationEntry<"file", {
1485
- readonly type: "belongsTo";
1486
- readonly fk: "coverFileId";
1487
- }>;
1488
- milestoneProjects: RelationEntry<"milestoneProject", {
1489
- readonly type: "hasMany";
1490
- }>;
1491
- cards: RelationEntry<"card", {
1492
- readonly type: "hasMany";
1493
- }>;
1494
- activities: RelationEntry<"activity", {
1495
- readonly type: "hasMany";
1496
- }>;
1497
- progress: RelationEntry<"milestoneProgress", {
1498
- readonly type: "hasMany";
1499
- }>;
1500
- }, ["id"]>;
1501
- pinnedMilestone: ModelDesc<"pinnedMilestone", {
1502
- id: TypedField<"id", PinnedMilestoneId, {}>;
1503
- autoAssignStartedCard: TypedField<"bool", boolean, {}>;
1504
- autoAssignNewCard: TypedField<"bool", boolean, {}>;
1505
- userId: TypedField<"belongsTo", UserId, {}>;
1506
- accountId: TypedField<"belongsTo", AccountId, {}>;
1507
- sprintId: TypedField<"belongsTo", SprintId, {}>;
1508
- milestoneId: TypedField<"belongsTo", MilestoneId, {}>;
1509
- }, {
1510
- user: RelationEntry<"user", {
1511
- readonly type: "belongsTo";
1512
- readonly fk: "userId";
1513
- }>;
1514
- account: RelationEntry<"account", {
1515
- readonly type: "belongsTo";
1516
- readonly fk: "accountId";
1517
- }>;
1518
- sprint: RelationEntry<"sprint", {
1519
- readonly type: "belongsTo";
1520
- readonly fk: "sprintId";
1521
- }>;
1522
- milestone: RelationEntry<"milestone", {
1523
- readonly type: "belongsTo";
1524
- readonly fk: "milestoneId";
1525
- }>;
1526
- }, ["id"]>;
1527
- projectOrder: ModelDesc<"projectOrder", {
1528
- sortIndex: TypedField<"int", number, {}>;
1529
- userId: TypedField<"belongsTo", UserId, {}>;
1530
- accountId: TypedField<"belongsTo", AccountId, {}>;
1531
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1532
- }, {
1533
- user: RelationEntry<"user", {
1534
- readonly type: "belongsTo";
1535
- readonly fk: "userId";
1536
- }>;
1537
- account: RelationEntry<"account", {
1538
- readonly type: "belongsTo";
1539
- readonly fk: "accountId";
1540
- }>;
1541
- project: RelationEntry<"project", {
1542
- readonly type: "belongsTo";
1543
- readonly fk: "projectId";
1544
- }>;
1545
- }, ["projectId", "userId", "accountId"]>;
1546
- projectSelection: ModelDesc<"projectSelection", {
1547
- id: TypedField<"id", ProjectSelectionId, {}>;
1548
- userId: TypedField<"belongsTo", UserId, {}>;
1549
- accountId: TypedField<"belongsTo", AccountId, {}>;
1550
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1551
- }, {
1552
- user: RelationEntry<"user", {
1553
- readonly type: "belongsTo";
1554
- readonly fk: "userId";
1555
- }>;
1556
- account: RelationEntry<"account", {
1557
- readonly type: "belongsTo";
1558
- readonly fk: "accountId";
1559
- }>;
1560
- project: RelationEntry<"project", {
1561
- readonly type: "belongsTo";
1562
- readonly fk: "projectId";
1563
- }>;
1564
- }, ["id"]>;
1565
- projectTag: ModelDesc<"projectTag", {
1566
- id: TypedField<"id", ProjectTagId, {}>;
1567
- tag: TypedField<"string", string, {}>;
1568
- color: TypedField<"string", string, {
1569
- readonly optional: true;
1570
- }>;
1571
- emoji: TypedField<"string", string, {
1572
- readonly optional: true;
1573
- }>;
1574
- description: TypedField<"string", string, {
1575
- readonly optional: true;
1576
- }>;
1577
- createdAt: TypedField<"date", Date, {}>;
1578
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1579
- }, {
1580
- project: RelationEntry<"project", {
1581
- readonly type: "belongsTo";
1582
- readonly fk: "projectId";
1583
- }>;
1584
- }, ["id"]>;
1585
- projectUserSetting: ModelDesc<"projectUserSetting", {
1586
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1587
- userId: TypedField<"belongsTo", UserId, {}>;
1588
- }, {
1589
- project: RelationEntry<"project", {
1590
- readonly type: "belongsTo";
1591
- readonly fk: "projectId";
1592
- }>;
1593
- user: RelationEntry<"user", {
1594
- readonly type: "belongsTo";
1595
- readonly fk: "userId";
1596
- }>;
1597
- }, ["projectId", "userId"]>;
1598
- projectUser: ModelDesc<"projectUser", {
1599
- projectRole: TypedField<"string", string, {}>;
1600
- userId: TypedField<"belongsTo", UserId, {}>;
1601
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1602
- accountId: TypedField<"belongsTo", AccountId, {}>;
1603
- }, {
1604
- user: RelationEntry<"user", {
1605
- readonly type: "belongsTo";
1606
- readonly fk: "userId";
1607
- }>;
1608
- project: RelationEntry<"project", {
1609
- readonly type: "belongsTo";
1610
- readonly fk: "projectId";
1611
- }>;
1612
- account: RelationEntry<"account", {
1613
- readonly type: "belongsTo";
1614
- readonly fk: "accountId";
1615
- }>;
1616
- }, ["projectId", "userId"]>;
1617
- project: ModelDesc<"project", {
1618
- id: TypedField<"id", ProjectId, {}>;
1619
- name: TypedField<"string", string, {}>;
1620
- visibility: TypedField<"string", string, {}>;
1621
- defaultUserAccess: TypedField<"string", string, {}>;
1622
- createdAt: TypedField<"date", Date, {}>;
1623
- accountSeq: TypedField<"int", number, {}>;
1624
- allowUpvotes: TypedField<"string", string, {}>;
1625
- isPublic: TypedField<"string", string, {}>;
1626
- commentsArePublic: TypedField<"string", string, {}>;
1627
- publicRegistryAgreement: TypedField<"string", string, {
1628
- readonly optional: true;
1629
- }>;
1630
- publicLayoutVersion: TypedField<"string", string, {}>;
1631
- publicIsExplicit: TypedField<"string", string, {}>;
1632
- markerColor: TypedField<"string", string, {
1633
- readonly optional: true;
1634
- }>;
1635
- effortIcon: TypedField<"string", string, {
1636
- readonly optional: true;
1637
- }>;
1638
- spaces: TypedField<"string", string, {}>;
1639
- publicPath: TypedField<"string", string, {
1640
- readonly optional: true;
1641
- }>;
1642
- publicMessage: TypedField<"string", string, {
1643
- readonly optional: true;
1644
- }>;
1645
- publicHeading: TypedField<"string", string, {
1646
- readonly optional: true;
1647
- }>;
1648
- publicBackgroundColor: TypedField<"string", string, {
1649
- readonly optional: true;
1650
- }>;
1651
- accountId: TypedField<"belongsTo", AccountId, {}>;
1652
- coverFileId: TypedField<"belongsTo", FileId, {
1653
- readonly optional: true;
1654
- }>;
1655
- publicBannerFileId: TypedField<"belongsTo", FileId, {
1656
- readonly optional: true;
1657
- }>;
1658
- publicTileFileId: TypedField<"belongsTo", FileId, {
1659
- readonly optional: true;
1660
- }>;
1661
- publicBackgroundImageId: TypedField<"belongsTo", FileId, {
1662
- readonly optional: true;
1663
- }>;
1664
- }, {
1665
- account: RelationEntry<"account", {
1666
- readonly type: "belongsTo";
1667
- readonly fk: "accountId";
1668
- }>;
1669
- coverFile: RelationEntry<"file", {
1670
- readonly type: "belongsTo";
1671
- readonly fk: "coverFileId";
1672
- }>;
1673
- publicBannerFile: RelationEntry<"file", {
1674
- readonly type: "belongsTo";
1675
- readonly fk: "publicBannerFileId";
1676
- }>;
1677
- publicTileFile: RelationEntry<"file", {
1678
- readonly type: "belongsTo";
1679
- readonly fk: "publicTileFileId";
1680
- }>;
1681
- publicBackgroundImage: RelationEntry<"file", {
1682
- readonly type: "belongsTo";
1683
- readonly fk: "publicBackgroundImageId";
1684
- }>;
1685
- decks: RelationEntry<"deck", {
1686
- readonly type: "hasMany";
1687
- }>;
1688
- milestoneProjects: RelationEntry<"milestoneProject", {
1689
- readonly type: "hasMany";
1690
- }>;
1691
- sprintProjects: RelationEntry<"sprintProject", {
1692
- readonly type: "hasMany";
1693
- }>;
1694
- publicProjectVisits: RelationEntry<"publicProjectVisit", {
1695
- readonly type: "hasMany";
1696
- }>;
1697
- dailyPublicProjectMembership: RelationEntry<"dailyPublicProjectMembership", {
1698
- readonly type: "hasMany";
1699
- }>;
1700
- publicProjectMemberships: RelationEntry<"publicProjectMembership", {
1701
- readonly type: "hasMany";
1702
- }>;
1703
- cardUpvotes: RelationEntry<"cardUpvote", {
1704
- readonly type: "hasMany";
1705
- }>;
1706
- tags: RelationEntry<"projectTag", {
1707
- readonly type: "hasMany";
1708
- }>;
1709
- activities: RelationEntry<"activity", {
1710
- readonly type: "hasMany";
1711
- }>;
1712
- explicitProjectUsers: RelationEntry<"projectUser", {
1713
- readonly type: "hasMany";
1714
- }>;
1715
- access: RelationEntry<"userProjectAccess", {
1716
- readonly type: "hasMany";
1717
- }>;
1718
- publicProjectInfo: RelationEntry<"publicProjectInfo", {
1719
- readonly type: "hasOne";
1720
- }>;
1721
- }, ["id"]>;
1722
- publicProjectInfo: ModelDesc<"publicProjectInfo", {
1723
- lastActivityAt: TypedField<"string", string, {}>;
1724
- activities7d: TypedField<"string", string, {}>;
1725
- cardCount: TypedField<"string", string, {}>;
1726
- visits7d: TypedField<"string", string, {}>;
1727
- cardDoneStreak: TypedField<"string", string, {}>;
1728
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1729
- accountId: TypedField<"belongsTo", AccountId, {}>;
1730
- }, {
1731
- project: RelationEntry<"project", {
1732
- readonly type: "belongsTo";
1733
- readonly fk: "projectId";
1734
- }>;
1735
- account: RelationEntry<"account", {
1736
- readonly type: "belongsTo";
1737
- readonly fk: "accountId";
1738
- }>;
1739
- }, ["projectId"]>;
1740
- publicProjectMembership: ModelDesc<"publicProjectMembership", {
1741
- digestFrequencyInDays: TypedField<"int", number, {}>;
1742
- createdAt: TypedField<"date", Date, {}>;
1743
- userId: TypedField<"belongsTo", UserId, {}>;
1744
- projectId: TypedField<"belongsTo", ProjectId, {}>;
1745
- }, {
1746
- user: RelationEntry<"user", {
1747
- readonly type: "belongsTo";
1748
- readonly fk: "userId";
1749
- }>;
1750
- project: RelationEntry<"project", {
1751
- readonly type: "belongsTo";
1752
- readonly fk: "projectId";
1753
- }>;
1754
- }, ["userId", "projectId"]>;
1755
- queueEntry: ModelDesc<"queueEntry", {
1756
- id: TypedField<"id", QueueEntryId, {}>;
1757
- sortIndex: TypedField<"int", number, {}>;
1758
- cardDoneAt: TypedField<"date", Date, {}>;
1759
- createdAt: TypedField<"date", Date, {}>;
1760
- accountId: TypedField<"belongsTo", AccountId, {}>;
1761
- userId: TypedField<"belongsTo", UserId, {}>;
1762
- cardId: TypedField<"belongsTo", CardId, {}>;
1763
- }, {
1764
- account: RelationEntry<"account", {
1765
- readonly type: "belongsTo";
1766
- readonly fk: "accountId";
1767
- }>;
1768
- user: RelationEntry<"user", {
1769
- readonly type: "belongsTo";
1770
- readonly fk: "userId";
1771
- }>;
1772
- card: RelationEntry<"card", {
1773
- readonly type: "belongsTo";
1774
- readonly fk: "cardId";
1775
- }>;
1776
- }, ["id"]>;
1777
- queueSelection: ModelDesc<"queueSelection", {
1778
- id: TypedField<"id", QueueSelectionId, {}>;
1779
- sortIndex: TypedField<"int", number, {}>;
1780
- userId: TypedField<"belongsTo", UserId, {}>;
1781
- accountId: TypedField<"belongsTo", AccountId, {}>;
1782
- queueUserId: TypedField<"belongsTo", UserId, {}>;
1783
- }, {
1784
- user: RelationEntry<"user", {
1785
- readonly type: "belongsTo";
1786
- readonly fk: "userId";
1787
- }>;
1788
- account: RelationEntry<"account", {
1789
- readonly type: "belongsTo";
1790
- readonly fk: "accountId";
1791
- }>;
1792
- queueUser: RelationEntry<"user", {
1793
- readonly type: "belongsTo";
1794
- readonly fk: "queueUserId";
1795
- }>;
1796
- }, ["id"]>;
1797
- release: ModelDesc<"release", {
1798
- id: TypedField<"id", ReleaseId, {}>;
1799
- version: TypedField<"string", string, {}>;
1800
- isLive: TypedField<"string", string, {}>;
1801
- content: TypedField<"string", string, {}>;
1802
- title: TypedField<"string", string, {}>;
1803
- createdAt: TypedField<"date", Date, {}>;
1804
- }, {}, ["id"]>;
1805
- resolvableEntryHistory: ModelDesc<"resolvableEntryHistory", {
1806
- content: TypedField<"string", string, {}>;
1807
- lastChangedAt: TypedField<"date", Date, {}>;
1808
- version: TypedField<"int", number, {}>;
1809
- resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
1810
- authorId: TypedField<"belongsTo", UserId, {}>;
1811
- entryId: TypedField<"belongsTo", ResolvableEntryId, {}>;
1812
- }, {
1813
- resolvable: RelationEntry<"resolvable", {
1814
- readonly type: "belongsTo";
1815
- readonly fk: "resolvableId";
1816
- }>;
1817
- author: RelationEntry<"user", {
1818
- readonly type: "belongsTo";
1819
- readonly fk: "authorId";
1820
- }>;
1821
- entry: RelationEntry<"resolvableEntry", {
1822
- readonly type: "belongsTo";
1823
- readonly fk: "entryId";
1824
- }>;
1825
- }, ["entryId", "version"]>;
1826
- resolvableEntryReaction: ModelDesc<"resolvableEntryReaction", {
1827
- id: TypedField<"id", ResolvableEntryReactionId, {}>;
1828
- value: TypedField<"obj", any, {}>;
1829
- createdAt: TypedField<"date", Date, {}>;
1830
- isPublic: TypedField<"bool", boolean, {}>;
1831
- resolvableEntryId: TypedField<"belongsTo", ResolvableEntryId, {}>;
1832
- accountId: TypedField<"belongsTo", AccountId, {}>;
1833
- userId: TypedField<"belongsTo", UserId, {}>;
1834
- resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
1835
- }, {
1836
- resolvableEntry: RelationEntry<"resolvableEntry", {
1837
- readonly type: "belongsTo";
1838
- readonly fk: "resolvableEntryId";
1839
- }>;
1840
- account: RelationEntry<"account", {
1841
- readonly type: "belongsTo";
1842
- readonly fk: "accountId";
1843
- }>;
1844
- user: RelationEntry<"user", {
1845
- readonly type: "belongsTo";
1846
- readonly fk: "userId";
1847
- }>;
1848
- resolvable: RelationEntry<"resolvable", {
1849
- readonly type: "belongsTo";
1850
- readonly fk: "resolvableId";
1851
- }>;
1852
- }, ["id"]>;
1853
- resolvableEntry: ModelDesc<"resolvableEntry", {
1854
- entryId: TypedField<"id", ResolvableEntryId, {}>;
1855
- content: TypedField<"string", string, {}>;
1856
- lastChangedAt: TypedField<"date", Date, {}>;
1857
- createdAt: TypedField<"date", Date, {}>;
1858
- version: TypedField<"int", number, {}>;
1859
- meta: TypedField<"obj", any, {}>;
1860
- resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
1861
- cardId: TypedField<"belongsTo", CardId, {}>;
1862
- authorId: TypedField<"belongsTo", UserId, {}>;
1863
- }, {
1864
- resolvable: RelationEntry<"resolvable", {
1865
- readonly type: "belongsTo";
1866
- readonly fk: "resolvableId";
1867
- }>;
1868
- card: RelationEntry<"card", {
1869
- readonly type: "belongsTo";
1870
- readonly fk: "cardId";
1871
- }>;
1872
- author: RelationEntry<"user", {
1873
- readonly type: "belongsTo";
1874
- readonly fk: "authorId";
1875
- }>;
1876
- reactions: RelationEntry<"resolvableEntryReaction", {
1877
- readonly type: "hasMany";
1878
- }>;
1879
- histories: RelationEntry<"resolvableEntryHistory", {
1880
- readonly type: "hasMany";
1881
- }>;
1882
- }, ["entryId"]>;
1883
- resolvableNotification: ModelDesc<"resolvableNotification", {
1884
- isParticipating: TypedField<"bool", boolean, {}>;
1885
- isSnoozing: TypedField<"bool", boolean, {}>;
1886
- unseenEntryCount: TypedField<"int", number, {}>;
1887
- unseenAuthors: TypedField<"array", any[], {}>;
1888
- isLastParticipant: TypedField<"bool", boolean, {}>;
1889
- lastUpdatedAt: TypedField<"date", Date, {}>;
1890
- snoozeUntil: TypedField<"date", Date, {
1891
- readonly optional: true;
1892
- }>;
1893
- remindMeOn: TypedField<"date", Date, {
1894
- readonly optional: true;
1895
- }>;
1896
- createdAt: TypedField<"date", Date, {}>;
1897
- userId: TypedField<"belongsTo", UserId, {}>;
1898
- resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
1899
- accountId: TypedField<"belongsTo", AccountId, {}>;
1900
- latestEntryId: TypedField<"belongsTo", ResolvableEntryId, {}>;
1901
- latestSeenEntryId: TypedField<"belongsTo", ResolvableEntryId, {}>;
1902
- }, {
1903
- user: RelationEntry<"user", {
1904
- readonly type: "belongsTo";
1905
- readonly fk: "userId";
1906
- }>;
1907
- resolvable: RelationEntry<"resolvable", {
1908
- readonly type: "belongsTo";
1909
- readonly fk: "resolvableId";
1910
- }>;
1911
- account: RelationEntry<"account", {
1912
- readonly type: "belongsTo";
1913
- readonly fk: "accountId";
1914
- }>;
1915
- latestEntry: RelationEntry<"resolvableEntry", {
1916
- readonly type: "belongsTo";
1917
- readonly fk: "latestEntryId";
1918
- }>;
1919
- latestSeenEntry: RelationEntry<"resolvableEntry", {
1920
- readonly type: "belongsTo";
1921
- readonly fk: "latestSeenEntryId";
1922
- }>;
1923
- }, ["userId", "resolvableId"]>;
1924
- resolvableParticipantHistory: ModelDesc<"resolvableParticipantHistory", {
1925
- firstJoinedAt: TypedField<"string", string, {}>;
1926
- done: TypedField<"string", string, {}>;
1927
- status: TypedField<"string", string, {}>;
1928
- lastChangedAt: TypedField<"date", Date, {}>;
1929
- version: TypedField<"int", number, {}>;
1930
- reaction: TypedField<"string", string, {}>;
1931
- resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
1932
- userId: TypedField<"belongsTo", UserId, {}>;
1933
- addedById: TypedField<"belongsTo", UserId, {}>;
1934
- }, {
1935
- resolvable: RelationEntry<"resolvable", {
1936
- readonly type: "belongsTo";
1937
- readonly fk: "resolvableId";
1938
- }>;
1939
- user: RelationEntry<"user", {
1940
- readonly type: "belongsTo";
1941
- readonly fk: "userId";
1942
- }>;
1943
- addedBy: RelationEntry<"user", {
1944
- readonly type: "belongsTo";
1945
- readonly fk: "addedById";
1946
- }>;
1947
- }, ["participantId", "resolvableId", "version"]>;
1948
- resolvableParticipant: ModelDesc<"resolvableParticipant", {
1949
- firstJoinedAt: TypedField<"date", Date, {}>;
1950
- lastChangedAt: TypedField<"date", Date, {}>;
1951
- done: TypedField<"bool", boolean, {}>;
1952
- status: TypedField<"string", string, {}>;
1953
- discordUserId: TypedField<"string", string, {}>;
1954
- resolvableIsClosed: TypedField<"bool", boolean, {}>;
1955
- resolvableId: TypedField<"belongsTo", ResolvableId, {}>;
1956
- accountId: TypedField<"belongsTo", AccountId, {}>;
1957
- userId: TypedField<"belongsTo", UserId, {}>;
1958
- addedById: TypedField<"belongsTo", UserId, {}>;
1959
- }, {
1960
- resolvable: RelationEntry<"resolvable", {
1961
- readonly type: "belongsTo";
1962
- readonly fk: "resolvableId";
1963
- }>;
1964
- account: RelationEntry<"account", {
1965
- readonly type: "belongsTo";
1966
- readonly fk: "accountId";
1967
- }>;
1968
- user: RelationEntry<"user", {
1969
- readonly type: "belongsTo";
1970
- readonly fk: "userId";
1971
- }>;
1972
- addedBy: RelationEntry<"user", {
1973
- readonly type: "belongsTo";
1974
- readonly fk: "addedById";
1975
- }>;
1976
- }, ["participantId", "resolvableId"]>;
1977
- resolvable: ModelDesc<"resolvable", {
1978
- id: TypedField<"id", ResolvableId, {}>;
1979
- context: TypedField<"string", string, {}>;
1980
- contextAsPrio: TypedField<"int", number, {}>;
1981
- isClosed: TypedField<"bool", boolean, {}>;
1982
- closedAt: TypedField<"date", Date, {
1983
- readonly optional: true;
1984
- }>;
1985
- createdAt: TypedField<"date", Date, {}>;
1986
- isPublic: TypedField<"bool", boolean, {}>;
1987
- cardId: TypedField<"belongsTo", CardId, {}>;
1988
- accountId: TypedField<"belongsTo", AccountId, {}>;
1989
- creatorId: TypedField<"belongsTo", UserId, {}>;
1990
- closedById: TypedField<"belongsTo", UserId, {
1991
- readonly optional: true;
1992
- }>;
1993
- }, {
1994
- card: RelationEntry<"card", {
1995
- readonly type: "belongsTo";
1996
- readonly fk: "cardId";
1997
- }>;
1998
- account: RelationEntry<"account", {
1999
- readonly type: "belongsTo";
2000
- readonly fk: "accountId";
2001
- }>;
2002
- creator: RelationEntry<"user", {
2003
- readonly type: "belongsTo";
2004
- readonly fk: "creatorId";
2005
- }>;
2006
- closedBy: RelationEntry<"user", {
2007
- readonly type: "belongsTo";
2008
- readonly fk: "closedById";
2009
- }>;
2010
- participants: RelationEntry<"resolvableParticipant", {
2011
- readonly type: "hasMany";
2012
- }>;
2013
- participantHistories: RelationEntry<"resolvableParticipantHistory", {
2014
- readonly type: "hasMany";
2015
- }>;
2016
- entries: RelationEntry<"resolvableEntry", {
2017
- readonly type: "hasMany";
2018
- }>;
2019
- }, ["id"]>;
2020
- savedSearch: ModelDesc<"savedSearch", {
2021
- id: TypedField<"id", SavedSearchId, {}>;
2022
- tokens: TypedField<"array", any[], {}>;
2023
- forceOr: TypedField<"bool", boolean, {}>;
2024
- accountId: TypedField<"belongsTo", AccountId, {}>;
2025
- ownerId: TypedField<"belongsTo", UserId, {}>;
2026
- }, {
2027
- account: RelationEntry<"account", {
2028
- readonly type: "belongsTo";
2029
- readonly fk: "accountId";
2030
- }>;
2031
- owner: RelationEntry<"user", {
2032
- readonly type: "belongsTo";
2033
- readonly fk: "ownerId";
2034
- }>;
2035
- }, ["id"]>;
2036
- sprintConfigProgress: ModelDesc<"sprintConfigProgress", {
2037
- progress: TypedField<"obj", any, {}>;
2038
- sprintConfigId: TypedField<"belongsTo", SprintConfigId, {}>;
2039
- }, {
2040
- sprintConfig: RelationEntry<"sprintConfig", {
2041
- readonly type: "belongsTo";
2042
- readonly fk: "sprintConfigId";
2043
- }>;
2044
- }, ["sprintConfigId", "date"]>;
2045
- sprintConfig: ModelDesc<"sprintConfig", {
2046
- id: TypedField<"id", SprintConfigId, {}>;
2047
- name: TypedField<"string", string, {}>;
2048
- color: TypedField<"string", string, {}>;
2049
- stopOn: TypedField<"day", {
2050
- day: number;
2051
- month: number;
2052
- year: number;
2053
- }, {
2054
- readonly optional: true;
2055
- }>;
2056
- isGlobal: TypedField<"string", string, {}>;
2057
- upcomingSprints: TypedField<"int", number, {}>;
2058
- sprintDurationWeeks: TypedField<"int", number, {}>;
2059
- sprintStartWeekday: TypedField<"int", number, {}>;
2060
- endHour: TypedField<"int", number, {}>;
2061
- endHourTimezone: TypedField<"string", string, {}>;
2062
- createdAt: TypedField<"date", Date, {}>;
2063
- preferredOrder: TypedField<"string", string, {
2064
- readonly optional: true;
2065
- }>;
2066
- moveOnFinish: TypedField<"string", string, {}>;
2067
- autoBeastModeDurationHours: TypedField<"int", number, {
2068
- readonly optional: true;
2069
- }>;
2070
- autoAssignStartedCard: TypedField<"bool", boolean, {}>;
2071
- autoAssignNewCard: TypedField<"bool", boolean, {}>;
2072
- beastGracePeriodHours: TypedField<"int", number, {}>;
2073
- accountId: TypedField<"belongsTo", AccountId, {}>;
2074
- creatorId: TypedField<"belongsTo", UserId, {}>;
2075
- }, {
2076
- account: RelationEntry<"account", {
2077
- readonly type: "belongsTo";
2078
- readonly fk: "accountId";
2079
- }>;
2080
- creator: RelationEntry<"user", {
2081
- readonly type: "belongsTo";
2082
- readonly fk: "creatorId";
2083
- }>;
2084
- sprintProjects: RelationEntry<"sprintProject", {
2085
- readonly type: "hasMany";
2086
- }>;
2087
- sprints: RelationEntry<"sprint", {
2088
- readonly type: "hasMany";
2089
- }>;
2090
- progress: RelationEntry<"sprintConfigProgress", {
2091
- readonly type: "hasMany";
2092
- }>;
2093
- }, ["id"]>;
2094
- sprintProgress: ModelDesc<"sprintProgress", {
2095
- progress: TypedField<"obj", any, {}>;
2096
- sprintId: TypedField<"belongsTo", SprintId, {}>;
2097
- }, {
2098
- sprint: RelationEntry<"sprint", {
2099
- readonly type: "belongsTo";
2100
- readonly fk: "sprintId";
2101
- }>;
2102
- }, ["sprintId", "date"]>;
2103
- sprintProject: ModelDesc<"sprintProject", {
2104
- sprintConfigId: TypedField<"belongsTo", SprintConfigId, {}>;
2105
- projectId: TypedField<"belongsTo", ProjectId, {}>;
2106
- accountId: TypedField<"belongsTo", AccountId, {}>;
2107
- }, {
2108
- sprintConfig: RelationEntry<"sprintConfig", {
2109
- readonly type: "belongsTo";
2110
- readonly fk: "sprintConfigId";
2111
- }>;
2112
- project: RelationEntry<"project", {
2113
- readonly type: "belongsTo";
2114
- readonly fk: "projectId";
2115
- }>;
2116
- account: RelationEntry<"account", {
2117
- readonly type: "belongsTo";
2118
- readonly fk: "accountId";
2119
- }>;
2120
- }, ["sprintConfigId", "projectId"]>;
2121
- sprint: ModelDesc<"sprint", {
2122
- id: TypedField<"id", SprintId, {}>;
2123
- description: TypedField<"string", string, {}>;
2124
- name: TypedField<"string", string, {
2125
- readonly optional: true;
2126
- }>;
2127
- accountSeq: TypedField<"int", number, {}>;
2128
- index: TypedField<"int", number, {}>;
2129
- startDate: TypedField<"day", {
2130
- day: number;
2131
- month: number;
2132
- year: number;
2133
- }, {}>;
2134
- endDate: TypedField<"day", {
2135
- day: number;
2136
- month: number;
2137
- year: number;
2138
- }, {}>;
2139
- stats: TypedField<"obj", any, {}>;
2140
- manualOrderLabels: TypedField<"string", string, {}>;
2141
- userCapacities: TypedField<"obj", any, {}>;
2142
- handSyncEnabled: TypedField<"string", string, {}>;
2143
- createdAt: TypedField<"date", Date, {}>;
2144
- isDeleted: TypedField<"bool", boolean, {}>;
2145
- completedAt: TypedField<"date", Date, {
2146
- readonly optional: true;
2147
- }>;
2148
- lockedAt: TypedField<"date", Date, {
2149
- readonly optional: true;
2150
- }>;
2151
- accountId: TypedField<"belongsTo", AccountId, {}>;
2152
- sprintConfigId: TypedField<"belongsTo", SprintConfigId, {}>;
2153
- creatorId: TypedField<"belongsTo", UserId, {}>;
2154
- coverFileId: TypedField<"belongsTo", FileId, {
2155
- readonly optional: true;
2156
- }>;
2157
- autoMilestoneId: TypedField<"belongsTo", MilestoneId, {
2158
- readonly optional: true;
2159
- }>;
2160
- }, {
2161
- account: RelationEntry<"account", {
2162
- readonly type: "belongsTo";
2163
- readonly fk: "accountId";
2164
- }>;
2165
- sprintConfig: RelationEntry<"sprintConfig", {
2166
- readonly type: "belongsTo";
2167
- readonly fk: "sprintConfigId";
2168
- }>;
2169
- creator: RelationEntry<"user", {
2170
- readonly type: "belongsTo";
2171
- readonly fk: "creatorId";
2172
- }>;
2173
- coverFile: RelationEntry<"file", {
2174
- readonly type: "belongsTo";
2175
- readonly fk: "coverFileId";
2176
- }>;
2177
- autoMilestone: RelationEntry<"milestone", {
2178
- readonly type: "belongsTo";
2179
- readonly fk: "autoMilestoneId";
2180
- }>;
2181
- cards: RelationEntry<"card", {
2182
- readonly type: "hasMany";
2183
- }>;
2184
- progress: RelationEntry<"sprintProgress", {
2185
- readonly type: "hasMany";
2186
- }>;
2187
- activities: RelationEntry<"activity", {
2188
- readonly type: "hasMany";
2189
- }>;
2190
- }, ["id"]>;
2191
- stripeAccountSync: ModelDesc<"stripeAccountSync", {
2192
- status: TypedField<"string", string, {}>;
2193
- euVatIdData: TypedField<"obj", any, {}>;
2194
- vatCountryCode: TypedField<"string", string, {}>;
2195
- vatTaxPercentage: TypedField<"int", number, {}>;
2196
- centsPerSeat: TypedField<"int", number, {}>;
2197
- billingCycleStart: TypedField<"date", Date, {}>;
2198
- billingCycleEnd: TypedField<"date", Date, {}>;
2199
- grossActualBalance: TypedField<"int", number, {}>;
2200
- grossBonusBalance: TypedField<"int", number, {}>;
2201
- netGiftBalance: TypedField<"int", number, {}>;
2202
- paymentMethod: TypedField<"obj", any, {}>;
2203
- hasBeenCancelledAt: TypedField<"date", Date, {}>;
2204
- planType: TypedField<"string", string, {}>;
2205
- planName: TypedField<"string", string, {}>;
2206
- pendingPlanType: TypedField<"string", string, {}>;
2207
- repeatingCoupon: TypedField<"obj", any, {}>;
2208
- accountId: TypedField<"belongsTo", AccountId, {}>;
2209
- }, {
2210
- account: RelationEntry<"account", {
2211
- readonly type: "belongsTo";
2212
- readonly fk: "accountId";
2213
- }>;
2214
- }, ["accountId"]>;
2215
- timeTrackingSegment: ModelDesc<"timeTrackingSegment", {
2216
- id: TypedField<"id", TimeTrackingSegmentId, {}>;
2217
- createdAt: TypedField<"date", Date, {}>;
2218
- finishedAt: TypedField<"date", Date, {
2219
- readonly optional: true;
2220
- }>;
2221
- startedAt: TypedField<"date", Date, {}>;
2222
- modifyDurationMsBy: TypedField<"int", number, {}>;
2223
- addedManually: TypedField<"string", string, {}>;
2224
- autoFinishedState: TypedField<"string", string, {}>;
2225
- cardId: TypedField<"belongsTo", CardId, {}>;
2226
- userId: TypedField<"belongsTo", UserId, {}>;
2227
- accountId: TypedField<"belongsTo", AccountId, {}>;
2228
- }, {
2229
- card: RelationEntry<"card", {
2230
- readonly type: "belongsTo";
2231
- readonly fk: "cardId";
2232
- }>;
2233
- user: RelationEntry<"user", {
2234
- readonly type: "belongsTo";
2235
- readonly fk: "userId";
2236
- }>;
2237
- account: RelationEntry<"account", {
2238
- readonly type: "belongsTo";
2239
- readonly fk: "accountId";
2240
- }>;
2241
- }, ["id"]>;
2242
- timeTrackingSum: ModelDesc<"timeTrackingSum", {
2243
- sumMs: TypedField<"int", number, {}>;
2244
- runningStartedAt: TypedField<"date", Date, {}>;
2245
- runningModifyDurationMsBy: TypedField<"int", number, {}>;
2246
- cardId: TypedField<"belongsTo", CardId, {}>;
2247
- userId: TypedField<"belongsTo", UserId, {}>;
2248
- }, {
2249
- card: RelationEntry<"card", {
2250
- readonly type: "belongsTo";
2251
- readonly fk: "cardId";
2252
- }>;
2253
- user: RelationEntry<"user", {
2254
- readonly type: "belongsTo";
2255
- readonly fk: "userId";
2256
- }>;
2257
- }, ["cardId", "userId"]>;
2258
- userDismissedHint: ModelDesc<"userDismissedHint", {
2259
- hintKey: TypedField<"string", string, {}>;
2260
- createdAt: TypedField<"date", Date, {}>;
2261
- returnAt: TypedField<"date", Date, {}>;
2262
- userId: TypedField<"belongsTo", UserId, {}>;
2263
- }, {
2264
- user: RelationEntry<"user", {
2265
- readonly type: "belongsTo";
2266
- readonly fk: "userId";
2267
- }>;
2268
- }, ["userId", "hintKey"]>;
2269
- userEmail: ModelDesc<"userEmail", {
2270
- id: TypedField<"id", UserEmailId, {}>;
2271
- email: TypedField<"string", string, {}>;
2272
- createdAt: TypedField<"date", Date, {}>;
2273
- isPrimary: TypedField<"bool", boolean, {}>;
2274
- isVerified: TypedField<"bool", boolean, {}>;
2275
- userId: TypedField<"belongsTo", UserId, {}>;
2276
- }, {
2277
- user: RelationEntry<"user", {
2278
- readonly type: "belongsTo";
2279
- readonly fk: "userId";
2280
- }>;
2281
- }, ["id"]>;
2282
- userInvitation: ModelDesc<"userInvitation", {
2283
- id: TypedField<"id", UserInvitationId, {}>;
2284
- email: TypedField<"string", string, {}>;
2285
- role: TypedField<"string", string, {}>;
2286
- accessToProjectIds: TypedField<"array", any[], {}>;
2287
- createdAt: TypedField<"date", Date, {}>;
2288
- accountId: TypedField<"belongsTo", AccountId, {}>;
2289
- inviterId: TypedField<"belongsTo", UserId, {}>;
2290
- }, {
2291
- account: RelationEntry<"account", {
2292
- readonly type: "belongsTo";
2293
- readonly fk: "accountId";
2294
- }>;
2295
- inviter: RelationEntry<"user", {
2296
- readonly type: "belongsTo";
2297
- readonly fk: "inviterId";
2298
- }>;
2299
- }, ["id"]>;
2300
- userInviteCode: ModelDesc<"userInviteCode", {
2301
- id: TypedField<"id", UserInviteCodeId, {}>;
2302
- token: TypedField<"string", string, {}>;
2303
- role: TypedField<"string", string, {}>;
2304
- useCount: TypedField<"string", string, {}>;
2305
- isActive: TypedField<"string", string, {}>;
2306
- accessToProjectIds: TypedField<"array", any[], {}>;
2307
- validUntil: TypedField<"date", Date, {}>;
2308
- createdAt: TypedField<"date", Date, {}>;
2309
- accountId: TypedField<"belongsTo", AccountId, {}>;
2310
- creatorId: TypedField<"belongsTo", UserId, {}>;
2311
- }, {
2312
- account: RelationEntry<"account", {
2313
- readonly type: "belongsTo";
2314
- readonly fk: "accountId";
2315
- }>;
2316
- creator: RelationEntry<"user", {
2317
- readonly type: "belongsTo";
2318
- readonly fk: "creatorId";
2319
- }>;
2320
- }, ["id"]>;
2321
- userOnboarding: ModelDesc<"userOnboarding", {
2322
- steps: TypedField<"obj", any, {}>;
2323
- userId: TypedField<"belongsTo", UserId, {}>;
2324
- }, {
2325
- user: RelationEntry<"user", {
2326
- readonly type: "belongsTo";
2327
- readonly fk: "userId";
2328
- }>;
2329
- }, ["userId"]>;
2330
- userProjectAccess: ModelDesc<"userProjectAccess", {
2331
- role: TypedField<"string", string, {}>;
2332
- projectRole: TypedField<"string", string, {}>;
2333
- userId: TypedField<"belongsTo", UserId, {}>;
2334
- projectId: TypedField<"belongsTo", ProjectId, {}>;
2335
- }, {
2336
- user: RelationEntry<"user", {
2337
- readonly type: "belongsTo";
2338
- readonly fk: "userId";
2339
- }>;
2340
- project: RelationEntry<"project", {
2341
- readonly type: "belongsTo";
2342
- readonly fk: "projectId";
2343
- }>;
2344
- }, ["projectId", "userId"]>;
2345
- userTag: ModelDesc<"userTag", {
2346
- id: TypedField<"id", UserTagId, {}>;
2347
- tag: TypedField<"string", string, {}>;
2348
- createdAt: TypedField<"date", Date, {}>;
2349
- userId: TypedField<"belongsTo", UserId, {}>;
2350
- accountId: TypedField<"belongsTo", AccountId, {}>;
2351
- }, {
2352
- user: RelationEntry<"user", {
2353
- readonly type: "belongsTo";
2354
- readonly fk: "userId";
2355
- }>;
2356
- account: RelationEntry<"account", {
2357
- readonly type: "belongsTo";
2358
- readonly fk: "accountId";
2359
- }>;
2360
- }, ["id"]>;
2361
- user: ModelDesc<"user", {
2362
- id: TypedField<"id", UserId, {}>;
2363
- name: TypedField<"string", string, {}>;
2364
- fullName: TypedField<"string", string, {
2365
- readonly optional: true;
2366
- }>;
2367
- timezone: TypedField<"string", string, {
2368
- readonly optional: true;
2369
- }>;
2370
- createdAt: TypedField<"date", Date, {}>;
2371
- hasPassword: TypedField<"bool", boolean, {}>;
2372
- showCardIdInTimer: TypedField<"bool", boolean, {}>;
2373
- disableMovingImages: TypedField<"bool", boolean, {}>;
2374
- autoMeFilterCardLimit: TypedField<"int", number, {
2375
- readonly optional: true;
2376
- }>;
2377
- isIntegration: TypedField<"bool", boolean, {}>;
2378
- statusColorPalette: TypedField<"string", string, {}>;
2379
- wantsNewsletter: TypedField<"bool", boolean, {
2380
- readonly optional: true;
2381
- }>;
2382
- wantsDailyDigestMail: TypedField<"bool", boolean, {
2383
- readonly optional: true;
2384
- }>;
2385
- wantsConvoDigestMail: TypedField<"bool", boolean, {
2386
- readonly optional: true;
2387
- }>;
2388
- disableAnimations: TypedField<"bool", boolean, {}>;
2389
- enableClickToEditCards: TypedField<"bool", boolean, {}>;
2390
- cdxRole: TypedField<"string", string, {}>;
2391
- profileImageId: TypedField<"belongsTo", FileId, {
2392
- readonly optional: true;
2393
- }>;
2394
- lastSeenReleaseId: TypedField<"belongsTo", ReleaseId, {}>;
2395
- }, {
2396
- profileImage: RelationEntry<"file", {
2397
- readonly type: "belongsTo";
2398
- readonly fk: "profileImageId";
2399
- }>;
2400
- lastSeenRelease: RelationEntry<"release", {
2401
- readonly type: "belongsTo";
2402
- readonly fk: "lastSeenReleaseId";
2403
- }>;
2404
- projectOrders: RelationEntry<"projectOrder", {
2405
- readonly type: "hasMany";
2406
- }>;
2407
- projectSelections: RelationEntry<"projectSelection", {
2408
- readonly type: "hasMany";
2409
- }>;
2410
- queueSelections: RelationEntry<"queueSelection", {
2411
- readonly type: "hasMany";
2412
- }>;
2413
- accountRoles: RelationEntry<"accountRole", {
2414
- readonly type: "hasMany";
2415
- }>;
2416
- cardDiffNotifications: RelationEntry<"cardDiffNotification", {
2417
- readonly type: "hasMany";
2418
- }>;
2419
- resolvableNotifications: RelationEntry<"resolvableNotification", {
2420
- readonly type: "hasMany";
2421
- }>;
2422
- publicProjectMembership: RelationEntry<"publicProjectMembership", {
2423
- readonly type: "hasMany";
2424
- }>;
2425
- lastSeenCardUpvotes: RelationEntry<"lastSeenCardUpvote", {
2426
- readonly type: "hasMany";
2427
- }>;
2428
- dueCards: RelationEntry<"dueCard", {
2429
- readonly type: "hasMany";
2430
- }>;
2431
- assigneeDeckAssignments: RelationEntry<"assigneeDeckAssignment", {
2432
- readonly type: "hasMany";
2433
- }>;
2434
- autoFinishedTimeTrackingSegments: RelationEntry<"autoFinishedTimeTrackingSegment", {
2435
- readonly type: "hasMany";
2436
- }>;
2437
- savedSearches: RelationEntry<"savedSearch", {
2438
- readonly type: "hasMany";
2439
- }>;
2440
- activities: RelationEntry<"activity", {
2441
- readonly type: "hasMany";
2442
- }>;
2443
- emails: RelationEntry<"userEmail", {
2444
- readonly type: "hasMany";
2445
- }>;
2446
- tags: RelationEntry<"userTag", {
2447
- readonly type: "hasMany";
2448
- }>;
2449
- unverifiedEmails: RelationEntry<"userEmail", {
2450
- readonly type: "hasMany";
2451
- }>;
2452
- primaryEmail: RelationEntry<"userEmail", {
2453
- readonly type: "hasOne";
2454
- }>;
2455
- pinnedMilestoneNext: RelationEntry<"pinnedMilestone", {
2456
- readonly type: "hasOne";
2457
- }>;
2458
- projectAccess: RelationEntry<"projectUser", {
2459
- readonly type: "hasMany";
2460
- }>;
2461
- explicitProjectAccess: RelationEntry<"projectUser", {
2462
- readonly type: "hasMany";
2463
- }>;
2464
- withProjectAccess: RelationEntry<"userProjectAccess", {
2465
- readonly type: "hasMany";
2466
- }>;
2467
- projectSettings: RelationEntry<"projectUserSetting", {
2468
- readonly type: "hasMany";
2469
- }>;
2470
- accountSettings: RelationEntry<"accountUserSetting", {
2471
- readonly type: "hasMany";
2472
- }>;
2473
- dismissedHints: RelationEntry<"userDismissedHint", {
2474
- readonly type: "hasMany";
2475
- }>;
2476
- slackIntegrations: RelationEntry<"integration", {
2477
- readonly type: "hasMany";
2478
- }>;
2479
- activeTimeTracker: RelationEntry<"activeTimeTracker", {
2480
- readonly type: "hasOne";
2481
- }>;
2482
- participations: RelationEntry<"resolvableParticipant", {
2483
- readonly type: "hasMany";
2484
- }>;
2485
- upvotes: RelationEntry<"cardUpvote", {
2486
- readonly type: "hasMany";
2487
- }>;
2488
- userOnboarding: RelationEntry<"userOnboarding", {
2489
- readonly type: "hasOne";
2490
- }>;
2491
- }, ["id"]>;
2492
- userReportEmail: ModelDesc<"userReportEmail", {
2493
- id: TypedField<"id", UserReportEmailId, {}>;
2494
- email: TypedField<"string", string, {}>;
2495
- createdAt: TypedField<"date", Date, {}>;
2496
- enabled: TypedField<"string", string, {}>;
2497
- userReportSettingId: TypedField<"belongsTo", UserReportSettingId, {}>;
2498
- accountId: TypedField<"belongsTo", AccountId, {}>;
2499
- }, {
2500
- userReportSetting: RelationEntry<"userReportSetting", {
2501
- readonly type: "belongsTo";
2502
- readonly fk: "userReportSettingId";
2503
- }>;
2504
- account: RelationEntry<"account", {
2505
- readonly type: "belongsTo";
2506
- readonly fk: "accountId";
2507
- }>;
2508
- }, ["id"]>;
2509
- userReportSetting: ModelDesc<"userReportSetting", {
2510
- id: TypedField<"id", UserReportSettingId, {}>;
2511
- name: TypedField<"string", string, {}>;
2512
- fileSizeBytesLimit: TypedField<"bigint", bigint, {}>;
2513
- createdAt: TypedField<"date", Date, {}>;
2514
- deckMapping: TypedField<"obj", any, {}>;
2515
- prioMapping: TypedField<"obj", any, {}>;
2516
- accountId: TypedField<"belongsTo", AccountId, {}>;
2517
- }, {
2518
- account: RelationEntry<"account", {
2519
- readonly type: "belongsTo";
2520
- readonly fk: "accountId";
2521
- }>;
2522
- reportTokens: RelationEntry<"userReportToken", {
2523
- readonly type: "hasMany";
2524
- }>;
2525
- }, ["id"]>;
2526
- userReportToken: ModelDesc<"userReportToken", {
2527
- token: TypedField<"id", UserReportTokenId, {}>;
2528
- label: TypedField<"string", string, {}>;
2529
- reportCount: TypedField<"int", number, {}>;
2530
- createdAt: TypedField<"date", Date, {}>;
2531
- enabled: TypedField<"string", string, {}>;
2532
- userReportSettingId: TypedField<"belongsTo", UserReportSettingId, {}>;
2533
- }, {
2534
- userReportSetting: RelationEntry<"userReportSetting", {
2535
- readonly type: "belongsTo";
2536
- readonly fk: "userReportSettingId";
2537
- }>;
2538
- }, ["token"]>;
2539
- visionBoardQuery: ModelDesc<"visionBoardQuery", {
2540
- id: TypedField<"id", VisionBoardQueryId, {}>;
2541
- query: TypedField<"obj", any, {}>;
2542
- lastUsedAt: TypedField<"date", Date, {}>;
2543
- isStale: TypedField<"bool", boolean, {}>;
2544
- type: TypedField<"string", string, {}>;
2545
- payload: TypedField<"obj", any, {}>;
2546
- createdAt: TypedField<"date", Date, {}>;
2547
- cardId: TypedField<"belongsTo", CardId, {}>;
2548
- accountId: TypedField<"belongsTo", AccountId, {}>;
2549
- }, {
2550
- card: RelationEntry<"card", {
2551
- readonly type: "belongsTo";
2552
- readonly fk: "cardId";
2553
- }>;
2554
- account: RelationEntry<"account", {
2555
- readonly type: "belongsTo";
2556
- readonly fk: "accountId";
2557
- }>;
2558
- }, ["id"]>;
2559
- visionBoard: ModelDesc<"visionBoard", {
2560
- id: TypedField<"id", VisionBoardId, {}>;
2561
- accountSeq: TypedField<"int", number, {}>;
2562
- createdAt: TypedField<"date", Date, {}>;
2563
- isDeleted: TypedField<"bool", boolean, {}>;
2564
- cardId: TypedField<"belongsTo", CardId, {}>;
2565
- accountId: TypedField<"belongsTo", AccountId, {}>;
2566
- creatorId: TypedField<"belongsTo", UserId, {}>;
2567
- }, {
2568
- card: RelationEntry<"card", {
2569
- readonly type: "belongsTo";
2570
- readonly fk: "cardId";
2571
- }>;
2572
- account: RelationEntry<"account", {
2573
- readonly type: "belongsTo";
2574
- readonly fk: "accountId";
2575
- }>;
2576
- creator: RelationEntry<"user", {
2577
- readonly type: "belongsTo";
2578
- readonly fk: "creatorId";
2579
- }>;
2580
- }, ["id"]>;
2581
- wizard: ModelDesc<"wizard", {
2582
- id: TypedField<"id", WizardId, {}>;
2583
- name: TypedField<"string", string, {}>;
2584
- currentStep: TypedField<"string", string, {}>;
2585
- data: TypedField<"obj", any, {}>;
2586
- createdAt: TypedField<"date", Date, {}>;
2587
- finishedAt: TypedField<"date", Date, {}>;
2588
- accountId: TypedField<"belongsTo", AccountId, {}>;
2589
- }, {
2590
- account: RelationEntry<"account", {
2591
- readonly type: "belongsTo";
2592
- readonly fk: "accountId";
2593
- }>;
2594
- }, ["id"]>;
2595
- workflowItemHistory: ModelDesc<"workflowItemHistory", {
2596
- diff: TypedField<"obj", any, {}>;
2597
- versionCreatedAt: TypedField<"date", Date, {}>;
2598
- version: TypedField<"int", number, {}>;
2599
- accountId: TypedField<"belongsTo", AccountId, {}>;
2600
- changerId: TypedField<"belongsTo", UserId, {}>;
2601
- }, {
2602
- account: RelationEntry<"account", {
2603
- readonly type: "belongsTo";
2604
- readonly fk: "accountId";
2605
- }>;
2606
- changer: RelationEntry<"user", {
2607
- readonly type: "belongsTo";
2608
- readonly fk: "changerId";
2609
- }>;
2610
- }, ["itemId", "version"]>;
2611
- workflowItem: ModelDesc<"workflowItem", {
2612
- itemId: TypedField<"id", WorkflowItemId, {}>;
2613
- version: TypedField<"string", string, {}>;
2614
- sortOrder: TypedField<"string", string, {}>;
2615
- sortValue: TypedField<"string", string, {}>;
2616
- priority: TypedField<"string", string, {
2617
- readonly optional: true;
2618
- }>;
2619
- content: TypedField<"string", string, {}>;
2620
- createdAt: TypedField<"date", Date, {}>;
2621
- lastUpdatedAt: TypedField<"date", Date, {}>;
2622
- tags: TypedField<"array", any[], {}>;
2623
- masterTags: TypedField<"array", any[], {}>;
2624
- mentionedUsers: TypedField<"array", any[], {}>;
2625
- title: TypedField<"string", string, {}>;
2626
- effort: TypedField<"int", number, {
2627
- readonly optional: true;
2628
- }>;
2629
- label: TypedField<"string", string, {
2630
- readonly optional: true;
2631
- }>;
2632
- checkboxStats: TypedField<"obj", any, {}>;
2633
- accountSeq: TypedField<"int", number, {}>;
2634
- checkboxInfo: TypedField<"array", any[], {}>;
2635
- visibility: TypedField<"string", string, {}>;
2636
- accountId: TypedField<"belongsTo", AccountId, {}>;
2637
- deckId: TypedField<"belongsTo", DeckId, {}>;
2638
- targetDeckId: TypedField<"belongsTo", DeckId, {
2639
- readonly optional: true;
2640
- }>;
2641
- assigneeId: TypedField<"belongsTo", UserId, {
2642
- readonly optional: true;
2643
- }>;
2644
- creatorId: TypedField<"belongsTo", UserId, {}>;
2645
- }, {
2646
- account: RelationEntry<"account", {
2647
- readonly type: "belongsTo";
2648
- readonly fk: "accountId";
2649
- }>;
2650
- deck: RelationEntry<"deck", {
2651
- readonly type: "belongsTo";
2652
- readonly fk: "deckId";
2653
- }>;
2654
- targetDeck: RelationEntry<"deck", {
2655
- readonly type: "belongsTo";
2656
- readonly fk: "targetDeckId";
2657
- }>;
2658
- assignee: RelationEntry<"user", {
2659
- readonly type: "belongsTo";
2660
- readonly fk: "assigneeId";
2661
- }>;
2662
- creator: RelationEntry<"user", {
2663
- readonly type: "belongsTo";
2664
- readonly fk: "creatorId";
2665
- }>;
2666
- diffs: RelationEntry<"workflowItemHistory", {
2667
- readonly type: "hasMany";
2668
- }>;
2669
- inDeps: RelationEntry<"workflowItem", {
2670
- readonly type: "hasMany";
2671
- readonly fkAsArray: true;
2672
- }>;
2673
- outDeps: RelationEntry<"workflowItem", {
2674
- readonly type: "hasMany";
2675
- readonly fkAsArray: true;
2676
- }>;
2677
- }, ["itemId"]>;
2678
- };
2679
- //#endregion
2680
- export { AccountId, AccountOnboardingStepId, ActiveTimeTrackerId, ActivityId, AffiliateCodeId, AppId, AppInstallationId, AttachmentId, CardId, CardPresetId, CardSubscriptionId, CardUpvoteId, DeckId, DeckSubscriptionId, DiscordGuildId, DiscordMemberId, DiscordProjectNotificationId, DiscordSlashCommandId, FileId, IntegrationId, InvoiceId, MilestoneId, PinnedMilestoneId, ProjectId, ProjectSelectionId, ProjectTagId, QueueEntryId, QueueSelectionId, ReleaseId, ResolvableEntryId, ResolvableEntryReactionId, ResolvableId, SavedSearchId, SprintConfigId, SprintId, TimeTrackingSegmentId, UserEmailId, UserId, UserInvitationId, UserInviteCodeId, UserReportEmailId, UserReportSettingId, UserReportTokenId, UserTagId, VisionBoardId, VisionBoardQueryId, WizardId, WorkflowItemId, modelMap as modelMap$1 };