@budibase/types 2.6.19-alpha.2 → 2.6.19-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/web/app/datasource.d.ts +3 -0
- package/dist/cjs/documents/app/automation.d.ts +6 -0
- package/dist/cjs/documents/app/automation.js +7 -1
- package/dist/cjs/documents/app/automation.js.map +1 -1
- package/dist/cjs/sdk/automations/index.d.ts +1 -0
- package/dist/cjs/sdk/datasources.d.ts +4 -2
- package/dist/cjs/sdk/datasources.js +1 -0
- package/dist/cjs/sdk/datasources.js.map +1 -1
- package/dist/cjs/sdk/licensing/feature.d.ts +2 -1
- package/dist/cjs/sdk/licensing/feature.js +1 -0
- package/dist/cjs/sdk/licensing/feature.js.map +1 -1
- package/dist/cjs/tsconfig-cjs.build.tsbuildinfo +1 -1
- package/dist/mjs/api/web/app/datasource.d.ts +3 -0
- package/dist/mjs/documents/app/automation.d.ts +6 -0
- package/dist/mjs/documents/app/automation.js +6 -0
- package/dist/mjs/documents/app/automation.js.map +1 -1
- package/dist/mjs/sdk/automations/index.d.ts +1 -0
- package/dist/mjs/sdk/datasources.d.ts +4 -2
- package/dist/mjs/sdk/datasources.js +1 -0
- package/dist/mjs/sdk/datasources.js.map +1 -1
- package/dist/mjs/sdk/licensing/feature.d.ts +2 -1
- package/dist/mjs/sdk/licensing/feature.js +1 -0
- package/dist/mjs/sdk/licensing/feature.js.map +1 -1
- package/dist/mjs/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/api/web/app/datasource.ts +4 -0
- package/src/documents/app/automation.ts +7 -0
- package/src/sdk/automations/index.ts +1 -0
- package/src/sdk/datasources.ts +3 -1
- package/src/sdk/licensing/feature.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "2.6.19-alpha.
|
|
3
|
+
"version": "2.6.19-alpha.21",
|
|
4
4
|
"description": "Budibase types",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"types": "dist/mjs/index.d.ts",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"scim-patch": "^0.7.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "0f816b1e08b50200bf62da9f1488a6203fd80071"
|
|
38
38
|
}
|
|
@@ -57,6 +57,8 @@ export enum AutomationActionStepId {
|
|
|
57
57
|
FILTER = "FILTER",
|
|
58
58
|
QUERY_ROWS = "QUERY_ROWS",
|
|
59
59
|
LOOP = "LOOP",
|
|
60
|
+
COLLECT = "COLLECT",
|
|
61
|
+
OPENAI = "OPENAI",
|
|
60
62
|
// these used to be lowercase step IDs, maintain for backwards compat
|
|
61
63
|
discord = "discord",
|
|
62
64
|
slack = "slack",
|
|
@@ -122,6 +124,11 @@ export interface AutomationStepSchema {
|
|
|
122
124
|
outputs: InputOutputBlock
|
|
123
125
|
}
|
|
124
126
|
custom?: boolean
|
|
127
|
+
features?: Partial<Record<AutomationFeature, boolean>>
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export enum AutomationFeature {
|
|
131
|
+
LOOPING = "LOOPING",
|
|
125
132
|
}
|
|
126
133
|
|
|
127
134
|
export interface AutomationStep extends AutomationStepSchema {
|
package/src/sdk/datasources.ts
CHANGED
|
@@ -75,6 +75,7 @@ export enum FilterType {
|
|
|
75
75
|
|
|
76
76
|
export enum DatasourceFeature {
|
|
77
77
|
CONNECTION_CHECKING = "connection",
|
|
78
|
+
FETCH_TABLE_NAMES = "fetch_table_names",
|
|
78
79
|
}
|
|
79
80
|
|
|
80
81
|
export interface StepDefinition {
|
|
@@ -115,7 +116,7 @@ export interface Integration {
|
|
|
115
116
|
docs: string
|
|
116
117
|
plus?: boolean
|
|
117
118
|
auth?: { type: string }
|
|
118
|
-
features?: DatasourceFeature
|
|
119
|
+
features?: Partial<Record<DatasourceFeature, boolean>>
|
|
119
120
|
relationships?: boolean
|
|
120
121
|
description: string
|
|
121
122
|
friendlyName: string
|
|
@@ -150,4 +151,5 @@ export interface DatasourcePlus extends IntegrationBase {
|
|
|
150
151
|
getBindingIdentifier(): string
|
|
151
152
|
getStringConcat(parts: string[]): string
|
|
152
153
|
buildSchema(datasourceId: string, entities: Record<string, Table>): any
|
|
154
|
+
getTableNames(): Promise<string[]>
|
|
153
155
|
}
|