Changes from fix/event-hook-endpoint

This commit is contained in:
gsxdsm
2026-03-03 19:59:55 -08:00
parent dd7108a7a0
commit 6f2394f17e
3 changed files with 29 additions and 3 deletions

View File

@@ -2763,6 +2763,21 @@ export class HttpApiClient implements ElectronAPI {
headers?: Record<string, string>;
enabled?: boolean;
}>;
eventHooks?: Array<{
id: string;
trigger: string;
enabled: boolean;
action: Record<string, unknown>;
name?: string;
}>;
ntfyEndpoints?: Array<{
id: string;
name: string;
serverUrl: string;
topic: string;
authType: string;
enabled: boolean;
}>;
};
error?: string;
}> => this.get('/api/settings/global'),