@budibase/types 3.2.24 → 3.2.25
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/api/web/{application.d.ts → app/application.d.ts} +2 -2
- package/dist/api/web/app/automation.d.ts +49 -1
- package/dist/api/web/{deployment.d.ts → app/deployment.d.ts} +1 -1
- package/dist/api/web/app/index.d.ts +10 -1
- package/dist/api/web/app/integration.d.ts +3 -0
- package/dist/api/web/{layout.d.ts → app/layout.d.ts} +4 -1
- package/dist/api/web/app/metadata.d.ts +13 -0
- package/dist/api/web/app/permission.d.ts +3 -1
- package/dist/api/web/app/query.d.ts +44 -0
- package/dist/api/web/{role.d.ts → app/role.d.ts} +3 -3
- package/dist/api/web/app/rows/index.d.ts +23 -1
- package/dist/api/web/app/screen.d.ts +14 -0
- package/dist/api/web/app/static.d.ts +20 -0
- package/dist/api/web/app/table.d.ts +7 -4
- package/dist/api/web/app/user.d.ts +19 -2
- package/dist/api/web/app/view.d.ts +4 -0
- package/dist/api/web/app/webhook.d.ts +20 -0
- package/dist/api/web/global/index.d.ts +1 -0
- package/dist/api/web/global/oldMigration.d.ts +7 -0
- package/dist/api/web/index.d.ts +1 -6
- package/dist/api/web/plugins.d.ts +11 -1
- package/dist/api/web/system/index.d.ts +1 -0
- package/dist/api/web/system/ops.d.ts +7 -0
- package/dist/api/web/template.d.ts +18 -0
- package/dist/documents/app/index.d.ts +1 -0
- package/dist/documents/app/metadata.d.ts +4 -0
- package/dist/documents/app/screen.d.ts +9 -0
- package/dist/documents/global/plugin.d.ts +3 -3
- package/dist/index.js +17 -0
- package/dist/index.js.map +4 -4
- package/dist/index.js.meta.json +1 -1
- package/dist/sdk/auth.d.ts +2 -2
- package/dist/sdk/permissions.d.ts +16 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/api/web/app/row.d.ts +0 -14
- package/dist/api/web/automation.d.ts +0 -49
- package/dist/api/web/query.d.ts +0 -23
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/types",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.25",
|
|
4
4
|
"description": "Budibase types",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"@types/redlock": "4.0.7",
|
|
21
21
|
"koa-useragent": "^4.1.0",
|
|
22
22
|
"rimraf": "3.0.2",
|
|
23
|
-
"typescript": "5.
|
|
23
|
+
"typescript": "5.7.2",
|
|
24
24
|
"zod": "^3.23.8"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"scim-patch": "^0.8.1"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "3f2da7f0e5e8359de19f91d1ec67dbe3abe36169"
|
|
30
30
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Row } from "../../../documents/app/row";
|
|
2
|
-
export interface GetRowResponse extends Row {
|
|
3
|
-
}
|
|
4
|
-
export interface DeleteRows {
|
|
5
|
-
rows: (Row | string)[];
|
|
6
|
-
}
|
|
7
|
-
export interface DeleteRow {
|
|
8
|
-
_id: string;
|
|
9
|
-
}
|
|
10
|
-
export type DeleteRowRequest = DeleteRows | DeleteRow;
|
|
11
|
-
export interface ValidateResponse {
|
|
12
|
-
valid: boolean;
|
|
13
|
-
errors: Record<string, any>;
|
|
14
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { DocumentDestroyResponse } from "@budibase/nano";
|
|
2
|
-
import { Automation, AutomationLogPage, AutomationStatus, Row } from "../../documents";
|
|
3
|
-
export interface DeleteAutomationResponse extends DocumentDestroyResponse {
|
|
4
|
-
}
|
|
5
|
-
export interface FetchAutomationResponse {
|
|
6
|
-
automations: Automation[];
|
|
7
|
-
}
|
|
8
|
-
export interface FindAutomationResponse extends Automation {
|
|
9
|
-
}
|
|
10
|
-
export interface UpdateAutomationRequest extends Automation {
|
|
11
|
-
}
|
|
12
|
-
export interface UpdateAutomationResponse {
|
|
13
|
-
message: string;
|
|
14
|
-
automation: Automation;
|
|
15
|
-
}
|
|
16
|
-
export interface CreateAutomationRequest extends Automation {
|
|
17
|
-
}
|
|
18
|
-
export interface CreateAutomationResponse {
|
|
19
|
-
message: string;
|
|
20
|
-
automation: Automation;
|
|
21
|
-
}
|
|
22
|
-
export interface SearchAutomationLogsRequest {
|
|
23
|
-
startDate?: string;
|
|
24
|
-
status?: AutomationStatus;
|
|
25
|
-
automationId?: string;
|
|
26
|
-
page?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface SearchAutomationLogsResponse extends AutomationLogPage {
|
|
29
|
-
}
|
|
30
|
-
export interface ClearAutomationLogRequest {
|
|
31
|
-
automationId: string;
|
|
32
|
-
appId: string;
|
|
33
|
-
}
|
|
34
|
-
export interface ClearAutomationLogResponse {
|
|
35
|
-
message: string;
|
|
36
|
-
}
|
|
37
|
-
export interface TriggerAutomationRequest {
|
|
38
|
-
fields: Record<string, any>;
|
|
39
|
-
timeout: number;
|
|
40
|
-
}
|
|
41
|
-
export type TriggerAutomationResponse = Record<string, any> | undefined;
|
|
42
|
-
export interface TestAutomationRequest {
|
|
43
|
-
id?: string;
|
|
44
|
-
revision?: string;
|
|
45
|
-
fields: Record<string, any>;
|
|
46
|
-
row?: Row;
|
|
47
|
-
}
|
|
48
|
-
export interface TestAutomationResponse {
|
|
49
|
-
}
|
package/dist/api/web/query.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { QueryPreview, QuerySchema } from "../../documents";
|
|
2
|
-
export interface PreviewQueryRequest extends QueryPreview {
|
|
3
|
-
}
|
|
4
|
-
export interface PreviewQueryResponse {
|
|
5
|
-
rows: any[];
|
|
6
|
-
nestedSchemaFields: {
|
|
7
|
-
[key: string]: {
|
|
8
|
-
[key: string]: string | QuerySchema;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
schema: {
|
|
12
|
-
[key: string]: string | QuerySchema;
|
|
13
|
-
};
|
|
14
|
-
info: any;
|
|
15
|
-
extra: any;
|
|
16
|
-
}
|
|
17
|
-
export interface ExecuteQueryRequest {
|
|
18
|
-
parameters?: Record<string, string>;
|
|
19
|
-
pagination?: any;
|
|
20
|
-
}
|
|
21
|
-
export interface ExecuteQueryResponse {
|
|
22
|
-
data: Record<string, any>[];
|
|
23
|
-
}
|