mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-06-29 13:43:58 +00:00
refactor: add tryCatch utility for error handling, update device-related components and types, and clean up unused code in payment actions
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 13m55s
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 13m55s
This commit is contained in:
@ -29,3 +29,24 @@ export interface Island {
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface Device {
|
||||
id: number;
|
||||
name: string;
|
||||
mac: string;
|
||||
reason_for_blocking: string | null;
|
||||
is_active: boolean;
|
||||
registered: boolean;
|
||||
blocked: boolean;
|
||||
blocked_by: string;
|
||||
expiry_date: string | null;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
user: number;
|
||||
}
|
||||
|
||||
export interface Api400Error {
|
||||
data: {
|
||||
message: string;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user