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"
|
import { BaseAPIClient } from "./types"
|
||||||
|
|
||||||
export interface RouteEndpoints {
|
export interface RouteEndpoints {
|
||||||
// Missing request or response types
|
// Missing request or response types
|
||||||
fetchClientAppRoutes: () => Promise<{ routes: any }>
|
fetchClientAppRoutes: () => Promise<FetchClientScreenRoutingResponse>
|
||||||
fetchAppRoutes: () => Promise<{ routes: any }>
|
fetchAppRoutes: () => Promise<FetchScreenRoutingResponse>
|
||||||
}
|
}
|
||||||
|
|
||||||
export const buildRouteEndpoints = (API: BaseAPIClient): RouteEndpoints => ({
|
export const buildRouteEndpoints = (API: BaseAPIClient): RouteEndpoints => ({
|
||||||
|
|
Loading…
Reference in New Issue