@budibase/types 2.28.6 → 2.29.0
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/documents/app/automation.d.ts +8 -0
- package/dist/documents/global/tenantInfo.d.ts +2 -0
- package/dist/index.js +3 -8
- package/dist/index.js.map +3 -3
- package/dist/index.js.meta.json +1 -1
- package/dist/sdk/datasources.d.ts +1 -4
- package/dist/sdk/search.d.ts +4 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -5,6 +5,8 @@ import { Document } from "../document";
|
|
|
5
5
|
import { EventEmitter } from "events";
|
|
6
6
|
import { User } from "../global";
|
|
7
7
|
import { ReadStream } from "fs";
|
|
8
|
+
import { Row } from "./row";
|
|
9
|
+
import { Table } from "./table";
|
|
8
10
|
export declare enum AutomationIOType {
|
|
9
11
|
OBJECT = "object",
|
|
10
12
|
STRING = "string",
|
|
@@ -218,4 +220,10 @@ export type BucketedContent = AutomationAttachmentContent & {
|
|
|
218
220
|
bucket: string;
|
|
219
221
|
path: string;
|
|
220
222
|
};
|
|
223
|
+
export type UpdatedRowEventEmitter = {
|
|
224
|
+
row: Row;
|
|
225
|
+
oldRow: Row;
|
|
226
|
+
table: Table;
|
|
227
|
+
appId: string;
|
|
228
|
+
};
|
|
221
229
|
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Hosting } from "../../sdk";
|
|
1
2
|
import { Document } from "../document";
|
|
2
3
|
export interface TenantInfo extends Document {
|
|
3
4
|
owner: {
|
|
@@ -9,4 +10,5 @@ export interface TenantInfo extends Document {
|
|
|
9
10
|
budibaseUserId?: string;
|
|
10
11
|
};
|
|
11
12
|
tenantId: string;
|
|
13
|
+
hosting: Hosting;
|
|
12
14
|
}
|
package/dist/index.js
CHANGED
|
@@ -105,7 +105,6 @@ __export(src_exports, {
|
|
|
105
105
|
SearchFilterOperator: () => SearchFilterOperator,
|
|
106
106
|
SearchIndex: () => SearchIndex,
|
|
107
107
|
ServiceType: () => ServiceType,
|
|
108
|
-
SortDirection: () => SortDirection,
|
|
109
108
|
SortOption: () => SortOption,
|
|
110
109
|
SortOrder: () => SortOrder,
|
|
111
110
|
SortType: () => SortType,
|
|
@@ -576,6 +575,7 @@ var Operation = /* @__PURE__ */ ((Operation2) => {
|
|
|
576
575
|
Operation2["UPDATE"] = "UPDATE";
|
|
577
576
|
Operation2["DELETE"] = "DELETE";
|
|
578
577
|
Operation2["BULK_CREATE"] = "BULK_CREATE";
|
|
578
|
+
Operation2["BULK_UPSERT"] = "BULK_UPSERT";
|
|
579
579
|
Operation2["CREATE_TABLE"] = "CREATE_TABLE";
|
|
580
580
|
Operation2["UPDATE_TABLE"] = "UPDATE_TABLE";
|
|
581
581
|
Operation2["DELETE_TABLE"] = "DELETE_TABLE";
|
|
@@ -586,13 +586,9 @@ var RowOperations = [
|
|
|
586
586
|
"READ" /* READ */,
|
|
587
587
|
"UPDATE" /* UPDATE */,
|
|
588
588
|
"DELETE" /* DELETE */,
|
|
589
|
-
"BULK_CREATE" /* BULK_CREATE
|
|
589
|
+
"BULK_CREATE" /* BULK_CREATE */,
|
|
590
|
+
"BULK_UPSERT" /* BULK_UPSERT */
|
|
590
591
|
];
|
|
591
|
-
var SortDirection = /* @__PURE__ */ ((SortDirection2) => {
|
|
592
|
-
SortDirection2["ASCENDING"] = "ASCENDING";
|
|
593
|
-
SortDirection2["DESCENDING"] = "DESCENDING";
|
|
594
|
-
return SortDirection2;
|
|
595
|
-
})(SortDirection || {});
|
|
596
592
|
var QueryType = /* @__PURE__ */ ((QueryType2) => {
|
|
597
593
|
QueryType2["SQL"] = "sql";
|
|
598
594
|
QueryType2["JSON"] = "json";
|
|
@@ -1351,7 +1347,6 @@ var MaintenanceType = /* @__PURE__ */ ((MaintenanceType2) => {
|
|
|
1351
1347
|
SearchFilterOperator,
|
|
1352
1348
|
SearchIndex,
|
|
1353
1349
|
ServiceType,
|
|
1354
|
-
SortDirection,
|
|
1355
1350
|
SortOption,
|
|
1356
1351
|
SortOrder,
|
|
1357
1352
|
SortType,
|