@budibase/types 3.11.0 → 3.11.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.
- package/dist/api/web/app/application.d.ts +6 -1
- package/dist/api/web/app/index.d.ts +1 -0
- package/dist/api/web/app/workspaceApp.d.ts +28 -0
- package/dist/documents/app/automation/automation.d.ts +2 -1
- package/dist/documents/app/index.d.ts +1 -0
- package/dist/documents/app/screen.d.ts +1 -0
- package/dist/documents/app/workspaceApp.d.ts +7 -0
- package/dist/documents/document.d.ts +2 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +2 -2
- package/dist/sdk/ai.d.ts +1 -0
- package/dist/sdk/featureFlag.d.ts +1 -0
- package/dist/shared/typeUtils.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PlanType } from "../../../sdk";
|
|
2
|
-
import type { Layout, App, Screen } from "../../../documents";
|
|
2
|
+
import type { Layout, App, Screen, WorkspaceApp } from "../../../documents";
|
|
3
3
|
import { ReadStream } from "fs";
|
|
4
4
|
export interface SyncAppResponse {
|
|
5
5
|
message: string;
|
|
@@ -31,10 +31,14 @@ export interface FetchAppDefinitionResponse {
|
|
|
31
31
|
screens: Screen[];
|
|
32
32
|
libraries: string[];
|
|
33
33
|
}
|
|
34
|
+
interface WorkspaceAppResponse extends WorkspaceApp {
|
|
35
|
+
screens: Screen[];
|
|
36
|
+
}
|
|
34
37
|
export interface FetchAppPackageResponse {
|
|
35
38
|
application: App;
|
|
36
39
|
licenseType: PlanType;
|
|
37
40
|
screens: Screen[];
|
|
41
|
+
workspaceApps: WorkspaceAppResponse[];
|
|
38
42
|
layouts: Layout[];
|
|
39
43
|
clientLibPath: string;
|
|
40
44
|
hasLock: boolean;
|
|
@@ -79,3 +83,4 @@ export interface ExportAppDumpRequest {
|
|
|
79
83
|
encryptPassword?: string;
|
|
80
84
|
}
|
|
81
85
|
export type ExportAppDumpResponse = ReadStream;
|
|
86
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface WorkspaceAppResponse {
|
|
2
|
+
_id: string;
|
|
3
|
+
_rev: string;
|
|
4
|
+
name: string;
|
|
5
|
+
urlPrefix: string;
|
|
6
|
+
icon: string;
|
|
7
|
+
iconColor?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface InsertWorkspaceAppRequest {
|
|
10
|
+
name: string;
|
|
11
|
+
urlPrefix: string;
|
|
12
|
+
icon: string;
|
|
13
|
+
iconColor: string;
|
|
14
|
+
}
|
|
15
|
+
export interface InsertWorkspaceAppResponse {
|
|
16
|
+
workspaceApp: WorkspaceAppResponse;
|
|
17
|
+
}
|
|
18
|
+
export interface UpdateWorkspaceAppRequest {
|
|
19
|
+
_id: string;
|
|
20
|
+
_rev: string;
|
|
21
|
+
name: string;
|
|
22
|
+
urlPrefix: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
iconColor: string;
|
|
25
|
+
}
|
|
26
|
+
export interface UpdateWorkspaceAppResponse {
|
|
27
|
+
workspaceApp: WorkspaceAppResponse;
|
|
28
|
+
}
|
|
@@ -40,7 +40,8 @@ export declare enum DocumentType {
|
|
|
40
40
|
ROW_ACTIONS = "ra",
|
|
41
41
|
OAUTH2_CONFIG = "oauth2",
|
|
42
42
|
OAUTH2_CONFIG_LOG = "oauth2log",
|
|
43
|
-
AGENT_CHAT = "agentchat"
|
|
43
|
+
AGENT_CHAT = "agentchat",
|
|
44
|
+
WORKSPACE_APP = "workspace_app"
|
|
44
45
|
}
|
|
45
46
|
export declare function getDocumentType(id: string): DocumentType | undefined;
|
|
46
47
|
export declare const DocumentTypesToImport: DocumentType[];
|