Lint
This commit is contained in:
parent
5582691cf7
commit
d8098740b3
3 changed files with 5 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ export interface FileOperations {
|
|||
|
||||
read: (path: RelativePath) => Promise<Uint8Array>;
|
||||
|
||||
getFileSize(path: RelativePath): Promise<number>;
|
||||
getFileSize: (path: RelativePath) => Promise<number>;
|
||||
|
||||
getModificationTime: (path: RelativePath) => Promise<Date>;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
import { TFile, Vault } from "obsidian";
|
||||
import type { Vault } from "obsidian";
|
||||
import { TFile } from "obsidian";
|
||||
import { normalizePath } from "obsidian";
|
||||
import type { FileOperations } from "./file-operations";
|
||||
import type { RelativePath } from "src/database/document-metadata";
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ import type {
|
|||
} from "src/database/document-metadata";
|
||||
import { Logger } from "src/tracing/logger";
|
||||
import { retriedFetch } from "src/utils/retried-fetch";
|
||||
import { serialize } from "src/utils/serialize";
|
||||
|
||||
export interface CheckConnectionResult {
|
||||
isSuccessful: boolean;
|
||||
|
|
@ -87,6 +86,7 @@ export class SyncService {
|
|||
authorization: `Bearer ${this.database.getSettings().token}`
|
||||
}
|
||||
},
|
||||
// eslint-disable-next-line
|
||||
body: formData as any // FormData is not supported by openapi-fetch
|
||||
}
|
||||
);
|
||||
|
|
@ -137,6 +137,7 @@ export class SyncService {
|
|||
authorization: `Bearer ${this.database.getSettings().token}`
|
||||
}
|
||||
},
|
||||
// eslint-disable-next-line
|
||||
body: formData as any // FormData is not supported by openapi-fetch
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue