@endge/core 12.0.3 → 14.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/dist/core.js +26657 -25069
- package/dist/features/core/kernel/config/debugger.config.d.ts +0 -1
- package/dist/features/core/kernel/config/kernel.config.d.ts +0 -6
- package/dist/features/core/kernel/config/modules.config.d.ts +0 -1
- package/dist/features/core/kernel/endge.d.ts +15 -7
- package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +3 -1
- package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +3 -2
- package/dist/features/core/kernel/tools/bundle-json.d.ts +0 -4
- package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +0 -1
- package/dist/features/core/kernel/tools/read-only-document.d.ts +0 -1
- package/dist/features/core/kernel/types/bootstrap.types.d.ts +0 -37
- package/dist/features/core/kernel/types/endge-bundle.types.d.ts +0 -1
- package/dist/features/core/modules/EndgeTypes_Module.d.ts +3 -1
- package/dist/features/core/modules/EndgeVocabs_Module.d.ts +33 -15
- package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +38 -22
- package/dist/features/core/modules/actions/domain/action.types.d.ts +0 -12
- package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +3 -2
- package/dist/features/core/modules/actions/services/table-actions.d.ts +0 -1
- package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +24 -8
- package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +9 -3
- package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +9 -3
- package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +33 -11
- package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +3 -1
- package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +0 -6
- package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +15 -5
- package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +24 -8
- package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +9 -3
- package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +48 -16
- package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +21 -7
- package/dist/features/core/modules/auth/services/auth-context.d.ts +0 -3
- package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +27 -20
- package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +12 -4
- package/dist/features/core/modules/bridge/config/bridge.config.d.ts +0 -5
- package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +14 -12
- package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +72 -35
- package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +0 -3
- package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +0 -3
- package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +15 -5
- package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +0 -6
- package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +12 -4
- package/dist/features/core/modules/commands/config/commands.config.d.ts +0 -3
- package/dist/features/core/modules/commands/domain/commands.types.d.ts +0 -2
- package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +6 -2
- package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +6 -2
- package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/tools/command-payload.d.ts +0 -2
- package/dist/features/core/modules/commands/types/command-executor.type.d.ts +0 -4
- package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +0 -1
- package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +0 -1
- package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +193 -74
- package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +0 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +0 -22
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +0 -14
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +0 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +0 -5
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +0 -10
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +0 -5
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +0 -18
- package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +0 -7
- package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +0 -1
- package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +18 -16
- package/dist/features/core/modules/computations/model/ComputationResource.d.ts +6 -2
- package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +9 -4
- package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +3 -1
- package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +6 -2
- package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +39 -13
- package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +0 -2
- package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +0 -6
- package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +0 -1
- package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +0 -22
- package/dist/features/core/modules/context/EndgeContext_Module.d.ts +186 -62
- package/dist/features/core/modules/context/domain/context-events.types.d.ts +0 -1
- package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +0 -4
- package/dist/features/core/modules/context/domain/context-state.types.d.ts +0 -5
- package/dist/features/core/modules/context/endge-vars.d.ts +12 -4
- package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +6 -2
- package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +3 -1
- package/dist/features/core/modules/context/persistence/context-state.d.ts +0 -2
- package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +3 -6
- package/dist/features/core/modules/converters/tools/arrays/split.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +0 -4
- package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +0 -1
- package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +54 -18
- package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +101 -45
- package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +39 -14
- package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +177 -59
- package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +9 -3
- package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +21 -8
- package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +21 -7
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +75 -26
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +0 -9
- package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +0 -2
- package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +0 -1
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +60 -20
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +24 -8
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +0 -14
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +0 -2
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +0 -66
- package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +17 -14
- package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +0 -11
- package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +0 -3
- package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +6 -2
- package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +6 -2
- package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +165 -64
- package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +9 -11
- package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +0 -4
- package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +0 -1
- package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +0 -3
- package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +0 -3
- package/dist/features/core/modules/domain/entities/RAction.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RComponent.d.ts +0 -7
- package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +0 -1
- package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +12 -8
- package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +18 -10
- package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +3 -5
- package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +0 -20
- package/dist/features/core/modules/domain/entities/RComposition.d.ts +3 -3
- package/dist/features/core/modules/domain/entities/RComputation.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RDataView.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/REntity.d.ts +12 -15
- package/dist/features/core/modules/domain/entities/RFacet.d.ts +3 -3
- package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RFilter.d.ts +0 -2
- package/dist/features/core/modules/domain/entities/RFolder.d.ts +6 -6
- package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/RIntegration.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RMock.d.ts +15 -5
- package/dist/features/core/modules/domain/entities/RNavigation.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RPage.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +6 -3
- package/dist/features/core/modules/domain/entities/RPolicy.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RQuery.d.ts +0 -3
- package/dist/features/core/modules/domain/entities/RSimulation.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStore.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStream.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStyle.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RType.d.ts +0 -1
- package/dist/features/core/modules/domain/entities/RUpdate.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RVersion.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RVocabs.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +3 -1
- package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +6 -2
- package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +0 -39
- package/dist/features/core/modules/domain/types/component/component.types.d.ts +0 -6
- package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +0 -67
- package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +0 -37
- package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +0 -127
- package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +0 -7
- package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +0 -4
- package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +0 -25
- package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +0 -11
- package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +0 -12
- package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +0 -7
- package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +0 -23
- package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +0 -3
- package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +0 -4
- package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +0 -1
- package/dist/features/core/modules/domain/types/document/document.types.d.ts +0 -20
- package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +0 -4
- package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +0 -10
- package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +0 -8
- package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +0 -5
- package/dist/features/core/modules/domain/types/document/filter.types.d.ts +0 -8
- package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/query.types.d.ts +0 -8
- package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +33 -11
- package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +0 -1
- package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +6 -2
- package/dist/features/core/modules/events/domain/events.types.d.ts +0 -4
- package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +33 -11
- package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +0 -5
- package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +0 -4
- package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +0 -5
- package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +0 -1
- package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +24 -16
- package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +3 -1
- package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +3 -1
- package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +12 -4
- package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +6 -2
- package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +0 -4
- package/dist/features/core/modules/inspection/types/inspection.types.d.ts +0 -1
- package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +30 -10
- package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +3 -9
- package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +69 -23
- package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +0 -1
- package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +0 -4
- package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +0 -11
- package/dist/features/core/modules/program/domain/types/program.types.d.ts +0 -109
- package/dist/features/core/modules/program/tools/execution-bundle.d.ts +0 -2
- package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +0 -1
- package/dist/features/core/modules/program/tools/restore-program-source.d.ts +0 -1
- package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +18 -6
- package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +7 -11
- package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +100 -33
- package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +3 -1
- package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +21 -11
- package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +0 -25
- package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +11 -63
- package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +0 -3
- package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +2 -33
- package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +3 -1
- package/dist/features/core/modules/runtime/RuntimeScope.d.ts +3 -1
- package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +39 -22
- package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +0 -4
- package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +0 -13
- package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +0 -12
- package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +2 -119
- package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +0 -2
- package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +0 -17
- package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +0 -2
- package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +0 -14
- package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +0 -16
- package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +0 -6
- package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +0 -4
- package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/table.types.d.ts +0 -11
- package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +0 -9
- package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +6 -3
- package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +72 -24
- package/dist/features/core/modules/runtime/execution/endge-query.d.ts +9 -3
- package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +0 -1
- package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +3 -1
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +9 -6
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +2 -2
- package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +0 -4
- package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +93 -31
- package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +90 -30
- package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +21 -7
- package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +33 -11
- package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +9 -3
- package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +8 -12
- package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +0 -1
- package/dist/features/core/modules/runtime/operation/operation-history.d.ts +6 -2
- package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +12 -4
- package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +21 -7
- package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +3 -1
- package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +6 -2
- package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +0 -3
- package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +0 -1
- package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +0 -1
- package/dist/features/core/modules/source/EndgeSource_Module.d.ts +81 -27
- package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +0 -42
- package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +0 -7
- package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +0 -1
- package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +0 -12
- package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +0 -10
- package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +0 -42
- package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +0 -1
- package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +0 -6
- package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +0 -81
- package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +0 -19
- package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +0 -3
- package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +0 -4
- package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +0 -11
- package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +0 -2
- package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +3 -1
- package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +0 -4
- package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +0 -4
- package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +0 -1
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-activation.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +0 -2
- package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/document-metadata.d.ts +0 -2
- package/dist/features/core/modules/source/services/filter-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +0 -7
- package/dist/features/core/modules/source/services/query-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/source-document-reference.d.ts +0 -9
- package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +0 -2
- package/dist/features/core/modules/source/services/source-language-syntax.d.ts +0 -1
- package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +15 -5
- package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +15 -5
- package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/type-source-references.d.ts +0 -4
- package/dist/features/core/modules/source/services/type-source-serialize.d.ts +0 -2
- package/dist/features/core/modules/source/services/typescript-type-source.d.ts +0 -2
- package/dist/features/core/modules/source/services/value-expression-language.d.ts +0 -1
- package/dist/features/core/modules/source/services/value-expression-operations.d.ts +0 -1
- package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/filter.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/query.default.source.d.ts +0 -2
- package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/type.default.source.d.ts +0 -1
- package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +12 -4
- package/dist/features/core/modules/styles/domain/types/style.types.d.ts +0 -7
- package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +3 -1
- package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +18 -6
- package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +0 -9
- package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +0 -8
- package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +39 -13
- package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +0 -2
- package/dist/features/core/modules/ui/ui-composition.config.d.ts +0 -1
- package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +3 -1
- package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +97 -34
- package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +0 -3
- package/dist/features/federation/EndgeFederation.d.ts +33 -11
- package/dist/features/federation/EndgeModule.d.ts +0 -1
- package/dist/features/federation/constants/federation.constants.d.ts +0 -1
- package/dist/features/federation/services/EndgeModuleController.d.ts +0 -2
- package/dist/features/federation/tools/endge-token.d.ts +0 -1
- package/dist/features/federation/types/endge-modules.types.d.ts +0 -5
- package/dist/features/federation/types/federation.types.d.ts +0 -12
- package/dist/features/federation/types/forge.types.d.ts +0 -6
- package/package.json +8 -3
- package/dist/features/core/modules/runtime/helpers/raph-phases/endge-runtime-boundary.d.ts +0 -13
|
@@ -4,7 +4,9 @@ import { DiagnosticsSnapshot, DiagnosticsSnapshotOptions } from './domain/types/
|
|
|
4
4
|
import { EndgeProblems_Module } from './EndgeProblems_Module';
|
|
5
5
|
import { EndgeTelemetry_Module } from './EndgeTelemetry_Module';
|
|
6
6
|
import { EndgeModule } from '../../../federation/EndgeModule';
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Владелец создания, доставки, скачивания и trigger policies диагностических snapshots.
|
|
9
|
+
*/
|
|
8
10
|
export declare class EndgeDiagnosticsSnapshots_Module extends EndgeModule<EndgeBootContext> {
|
|
9
11
|
private readonly _telemetry;
|
|
10
12
|
private readonly _problems;
|
|
@@ -15,38 +17,72 @@ export declare class EndgeDiagnosticsSnapshots_Module extends EndgeModule<EndgeB
|
|
|
15
17
|
private _unsubscribeShortcut;
|
|
16
18
|
private _shortcutMatcher;
|
|
17
19
|
private _started;
|
|
18
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* Создаёт snapshots owner поверх telemetry, problems и platform adapter.
|
|
22
|
+
*/
|
|
19
23
|
constructor(_telemetry: EndgeTelemetry_Module, _problems: EndgeProblems_Module, _runtimeAdapter?: DiagnosticsSnapshotRuntimeAdapter);
|
|
20
|
-
/**
|
|
24
|
+
/**
|
|
25
|
+
* Восстанавливает internal policy subscriptions после telemetry build/reset.
|
|
26
|
+
*/
|
|
21
27
|
build(_ctx: EndgeBootContext): void;
|
|
22
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Включает глобальную shortcut subscription только в live lifecycle.
|
|
30
|
+
*/
|
|
23
31
|
start(_ctx: EndgeBootContext): void;
|
|
24
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* Освобождает live subscriptions и transient policy state.
|
|
34
|
+
*/
|
|
25
35
|
reset(): void;
|
|
26
|
-
/**
|
|
36
|
+
/**
|
|
37
|
+
* Синхронизирует subscriptions после применения новой effective configuration.
|
|
38
|
+
*/
|
|
27
39
|
configure(): void;
|
|
28
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* Возвращает JSON-safe snapshot выбранных частей текущего состояния Core.
|
|
42
|
+
*/
|
|
29
43
|
snapshot(options?: DiagnosticsSnapshotOptions): DiagnosticsSnapshot;
|
|
30
|
-
/**
|
|
44
|
+
/**
|
|
45
|
+
* Создаёт snapshot и доставляет его в выбранные configured outputs.
|
|
46
|
+
*/
|
|
31
47
|
sendSnapshot(outputIds?: readonly string[], options?: DiagnosticsSnapshotOptions): DiagnosticsSnapshot;
|
|
32
|
-
/**
|
|
48
|
+
/**
|
|
49
|
+
* Создаёт snapshot и сохраняет его platform adapter-ом в JSON-файл.
|
|
50
|
+
*/
|
|
33
51
|
downloadSnapshot(options?: DiagnosticsSnapshotOptions): DiagnosticsSnapshot;
|
|
34
|
-
/**
|
|
52
|
+
/**
|
|
53
|
+
* Восстанавливает внутреннюю подписку на ERROR/FATAL records после configure.
|
|
54
|
+
*/
|
|
35
55
|
private _subscribeAutomaticSnapshots;
|
|
36
|
-
/**
|
|
56
|
+
/**
|
|
57
|
+
* Пересоздаёт live shortcut subscription по effective trigger activation.
|
|
58
|
+
*/
|
|
37
59
|
private _syncShortcutSubscription;
|
|
38
|
-
/**
|
|
60
|
+
/**
|
|
61
|
+
* Читает одну часть snapshot из её state owner и локализует возможный сбой.
|
|
62
|
+
*/
|
|
39
63
|
private _captureSection;
|
|
40
|
-
/**
|
|
64
|
+
/**
|
|
65
|
+
* Сохраняет прежние top-level поля, получая их из нового дерева владельцев.
|
|
66
|
+
*/
|
|
41
67
|
private _federationOwnerSections;
|
|
42
|
-
/**
|
|
68
|
+
/**
|
|
69
|
+
* Применяет существующие content toggles к тяжёлым Core Modules до чтения их состояния.
|
|
70
|
+
*/
|
|
43
71
|
private _federationOptions;
|
|
44
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* Переносит snapshot Core Module в совместимое top-level поле без повторного сбора.
|
|
74
|
+
*/
|
|
45
75
|
private _takeModuleSnapshot;
|
|
46
|
-
/**
|
|
76
|
+
/**
|
|
77
|
+
* Показывает, что состояние Diagnostics Module представлено корневыми полями файла.
|
|
78
|
+
*/
|
|
47
79
|
private _referenceDiagnosticsModule;
|
|
48
|
-
/**
|
|
80
|
+
/**
|
|
81
|
+
* Применяет sliding window и cooldown политики автоматического snapshot.
|
|
82
|
+
*/
|
|
49
83
|
private _handleAutomaticSnapshotRecord;
|
|
50
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Переводит persisted content policy в публичные snapshot options.
|
|
86
|
+
*/
|
|
51
87
|
private _snapshotOptions;
|
|
52
88
|
}
|
|
@@ -11,92 +11,148 @@ import { EndgeModule } from '../../../federation/EndgeModule';
|
|
|
11
11
|
* Объединяет telemetry history, актуальные problems и lifecycle snapshots policy.
|
|
12
12
|
*/
|
|
13
13
|
export declare class EndgeDiagnostics_Module extends EndgeModule<EndgeBootContext> {
|
|
14
|
-
/** Registry системных и внешних adapter factories. */
|
|
15
14
|
readonly adapters: DiagnosticsAdapterRegistry;
|
|
16
|
-
/** Подмодуль logs, traces, adapters и external delivery. */
|
|
17
15
|
readonly telemetry: EndgeTelemetry_Module;
|
|
18
|
-
/** Подмодуль актуальных authoring/build/runtime problems. */
|
|
19
16
|
readonly problems: EndgeProblems_Module;
|
|
20
|
-
/** Подмодуль создания, доставки и browser download диагностических snapshots. */
|
|
21
17
|
readonly snapshots: EndgeDiagnosticsSnapshots_Module;
|
|
22
18
|
/**
|
|
23
|
-
*
|
|
24
|
-
* PUBLIC
|
|
25
|
-
* ----------------------------------------
|
|
19
|
+
* Связывает независимые уведомления подмодулей с родительским diagnostics-модулем.
|
|
26
20
|
*/
|
|
27
|
-
/** Связывает независимые уведомления подмодулей с родительским diagnostics-модулем. */
|
|
28
21
|
constructor();
|
|
29
|
-
/**
|
|
22
|
+
/**
|
|
23
|
+
* Передаёт setup lifecycle подмодулям в порядке их зависимостей.
|
|
24
|
+
*/
|
|
30
25
|
setup(ctx: EndgeBootContext): Promise<void>;
|
|
31
|
-
/**
|
|
26
|
+
/**
|
|
27
|
+
* Передаёт load lifecycle подмодулям в порядке их зависимостей.
|
|
28
|
+
*/
|
|
32
29
|
load(ctx: EndgeBootContext): Promise<void>;
|
|
33
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* Передаёт build lifecycle подмодулям в порядке их зависимостей.
|
|
32
|
+
*/
|
|
34
33
|
build(ctx: EndgeBootContext): Promise<void>;
|
|
35
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Передаёт start lifecycle подмодулям в порядке их зависимостей.
|
|
36
|
+
*/
|
|
36
37
|
start(ctx: EndgeBootContext): Promise<void>;
|
|
37
|
-
/**
|
|
38
|
+
/**
|
|
39
|
+
* Сбрасывает подмодули в обратном порядке их запуска.
|
|
40
|
+
*/
|
|
38
41
|
reset(): Promise<void>;
|
|
39
|
-
/**
|
|
42
|
+
/**
|
|
43
|
+
* Применяет telemetry, outputs, routes и snapshots configuration.
|
|
44
|
+
*/
|
|
40
45
|
configure(configuration: EndgeDiagnosticsConfiguration, resource?: DiagnosticsResource): void;
|
|
41
|
-
/**
|
|
46
|
+
/**
|
|
47
|
+
* Записывает один structured log через telemetry-подмодуль.
|
|
48
|
+
*/
|
|
42
49
|
log(input: DiagnosticsLogInput): DiagnosticsLogRecord | null;
|
|
43
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Записывает log уровня TRACE.
|
|
52
|
+
*/
|
|
44
53
|
trace(body: string, options?: DiagnosticsLogOptions): DiagnosticsLogRecord | null;
|
|
45
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Записывает log уровня DEBUG.
|
|
56
|
+
*/
|
|
46
57
|
debug(body: string, options?: DiagnosticsLogOptions): DiagnosticsLogRecord | null;
|
|
47
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Записывает log уровня INFO.
|
|
60
|
+
*/
|
|
48
61
|
info(body: string, options?: DiagnosticsLogOptions): DiagnosticsLogRecord | null;
|
|
49
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* Записывает log уровня WARN.
|
|
64
|
+
*/
|
|
50
65
|
warn(body: string, options?: DiagnosticsLogOptions): DiagnosticsLogRecord | null;
|
|
51
|
-
/**
|
|
66
|
+
/**
|
|
67
|
+
* Записывает log уровня ERROR.
|
|
68
|
+
*/
|
|
52
69
|
error(body: string, options?: DiagnosticsLogOptions): DiagnosticsLogRecord | null;
|
|
53
|
-
/**
|
|
70
|
+
/**
|
|
71
|
+
* Записывает log уровня FATAL без автоматической остановки runtime.
|
|
72
|
+
*/
|
|
54
73
|
fatal(body: string, options?: DiagnosticsLogOptions): DiagnosticsLogRecord | null;
|
|
55
|
-
/**
|
|
74
|
+
/**
|
|
75
|
+
* Нормализует exception и записывает его в telemetry history.
|
|
76
|
+
*/
|
|
56
77
|
recordException(error: unknown, options?: DiagnosticsExceptionOptions): DiagnosticsLogRecord | null;
|
|
57
|
-
/**
|
|
78
|
+
/**
|
|
79
|
+
* Создаёт root или child span через telemetry-подмодуль.
|
|
80
|
+
*/
|
|
58
81
|
startSpan(name: string, options?: DiagnosticsSpanOptions): DiagnosticsSpanHandle;
|
|
59
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* Завершает span, созданный через низкоуровневый DiagnosticsSpanOwner contract.
|
|
84
|
+
*/
|
|
60
85
|
finishSpan(input: Parameters<EndgeTelemetry_Module['finishSpan']>[0]): DiagnosticsSpanRecord | null;
|
|
61
|
-
/**
|
|
86
|
+
/**
|
|
87
|
+
* Подписывает listener на любое изменение родительского diagnostics-модуля.
|
|
88
|
+
*/
|
|
62
89
|
subscribe(listener: () => void): () => void;
|
|
63
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Подписывает listener на отфильтрованный telemetry stream.
|
|
92
|
+
*/
|
|
64
93
|
subscribe(filter: DiagnosticsFilter, listener: DiagnosticsListener, options?: DiagnosticsSubscribeOptions): () => void;
|
|
65
|
-
/**
|
|
94
|
+
/**
|
|
95
|
+
* Возвращает telemetry records, соответствующие фильтру.
|
|
96
|
+
*/
|
|
66
97
|
query(filter?: DiagnosticsFilter): readonly DiagnosticsRecord[];
|
|
67
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Возвращает JSON-safe snapshot telemetry, problems и optional configuration.
|
|
100
|
+
*/
|
|
68
101
|
snapshot(options?: DiagnosticsSnapshotOptions): DiagnosticsSnapshot;
|
|
69
|
-
/**
|
|
102
|
+
/**
|
|
103
|
+
* Включает snapshots собственных submodules без рекурсивного запуска общего сборщика.
|
|
104
|
+
*/
|
|
70
105
|
createDiagnosticsSnapshot(): unknown;
|
|
71
|
-
/**
|
|
106
|
+
/**
|
|
107
|
+
* Создаёт snapshot и доставляет его в выбранные configured outputs.
|
|
108
|
+
*/
|
|
72
109
|
sendSnapshot(outputIds?: readonly string[], options?: DiagnosticsSnapshotOptions): DiagnosticsSnapshot;
|
|
73
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* Создаёт snapshot и сохраняет его в JSON-файл через platform adapter.
|
|
112
|
+
*/
|
|
74
113
|
downloadSnapshot(options?: DiagnosticsSnapshotOptions): DiagnosticsSnapshot;
|
|
75
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Возвращает telemetry counters текущей session.
|
|
116
|
+
*/
|
|
76
117
|
getCounters(): ReturnType<EndgeTelemetry_Module['getCounters']>;
|
|
77
|
-
/**
|
|
118
|
+
/**
|
|
119
|
+
* Очищает только telemetry history, не затрагивая актуальные problems.
|
|
120
|
+
*/
|
|
78
121
|
clear(): void;
|
|
79
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Регистрирует provider общих telemetry attributes.
|
|
124
|
+
*/
|
|
80
125
|
registerContextProvider(id: string, provider: DiagnosticsContextProvider): () => void;
|
|
81
|
-
/**
|
|
126
|
+
/**
|
|
127
|
+
* Регистрирует adapter внешней telemetry delivery.
|
|
128
|
+
*/
|
|
82
129
|
registerAdapter(adapter: DiagnosticsAdapter): () => void;
|
|
83
|
-
/**
|
|
130
|
+
/**
|
|
131
|
+
* Регистрирует внешний тип adapter и возвращает функцию удаления factory.
|
|
132
|
+
*/
|
|
84
133
|
registerAdapterFactory(factory: DiagnosticsAdapterFactory): () => void;
|
|
85
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* Проверяет configured output через созданный runtime adapter.
|
|
136
|
+
*/
|
|
86
137
|
testOutput(outputId: string): Promise<boolean>;
|
|
87
|
-
/**
|
|
138
|
+
/**
|
|
139
|
+
* Отключает telemetry adapter и освобождает его ресурсы.
|
|
140
|
+
*/
|
|
88
141
|
unregisterAdapter(adapterId: string): Promise<void>;
|
|
89
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* Выполняет best-effort flush всех telemetry adapters.
|
|
144
|
+
*/
|
|
90
145
|
flush(): Promise<DiagnosticsFlushResult>;
|
|
91
146
|
/**
|
|
92
|
-
*
|
|
93
|
-
* ACCESS
|
|
94
|
-
* ----------------------------------------
|
|
147
|
+
* Возвращает идентификатор текущей telemetry session.
|
|
95
148
|
*/
|
|
96
|
-
/** Возвращает идентификатор текущей telemetry session. */
|
|
97
149
|
get sessionId(): string;
|
|
98
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* Возвращает effective telemetry configuration.
|
|
152
|
+
*/
|
|
99
153
|
get configuration(): EndgeDiagnosticsConfiguration;
|
|
100
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* Возвращает resource текущей telemetry session.
|
|
156
|
+
*/
|
|
101
157
|
get resource(): DiagnosticsResource;
|
|
102
158
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DiagnosticsEntityRef, DiagnosticsProblem, DiagnosticsProblemFilter, DiagnosticsProblemInput, DiagnosticsProblemOwner, DiagnosticsProblemsSnapshot } from './domain/types/diagnostics.types';
|
|
2
2
|
import { EndgeModule } from '../../../federation/EndgeModule';
|
|
3
|
-
/** Создаёт стабильного owner для проблем одной доменной сущности и фазы. */
|
|
4
3
|
export declare function createDiagnosticsEntityOwner(entityRef: DiagnosticsEntityRef, phase?: DiagnosticsProblemOwner['phase']): DiagnosticsProblemOwner;
|
|
5
4
|
/**
|
|
6
5
|
* Replaceable registry актуальных проблем Endge.
|
|
@@ -9,30 +8,56 @@ export declare function createDiagnosticsEntityOwner(entityRef: DiagnosticsEntit
|
|
|
9
8
|
export declare class EndgeProblems_Module extends EndgeModule {
|
|
10
9
|
private readonly _problemsByOwner;
|
|
11
10
|
private _revision;
|
|
12
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Возвращает монотонную версию текущего problem state.
|
|
13
|
+
*/
|
|
13
14
|
get revision(): number;
|
|
14
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Полностью заменяет набор проблем owner и удаляет его при пустом результате.
|
|
17
|
+
*/
|
|
15
18
|
replace(owner: DiagnosticsProblemOwner, inputs: readonly DiagnosticsProblemInput[]): readonly DiagnosticsProblem[];
|
|
16
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* Добавляет или заменяет одну persistent-проблему без изменения остальных проблем owner.
|
|
21
|
+
*/
|
|
17
22
|
upsert(owner: DiagnosticsProblemOwner, input: DiagnosticsProblemInput): DiagnosticsProblem;
|
|
18
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Удаляет одну проблему owner по её локальному key.
|
|
25
|
+
*/
|
|
19
26
|
resolve(ownerKey: string, problemKey: string): boolean;
|
|
20
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Возвращает immutable snapshot проблем, соответствующих фильтру.
|
|
29
|
+
*/
|
|
21
30
|
query(filter?: DiagnosticsProblemFilter): readonly DiagnosticsProblem[];
|
|
22
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Очищает весь registry или только проблемы, соответствующие фильтру.
|
|
33
|
+
*/
|
|
23
34
|
clear(filter?: DiagnosticsProblemFilter): void;
|
|
24
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Возвращает сериализуемый snapshot текущих актуальных проблем.
|
|
37
|
+
*/
|
|
25
38
|
snapshot(filter?: DiagnosticsProblemFilter): DiagnosticsProblemsSnapshot;
|
|
26
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Полностью сбрасывает problem state для следующего boot lifecycle.
|
|
41
|
+
*/
|
|
27
42
|
reset(): void;
|
|
28
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Проверяет проблему по фильтру registry.
|
|
45
|
+
*/
|
|
29
46
|
private _matches;
|
|
30
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Нормализует owner и запрещает неадресуемые наборы проблем.
|
|
49
|
+
*/
|
|
31
50
|
private _normalizeOwner;
|
|
32
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Нормализует и замораживает одну проблему перед публикацией.
|
|
53
|
+
*/
|
|
33
54
|
private _normalizeProblem;
|
|
34
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Клонирует плоские attributes без передачи mutable arrays наружу.
|
|
57
|
+
*/
|
|
35
58
|
private _cloneAttributes;
|
|
36
|
-
/**
|
|
59
|
+
/**
|
|
60
|
+
* Обновляет revision и уведомляет подписчиков об изменении problem state.
|
|
61
|
+
*/
|
|
37
62
|
private _touch;
|
|
38
63
|
}
|