@endge/core 13.0.0 → 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/dist/core.js +25343 -23763
- 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 +1 -118
- 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 +7 -4
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +1 -1
- 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
|
@@ -4,7 +4,9 @@ import { BridgeCommands, BridgeDebugClient, BridgeDebugSession, BridgeMessage, D
|
|
|
4
4
|
import { EndgeCommand } from '../../commands/domain/commands.types';
|
|
5
5
|
import { DiagnosticsSnapshot } from '../../diagnostics/domain/types/diagnostics.types';
|
|
6
6
|
import { EndgeModule } from '../../../../federation/EndgeModule';
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Debug policy и единственная client reservation сразу для всех backend.
|
|
9
|
+
*/
|
|
8
10
|
export declare class EndgeBridgeDebug_Module extends EndgeModule {
|
|
9
11
|
private readonly _commands;
|
|
10
12
|
private readonly _adapter;
|
|
@@ -25,62 +27,92 @@ export declare class EndgeBridgeDebug_Module extends EndgeModule {
|
|
|
25
27
|
private _intervalMs;
|
|
26
28
|
private _includeData;
|
|
27
29
|
/**
|
|
28
|
-
*
|
|
29
|
-
* PUBLIC
|
|
30
|
-
* ----------------------------------------
|
|
30
|
+
* Создаёт owner и его явные зависимости без запуска транспорта.
|
|
31
31
|
*/
|
|
32
|
-
/** Создаёт owner и его явные зависимости без запуска транспорта. */
|
|
33
32
|
constructor(_commands: BridgeCommands, _adapter: BrowserBridge_Adapter);
|
|
34
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Настраивается только родителем из host boot options.
|
|
35
|
+
*/
|
|
35
36
|
configure(role: 'client' | 'configurator', enabled: boolean): void;
|
|
36
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Запрашивает сессию; Promise завершается после подтверждения в приложении.
|
|
39
|
+
*/
|
|
37
40
|
requestSession(input: {
|
|
38
41
|
serverUrl: string;
|
|
39
42
|
instanceId: string;
|
|
40
43
|
}): Promise<BridgeDebugSession>;
|
|
41
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* Принимает ответ UI только для текущего непросроченного запроса.
|
|
46
|
+
*/
|
|
42
47
|
respondToConsent(request: Pick<DebugConnectionRequest, 'serverUrl' | 'sessionId'>, accepted: boolean): boolean;
|
|
43
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Завершает выбранную сессию с любой её стороны.
|
|
50
|
+
*/
|
|
44
51
|
endSession(sessionId: string): Promise<void>;
|
|
45
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* Запрашивает snapshot существующего diagnostics collector без скачивания файла.
|
|
54
|
+
*/
|
|
46
55
|
getSnapshot(sessionId: string): Promise<DiagnosticsSnapshot>;
|
|
47
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* Начинает буферизацию событий до импорта согласованного с ними снимка.
|
|
58
|
+
*/
|
|
48
59
|
startContextSync(sessionId: string, options?: {
|
|
49
60
|
includeData: boolean;
|
|
50
61
|
}): Promise<EndgeBundle>;
|
|
51
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* После прямого импорта снимка применяет только более новые события, не вызывая Commands.
|
|
64
|
+
*/
|
|
52
65
|
activateContextSync(sessionId: string, sequence: number): void;
|
|
53
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Обновляет Runtime и данные через тот же упорядоченный поток, что и события.
|
|
68
|
+
*/
|
|
54
69
|
refreshInspection(sessionId: string): Promise<void>;
|
|
55
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Ноль оставляет ручное обновление; положительный интервал ограничивает частоту полных данных.
|
|
72
|
+
*/
|
|
56
73
|
setInspectionInterval(sessionId: string, intervalMs: number): Promise<void>;
|
|
57
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Отправляет запрос выбранному клиенту только после завершения первичной синхронизации.
|
|
76
|
+
*/
|
|
58
77
|
executeCommand(sessionId: string, command: EndgeCommand): Promise<void>;
|
|
59
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* Пока выполняет только existence/hash check и console mock на стороне клиента.
|
|
80
|
+
*/
|
|
60
81
|
runSimulation(sessionId: string, input: {
|
|
61
82
|
identity: string;
|
|
62
83
|
expectedHash: string;
|
|
63
84
|
}): Promise<SimulationRunResult>;
|
|
64
|
-
/**
|
|
85
|
+
/**
|
|
86
|
+
* Вычисляет hash локальной симуляции для передачи expectedHash.
|
|
87
|
+
*/
|
|
65
88
|
getSimulationHash(identity: string): Promise<string>;
|
|
66
|
-
/**
|
|
89
|
+
/**
|
|
90
|
+
* Применяет сообщение только из принадлежащего родителю соединения.
|
|
91
|
+
*/
|
|
67
92
|
receive(serverUrl: string, message: BridgeMessage): Promise<void>;
|
|
68
|
-
/**
|
|
93
|
+
/**
|
|
94
|
+
* Потеря транспорта окончательно отзывает сессию и согласие.
|
|
95
|
+
*/
|
|
69
96
|
disconnect(serverUrl: string): void;
|
|
70
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* Отзывает текущий lifecycle и освобождает принадлежащее модулю состояние.
|
|
99
|
+
*/
|
|
71
100
|
reset(): void;
|
|
72
101
|
/**
|
|
73
|
-
*
|
|
74
|
-
* PRIVATE
|
|
75
|
-
* ----------------------------------------
|
|
102
|
+
* Резервирует запрос для View приложения, не вызывая browser dialog.
|
|
76
103
|
*/
|
|
77
|
-
/** Резервирует запрос для View приложения, не вызывая browser dialog. */
|
|
78
104
|
private _requestConsent;
|
|
79
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Снимает View-проекцию и принадлежащий запросу deadline timer.
|
|
107
|
+
*/
|
|
80
108
|
private _clearPendingConsent;
|
|
81
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Проверяет активную сессию и выполняет только явно разрешённые операции.
|
|
111
|
+
*/
|
|
82
112
|
private _execute;
|
|
83
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* Delivery batching never coalesces already captured changes.
|
|
115
|
+
*/
|
|
84
116
|
private _queueChunk;
|
|
85
117
|
private _flushChunks;
|
|
86
118
|
private _receiveEvent;
|
|
@@ -90,19 +122,24 @@ export declare class EndgeBridgeDebug_Module extends EndgeModule {
|
|
|
90
122
|
setInspectionData(sessionId: string, includeData: boolean): Promise<void>;
|
|
91
123
|
private _validateInterval;
|
|
92
124
|
private _stopInspectionPublishing;
|
|
93
|
-
/**
|
|
125
|
+
/**
|
|
126
|
+
* Проверяет локальную роль и явное разрешение отладки.
|
|
127
|
+
*/
|
|
94
128
|
private _requireConfigurator;
|
|
95
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Разрешает только существующую активную сессию.
|
|
131
|
+
*/
|
|
96
132
|
private _requireSession;
|
|
97
133
|
/**
|
|
98
|
-
*
|
|
99
|
-
* ACCESS
|
|
100
|
-
* ----------------------------------------
|
|
134
|
+
* Показывает приложению текущий запрос без права менять состояние Bridge.
|
|
101
135
|
*/
|
|
102
|
-
/** Показывает приложению текущий запрос без права менять состояние Bridge. */
|
|
103
136
|
get pendingConsent(): Readonly<DebugConnectionRequest> | null;
|
|
104
|
-
/**
|
|
137
|
+
/**
|
|
138
|
+
* Возвращает доступные приложения из актуальных server rosters.
|
|
139
|
+
*/
|
|
105
140
|
get clients(): readonly BridgeDebugClient[];
|
|
106
|
-
/**
|
|
141
|
+
/**
|
|
142
|
+
* Возвращает копии активных согласованных сессий.
|
|
143
|
+
*/
|
|
107
144
|
get sessions(): readonly BridgeDebugSession[];
|
|
108
145
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { DiagnosticsSnapshot } from '../../diagnostics/domain/types/diagnostics.types';
|
|
2
2
|
import { EndgePublishedEvent } from '../../events/domain/events.types';
|
|
3
3
|
import { RuntimeInspectionSnapshot } from '../../runtime/domain/runtime-inspection.types';
|
|
4
|
-
/** Начальное состояние и граница последующих событий одного согласованного сеанса. */
|
|
5
4
|
export interface BridgeInspectionSnapshot {
|
|
6
5
|
readonly snapshot: DiagnosticsSnapshot;
|
|
7
6
|
readonly sequence: number;
|
|
8
7
|
}
|
|
9
|
-
/** Последовательность относится к потоку сеанса; метаданные самой публикации сохраняются в event. */
|
|
10
8
|
export interface BridgeStreamEvent {
|
|
11
9
|
readonly sequence: number;
|
|
12
10
|
readonly event: EndgePublishedEvent;
|
|
13
11
|
}
|
|
14
|
-
/** Объёмные снимки используют тот же sequenced session stream, но отдельный transport limit. */
|
|
15
12
|
export interface BridgeInspectionUpdate {
|
|
16
13
|
readonly sequence: number;
|
|
17
14
|
readonly update: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/** Локальная политика host, не сохраняемая в Domain. URL включает backend base path. */
|
|
2
1
|
export type EndgeBridgeBootOptions = {
|
|
3
2
|
role: 'client';
|
|
4
3
|
allowedServers: readonly string[];
|
|
@@ -59,7 +58,6 @@ export type SimulationRunResult = {
|
|
|
59
58
|
status: 'rejected';
|
|
60
59
|
reason: 'not-found' | 'hash-mismatch';
|
|
61
60
|
};
|
|
62
|
-
/** Закрытый набор сообщений bridge v1; это не произвольный RPC над Core. */
|
|
63
61
|
export interface BridgeMessage {
|
|
64
62
|
type: string;
|
|
65
63
|
id?: string;
|
|
@@ -71,7 +69,6 @@ export interface BridgeMessage {
|
|
|
71
69
|
data?: unknown;
|
|
72
70
|
error?: string;
|
|
73
71
|
}
|
|
74
|
-
/** Внутренний порт подмодулей к единственному владельцу соединений. */
|
|
75
72
|
export interface BridgeCommands {
|
|
76
73
|
request: (serverUrl: string, message: BridgeMessage) => Promise<unknown>;
|
|
77
74
|
send: (serverUrl: string, message: BridgeMessage) => void;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { BrowserBridge_Adapter } from '../adapters/BrowserBridge_Adapter';
|
|
2
2
|
import { BridgeConnectionState, BridgeMessage } from '../domain/bridge.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Один socket generation, bounded requests и reconnect одного backend.
|
|
5
|
+
*/
|
|
4
6
|
export declare class BridgeConnection_Service {
|
|
5
7
|
private readonly _serverUrl;
|
|
6
8
|
private readonly _role;
|
|
@@ -17,13 +19,21 @@ export declare class BridgeConnection_Service {
|
|
|
17
19
|
private _ready;
|
|
18
20
|
private readonly _pending;
|
|
19
21
|
constructor(_serverUrl: string, _role: 'client' | 'configurator', _hello: unknown, _adapter: BrowserBridge_Adapter, _onState: (state: BridgeConnectionState) => void, _onMessage: (message: BridgeMessage) => void);
|
|
20
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Запускает одну попытку. Повторный вызов не создаёт второй socket.
|
|
24
|
+
*/
|
|
21
25
|
start(): void;
|
|
22
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Отменяет всю работу; запоздалые callbacks старого socket игнорируются.
|
|
28
|
+
*/
|
|
23
29
|
stop(): void;
|
|
24
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Отправляет конечную команду с correlation id и deadline.
|
|
32
|
+
*/
|
|
25
33
|
request(message: BridgeMessage): Promise<unknown>;
|
|
26
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Отправляет сообщение без очереди для offline-соединения.
|
|
36
|
+
*/
|
|
27
37
|
send(message: BridgeMessage): void;
|
|
28
38
|
private _open;
|
|
29
39
|
private _closed;
|
|
@@ -2,15 +2,9 @@ import { BridgeInspectionSnapshot, BridgeInspectionUpdate, BridgeStreamEvent } f
|
|
|
2
2
|
import { EndgeCommand } from '../../commands/domain/commands.types';
|
|
3
3
|
import { ContextEvent } from '../../context/domain/context-events.types';
|
|
4
4
|
import { RuntimeStatusChange } from '../../runtime/domain/runtime-inspection.types';
|
|
5
|
-
/** Проверяет границу снимка; сам Domain валидируется штатным импортом Core. */
|
|
6
5
|
export declare function readBridgeInspectionSnapshot(value: unknown): BridgeInspectionSnapshot;
|
|
7
|
-
/** Проверяет метаданные потока до помещения события в ограниченный буфер. */
|
|
8
6
|
export declare function readBridgeStreamEvent(value: unknown): BridgeStreamEvent;
|
|
9
|
-
/** Распознаёт только существующие Context events и проверяет оба значения перед применением. */
|
|
10
7
|
export declare function readBridgeContextEvent(event: BridgeStreamEvent['event']): ContextEvent | null;
|
|
11
|
-
/** Проверяет wire envelope; имя команды и payload дополнительно проверяет локальный реестр обработчиков. */
|
|
12
8
|
export declare function readBridgeCommand(value: unknown): EndgeCommand;
|
|
13
|
-
/** Проверяет крупный snapshot до буферизации в согласованном потоке. */
|
|
14
9
|
export declare function readBridgeInspectionUpdate(value: unknown): BridgeInspectionUpdate;
|
|
15
|
-
/** Runtime facts применяются только после проверки статусов и адреса host. */
|
|
16
10
|
export declare function readBridgeRuntimeEvent(event: BridgeStreamEvent['event']): RuntimeStatusChange | null;
|
|
@@ -2,16 +2,24 @@ import { EndgeBootContext } from '../../kernel/types/bootstrap.types';
|
|
|
2
2
|
import { EndgeCommand } from './domain/commands.types';
|
|
3
3
|
import { EndgeCommandExecutor } from './types/command-executor.type';
|
|
4
4
|
import { EndgeModule } from '../../../federation/EndgeModule';
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Выбирает способ выполнения команд по boot mode, не владея изменяемым контекстом.
|
|
7
|
+
*/
|
|
6
8
|
export declare class EndgeCommands_Module extends EndgeModule<EndgeBootContext> {
|
|
7
9
|
private readonly _localExecutor;
|
|
8
10
|
private _remote;
|
|
9
11
|
private _executor;
|
|
10
12
|
constructor(localExecutor: EndgeCommandExecutor);
|
|
11
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Клиент выполняет команды локально, дебагер передаёт их через предоставленный host транспорт.
|
|
15
|
+
*/
|
|
12
16
|
setup(ctx: EndgeBootContext): void;
|
|
13
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Делегирует команду; состояние и публикация событий остаются у владельца операции.
|
|
19
|
+
*/
|
|
14
20
|
execute(command: EndgeCommand): Promise<void>;
|
|
15
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Отзывает выбранного исполнителя и ссылку на транспорт перед следующим boot.
|
|
23
|
+
*/
|
|
16
24
|
reset(): void;
|
|
17
25
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { EndgeCommandExecutor, EndgeCommandHandler } from '../types/command-executor.type';
|
|
2
2
|
import { EndgeContextCommandTarget } from '../types/context-command-target.type';
|
|
3
3
|
import { EndgeRuntimeCommandTarget } from '../types/runtime-command-target.type';
|
|
4
|
-
/** Создаёт явный набор локальных обработчиков; регистрация не выполняет сами команды. */
|
|
5
4
|
export declare function createContextCommandHandlers(context: EndgeContextCommandTarget): readonly EndgeCommandHandler[];
|
|
6
|
-
/** Привязывает команды к штатным операциям конкретного приложения без изменения обработчиков. */
|
|
7
5
|
export declare function createContextCommandExecutor(context: EndgeContextCommandTarget): EndgeCommandExecutor;
|
|
8
|
-
/** Runtime использует одинаковые обработчики для локальных и принятых удалённых команд. */
|
|
9
6
|
export declare function createRuntimeCommandHandlers(runtime: EndgeRuntimeCommandTarget): readonly EndgeCommandHandler[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { RuntimeControlTarget } from '../../runtime/domain/runtime-inspection.types';
|
|
2
2
|
import { EndgeDataMode } from '../../workspace/domain/workspace.types';
|
|
3
|
-
/** Параметры явных команд Core; это запросы на изменение, а не произошедшие события. */
|
|
4
3
|
export interface EndgeCommandMap {
|
|
5
4
|
'runtime:pause': RuntimeControlTarget;
|
|
6
5
|
'runtime:resume': RuntimeControlTarget;
|
|
@@ -29,7 +28,6 @@ export interface EndgeCommandMap {
|
|
|
29
28
|
};
|
|
30
29
|
}
|
|
31
30
|
export type EndgeCommandType = keyof EndgeCommandMap;
|
|
32
|
-
/** Связывает имя команды с её payload для единой точки execute(). */
|
|
33
31
|
export type EndgeCommand = {
|
|
34
32
|
[K in EndgeCommandType]: {
|
|
35
33
|
readonly type: K;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { EndgeCommand } from '../domain/commands.types';
|
|
2
2
|
import { EndgeCommandExecutor, EndgeCommandHandler } from '../types/command-executor.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Находит явно зарегистрированный обработчик и выполняет команду локально.
|
|
5
|
+
*/
|
|
4
6
|
export declare class LocalCommandExecutor implements EndgeCommandExecutor {
|
|
5
7
|
private readonly _handlers;
|
|
6
8
|
constructor(handlers: readonly EndgeCommandHandler[]);
|
|
7
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Неизвестная команда завершается ошибкой; fallback на произвольный метод отсутствует.
|
|
11
|
+
*/
|
|
8
12
|
execute(command: EndgeCommand): Promise<void>;
|
|
9
13
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { EndgeCommand } from '../domain/commands.types';
|
|
2
2
|
import { EndgeCommandExecutor, EndgeRemoteCommandTransport } from '../types/command-executor.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Передаёт любую поддерживаемую команду удалённому клиенту без вызова локальных обработчиков.
|
|
5
|
+
*/
|
|
4
6
|
export declare class RemoteCommandExecutor implements EndgeCommandExecutor {
|
|
5
7
|
private readonly _transport;
|
|
6
8
|
constructor(transport?: EndgeRemoteCommandTransport);
|
|
7
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Отсутствие транспорта и отказ клиента не заменяются локальным выполнением.
|
|
11
|
+
*/
|
|
8
12
|
execute(command: EndgeCommand): Promise<void>;
|
|
9
13
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeContextCommandTarget } from '../../types/context-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Применяет запрос изменения режима данных через существующий метод Context.
|
|
5
|
+
*/
|
|
4
6
|
export declare class SetDataModeCommand implements EndgeCommandHandler {
|
|
5
7
|
readonly type: "context:set-data-mode";
|
|
6
8
|
private readonly _context;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeContextCommandTarget } from '../../types/context-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Применяет запрос выбора документа произвольного динамического фасета.
|
|
5
|
+
*/
|
|
4
6
|
export declare class SetFacetCommand implements EndgeCommandHandler {
|
|
5
7
|
readonly type: "context:set-facet";
|
|
6
8
|
private readonly _context;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeContextCommandTarget } from '../../types/context-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Применяет запрос изменения языка через существующий метод Context.
|
|
5
|
+
*/
|
|
4
6
|
export declare class SetLocaleCommand implements EndgeCommandHandler {
|
|
5
7
|
readonly type: "context:set-locale";
|
|
6
8
|
private readonly _context;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeContextCommandTarget } from '../../types/context-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Применяет запрос изменения темы через существующий метод Context.
|
|
5
|
+
*/
|
|
4
6
|
export declare class SetThemeCommand implements EndgeCommandHandler {
|
|
5
7
|
readonly type: "context:set-theme";
|
|
6
8
|
private readonly _context;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeContextCommandTarget } from '../../types/context-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Применяет запрос изменения часового пояса через существующий метод Context.
|
|
5
|
+
*/
|
|
4
6
|
export declare class SetTimezoneCommand implements EndgeCommandHandler {
|
|
5
7
|
readonly type: "context:set-timezone";
|
|
6
8
|
private readonly _context;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeContextCommandTarget } from '../../types/context-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Применяет запрос изменения пользователя через существующий метод Context.
|
|
5
|
+
*/
|
|
4
6
|
export declare class SetUserCommand implements EndgeCommandHandler {
|
|
5
7
|
readonly type: "context:set-user";
|
|
6
8
|
private readonly _context;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeContextCommandTarget } from '../../types/context-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Применяет запрос изменения рабочего пространства через существующий метод Context.
|
|
5
|
+
*/
|
|
4
6
|
export declare class SetWorkspaceCommand implements EndgeCommandHandler {
|
|
5
7
|
readonly type: "context:set-workspace";
|
|
6
8
|
private readonly _context;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeRuntimeCommandTarget } from '../../types/runtime-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Делегирует pause существующему владельцу runtime lifecycle.
|
|
5
|
+
*/
|
|
4
6
|
export declare class PauseRuntimeCommand implements EndgeCommandHandler {
|
|
5
7
|
private readonly _runtime;
|
|
6
8
|
readonly type: "runtime:pause";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeRuntimeCommandTarget } from '../../types/runtime-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Делегирует resume существующему владельцу runtime lifecycle.
|
|
5
|
+
*/
|
|
4
6
|
export declare class ResumeRuntimeCommand implements EndgeCommandHandler {
|
|
5
7
|
private readonly _runtime;
|
|
6
8
|
readonly type: "runtime:resume";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { EndgeCommandHandler } from '../../types/command-executor.type';
|
|
2
2
|
import { EndgeRuntimeCommandTarget } from '../../types/runtime-command-target.type';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Делегирует stop существующему владельцу runtime lifecycle.
|
|
5
|
+
*/
|
|
4
6
|
export declare class StopRuntimeCommand implements EndgeCommandHandler {
|
|
5
7
|
private readonly _runtime;
|
|
6
8
|
readonly type: "runtime:stop";
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/** Проверяет строковый параметр команды; нормализация значения остаётся у владельца операции. */
|
|
2
1
|
export declare function readCommandString(payload: unknown, field: string): string;
|
|
3
|
-
/** Читает обязательную строку или явный null без приведения других типов. */
|
|
4
2
|
export declare function readCommandNullableString(payload: unknown, field: string): string | null;
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { EndgeCommand, EndgeCommandType } from '../domain/commands.types';
|
|
2
|
-
/** Исполнитель определяет способ выполнения команды, сохраняя единый API для вызывающего кода. */
|
|
3
2
|
export interface EndgeCommandExecutor {
|
|
4
3
|
execute: (command: EndgeCommand) => Promise<void>;
|
|
5
4
|
}
|
|
6
|
-
/** Отправляет команду выбранному удалённому клиенту и возвращает результат её выполнения. */
|
|
7
5
|
export interface EndgeRemoteCommandTransport {
|
|
8
6
|
send: (command: EndgeCommand) => Promise<void>;
|
|
9
7
|
}
|
|
10
|
-
/** Host передаёт транспорт текущего сеанса; режим исполнения определяется общим boot mode. */
|
|
11
8
|
export interface EndgeCommandsBootOptions {
|
|
12
9
|
local?: EndgeCommandExecutor;
|
|
13
10
|
remote?: EndgeRemoteCommandTransport;
|
|
14
11
|
}
|
|
15
|
-
/** Обработчик одной команды проверяет payload до обращения к владельцу операции. */
|
|
16
12
|
export interface EndgeCommandHandler {
|
|
17
13
|
readonly type: EndgeCommandType;
|
|
18
14
|
execute: (payload: unknown) => void | Promise<void>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EndgeDataMode } from '../../workspace/domain/workspace.types';
|
|
2
|
-
/** Владелец локальных операций: Core setters либо штатные операции приложения с reset/boot. */
|
|
3
2
|
export interface EndgeContextCommandTarget {
|
|
4
3
|
setCurrentWorkspace: (workspace: string | null) => void | Promise<void>;
|
|
5
4
|
setFacetSelection: (facet: string, document: string) => void | Promise<void>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { RuntimeControlOperation, RuntimeControlTarget } from '../../runtime/domain/runtime-inspection.types';
|
|
2
|
-
/** Узкий API владельца Runtime для общих локальных обработчиков. */
|
|
3
2
|
export interface EndgeRuntimeCommandTarget {
|
|
4
3
|
control: (operation: RuntimeControlOperation, target: RuntimeControlTarget) => Promise<void>;
|
|
5
4
|
}
|