@ximatai/muyun-web-app 0.26.8 → 0.26.10
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/{MetadataOrchestrationView-DKYVGMzy.js → MetadataOrchestrationView-BhtVwJII.js} +210 -204
- package/dist/{ModuleActionManagementView-DiVzuPdu.js → ModuleActionManagementView-DpZS-xAD.js} +74 -74
- package/dist/{RoleAuthorizationView-C0s4Bog7.js → RoleAuthorizationView-8lilhtMB.js} +193 -139
- package/dist/{RoleDetailWorkspaceView-dqHxKVfd.js → RoleDetailWorkspaceView-CFha6JHn.js} +1 -1
- package/dist/{RoleManagementView-D43pUCxi.js → RoleManagementView-0_KDrzgh.js} +572 -550
- package/dist/index.css +1 -1
- package/dist/index.js +536 -4427
- package/dist/{platform-components-CFU_zR7-.js → platform-components-oRIsIoxu.js} +5154 -3608
- package/dist/types/App.vue.d.ts +1 -0
- package/dist/types/app/StaticRoutePageHost.vue.d.ts +13 -0
- package/dist/types/app/loginTenant.d.ts +1 -1
- package/dist/types/app/menuRouteCompiler.d.ts +45 -0
- package/dist/types/app/menuRouteRuntime.d.ts +24 -0
- package/dist/types/app/pageRouteContext.d.ts +24 -0
- package/dist/types/app/routeDiagnosticsStore.d.ts +10 -0
- package/dist/types/app/router.d.ts +15 -0
- package/dist/types/app/staticRouteDefinitions.d.ts +25 -0
- package/dist/types/app/workbenchRouteSync.d.ts +1 -1
- package/dist/types/app/workbenchStartup.d.ts +3 -3
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
- package/dist/types/consumer/index.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/DynamicModuleHost.vue.d.ts +3 -10
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +4 -3
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +42 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +15 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +28 -0
- package/dist/types/dynamic-page-runtime/ModulePageFormContributionRenderer.vue.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/ModulePageHost.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +14 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +44 -0
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +41 -0
- package/dist/types/dynamic-page-runtime/NavigatorManagementEditor.vue.d.ts +20 -1
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +17 -5
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +31 -0
- package/dist/types/dynamic-page-runtime/composables/useManagedDetailRelationRuntime.d.ts +30 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageActions.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageBootstrap.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +48 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +28 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +22 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +41 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +1378 -0
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +23 -0
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +5 -12
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/listPageSizePreference.d.ts +10 -0
- package/dist/types/dynamic-page-runtime/moduleDetailStateModel.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +215 -9
- package/dist/types/dynamic-page-runtime/navigatorEntrySelection.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/navigatorVisibility.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +10 -2
- package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +12 -3
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +9 -0
- package/dist/types/formula/FormulaRuntime.d.ts +29 -0
- package/dist/types/platform-admin-runtime/WorkspaceViewDrawer.vue.d.ts +1 -0
- package/dist/types/{views/SystemUserManagementView.vue.d.ts → platform-admin-runtime/employee/EmployeeAccountDrawer.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/employeeModulePageEnhancement.d.ts +3 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- package/dist/types/platform-admin-runtime/moduleOpenApi.d.ts +2 -0
- package/dist/types/platform-admin-runtime/passwordPolicyPageEnhancement.d.ts +6 -0
- package/dist/types/platform-admin-runtime/platformAdminRoutes.d.ts +1 -6
- package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +15 -0
- package/dist/types/{views/EmployeeManagementView.vue.d.ts → platform-admin-runtime/tenant/TenantApplicationConfigurationDrawer.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/tenant/TenantApplicationsDetailSection.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/tenantModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/UserOnlineStatusCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/user/UserPasswordDrawer.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/UserSessionListExpansion.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/user/useUserSessionRows.d.ts +23 -0
- package/dist/types/platform-admin-runtime/user/userOnlineStatusStore.d.ts +11 -0
- package/dist/types/platform-admin-runtime/userModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +8 -2
- package/dist/types/platform-components/DetailRelationListPanel.vue.d.ts +13 -0
- package/dist/types/{views/SystemUserDetailWorkspaceView.vue.d.ts → platform-components/DrawerTitleActions.vue.d.ts} +2 -2
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +7 -0
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +2 -0
- package/dist/types/platform-components/ModuleActionButton.vue.d.ts +5 -2
- package/dist/types/platform-components/RecordContentSectionHeading.vue.d.ts +17 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordDetailExtensionSection.vue.d.ts +8 -3
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +11 -3
- package/dist/types/platform-components/RecordDetailPanel.vue.d.ts +14 -6
- package/dist/types/platform-components/RecordExpandedSubtable.vue.d.ts +3 -0
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +4 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +29 -1
- package/dist/types/platform-components/RecordImageFileReferencePreview.vue.d.ts +11 -0
- package/dist/types/platform-components/RecordListExpansionSurface.vue.d.ts +13 -0
- package/dist/types/platform-components/RecordListExplorer.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +4 -1
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +12 -2
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +12 -2
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +39 -5
- package/dist/types/{views/EmployeeEmploymentDrawer.vue.d.ts → platform-components/RecordRelationTabs.vue.d.ts} +7 -7
- package/dist/types/platform-components/RecordSelectionCheckbox.vue.d.ts +13 -0
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +12 -4
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +8 -2
- package/dist/types/platform-components/UserSessionExpandedSubtable.vue.d.ts +2 -0
- package/dist/types/platform-components/drawerTitleActions.d.ts +11 -0
- package/dist/types/platform-components/index.d.ts +11 -5
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +3 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +82 -5
- package/dist/types/platform-components/recordPickerConstraints.d.ts +4 -0
- package/dist/types/platform-components/recordPickerModel.d.ts +6 -2
- package/dist/types/platform-workbench/Workbench.vue.d.ts +4 -2
- package/dist/types/platform-workbench/index.d.ts +3 -2
- package/dist/types/platform-workbench/legacyPageHostTypeCompatibility.d.ts +6 -0
- package/dist/types/platform-workbench/menuNavigation.d.ts +24 -2
- package/dist/types/platform-workbench/pageCacheKey.d.ts +2 -0
- package/dist/types/platform-workbench/pageHostRegistry.d.ts +1 -1
- package/dist/types/platform-workbench/workbenchNavigation.d.ts +14 -1
- package/dist/types/views/PasswordPolicyPreview.vue.d.ts +7 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +1 -0
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +2 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +1 -0
- package/dist/types/views/{EmployeeDetailWorkspaceView.vue.d.ts → UserDetailRouteView.vue.d.ts} +3 -1
- package/dist/types/views/UserManagementView.vue.d.ts +1 -6
- package/dist/types/views/userDetailStateModel.d.ts +1 -3
- package/dist/types/views/userManagementRouteState.d.ts +11 -0
- package/dist/types/vue-ui-antdv/components/UiButton.vue.d.ts +3 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +2 -1
- package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +18 -0
- package/dist/types/vue-ui-antdv/components/UiRecordExplorerItem.vue.d.ts +2 -2
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/index.d.ts +4 -2
- package/dist/types/web-contracts/index.d.ts +375 -14
- package/dist/types/web-core/businessNotifications.d.ts +3 -2
- package/dist/types/web-core/http.d.ts +6 -0
- package/dist/types/web-core/index.d.ts +1 -0
- package/dist/types/web-core/module/abilities.d.ts +7 -7
- package/dist/types/web-core/module/index.d.ts +1 -1
- package/dist/types/web-core/module/moduleContext.d.ts +6 -3
- package/dist/types/web-core/module/runtimeContext.d.ts +2 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +42 -10
- package/dist/types/web-core/realtime.d.ts +8 -0
- package/dist/types/web-core/referenceResolveClient.d.ts +11 -0
- package/dist/workspaceViews-D-RiJ64o.js +9078 -0
- package/package.json +1 -1
- package/dist/EmployeeDetailWorkspaceView-DswEDSxH.js +0 -14
- package/dist/EmployeeManagementView-C9STtw08.js +0 -1777
- package/dist/SystemUserDetailWorkspaceView-CQ9WeLrR.js +0 -17
- package/dist/SystemUserManagementView-D75_ylYk.js +0 -758
- package/dist/UserDetailWorkspaceView-BCST01d2.js +0 -17
- package/dist/UserManagementView-CcdvDo_y.js +0 -964
- package/dist/pageRealtime-EAiGWKEo.js +0 -227
- package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +0 -6
- package/dist/types/views/EmployeeDetailContent.vue.d.ts +0 -64
- package/dist/types/views/UserDetailWorkspaceView.vue.d.ts +0 -7
- package/dist/types/views/dictionaryManagementState.d.ts +0 -215
- package/dist/types/views/employeeDetailStateModel.d.ts +0 -39
- package/dist/types/views/employeeDetailWorkspaceSession.d.ts +0 -16
- package/dist/types/views/employeeDetailWorkspaceView.d.ts +0 -4
- package/dist/types/views/fieldUiControlManagementState.d.ts +0 -76
- package/dist/types/views/menuManagementState.d.ts +0 -178
- package/dist/types/views/moduleManagementState.d.ts +0 -76
- package/dist/types/views/positionManagementState.d.ts +0 -218
- package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +0 -12
- package/dist/types/views/systemUserDetailWorkspaceView.d.ts +0 -5
- package/dist/types/views/tenantManagementState.d.ts +0 -74
- package/dist/types/views/useEmployeeEmploymentRows.d.ts +0 -20
- package/dist/types/views/userDetailWorkspaceSession.d.ts +0 -14
- package/dist/types/views/userDetailWorkspaceView.d.ts +0 -4
- package/dist/useUserSessionRows-DCpUZCzN.js +0 -128
- package/dist/workspaceViewSessions-Dj1LjdG1.js +0 -4984
- /package/dist/types/views/{DictionaryManagementView.vue.d.ts → DynamicModuleRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{FieldUiControlManagementView.vue.d.ts → ExternalRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{MenuManagementView.vue.d.ts → ModuleOpenApiRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{ModuleManagementView.vue.d.ts → OpenApiCatalogRouteView.vue.d.ts} +0 -0
- /package/dist/types/views/{PasswordManagementView.vue.d.ts → RouteDiagnosticsView.vue.d.ts} +0 -0
- /package/dist/types/views/{PositionManagementView.vue.d.ts → UserManagementListView.vue.d.ts} +0 -0
- /package/dist/types/views/{TenantManagementView.vue.d.ts → WorkspaceRouteView.vue.d.ts} +0 -0
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
import type { HttpClient } from '../http';
|
|
2
2
|
import { type ModuleAbilities } from './abilities';
|
|
3
3
|
import { type ModuleActionState, type ModuleRecordActionAvailability, type ModuleRuntimeAction, type ModuleRuntimeContextState } from './runtimeContext';
|
|
4
|
-
import { type
|
|
4
|
+
import { type NavigatorReferenceRequestContext, type ModuleCrudClient, type ModuleTreeClient } from './staticModuleClient';
|
|
5
5
|
export interface ModuleContext<TRecord> {
|
|
6
6
|
moduleAlias: string;
|
|
7
7
|
http: HttpClient;
|
|
8
|
-
crud:
|
|
8
|
+
crud: ModuleCrudClient<TRecord>;
|
|
9
9
|
runtime: ModuleRuntimeContextState;
|
|
10
10
|
abilities: ModuleAbilities<TRecord>;
|
|
11
11
|
action(actionCode: string, recordId?: string): ModuleActionState | undefined;
|
|
12
12
|
runtimeAction(actionCode: string): ModuleRuntimeAction | undefined;
|
|
13
13
|
can(actionCode: string, recordId?: string): boolean | undefined;
|
|
14
14
|
recordActions(recordId: string): Promise<ModuleRecordActionAvailability>;
|
|
15
|
+
recordActionsBatch?(recordIds: string[]): Promise<ModuleRecordActionAvailability[]>;
|
|
15
16
|
recordActionsSnapshot(recordId: string): ModuleRecordActionAvailability | undefined;
|
|
17
|
+
invalidateRecordActions?(recordIds?: string[]): void;
|
|
16
18
|
}
|
|
17
19
|
export interface ModuleTreeContext<TRecord> extends ModuleContext<TRecord> {
|
|
18
|
-
tree:
|
|
20
|
+
tree: ModuleTreeClient<TRecord>;
|
|
19
21
|
}
|
|
20
22
|
export interface ModuleContextConfig {
|
|
21
23
|
http?: HttpClient;
|
|
@@ -24,6 +26,7 @@ export interface ModuleContextConfig {
|
|
|
24
26
|
export interface ModuleContextOptions extends ModuleContextConfig {
|
|
25
27
|
moduleAlias: string;
|
|
26
28
|
runtimeAccess?: 'MENU' | 'REFERENCE';
|
|
29
|
+
navigatorReference?: NavigatorReferenceRequestContext;
|
|
27
30
|
}
|
|
28
31
|
export declare function configureModuleContext(config: ModuleContextConfig): void;
|
|
29
32
|
export declare function provideModuleContextConfig(config: ModuleContextConfig): void;
|
|
@@ -61,7 +61,9 @@ export interface ModuleRuntimeContextState {
|
|
|
61
61
|
runtimeAction(actionCode: string): ModuleRuntimeAction | undefined;
|
|
62
62
|
can(actionCode: string, recordId?: string): boolean | undefined;
|
|
63
63
|
recordActions(recordId: string): Promise<ModuleRecordActionAvailability>;
|
|
64
|
+
recordActionsBatch?(recordIds: string[]): Promise<ModuleRecordActionAvailability[]>;
|
|
64
65
|
recordActionsSnapshot(recordId: string): ModuleRecordActionAvailability | undefined;
|
|
66
|
+
invalidateRecordActions?(recordIds?: string[]): void;
|
|
65
67
|
}
|
|
66
68
|
export declare function createModuleRuntimeContextState(http: HttpClient, moduleAlias: string, access?: 'MENU' | 'REFERENCE'): ModuleRuntimeContextState;
|
|
67
69
|
export declare function isRuntimeAbilityAvailable(context: ModuleRuntimeContext | undefined, ability: ModuleAbilityCode): boolean;
|
|
@@ -11,7 +11,8 @@ export interface QuerySchemaRequestOptions {
|
|
|
11
11
|
uiConfigId?: string;
|
|
12
12
|
queryTemplateId?: string;
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
/** Source-neutral client for a platform module's standard CRUD contract. */
|
|
15
|
+
export interface ModuleCrudClient<TRecord> {
|
|
15
16
|
querySchema(options?: QuerySchemaRequestOptions): Promise<QuerySchema>;
|
|
16
17
|
query(request?: WebQueryRequest): Promise<WebPageResponse<TRecord>>;
|
|
17
18
|
view(id: string): Promise<TRecord>;
|
|
@@ -21,7 +22,8 @@ export interface StaticModuleCrudClient<TRecord> {
|
|
|
21
22
|
enable(id: string, request: RecordActionRequest): Promise<StaticCountMutationResult>;
|
|
22
23
|
disable(id: string, request: RecordActionRequest): Promise<StaticCountMutationResult>;
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
+
/** Source-neutral tree extension for a platform module. */
|
|
26
|
+
export interface ModuleTreeClient<TRecord> extends ModuleCrudClient<TRecord> {
|
|
25
27
|
tree(request?: WebQueryRequest): Promise<WebListResponse<WebTreeNode<TRecord>>>;
|
|
26
28
|
treeFlat(options?: {
|
|
27
29
|
rootId?: string;
|
|
@@ -36,18 +38,48 @@ export interface ModuleEnableClient {
|
|
|
36
38
|
enable(id: string, request: RecordActionRequest): Promise<StaticCountMutationResult>;
|
|
37
39
|
disable(id: string, request: RecordActionRequest): Promise<StaticCountMutationResult>;
|
|
38
40
|
}
|
|
39
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Fixed platform transport for a compiled, one-level detail relation.
|
|
43
|
+
* Relation descriptors contain no business URL: the parent module alias, persisted parent id and
|
|
44
|
+
* server-issued relation code are the only routing facts a surface receives.
|
|
45
|
+
*/
|
|
46
|
+
export interface ManagedDetailRelationClient<TRecord> {
|
|
47
|
+
query(request?: WebQueryRequest): Promise<WebPageResponse<TRecord>>;
|
|
48
|
+
insert(record: TRecord): Promise<StaticRecordMutationResult<TRecord>>;
|
|
49
|
+
update(id: string, record: TRecord): Promise<StaticRecordMutationResult<TRecord>>;
|
|
50
|
+
delete(id: string, request: RecordActionRequest): Promise<StaticCountMutationResult>;
|
|
51
|
+
}
|
|
52
|
+
export declare function createManagedDetailRelationClient<TRecord>(http: HttpClient, options: {
|
|
53
|
+
parentModuleAlias: string;
|
|
54
|
+
parentId: string;
|
|
55
|
+
relationCode: string;
|
|
56
|
+
}): ManagedDetailRelationClient<TRecord>;
|
|
57
|
+
export declare function createModuleCrudClient<TRecord>(http: HttpClient, options: {
|
|
40
58
|
moduleAlias: string;
|
|
41
|
-
}):
|
|
59
|
+
}): ModuleCrudClient<TRecord>;
|
|
42
60
|
/** The navigation-only read surface deliberately does not reuse the module query endpoint. */
|
|
43
61
|
export declare function createNavigatorReferenceCrudClient<TRecord>(http: HttpClient, options: {
|
|
44
62
|
moduleAlias: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export declare function
|
|
63
|
+
navigatorReference?: NavigatorReferenceRequestContext;
|
|
64
|
+
}): ModuleCrudClient<TRecord>;
|
|
65
|
+
export declare function createStaticResourceCrudClient<TRecord>(http: HttpClient, resourcePath: string): ModuleCrudClient<TRecord>;
|
|
66
|
+
export declare function createModuleTreeClient<TRecord>(http: HttpClient, options: {
|
|
48
67
|
moduleAlias: string;
|
|
49
|
-
}):
|
|
68
|
+
}): ModuleTreeClient<TRecord>;
|
|
50
69
|
export declare function createNavigatorReferenceTreeClient<TRecord>(http: HttpClient, options: {
|
|
51
70
|
moduleAlias: string;
|
|
52
|
-
|
|
53
|
-
|
|
71
|
+
navigatorReference?: NavigatorReferenceRequestContext;
|
|
72
|
+
}): ModuleTreeClient<TRecord>;
|
|
73
|
+
export interface NavigatorReferenceRequestContext {
|
|
74
|
+
hostModuleAlias: string;
|
|
75
|
+
targetLevelKey: string;
|
|
76
|
+
}
|
|
77
|
+
export declare function createStaticResourceTreeClient<TRecord>(http: HttpClient, resourcePath: string): ModuleTreeClient<TRecord>;
|
|
78
|
+
/** @deprecated Use ModuleCrudClient. Remove after static-prefixed consumer imports migrate. */
|
|
79
|
+
export type StaticModuleCrudClient<TRecord> = ModuleCrudClient<TRecord>;
|
|
80
|
+
/** @deprecated Use ModuleTreeClient. Remove after static-prefixed consumer imports migrate. */
|
|
81
|
+
export type StaticModuleTreeClient<TRecord> = ModuleTreeClient<TRecord>;
|
|
82
|
+
/** @deprecated Use createModuleCrudClient. Remove after static-prefixed consumer imports migrate. */
|
|
83
|
+
export declare const createStaticModuleCrudClient: typeof createModuleCrudClient;
|
|
84
|
+
/** @deprecated Use createModuleTreeClient. Remove after static-prefixed consumer imports migrate. */
|
|
85
|
+
export declare const createStaticModuleTreeClient: typeof createModuleTreeClient;
|
|
@@ -23,8 +23,16 @@ export interface RealtimeClient {
|
|
|
23
23
|
state(): RealtimeConnectionState;
|
|
24
24
|
}
|
|
25
25
|
export interface RealtimeClientOptions {
|
|
26
|
+
/**
|
|
27
|
+
* Backend API base URL. The default WebSocket endpoint is resolved relative
|
|
28
|
+
* to this path, so an API mounted at `/api` connects to `/api/ws/platform`.
|
|
29
|
+
*/
|
|
26
30
|
baseUrl?: string;
|
|
27
31
|
token?: string;
|
|
32
|
+
/**
|
|
33
|
+
* WebSocket endpoint relative to {@link baseUrl}. A root-relative or
|
|
34
|
+
* absolute URL remains an explicit override for deployments that need it.
|
|
35
|
+
*/
|
|
28
36
|
brokerPath?: string;
|
|
29
37
|
reconnectDelay?: number;
|
|
30
38
|
heartbeatIncoming?: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { WebReferenceResolveRequest, WebReferenceResolveResponse } from '../web-contracts/index';
|
|
2
|
+
import type { HttpClient } from './http';
|
|
3
|
+
/**
|
|
4
|
+
* Resolves candidates for a source field, including source-defined filtering,
|
|
5
|
+
* projections and field patches. The transport is source-module based; callers
|
|
6
|
+
* must not derive it from the referenced target module.
|
|
7
|
+
*/
|
|
8
|
+
export interface ReferenceResolveClient {
|
|
9
|
+
resolve(fieldName: string, request?: WebReferenceResolveRequest): Promise<WebReferenceResolveResponse>;
|
|
10
|
+
}
|
|
11
|
+
export declare function createReferenceResolveClient(http: HttpClient, moduleAlias: string, resolvePath?: string): ReferenceResolveClient;
|