mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-05 22:02:39 +02:00
feat: remove plugin version references from Obsidian plugin routes, schemas, and UI components for cleaner integration
This commit is contained in:
parent
87150a6d7f
commit
54e66e131a
5 changed files with 0 additions and 16 deletions
|
|
@ -58,7 +58,6 @@ export class PermanentError extends Error {
|
|||
export interface ApiClientOptions {
|
||||
getServerUrl: () => string;
|
||||
getToken: () => string;
|
||||
pluginVersion: string;
|
||||
onAuthError?: () => void;
|
||||
}
|
||||
|
||||
|
|
@ -73,10 +72,6 @@ export class SurfSenseApiClient {
|
|||
Object.assign(this.opts, partial);
|
||||
}
|
||||
|
||||
get pluginVersion(): string {
|
||||
return this.opts.pluginVersion;
|
||||
}
|
||||
|
||||
async health(): Promise<HealthResponse> {
|
||||
return await this.request<HealthResponse>("GET", "/api/v1/obsidian/health");
|
||||
}
|
||||
|
|
@ -113,7 +108,6 @@ export class SurfSenseApiClient {
|
|||
vault_id: input.vaultId,
|
||||
vault_name: input.vaultName,
|
||||
search_space_id: input.searchSpaceId,
|
||||
plugin_version: this.opts.pluginVersion,
|
||||
device_id: input.deviceId,
|
||||
}
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue