From bad59750bf50305ac3293d490d13498339537c77 Mon Sep 17 00:00:00 2001 From: jj Date: Wed, 30 Oct 2024 12:07:55 +0000 Subject: [PATCH] web/settings: rewrite type names, remove unused types CurrentCobaltSettings -> CobaltSettings CobaltSettings -> AnyCobaltSettings --- web/src/lib/types/settings.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/web/src/lib/types/settings.ts b/web/src/lib/types/settings.ts index fcd04f7e..1a553c8a 100644 --- a/web/src/lib/types/settings.ts +++ b/web/src/lib/types/settings.ts @@ -3,14 +3,12 @@ import type { CobaltSettingsV2 } from "./settings/v2"; export * from "./settings/v2"; -export type CurrentCobaltSettings = CobaltSettingsV2; +export type CobaltSettings = CobaltSettingsV2; -export type CobaltSettings = CurrentCobaltSettings; +export type AnyCobaltSettings = CobaltSettings; export type PartialSettings = RecursivePartial; -export type PartialSettingsWithSchema = RecursivePartial & { schemaVersion: number }; -export type AllSchemaVersions = CurrentCobaltSettings; -export type AllPartialSettingsWithSchema = RecursivePartial & { schemaVersion: number }; +export type AllPartialSettingsWithSchema = RecursivePartial & { schemaVersion: number }; export type DownloadModeOption = CobaltSettings['save']['downloadMode'];