@notidotbot/noti-api-client 1.4.12 → 1.4.14
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 +29 -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 +14 -0
- package/dist/other/zod/guild.zod.js +9 -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 +239 -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,386 @@
|
|
|
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
|
+
enabled Boolean @default(true)
|
|
60
|
+
nick String?
|
|
61
|
+
bio String?
|
|
62
|
+
avatarKey String?
|
|
63
|
+
bannerKey String?
|
|
64
|
+
|
|
65
|
+
guildId String @unique
|
|
66
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
52
67
|
}
|
|
53
68
|
|
|
54
69
|
model GuildPremium {
|
|
55
|
-
|
|
70
|
+
dbId String @id @default(uuid())
|
|
56
71
|
|
|
57
|
-
|
|
72
|
+
tier String
|
|
58
73
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
74
|
+
additionalStickyMessages Int @default(0)
|
|
75
|
+
additionalAutoLiveRoles Int @default(0)
|
|
76
|
+
additionalLinkedRoles Int @default(0)
|
|
77
|
+
additionalStatusRoles Int @default(0)
|
|
78
|
+
additionalStarboards Int @default(0)
|
|
79
|
+
additionalOverrides Int @default(0)
|
|
65
80
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
81
|
+
additionalKickConnections Int @default(0)
|
|
82
|
+
additionalRumbleConnections Int @default(0)
|
|
83
|
+
additionalTwitchConnections Int @default(0)
|
|
84
|
+
additionalYoutubeConnections Int @default(0)
|
|
85
|
+
additionalTiktokConnections Int @default(0)
|
|
71
86
|
|
|
72
|
-
|
|
87
|
+
customBot Boolean @default(false)
|
|
73
88
|
|
|
74
|
-
|
|
75
|
-
|
|
89
|
+
guildId String @unique
|
|
90
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
76
91
|
}
|
|
77
92
|
|
|
78
93
|
model GuildDisableBranding {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
dbId String @id @default(uuid())
|
|
95
|
+
|
|
96
|
+
stickyMessage Boolean?
|
|
97
|
+
watchOnButton Boolean?
|
|
98
|
+
notifications Boolean?
|
|
99
|
+
welcomeLeave Boolean?
|
|
100
|
+
leaderboard Boolean?
|
|
101
|
+
linkedRoles Boolean?
|
|
102
|
+
giveaways Boolean?
|
|
103
|
+
starboard Boolean?
|
|
104
|
+
birthday Boolean?
|
|
105
|
+
clips Boolean?
|
|
106
|
+
vods Boolean?
|
|
107
|
+
|
|
108
|
+
guildId String @unique
|
|
109
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
95
110
|
}
|
|
96
111
|
|
|
97
112
|
model GuildRandomMessage {
|
|
98
|
-
|
|
113
|
+
dbId String @id @default(uuid())
|
|
99
114
|
|
|
100
|
-
|
|
101
|
-
|
|
115
|
+
type GuildMessageTypeEnum
|
|
116
|
+
messages String[]
|
|
102
117
|
|
|
103
|
-
|
|
104
|
-
|
|
118
|
+
guildId String
|
|
119
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
105
120
|
|
|
106
|
-
|
|
121
|
+
@@unique([guildId, type])
|
|
107
122
|
}
|
|
108
123
|
|
|
109
124
|
model GuildAutoLiveRole {
|
|
110
|
-
|
|
125
|
+
dbId String @id @default(uuid())
|
|
111
126
|
|
|
112
|
-
|
|
113
|
-
|
|
127
|
+
roleId String
|
|
128
|
+
filter GuildAutoLiveRoleFilter?
|
|
114
129
|
|
|
115
|
-
|
|
116
|
-
|
|
130
|
+
guildId String
|
|
131
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
117
132
|
|
|
118
|
-
|
|
133
|
+
@@unique([guildId, roleId])
|
|
119
134
|
}
|
|
120
135
|
|
|
121
136
|
model GuildAutoLiveRoleFilter {
|
|
122
|
-
|
|
137
|
+
dbId String @id @default(uuid())
|
|
123
138
|
|
|
124
|
-
|
|
125
|
-
|
|
139
|
+
mode FilterEnum
|
|
140
|
+
roles String[]
|
|
126
141
|
|
|
127
|
-
|
|
128
|
-
|
|
142
|
+
guildAutoLiveRoleId String @unique
|
|
143
|
+
guildAutoLiveRole GuildAutoLiveRole? @relation(fields: [guildAutoLiveRoleId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
129
144
|
}
|
|
130
145
|
|
|
131
146
|
model GuildStatusRole {
|
|
132
|
-
|
|
147
|
+
dbId String @id @default(uuid())
|
|
133
148
|
|
|
134
|
-
|
|
135
|
-
|
|
149
|
+
texts String[]
|
|
150
|
+
roleId String
|
|
136
151
|
|
|
137
|
-
|
|
152
|
+
keepOnOffline Boolean? @default(true)
|
|
138
153
|
|
|
139
|
-
|
|
154
|
+
filter GuildStatusRoleFilter?
|
|
140
155
|
|
|
141
|
-
|
|
142
|
-
|
|
156
|
+
guildId String
|
|
157
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
143
158
|
|
|
144
|
-
|
|
159
|
+
@@unique([guildId, roleId])
|
|
145
160
|
}
|
|
146
161
|
|
|
147
162
|
model GuildStatusRoleFilter {
|
|
148
|
-
|
|
163
|
+
dbId String @id @default(uuid())
|
|
149
164
|
|
|
150
|
-
|
|
151
|
-
|
|
165
|
+
mode FilterEnum
|
|
166
|
+
roles String[]
|
|
152
167
|
|
|
153
|
-
|
|
154
|
-
|
|
168
|
+
guildStatusRoleId String @unique
|
|
169
|
+
guildStatusRole GuildStatusRole? @relation(fields: [guildStatusRoleId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
155
170
|
}
|
|
156
171
|
|
|
157
172
|
model GuildLinkedRole {
|
|
158
|
-
|
|
173
|
+
dbId String @id @default(uuid())
|
|
159
174
|
|
|
160
|
-
|
|
175
|
+
roleId String
|
|
161
176
|
|
|
162
|
-
|
|
163
|
-
|
|
177
|
+
onAddRolesToAdd String[]
|
|
178
|
+
onAddRolesToRemove String[]
|
|
164
179
|
|
|
165
|
-
|
|
166
|
-
|
|
180
|
+
onRemoveRolesToAdd String[]
|
|
181
|
+
onRemoveRolesToRemove String[]
|
|
167
182
|
|
|
168
|
-
|
|
169
|
-
|
|
183
|
+
guildId String
|
|
184
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
170
185
|
|
|
171
|
-
|
|
186
|
+
@@unique([guildId, roleId])
|
|
172
187
|
}
|
|
173
188
|
|
|
174
189
|
model GuildNotificationOverride {
|
|
175
|
-
|
|
190
|
+
dbId String @id @default(uuid())
|
|
176
191
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
192
|
+
query String[]
|
|
193
|
+
queryIn QueryInEnum[]
|
|
194
|
+
applyTo PlatformEnum[]
|
|
180
195
|
|
|
181
|
-
|
|
196
|
+
durationMinutes Int?
|
|
182
197
|
|
|
183
|
-
|
|
184
|
-
|
|
198
|
+
overrideChannelId String?
|
|
199
|
+
overridePingRoleId String?
|
|
185
200
|
|
|
186
|
-
|
|
187
|
-
|
|
201
|
+
priorityOnConflict Int
|
|
202
|
+
actions OverridesEnum[]
|
|
188
203
|
|
|
189
|
-
|
|
190
|
-
|
|
204
|
+
guildId String
|
|
205
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
191
206
|
|
|
192
|
-
|
|
207
|
+
@@unique([guildId, priorityOnConflict])
|
|
193
208
|
}
|
|
194
209
|
|
|
195
210
|
model GuildCustomSingleMessage {
|
|
196
|
-
|
|
211
|
+
dbId String @id @default(uuid())
|
|
197
212
|
|
|
198
|
-
|
|
199
|
-
|
|
213
|
+
type GuildSingleMessageTypeEnum
|
|
214
|
+
message String? @db.VarChar(100)
|
|
200
215
|
|
|
201
|
-
|
|
216
|
+
webhook GuildSingleMessageWebhook?
|
|
202
217
|
|
|
203
|
-
|
|
204
|
-
|
|
218
|
+
guildId String
|
|
219
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
205
220
|
|
|
206
|
-
|
|
221
|
+
@@unique([guildId, type])
|
|
207
222
|
}
|
|
208
223
|
|
|
209
224
|
model GuildSingleMessageWebhook {
|
|
210
|
-
|
|
225
|
+
dbId String @id @default(uuid())
|
|
211
226
|
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
227
|
+
enabled Boolean?
|
|
228
|
+
username String?
|
|
229
|
+
avatarUrl String?
|
|
215
230
|
|
|
216
|
-
|
|
217
|
-
|
|
231
|
+
guildCustomSingleMessageId String @unique
|
|
232
|
+
guildCustomSingleMessage GuildCustomSingleMessage? @relation(fields: [guildCustomSingleMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
218
233
|
}
|
|
219
234
|
|
|
220
235
|
model GuildCustomMessage {
|
|
221
|
-
|
|
236
|
+
dbId String @id @default(uuid())
|
|
222
237
|
|
|
223
|
-
|
|
224
|
-
|
|
238
|
+
type GuildMessageTypeEnum
|
|
239
|
+
content String? @db.VarChar(2000)
|
|
225
240
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
241
|
+
embed GuildMessageEmbed?
|
|
242
|
+
buttons GuildMessageButton[]
|
|
243
|
+
webhook GuildMessageWebhook?
|
|
229
244
|
|
|
230
|
-
|
|
231
|
-
|
|
245
|
+
guildId String
|
|
246
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
232
247
|
|
|
233
|
-
|
|
248
|
+
@@unique([guildId, type])
|
|
234
249
|
}
|
|
235
250
|
|
|
236
251
|
model GuildMessageEmbed {
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
252
|
+
dbId String @id @default(uuid())
|
|
253
|
+
|
|
254
|
+
title String? @db.VarChar(256)
|
|
255
|
+
url String?
|
|
256
|
+
description String @db.VarChar(2048)
|
|
257
|
+
color String? @db.VarChar(10)
|
|
258
|
+
footer String? @db.VarChar(1024)
|
|
259
|
+
footerIcon String?
|
|
260
|
+
image String?
|
|
261
|
+
thumbnail String?
|
|
262
|
+
author String? @db.VarChar(256)
|
|
263
|
+
authorIcon String?
|
|
264
|
+
fields GuildEmbedField[]
|
|
265
|
+
|
|
266
|
+
guildCustomMessageId String @unique
|
|
267
|
+
guildCustomMessage GuildCustomMessage? @relation(fields: [guildCustomMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
253
268
|
}
|
|
254
269
|
|
|
255
270
|
model GuildEmbedField {
|
|
256
|
-
|
|
271
|
+
dbId String @id @default(uuid())
|
|
257
272
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
273
|
+
name String @db.VarChar(256)
|
|
274
|
+
value String? @db.VarChar(1024)
|
|
275
|
+
inline Boolean?
|
|
261
276
|
|
|
262
|
-
|
|
263
|
-
|
|
277
|
+
guildMessageEmbedId String
|
|
278
|
+
guildMessageEmbed GuildMessageEmbed? @relation(fields: [guildMessageEmbedId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
264
279
|
}
|
|
265
280
|
|
|
266
281
|
model GuildMessageButton {
|
|
267
|
-
|
|
282
|
+
dbId String @id @default(uuid())
|
|
268
283
|
|
|
269
|
-
|
|
270
|
-
|
|
284
|
+
title String @db.VarChar(80)
|
|
285
|
+
url String?
|
|
271
286
|
|
|
272
|
-
|
|
287
|
+
emojiUnicodeOrId String?
|
|
273
288
|
|
|
274
|
-
|
|
275
|
-
|
|
289
|
+
guildCustomMessageId String
|
|
290
|
+
guildCustomMessage GuildCustomMessage? @relation(fields: [guildCustomMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
276
291
|
}
|
|
277
292
|
|
|
278
293
|
model GuildMessageWebhook {
|
|
279
|
-
|
|
294
|
+
dbId String @id @default(uuid())
|
|
280
295
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
296
|
+
enabled Boolean?
|
|
297
|
+
username String?
|
|
298
|
+
avatarUrl String?
|
|
284
299
|
|
|
285
|
-
|
|
286
|
-
|
|
300
|
+
guildCustomMessageId String @unique
|
|
301
|
+
guildCustomMessage GuildCustomMessage? @relation(fields: [guildCustomMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
287
302
|
}
|
|
288
303
|
|
|
289
304
|
model GuildStickyMessage {
|
|
290
|
-
|
|
305
|
+
dbId String @id @default(uuid())
|
|
291
306
|
|
|
292
|
-
|
|
293
|
-
|
|
307
|
+
channelId String
|
|
308
|
+
messageId String?
|
|
294
309
|
|
|
295
|
-
|
|
310
|
+
content String? @db.VarChar(2000)
|
|
296
311
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
312
|
+
embed GuildStickyMessageEmbed?
|
|
313
|
+
buttons GuildStickyMessageButton[]
|
|
314
|
+
webhook GuildStickyMessageWebhook?
|
|
300
315
|
|
|
301
|
-
|
|
302
|
-
|
|
316
|
+
guildId String
|
|
317
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
303
318
|
|
|
304
|
-
|
|
319
|
+
@@unique([guildId, channelId])
|
|
305
320
|
}
|
|
306
321
|
|
|
307
322
|
model GuildStickyMessageEmbed {
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
323
|
+
dbId String @id @default(uuid())
|
|
324
|
+
|
|
325
|
+
title String? @db.VarChar(256)
|
|
326
|
+
url String?
|
|
327
|
+
description String @db.VarChar(2048)
|
|
328
|
+
color String? @db.VarChar(10)
|
|
329
|
+
footer String? @db.VarChar(1024)
|
|
330
|
+
footerIcon String?
|
|
331
|
+
image String?
|
|
332
|
+
thumbnail String?
|
|
333
|
+
author String? @db.VarChar(256)
|
|
334
|
+
authorIcon String?
|
|
335
|
+
fields GuildStickyEmbedField[]
|
|
336
|
+
|
|
337
|
+
guildStickyMessageId String @unique
|
|
338
|
+
guildStickyMessage GuildStickyMessage? @relation(fields: [guildStickyMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
324
339
|
}
|
|
325
340
|
|
|
326
341
|
model GuildStickyEmbedField {
|
|
327
|
-
|
|
342
|
+
dbId String @id @default(uuid())
|
|
328
343
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
344
|
+
name String @db.VarChar(256)
|
|
345
|
+
value String? @db.VarChar(1024)
|
|
346
|
+
inline Boolean?
|
|
332
347
|
|
|
333
|
-
|
|
334
|
-
|
|
348
|
+
guildStickyMessageEmbedId String
|
|
349
|
+
guildStickyMessageEmbed GuildStickyMessageEmbed? @relation(fields: [guildStickyMessageEmbedId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
335
350
|
}
|
|
336
351
|
|
|
337
352
|
model GuildStickyMessageButton {
|
|
338
|
-
|
|
353
|
+
dbId String @id @default(uuid())
|
|
339
354
|
|
|
340
|
-
|
|
341
|
-
|
|
355
|
+
title String @db.VarChar(80)
|
|
356
|
+
url String?
|
|
342
357
|
|
|
343
|
-
|
|
358
|
+
emojiUnicodeOrId String?
|
|
344
359
|
|
|
345
|
-
|
|
346
|
-
|
|
360
|
+
guildStickyMessageId String
|
|
361
|
+
guildStickyMessage GuildStickyMessage? @relation(fields: [guildStickyMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
347
362
|
}
|
|
348
363
|
|
|
349
364
|
model GuildStickyMessageWebhook {
|
|
350
|
-
|
|
365
|
+
dbId String @id @default(uuid())
|
|
351
366
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
367
|
+
enabled Boolean?
|
|
368
|
+
username String?
|
|
369
|
+
avatarUrl String?
|
|
355
370
|
|
|
356
|
-
|
|
357
|
-
|
|
371
|
+
guildStickyMessageId String @unique
|
|
372
|
+
guildStickyMessage GuildStickyMessage? @relation(fields: [guildStickyMessageId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
358
373
|
}
|
|
359
374
|
|
|
360
375
|
model GuildGettingStarted {
|
|
361
|
-
|
|
376
|
+
dbId String @id @default(uuid())
|
|
362
377
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
378
|
+
didSetupBirthday Boolean?
|
|
379
|
+
didSetupFirstContentCreator Boolean?
|
|
380
|
+
didBuyPremium Boolean?
|
|
366
381
|
|
|
367
|
-
|
|
382
|
+
didDismissGuildAds Boolean?
|
|
368
383
|
|
|
369
|
-
|
|
370
|
-
|
|
384
|
+
guildId String @unique
|
|
385
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
371
386
|
}
|