@budibase/types 3.12.12 → 3.12.14
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/app/application.d.ts +0 -5
- package/dist/api/web/app/deployment.d.ts +4 -0
- package/dist/api/web/app/index.d.ts +1 -0
- package/dist/api/web/app/resource.d.ts +23 -0
- package/dist/api/web/app/workspaceApp.d.ts +3 -3
- package/dist/documents/app/row.d.ts +1 -0
- package/dist/documents/app/workspaceApp.d.ts +1 -1
- package/dist/documents/document.d.ts +0 -2
- package/dist/index.js +8 -8
- package/dist/index.js.map +4 -4
- package/dist/sdk/ai.d.ts +19 -1
- package/dist/sdk/db.d.ts +1 -10
- package/dist/sdk/events/action.d.ts +11 -0
- package/dist/sdk/events/event.d.ts +4 -1
- package/dist/sdk/events/index.d.ts +1 -0
- package/package.json +2 -2
|
@@ -43,11 +43,6 @@ export interface AddAppSampleDataResponse {
|
|
|
43
43
|
message: string;
|
|
44
44
|
}
|
|
45
45
|
export type FetchAppsResponse = App[];
|
|
46
|
-
export interface PublishResponse {
|
|
47
|
-
_id: string;
|
|
48
|
-
status: string;
|
|
49
|
-
appUrl: string;
|
|
50
|
-
}
|
|
51
46
|
export interface UpdateAppRequest extends Partial<App> {
|
|
52
47
|
}
|
|
53
48
|
export interface UpdateAppResponse extends App {
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { DeploymentDoc, DeploymentStatus } from "../../../documents";
|
|
2
|
+
export interface PublishAppRequest {
|
|
3
|
+
automationIds?: string[];
|
|
4
|
+
workspaceAppIds?: string[];
|
|
5
|
+
}
|
|
2
6
|
export interface PublishAppResponse extends DeploymentDoc {
|
|
3
7
|
}
|
|
4
8
|
export interface DeploymentProgressResponse {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ResourceUsageRequest {
|
|
2
|
+
workspaceAppIds?: string[];
|
|
3
|
+
automationIds?: string[];
|
|
4
|
+
}
|
|
5
|
+
export declare enum UsedByType {
|
|
6
|
+
WORKSPACE = "workspace",
|
|
7
|
+
AUTOMATION = "automation"
|
|
8
|
+
}
|
|
9
|
+
export declare enum ResourceType {
|
|
10
|
+
DATASOURCE = "datasource",
|
|
11
|
+
TABLE = "table",
|
|
12
|
+
ROW_ACTION = "row_action",
|
|
13
|
+
QUERY = "query",
|
|
14
|
+
AUTOMATION = "automation"
|
|
15
|
+
}
|
|
16
|
+
export interface UsedResource {
|
|
17
|
+
id: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
type: ResourceType;
|
|
20
|
+
}
|
|
21
|
+
export interface ResourceUsageResponse {
|
|
22
|
+
resources: UsedResource[];
|
|
23
|
+
}
|
|
@@ -3,7 +3,7 @@ export interface WorkspaceAppResponse {
|
|
|
3
3
|
_id: string;
|
|
4
4
|
_rev: string;
|
|
5
5
|
name: string;
|
|
6
|
-
|
|
6
|
+
url: string;
|
|
7
7
|
icon: string;
|
|
8
8
|
iconColor?: string;
|
|
9
9
|
navigation: AppNavigation;
|
|
@@ -11,7 +11,7 @@ export interface WorkspaceAppResponse {
|
|
|
11
11
|
}
|
|
12
12
|
export interface InsertWorkspaceAppRequest {
|
|
13
13
|
name: string;
|
|
14
|
-
|
|
14
|
+
url: string;
|
|
15
15
|
icon: string;
|
|
16
16
|
iconColor?: string;
|
|
17
17
|
}
|
|
@@ -22,7 +22,7 @@ export interface UpdateWorkspaceAppRequest {
|
|
|
22
22
|
_id: string;
|
|
23
23
|
_rev: string;
|
|
24
24
|
name: string;
|
|
25
|
-
|
|
25
|
+
url: string;
|
|
26
26
|
icon: string;
|
|
27
27
|
iconColor?: string;
|
|
28
28
|
navigation: AppNavigation;
|
|
@@ -42,7 +42,6 @@ export declare enum DocumentType {
|
|
|
42
42
|
AGENT_TOOL_SOURCE = "agenttoolsource",
|
|
43
43
|
WORKSPACE_APP = "workspace_app"
|
|
44
44
|
}
|
|
45
|
-
export declare function getDocumentType(id: string): DocumentType | undefined;
|
|
46
45
|
export declare const DocumentTypesToImport: DocumentType[];
|
|
47
46
|
export declare enum InternalTable {
|
|
48
47
|
USER_METADATA = "ta_users"
|
|
@@ -51,7 +50,6 @@ export declare enum VirtualDocumentType {
|
|
|
51
50
|
VIEW = "view",
|
|
52
51
|
ROW_ACTION = "row_action"
|
|
53
52
|
}
|
|
54
|
-
export declare function getVirtualDocumentType(id: string): VirtualDocumentType | undefined;
|
|
55
53
|
export interface Document {
|
|
56
54
|
_id?: string;
|
|
57
55
|
_rev?: string;
|