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 VaultUpdateId = number;
|
||||||
|
export type DocumentId = string;
|
||||||
export type RelativePath = string;
|
export type RelativePath = string;
|
||||||
|
|
||||||
export interface DocumentMetadata {
|
export interface DocumentMetadata {
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
export interface SyncSettings {
|
export interface SyncSettings {
|
||||||
remoteUri: string;
|
remoteUri: string;
|
||||||
token: string;
|
token: string;
|
||||||
fullScanIntervalInSeconds: number;
|
fetchChangesUpdateInterval: number;
|
||||||
fullScanEnabled: boolean;
|
isSyncEnabled: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const DEFAULT_SETTINGS: SyncSettings = {
|
export const DEFAULT_SETTINGS: SyncSettings = {
|
||||||
remoteUri: "",
|
remoteUri: "",
|
||||||
token: "",
|
token: "",
|
||||||
fullScanIntervalInSeconds: 60,
|
fetchChangesUpdateInterval: 1,
|
||||||
fullScanEnabled: true,
|
isSyncEnabled: true,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { Logger } from "src/logger";
|
||||||
export class SyncView extends ItemView {
|
export class SyncView extends ItemView {
|
||||||
public static TYPE = "example-view";
|
public static TYPE = "example-view";
|
||||||
|
|
||||||
constructor(leaf: WorkspaceLeaf) {
|
public constructor(leaf: WorkspaceLeaf) {
|
||||||
super(leaf);
|
super(leaf);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue