Small changes
This commit is contained in:
parent
d7ff0f0bed
commit
cfa1412e80
3 changed files with 6 additions and 5 deletions
|
|
@ -1,4 +1,5 @@
|
|||
export type VaultUpdateId = number;
|
||||
export type DocumentId = string;
|
||||
export type RelativePath = string;
|
||||
|
||||
export interface DocumentMetadata {
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
export interface SyncSettings {
|
||||
remoteUri: string;
|
||||
token: string;
|
||||
fullScanIntervalInSeconds: number;
|
||||
fullScanEnabled: boolean;
|
||||
fetchChangesUpdateInterval: number;
|
||||
isSyncEnabled: boolean;
|
||||
}
|
||||
|
||||
export const DEFAULT_SETTINGS: SyncSettings = {
|
||||
remoteUri: "",
|
||||
token: "",
|
||||
fullScanIntervalInSeconds: 60,
|
||||
fullScanEnabled: true,
|
||||
fetchChangesUpdateInterval: 1,
|
||||
isSyncEnabled: true,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { Logger } from "src/logger";
|
|||
export class SyncView extends ItemView {
|
||||
public static TYPE = "example-view";
|
||||
|
||||
constructor(leaf: WorkspaceLeaf) {
|
||||
public constructor(leaf: WorkspaceLeaf) {
|
||||
super(leaf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue