budibase/packages/client/src/sdk.js

42 lines
848 B
JavaScript

import { API } from "api"
import {
authStore,
notificationStore,
routeStore,
screenStore,
builderStore,
uploadStore,
rowSelectionStore,
componentStore,
currentRole,
environmentStore,
} from "stores"
import { styleable } from "utils/styleable"
import { linkable } from "utils/linkable"
import { getAction } from "utils/getAction"
import Provider from "components/context/Provider.svelte"
import { ActionTypes } from "./constants"
import { fetchDatasourceSchema } from "./utils/schema.js"
import { getAPIKey } from "./utils/api.js"
export default {
API,
authStore,
notificationStore,
routeStore,
rowSelectionStore,
screenStore,
builderStore,
uploadStore,
componentStore,
environmentStore,
currentRole,
styleable,
linkable,
getAction,
fetchDatasourceSchema,
Provider,
ActionTypes,
getAPIKey,
}