Add plugin endpoint interface into API client union type

This commit is contained in:
Andrew Kingston 2024-12-03 09:47:35 +00:00
parent c6f5287014
commit abddbdeea7
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@ import { LogEndpoints } from "./logs"
import { MigrationEndpoints } from "./migrations" import { MigrationEndpoints } from "./migrations"
import { OtherEndpoints } from "./other" import { OtherEndpoints } from "./other"
import { PermissionEndpoints } from "./permissions" import { PermissionEndpoints } from "./permissions"
import { PluginEndpoins } from "./plugins"
export enum HTTPMethod { export enum HTTPMethod {
POST = "POST", POST = "POST",
@ -107,4 +108,5 @@ export type APIClient = BaseAPIClient &
LogEndpoints & LogEndpoints &
MigrationEndpoints & MigrationEndpoints &
OtherEndpoints & OtherEndpoints &
PermissionEndpoints & { [key: string]: any } PermissionEndpoints &
PluginEndpoins & { [key: string]: any }