@notidotbot/noti-api-client 1.4.12 → 1.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classes/guild.d.ts +27 -0
- package/dist/classes/guild.js +15 -0
- package/dist/core/manager.d.ts +2 -0
- package/dist/core/manager.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/other/zod/drops.zod.d.ts +21 -2
- package/dist/other/zod/drops.zod.js +3 -3
- package/dist/other/zod/guild.zod.d.ts +12 -0
- package/dist/other/zod/guild.zod.js +8 -0
- package/dist/other/zod/r2Storage.zod.d.ts +2 -0
- package/dist/other/zod/r2Storage.zod.js +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/prisma/generated/ts-prisma.d.ts +2803 -458
- package/prisma/schema/models/client.prisma +64 -64
- package/prisma/schema/models/drops.prisma +126 -126
- package/prisma/schema/models/giveaways.prisma +49 -49
- package/prisma/schema/models/guild.prisma +238 -224
- package/prisma/schema/models/kickStreamer.prisma +125 -125
- package/prisma/schema/models/member.prisma +5 -5
- package/prisma/schema/models/r2Storage.prisma +13 -11
- package/prisma/schema/models/rumbleStreamer.prisma +73 -73
- package/prisma/schema/models/starboard.prisma +36 -36
- package/prisma/schema/models/team.prisma +21 -21
- package/prisma/schema/models/tiktokStreamer.prisma +74 -74
- package/prisma/schema/models/twitchStreamer.prisma +74 -74
- package/prisma/schema/models/user.prisma +117 -117
- package/prisma/schema/models/youtubeStreamer.prisma +75 -75
|
@@ -1,371 +1,385 @@
|
|
|
1
1
|
model Guild {
|
|
2
|
-
|
|
2
|
+
dbId String @id @default(uuid())
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
guildId String @unique
|
|
5
|
+
locale String @default("en-US")
|
|
6
|
+
blacklisted Boolean?
|
|
7
|
+
leftAt DateTime?
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
premium GuildPremium?
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
bitfield String?
|
|
12
|
+
overrideBranding Boolean?
|
|
13
|
+
disableBranding GuildDisableBranding?
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
birthdayRoleId String?
|
|
16
|
+
birthdayChannelId String?
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
welcomeChannelId String?
|
|
19
|
+
leaveChannelId String?
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
birthdayEnabled Boolean?
|
|
22
|
+
welcomeEnabled Boolean?
|
|
23
|
+
leaveEnabled Boolean?
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
syncUsername Boolean?
|
|
26
|
+
vodDownloadStoreForHours Int?
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
disableDoubleVoteEntry Boolean?
|
|
29
|
+
giveawayLogsChannelId String?
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
randomMessages GuildRandomMessage[]
|
|
32
32
|
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
autoLiveRoleLogs String?
|
|
34
|
+
autoLiveRoles GuildAutoLiveRole[]
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
statusRoleLogs String?
|
|
37
|
+
statusRoles GuildStatusRole[]
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
linkedRoleLogs String?
|
|
40
|
+
linkedRoles GuildLinkedRole[]
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
notificationOverrides GuildNotificationOverride[]
|
|
43
|
+
ignoreIfNotCatchedByOverride Boolean?
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
singleMessages GuildCustomSingleMessage[]
|
|
46
|
+
messages GuildCustomMessage[]
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
stickyMessages GuildStickyMessage[]
|
|
49
|
+
stickyMessageDelaySeconds Int? @default(10)
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
gettingStarted GuildGettingStarted?
|
|
52
|
+
|
|
53
|
+
customBotProfile GuildCustomBotProfile?
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
model GuildCustomBotProfile {
|
|
57
|
+
dbId String @id @default(uuid())
|
|
58
|
+
|
|
59
|
+
nick String?
|
|
60
|
+
bio String?
|
|
61
|
+
avatarKey String?
|
|
62
|
+
bannerKey String?
|
|
63
|
+
|
|
64
|
+
guildId String @unique
|
|
65
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
52
66
|
}
|
|
53
67
|
|
|
54
68
|
model GuildPremium {
|
|
55
|
-
|
|
69
|
+
dbId String @id @default(uuid())
|
|
56
70
|
|
|
57
|
-
|
|
71
|
+
tier String
|
|
58
72
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
73
|
+
additionalStickyMessages Int @default(0)
|
|
74
|
+
additionalAutoLiveRoles Int @default(0)
|
|
75
|
+
additionalLinkedRoles Int @default(0)
|
|
76
|
+
additionalStatusRoles Int @default(0)
|
|
77
|
+
additionalStarboards Int @default(0)
|
|
78
|
+
additionalOverrides Int @default(0)
|
|
65
79
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
80
|
+
additionalKickConnections Int @default(0)
|
|
81
|
+
additionalRumbleConnections Int @default(0)
|
|
82
|
+
additionalTwitchConnections Int @default(0)
|
|
83
|
+
additionalYoutubeConnections Int @default(0)
|
|
84
|
+
additionalTiktokConnections Int @default(0)
|
|
71
85
|
|
|
72
|
-
|
|
86
|
+
customBot Boolean @default(false)
|
|
73
87
|
|
|
74
|
-
|
|
75
|
-
|
|
88
|
+
guildId String @unique
|
|
89
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
76
90
|
}
|
|
77
91
|
|
|
78
92
|
model GuildDisableBranding {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
dbId String @id @default(uuid())
|
|
94
|
+
|
|
95
|
+
stickyMessage Boolean?
|
|
96
|
+
watchOnButton Boolean?
|
|
97
|
+
notifications Boolean?
|
|
98
|
+
welcomeLeave Boolean?
|
|
99
|
+
leaderboard Boolean?
|
|
100
|
+
linkedRoles Boolean?
|
|
101
|
+
giveaways Boolean?
|
|
102
|
+
starboard Boolean?
|
|
103
|
+
birthday Boolean?
|
|
104
|
+
clips Boolean?
|
|
105
|
+
vods Boolean?
|
|
106
|
+
|
|
107
|
+
guildId String @unique
|
|
108
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
95
109
|
}
|
|
96
110
|
|
|
97
111
|
model GuildRandomMessage {
|
|
98
|
-
|
|
112
|
+
dbId String @id @default(uuid())
|
|
99
113
|
|
|
100
|
-
|
|
101
|
-
|
|
114
|
+
type GuildMessageTypeEnum
|
|
115
|
+
messages String[]
|
|
102
116
|
|
|
103
|
-
|
|
104
|
-
|
|
117
|
+
guildId String
|
|
118
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
105
119
|
|
|
106
|
-
|
|
120
|
+
@@unique([guildId, type])
|
|
107
121
|
}
|
|
108
122
|
|
|
109
123
|
model GuildAutoLiveRole {
|
|
110
|
-
|
|
124
|
+
dbId String @id @default(uuid())
|
|
111
125
|
|
|
112
|
-
|
|
113
|
-
|
|
126
|
+
roleId String
|
|
127
|
+
filter GuildAutoLiveRoleFilter?
|
|
114
128
|
|
|
115
|
-
|
|
116
|
-
|
|
129
|
+
guildId String
|
|
130
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
117
131
|
|
|
118
|
-
|
|
132
|
+
@@unique([guildId, roleId])
|
|
119
133
|
}
|
|
120
134
|
|
|
121
135
|
model GuildAutoLiveRoleFilter {
|
|
122
|
-
|
|
136
|
+
dbId String @id @default(uuid())
|
|
123
137
|
|
|
124
|
-
|
|
125
|
-
|
|
138
|
+
mode FilterEnum
|
|
139
|
+
roles String[]
|
|
126
140
|
|
|
127
|
-
|
|
128
|
-
|
|
141
|
+
guildAutoLiveRoleId String @unique
|
|
142
|
+
guildAutoLiveRole GuildAutoLiveRole? @relation(fields: [guildAutoLiveRoleId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
129
143
|
}
|
|
130
144
|
|
|
131
145
|
model GuildStatusRole {
|
|
132
|
-
|
|
146
|
+
dbId String @id @default(uuid())
|
|
133
147
|
|
|
134
|
-
|
|
135
|
-
|
|
148
|
+
texts String[]
|
|
149
|
+
roleId String
|
|
136
150
|
|
|
137
|
-
|
|
151
|
+
keepOnOffline Boolean? @default(true)
|
|
138
152
|
|
|
139
|
-
|
|
153
|
+
filter GuildStatusRoleFilter?
|
|
140
154
|
|
|
141
|
-
|
|
142
|
-
|
|
155
|
+
guildId String
|
|
156
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
143
157
|
|
|
144
|
-
|
|
158
|
+
@@unique([guildId, roleId])
|
|
145
159
|
}
|
|
146
160
|
|
|
147
161
|
model GuildStatusRoleFilter {
|
|
148
|
-
|
|
162
|
+
dbId String @id @default(uuid())
|
|
149
163
|
|
|
150
|
-
|
|
151
|
-
|
|
164
|
+
mode FilterEnum
|
|
165
|
+
roles String[]
|
|
152
166
|
|
|
153
|
-
|
|
154
|
-
|
|
167
|
+
guildStatusRoleId String @unique
|
|
168
|
+
guildStatusRole GuildStatusRole? @relation(fields: [guildStatusRoleId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
155
169
|
}
|
|
156
170
|
|
|
157
171
|
model GuildLinkedRole {
|
|
158
|
-
|
|
172
|
+
dbId String @id @default(uuid())
|
|
159
173
|
|
|
160
|
-
|
|
174
|
+
roleId String
|
|
161
175
|
|
|
162
|
-
|
|
163
|
-
|
|
176
|
+
onAddRolesToAdd String[]
|
|
177
|
+
onAddRolesToRemove String[]
|
|
164
178
|
|
|
165
|
-
|
|
166
|
-
|
|
179
|
+
onRemoveRolesToAdd String[]
|
|
180
|
+
onRemoveRolesToRemove String[]
|
|
167
181
|
|
|
168
|
-
|
|
169
|
-
|
|
182
|
+
guildId String
|
|
183
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
170
184
|
|
|
171
|
-
|
|
185
|
+
@@unique([guildId, roleId])
|
|
172
186
|
}
|
|
173
187
|
|
|
174
188
|
model GuildNotificationOverride {
|
|
175
|
-
|
|
189
|
+
dbId String @id @default(uuid())
|
|
176
190
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
191
|
+
query String[]
|
|
192
|
+
queryIn QueryInEnum[]
|
|
193
|
+
applyTo PlatformEnum[]
|
|
180
194
|
|
|
181
|
-
|
|
195
|
+
durationMinutes Int?
|
|
182
196
|
|
|
183
|
-
|
|
184
|
-
|
|
197
|
+
overrideChannelId String?
|
|
198
|
+
overridePingRoleId String?
|
|
185
199
|
|
|
186
|
-
|
|
187
|
-
|
|
200
|
+
priorityOnConflict Int
|
|
201
|
+
actions OverridesEnum[]
|
|
188
202
|
|
|
189
|
-
|
|
190
|
-
|
|
203
|
+
guildId String
|
|
204
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
191
205
|
|
|
192
|
-
|
|
206
|
+
@@unique([guildId, priorityOnConflict])
|
|
193
207
|
}
|
|
194
208
|
|
|
195
209
|
model GuildCustomSingleMessage {
|
|
196
|
-
|
|
210
|
+
dbId String @id @default(uuid())
|
|
197
211
|
|
|
198
|
-
|
|
199
|
-
|
|
212
|
+
type GuildSingleMessageTypeEnum
|
|
213
|
+
message String? @db.VarChar(100)
|
|
200
214
|
|
|
201
|
-
|
|
215
|
+
webhook GuildSingleMessageWebhook?
|
|
202
216
|
|
|
203
|
-
|
|
204
|
-
|
|
217
|
+
guildId String
|
|
218
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
205
219
|
|
|
206
|
-
|
|
220
|
+
@@unique([guildId, type])
|
|
207
221
|
}
|
|
208
222
|
|
|
209
223
|
model GuildSingleMessageWebhook {
|
|
210
|
-
|
|
224
|
+
dbId String @id @default(uuid())
|
|
211
225
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
226
|
+
enabled Boolean?
|
|
227
|
+
username String?
|
|
228
|
+
avatarUrl String?
|
|
215
229
|
|
|
216
|
-
|
|
217
|
-
|
|
230
|
+
guildCustomSingleMessageId String @unique
|
|
231
|
+
guildCustomSingleMessage GuildCustomSingleMessage? @relation(fields: [guildCustomSingleMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
218
232
|
}
|
|
219
233
|
|
|
220
234
|
model GuildCustomMessage {
|
|
221
|
-
|
|
235
|
+
dbId String @id @default(uuid())
|
|
222
236
|
|
|
223
|
-
|
|
224
|
-
|
|
237
|
+
type GuildMessageTypeEnum
|
|
238
|
+
content String? @db.VarChar(2000)
|
|
225
239
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
240
|
+
embed GuildMessageEmbed?
|
|
241
|
+
buttons GuildMessageButton[]
|
|
242
|
+
webhook GuildMessageWebhook?
|
|
229
243
|
|
|
230
|
-
|
|
231
|
-
|
|
244
|
+
guildId String
|
|
245
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
232
246
|
|
|
233
|
-
|
|
247
|
+
@@unique([guildId, type])
|
|
234
248
|
}
|
|
235
249
|
|
|
236
250
|
model GuildMessageEmbed {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
dbId String @id @default(uuid())
|
|
252
|
+
|
|
253
|
+
title String? @db.VarChar(256)
|
|
254
|
+
url String?
|
|
255
|
+
description String @db.VarChar(2048)
|
|
256
|
+
color String? @db.VarChar(10)
|
|
257
|
+
footer String? @db.VarChar(1024)
|
|
258
|
+
footerIcon String?
|
|
259
|
+
image String?
|
|
260
|
+
thumbnail String?
|
|
261
|
+
author String? @db.VarChar(256)
|
|
262
|
+
authorIcon String?
|
|
263
|
+
fields GuildEmbedField[]
|
|
264
|
+
|
|
265
|
+
guildCustomMessageId String @unique
|
|
266
|
+
guildCustomMessage GuildCustomMessage? @relation(fields: [guildCustomMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
253
267
|
}
|
|
254
268
|
|
|
255
269
|
model GuildEmbedField {
|
|
256
|
-
|
|
270
|
+
dbId String @id @default(uuid())
|
|
257
271
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
272
|
+
name String @db.VarChar(256)
|
|
273
|
+
value String? @db.VarChar(1024)
|
|
274
|
+
inline Boolean?
|
|
261
275
|
|
|
262
|
-
|
|
263
|
-
|
|
276
|
+
guildMessageEmbedId String
|
|
277
|
+
guildMessageEmbed GuildMessageEmbed? @relation(fields: [guildMessageEmbedId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
264
278
|
}
|
|
265
279
|
|
|
266
280
|
model GuildMessageButton {
|
|
267
|
-
|
|
281
|
+
dbId String @id @default(uuid())
|
|
268
282
|
|
|
269
|
-
|
|
270
|
-
|
|
283
|
+
title String @db.VarChar(80)
|
|
284
|
+
url String?
|
|
271
285
|
|
|
272
|
-
|
|
286
|
+
emojiUnicodeOrId String?
|
|
273
287
|
|
|
274
|
-
|
|
275
|
-
|
|
288
|
+
guildCustomMessageId String
|
|
289
|
+
guildCustomMessage GuildCustomMessage? @relation(fields: [guildCustomMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
276
290
|
}
|
|
277
291
|
|
|
278
292
|
model GuildMessageWebhook {
|
|
279
|
-
|
|
293
|
+
dbId String @id @default(uuid())
|
|
280
294
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
295
|
+
enabled Boolean?
|
|
296
|
+
username String?
|
|
297
|
+
avatarUrl String?
|
|
284
298
|
|
|
285
|
-
|
|
286
|
-
|
|
299
|
+
guildCustomMessageId String @unique
|
|
300
|
+
guildCustomMessage GuildCustomMessage? @relation(fields: [guildCustomMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
287
301
|
}
|
|
288
302
|
|
|
289
303
|
model GuildStickyMessage {
|
|
290
|
-
|
|
304
|
+
dbId String @id @default(uuid())
|
|
291
305
|
|
|
292
|
-
|
|
293
|
-
|
|
306
|
+
channelId String
|
|
307
|
+
messageId String?
|
|
294
308
|
|
|
295
|
-
|
|
309
|
+
content String? @db.VarChar(2000)
|
|
296
310
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
311
|
+
embed GuildStickyMessageEmbed?
|
|
312
|
+
buttons GuildStickyMessageButton[]
|
|
313
|
+
webhook GuildStickyMessageWebhook?
|
|
300
314
|
|
|
301
|
-
|
|
302
|
-
|
|
315
|
+
guildId String
|
|
316
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
303
317
|
|
|
304
|
-
|
|
318
|
+
@@unique([guildId, channelId])
|
|
305
319
|
}
|
|
306
320
|
|
|
307
321
|
model GuildStickyMessageEmbed {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
322
|
+
dbId String @id @default(uuid())
|
|
323
|
+
|
|
324
|
+
title String? @db.VarChar(256)
|
|
325
|
+
url String?
|
|
326
|
+
description String @db.VarChar(2048)
|
|
327
|
+
color String? @db.VarChar(10)
|
|
328
|
+
footer String? @db.VarChar(1024)
|
|
329
|
+
footerIcon String?
|
|
330
|
+
image String?
|
|
331
|
+
thumbnail String?
|
|
332
|
+
author String? @db.VarChar(256)
|
|
333
|
+
authorIcon String?
|
|
334
|
+
fields GuildStickyEmbedField[]
|
|
335
|
+
|
|
336
|
+
guildStickyMessageId String @unique
|
|
337
|
+
guildStickyMessage GuildStickyMessage? @relation(fields: [guildStickyMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
324
338
|
}
|
|
325
339
|
|
|
326
340
|
model GuildStickyEmbedField {
|
|
327
|
-
|
|
341
|
+
dbId String @id @default(uuid())
|
|
328
342
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
343
|
+
name String @db.VarChar(256)
|
|
344
|
+
value String? @db.VarChar(1024)
|
|
345
|
+
inline Boolean?
|
|
332
346
|
|
|
333
|
-
|
|
334
|
-
|
|
347
|
+
guildStickyMessageEmbedId String
|
|
348
|
+
guildStickyMessageEmbed GuildStickyMessageEmbed? @relation(fields: [guildStickyMessageEmbedId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
335
349
|
}
|
|
336
350
|
|
|
337
351
|
model GuildStickyMessageButton {
|
|
338
|
-
|
|
352
|
+
dbId String @id @default(uuid())
|
|
339
353
|
|
|
340
|
-
|
|
341
|
-
|
|
354
|
+
title String @db.VarChar(80)
|
|
355
|
+
url String?
|
|
342
356
|
|
|
343
|
-
|
|
357
|
+
emojiUnicodeOrId String?
|
|
344
358
|
|
|
345
|
-
|
|
346
|
-
|
|
359
|
+
guildStickyMessageId String
|
|
360
|
+
guildStickyMessage GuildStickyMessage? @relation(fields: [guildStickyMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
347
361
|
}
|
|
348
362
|
|
|
349
363
|
model GuildStickyMessageWebhook {
|
|
350
|
-
|
|
364
|
+
dbId String @id @default(uuid())
|
|
351
365
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
366
|
+
enabled Boolean?
|
|
367
|
+
username String?
|
|
368
|
+
avatarUrl String?
|
|
355
369
|
|
|
356
|
-
|
|
357
|
-
|
|
370
|
+
guildStickyMessageId String @unique
|
|
371
|
+
guildStickyMessage GuildStickyMessage? @relation(fields: [guildStickyMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
358
372
|
}
|
|
359
373
|
|
|
360
374
|
model GuildGettingStarted {
|
|
361
|
-
|
|
375
|
+
dbId String @id @default(uuid())
|
|
362
376
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
377
|
+
didSetupBirthday Boolean?
|
|
378
|
+
didSetupFirstContentCreator Boolean?
|
|
379
|
+
didBuyPremium Boolean?
|
|
366
380
|
|
|
367
|
-
|
|
381
|
+
didDismissGuildAds Boolean?
|
|
368
382
|
|
|
369
|
-
|
|
370
|
-
|
|
383
|
+
guildId String @unique
|
|
384
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
371
385
|
}
|