From e4c3710a1825de15b49788d3e2ae7afbb97753b2 Mon Sep 17 00:00:00 2001 From: astandrik Date: Mon, 5 May 2025 16:04:56 +0300 Subject: [PATCH] feat: Add import/s3 to Operations --- src/containers/Operations/constants.ts | 1 + src/containers/Operations/i18n/en.json | 1 + src/types/api/operations.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/src/containers/Operations/constants.ts b/src/containers/Operations/constants.ts index 0f687262bf..10c991ed74 100644 --- a/src/containers/Operations/constants.ts +++ b/src/containers/Operations/constants.ts @@ -34,6 +34,7 @@ export const BASE_COLUMNS = [ export const OPERATION_KINDS: {value: OperationKind; content: string}[] = [ {value: 'export/s3', content: i18n('kind_export_s3')}, {value: 'export/yt', content: i18n('kind_export_yt')}, + {value: 'import/s3', content: i18n('kind_import_s3')}, {value: 'ss/backgrounds', content: i18n('kind_ssBackgrounds')}, {value: 'buildindex', content: i18n('kind_buildIndex')}, ]; diff --git a/src/containers/Operations/i18n/en.json b/src/containers/Operations/i18n/en.json index 6d41e68618..a651c2d7e4 100644 --- a/src/containers/Operations/i18n/en.json +++ b/src/containers/Operations/i18n/en.json @@ -6,6 +6,7 @@ "kind_ssBackgrounds": "SS/Backgrounds", "kind_export_s3": "Export/S3", "kind_export_yt": "Export/YT", + "kind_import_s3": "Import/S3", "kind_buildIndex": "Build Index", "column_operationId": "Operation ID", diff --git a/src/types/api/operations.ts b/src/types/api/operations.ts index d8af19a369..7134805f81 100644 --- a/src/types/api/operations.ts +++ b/src/types/api/operations.ts @@ -116,6 +116,7 @@ export interface TOperationList { export type OperationKind = | 'ss/backgrounds' | 'import' + | 'import/s3' | 'export/s3' | 'export/yt' | 'buildindex'