Small changes

This commit is contained in:
Andras Schmelczer 2024-12-15 11:54:03 +00:00
parent d7ff0f0bed
commit cfa1412e80
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 6 additions and 5 deletions

View file

@ -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 {

View file

@ -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,
}; };

View file

@ -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);
} }