-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Svelte 5 Migration 20: Migrate
/admin/blacklist
(#722)
* migrate `<Blacklist>` * rebuild UI
- Loading branch information
Showing
765 changed files
with
2,011 additions
and
2,008 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export interface IpBlacklistRequest { | ||
/// Validation: PATTERN_IPV4 | ||
ip: string, | ||
/// Unix timestamp in seconds | ||
exp: number, | ||
} | ||
|
||
export interface BlacklistedIp { | ||
ip: string, | ||
/// Unix timestamp in seconds | ||
exp: number, | ||
} | ||
|
||
export interface BlacklistResponse { | ||
ips: BlacklistedIp[], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
254 changes: 0 additions & 254 deletions
254
frontend/src/components/admin/blacklist/Blacklist.svelte
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.