@budibase/types 2.7.35 → 2.7.36-alpha.2

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.
@@ -4,4 +4,5 @@ export interface Role extends Document {
4
4
  permissionId: string
5
5
  inherits?: string
6
6
  permissions: { [key: string]: string[] }
7
+ version?: string
7
8
  }
@@ -76,6 +76,7 @@ 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",
79
80
  }
80
81
 
81
82
  export interface StepDefinition {
@@ -140,6 +141,7 @@ export interface IntegrationBase {
140
141
  update?(query: any): Promise<any[] | any>
141
142
  delete?(query: any): Promise<any[] | any>
142
143
  testConnection?(): Promise<ConnectionInfo>
144
+ getExternalSchema?(): Promise<string>
143
145
  }
144
146
 
145
147
  export interface DatasourcePlus extends IntegrationBase {
@@ -7,6 +7,7 @@ export interface BuilderServedEvent extends BaseEvent {
7
7
  export interface AppServedEvent extends BaseEvent {
8
8
  appVersion: string
9
9
  timezone: string
10
+ embed?: boolean
10
11
  }
11
12
 
12
13
  export interface AppPreviewServedEvent extends BaseEvent {