@budibase/types 2.28.7 → 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 -1
- package/dist/index.js.map +2 -2
- package/dist/index.js.meta.json +1 -1
- package/dist/sdk/datasources.d.ts +1 -0
- package/dist/sdk/search.d.ts +1 -0
- 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
|
@@ -575,6 +575,7 @@ var Operation = /* @__PURE__ */ ((Operation2) => {
|
|
|
575
575
|
Operation2["UPDATE"] = "UPDATE";
|
|
576
576
|
Operation2["DELETE"] = "DELETE";
|
|
577
577
|
Operation2["BULK_CREATE"] = "BULK_CREATE";
|
|
578
|
+
Operation2["BULK_UPSERT"] = "BULK_UPSERT";
|
|
578
579
|
Operation2["CREATE_TABLE"] = "CREATE_TABLE";
|
|
579
580
|
Operation2["UPDATE_TABLE"] = "UPDATE_TABLE";
|
|
580
581
|
Operation2["DELETE_TABLE"] = "DELETE_TABLE";
|
|
@@ -585,7 +586,8 @@ var RowOperations = [
|
|
|
585
586
|
"READ" /* READ */,
|
|
586
587
|
"UPDATE" /* UPDATE */,
|
|
587
588
|
"DELETE" /* DELETE */,
|
|
588
|
-
"BULK_CREATE" /* BULK_CREATE
|
|
589
|
+
"BULK_CREATE" /* BULK_CREATE */,
|
|
590
|
+
"BULK_UPSERT" /* BULK_UPSERT */
|
|
589
591
|
];
|
|
590
592
|
var QueryType = /* @__PURE__ */ ((QueryType2) => {
|
|
591
593
|
QueryType2["SQL"] = "sql";
|