@notidotbot/noti-api-client 1.9.2 → 1.9.4
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.
|
@@ -41,6 +41,9 @@ model Guild {
|
|
|
41
41
|
statusRoleLogs String?
|
|
42
42
|
statusRoles GuildStatusRole[]
|
|
43
43
|
|
|
44
|
+
streamRoleLogs String?
|
|
45
|
+
streamRoles GuildStreamRole[]
|
|
46
|
+
|
|
44
47
|
linkedRoleLogs String?
|
|
45
48
|
linkedRoles GuildLinkedRole[]
|
|
46
49
|
|
|
@@ -182,6 +185,32 @@ model GuildStatusRoleFilter {
|
|
|
182
185
|
guildStatusRole GuildStatusRole? @relation(fields: [guildStatusRoleId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
183
186
|
}
|
|
184
187
|
|
|
188
|
+
model GuildStreamRole {
|
|
189
|
+
dbId String @id @default(uuid())
|
|
190
|
+
|
|
191
|
+
roleId String
|
|
192
|
+
// Keywords matched against the stream title and game, case-insensitive substring.
|
|
193
|
+
// EMPTY = the DEFAULT row, applied only when no keyword row matched.
|
|
194
|
+
texts String[]
|
|
195
|
+
|
|
196
|
+
filter GuildStreamRoleFilter?
|
|
197
|
+
|
|
198
|
+
guildId String
|
|
199
|
+
guild Guild? @relation(fields: [guildId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
200
|
+
|
|
201
|
+
@@unique([guildId, roleId])
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
model GuildStreamRoleFilter {
|
|
205
|
+
dbId String @id @default(uuid())
|
|
206
|
+
|
|
207
|
+
mode FilterEnum
|
|
208
|
+
roles String[]
|
|
209
|
+
|
|
210
|
+
guildStreamRoleId String @unique
|
|
211
|
+
guildStreamRole GuildStreamRole? @relation(fields: [guildStreamRoleId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
|
|
212
|
+
}
|
|
213
|
+
|
|
185
214
|
model GuildLinkedRole {
|
|
186
215
|
dbId String @id @default(uuid())
|
|
187
216
|
|
|
@@ -206,7 +235,17 @@ model GuildNotificationOverride {
|
|
|
206
235
|
queryIn QueryInEnum[]
|
|
207
236
|
applyTo PlatformEnum[]
|
|
208
237
|
|
|
238
|
+
// Creator FILTER, alongside applyTo's platform filter. Empty = any creator. Stored lowercased.
|
|
239
|
+
applyToStreamers String[]
|
|
240
|
+
|
|
241
|
+
// Duration CEILING - matches content shorter than this.
|
|
209
242
|
durationMinutes Int?
|
|
243
|
+
// Duration FLOOR - matches content longer than this. Set both to express a range.
|
|
244
|
+
minDurationMinutes Int?
|
|
245
|
+
|
|
246
|
+
// Audience floor. Only Kick, Rumble and TikTok report followers; where unknown the override does
|
|
247
|
+
// not apply (fail-closed).
|
|
248
|
+
minFollowers Int?
|
|
210
249
|
|
|
211
250
|
overrideChannelId String?
|
|
212
251
|
overridePingRoleId String?
|