@budibase/types 3.18.10 → 3.18.12
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/dev.d.ts +1 -1
- package/dist/api/web/global/role.d.ts +1 -1
- package/dist/api/web/index.d.ts +9 -9
- package/dist/api/web/template.d.ts +1 -1
- package/dist/api/web/workspace/backup.d.ts +46 -0
- package/dist/api/web/{app → workspace}/deployment.d.ts +2 -2
- package/dist/api/web/{app → workspace}/index.d.ts +5 -5
- package/dist/api/web/{app → workspace}/rows/search.d.ts +3 -3
- package/dist/api/web/{app → workspace}/user.d.ts +2 -2
- package/dist/api/web/{app/application.d.ts → workspace/workspace.d.ts} +17 -17
- package/dist/documents/document.d.ts +3 -4
- package/dist/documents/global/quotas.d.ts +1 -1
- package/dist/documents/global/schedule.d.ts +4 -4
- package/dist/documents/index.d.ts +2 -2
- package/dist/documents/{app → workspace}/backup.d.ts +16 -16
- package/dist/documents/{app → workspace}/view.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +4 -4
- package/dist/sdk/environmentVariables.d.ts +1 -1
- package/dist/sdk/events/backfill.d.ts +2 -2
- package/dist/sdk/events/backup.d.ts +5 -5
- package/dist/sdk/events/event.d.ts +12 -15
- package/dist/sdk/events/index.d.ts +13 -13
- package/dist/sdk/events/{app.d.ts → workspace.d.ts} +10 -10
- package/dist/sdk/licensing/feature.d.ts +1 -1
- package/dist/sdk/licensing/quota.d.ts +2 -2
- package/dist/sdk/locks.d.ts +1 -1
- package/dist/sdk/permissions.d.ts +1 -1
- package/package.json +2 -2
- package/dist/api/web/app/backup.d.ts +0 -43
- /package/dist/api/web/{app → workspace}/attachment.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/automation.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/component.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/datasource.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/features.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/integration.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/layout.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/metadata.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/navigation.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/oauth2.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/permission.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/query.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/recaptcha.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/resource.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/role.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/rowAction.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/rows/index.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/screen.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/static.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/table.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/view.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/webhook.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/workspaceApp.d.ts +0 -0
- /package/dist/api/web/{app → workspace}/workspaceFavourites.d.ts +0 -0
- /package/dist/documents/{app → workspace}/automation/StepInputsOutputs.d.ts +0 -0
- /package/dist/documents/{app → workspace}/automation/automation.d.ts +0 -0
- /package/dist/documents/{app → workspace}/automation/index.d.ts +0 -0
- /package/dist/documents/{app → workspace}/automation/schema.d.ts +0 -0
- /package/dist/documents/{app → workspace}/component.d.ts +0 -0
- /package/dist/documents/{app → workspace}/datasource.d.ts +0 -0
- /package/dist/documents/{app → workspace}/deployment.d.ts +0 -0
- /package/dist/documents/{app → workspace}/index.d.ts +0 -0
- /package/dist/documents/{app → workspace}/layout.d.ts +0 -0
- /package/dist/documents/{app → workspace}/links.d.ts +0 -0
- /package/dist/documents/{app → workspace}/metadata.d.ts +0 -0
- /package/dist/documents/{app → workspace}/oauth2.d.ts +0 -0
- /package/dist/documents/{app → workspace}/query.d.ts +0 -0
- /package/dist/documents/{app → workspace}/role.d.ts +0 -0
- /package/dist/documents/{app → workspace}/row.d.ts +0 -0
- /package/dist/documents/{app → workspace}/rowAction.d.ts +0 -0
- /package/dist/documents/{app → workspace}/screen.d.ts +0 -0
- /package/dist/documents/{app → workspace}/snippet.d.ts +0 -0
- /package/dist/documents/{app → workspace}/sqlite.d.ts +0 -0
- /package/dist/documents/{app → workspace}/table/constants.d.ts +0 -0
- /package/dist/documents/{app → workspace}/table/index.d.ts +0 -0
- /package/dist/documents/{app → workspace}/table/schema.d.ts +0 -0
- /package/dist/documents/{app → workspace}/table/table.d.ts +0 -0
- /package/dist/documents/{app → workspace}/theme.d.ts +0 -0
- /package/dist/documents/{app → workspace}/user.d.ts +0 -0
- /package/dist/documents/{app → workspace}/webhook.d.ts +0 -0
- /package/dist/documents/{app → workspace}/workspace.d.ts +0 -0
- /package/dist/documents/{app → workspace}/workspaceApp.d.ts +0 -0
- /package/dist/documents/{app → workspace}/workspaceFavourite.d.ts +0 -0
package/dist/api/web/dev.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export interface FetchGlobalRolesResponse extends Record<string, GlobalRoleRespo
|
|
|
9
9
|
}
|
|
10
10
|
export interface FindGlobalRoleResponse extends GlobalRoleResponse {
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface RemoveWorkspaceRoleResponse {
|
|
13
13
|
message: string;
|
|
14
14
|
}
|
|
15
15
|
export {};
|
package/dist/api/web/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export * from "./ai";
|
|
2
2
|
export * from "./analytics";
|
|
3
|
+
export * from "./apikeys";
|
|
3
4
|
export * from "./auth";
|
|
4
|
-
export * from "./
|
|
5
|
-
export * from "./errors";
|
|
5
|
+
export * from "./cookies";
|
|
6
6
|
export * from "./debug";
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./
|
|
9
|
-
export * from "./app";
|
|
7
|
+
export * from "./dev";
|
|
8
|
+
export * from "./errors";
|
|
10
9
|
export * from "./global";
|
|
11
10
|
export * from "./pagination";
|
|
12
|
-
export * from "./searchFilter";
|
|
13
|
-
export * from "./cookies";
|
|
14
11
|
export * from "./plugins";
|
|
15
|
-
export * from "./
|
|
16
|
-
export * from "./
|
|
12
|
+
export * from "./schedule";
|
|
13
|
+
export * from "./searchFilter";
|
|
14
|
+
export * from "./system";
|
|
17
15
|
export * from "./template";
|
|
16
|
+
export * from "./user";
|
|
17
|
+
export * from "./workspace";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BackupTrigger, BackupType } from "../../../documents";
|
|
2
|
+
export interface SearchWorkspaceBackupsRequest {
|
|
3
|
+
trigger: BackupTrigger;
|
|
4
|
+
type: BackupType;
|
|
5
|
+
startDate: string;
|
|
6
|
+
endDate: string;
|
|
7
|
+
page?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CreateWorkspaceBackupRequest {
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
export interface CreateWorkspaceBackupResponse {
|
|
13
|
+
backupId: string;
|
|
14
|
+
message: string;
|
|
15
|
+
}
|
|
16
|
+
export interface UpdateWorkspaceBackupRequest {
|
|
17
|
+
name: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ImportWorkspaceBackupRequest {
|
|
20
|
+
name: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ImportWorkspaceBackupResponse {
|
|
23
|
+
restoreId: string;
|
|
24
|
+
message: string;
|
|
25
|
+
}
|
|
26
|
+
export interface ClearBackupErrorRequest {
|
|
27
|
+
appId: string;
|
|
28
|
+
backupId?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface ClearBackupErrorResponse {
|
|
31
|
+
message: string;
|
|
32
|
+
}
|
|
33
|
+
export interface DeleteWorkspaceBackupResult {
|
|
34
|
+
backupId: string;
|
|
35
|
+
success: boolean;
|
|
36
|
+
error?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface DeleteWorkspaceBackupsRequest {
|
|
39
|
+
backupIds: string[];
|
|
40
|
+
}
|
|
41
|
+
export interface DeleteWorkspaceBackupsResponse {
|
|
42
|
+
message: string;
|
|
43
|
+
results: DeleteWorkspaceBackupResult[];
|
|
44
|
+
successCount: number;
|
|
45
|
+
failureCount: number;
|
|
46
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { DeploymentDoc, DeploymentStatus } from "../../../documents";
|
|
2
|
-
export interface
|
|
2
|
+
export interface PublishWorkspaceRequest {
|
|
3
3
|
automationIds?: string[];
|
|
4
4
|
workspaceAppIds?: string[];
|
|
5
5
|
seedProductionTables?: boolean;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface PublishWorkspaceResponse extends DeploymentDoc {
|
|
8
8
|
}
|
|
9
9
|
export declare enum PublishResourceState {
|
|
10
10
|
PUBLISHED = "published",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from "./application";
|
|
2
1
|
export * from "./attachment";
|
|
3
2
|
export * from "./automation";
|
|
4
3
|
export * from "./backup";
|
|
@@ -9,10 +8,12 @@ export * from "./features";
|
|
|
9
8
|
export * from "./integration";
|
|
10
9
|
export * from "./layout";
|
|
11
10
|
export * from "./metadata";
|
|
11
|
+
export * from "./navigation";
|
|
12
12
|
export * from "./oauth2";
|
|
13
13
|
export * from "./permission";
|
|
14
|
-
export * from "./workspaceApp";
|
|
15
14
|
export * from "./query";
|
|
15
|
+
export * from "./recaptcha";
|
|
16
|
+
export * from "./resource";
|
|
16
17
|
export * from "./role";
|
|
17
18
|
export * from "./rowAction";
|
|
18
19
|
export * from "./rows";
|
|
@@ -22,7 +23,6 @@ export * from "./table";
|
|
|
22
23
|
export * from "./user";
|
|
23
24
|
export * from "./view";
|
|
24
25
|
export * from "./webhook";
|
|
25
|
-
export * from "./
|
|
26
|
-
export * from "./
|
|
26
|
+
export * from "./workspace";
|
|
27
|
+
export * from "./workspaceApp";
|
|
27
28
|
export * from "./workspaceFavourites";
|
|
28
|
-
export * from "./recaptcha";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EmptyFilterOption } from "../../../../sdk";
|
|
2
|
-
import { Row } from "../../../../documents";
|
|
3
|
-
import { PaginationResponse, SortOrder, SortType } from "../../../../api/web/pagination";
|
|
4
1
|
import { z } from "zod";
|
|
2
|
+
import { Row } from "../../../../documents";
|
|
3
|
+
import { EmptyFilterOption } from "../../../../sdk";
|
|
4
|
+
import { PaginationResponse, SortOrder, SortType } from "../../pagination";
|
|
5
5
|
declare const searchRowRequest: z.ZodObject<{
|
|
6
6
|
query: z.ZodOptional<z.ZodObject<{
|
|
7
7
|
equal: z.ZodTypeAny;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContextUserMetadata, Flags, UserMetadata } from "../../../";
|
|
2
1
|
import { DocumentInsertResponse } from "@budibase/nano";
|
|
2
|
+
import { ContextUserMetadata, Flags, UserMetadata } from "../../..";
|
|
3
3
|
export type FetchUserMetadataResponse = ContextUserMetadata[];
|
|
4
4
|
export type FindUserMetadataResponse = ContextUserMetadata;
|
|
5
5
|
export interface SetUserFlagRequest {
|
|
@@ -11,7 +11,7 @@ export interface SetUserFlagResponse {
|
|
|
11
11
|
}
|
|
12
12
|
export interface GetUserFlagsResponse extends Flags {
|
|
13
13
|
}
|
|
14
|
-
export type
|
|
14
|
+
export type SelfResponse = ContextUserMetadata | {};
|
|
15
15
|
export interface UpdateSelfMetadataRequest extends UserMetadata {
|
|
16
16
|
}
|
|
17
17
|
export interface UpdateSelfMetadataResponse extends DocumentInsertResponse {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReadStream } from "fs";
|
|
2
2
|
import type { Layout, Screen, Workspace } from "../../../documents";
|
|
3
3
|
import type { PlanType } from "../../../sdk";
|
|
4
|
-
export interface
|
|
4
|
+
export interface SyncWorkspaceResponse {
|
|
5
5
|
message: string;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface CreateWorkspaceRequest {
|
|
8
8
|
name: string;
|
|
9
9
|
url?: string;
|
|
10
10
|
useTemplate?: string | boolean;
|
|
@@ -17,13 +17,13 @@ export interface CreateAppRequest {
|
|
|
17
17
|
};
|
|
18
18
|
isOnboarding?: string;
|
|
19
19
|
}
|
|
20
|
-
export interface
|
|
20
|
+
export interface CreateWorkspaceResponse extends Workspace {
|
|
21
21
|
}
|
|
22
|
-
export interface
|
|
22
|
+
export interface DuplicateWorkspaceRequest {
|
|
23
23
|
name: string;
|
|
24
24
|
url?: string;
|
|
25
25
|
}
|
|
26
|
-
export interface
|
|
26
|
+
export interface DuplicateWorkspaceResponse {
|
|
27
27
|
duplicateAppId: string;
|
|
28
28
|
sourceAppId: string;
|
|
29
29
|
}
|
|
@@ -41,13 +41,13 @@ export interface FetchAppPackageResponse {
|
|
|
41
41
|
hasLock: boolean;
|
|
42
42
|
recaptchaKey?: string;
|
|
43
43
|
}
|
|
44
|
-
export interface
|
|
44
|
+
export interface AddWorkspaceSampleDataResponse {
|
|
45
45
|
message: string;
|
|
46
46
|
}
|
|
47
|
-
export type
|
|
47
|
+
export type FetchWorkspacesResponse = (Workspace & {
|
|
48
48
|
defaultWorkspaceAppUrl: string;
|
|
49
49
|
})[];
|
|
50
|
-
export interface
|
|
50
|
+
export interface PublishedWorkspaceData {
|
|
51
51
|
name: string;
|
|
52
52
|
appId: string;
|
|
53
53
|
url: string;
|
|
@@ -55,30 +55,30 @@ export interface PublishedAppData {
|
|
|
55
55
|
updatedAt?: string;
|
|
56
56
|
}
|
|
57
57
|
export interface FetchPublishedAppsResponse {
|
|
58
|
-
apps:
|
|
58
|
+
apps: PublishedWorkspaceData[];
|
|
59
59
|
}
|
|
60
|
-
export interface
|
|
60
|
+
export interface UpdateWorkspaceRequest extends Partial<Workspace> {
|
|
61
61
|
}
|
|
62
|
-
export interface
|
|
62
|
+
export interface UpdateWorkspaceResponse extends Workspace {
|
|
63
63
|
}
|
|
64
64
|
export interface UpdateAppClientResponse extends Workspace {
|
|
65
65
|
}
|
|
66
66
|
export interface RevertAppClientResponse extends Workspace {
|
|
67
67
|
}
|
|
68
|
-
export interface
|
|
68
|
+
export interface DeleteWorkspaceResponse {
|
|
69
69
|
ok: boolean;
|
|
70
70
|
}
|
|
71
|
-
export interface
|
|
71
|
+
export interface UnpublishWorkspaceResponse {
|
|
72
72
|
message: string;
|
|
73
73
|
}
|
|
74
|
-
export interface
|
|
74
|
+
export interface ImportToUpdateWorkspaceRequest {
|
|
75
75
|
encryptionPassword?: string;
|
|
76
76
|
}
|
|
77
|
-
export interface
|
|
77
|
+
export interface ImportToUpdateWorkspaceResponse {
|
|
78
78
|
message: string;
|
|
79
79
|
}
|
|
80
|
-
export interface
|
|
80
|
+
export interface ExportWorkspaceDumpRequest {
|
|
81
81
|
excludeRows: boolean;
|
|
82
82
|
encryptPassword?: string;
|
|
83
83
|
}
|
|
84
|
-
export type
|
|
84
|
+
export type ExportWorkspaceDumpResponse = ReadStream;
|
|
@@ -4,13 +4,12 @@ export declare const prefixed: (type: DocumentType) => string;
|
|
|
4
4
|
export declare enum DocumentType {
|
|
5
5
|
USER = "us",
|
|
6
6
|
GROUP = "gr",
|
|
7
|
-
WORKSPACE = "workspace",
|
|
8
7
|
CONFIG = "config",
|
|
9
8
|
TEMPLATE = "template",
|
|
10
|
-
|
|
9
|
+
WORKSPACE = "app",
|
|
11
10
|
DEV = "dev",
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
WORKSPACE_DEV = "app_dev",
|
|
12
|
+
WORKSPACE_METADATA = "app_metadata",
|
|
14
13
|
ROLE = "role",
|
|
15
14
|
DEV_INFO = "devinfo",
|
|
16
15
|
AUTOMATION_LOG = "log_au",
|
|
@@ -16,7 +16,7 @@ export type QuotaTriggers = {
|
|
|
16
16
|
[key: string]: string | undefined;
|
|
17
17
|
};
|
|
18
18
|
export interface StaticUsage {
|
|
19
|
-
[StaticQuotaName.
|
|
19
|
+
[StaticQuotaName.WORKSPACES]: number;
|
|
20
20
|
[StaticQuotaName.PLUGINS]: number;
|
|
21
21
|
[StaticQuotaName.USERS]: number;
|
|
22
22
|
[StaticQuotaName.CREATORS]: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Document } from "../document";
|
|
2
2
|
export declare enum ScheduleType {
|
|
3
|
-
|
|
3
|
+
WORKSPACE_BACKUP = "app_backup"
|
|
4
4
|
}
|
|
5
5
|
export declare enum ScheduleRepeatPeriod {
|
|
6
6
|
DAILY = "daily",
|
|
@@ -14,8 +14,8 @@ export interface Schedule extends Document {
|
|
|
14
14
|
repeat: ScheduleRepeatPeriod;
|
|
15
15
|
metadata: ScheduleMetadata;
|
|
16
16
|
}
|
|
17
|
-
export type ScheduleMetadata =
|
|
18
|
-
export declare const isAppBackupMetadata: (type: ScheduleType, metadata: ScheduleMetadata) => metadata is
|
|
19
|
-
export interface
|
|
17
|
+
export type ScheduleMetadata = WorkspaceBackupScheduleMetadata;
|
|
18
|
+
export declare const isAppBackupMetadata: (type: ScheduleType, metadata: ScheduleMetadata) => metadata is WorkspaceBackupScheduleMetadata;
|
|
19
|
+
export interface WorkspaceBackupScheduleMetadata {
|
|
20
20
|
apps: string[];
|
|
21
21
|
}
|
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import { Document } from "../document";
|
|
2
1
|
import { User } from "../../";
|
|
3
|
-
|
|
2
|
+
import { Document } from "../document";
|
|
3
|
+
export declare enum BackupType {
|
|
4
4
|
BACKUP = "backup",
|
|
5
5
|
RESTORE = "restore"
|
|
6
6
|
}
|
|
7
|
-
export declare enum
|
|
7
|
+
export declare enum BackupStatus {
|
|
8
8
|
STARTED = "started",
|
|
9
9
|
PENDING = "pending",
|
|
10
10
|
COMPLETE = "complete",
|
|
11
11
|
FAILED = "failed"
|
|
12
12
|
}
|
|
13
|
-
export declare enum
|
|
13
|
+
export declare enum BackupTrigger {
|
|
14
14
|
PUBLISH = "publish",
|
|
15
15
|
MANUAL = "manual",
|
|
16
16
|
SCHEDULED = "scheduled",
|
|
17
17
|
RESTORING = "restoring"
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface WorkspaceBackupContents {
|
|
20
20
|
datasources: string[];
|
|
21
21
|
screens: string[];
|
|
22
22
|
automations: string[];
|
|
23
23
|
}
|
|
24
|
-
export interface
|
|
24
|
+
export interface WorkspaceBackupMetadata {
|
|
25
25
|
appId: string;
|
|
26
|
-
trigger?:
|
|
27
|
-
type:
|
|
28
|
-
status:
|
|
26
|
+
trigger?: BackupTrigger;
|
|
27
|
+
type: BackupType;
|
|
28
|
+
status: BackupStatus;
|
|
29
29
|
name?: string;
|
|
30
30
|
createdBy?: string | User;
|
|
31
31
|
timestamp: string;
|
|
32
32
|
finishedAt?: string;
|
|
33
33
|
startedAt?: string;
|
|
34
|
-
contents?:
|
|
34
|
+
contents?: WorkspaceBackupContents;
|
|
35
35
|
}
|
|
36
|
-
export interface
|
|
36
|
+
export interface WorkspaceBackup extends Document, WorkspaceBackupMetadata {
|
|
37
37
|
_id: string;
|
|
38
38
|
filename?: string;
|
|
39
39
|
}
|
|
40
|
-
export type
|
|
41
|
-
trigger?:
|
|
42
|
-
type?:
|
|
40
|
+
export type BackupFetchOpts = {
|
|
41
|
+
trigger?: BackupTrigger;
|
|
42
|
+
type?: BackupType;
|
|
43
43
|
limit?: number;
|
|
44
44
|
page?: string;
|
|
45
45
|
paginate?: boolean;
|
|
46
46
|
startDate?: string;
|
|
47
47
|
endDate?: string;
|
|
48
48
|
};
|
|
49
|
-
export interface
|
|
49
|
+
export interface WorkspaceBackupQueueData {
|
|
50
50
|
appId: string;
|
|
51
51
|
docId: string;
|
|
52
52
|
docRev: string;
|
|
53
53
|
export?: {
|
|
54
|
-
trigger:
|
|
54
|
+
trigger: BackupTrigger;
|
|
55
55
|
name?: string;
|
|
56
56
|
createdBy?: string;
|
|
57
57
|
};
|
|
@@ -32,9 +32,11 @@ export interface View {
|
|
|
32
32
|
export interface BasicViewFieldMetadata extends UIFieldMetadata {
|
|
33
33
|
readonly?: boolean;
|
|
34
34
|
columns?: Record<string, RelationSchemaField>;
|
|
35
|
+
displayName?: string;
|
|
35
36
|
}
|
|
36
37
|
export interface RelationSchemaField extends UIFieldMetadata {
|
|
37
38
|
readonly?: boolean;
|
|
39
|
+
displayName?: string;
|
|
38
40
|
}
|
|
39
41
|
export interface NumericCalculationFieldMetadata extends BasicViewFieldMetadata {
|
|
40
42
|
calculationType: CalculationType.MIN | CalculationType.MAX | CalculationType.SUM | CalculationType.AVG;
|