basic structure for webapi
This commit is contained in:
parent
ee42625d66
commit
7ded4a21bb
12 changed files with 554 additions and 62 deletions
|
@ -1,6 +1,6 @@
|
|||
import type { PermissionObject } from "@/types/permissionTypes";
|
||||
|
||||
export interface ApiViewModel {
|
||||
export interface WebapiViewModel {
|
||||
id: number;
|
||||
permissions: PermissionObject;
|
||||
title: string;
|
||||
|
@ -9,18 +9,18 @@ export interface ApiViewModel {
|
|||
expiry?: Date;
|
||||
}
|
||||
|
||||
export interface CreateApiViewModel {
|
||||
export interface CreateWebapiViewModel {
|
||||
title: string;
|
||||
token: string;
|
||||
expiry?: Date;
|
||||
}
|
||||
|
||||
export interface UpdateApiViewModel {
|
||||
export interface UpdateWebapiViewModel {
|
||||
id: number;
|
||||
title: string;
|
||||
expiry?: Date;
|
||||
}
|
||||
|
||||
export interface DeleteApiViewModel {
|
||||
export interface DeleteWebapiViewModel {
|
||||
id: number;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue