From abddbdeea721f7e9638cb8e97229f1d04c95ee15 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 3 Dec 2024 09:47:35 +0000 Subject: [PATCH] Add plugin endpoint interface into API client union type --- packages/frontend-core/src/api/types.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/frontend-core/src/api/types.ts b/packages/frontend-core/src/api/types.ts index 9687b7ed2c..ebea541c34 100644 --- a/packages/frontend-core/src/api/types.ts +++ b/packages/frontend-core/src/api/types.ts @@ -18,6 +18,7 @@ import { LogEndpoints } from "./logs" import { MigrationEndpoints } from "./migrations" import { OtherEndpoints } from "./other" import { PermissionEndpoints } from "./permissions" +import { PluginEndpoins } from "./plugins" export enum HTTPMethod { POST = "POST", @@ -107,4 +108,5 @@ export type APIClient = BaseAPIClient & LogEndpoints & MigrationEndpoints & OtherEndpoints & - PermissionEndpoints & { [key: string]: any } + PermissionEndpoints & + PluginEndpoins & { [key: string]: any }