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 DocumentId = string;
export type RelativePath = string;
export interface DocumentMetadata {

View file

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

View file

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