@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
|
@@ -8,16 +8,12 @@ import { RSimulation } from '../../domain/entities/RSimulation';
|
|
|
8
8
|
import { RStore } from '../../domain/entities/RStore';
|
|
9
9
|
import { RStream } from '../../domain/entities/RStream';
|
|
10
10
|
import { RuntimeHostRegistrySnapshot } from './runtime-registry.types';
|
|
11
|
-
/**
|
|
12
|
-
* Виды runtime
|
|
13
|
-
*/
|
|
14
11
|
export type RuntimeKind = 'query' | 'filter' | 'composition' | 'store' | 'stream' | 'action' | 'simulation' | 'runtime';
|
|
15
12
|
export type RuntimeExecutableModel = RQuery | RAction | RPage | RComponentSFC | RFilter | RComposition | RStore | RStream | RSimulation;
|
|
16
13
|
export interface EndgeRuntimeSnapshot extends RuntimeHostRegistrySnapshot {
|
|
17
14
|
generatedAt: number;
|
|
18
15
|
scopes: import('./runtime-scope.types').RuntimeScopeSnapshot[];
|
|
19
16
|
}
|
|
20
|
-
/** Опциональные данные и graph-состояние Raph для диагностического snapshot. */
|
|
21
17
|
export interface EndgeRuntimeRaphSnapshot {
|
|
22
18
|
data?: unknown;
|
|
23
19
|
render?: import('./runtime-render-inspection.types').RuntimeRenderInspection;
|
|
@@ -30,15 +26,9 @@ export interface EndgeRuntimeRaphSnapshot {
|
|
|
30
26
|
derived: unknown;
|
|
31
27
|
};
|
|
32
28
|
}
|
|
33
|
-
/**
|
|
34
|
-
* Событие для query: изменение фильтра
|
|
35
|
-
*/
|
|
36
29
|
export interface FilterChangeEvent {
|
|
37
30
|
filterId: string;
|
|
38
31
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Runtime-события Query
|
|
41
|
-
*/
|
|
42
32
|
export interface QueryRuntimeEvents {
|
|
43
33
|
'filter:change': FilterChangeEvent;
|
|
44
34
|
}
|
|
@@ -71,16 +61,10 @@ export interface ActionRuntimeEvents {
|
|
|
71
61
|
meta?: Record<string, unknown>;
|
|
72
62
|
};
|
|
73
63
|
}
|
|
74
|
-
/**
|
|
75
|
-
* Типы runtime-профилей
|
|
76
|
-
*/
|
|
77
64
|
export interface RuntimeProfile<K extends RuntimeKind, E extends Record<string, any>> {
|
|
78
65
|
kind: K;
|
|
79
66
|
events: E;
|
|
80
67
|
}
|
|
81
|
-
/**
|
|
82
|
-
* Реестр профилей
|
|
83
|
-
*/
|
|
84
68
|
export interface RuntimeProfiles {
|
|
85
69
|
query: RuntimeProfile<'query', QueryRuntimeEvents>;
|
|
86
70
|
action: RuntimeProfile<'action', ActionRuntimeEvents>;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { RComponentSFC_SourceRange } from '../../domain/types/component/sfc/location.types';
|
|
2
|
-
/** Семантический вид узла в живом SFC render tree. */
|
|
3
2
|
export type SFCRenderInspectionNodeKind = 'component' | 'element' | 'text' | 'expression';
|
|
4
|
-
/** Вычисленное значение template binding вместе с его source provenance. */
|
|
5
3
|
export interface SFCRenderInspectionBinding {
|
|
6
4
|
kind: 'literal' | 'expression';
|
|
7
5
|
source?: string;
|
|
8
6
|
reads: string[];
|
|
9
7
|
value: unknown;
|
|
10
8
|
}
|
|
11
|
-
/** Данные, которыми renderer регистрирует один живой SFC instance. */
|
|
12
9
|
export interface SFCRenderInspectionNodeInput {
|
|
13
10
|
runtimeId: string;
|
|
14
11
|
componentIdentity: string;
|
|
@@ -27,16 +24,13 @@ export interface SFCRenderInspectionNodeInput {
|
|
|
27
24
|
bindings: Record<string, SFCRenderInspectionBinding>;
|
|
28
25
|
meta?: Record<string, unknown>;
|
|
29
26
|
}
|
|
30
|
-
/** Зарегистрированный живой SFC instance. */
|
|
31
27
|
export interface SFCRenderInspectionNode extends SFCRenderInspectionNodeInput {
|
|
32
28
|
id: string;
|
|
33
29
|
updatedAt: number;
|
|
34
30
|
}
|
|
35
|
-
/** Иерархическая проекция зарегистрированных SFC instances. */
|
|
36
31
|
export interface SFCRenderInspectionTreeNode extends SFCRenderInspectionNode {
|
|
37
32
|
children: SFCRenderInspectionTreeNode[];
|
|
38
33
|
}
|
|
39
|
-
/** Optional renderer-neutral sink: при null runtime не выполняет inspection work. */
|
|
40
34
|
export interface SFCRenderInspectionSessionLike {
|
|
41
35
|
registerNode: (input: SFCRenderInspectionNodeInput) => string;
|
|
42
36
|
unregisterNode: (id: string) => void;
|
|
@@ -2,18 +2,14 @@ import { RuntimeArtifactReader } from './runtime-host.types';
|
|
|
2
2
|
import { StreamTransportConnection, StreamTransportFactory } from './stream-runtime.types';
|
|
3
3
|
import { SimulationRuntimeHost } from '../hosts/SimulationRuntimeHost';
|
|
4
4
|
import { SimulationMockStream } from '../../source/domain/types/simulation-source.types';
|
|
5
|
-
/** Host adapter выполняет только transport; schema compilation/PRNG принадлежат сервису. */
|
|
6
5
|
export interface SimulationGenerator {
|
|
7
6
|
generate: (schema: Record<string, unknown>, seed: string, signal: AbortSignal) => Promise<unknown>;
|
|
8
7
|
openStream: (schema: Record<string, unknown>, options: SimulationMockStream, callbacks: Parameters<StreamTransportFactory['open']>[1]) => StreamTransportConnection;
|
|
9
8
|
}
|
|
10
9
|
export interface SimulationMountOptions {
|
|
11
10
|
generator?: SimulationGenerator;
|
|
12
|
-
/** Preview может передать draft artifact без изменения общей Program. */
|
|
13
11
|
artifactReader?: RuntimeArtifactReader;
|
|
14
|
-
/** Принудительный МОК поверхности запуска имеет приоритет над Simulation dataMode. */
|
|
15
12
|
forceMock?: boolean;
|
|
16
|
-
/** Явные входы target; Core не подставляет preview fixtures самостоятельно. */
|
|
17
13
|
props?: Record<string, unknown>;
|
|
18
14
|
}
|
|
19
15
|
export interface SimulationRuntimeSession {
|
|
@@ -9,7 +9,6 @@ export interface StreamTransportConnection {
|
|
|
9
9
|
pause?: () => Promise<void>;
|
|
10
10
|
resume?: () => Promise<void>;
|
|
11
11
|
}
|
|
12
|
-
/** Нейтральный к браузеру порт, используемый StreamRuntimeHost. */
|
|
13
12
|
export interface StreamTransportFactory {
|
|
14
13
|
open: (artifact: StreamSourceArtifact, callbacks: {
|
|
15
14
|
message: (message: StreamTransportMessage) => void;
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Описание сортировки, привязанное к колонке.
|
|
3
|
-
* Направление (asc/desc) задаётся пользователем в рантайме.
|
|
4
|
-
*/
|
|
5
1
|
export interface ColumnSortConfig {
|
|
6
|
-
/**
|
|
7
|
-
* ключ внутри колонки (обычно один из keys dataPaths),
|
|
8
|
-
* например: "status" / "data" / "number"
|
|
9
|
-
*/
|
|
10
2
|
by: string;
|
|
11
|
-
/**
|
|
12
|
-
* "String" | "Number" | "Date" | "DateTime" ...
|
|
13
|
-
*/
|
|
14
3
|
type: string;
|
|
15
4
|
}
|
|
@@ -3,10 +3,6 @@ export type VocabLoadStrategy = 'cache-first' | 'network-first' | 'stale-while-r
|
|
|
3
3
|
export type VocabLoadErrorPolicy = 'fail' | 'use-cache';
|
|
4
4
|
export interface VocabLoadPolicy {
|
|
5
5
|
strategy: VocabLoadStrategy;
|
|
6
|
-
/**
|
|
7
|
-
* Максимальный возраст cache entry в миллисекундах.
|
|
8
|
-
* `null` означает, что cache не устаревает автоматически.
|
|
9
|
-
*/
|
|
10
6
|
maxAgeMs: number | null;
|
|
11
7
|
onError: VocabLoadErrorPolicy;
|
|
12
8
|
}
|
|
@@ -17,16 +13,11 @@ export interface VocabCacheOperationResult {
|
|
|
17
13
|
status: VocabCacheOperationStatus;
|
|
18
14
|
count: number;
|
|
19
15
|
}
|
|
20
|
-
/** Один публичный Vocab alias, доступный внутри runtime scope Composition. */
|
|
21
16
|
export interface VocabRuntimeCatalogEntry {
|
|
22
|
-
/** Физическая identity Vocab-документа, полезная для diagnostics. */
|
|
23
17
|
identity: string;
|
|
24
|
-
/** Реактивный Raph path загруженного массива значений. */
|
|
25
18
|
path: string;
|
|
26
19
|
}
|
|
27
|
-
/** Накопленный Vocab catalog ближайшего Composition scope. */
|
|
28
20
|
export type VocabRuntimeCatalog = Record<string, VocabRuntimeCatalogEntry>;
|
|
29
|
-
/** Явное преобразование элемента Vocab в renderer-neutral option. */
|
|
30
21
|
export interface VocabOptionMapping {
|
|
31
22
|
valuePath: string;
|
|
32
23
|
labelPath: string;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { CompositionRuntimeHost } from '../hosts/CompositionRuntimeHost';
|
|
2
2
|
import { CompositionMountOptions, CompositionPreviewProps, CompositionSession } from '../../source/domain/types/composition-source.types';
|
|
3
3
|
import { EndgeDataMode } from '../../workspace/domain/workspace.types';
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Публичный API монтирования Composition runtime sessions.
|
|
6
|
+
*/
|
|
5
7
|
export declare class EndgeComposition {
|
|
6
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Монтирует Composition runtime и возвращает управляемую session.
|
|
10
|
+
*/
|
|
7
11
|
mount(identity: string, options?: CompositionMountOptions): Promise<CompositionSession<CompositionRuntimeHost>>;
|
|
8
12
|
}
|
|
9
|
-
/** Материализует литералы только для preview и ссылки RMock в обычные props Composition. */
|
|
10
13
|
export declare function materializeCompositionPreviewProps(previewProps: CompositionPreviewProps | null | undefined, dataMode?: EndgeDataMode): Record<string, unknown>;
|
|
@@ -1,59 +1,107 @@
|
|
|
1
1
|
import { DataViewProgramPayload, ProgramArtifact } from '../../program/domain/types/program.types';
|
|
2
2
|
import { DataViewRef, DataViewRunContext, DataViewRunTools } from '../../source/domain/types/data-view-source.types';
|
|
3
3
|
import { RDataView } from '../../domain/entities/RDataView';
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Сообщает, что persisted DataView не прошёл общий build pipeline.
|
|
6
|
+
*/
|
|
5
7
|
export declare class DataViewArtifactUnavailableError extends Error {
|
|
6
8
|
readonly code = "data_view_artifact_unavailable";
|
|
7
9
|
constructor(identity: string);
|
|
8
10
|
}
|
|
9
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Модуль выполнения скомпилированных RDataView artifacts.
|
|
13
|
+
*/
|
|
10
14
|
export declare class EndgeDataView {
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Выполняет DataView по id/identity/model над переданным input object.
|
|
17
|
+
*/
|
|
12
18
|
run(dataViewOrId: RDataView | string | number, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext): unknown;
|
|
13
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Выполняет уже скомпилированный DataView artifact без поиска в домене.
|
|
21
|
+
*/
|
|
14
22
|
runArtifact(artifact: ProgramArtifact<DataViewProgramPayload>, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext): unknown;
|
|
15
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Выполняет уже скомпилированный DataView payload.
|
|
25
|
+
*/
|
|
16
26
|
runPayload(artifact: DataViewProgramPayload, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext & {
|
|
17
27
|
children?: ProgramArtifact[];
|
|
18
28
|
}): unknown;
|
|
19
|
-
/**
|
|
29
|
+
/**
|
|
30
|
+
* Вычисляет object projection один раз над целым DataView input.
|
|
31
|
+
*/
|
|
20
32
|
private _runProjection;
|
|
21
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Вычисляет root ValueExpression без object projection wrapper.
|
|
35
|
+
*/
|
|
22
36
|
private _runExpression;
|
|
23
|
-
/**
|
|
37
|
+
/**
|
|
38
|
+
* Выполняет DataView-ссылку из query/DataView artifact.
|
|
39
|
+
*/
|
|
24
40
|
runRef(ref: DataViewRef, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext & {
|
|
25
41
|
children?: ProgramArtifact[];
|
|
26
42
|
}): unknown;
|
|
27
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Выполняет DataView source без записи artifact в `Endge.program`.
|
|
45
|
+
*/
|
|
28
46
|
runSource(source: string, input: unknown, tools?: Partial<DataViewRunTools>, context?: DataViewRunContext): unknown;
|
|
29
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Возвращает DataView model из домена или входного экземпляра.
|
|
49
|
+
*/
|
|
30
50
|
private _resolveDataView;
|
|
31
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Возвращает только artifact, подготовленный общим compiler build.
|
|
53
|
+
*/
|
|
32
54
|
private _resolveArtifact;
|
|
33
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Останавливает manual DataView до появления безопасного runtime.
|
|
57
|
+
*/
|
|
34
58
|
private _runManual;
|
|
35
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Интерпретирует декларативные pipeline steps без eval.
|
|
61
|
+
*/
|
|
36
62
|
private _runPipeline;
|
|
37
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Заполняет отсутствующие props декларативными defaults DataView artifact.
|
|
65
|
+
*/
|
|
38
66
|
private _resolveProps;
|
|
39
|
-
/**
|
|
67
|
+
/**
|
|
68
|
+
* Последовательно вычисляет whole-value steps; каждый select получает результат предыдущего.
|
|
69
|
+
*/
|
|
40
70
|
private _runSelectPipeline;
|
|
41
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* Собирает базовый output для map step из spread-источников.
|
|
73
|
+
*/
|
|
42
74
|
private _createMapOutput;
|
|
43
|
-
/**
|
|
75
|
+
/**
|
|
76
|
+
* Вычисляет join-result для текущей строки pipeline.
|
|
77
|
+
*/
|
|
44
78
|
private _resolveJoin;
|
|
45
|
-
/**
|
|
79
|
+
/**
|
|
80
|
+
* Вычисляет одно поле map-expression.
|
|
81
|
+
*/
|
|
46
82
|
private _evaluateExpression;
|
|
47
|
-
/**
|
|
83
|
+
/**
|
|
84
|
+
* Применяет chain operation к path-expression.
|
|
85
|
+
*/
|
|
48
86
|
private _applyPathOperation;
|
|
49
|
-
/**
|
|
87
|
+
/**
|
|
88
|
+
* Создает набор runtime tools с возможностью точечной подмены в preview.
|
|
89
|
+
*/
|
|
50
90
|
private _createTools;
|
|
51
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* Минимальные built-in converters для preview v1.
|
|
93
|
+
*/
|
|
52
94
|
private _convert;
|
|
53
|
-
/**
|
|
95
|
+
/**
|
|
96
|
+
* Применяет один зарегистрированный Converter ко всему текущему значению.
|
|
97
|
+
*/
|
|
54
98
|
convert(identity: string, value: unknown, options?: Record<string, unknown>): unknown;
|
|
55
|
-
/**
|
|
99
|
+
/**
|
|
100
|
+
* Читает dot-path из object/array без выбрасывания ошибок.
|
|
101
|
+
*/
|
|
56
102
|
private _path;
|
|
57
|
-
/**
|
|
103
|
+
/**
|
|
104
|
+
* Ищет локальный DataView artifact среди child artifacts, включая вложенные children.
|
|
105
|
+
*/
|
|
58
106
|
private _findLocalDataViewArtifact;
|
|
59
107
|
}
|
|
@@ -7,18 +7,24 @@ import { QueryExecutor_Adapter } from '../adapters/QueryExecutor_Adapter';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class EndgeQuery {
|
|
9
9
|
private readonly _executor;
|
|
10
|
-
/**
|
|
10
|
+
/**
|
|
11
|
+
* Создаёт query module с явным transport adapter.
|
|
12
|
+
*/
|
|
11
13
|
constructor(executor?: QueryExecutor_Adapter);
|
|
12
14
|
/**
|
|
13
15
|
* Выполняет query через compiled artifact и сохраняет результат в Raph.
|
|
14
16
|
*/
|
|
15
17
|
run(query: RQuery, params?: Record<string, unknown>, parent?: RuntimeParentRef | null): Promise<any>;
|
|
16
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Выполняет artifact для QueryRuntimeHost без преждевременной записи stores.
|
|
20
|
+
*/
|
|
17
21
|
executeArtifact(input: {
|
|
18
22
|
payload: QueryProgramPayload;
|
|
19
23
|
props: Record<string, unknown>;
|
|
20
24
|
signal?: AbortSignal;
|
|
21
25
|
}): Promise<any>;
|
|
22
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Извлекает response-backed output для атомарного commit в QueryRuntimeHost.
|
|
28
|
+
*/
|
|
23
29
|
readResponseOutput(output: QueryProgramPayload['outputs'][number], response: unknown): unknown;
|
|
24
30
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ProgramArtifact } from '../../program/domain/types/program.types';
|
|
2
2
|
import { DataViewRef } from '../../source/domain/types/data-view-source.types';
|
|
3
3
|
import { ResponseOutputTransform } from '../../source/domain/types/response-output.types';
|
|
4
|
-
/** Применяет упорядоченные transforms Query и Vocab без неявного mapping массивов. */
|
|
5
4
|
export declare function runResponseOutputTransforms(transforms: readonly ResponseOutputTransform[] | undefined, legacyDataViews: readonly DataViewRef[], value: unknown, children?: readonly ProgramArtifact[]): unknown;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { SimulationMountOptions, SimulationRuntimeSession } from '../domain/simulation-runtime.types';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Запускает Simulation с Composition target через общий runtime registry и lifecycle.
|
|
4
|
+
*/
|
|
3
5
|
export declare class EndgeSimulation {
|
|
4
6
|
mount(identity: string, options?: SimulationMountOptions): Promise<SimulationRuntimeSession>;
|
|
5
7
|
}
|
package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DepGraph, PhaseEvent, PhaseExecutorContext, PhaseName, RaphNode, RaphPhase } from '
|
|
1
|
+
import { DepGraph, PhaseEvent, PhaseExecutorContext, PhaseName, RaphNode, RaphPhase } from '@raphy-js/raph';
|
|
2
2
|
import { RuntimeDirtyBoundary, RuntimeHost } from '../../domain/runtime-host.types';
|
|
3
3
|
export interface RuntimeBoundaryAggregatedUpdate {
|
|
4
4
|
node: RaphNode;
|
|
@@ -10,11 +10,14 @@ export interface RuntimeBoundaryUpdatePhaseOptions {
|
|
|
10
10
|
getGraph?: () => DepGraph<RaphNode>;
|
|
11
11
|
resolveHost?: (runtimeId: string) => RuntimeHost | null;
|
|
12
12
|
}
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Универсальная Raph-фаза обновления runtime-сущностей через верхние dirty boundaries.
|
|
15
|
+
*/
|
|
14
16
|
export declare class RuntimeBoundaryUpdatePhase {
|
|
15
17
|
static readonly PHASE_NAME: string;
|
|
16
|
-
/**
|
|
18
|
+
/**
|
|
19
|
+
* Создает Raph-фазу, которая вызывает update у runtime-host верхних dirty boundaries.
|
|
20
|
+
*/
|
|
17
21
|
static make(options?: RuntimeBoundaryUpdatePhaseOptions): RaphPhase;
|
|
18
22
|
}
|
|
19
|
-
/** Агрегирует dirty runtime-ноды к минимальному списку верхних dirty boundaries. */
|
|
20
23
|
export declare function aggregateRuntimeBoundaryUpdates(graph: DepGraph<RaphNode>, ctxs: readonly PhaseExecutorContext[]): RuntimeBoundaryAggregatedUpdate[];
|
package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PhaseName, RaphPhase } from '
|
|
1
|
+
import { PhaseName, RaphPhase } from '@raphy-js/raph';
|
|
2
2
|
import { RuntimeHost } from '../../domain/runtime-host.types';
|
|
3
3
|
export interface RuntimeNodeUpdatePhaseOptions {
|
|
4
4
|
name?: PhaseName;
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { RAction } from '../../domain/entities/RAction';
|
|
2
2
|
import { ActionRuntimeHostContext, RuntimeHost } from '../domain/runtime-host.types';
|
|
3
3
|
import { RuntimeHostBase } from '../RuntimeHostBase';
|
|
4
|
-
/**
|
|
5
|
-
* Создаёт контекст action-runtime с опциональной ссылкой на родительский контекст.
|
|
6
|
-
* Создаёт изолированный invocation context и optional parent link.
|
|
7
|
-
*/
|
|
8
4
|
export declare function createActionContext(options: {
|
|
9
5
|
input?: Record<string, unknown> | unknown;
|
|
10
6
|
parent?: ActionRuntimeHostContext | null;
|
|
@@ -52,60 +52,110 @@ export declare class ComponentSFCRuntimeHost extends RuntimeHostBase<'component-
|
|
|
52
52
|
parent?: RuntimeHost<any, any> | null;
|
|
53
53
|
artifactReader?: RuntimeArtifactReader | null;
|
|
54
54
|
}): ComponentSFCRuntimeHost;
|
|
55
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Возвращает разложенный canonical source из compiled artifact.
|
|
57
|
+
*/
|
|
56
58
|
getSourceParts(): RComponentSFCSource_Parts | null;
|
|
57
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Возвращает diagnostics compiled artifact.
|
|
61
|
+
*/
|
|
58
62
|
getDiagnostics(): ProgramDiagnostic[];
|
|
59
|
-
/**
|
|
63
|
+
/**
|
|
64
|
+
* Переводит public key через накопленный Composition catalog этого runtime.
|
|
65
|
+
*/
|
|
60
66
|
translate(key: string, fallback?: string): string;
|
|
61
67
|
/**
|
|
62
68
|
* Читает Vocab alias из ближайшего Composition scope и преобразует cache
|
|
63
69
|
* records в renderer-neutral Select options.
|
|
64
70
|
*/
|
|
65
71
|
resolveVocabOptions(alias: string, mapping?: Partial<VocabOptionMapping>): SourceFieldOption[];
|
|
66
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* Возвращает внешний контракт компонента из compiled artifact.
|
|
74
|
+
*/
|
|
67
75
|
getContract(): RComponentContract | null;
|
|
68
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* Возвращает зависимости компонента из compiled artifact.
|
|
78
|
+
*/
|
|
69
79
|
getDependencies(): RComponentDependencies | null;
|
|
70
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Возвращает runtime-зависимости SFC v1 из compiled artifact.
|
|
82
|
+
*/
|
|
71
83
|
getRuntimeDependencies(): RComponentSFC_RuntimeDependencies;
|
|
72
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Возвращает parser-level AST из compiled artifact.
|
|
86
|
+
*/
|
|
73
87
|
getAst(): RComponentSFC_AST | null;
|
|
74
|
-
/**
|
|
88
|
+
/**
|
|
89
|
+
* Возвращает target-neutral semantic IR из compiled artifact.
|
|
90
|
+
*/
|
|
75
91
|
getIr(): RComponentSFC_IR | null;
|
|
76
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Возвращает preview-only props из compiled artifact.
|
|
94
|
+
*/
|
|
77
95
|
getPreviewProps(): Record<string, unknown> | null;
|
|
78
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Возвращает preview-only runtime options из compiled artifact.
|
|
98
|
+
*/
|
|
79
99
|
getPreviewOptions(): ComponentSFCPreviewOptions | null;
|
|
80
|
-
/**
|
|
100
|
+
/**
|
|
101
|
+
* Подписывается на один публичный порт Event смонтированного экземпляра компонента.
|
|
102
|
+
*/
|
|
81
103
|
onEventPort(name: string, listener: (occurrence: ComponentSFCEventOccurrence) => void): () => void;
|
|
82
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* Отправляет собственный публичный Event через корневую границу Component SFC.
|
|
106
|
+
*/
|
|
83
107
|
emitEventPort(name: string, payload: unknown, source?: ComponentSFCEventRuntimeSource): Promise<void>;
|
|
84
|
-
/**
|
|
108
|
+
/**
|
|
109
|
+
* Выполняет одну связанную компилятором реакцию Event для границы renderer.
|
|
110
|
+
*/
|
|
85
111
|
executeEventPortAction(ownerIdentity: string, port: ComponentSFCEventPort, payload: unknown, source: ComponentSFCEventRuntimeSource | undefined, emitOwn: (name: string, payload: unknown, trace: string[], depth: number) => Promise<void>, trace?: string[], depth?: number, scope?: Record<string, unknown>): Promise<boolean>;
|
|
86
|
-
/**
|
|
112
|
+
/**
|
|
113
|
+
* Публикует уже маршрутизированный корневой Event без глобальной шины Endge.events.
|
|
114
|
+
*/
|
|
87
115
|
publishEventPort(name: string, payload: unknown, source?: ComponentSFCEventRuntimeSource): void;
|
|
88
|
-
/**
|
|
116
|
+
/**
|
|
117
|
+
* Возвращает активную host-owned edit-сессию конкретного renderer consumer.
|
|
118
|
+
*/
|
|
89
119
|
getEditSession(key: string): Readonly<ComponentSFCEditSession> | null;
|
|
90
|
-
/**
|
|
120
|
+
/**
|
|
121
|
+
* Открывает единственную edit-сессию runtime; предыдущая отменяется без Event.
|
|
122
|
+
*/
|
|
91
123
|
beginEditSession(key: string, originalValue: unknown, baseVariant?: string): ComponentSFCEditSession;
|
|
92
|
-
/**
|
|
124
|
+
/**
|
|
125
|
+
* Обновляет renderer-owned draft активной edit-сессии.
|
|
126
|
+
*/
|
|
93
127
|
updateEditDraft(key: string, value: unknown): void;
|
|
94
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Завершает edit-сессию и возвращает нормализованный semantic payload.
|
|
130
|
+
*/
|
|
95
131
|
commitEditSession(key: string, value?: unknown): ComponentSFCEditedEventPayload | null;
|
|
96
|
-
/**
|
|
132
|
+
/**
|
|
133
|
+
* Отменяет edit-сессию без публикации edited.
|
|
134
|
+
*/
|
|
97
135
|
cancelEditSession(key?: string): void;
|
|
98
|
-
/**
|
|
136
|
+
/**
|
|
137
|
+
* Возвращает один ресурс вычислений, принадлежащий host и изолированный scope потребителя renderer.
|
|
138
|
+
*/
|
|
99
139
|
getComputationResource(identity: string, input: unknown, consumerKey: string, portName?: string): ComputationResource;
|
|
100
|
-
/**
|
|
140
|
+
/**
|
|
141
|
+
* Завершает ресурсы исчезнувших renderer consumers; host сохраняет остальных.
|
|
142
|
+
*/
|
|
101
143
|
releaseComputationResources(consumerScope: string, keep?: (key: string) => boolean): void;
|
|
102
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* Обновляет input source и пересобирает Raph subscriptions host-а.
|
|
146
|
+
*/
|
|
103
147
|
setInputSource(input: RuntimeHostInputSource | null | undefined): void;
|
|
104
|
-
/**
|
|
148
|
+
/**
|
|
149
|
+
* Возвращает текущий input source host-а.
|
|
150
|
+
*/
|
|
105
151
|
getInputSource(): RuntimeHostInputSource | null;
|
|
106
|
-
/**
|
|
152
|
+
/**
|
|
153
|
+
* Наблюдение сохраняет входы и уже вычисленное состояние; compilation и execution не запускаются.
|
|
154
|
+
*/
|
|
107
155
|
captureRenderInspection(): RuntimeRenderableInspection;
|
|
108
|
-
/**
|
|
156
|
+
/**
|
|
157
|
+
* Читает Meta-plane по compiler-known ссылке, не раскрывая SFC физический DataPath.
|
|
158
|
+
*/
|
|
109
159
|
readDataMeta(reference: RComponentSFC_IR_DataMetaReference & {
|
|
110
160
|
boundaryId?: string;
|
|
111
161
|
rowKey?: unknown;
|
|
@@ -119,7 +169,9 @@ export declare class ComponentSFCRuntimeHost extends RuntimeHostBase<'component-
|
|
|
119
169
|
update(ctx: RuntimeHostUpdateContext): void;
|
|
120
170
|
pause(): void;
|
|
121
171
|
resume(): void;
|
|
122
|
-
/**
|
|
172
|
+
/**
|
|
173
|
+
* Очищает Raph subscriptions перед общим destroy host-а.
|
|
174
|
+
*/
|
|
123
175
|
destroy(): void;
|
|
124
176
|
private _emitRootEventPort;
|
|
125
177
|
private _executeEventActionEffect;
|
|
@@ -128,12 +180,18 @@ export declare class ComponentSFCRuntimeHost extends RuntimeHostBase<'component-
|
|
|
128
180
|
private _materializeOperationBlock;
|
|
129
181
|
private _executeMaterializedOperationBlock;
|
|
130
182
|
private _reportComputationError;
|
|
131
|
-
/**
|
|
183
|
+
/**
|
|
184
|
+
* Синхронизирует runtime context с текущим compiled artifact.
|
|
185
|
+
*/
|
|
132
186
|
syncArtifactState(target: RComponentRenderTarget | null): void;
|
|
133
|
-
/**
|
|
187
|
+
/**
|
|
188
|
+
* Backward-compatible alias для старого runtime prepare API.
|
|
189
|
+
*/
|
|
134
190
|
preparePlaceholders(target: RComponentRenderTarget | null): void;
|
|
135
191
|
private _makeArtifactResourcePayload;
|
|
136
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* Подписывает host на shared Vocab path один раз, включая вложенные SFC artifacts.
|
|
194
|
+
*/
|
|
137
195
|
private _ensureVocabSubscription;
|
|
138
196
|
private _createRuntimeBoundaryNodes;
|
|
139
197
|
private _createTableColumnBoundaryNode;
|
|
@@ -142,7 +200,9 @@ export declare class ComponentSFCRuntimeHost extends RuntimeHostBase<'component-
|
|
|
142
200
|
private _resolveDataMetaObservedPath;
|
|
143
201
|
private _resolveDataMetaPath;
|
|
144
202
|
private _mapMetaField;
|
|
145
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* Зависимости контекста основаны на Raph и не зависят от вида входных props компонента.
|
|
205
|
+
*/
|
|
146
206
|
private _bindRaphContextSources;
|
|
147
207
|
private _observeContextPath;
|
|
148
208
|
private _bindRaphBoundaryInputSource;
|
|
@@ -152,7 +212,9 @@ export declare class ComponentSFCRuntimeHost extends RuntimeHostBase<'component-
|
|
|
152
212
|
private _makeBoundaryPatch;
|
|
153
213
|
private _makeTableRowPatch;
|
|
154
214
|
private _makeTableColumnPatch;
|
|
155
|
-
/**
|
|
215
|
+
/**
|
|
216
|
+
* Собирает все keyed события frame-а, не теряя соседние SSE-изменения.
|
|
217
|
+
*/
|
|
156
218
|
private _makeCollectionPatch;
|
|
157
219
|
private _resolveBoundarySourcePath;
|
|
158
220
|
private _extractChangedPath;
|