1
0
Fork 0
mirror of synced 2024-06-02 02:25:17 +12:00
budibase/packages/types/src/documents/app/datasource.ts

18 lines
376 B
TypeScript

import { Document } from "../document"
import { SourceName } from "../../sdk"
import { Table } from "./table"
export interface Datasource extends Document {
type: string
name?: string
source: SourceName
// the config is defined by the schema
config?: {
[key: string]: string | number | boolean
}
plus?: boolean
entities?: {
[key: string]: Table
}
}