web/settings: rewrite type names, remove unused types

CurrentCobaltSettings -> CobaltSettings
CobaltSettings -> AnyCobaltSettings
This commit is contained in:
jj 2024-10-30 12:07:55 +00:00
parent 7c9a824a69
commit bad59750bf
No known key found for this signature in database

View file

@ -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<CobaltSettings>;
export type PartialSettingsWithSchema = RecursivePartial<CobaltSettings> & { schemaVersion: number };
export type AllSchemaVersions = CurrentCobaltSettings;
export type AllPartialSettingsWithSchema = RecursivePartial<CobaltSettings> & { schemaVersion: number };
export type AllPartialSettingsWithSchema = RecursivePartial<AnyCobaltSettings> & { schemaVersion: number };
export type DownloadModeOption = CobaltSettings['save']['downloadMode'];