1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

Tools: Apply rule @typescript-eslint/member-delimiter-style

This commit is contained in:
Laurent Cozic
2020-11-12 19:29:22 +00:00
parent 42799b0662
commit 17d835d694
103 changed files with 964 additions and 953 deletions

View File

@@ -19,54 +19,54 @@ export enum SettingItemType {
}
interface KeysOptions {
secureOnly?: boolean,
secureOnly?: boolean;
}
// This is the definition of a setting item
export interface SettingItem {
value: any,
type: SettingItemType,
public: boolean,
value: any;
type: SettingItemType;
public: boolean;
subType?: string,
key?: string,
isEnum?: boolean,
section?: string,
label?(): string,
description?(appType: string): string,
options?(): any,
appTypes?: string[],
show?(settings: any): boolean,
filter?(value: any): any,
secure?: boolean,
advanced?: boolean,
minimum?: number,
maximum?: number,
step?: number,
onClick?(): void,
unitLabel?(value: any): string,
subType?: string;
key?: string;
isEnum?: boolean;
section?: string;
label?(): string;
description?(appType: string): string;
options?(): any;
appTypes?: string[];
show?(settings: any): boolean;
filter?(value: any): any;
secure?: boolean;
advanced?: boolean;
minimum?: number;
maximum?: number;
step?: number;
onClick?(): void;
unitLabel?(value: any): string;
}
interface SettingItems {
[key: string]: SettingItem,
[key: string]: SettingItem;
}
// This is where the actual setting values are stored.
// They are saved to database at regular intervals.
interface CacheItem {
key: string,
value: any,
key: string;
value: any;
}
export interface SettingSection {
label: string,
iconName?: string,
description?: string,
name?: string,
label: string;
iconName?: string;
description?: string;
name?: string;
}
interface SettingSections {
[key: string]: SettingSection,
[key: string]: SettingSection;
}
class Setting extends BaseModel {