@budibase/types 3.16.0 → 3.17.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/api/web/app/deployment.d.ts +0 -1
- package/dist/api/web/app/index.d.ts +1 -0
- package/dist/api/web/app/screen.d.ts +1 -0
- package/dist/api/web/app/static.d.ts +1 -1
- package/dist/api/web/app/workspaceApp.d.ts +2 -0
- package/dist/api/web/app/workspaceFavourites.d.ts +25 -0
- package/dist/documents/app/automation/schema.d.ts +1 -1
- package/dist/documents/app/index.d.ts +1 -0
- package/dist/documents/app/workspaceFavourite.d.ts +7 -0
- package/dist/documents/document.d.ts +2 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/sdk/events/event.d.ts +8 -1
- package/dist/sdk/events/identification.d.ts +2 -0
- package/dist/sdk/events/index.d.ts +1 -0
- package/dist/sdk/events/view.d.ts +2 -1
- package/dist/sdk/events/workspaceApp.d.ts +7 -0
- package/dist/sdk/featureFlag.d.ts +1 -1
- package/dist/ui/stores/automations.d.ts +5 -1
- package/dist/ui/workspaceApps.d.ts +2 -0
- package/package.json +2 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DocumentDestroyResponse } from "@budibase/nano";
|
|
2
|
+
import { WorkspaceFavourite } from "../../../documents";
|
|
3
|
+
export declare enum WorkspaceResource {
|
|
4
|
+
DATASOURCE = "datasource",
|
|
5
|
+
QUERY = "query",
|
|
6
|
+
TABLE = "table",
|
|
7
|
+
AUTOMATION = "automation",
|
|
8
|
+
WORKSPACE_APP = "workspace_app",
|
|
9
|
+
VIEW = "view"
|
|
10
|
+
}
|
|
11
|
+
export interface AddWorkspaceFavouriteRequest {
|
|
12
|
+
resourceType: WorkspaceResource;
|
|
13
|
+
resourceId: string;
|
|
14
|
+
}
|
|
15
|
+
export interface AddWorkspaceFavouriteResponse {
|
|
16
|
+
_id: string;
|
|
17
|
+
_rev: string;
|
|
18
|
+
resourceType: WorkspaceResource;
|
|
19
|
+
resourceId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface WorkspaceFavouriteResponse {
|
|
22
|
+
favourites: WorkspaceFavourite[];
|
|
23
|
+
}
|
|
24
|
+
export interface DeleteWorkspaceFavouriteResponse extends DocumentDestroyResponse {
|
|
25
|
+
}
|
|
@@ -127,7 +127,7 @@ export interface AutomationTriggerSchema<TTrigger extends AutomationTriggerStepI
|
|
|
127
127
|
event?: AutomationEventType;
|
|
128
128
|
cronJobId?: string;
|
|
129
129
|
stepId: TTrigger;
|
|
130
|
-
inputs: AutomationTriggerInputs<
|
|
130
|
+
inputs: AutomationTriggerInputs<TTrigger>;
|
|
131
131
|
}
|
|
132
132
|
export type AutomationTrigger = AppActionTrigger | CronTrigger | RowActionTrigger | RowDeletedTrigger | RowSavedTrigger | RowUpdatedTrigger | WebhookTrigger;
|
|
133
133
|
export type AppActionTrigger = AutomationTriggerSchema<AutomationTriggerStepId.APP>;
|
|
@@ -40,7 +40,8 @@ export declare enum DocumentType {
|
|
|
40
40
|
OAUTH2_CONFIG_LOG = "oauth2log",
|
|
41
41
|
AGENT_CHAT = "agentchat",
|
|
42
42
|
AGENT_TOOL_SOURCE = "agenttoolsource",
|
|
43
|
-
WORKSPACE_APP = "workspace_app"
|
|
43
|
+
WORKSPACE_APP = "workspace_app",
|
|
44
|
+
WORKSPACE_FAVOURITE = "workspace_favourite"
|
|
44
45
|
}
|
|
45
46
|
export declare const DocumentTypesToImport: DocumentType[];
|
|
46
47
|
export declare enum InternalTable {
|