Refactor & update API
This commit is contained in:
parent
5f1075879f
commit
3065edba37
6 changed files with 42 additions and 33 deletions
13
plugin/src/database/sync-settings.ts
Normal file
13
plugin/src/database/sync-settings.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
export interface SyncSettings {
|
||||
remoteUri: string;
|
||||
token: string;
|
||||
fullScanIntervalInSeconds: number;
|
||||
fullScanEnabled: boolean;
|
||||
}
|
||||
|
||||
export const DEFAULT_SETTINGS: SyncSettings = {
|
||||
remoteUri: "",
|
||||
token: "",
|
||||
fullScanIntervalInSeconds: 60,
|
||||
fullScanEnabled: true,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue