Add notices system to Servers (#3502)

* Servers notices

* Refresh on unassign
This commit is contained in:
Prospector authored and GitHub committed 2025-04-12 22:00:22 -07:00
1 parent 56520572b2
commit 59edc8d618
16 files changed
+1065 -7

No files matched your search

+18
View File
@@ -252,3 +252,21 @@ export type Report = {
created: string
body: string
}
export type ServerNotice = {
id: number
message: string
level: string
dismissable: boolean
announce_at: string
expires: string
assigned: {
kind: 'server' | 'node'
id: string
name: string
}[]
dismissed_by: {
server: string
dismissed_on: string
}[]
}