chore: user apikeys
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export const expirationOptions = [
|
||||
{ label: '7 days', type: 'day', value: 7 },
|
||||
{ label: '1 month', type: 'month', value: 1 },
|
||||
{ label: '6 months', type: 'month', value: 6 },
|
||||
// { label: '1 year', type: 'year', value: 1 },
|
||||
{ label: 'never', type: 'never', value: -1 }
|
||||
];
|
||||
@@ -0,0 +1,15 @@
|
||||
export interface ListItem {
|
||||
name: string;
|
||||
description: string;
|
||||
id: number;
|
||||
value: string;
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
expires_at: string;
|
||||
}
|
||||
|
||||
export interface FormData {
|
||||
name: string;
|
||||
description: string;
|
||||
expires_in: number | null;
|
||||
}
|
||||
Reference in New Issue
Block a user