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 => ({