add new storage modal and validation for storage creation
This commit is contained in:
@@ -27,4 +27,16 @@ export interface Storage {
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
uuid: string;
|
||||
}
|
||||
}
|
||||
|
||||
export interface NewStorage {
|
||||
name: string;
|
||||
description: string | null;
|
||||
}
|
||||
|
||||
export interface AlertInterface {
|
||||
isAlert: boolean;
|
||||
type: "success" | "warning" | "danger" | "neutral" | "primary";
|
||||
header: string;
|
||||
text: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user