Skip to content

Commit 4b5f3b2

Browse files
committed
refactor(download and list directory): delete list directory and download models and constants
1 parent 4c7dfcf commit 4b5f3b2

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

web/src/features/constants.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,6 @@ export enum UserType {
6464
BOT = "bot",
6565
}
6666

67-
export enum ListDirectoryFields {
68-
LIST_DIRECTORY = "listDirectory",
69-
}
70-
71-
export enum DownloadFields {
72-
DOWNLOAD = "download",
73-
}
74-
7567
export const basicGenDefaultValues: BasicGenFormData = {
7668
minToken: 100,
7769
maxToken: 500,

web/src/features/model.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -82,19 +82,6 @@ export interface ApiRequestTerraformIam {
8282
iam_group: boolean;
8383
}
8484

85-
export interface ListDirectoryFormData {
86-
listDirectory: string;
87-
}
88-
89-
export interface ApiResponseListDirectory {
90-
folder: string;
91-
contents: string[];
92-
}
93-
94-
export interface DownloadFormData {
95-
download: string;
96-
}
97-
9885
export interface ApiResponseDownload {
9986
detail: [{ loc: [string, 0]; msg: string; type: string }];
10087
}

0 commit comments

Comments
 (0)