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