@vuu-ui/vuu-shell 4.0.1 → 5.0.0-alpha.1
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/package.json +20 -18
- package/src/app-header/AppHeader.js +36 -26
- package/src/application-provider/ApplicationContext.js +2 -5
- package/src/application-provider/ApplicationProvider.js +8 -59
- package/src/feature/Feature.js +3 -34
- package/src/feature/index.js +1 -0
- package/src/feature-list/FeatureList.css.js +27 -5
- package/src/feature-list/FeatureList.js +117 -96
- package/src/index.js +3 -3
- package/src/left-nav/LeftNav.css.js +2 -4
- package/src/left-nav/LeftNav.js +139 -100
- package/src/module-registry/getRegisteredModules.js +12 -0
- package/src/persistence-manager/PersistenceProvider.js +9 -4
- package/src/persistence-manager/index.js +1 -0
- package/src/shell-layout-templates/context-panel/ApplicationSettingsContextPanel.js +24 -0
- package/src/shell-layout-templates/context-panel/ContextPanel.css.js +8 -8
- package/src/shell-layout-templates/context-panel/ContextPanel.js +17 -35
- package/src/shell-layout-templates/context-panel/index.js +1 -0
- package/src/shell-layout-templates/full-height-left-panel/useFullHeightLeftPanel.js +54 -40
- package/src/shell-layout-templates/inlay-left-panel/useInlayLeftPanel.js +54 -64
- package/src/shell-layout-templates/left-main-tabs/useLeftMainTabs.js +49 -28
- package/src/shell-layout-templates/side-panel/SidePanel.css.js +3 -1
- package/src/shell-layout-templates/simple-content-pane/useSimpleContentPane.js +43 -35
- package/src/shell.css.js +85 -2
- package/src/shell.js +148 -70
- package/src/workspace-management/LayoutList.js +60 -100
- package/src/workspace-management/SaveLayoutPanel.js +3 -3
- package/src/workspace-management/index.js +2 -1
- package/src/workspace-management/shell-workspace-components.js +59 -0
- package/src/workspace-management/useWorkspaceContextMenuItems.js +13 -8
- package/types/app-header/AppHeader.d.ts +2 -2
- package/types/application-provider/ApplicationContext.d.ts +1 -6
- package/types/application-provider/ApplicationProvider.d.ts +5 -14
- package/types/feature/Feature.d.ts +2 -10
- package/types/feature/Loader.d.ts +1 -1
- package/types/feature/index.d.ts +2 -1
- package/types/feature-list/FeatureList.d.ts +4 -4
- package/types/index.d.ts +3 -3
- package/types/left-nav/LeftNav.d.ts +2 -1
- package/types/login/LoginPanel.d.ts +1 -1
- package/types/login/VuuLogo.d.ts +1 -1
- package/types/persistence-manager/PersistenceProvider.d.ts +6 -3
- package/types/persistence-manager/index.d.ts +1 -0
- package/types/shell-layout-templates/context-panel/ApplicationSettingsContextPanel.d.ts +1 -1
- package/types/shell-layout-templates/context-panel/ContextPanel.d.ts +9 -11
- package/types/shell-layout-templates/context-panel/index.d.ts +1 -0
- package/types/shell-layout-templates/full-height-left-panel/useFullHeightLeftPanel.d.ts +1 -1
- package/types/shell-layout-templates/inlay-left-panel/useInlayLeftPanel.d.ts +1 -1
- package/types/shell-layout-templates/left-main-tabs/useLeftMainTabs.d.ts +1 -1
- package/types/shell-layout-templates/side-panel/SidePanel.d.ts +1 -1
- package/types/shell-layout-templates/simple-content-pane/useSimpleContentPane.d.ts +1 -1
- package/types/shell-layout-templates/useShellLayout.d.ts +4 -2
- package/types/shell.d.ts +19 -15
- package/types/theme-switch/ThemeSwitch.d.ts +1 -1
- package/types/workspace-management/LayoutList.d.ts +2 -2
- package/types/workspace-management/LayoutTile.d.ts +1 -1
- package/types/workspace-management/SaveLayoutPanel.d.ts +2 -2
- package/types/workspace-management/defaultWorkspaceJSON.d.ts +7 -6
- package/types/workspace-management/index.d.ts +6 -1
- package/types/workspace-management/useWorkspaceContextMenuItems.d.ts +1 -1
- package/src/feature/FeatureErrorBoundary.js +0 -33
- package/src/user-settings/SettingsForm.css.js +0 -10
- package/src/user-settings/SettingsForm.js +0 -141
- package/src/user-settings/UserSettingsPanel.css.js +0 -9
- package/src/user-settings/UserSettingsPanel.js +0 -29
- package/src/user-settings/index.js +0 -2
- package/src/workspace-management/WorkspaceProvider.js +0 -209
- package/types/feature/FeatureErrorBoundary.d.ts +0 -13
- package/types/persistence-manager/LocalWorkspacePersistenceService.d.ts +0 -18
- package/types/persistence-manager/RemoteWorkspacePersistenceService.d.ts +0 -25
- package/types/persistence-manager/WorkspacePersistenceService.d.ts +0 -27
- package/types/src/ShellContextProvider.d.ts +0 -7
- package/types/src/app-header/AppHeader.d.ts +0 -6
- package/types/src/app-header/index.d.ts +0 -1
- package/types/src/application-provider/ApplicationContext.d.ts +0 -11
- package/types/src/application-provider/ApplicationProvider.d.ts +0 -17
- package/types/src/application-provider/index.d.ts +0 -1
- package/types/src/feature/Feature.d.ts +0 -10
- package/types/src/feature/FeatureErrorBoundary.d.ts +0 -13
- package/types/src/feature/Loader.d.ts +0 -1
- package/types/src/feature/index.d.ts +0 -1
- package/types/src/feature-and-layout-provider/FeatureAndLayoutProvider.d.ts +0 -19
- package/types/src/feature-and-layout-provider/index.d.ts +0 -1
- package/types/src/feature-list/FeatureList.d.ts +0 -7
- package/types/src/feature-list/index.d.ts +0 -1
- package/types/src/get-layout-history.d.ts +0 -8
- package/types/src/index.d.ts +0 -14
- package/types/src/left-nav/LeftNav.d.ts +0 -14
- package/types/src/left-nav/index.d.ts +0 -1
- package/types/src/login/LoginPanel.d.ts +0 -6
- package/types/src/login/VuuLogo.d.ts +0 -1
- package/types/src/persistence-manager/LocalPersistenceManager.d.ts +0 -20
- package/types/src/persistence-manager/PersistenceManager.d.ts +0 -71
- package/types/src/persistence-manager/PersistenceProvider.d.ts +0 -11
- package/types/src/persistence-manager/RemotePersistenceManager.d.ts +0 -25
- package/types/src/persistence-manager/StaticPersistenceManager.d.ts +0 -25
- package/types/src/persistence-manager/index.d.ts +0 -5
- package/types/src/shell-layout-templates/context-panel/ContextPanel.d.ts +0 -13
- package/types/src/shell-layout-templates/context-panel/index.d.ts +0 -1
- package/types/src/shell-layout-templates/full-height-left-panel/useFullHeightLeftPanel.d.ts +0 -2
- package/types/src/shell-layout-templates/index.d.ts +0 -3
- package/types/src/shell-layout-templates/inlay-left-panel/useInlayLeftPanel.d.ts +0 -2
- package/types/src/shell-layout-templates/left-main-tabs/useLeftMainTabs.d.ts +0 -2
- package/types/src/shell-layout-templates/side-panel/SidePanel.d.ts +0 -8
- package/types/src/shell-layout-templates/side-panel/index.d.ts +0 -1
- package/types/src/shell-layout-templates/simple-content-pane/useSimpleContentPane.d.ts +0 -2
- package/types/src/shell-layout-templates/useShellLayout.d.ts +0 -51
- package/types/src/shell.d.ts +0 -17
- package/types/src/theme-switch/ThemeSwitch.d.ts +0 -8
- package/types/src/theme-switch/index.d.ts +0 -1
- package/types/src/user-settings/SettingsForm.d.ts +0 -46
- package/types/src/user-settings/UserSettingsPanel.d.ts +0 -3
- package/types/src/user-settings/index.d.ts +0 -2
- package/types/src/workspace-management/LayoutList.d.ts +0 -2
- package/types/src/workspace-management/LayoutTile.d.ts +0 -7
- package/types/src/workspace-management/SaveLayoutPanel.d.ts +0 -9
- package/types/src/workspace-management/WorkspaceProvider.d.ts +0 -52
- package/types/src/workspace-management/defaultWorkspaceJSON.d.ts +0 -10
- package/types/src/workspace-management/index.d.ts +0 -5
- package/types/src/workspace-management/screenshot-utils.d.ts +0 -6
- package/types/src/workspace-management/useWorkspaceContextMenuItems.d.ts +0 -5
- package/types/user-settings/SettingsForm.d.ts +0 -46
- package/types/user-settings/UserSettingsPanel.d.ts +0 -3
- package/types/user-settings/index.d.ts +0 -2
- package/types/workspace-management/WorkspaceController.d.ts +0 -32
- package/types/workspace-management/WorkspaceHost.d.ts +0 -1
- package/types/workspace-management/WorkspacePersistentState.d.ts +0 -19
- package/types/workspace-management/WorkspaceProvider.d.ts +0 -52
- package/types/workspace-management/WorkspaceRepository.d.ts +0 -13
- package/types/workspace-management/WorkspaceStartPanel.d.ts +0 -1
- package/types/workspace-management/workspace-component-registry.d.ts +0 -12
- package/types/workspace-management/workspace-schemas.d.ts +0 -69
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { GridLayoutDocumentController, type GridComponentRendererRegistry, type GridComponentSettingsRegistry, type GridLayoutDocument, type GridLayoutDocumentChange } from "@vuu-ui/grid-layout";
|
|
2
|
-
import type { WorkspacePersistenceService } from "../persistence-manager";
|
|
3
|
-
import { WorkspacePersistentStateStore } from "./WorkspacePersistentState";
|
|
4
|
-
import { WorkspaceRepository } from "./WorkspaceRepository";
|
|
5
|
-
import { type WorkspaceSnapshotV1 } from "./workspace-schemas";
|
|
6
|
-
export interface WorkspaceControllerOptions {
|
|
7
|
-
readonly definitionId?: string;
|
|
8
|
-
readonly instanceId: string;
|
|
9
|
-
name: string;
|
|
10
|
-
readonly onError: (error: Error) => void;
|
|
11
|
-
readonly renderers: GridComponentRendererRegistry;
|
|
12
|
-
readonly service: WorkspacePersistenceService;
|
|
13
|
-
readonly settingsCodecs: GridComponentSettingsRegistry;
|
|
14
|
-
readonly snapshot: WorkspaceSnapshotV1;
|
|
15
|
-
readonly revision?: number;
|
|
16
|
-
}
|
|
17
|
-
export declare class WorkspaceController {
|
|
18
|
-
#private;
|
|
19
|
-
readonly definitionId?: string;
|
|
20
|
-
readonly documentController: GridLayoutDocumentController;
|
|
21
|
-
readonly instanceId: string;
|
|
22
|
-
name: string;
|
|
23
|
-
readonly persistentState: WorkspacePersistentStateStore;
|
|
24
|
-
readonly renderers: GridComponentRendererRegistry;
|
|
25
|
-
readonly repository: WorkspaceRepository;
|
|
26
|
-
readonly settingsCodecs: GridComponentSettingsRegistry;
|
|
27
|
-
constructor(options: WorkspaceControllerOptions);
|
|
28
|
-
get snapshot(): WorkspaceSnapshotV1;
|
|
29
|
-
handleDocumentChange: (document: GridLayoutDocument, change: GridLayoutDocumentChange) => void;
|
|
30
|
-
rename(name: string): void;
|
|
31
|
-
dispose(): Promise<void>;
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const WorkspaceHost: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { type ReactElement, type ReactNode } from "react";
|
|
2
|
-
import { type ComponentPersistentStateV1 } from "./workspace-schemas";
|
|
3
|
-
export type ComponentStateUpdate = ComponentPersistentStateV1 | ((current: ComponentPersistentStateV1 | undefined) => ComponentPersistentStateV1);
|
|
4
|
-
export declare class WorkspacePersistentStateStore {
|
|
5
|
-
#private;
|
|
6
|
-
constructor(initialState?: Readonly<Record<string, ComponentPersistentStateV1>>);
|
|
7
|
-
getSnapshot: () => Readonly<Record<string, ComponentPersistentStateV1>>;
|
|
8
|
-
subscribe: (listener: () => void) => (() => void);
|
|
9
|
-
get(componentInstanceId: string): ComponentPersistentStateV1 | undefined;
|
|
10
|
-
update(componentInstanceId: string, update: ComponentStateUpdate): void;
|
|
11
|
-
purge(componentInstanceId?: string): void;
|
|
12
|
-
}
|
|
13
|
-
export interface WorkspacePersistentStateProviderProps {
|
|
14
|
-
readonly children: ReactNode;
|
|
15
|
-
readonly store: WorkspacePersistentStateStore;
|
|
16
|
-
}
|
|
17
|
-
export declare const WorkspacePersistentStateProvider: ({ children, store, }: WorkspacePersistentStateProviderProps) => ReactElement;
|
|
18
|
-
export declare const useWorkspacePersistentStateStore: () => WorkspacePersistentStateStore;
|
|
19
|
-
export declare const useComponentPersistentState: (componentInstanceId: string) => readonly [ComponentPersistentStateV1 | undefined, (update: ComponentStateUpdate) => void, () => void];
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { LayoutMetadata, LayoutMetadataDto, type ApplicationSetting, type ApplicationSettings, type LayoutJSON } from "@vuu-ui/vuu-utils";
|
|
2
|
-
import { ReactElement } from "react";
|
|
3
|
-
import { type WorkspaceStackProps } from "./defaultWorkspaceJSON";
|
|
4
|
-
export type WorkspaceProps = WorkspaceStackProps & {
|
|
5
|
-
layoutPlaceholderJSON?: LayoutJSON;
|
|
6
|
-
/**
|
|
7
|
-
* layoutJSON defines the default layout to render on first load and until such time as
|
|
8
|
-
* layout state has been persisted. After that, the persisted state will be rendered.
|
|
9
|
-
*/
|
|
10
|
-
layoutJSON?: LayoutJSON | LayoutJSON[];
|
|
11
|
-
activeLayoutIndex?: number;
|
|
12
|
-
/**
|
|
13
|
-
* The Vuu workspace is the container into which layouts are loaded. By default, it will be
|
|
14
|
-
* a Tabbed Panel (Stack + Tabstrip), showing a tab per Layout.
|
|
15
|
-
*/
|
|
16
|
-
workspaceJSON?: LayoutJSON | LayoutJSON[];
|
|
17
|
-
};
|
|
18
|
-
export interface WorkspaceProviderProps extends WorkspaceProps {
|
|
19
|
-
children: ReactElement | ReactElement[];
|
|
20
|
-
/**
|
|
21
|
-
* layoutPlaceholderJSON defines the layout to render when a new workspace layout is created.
|
|
22
|
-
*/
|
|
23
|
-
layoutPlaceholderJSON?: LayoutJSON;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* LayoutManagementProvider supplies an API for loading and saving layout documents.
|
|
27
|
-
* Initial layout is automatically loaded on startup. Because this hook is responsible
|
|
28
|
-
* only for loading and saving layouts, it only triggers a render when content is loaded.
|
|
29
|
-
*
|
|
30
|
-
* Initial layout displays a loading state
|
|
31
|
-
* User may supply a default layout. This will not be displayed until call has been made to
|
|
32
|
-
* persistenceManager to retrieve stored layout state. If no stored state is returned, the
|
|
33
|
-
* default layout provided by user will be set as current state (and hence rendered). If no
|
|
34
|
-
* default layout has been provided by user, the sysem default will be used (simple PlaceHolder)
|
|
35
|
-
* If saved layout state has been returned, that will be set as current state (and rendered)
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
export declare const WorkspaceProvider: ({ TabstripProps, children, layoutJSON, activeLayoutIndex, layoutPlaceholderJSON, showTabs, workspaceJSON: customWorkspaceJSON, }: WorkspaceProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
export declare const useWorkspace: () => {
|
|
40
|
-
layoutMetadata: LayoutMetadata[];
|
|
41
|
-
layoutPlaceholderJSON?: LayoutJSON;
|
|
42
|
-
getApplicationSettings: (key?: keyof ApplicationSettings) => ApplicationSettings | ApplicationSetting | undefined;
|
|
43
|
-
loadLayoutById: (id: string) => void;
|
|
44
|
-
saveApplicationSettings: (settings: ApplicationSettings | ApplicationSetting, key?: keyof ApplicationSettings) => void;
|
|
45
|
-
saveLayout: (n: LayoutMetadataDto) => void;
|
|
46
|
-
saveApplicationLayout: (layout: LayoutJSON) => void;
|
|
47
|
-
workspaceJSON: LayoutJSON<{
|
|
48
|
-
[key: string]: any;
|
|
49
|
-
}>[] | LayoutJSON<{
|
|
50
|
-
[key: string]: any;
|
|
51
|
-
}>;
|
|
52
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { WorkspacePersistenceService } from "../persistence-manager";
|
|
2
|
-
import { type WorkspaceSnapshotRecordV1, type WorkspaceSnapshotV1 } from "./workspace-schemas";
|
|
3
|
-
export declare class WorkspaceRepositoryDisposedError extends Error {
|
|
4
|
-
constructor();
|
|
5
|
-
}
|
|
6
|
-
export declare class WorkspaceRepository {
|
|
7
|
-
#private;
|
|
8
|
-
constructor(service: WorkspacePersistenceService, workspaceInstanceId: string, initial?: WorkspaceSnapshotRecordV1);
|
|
9
|
-
get current(): WorkspaceSnapshotRecordV1 | undefined;
|
|
10
|
-
load(): Promise<WorkspaceSnapshotRecordV1 | undefined>;
|
|
11
|
-
save(snapshot: WorkspaceSnapshotV1): Promise<WorkspaceSnapshotRecordV1>;
|
|
12
|
-
dispose(): Promise<void>;
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const WorkspaceStartPanel: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GridComponentRendererRegistry, GridComponentSettingsRegistry, type GridComponentRenderer, type GridComponentSettingsCodec, type JsonValue } from "@vuu-ui/grid-layout";
|
|
2
|
-
export interface WorkspaceComponentRegistration<T> {
|
|
3
|
-
readonly codec: GridComponentSettingsCodec<T>;
|
|
4
|
-
readonly render: GridComponentRenderer<T>;
|
|
5
|
-
readonly type: string;
|
|
6
|
-
}
|
|
7
|
-
export interface WorkspaceComponentRegistries {
|
|
8
|
-
readonly renderers: GridComponentRendererRegistry;
|
|
9
|
-
readonly settingsCodecs: GridComponentSettingsRegistry;
|
|
10
|
-
}
|
|
11
|
-
export declare const createWorkspaceComponentRegistries: <T>(registrations: readonly WorkspaceComponentRegistration<T>[]) => WorkspaceComponentRegistries;
|
|
12
|
-
export declare const jsonValueWorkspaceComponentCodec: GridComponentSettingsCodec<JsonValue>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { type GridLayoutDocument, type JsonValue } from "@vuu-ui/grid-layout";
|
|
2
|
-
export declare const WORKSPACE_SNAPSHOT_VERSION = 1;
|
|
3
|
-
export declare const APPLICATION_SESSION_VERSION = 1;
|
|
4
|
-
export declare const NAMED_WORKSPACE_DEFINITION_VERSION = 1;
|
|
5
|
-
export declare const WORKSPACE_SNAPSHOT_RECORD_VERSION = 1;
|
|
6
|
-
export interface ComponentPersistentStateV1 {
|
|
7
|
-
readonly componentType: string;
|
|
8
|
-
readonly schemaVersion: number;
|
|
9
|
-
readonly value: JsonValue;
|
|
10
|
-
}
|
|
11
|
-
export interface WorkspaceSnapshotV1 {
|
|
12
|
-
readonly version: typeof WORKSPACE_SNAPSHOT_VERSION;
|
|
13
|
-
readonly layout: GridLayoutDocument;
|
|
14
|
-
readonly componentState: Readonly<Record<string, ComponentPersistentStateV1>>;
|
|
15
|
-
}
|
|
16
|
-
export interface OpenWorkspaceInstanceV1 {
|
|
17
|
-
readonly instanceId: string;
|
|
18
|
-
readonly definitionId?: string;
|
|
19
|
-
readonly title?: string;
|
|
20
|
-
readonly snapshotId: string;
|
|
21
|
-
}
|
|
22
|
-
export interface ApplicationSessionV1 {
|
|
23
|
-
readonly version: typeof APPLICATION_SESSION_VERSION;
|
|
24
|
-
readonly openWorkspaces: readonly OpenWorkspaceInstanceV1[];
|
|
25
|
-
readonly workspaceOrder: readonly string[];
|
|
26
|
-
readonly activeWorkspaceInstanceId: string | null;
|
|
27
|
-
readonly settings: Readonly<Record<string, JsonValue>>;
|
|
28
|
-
}
|
|
29
|
-
export interface NamedWorkspaceDefinitionV1 {
|
|
30
|
-
readonly version: typeof NAMED_WORKSPACE_DEFINITION_VERSION;
|
|
31
|
-
readonly id: string;
|
|
32
|
-
readonly name: string;
|
|
33
|
-
readonly description?: string;
|
|
34
|
-
readonly createdAt: string;
|
|
35
|
-
readonly updatedAt: string;
|
|
36
|
-
readonly snapshot: WorkspaceSnapshotV1;
|
|
37
|
-
}
|
|
38
|
-
export interface NamedWorkspaceMetadataV1 {
|
|
39
|
-
readonly version: typeof NAMED_WORKSPACE_DEFINITION_VERSION;
|
|
40
|
-
readonly id: string;
|
|
41
|
-
readonly name: string;
|
|
42
|
-
readonly description?: string;
|
|
43
|
-
readonly createdAt: string;
|
|
44
|
-
readonly updatedAt: string;
|
|
45
|
-
}
|
|
46
|
-
export interface WorkspaceSnapshotRecordV1 {
|
|
47
|
-
readonly version: typeof WORKSPACE_SNAPSHOT_RECORD_VERSION;
|
|
48
|
-
readonly workspaceInstanceId: string;
|
|
49
|
-
readonly revision: number;
|
|
50
|
-
readonly snapshot: WorkspaceSnapshotV1;
|
|
51
|
-
}
|
|
52
|
-
export type WorkspaceSchemaName = "WorkspaceSnapshotV1" | "ApplicationSessionV1" | "NamedWorkspaceDefinitionV1" | "NamedWorkspaceMetadataV1" | "WorkspaceSnapshotRecordV1";
|
|
53
|
-
export interface WorkspaceValidationIssue {
|
|
54
|
-
readonly code: "INVALID_JSON_VALUE" | "INVALID_VALUE" | "UNEXPECTED_FIELD" | "UNSUPPORTED_VERSION";
|
|
55
|
-
readonly message: string;
|
|
56
|
-
readonly path: string;
|
|
57
|
-
}
|
|
58
|
-
export declare class WorkspaceValidationError extends Error {
|
|
59
|
-
readonly schema: WorkspaceSchemaName;
|
|
60
|
-
readonly issues: readonly WorkspaceValidationIssue[];
|
|
61
|
-
constructor(schema: WorkspaceSchemaName, issues: readonly WorkspaceValidationIssue[]);
|
|
62
|
-
}
|
|
63
|
-
export declare const validateWorkspaceSnapshotV1: (value: unknown) => WorkspaceSnapshotV1;
|
|
64
|
-
export declare const validateApplicationSessionV1: (value: unknown) => ApplicationSessionV1;
|
|
65
|
-
export declare const validateNamedWorkspaceDefinitionV1: (value: unknown) => NamedWorkspaceDefinitionV1;
|
|
66
|
-
export declare const validateNamedWorkspaceMetadataV1: (value: unknown) => NamedWorkspaceMetadataV1;
|
|
67
|
-
export declare const validateWorkspaceSnapshotRecordV1: (value: unknown) => WorkspaceSnapshotRecordV1;
|
|
68
|
-
export declare const workspaceMetadata: (definition: NamedWorkspaceDefinitionV1) => NamedWorkspaceMetadataV1;
|
|
69
|
-
export declare const cloneWorkspaceValue: <T>(value: T) => T;
|