budibase/packages/client/src/index.ts

20 lines
409 B
TypeScript

import { APIClient } from "@budibase/frontend-core"
import type { ActionTypes } from "./constants"
import { Readable } from "svelte/store"
export interface SDK {
API: APIClient
styleable: any
Provider: any
ActionTypes: typeof ActionTypes
fetchDatasourceSchema: any
generateGoldenSample: any
}
export type Component = Readable<{
id: string
styles: any
}>
export type Context = Readable<any>