budibase/packages/client/src/index.ts

20 lines
409 B
TypeScript
Raw Normal View History

2025-01-14 11:46:58 +01:00
import { APIClient } from "@budibase/frontend-core"
import type { ActionTypes } from "./constants"
2025-01-14 11:57:20 +01:00
import { Readable } from "svelte/store"
2025-01-14 11:46:58 +01:00
export interface SDK {
API: APIClient
2025-01-14 12:58:53 +01:00
styleable: any
Provider: any
2025-01-14 11:46:58 +01:00
ActionTypes: typeof ActionTypes
2025-01-16 16:40:51 +01:00
fetchDatasourceSchema: any
generateGoldenSample: any
2025-01-14 11:46:58 +01:00
}
2025-01-14 11:57:20 +01:00
export type Component = Readable<{
id: string
2025-01-14 12:58:53 +01:00
styles: any
2025-01-14 11:57:20 +01:00
}>
2025-01-16 16:40:51 +01:00
export type Context = Readable<any>