@endge/core 12.0.3 → 14.0.0-dev.2
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/LICENSE +202 -0
- package/dist/core.js +26657 -25069
- package/dist/features/core/kernel/config/debugger.config.d.ts +0 -1
- package/dist/features/core/kernel/config/kernel.config.d.ts +0 -6
- package/dist/features/core/kernel/config/modules.config.d.ts +0 -1
- package/dist/features/core/kernel/endge.d.ts +15 -7
- package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +3 -1
- package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +3 -2
- package/dist/features/core/kernel/tools/bundle-json.d.ts +0 -4
- package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +0 -1
- package/dist/features/core/kernel/tools/read-only-document.d.ts +0 -1
- package/dist/features/core/kernel/types/bootstrap.types.d.ts +0 -37
- package/dist/features/core/kernel/types/endge-bundle.types.d.ts +0 -1
- package/dist/features/core/modules/EndgeTypes_Module.d.ts +3 -1
- package/dist/features/core/modules/EndgeVocabs_Module.d.ts +33 -15
- package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +38 -22
- package/dist/features/core/modules/actions/domain/action.types.d.ts +0 -12
- package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +3 -2
- package/dist/features/core/modules/actions/services/table-actions.d.ts +0 -1
- package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +24 -8
- package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +9 -3
- package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +9 -3
- package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +33 -11
- package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +3 -1
- package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +0 -6
- package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +15 -5
- package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +24 -8
- package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +9 -3
- package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +48 -16
- package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +21 -7
- package/dist/features/core/modules/auth/services/auth-context.d.ts +0 -3
- package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +27 -20
- package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +12 -4
- package/dist/features/core/modules/bridge/config/bridge.config.d.ts +0 -5
- package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +14 -12
- package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +72 -35
- package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +0 -3
- package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +0 -3
- package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +15 -5
- package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +0 -6
- package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +12 -4
- package/dist/features/core/modules/commands/config/commands.config.d.ts +0 -3
- package/dist/features/core/modules/commands/domain/commands.types.d.ts +0 -2
- package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +6 -2
- package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +6 -2
- package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/tools/command-payload.d.ts +0 -2
- package/dist/features/core/modules/commands/types/command-executor.type.d.ts +0 -4
- package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +0 -1
- package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +0 -1
- package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +193 -74
- package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +0 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +0 -22
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +0 -14
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +0 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +0 -5
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +0 -10
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +0 -5
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +0 -18
- package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +0 -7
- package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +0 -1
- package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +18 -16
- package/dist/features/core/modules/computations/model/ComputationResource.d.ts +6 -2
- package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +9 -4
- package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +3 -1
- package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +6 -2
- package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +39 -13
- package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +0 -2
- package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +0 -6
- package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +0 -1
- package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +0 -22
- package/dist/features/core/modules/context/EndgeContext_Module.d.ts +186 -62
- package/dist/features/core/modules/context/domain/context-events.types.d.ts +0 -1
- package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +0 -4
- package/dist/features/core/modules/context/domain/context-state.types.d.ts +0 -5
- package/dist/features/core/modules/context/endge-vars.d.ts +12 -4
- package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +6 -2
- package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +3 -1
- package/dist/features/core/modules/context/persistence/context-state.d.ts +0 -2
- package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +3 -6
- package/dist/features/core/modules/converters/tools/arrays/split.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +0 -4
- package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +0 -1
- package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +54 -18
- package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +101 -45
- package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +39 -14
- package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +177 -59
- package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +9 -3
- package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +21 -8
- package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +21 -7
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +75 -26
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +0 -9
- package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +0 -2
- package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +0 -1
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +60 -20
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +24 -8
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +0 -14
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +0 -2
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +0 -66
- package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +17 -14
- package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +0 -11
- package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +0 -3
- package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +6 -2
- package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +6 -2
- package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +165 -64
- package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +9 -11
- package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +0 -4
- package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +0 -1
- package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +0 -3
- package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +0 -3
- package/dist/features/core/modules/domain/entities/RAction.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RComponent.d.ts +0 -7
- package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +0 -1
- package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +12 -8
- package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +18 -10
- package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +3 -5
- package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +0 -20
- package/dist/features/core/modules/domain/entities/RComposition.d.ts +3 -3
- package/dist/features/core/modules/domain/entities/RComputation.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RDataView.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/REntity.d.ts +12 -15
- package/dist/features/core/modules/domain/entities/RFacet.d.ts +3 -3
- package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RFilter.d.ts +0 -2
- package/dist/features/core/modules/domain/entities/RFolder.d.ts +6 -6
- package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/RIntegration.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RMock.d.ts +15 -5
- package/dist/features/core/modules/domain/entities/RNavigation.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RPage.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +6 -3
- package/dist/features/core/modules/domain/entities/RPolicy.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RQuery.d.ts +0 -3
- package/dist/features/core/modules/domain/entities/RSimulation.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStore.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStream.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStyle.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RType.d.ts +0 -1
- package/dist/features/core/modules/domain/entities/RUpdate.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RVersion.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RVocabs.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +3 -1
- package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +6 -2
- package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +0 -39
- package/dist/features/core/modules/domain/types/component/component.types.d.ts +0 -6
- package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +0 -67
- package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +0 -37
- package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +0 -127
- package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +0 -7
- package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +0 -4
- package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +0 -25
- package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +0 -11
- package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +0 -12
- package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +0 -7
- package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +0 -23
- package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +0 -3
- package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +0 -4
- package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +0 -1
- package/dist/features/core/modules/domain/types/document/document.types.d.ts +0 -20
- package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +0 -4
- package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +0 -10
- package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +0 -8
- package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +0 -5
- package/dist/features/core/modules/domain/types/document/filter.types.d.ts +0 -8
- package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/query.types.d.ts +0 -8
- package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +33 -11
- package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +0 -1
- package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +6 -2
- package/dist/features/core/modules/events/domain/events.types.d.ts +0 -4
- package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +33 -11
- package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +0 -5
- package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +0 -4
- package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +0 -5
- package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +0 -1
- package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +24 -16
- package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +3 -1
- package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +3 -1
- package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +12 -4
- package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +6 -2
- package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +0 -4
- package/dist/features/core/modules/inspection/types/inspection.types.d.ts +0 -1
- package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +30 -10
- package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +3 -9
- package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +69 -23
- package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +0 -1
- package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +0 -4
- package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +0 -11
- package/dist/features/core/modules/program/domain/types/program.types.d.ts +0 -109
- package/dist/features/core/modules/program/tools/execution-bundle.d.ts +0 -2
- package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +0 -1
- package/dist/features/core/modules/program/tools/restore-program-source.d.ts +0 -1
- package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +18 -6
- package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +7 -11
- package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +100 -33
- package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +3 -1
- package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +21 -11
- package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +0 -25
- package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +11 -63
- package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +0 -3
- package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +2 -33
- package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +3 -1
- package/dist/features/core/modules/runtime/RuntimeScope.d.ts +3 -1
- package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +39 -22
- package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +0 -4
- package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +0 -13
- package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +0 -12
- package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +2 -119
- package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +0 -2
- package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +0 -17
- package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +0 -2
- package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +0 -14
- package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +0 -16
- package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +0 -6
- package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +0 -4
- package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/table.types.d.ts +0 -11
- package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +0 -9
- package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +6 -3
- package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +72 -24
- package/dist/features/core/modules/runtime/execution/endge-query.d.ts +9 -3
- package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +0 -1
- package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +3 -1
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +9 -6
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +2 -2
- package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +0 -4
- package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +93 -31
- package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +90 -30
- package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +21 -7
- package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +33 -11
- package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +9 -3
- package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +8 -12
- package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +0 -1
- package/dist/features/core/modules/runtime/operation/operation-history.d.ts +6 -2
- package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +12 -4
- package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +21 -7
- package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +3 -1
- package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +6 -2
- package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +0 -3
- package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +0 -1
- package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +0 -1
- package/dist/features/core/modules/source/EndgeSource_Module.d.ts +81 -27
- package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +0 -42
- package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +0 -7
- package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +0 -1
- package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +0 -12
- package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +0 -10
- package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +0 -42
- package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +0 -1
- package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +0 -6
- package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +0 -81
- package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +0 -19
- package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +0 -3
- package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +0 -4
- package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +0 -11
- package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +0 -2
- package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +3 -1
- package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +0 -4
- package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +0 -4
- package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +0 -1
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-activation.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +0 -2
- package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/document-metadata.d.ts +0 -2
- package/dist/features/core/modules/source/services/filter-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +0 -7
- package/dist/features/core/modules/source/services/query-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/source-document-reference.d.ts +0 -9
- package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +0 -2
- package/dist/features/core/modules/source/services/source-language-syntax.d.ts +0 -1
- package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +15 -5
- package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +15 -5
- package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/type-source-references.d.ts +0 -4
- package/dist/features/core/modules/source/services/type-source-serialize.d.ts +0 -2
- package/dist/features/core/modules/source/services/typescript-type-source.d.ts +0 -2
- package/dist/features/core/modules/source/services/value-expression-language.d.ts +0 -1
- package/dist/features/core/modules/source/services/value-expression-operations.d.ts +0 -1
- package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/filter.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/query.default.source.d.ts +0 -2
- package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/type.default.source.d.ts +0 -1
- package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +12 -4
- package/dist/features/core/modules/styles/domain/types/style.types.d.ts +0 -7
- package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +3 -1
- package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +18 -6
- package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +0 -9
- package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +0 -8
- package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +39 -13
- package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +0 -2
- package/dist/features/core/modules/ui/ui-composition.config.d.ts +0 -1
- package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +3 -1
- package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +97 -34
- package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +0 -3
- package/dist/features/federation/EndgeFederation.d.ts +33 -11
- package/dist/features/federation/EndgeModule.d.ts +0 -1
- package/dist/features/federation/constants/federation.constants.d.ts +0 -1
- package/dist/features/federation/services/EndgeModuleController.d.ts +0 -2
- package/dist/features/federation/tools/endge-token.d.ts +0 -1
- package/dist/features/federation/types/endge-modules.types.d.ts +0 -5
- package/dist/features/federation/types/federation.types.d.ts +0 -12
- package/dist/features/federation/types/forge.types.d.ts +0 -6
- package/package.json +8 -3
- package/dist/features/core/modules/runtime/helpers/raph-phases/endge-runtime-boundary.d.ts +0 -13
|
@@ -38,82 +38,152 @@ export declare class EndgeContext_Module extends EndgeModule<EndgeBootContext> {
|
|
|
38
38
|
private _bootMode;
|
|
39
39
|
private _beforeInspection;
|
|
40
40
|
get bootMode(): EndgeBootMode;
|
|
41
|
-
/**
|
|
41
|
+
/**
|
|
42
|
+
* Создаёт контекст, регистрирует storage adapters и восстанавливает snapshot.
|
|
43
|
+
*/
|
|
42
44
|
constructor();
|
|
43
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Применяет explicit structural context до load/build остальных модулей.
|
|
47
|
+
*/
|
|
44
48
|
setup(ctx: EndgeBootContext): void;
|
|
45
|
-
/**
|
|
49
|
+
/**
|
|
50
|
+
* Разрешает выбрать новый structural context только перед следующим boot.
|
|
51
|
+
*/
|
|
46
52
|
reset(): void;
|
|
47
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* Показывает, выполняется ли восстановление контекста из storage.
|
|
55
|
+
*/
|
|
48
56
|
get isLoadingFromStorage(): boolean;
|
|
49
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Регистрирует storage adapter для persistence-контекста.
|
|
59
|
+
*/
|
|
50
60
|
registerStorageAdapter(adapter: EndgeStorageAdapter): void;
|
|
51
|
-
/**
|
|
61
|
+
/**
|
|
62
|
+
* Настраивает persistence текущего контекста.
|
|
63
|
+
*/
|
|
52
64
|
configurePersistence(config: EndgeContextPersistenceConfig): void;
|
|
53
|
-
/**
|
|
65
|
+
/**
|
|
66
|
+
* Устанавливает provider актуальных user identity и обязательных session facet selections.
|
|
67
|
+
*/
|
|
54
68
|
setSessionIdentityProvider(provider: EndgeSessionIdentityProvider | null): void;
|
|
55
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* Показывает, что выбор документа фасета задан authenticated session provider.
|
|
71
|
+
*/
|
|
56
72
|
isFacetLockedBySession(facetIdentity: string): boolean;
|
|
57
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* Сериализует текущий execution scope в snapshot.
|
|
75
|
+
*/
|
|
58
76
|
createDiagnosticsSnapshot(): Record<string, unknown>;
|
|
59
77
|
serialize(): EndgeContextSnapshot;
|
|
60
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* Возвращает полный доступный SFC контекст без добавления временных значений в persistence.
|
|
80
|
+
*/
|
|
61
81
|
runtimeSnapshot(): EndgeRuntimeContextSnapshot;
|
|
62
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* Возвращает текущее временное состояние клавиатуры из общего пространства контекста Raph.
|
|
84
|
+
*/
|
|
63
85
|
getKeyboardState(): EndgeKeyboardContextSnapshot;
|
|
64
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* Публикует состояние клавиатуры UI-адаптера как узкие несохраняемые изменения Raph.
|
|
88
|
+
*/
|
|
65
89
|
setKeyboardState(input: EndgeKeyboardContextSnapshot): void;
|
|
66
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Сохраняет подписчиков legacy-модуля и проецирует постоянные поля контекста в Raph.
|
|
92
|
+
*/
|
|
67
93
|
notify(): void;
|
|
68
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Применяет типизированное событие через setters, сохраняя их проверки и side effects.
|
|
96
|
+
*/
|
|
69
97
|
applyEvent(event: ContextEvent): void;
|
|
70
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Восстанавливает execution scope из snapshot с безопасными defaults.
|
|
100
|
+
*/
|
|
71
101
|
deserialize(payload: Partial<EndgeContextSnapshot> | undefined): void;
|
|
72
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
* Adopts observed scope only in memory; developer authorization stays with the host session.
|
|
104
|
+
*/
|
|
73
105
|
applyInspection(snapshot: EndgeContextSnapshot & {
|
|
74
106
|
dataMode?: EndgeDataMode;
|
|
75
107
|
}): void;
|
|
76
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Сохраняет текущий context snapshot через выбранный adapter.
|
|
110
|
+
*/
|
|
77
111
|
saveToStorage(): void;
|
|
78
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Загружает context snapshot из нового или legacy storage key.
|
|
114
|
+
*/
|
|
79
115
|
loadFromStorage(): EndgeContextSnapshot | undefined;
|
|
80
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Возвращает полный persistence scope текущей сессии.
|
|
118
|
+
*/
|
|
81
119
|
getPersistenceScope(): EndgePersistenceScope;
|
|
82
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Читает личную настройку явно указанного пользователя host, в том числе в debugger.
|
|
122
|
+
*/
|
|
83
123
|
getUserState<T>(userId: string, key: string, transform?: EndgeContextStateTransform<T>): T | undefined;
|
|
84
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Сохраняет личную настройку host, не меняя контекст или данные инспектируемого приложения.
|
|
126
|
+
*/
|
|
85
127
|
setUserState<T>(userId: string, key: string, state: T, transform?: EndgeContextStateTransform<T>): void;
|
|
86
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Возвращает dynamic state текущего полного context scope.
|
|
130
|
+
*/
|
|
87
131
|
getState<T>(key: string, transform?: EndgeContextStateTransform<T>): T | undefined;
|
|
88
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Сохраняет dynamic state в scope текущих workspace/facet selections/user.
|
|
134
|
+
*/
|
|
89
135
|
setState<T>(key: string, state: T, transform?: EndgeContextStateTransform<T>): void;
|
|
90
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Удаляет dynamic state только из текущего полного context scope.
|
|
138
|
+
*/
|
|
91
139
|
removeState(key: string): void;
|
|
92
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Подписывает потребителя на изменения одного dynamic state key.
|
|
142
|
+
*/
|
|
93
143
|
subscribeState(key: string, listener: EndgeContextStateListener): () => void;
|
|
94
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* Создаёт или возвращает controller runtime-состояния по runtime id.
|
|
146
|
+
*/
|
|
95
147
|
createRuntimeStateController(input: {
|
|
96
148
|
runtimeId: string;
|
|
97
149
|
storageId?: string;
|
|
98
150
|
persistence?: EndgePersistenceInput;
|
|
99
151
|
}): RuntimeStateController;
|
|
100
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* Возвращает runtime state controller по id.
|
|
154
|
+
*/
|
|
101
155
|
getRuntimeStateController(runtimeId: string): RuntimeStateController | null;
|
|
102
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Удаляет runtime state controller из registry.
|
|
158
|
+
*/
|
|
103
159
|
destroyRuntimeStateController(runtimeId: string): void;
|
|
104
|
-
/**
|
|
160
|
+
/**
|
|
161
|
+
* Возвращает identity текущего workspace.
|
|
162
|
+
*/
|
|
105
163
|
getCurrentWorkspace(): string | null;
|
|
106
|
-
/**
|
|
164
|
+
/**
|
|
165
|
+
* Устанавливает текущий workspace и сохраняет контекст.
|
|
166
|
+
*/
|
|
107
167
|
setCurrentWorkspace(identity: string | null): void;
|
|
108
|
-
/**
|
|
168
|
+
/**
|
|
169
|
+
* Возвращает immutable map выбранных документов по identity фасета.
|
|
170
|
+
*/
|
|
109
171
|
getFacetSelections(): Readonly<Record<string, string>>;
|
|
110
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Возвращает выбранный документ фасета либо null, если фасет не имеет выбора.
|
|
174
|
+
*/
|
|
111
175
|
getFacetSelection(facetIdentity: string): string | null;
|
|
112
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* Устанавливает один выбор до следующего structural boot.
|
|
178
|
+
*/
|
|
113
179
|
setFacetSelection(facetIdentity: string, documentIdentity: string | null): void;
|
|
114
|
-
/**
|
|
180
|
+
/**
|
|
181
|
+
* Заменяет structural map до следующего boot.
|
|
182
|
+
*/
|
|
115
183
|
setFacetSelections(selections: Readonly<Record<string, string>>): void;
|
|
116
|
-
/**
|
|
184
|
+
/**
|
|
185
|
+
* Возвращает immutable structural coordinates текущего boot lifecycle.
|
|
186
|
+
*/
|
|
117
187
|
getExecutionContext(): EndgeExecutionContext;
|
|
118
188
|
/**
|
|
119
189
|
* Разрешает structural context после загрузки Domain, но до configuration/build.
|
|
@@ -121,67 +191,121 @@ export declare class EndgeContext_Module extends EndgeModule<EndgeBootContext> {
|
|
|
121
191
|
* безопасно перейти на первую доступную сущность, если Domain изменился.
|
|
122
192
|
*/
|
|
123
193
|
resolveExecutionContext(input: EndgeExecutionContextResolutionInput): EndgeExecutionContext;
|
|
124
|
-
/**
|
|
194
|
+
/**
|
|
195
|
+
* Возвращает identity текущего user с учётом session provider.
|
|
196
|
+
*/
|
|
125
197
|
getCurrentUser(): string;
|
|
126
|
-
/**
|
|
198
|
+
/**
|
|
199
|
+
* Устанавливает fallback identity текущего user.
|
|
200
|
+
*/
|
|
127
201
|
setCurrentUser(identity: string | null): void;
|
|
128
|
-
/**
|
|
202
|
+
/**
|
|
203
|
+
* Возвращает текущий режим выполнения данных для fixtures Store и внешних запусков Query.
|
|
204
|
+
*/
|
|
129
205
|
get dataMode(): EndgeDataMode;
|
|
130
|
-
/**
|
|
206
|
+
/**
|
|
207
|
+
* Показывает, должны ли runtime-потребители вычислять сохранённые fixtures RMock.
|
|
208
|
+
*/
|
|
131
209
|
get isMockEnabled(): boolean;
|
|
132
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* Показывает, получен ли фактический режим из локального runtime-переопределения.
|
|
212
|
+
*/
|
|
133
213
|
get isDataModeOverridden(): boolean;
|
|
134
|
-
/**
|
|
214
|
+
/**
|
|
215
|
+
* Применяет сохранённое значение Workspace по умолчанию без записи в локальное хранилище контекста.
|
|
216
|
+
*/
|
|
135
217
|
setWorkspaceDataMode(mode: EndgeDataMode): void;
|
|
136
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Применяет принадлежащее host переопределение режима данных без перестроения структурного контекста.
|
|
220
|
+
*/
|
|
137
221
|
setDataMode(mode: EndgeDataMode): void;
|
|
138
|
-
/**
|
|
222
|
+
/**
|
|
223
|
+
* Удаляет локальное переопределение и восстанавливает текущее значение Workspace по умолчанию.
|
|
224
|
+
*/
|
|
139
225
|
clearDataModeOverride(): void;
|
|
140
|
-
/**
|
|
226
|
+
/**
|
|
227
|
+
* Упрощённый API для переключателей UI, представляющих mock-режим как boolean-состояние.
|
|
228
|
+
*/
|
|
141
229
|
setMockEnabled(enabled: boolean): void;
|
|
142
|
-
/**
|
|
230
|
+
/**
|
|
231
|
+
* Возвращает текущую locale контекста.
|
|
232
|
+
*/
|
|
143
233
|
get currentLocale(): string;
|
|
144
|
-
/**
|
|
234
|
+
/**
|
|
235
|
+
* Нормализует, сохраняет и публикует новую locale.
|
|
236
|
+
*/
|
|
145
237
|
setCurrentLocale(locale: string | null): void;
|
|
146
|
-
/**
|
|
238
|
+
/**
|
|
239
|
+
* Согласует текущую locale с effective configuration после workspace resolution.
|
|
240
|
+
*/
|
|
147
241
|
reconcileCurrentLocaleWithWorkspace(configuration?: EndgeConfiguration): void;
|
|
148
|
-
/**
|
|
242
|
+
/**
|
|
243
|
+
* Возвращает текущую тему контекста.
|
|
244
|
+
*/
|
|
149
245
|
get currentTheme(): string;
|
|
150
|
-
/**
|
|
246
|
+
/**
|
|
247
|
+
* Нормализует, сохраняет и публикует пользовательскую тему.
|
|
248
|
+
*/
|
|
151
249
|
setCurrentTheme(theme: string | null): void;
|
|
152
|
-
/**
|
|
250
|
+
/**
|
|
251
|
+
* Согласует сохранённую тему с effective configuration после workspace resolution.
|
|
252
|
+
*/
|
|
153
253
|
reconcileCurrentThemeWithWorkspace(configuration?: EndgeConfiguration): void;
|
|
154
|
-
/**
|
|
254
|
+
/**
|
|
255
|
+
* Возвращает текущую временную зону контекста.
|
|
256
|
+
*/
|
|
155
257
|
get currentTimezone(): string;
|
|
156
|
-
/**
|
|
258
|
+
/**
|
|
259
|
+
* Нормализует, сохраняет и публикует новую временную зону.
|
|
260
|
+
*/
|
|
157
261
|
setCurrentTimezone(timezone: string | null): void;
|
|
158
|
-
/**
|
|
262
|
+
/**
|
|
263
|
+
* Согласует сохранённую временную зону с effective configuration.
|
|
264
|
+
*/
|
|
159
265
|
reconcileCurrentTimezoneWithWorkspace(configuration?: EndgeConfiguration): void;
|
|
160
|
-
/**
|
|
266
|
+
/**
|
|
267
|
+
* Возвращает effective configuration либо persisted workspace configuration до resolution.
|
|
268
|
+
*/
|
|
161
269
|
private _activeConfiguration;
|
|
162
270
|
private _normalizeLocale;
|
|
163
271
|
private _normalizeTheme;
|
|
164
272
|
private _normalizeTimezone;
|
|
165
|
-
/**
|
|
273
|
+
/**
|
|
274
|
+
* Сохраняет только явное предпочтение; фактическим значением по умолчанию продолжает владеть конфигурация.
|
|
275
|
+
*/
|
|
166
276
|
private _serializeForPersistence;
|
|
167
|
-
/**
|
|
277
|
+
/**
|
|
278
|
+
* Выбирает storage adapter для заданной persistence policy.
|
|
279
|
+
*/
|
|
168
280
|
private _resolveAdapter;
|
|
169
281
|
private _notifyState;
|
|
170
282
|
private _warnStateFailure;
|
|
171
|
-
/**
|
|
283
|
+
/**
|
|
284
|
+
* Снимок фактических значений: session identities и effective data mode включены.
|
|
285
|
+
*/
|
|
172
286
|
private _readEventContext;
|
|
173
|
-
/**
|
|
287
|
+
/**
|
|
288
|
+
* Constructor hydration задаёт baseline; последующие commits публикуют только изменения.
|
|
289
|
+
*/
|
|
174
290
|
private _publishContextChanges;
|
|
175
291
|
private _emitContextChange;
|
|
176
292
|
private _syncPersistentContextToRaph;
|
|
177
293
|
private _setRaphValueIfChanged;
|
|
178
|
-
/**
|
|
294
|
+
/**
|
|
295
|
+
* Возвращает identity активного workspace для persistence scope.
|
|
296
|
+
*/
|
|
179
297
|
private _requireCurrentWorkspace;
|
|
180
|
-
/**
|
|
298
|
+
/**
|
|
299
|
+
* Создаёт безопасный scope для контроллера, который не читает и не изменяет состояние.
|
|
300
|
+
*/
|
|
181
301
|
private _getDisabledPersistenceScope;
|
|
182
|
-
/**
|
|
302
|
+
/**
|
|
303
|
+
* Вычисляет user identity текущей сессии.
|
|
304
|
+
*/
|
|
183
305
|
private _resolveSessionIdentity;
|
|
184
|
-
/**
|
|
306
|
+
/**
|
|
307
|
+
* Обновляет одно поле scope и публикует изменение контекста.
|
|
308
|
+
*/
|
|
185
309
|
private _setScopeValue;
|
|
186
310
|
private _assertStructuralContextMutable;
|
|
187
311
|
}
|
|
@@ -14,11 +14,9 @@ export interface EndgeContextSnapshot {
|
|
|
14
14
|
theme: string | null;
|
|
15
15
|
timezone: string | null;
|
|
16
16
|
}
|
|
17
|
-
/** Данные хранилища, отличающие явный выбор темы от фактического default. */
|
|
18
17
|
export interface EndgePersistedContextSnapshot extends EndgeContextSnapshot {
|
|
19
18
|
themePreferenceVersion?: 1;
|
|
20
19
|
}
|
|
21
|
-
/** Временное состояние клавиатуры, предоставляемое активным UI-адаптером. */
|
|
22
20
|
export interface EndgeKeyboardContextSnapshot {
|
|
23
21
|
platform: 'macos' | 'windows' | 'linux' | 'unknown';
|
|
24
22
|
modifiers: {
|
|
@@ -34,9 +32,7 @@ export interface EndgeKeyboardContextSnapshot {
|
|
|
34
32
|
code: string[];
|
|
35
33
|
};
|
|
36
34
|
}
|
|
37
|
-
/** Полный readonly-контекст SFC. Временное состояние ввода намеренно не сериализуется. */
|
|
38
35
|
export interface EndgeRuntimeContextSnapshot extends EndgeContextSnapshot {
|
|
39
|
-
/** Статическая фактическая конфигурация текущей сборки; не сохраняется и не поддерживается Raph. */
|
|
40
36
|
config: EndgePublicConfigurationSnapshot;
|
|
41
37
|
input: {
|
|
42
38
|
keyboard: EndgeKeyboardContextSnapshot;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { ClassConstructor } from 'class-transformer';
|
|
2
|
-
/** Ручное преобразование между runtime-состоянием и JSON-compatible представлением. */
|
|
3
2
|
export interface EndgeContextStateCodec<T> {
|
|
4
3
|
serialize: (state: T) => unknown;
|
|
5
4
|
deserialize: (value: unknown) => T;
|
|
6
5
|
}
|
|
7
|
-
/**
|
|
8
|
-
* Способ преобразования dynamic state: class-transformer constructor либо ручной codec.
|
|
9
|
-
* Без transform значение сохраняется как обычное JSON-compatible значение.
|
|
10
|
-
*/
|
|
11
6
|
export type EndgeContextStateTransform<T> = ClassConstructor<T> | EndgeContextStateCodec<T>;
|
|
12
7
|
export type EndgeContextStateListener = () => void;
|
|
@@ -22,9 +22,13 @@ export declare class WorkspaceVariables {
|
|
|
22
22
|
* Устанавливает внешние overrides переменных и сразу пересинхронизирует Raph.
|
|
23
23
|
*/
|
|
24
24
|
setEnvironment(envyRecord: EnvRecord): void;
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* Имя совместимости для вызывающего кода, который всё ещё напрямую передаёт runtime-переопределения.
|
|
27
|
+
*/
|
|
26
28
|
setEnvyRecord(envyRecord: EnvRecord): void;
|
|
27
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Сохранённые определения переменных, принадлежащие Workspace.
|
|
31
|
+
*/
|
|
28
32
|
get definitions(): EndgeWorkspaceVar[];
|
|
29
33
|
/**
|
|
30
34
|
* Возвращает Domain Vars.
|
|
@@ -69,13 +73,17 @@ export declare class WorkspaceVariables {
|
|
|
69
73
|
* Приводит значение переменной к boolean.
|
|
70
74
|
*/
|
|
71
75
|
static toBoolean(v: unknown): boolean;
|
|
72
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* Интерполирует все корректные `{{ VAR }}` и legacy `{VAR}` токены в строке.
|
|
78
|
+
*/
|
|
73
79
|
private _interpolate;
|
|
74
80
|
/**
|
|
75
81
|
* Внутренний helper модуля: parse Var Token.
|
|
76
82
|
*/
|
|
77
83
|
private static _parseVarToken;
|
|
78
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Читает variable из внешнего environment без изменения module state.
|
|
86
|
+
*/
|
|
79
87
|
private _getExternalValue;
|
|
80
88
|
}
|
|
81
89
|
export {};
|
|
@@ -11,9 +11,13 @@ export declare class RuntimeStateController implements RuntimeStateControllerLik
|
|
|
11
11
|
scope: EndgePersistenceScope | EndgePersistenceScopeResolver;
|
|
12
12
|
adapter: EndgeStorageAdapter;
|
|
13
13
|
});
|
|
14
|
-
/**
|
|
14
|
+
/**
|
|
15
|
+
* Возвращает актуальный persistence scope, включая текущую session identity.
|
|
16
|
+
*/
|
|
15
17
|
get scope(): EndgePersistenceScope;
|
|
16
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Строит storage key из актуального scope, чтобы переавторизация не сохраняла данные прежнему пользователю.
|
|
20
|
+
*/
|
|
17
21
|
get storageKey(): string;
|
|
18
22
|
get<T>(entityKey: string, section: string, fallback: T): T;
|
|
19
23
|
set<T>(entityKey: string, section: string, value: T): void;
|
package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ export declare class LocalStorageContextAdapter implements EndgeStorageAdapter {
|
|
|
3
3
|
readonly id: "local";
|
|
4
4
|
isAvailable(): boolean;
|
|
5
5
|
read<T>(key: string): T | undefined;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Читает legacy raw string, который ещё не использовал JSON serialization.
|
|
8
|
+
*/
|
|
7
9
|
readRaw(key: string): string | null;
|
|
8
10
|
write<T>(key: string, value: T): void;
|
|
9
11
|
remove(key: string): void;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { EndgePersistenceScope } from '../domain/context-persistence.types';
|
|
2
2
|
import { EndgeContextStateTransform } from '../domain/context-state.types';
|
|
3
|
-
/** Строит изолированный ключ dynamic state из полного context scope и ключа потребителя. */
|
|
4
3
|
export declare function buildContextStateStorageKey(scope: EndgePersistenceScope, key: string): string;
|
|
5
|
-
/** Личные настройки host-приложения не зависят от рабочего или инспектируемого context. */
|
|
6
4
|
export declare function buildUserContextStateStorageKey(userId: string, key: string): string;
|
|
7
5
|
export declare function normalizeContextStateKey(value: unknown): string;
|
|
8
6
|
export declare function serializeContextState<T>(state: T, transform?: EndgeContextStateTransform<T>): unknown;
|
|
@@ -3,18 +3,15 @@ import { EntityOrigin } from '../domain/types/document/entity-management.type';
|
|
|
3
3
|
import { EndgeImplementations_Module } from '../implementations/EndgeImplementations_Module';
|
|
4
4
|
import { EndgeModule } from '../../../federation/EndgeModule';
|
|
5
5
|
type ConverterProvider = (value: unknown, options?: Record<string, unknown>) => unknown;
|
|
6
|
-
/**
|
|
6
|
+
/**
|
|
7
|
+
* Синхронно координирует definitions, providers и bindings конвертеров.
|
|
8
|
+
*/
|
|
7
9
|
export declare class EndgeConverters_Module extends EndgeModule {
|
|
8
10
|
private readonly _implementations;
|
|
9
11
|
private readonly _definitions;
|
|
10
12
|
private readonly _providerDisposers;
|
|
11
13
|
private readonly _definitionDisposers;
|
|
12
14
|
private _started;
|
|
13
|
-
/**
|
|
14
|
-
* ----------------------------------------
|
|
15
|
-
* PUBLIC
|
|
16
|
-
* ----------------------------------------
|
|
17
|
-
*/
|
|
18
15
|
constructor(_implementations: EndgeImplementations_Module);
|
|
19
16
|
has(identity: string): boolean;
|
|
20
17
|
define(definition: {
|