18 lines
376 B
TypeScript
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
|
|
}
|
|
}
|