@budibase/types 2.7.26-alpha.0 → 2.7.26
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 +0 -1
- package/dist/cjs/documents/app/automation.d.ts +1 -23
- package/dist/cjs/documents/app/automation.js +0 -1
- package/dist/cjs/documents/app/automation.js.map +1 -1
- package/dist/cjs/sdk/datasources.d.ts +1 -3
- package/dist/cjs/sdk/datasources.js +0 -1
- package/dist/cjs/sdk/datasources.js.map +1 -1
- package/dist/cjs/tsconfig-cjs.build.tsbuildinfo +1 -1
- package/dist/mjs/api/web/app/datasource.d.ts +0 -1
- package/dist/mjs/documents/app/automation.d.ts +1 -23
- package/dist/mjs/documents/app/automation.js +0 -1
- package/dist/mjs/documents/app/automation.js.map +1 -1
- package/dist/mjs/sdk/datasources.d.ts +1 -3
- package/dist/mjs/sdk/datasources.js +0 -1
- package/dist/mjs/sdk/datasources.js.map +1 -1
- package/dist/mjs/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/api/web/app/datasource.ts +0 -1
- package/src/documents/app/automation.ts +0 -30
- package/src/sdk/datasources.ts +0 -2
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Document } from "../document"
|
|
2
2
|
import { EventEmitter } from "events"
|
|
3
|
-
import { User } from "../global"
|
|
4
3
|
|
|
5
4
|
export enum AutomationIOType {
|
|
6
5
|
OBJECT = "object",
|
|
@@ -9,7 +8,6 @@ export enum AutomationIOType {
|
|
|
9
8
|
NUMBER = "number",
|
|
10
9
|
ARRAY = "array",
|
|
11
10
|
JSON = "json",
|
|
12
|
-
DATE = "date",
|
|
13
11
|
}
|
|
14
12
|
|
|
15
13
|
export enum AutomationCustomIOType {
|
|
@@ -68,33 +66,6 @@ export enum AutomationActionStepId {
|
|
|
68
66
|
integromat = "integromat",
|
|
69
67
|
}
|
|
70
68
|
|
|
71
|
-
export interface EmailInvite {
|
|
72
|
-
startTime: Date
|
|
73
|
-
endTime: Date
|
|
74
|
-
summary: string
|
|
75
|
-
location?: string
|
|
76
|
-
url?: string
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export interface SendEmailOpts {
|
|
80
|
-
// workspaceId If finer grain controls being used then this will lookup config for workspace.
|
|
81
|
-
workspaceId?: string
|
|
82
|
-
// user If sending to an existing user the object can be provided, this is used in the context.
|
|
83
|
-
user: User
|
|
84
|
-
// from If sending from an address that is not what is configured in the SMTP config.
|
|
85
|
-
from?: string
|
|
86
|
-
// contents If sending a custom email then can supply contents which will be added to it.
|
|
87
|
-
contents?: string
|
|
88
|
-
// subject A custom subject can be specified if the config one is not desired.
|
|
89
|
-
subject?: string
|
|
90
|
-
// info Pass in a structure of information to be stored alongside the invitation.
|
|
91
|
-
info?: any
|
|
92
|
-
cc?: boolean
|
|
93
|
-
bcc?: boolean
|
|
94
|
-
automation?: boolean
|
|
95
|
-
invite?: EmailInvite
|
|
96
|
-
}
|
|
97
|
-
|
|
98
69
|
export const AutomationStepIdArray = [
|
|
99
70
|
...Object.values(AutomationActionStepId),
|
|
100
71
|
...Object.values(AutomationTriggerStepId),
|
|
@@ -119,7 +90,6 @@ interface BaseIOStructure {
|
|
|
119
90
|
customType?: AutomationCustomIOType
|
|
120
91
|
title?: string
|
|
121
92
|
description?: string
|
|
122
|
-
dependsOn?: string
|
|
123
93
|
enum?: string[]
|
|
124
94
|
pretty?: string[]
|
|
125
95
|
properties?: {
|
package/src/sdk/datasources.ts
CHANGED
|
@@ -76,7 +76,6 @@ export enum FilterType {
|
|
|
76
76
|
export enum DatasourceFeature {
|
|
77
77
|
CONNECTION_CHECKING = "connection",
|
|
78
78
|
FETCH_TABLE_NAMES = "fetch_table_names",
|
|
79
|
-
EXPORT_SCHEMA = "export_schema",
|
|
80
79
|
}
|
|
81
80
|
|
|
82
81
|
export interface StepDefinition {
|
|
@@ -141,7 +140,6 @@ export interface IntegrationBase {
|
|
|
141
140
|
update?(query: any): Promise<any[] | any>
|
|
142
141
|
delete?(query: any): Promise<any[] | any>
|
|
143
142
|
testConnection?(): Promise<ConnectionInfo>
|
|
144
|
-
getExternalSchema?(): Promise<string>
|
|
145
143
|
}
|
|
146
144
|
|
|
147
145
|
export interface DatasourcePlus extends IntegrationBase {
|