Update other endpoints
This commit is contained in:
parent
686273048e
commit
cee53540a4
|
@ -1,6 +1,7 @@
|
||||||
import {
|
import {
|
||||||
FetchBuiltinPermissionsRequest,
|
FetchBuiltinPermissionsRequest,
|
||||||
FetchIntegrationsResponse,
|
FetchIntegrationsResponse,
|
||||||
|
GetEnvironmentResponse,
|
||||||
GetVersionResponse,
|
GetVersionResponse,
|
||||||
SystemStatusResponse,
|
SystemStatusResponse,
|
||||||
} from "@budibase/types"
|
} from "@budibase/types"
|
||||||
|
@ -11,9 +12,7 @@ export interface OtherEndpoints {
|
||||||
getBudibaseVersion: () => Promise<string>
|
getBudibaseVersion: () => Promise<string>
|
||||||
getIntegrations: () => Promise<FetchIntegrationsResponse>
|
getIntegrations: () => Promise<FetchIntegrationsResponse>
|
||||||
getBasePermissions: () => Promise<FetchBuiltinPermissionsRequest>
|
getBasePermissions: () => Promise<FetchBuiltinPermissionsRequest>
|
||||||
|
getEnvironment: () => Promise<GetEnvironmentResponse>
|
||||||
// Missing request or response types
|
|
||||||
getEnvironment: () => Promise<Record<string, any>>
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export const buildOtherEndpoints = (API: BaseAPIClient): OtherEndpoints => ({
|
export const buildOtherEndpoints = (API: BaseAPIClient): OtherEndpoints => ({
|
||||||
|
|
Loading…
Reference in New Issue