mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-15 04:39:58 +00:00
web/settings: rewrite type names, remove unused types
CurrentCobaltSettings -> CobaltSettings CobaltSettings -> AnyCobaltSettings
This commit is contained in:
parent
7c9a824a69
commit
bad59750bf
1 changed files with 3 additions and 5 deletions
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue