From b025878834673dcb8e4054db141c84e2c7d766df Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 5 Dec 2024 15:51:14 +0000 Subject: [PATCH] Update routing endpoints --- packages/frontend-core/src/api/routes.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/frontend-core/src/api/routes.ts b/packages/frontend-core/src/api/routes.ts index 7d2df98b57..1db7b473de 100644 --- a/packages/frontend-core/src/api/routes.ts +++ b/packages/frontend-core/src/api/routes.ts @@ -1,9 +1,13 @@ +import { + FetchClientScreenRoutingResponse, + FetchScreenRoutingResponse, +} from "@budibase/types" import { BaseAPIClient } from "./types" export interface RouteEndpoints { // Missing request or response types - fetchClientAppRoutes: () => Promise<{ routes: any }> - fetchAppRoutes: () => Promise<{ routes: any }> + fetchClientAppRoutes: () => Promise + fetchAppRoutes: () => Promise } export const buildRouteEndpoints = (API: BaseAPIClient): RouteEndpoints => ({