Update routing endpoints
This commit is contained in:
parent
dd9cd6d93e
commit
b025878834
|
@ -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<FetchClientScreenRoutingResponse>
|
||||
fetchAppRoutes: () => Promise<FetchScreenRoutingResponse>
|
||||
}
|
||||
|
||||
export const buildRouteEndpoints = (API: BaseAPIClient): RouteEndpoints => ({
|
||||
|
|
Loading…
Reference in New Issue