diff --git a/src/pages/ApplicationsPage/applications.type.ts b/src/pages/ApplicationsPage/applications.type.ts new file mode 100644 index 0000000..b0500c4 --- /dev/null +++ b/src/pages/ApplicationsPage/applications.type.ts @@ -0,0 +1,39 @@ +export interface ApplicationsGroupType { + createdAt: string, + description: string, + domainId: number, + id: number, + name: string, + updatedAt: string +} + +export type NewApplicationsGroupType = Omit +export type UpdateApplicationsGroupType = Omit + +export interface ApplicationsServiceType { + app:ApplicationAppType + tokens: ApplicationTokenType[] +} + +export type NewApplicationTokenType = Omit +export interface ApplicationAppType { + createdAt: string, + description: string, + id: number, + name: string, + serviceId: number, + type: string, + updatedAt: string +} + + +export type UpdateApplicationAppType = Omit +export type NewApplicationAppType = Omit + +export interface ApplicationTokenType { + appId: number, + createdAt: string, + expireTimeMs: number, + token: string +} +