API web services

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-27 16:08:36 +07:00
parent 67787dab34
commit b11a943885
7 changed files with 259 additions and 97 deletions

View file

@ -1,8 +1,19 @@
interface ListWebServices {
createdAt: string;
createdFullName: string;
createdUserId: string;
id: string;
topic: string;
access: string[];
amount: string;
keyApi: string;
name: string;
amount: number;
apiNames: ApiNames[];
}
interface ApiNames {
id: string;
methodApi: string;
name: string;
pathApi: string;
}
interface ListApi {

View file

@ -1,6 +1,6 @@
interface FormCreate {
topic: string;
access: string[];
name: string;
apiId: string[];
}
export type { FormCreate };

View file

@ -5,4 +5,17 @@ interface ResListWebServices {
amount: string;
}
export type { ResListWebServices };
interface ResApiName {
createdAt: string;
createdFullName: string;
createdUserId: string;
id: string;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: string;
methodApi: string;
name: string;
pathApi: string;
}
export type { ResListWebServices, ResApiName };