@budibase/types 3.13.24 → 3.13.26

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.
@@ -5,11 +5,17 @@ export interface PublishAppRequest {
5
5
  }
6
6
  export interface PublishAppResponse extends DeploymentDoc {
7
7
  }
8
+ export declare enum PublishResourceState {
9
+ PUBLISHED = "published",
10
+ UNPUBLISHED = "unpublished",
11
+ DISABLED = "disabled"
12
+ }
8
13
  export type PublishStatusResource = {
9
14
  published: boolean;
10
15
  name: string;
11
16
  publishedAt?: string;
12
17
  unpublishedChanges?: boolean;
18
+ state: PublishResourceState;
13
19
  };
14
20
  export interface PublishStatusResponse {
15
21
  workspaceApps: Record<string, PublishStatusResource>;
@@ -4,16 +4,14 @@ export interface WorkspaceAppResponse {
4
4
  _rev: string;
5
5
  name: string;
6
6
  url: string;
7
- icon: string;
8
- iconColor?: string;
9
7
  navigation: AppNavigation;
10
8
  isDefault: boolean;
9
+ disabled?: boolean;
11
10
  }
12
11
  export interface InsertWorkspaceAppRequest {
13
12
  name: string;
14
13
  url: string;
15
- icon: string;
16
- iconColor?: string;
14
+ disabled?: boolean;
17
15
  }
18
16
  export interface InsertWorkspaceAppResponse {
19
17
  workspaceApp: WorkspaceAppResponse;
@@ -23,9 +21,8 @@ export interface UpdateWorkspaceAppRequest {
23
21
  _rev: string;
24
22
  name: string;
25
23
  url: string;
26
- icon: string;
27
- iconColor?: string;
28
24
  navigation: AppNavigation;
25
+ disabled?: boolean;
29
26
  }
30
27
  export interface UpdateWorkspaceAppResponse {
31
28
  workspaceApp: WorkspaceAppResponse;
@@ -3,8 +3,7 @@ import { AppNavigation } from "./app";
3
3
  export interface WorkspaceApp extends Document {
4
4
  name: string;
5
5
  url: string;
6
- icon: string;
7
- iconColor?: string;
8
6
  navigation: AppNavigation;
9
7
  isDefault: boolean;
8
+ disabled?: boolean;
10
9
  }