@endge/core 1.0.0-dev
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 +124692 -0
- package/dist/features/core/kernel/config/debugger.config.d.ts +2 -0
- package/dist/features/core/kernel/config/kernel.config.d.ts +29 -0
- package/dist/features/core/kernel/config/modules.config.d.ts +145 -0
- package/dist/features/core/kernel/constants/kernel.constants.d.ts +8 -0
- package/dist/features/core/kernel/endge.d.ts +149 -0
- package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +7 -0
- package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +15 -0
- package/dist/features/core/kernel/tools/bundle-json.d.ts +5 -0
- package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +12 -0
- package/dist/features/core/kernel/tools/read-only-document.d.ts +1 -0
- package/dist/features/core/kernel/types/bootstrap.types.d.ts +32 -0
- package/dist/features/core/kernel/types/endge-bundle.types.d.ts +12 -0
- package/dist/features/core/modules/EndgeTypes_Module.d.ts +14 -0
- package/dist/features/core/modules/EndgeVocabs_Module.d.ts +178 -0
- package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +107 -0
- package/dist/features/core/modules/actions/domain/action.types.d.ts +177 -0
- package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +36 -0
- package/dist/features/core/modules/actions/services/table-actions.d.ts +2 -0
- package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +57 -0
- package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +16 -0
- package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +16 -0
- package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +10 -0
- package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +13 -0
- package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +10 -0
- package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +50 -0
- package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +8 -0
- package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +175 -0
- package/dist/features/core/modules/auth/domain/types/auth-runtime.types.d.ts +12 -0
- package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +23 -0
- package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +48 -0
- package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +22 -0
- package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +99 -0
- package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +34 -0
- package/dist/features/core/modules/auth/services/auth-context.d.ts +11 -0
- package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +62 -0
- package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +20 -0
- package/dist/features/core/modules/bridge/config/bridge.config.d.ts +38 -0
- package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +28 -0
- package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +145 -0
- package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +27 -0
- package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +75 -0
- package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +41 -0
- package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +10 -0
- package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +25 -0
- package/dist/features/core/modules/commands/config/commands.config.d.ts +6 -0
- package/dist/features/core/modules/commands/domain/commands.types.d.ts +36 -0
- package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +13 -0
- package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +13 -0
- package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/tools/command-payload.d.ts +2 -0
- package/dist/features/core/modules/commands/types/command-executor.type.d.ts +15 -0
- package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +11 -0
- package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +4 -0
- package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +375 -0
- package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +10 -0
- package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +8 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +6 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +34 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +37 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +16 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +10 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +9 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +20 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +22 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +11 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +15 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +24 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +28 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +27 -0
- package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +17 -0
- package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +11 -0
- package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +4 -0
- package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +80 -0
- package/dist/features/core/modules/computations/model/ComputationResource.d.ts +41 -0
- package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +27 -0
- package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +30 -0
- package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +28 -0
- package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +59 -0
- package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +18 -0
- package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +8 -0
- package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +2 -0
- package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +158 -0
- package/dist/features/core/modules/context/EndgeContext_Module.d.ts +311 -0
- package/dist/features/core/modules/context/domain/context-events.types.d.ts +7 -0
- package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +80 -0
- package/dist/features/core/modules/context/domain/context-state.types.d.ts +7 -0
- package/dist/features/core/modules/context/endge-vars.d.ts +89 -0
- package/dist/features/core/modules/context/persistence/EndgeStorageAdapterRegistry.d.ts +9 -0
- package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +28 -0
- package/dist/features/core/modules/context/persistence/adapters/DisabledContextAdapter.d.ts +8 -0
- package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +12 -0
- package/dist/features/core/modules/context/persistence/context-state.d.ts +7 -0
- package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +39 -0
- package/dist/features/core/modules/converters/tools/arrays/split.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +1 -0
- package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +88 -0
- package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +158 -0
- package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +63 -0
- package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +280 -0
- package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +15 -0
- package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +39 -0
- package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +33 -0
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +115 -0
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +11 -0
- package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +3 -0
- package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +6 -0
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +92 -0
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +45 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +39 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +13 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +296 -0
- package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +36 -0
- package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +65 -0
- package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +20 -0
- package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +11 -0
- package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +11 -0
- package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +1202 -0
- package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +48 -0
- package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +5 -0
- package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +2 -0
- package/dist/features/core/modules/domain/component/table.d.ts +4 -0
- package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +95 -0
- package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +6 -0
- package/dist/features/core/modules/domain/entities/RAction.d.ts +22 -0
- package/dist/features/core/modules/domain/entities/RAuthProfile.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RComponent.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +16 -0
- package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +30 -0
- package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +7 -0
- package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +41 -0
- package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +40 -0
- package/dist/features/core/modules/domain/entities/RComposition.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RComputation.d.ts +19 -0
- package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RConverter.d.ts +15 -0
- package/dist/features/core/modules/domain/entities/RDataView.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/REntity.d.ts +48 -0
- package/dist/features/core/modules/domain/entities/RFacet.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RField.d.ts +9 -0
- package/dist/features/core/modules/domain/entities/RFilter.d.ts +11 -0
- package/dist/features/core/modules/domain/entities/RFolder.d.ts +24 -0
- package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RIntegration.d.ts +17 -0
- package/dist/features/core/modules/domain/entities/RMock.d.ts +30 -0
- package/dist/features/core/modules/domain/entities/RNavigation.d.ts +27 -0
- package/dist/features/core/modules/domain/entities/RPage.d.ts +45 -0
- package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +35 -0
- package/dist/features/core/modules/domain/entities/RPolicy.d.ts +9 -0
- package/dist/features/core/modules/domain/entities/RQuery.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RSimulation.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStore.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStream.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStyle.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RType.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/RUpdate.d.ts +11 -0
- package/dist/features/core/modules/domain/entities/RVersion.d.ts +29 -0
- package/dist/features/core/modules/domain/entities/RVocabs.d.ts +31 -0
- package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +17 -0
- package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +16 -0
- package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +50 -0
- package/dist/features/core/modules/domain/types/component/component.types.d.ts +11 -0
- package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +86 -0
- package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +51 -0
- package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +51 -0
- package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +44 -0
- package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +269 -0
- package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +8 -0
- package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +19 -0
- package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +40 -0
- package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +253 -0
- package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +18 -0
- package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +15 -0
- package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +88 -0
- package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +5 -0
- package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +140 -0
- package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +211 -0
- package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +311 -0
- package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +35 -0
- package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +46 -0
- package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +30 -0
- package/dist/features/core/modules/domain/types/computation/computation.types.d.ts +3 -0
- package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +16 -0
- package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +5 -0
- package/dist/features/core/modules/domain/types/document/document-identity.types.d.ts +28 -0
- package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +36 -0
- package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +5 -0
- package/dist/features/core/modules/domain/types/document/document.types.d.ts +76 -0
- package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +73 -0
- package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +140 -0
- package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +34 -0
- package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +28 -0
- package/dist/features/core/modules/domain/types/document/filter.types.d.ts +32 -0
- package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +34 -0
- package/dist/features/core/modules/domain/types/document/query.types.d.ts +9 -0
- package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +126 -0
- package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +9 -0
- package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +26 -0
- package/dist/features/core/modules/events/domain/events.types.d.ts +48 -0
- package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +110 -0
- package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +20 -0
- package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +15 -0
- package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +7 -0
- package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +2 -0
- package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +44 -0
- package/dist/features/core/modules/implementations/domain/implementation.types.d.ts +59 -0
- package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +11 -0
- package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +11 -0
- package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +92 -0
- package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +40 -0
- package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +11 -0
- package/dist/features/core/modules/inspection/types/inspection.types.d.ts +72 -0
- package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +49 -0
- package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +31 -0
- package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +181 -0
- package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +9 -0
- package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +71 -0
- package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +15 -0
- package/dist/features/core/modules/program/domain/types/program.types.d.ts +186 -0
- package/dist/features/core/modules/program/tools/execution-bundle.d.ts +4 -0
- package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +2 -0
- package/dist/features/core/modules/program/tools/restore-program-source.d.ts +2 -0
- package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +48 -0
- package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +34 -0
- package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +262 -0
- package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +20 -0
- package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +74 -0
- package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +23 -0
- package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +109 -0
- package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +13 -0
- package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +32 -0
- package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +14 -0
- package/dist/features/core/modules/runtime/RuntimeScope.d.ts +60 -0
- package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +74 -0
- package/dist/features/core/modules/runtime/domain/EndgeActionJsonScript.d.ts +2 -0
- package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +7 -0
- package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +12 -0
- package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +6 -0
- package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +21 -0
- package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +18 -0
- package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +268 -0
- package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +26 -0
- package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +23 -0
- package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +25 -0
- package/dist/features/core/modules/runtime/domain/runtime-resource.types.d.ts +15 -0
- package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +43 -0
- package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +22 -0
- package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +73 -0
- package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +42 -0
- package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +21 -0
- package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +18 -0
- package/dist/features/core/modules/runtime/domain/table-binding.types.d.ts +7 -0
- package/dist/features/core/modules/runtime/domain/table.types.d.ts +4 -0
- package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +24 -0
- package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +13 -0
- package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +107 -0
- package/dist/features/core/modules/runtime/execution/endge-query.d.ts +30 -0
- package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +4 -0
- package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +7 -0
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +23 -0
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +16 -0
- package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +26 -0
- package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +225 -0
- package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +225 -0
- package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +52 -0
- package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +76 -0
- package/dist/features/core/modules/runtime/hosts/PageRuntimeHost.d.ts +22 -0
- package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +71 -0
- package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +60 -0
- package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +80 -0
- package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +48 -0
- package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +29 -0
- package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +16 -0
- package/dist/features/core/modules/runtime/operation/operation-history.d.ts +65 -0
- package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +19 -0
- package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +43 -0
- package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +13 -0
- package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +4 -0
- package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +3 -0
- package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +13 -0
- package/dist/features/core/modules/runtime/services/strategies/ActionRuntimeStrategy.d.ts +8 -0
- package/dist/features/core/modules/runtime/services/strategies/ComponentSFCRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/CompositionRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/FilterRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/PageRuntimeStrategy.d.ts +8 -0
- package/dist/features/core/modules/runtime/services/strategies/QueryRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/SimulationRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/StoreRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/StreamRuntimeStrategy.d.ts +12 -0
- package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +11 -0
- package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +10 -0
- package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +7 -0
- package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +5 -0
- package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +3 -0
- package/dist/features/core/modules/source/EndgeSource_Module.d.ts +115 -0
- package/dist/features/core/modules/source/domain/types/action-source.types.d.ts +40 -0
- package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +390 -0
- package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +46 -0
- package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +127 -0
- package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +94 -0
- package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +35 -0
- package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +78 -0
- package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +9 -0
- package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +67 -0
- package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +166 -0
- package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +94 -0
- package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +44 -0
- package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +52 -0
- package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +73 -0
- package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +41 -0
- package/dist/features/core/modules/source/domain/types/vocab-source.types.d.ts +37 -0
- package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +36 -0
- package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +18 -0
- package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +3 -0
- package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +3 -0
- package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +12 -0
- package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +13 -0
- package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +13 -0
- package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +14 -0
- package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +7 -0
- package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/vocab-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-ports-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +2 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +2 -0
- package/dist/features/core/modules/source/services/composition-activation.d.ts +2 -0
- package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +3 -0
- package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +1 -0
- package/dist/features/core/modules/source/services/composition-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +14 -0
- package/dist/features/core/modules/source/services/document-metadata.d.ts +5 -0
- package/dist/features/core/modules/source/services/filter-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +10 -0
- package/dist/features/core/modules/source/services/query-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/services/source-document-reference.d.ts +14 -0
- package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +3 -0
- package/dist/features/core/modules/source/services/source-language-syntax.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/ActionSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ActionSourceLanguageStrategy.d.ts +23 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourceLanguageStrategy.d.ts +14 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +21 -0
- package/dist/features/core/modules/source/services/strategies/ComputationSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ComputationSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/ConfigurationSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ConfigurationSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +20 -0
- package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +27 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +20 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +27 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +21 -0
- package/dist/features/core/modules/source/services/strategies/SimulationSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/SimulationSourceLanguageStrategy.d.ts +14 -0
- package/dist/features/core/modules/source/services/strategies/StoreSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StoreSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/StreamSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StreamSourceLanguageStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/StyleSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StyleSourceLanguageStrategy.d.ts +43 -0
- package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/TypeSourceLanguageStrategy.d.ts +13 -0
- package/dist/features/core/modules/source/services/strategies/UpdateSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/UpdateSourceLanguageStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourceEngineStrategy.d.ts +8 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourceLanguageStrategy.d.ts +11 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourcePatchStrategy.d.ts +9 -0
- package/dist/features/core/modules/source/services/type-source-references.d.ts +10 -0
- package/dist/features/core/modules/source/services/type-source-serialize.d.ts +4 -0
- package/dist/features/core/modules/source/services/typescript-type-source.d.ts +16 -0
- package/dist/features/core/modules/source/services/value-expression-language.d.ts +4 -0
- package/dist/features/core/modules/source/services/value-expression-operations.d.ts +9 -0
- package/dist/features/core/modules/source/services/vocab-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/templates/action.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/composition.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/computation.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/data-view.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/filter.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/query.default.source.d.ts +2 -0
- package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/store.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/stream.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/type.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/update.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/vocab.default.source.d.ts +1 -0
- package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +34 -0
- package/dist/features/core/modules/styles/domain/types/style.types.d.ts +195 -0
- package/dist/features/core/modules/styles/services/endgecss-compile.d.ts +4 -0
- package/dist/features/core/modules/styles/services/endgecss-match.d.ts +5 -0
- package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +130 -0
- package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +108 -0
- package/dist/features/core/modules/ui/domain/types/context-menu.types.d.ts +20 -0
- package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +7 -0
- package/dist/features/core/modules/ui/domain/types/tooltip-markdown.types.d.ts +32 -0
- package/dist/features/core/modules/ui/domain/types/ui-composition.types.d.ts +167 -0
- package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +29 -0
- package/dist/features/core/modules/ui/domain/types/ui.types.d.ts +17 -0
- package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +58 -0
- package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +3 -0
- package/dist/features/core/modules/ui/ui-composition.config.d.ts +523 -0
- package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +14 -0
- package/dist/features/core/modules/updates/tools/ScheduleUpdate-sse-generator.d.ts +9 -0
- package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +145 -0
- package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +30 -0
- package/dist/features/federation/EndgeFederation.d.ts +133 -0
- package/dist/features/federation/EndgeModule.d.ts +58 -0
- package/dist/features/federation/constants/federation.constants.d.ts +1 -0
- package/dist/features/federation/services/EndgeModuleController.d.ts +16 -0
- package/dist/features/federation/services/EndgeSlotRegistry.d.ts +14 -0
- package/dist/features/federation/tools/endge-token.d.ts +2 -0
- package/dist/features/federation/tools/sort-endge-modules.d.ts +9 -0
- package/dist/features/federation/types/endge-modules.types.d.ts +28 -0
- package/dist/features/federation/types/federation.types.d.ts +112 -0
- package/dist/features/federation/types/forge.types.d.ts +23 -0
- package/dist/main.d.ts +288 -0
- package/package.json +77 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeStrategy } from '../../domain/runtime-strategy.types';
|
|
2
|
+
import { RFilter } from '../../../domain/entities/RFilter';
|
|
3
|
+
import { FilterRuntimeHost } from '../../hosts/FilterRuntimeHost';
|
|
4
|
+
export declare class FilterRuntimeStrategy implements RuntimeStrategy<RFilter, FilterRuntimeHost> {
|
|
5
|
+
readonly id = "runtime:filter";
|
|
6
|
+
readonly entityType: "filter";
|
|
7
|
+
supports(model: unknown): model is RFilter;
|
|
8
|
+
create(ctx: Parameters<RuntimeStrategy<RFilter, FilterRuntimeHost>['create']>[0]): FilterRuntimeHost | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RuntimeStrategy } from '../../domain/runtime-strategy.types';
|
|
2
|
+
import { RPage } from '../../../domain/entities/RPage';
|
|
3
|
+
export declare class PageRuntimeStrategy implements RuntimeStrategy<RPage> {
|
|
4
|
+
readonly id = "runtime:page";
|
|
5
|
+
readonly entityType = "page";
|
|
6
|
+
supports(model: unknown): model is RPage;
|
|
7
|
+
create(ctx: Parameters<RuntimeStrategy<RPage>['create']>[0]): import('../../domain/runtime-host.types').RuntimeHost<"page", import('../../domain/runtime-host.types').PageRuntimeHostContext, unknown>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeStrategy } from '../../domain/runtime-strategy.types';
|
|
2
|
+
import { RQuery } from '../../../domain/entities/RQuery';
|
|
3
|
+
import { QueryRuntimeHost } from '../../hosts/QueryRuntimeHost';
|
|
4
|
+
export declare class QueryRuntimeStrategy implements RuntimeStrategy<RQuery, QueryRuntimeHost> {
|
|
5
|
+
readonly id = "runtime:query";
|
|
6
|
+
readonly entityType = "query";
|
|
7
|
+
supports(model: unknown): model is RQuery;
|
|
8
|
+
create(ctx: Parameters<RuntimeStrategy<RQuery>['create']>[0]): QueryRuntimeHost | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeStrategy } from '../../domain/runtime-strategy.types';
|
|
2
|
+
import { RSimulation } from '../../../domain/entities/RSimulation';
|
|
3
|
+
import { SimulationRuntimeHost } from '../../hosts/SimulationRuntimeHost';
|
|
4
|
+
export declare class SimulationRuntimeStrategy implements RuntimeStrategy<RSimulation, SimulationRuntimeHost> {
|
|
5
|
+
readonly id = "runtime:simulation";
|
|
6
|
+
readonly entityType: "simulation";
|
|
7
|
+
supports(model: unknown): model is RSimulation;
|
|
8
|
+
create(context: Parameters<RuntimeStrategy<RSimulation, SimulationRuntimeHost>['create']>[0]): SimulationRuntimeHost | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RuntimeStrategy } from '../../domain/runtime-strategy.types';
|
|
2
|
+
import { RStore } from '../../../domain/entities/RStore';
|
|
3
|
+
import { StoreRuntimeHost } from '../../hosts/StoreRuntimeHost';
|
|
4
|
+
export declare class StoreRuntimeStrategy implements RuntimeStrategy<RStore, StoreRuntimeHost> {
|
|
5
|
+
readonly id = "runtime:store";
|
|
6
|
+
readonly entityType: "store";
|
|
7
|
+
supports(model: unknown): model is RStore;
|
|
8
|
+
create(ctx: Parameters<RuntimeStrategy<RStore, StoreRuntimeHost>['create']>[0]): StoreRuntimeHost | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RuntimeStrategy } from '../../domain/runtime-strategy.types';
|
|
2
|
+
import { ResolveAuthSession } from '../transports/BrowserSseStreamTransportFactory';
|
|
3
|
+
import { RStream } from '../../../domain/entities/RStream';
|
|
4
|
+
import { StreamRuntimeHost } from '../../hosts/StreamRuntimeHost';
|
|
5
|
+
export declare class StreamRuntimeStrategy implements RuntimeStrategy<RStream, StreamRuntimeHost> {
|
|
6
|
+
private readonly _resolveAuthSession;
|
|
7
|
+
readonly id = "runtime:stream";
|
|
8
|
+
readonly entityType: "stream";
|
|
9
|
+
constructor(_resolveAuthSession: ResolveAuthSession);
|
|
10
|
+
supports(model: unknown): model is RStream;
|
|
11
|
+
create(ctx: Parameters<RuntimeStrategy<RStream, StreamRuntimeHost>['create']>[0]): StreamRuntimeHost | null;
|
|
12
|
+
}
|
package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AuthRequestPolicy, AuthResolvedSession, AuthResolveOptions } from '../../../auth/domain/types/auth-profile.types';
|
|
2
|
+
import { StreamTransportConnection, StreamTransportFactory } from '../../domain/stream-runtime.types';
|
|
3
|
+
export type ResolveAuthSession = (policy: AuthRequestPolicy, options?: AuthResolveOptions) => Promise<AuthResolvedSession>;
|
|
4
|
+
/**
|
|
5
|
+
* Браузерный адаптер, владеющий нативным EventSource и преобразующий его в транспортный порт Core.
|
|
6
|
+
*/
|
|
7
|
+
export declare class BrowserSseStreamTransportFactory implements StreamTransportFactory {
|
|
8
|
+
private readonly _resolveAuthSession;
|
|
9
|
+
constructor(_resolveAuthSession: ResolveAuthSession);
|
|
10
|
+
open(artifact: Parameters<StreamTransportFactory['open']>[0], callbacks: Parameters<StreamTransportFactory['open']>[1]): StreamTransportConnection;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { StreamTransportConnection, StreamTransportFactory } from '../../domain/stream-runtime.types';
|
|
2
|
+
/**
|
|
3
|
+
* Владеет WebSocket, повторной подпиской и таймером переподключения одного Stream.
|
|
4
|
+
*/
|
|
5
|
+
export declare class BrowserWebSocketStreamTransportFactory implements StreamTransportFactory {
|
|
6
|
+
/**
|
|
7
|
+
* Открывает JSON transport; close отменяет reconnect и все callbacks соединения.
|
|
8
|
+
*/
|
|
9
|
+
open(artifact: Parameters<StreamTransportFactory['open']>[0], callbacks: Parameters<StreamTransportFactory['open']>[1]): StreamTransportConnection;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RuntimeControlTarget, RuntimeInspectionSnapshot } from '../domain/runtime-inspection.types';
|
|
2
|
+
import { RuntimeRenderInspection } from '../domain/runtime-render-inspection.types';
|
|
3
|
+
import { EndgeRuntimeSnapshot } from '../domain/runtime.types';
|
|
4
|
+
export declare function readRuntimeInspectionSnapshot(value: unknown): RuntimeInspectionSnapshot;
|
|
5
|
+
export declare function readRuntimeRenderInspection(value: unknown): RuntimeRenderInspection;
|
|
6
|
+
export declare function readRuntimeControlTarget(value: unknown): RuntimeControlTarget;
|
|
7
|
+
export declare function emptyRuntimeInspection(): EndgeRuntimeSnapshot;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RComponentSFC_IR_DataMetaReference } from '../../domain/types/component/sfc/ir.types';
|
|
2
|
+
export declare function runtimeInspectionMetaKey(reference: RComponentSFC_IR_DataMetaReference & {
|
|
3
|
+
boundaryId?: string;
|
|
4
|
+
rowKey?: unknown;
|
|
5
|
+
}, namespace?: string): string;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { VocabOptionMapping } from '../domain/vocab-cache.types';
|
|
2
|
+
import { SourceFieldOption } from '../../source/domain/types/source-expression.types';
|
|
3
|
+
export declare function resolveRuntimeVocabOptions(values: unknown, mapping?: Partial<VocabOptionMapping>): SourceFieldOption[];
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { SourceDocumentReference, SourceEngineCompileContext, SourceEngineCompileResult, SourceEngineGenerateResult, SourceEngineStrategy, SourceKind, SourceLanguageCompletion, SourceLanguageContext, SourceLanguageInlineHint, SourceLanguageSemanticHighlight, SourceLanguageSignatureHelp, SourceLanguageStrategy, SourceLanguageValidationResult, SourceParseResult, SourcePatchResult, SourcePatchStrategy } from './domain/types/source-engine.types';
|
|
2
|
+
import { EndgeModule } from '../../../federation/EndgeModule';
|
|
3
|
+
/**
|
|
4
|
+
* Модуль authoring-операций над source-документами Endge.
|
|
5
|
+
*/
|
|
6
|
+
export declare class EndgeSource_Module extends EndgeModule {
|
|
7
|
+
private readonly _strategies;
|
|
8
|
+
private readonly _languageStrategies;
|
|
9
|
+
private readonly _patchStrategies;
|
|
10
|
+
/**
|
|
11
|
+
* Создаёт source-модуль и регистрирует встроенные strategies.
|
|
12
|
+
*/
|
|
13
|
+
constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Регистрирует source strategy. Повторная регистрация с тем же id заменяет старую.
|
|
16
|
+
*/
|
|
17
|
+
registerStrategy(strategy: SourceEngineStrategy): void;
|
|
18
|
+
/**
|
|
19
|
+
* Регистрирует source language strategy. Повторная регистрация с тем же id заменяет старую.
|
|
20
|
+
*/
|
|
21
|
+
registerLanguageStrategy(strategy: SourceLanguageStrategy): void;
|
|
22
|
+
/**
|
|
23
|
+
* Регистрирует source patch strategy. Повторная регистрация с тем же id заменяет старую.
|
|
24
|
+
*/
|
|
25
|
+
registerPatchStrategy(strategy: SourcePatchStrategy): void;
|
|
26
|
+
/**
|
|
27
|
+
* Возвращает копию списка зарегистрированных source strategies.
|
|
28
|
+
*/
|
|
29
|
+
listStrategies(): SourceEngineStrategy[];
|
|
30
|
+
/**
|
|
31
|
+
* Возвращает копию списка зарегистрированных source language strategies.
|
|
32
|
+
*/
|
|
33
|
+
listLanguageStrategies(): SourceLanguageStrategy[];
|
|
34
|
+
/**
|
|
35
|
+
* Возвращает копию списка зарегистрированных source patch strategies.
|
|
36
|
+
*/
|
|
37
|
+
listPatchStrategies(): SourcePatchStrategy[];
|
|
38
|
+
/**
|
|
39
|
+
* Возвращает стратегию для указанного source-kind.
|
|
40
|
+
*/
|
|
41
|
+
resolveStrategy(sourceKind: SourceKind | string): SourceEngineStrategy | null;
|
|
42
|
+
/**
|
|
43
|
+
* Возвращает language strategy для указанного source-kind.
|
|
44
|
+
*/
|
|
45
|
+
resolveLanguageStrategy(sourceKind: SourceKind | string): SourceLanguageStrategy | null;
|
|
46
|
+
/**
|
|
47
|
+
* Возвращает patch strategy для указанного source-kind.
|
|
48
|
+
*/
|
|
49
|
+
resolvePatchStrategy(sourceKind: SourceKind | string): SourcePatchStrategy | null;
|
|
50
|
+
/**
|
|
51
|
+
* Генерирует source для указанного source-kind через зарегистрированную strategy.
|
|
52
|
+
*/
|
|
53
|
+
generate(sourceKind: SourceKind | string, model: unknown): SourceEngineGenerateResult;
|
|
54
|
+
/**
|
|
55
|
+
* Компилирует source указанного source-kind в normalized document и artifact payload.
|
|
56
|
+
*/
|
|
57
|
+
compile(sourceKind: SourceKind | string, source: string, context?: SourceEngineCompileContext): SourceEngineCompileResult;
|
|
58
|
+
/**
|
|
59
|
+
* Парсит source указанного source-kind в normalized editor document.
|
|
60
|
+
*/
|
|
61
|
+
parse<TDocument = unknown>(sourceKind: SourceKind | string, source: string): SourceParseResult<TDocument>;
|
|
62
|
+
/**
|
|
63
|
+
* Патчит source указанного source-kind, сохраняя нетронутые участки авторского кода.
|
|
64
|
+
*/
|
|
65
|
+
patch<TPatch = unknown, TDocument = unknown>(sourceKind: SourceKind | string, source: string, patch: TPatch): SourcePatchResult<TDocument>;
|
|
66
|
+
/**
|
|
67
|
+
* Возвращает базовый source для новой сущности указанного source-kind.
|
|
68
|
+
*/
|
|
69
|
+
createDefault(sourceKind: SourceKind | string, variant?: string): string;
|
|
70
|
+
/**
|
|
71
|
+
* Нормализует source через language strategy без изменения semantic document.
|
|
72
|
+
*/
|
|
73
|
+
normalize(sourceKind: SourceKind | string, source: string): string;
|
|
74
|
+
/**
|
|
75
|
+
* Валидирует source указанного source-kind для editor-facing сценариев.
|
|
76
|
+
*/
|
|
77
|
+
validate(sourceKind: SourceKind | string, source: string, context?: Omit<SourceLanguageContext, 'source'>): SourceLanguageValidationResult;
|
|
78
|
+
/**
|
|
79
|
+
* Возвращает editor-facing completion items для указанного source-kind.
|
|
80
|
+
*/
|
|
81
|
+
completions(sourceKind: SourceKind | string, context: SourceLanguageContext): SourceLanguageCompletion[];
|
|
82
|
+
signatureHelp(sourceKind: SourceKind | string, context: SourceLanguageContext): SourceLanguageSignatureHelp | null;
|
|
83
|
+
/**
|
|
84
|
+
* Возвращает семантическую ссылку на внешний документ под курсором.
|
|
85
|
+
*/
|
|
86
|
+
referenceAt(sourceKind: SourceKind | string, context: SourceLanguageContext): SourceDocumentReference | null;
|
|
87
|
+
/**
|
|
88
|
+
* Возвращает renderer-neutral semantic highlights для source-документа.
|
|
89
|
+
*/
|
|
90
|
+
semanticHighlights(sourceKind: SourceKind | string, context: SourceLanguageContext): SourceLanguageSemanticHighlight[];
|
|
91
|
+
/**
|
|
92
|
+
* Возвращает renderer-neutral inline annotations для source-документа.
|
|
93
|
+
*/
|
|
94
|
+
inlineHints(sourceKind: SourceKind | string, context: SourceLanguageContext): SourceLanguageInlineHint[];
|
|
95
|
+
/**
|
|
96
|
+
* Source owner передаёт strategies только актуальные read-only authoring inputs.
|
|
97
|
+
*/
|
|
98
|
+
private _simulationCatalog;
|
|
99
|
+
/**
|
|
100
|
+
* Регистрирует встроенные strategies ядра.
|
|
101
|
+
*/
|
|
102
|
+
private _registerDefaultStrategies;
|
|
103
|
+
/**
|
|
104
|
+
* Возвращает strategy или бросает явную ошибку для некорректного source-kind.
|
|
105
|
+
*/
|
|
106
|
+
private _resolveRequiredStrategy;
|
|
107
|
+
/**
|
|
108
|
+
* Возвращает language strategy или бросает явную ошибку для некорректного source-kind.
|
|
109
|
+
*/
|
|
110
|
+
private _resolveRequiredLanguageStrategy;
|
|
111
|
+
/**
|
|
112
|
+
* Возвращает patch strategy или бросает явную ошибку для некорректного source-kind.
|
|
113
|
+
*/
|
|
114
|
+
private _resolveRequiredPatchStrategy;
|
|
115
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { SourceExpressionIR, SourceFieldDefinition } from './source-expression.types';
|
|
2
|
+
export interface ActionSourceContract {
|
|
3
|
+
input: SourceFieldDefinition | null;
|
|
4
|
+
output: SourceFieldDefinition | null;
|
|
5
|
+
}
|
|
6
|
+
export type ActionSourceEffectKind = 'query' | 'update' | 'action' | 'computation';
|
|
7
|
+
export interface ActionSourceEffectStep {
|
|
8
|
+
kind: ActionSourceEffectKind;
|
|
9
|
+
name: string;
|
|
10
|
+
identity: string;
|
|
11
|
+
input: SourceExpressionIR;
|
|
12
|
+
}
|
|
13
|
+
export interface ActionSourceExpressionStep {
|
|
14
|
+
kind: 'expression';
|
|
15
|
+
name: string;
|
|
16
|
+
expression: SourceExpressionIR;
|
|
17
|
+
}
|
|
18
|
+
export interface ActionSourceTypescriptStep {
|
|
19
|
+
kind: 'typescript';
|
|
20
|
+
name: string;
|
|
21
|
+
inputs: Record<string, SourceExpressionIR>;
|
|
22
|
+
moduleKey: string;
|
|
23
|
+
source: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ActionSourceOperationStep {
|
|
26
|
+
kind: 'operation';
|
|
27
|
+
name: string;
|
|
28
|
+
input: SourceExpressionIR | null;
|
|
29
|
+
run: ActionSourceBlock;
|
|
30
|
+
undo: ActionSourceBlock;
|
|
31
|
+
redo: ActionSourceBlock | null;
|
|
32
|
+
}
|
|
33
|
+
export type ActionSourceStep = ActionSourceExpressionStep | ActionSourceEffectStep | ActionSourceTypescriptStep | ActionSourceOperationStep;
|
|
34
|
+
export interface ActionSourceBlock {
|
|
35
|
+
steps: ActionSourceStep[];
|
|
36
|
+
output: SourceExpressionIR | null;
|
|
37
|
+
}
|
|
38
|
+
export interface ActionSourceDocument extends ActionSourceBlock {
|
|
39
|
+
contract: ActionSourceContract;
|
|
40
|
+
}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
import { ComponentSFCInteractionTrigger } from '../../../domain/types/component/sfc/ir.types';
|
|
2
|
+
import { ComponentSFCEventInputValue } from '../../../domain/types/component/sfc/ports.types';
|
|
3
|
+
import { I18nCompiledLocales } from '../../../i18n/domain/i18n.types';
|
|
4
|
+
import { EndgeMockReference } from '../../../mock/domain/types/mock-data.type';
|
|
5
|
+
import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
|
|
6
|
+
import { ProgramDiagnostic } from '../../../program/domain/types/program.types';
|
|
7
|
+
import { RuntimeHost } from '../../../runtime/domain/runtime-host.types';
|
|
8
|
+
import { RuntimeScopeHandle } from '../../../runtime/domain/runtime-scope.types';
|
|
9
|
+
import { VocabLoadPolicy } from '../../../runtime/domain/vocab-cache.types';
|
|
10
|
+
import { FilterViewControlDefinition } from './filter-view.type';
|
|
11
|
+
import { SourceExpressionIR, SourceFieldDefinition } from './source-expression.types';
|
|
12
|
+
import { UpdateMutationStrategy } from './update-source.types';
|
|
13
|
+
import { EndgeDataMode } from '../../../workspace/domain/workspace.types';
|
|
14
|
+
export type CompositionRuntimeKind = 'filter' | 'query' | 'component' | 'composition' | 'stream' | 'filter-view';
|
|
15
|
+
export type CompositionActivationMode = 'startup' | 'manual';
|
|
16
|
+
export interface CompositionActivationDescriptor {
|
|
17
|
+
mode: CompositionActivationMode;
|
|
18
|
+
}
|
|
19
|
+
interface CompositionResourceDescriptorBase {
|
|
20
|
+
name: string;
|
|
21
|
+
path: string;
|
|
22
|
+
scopePath: string;
|
|
23
|
+
sourceOrder: number;
|
|
24
|
+
}
|
|
25
|
+
type CompositionSourceAssetResourceDescriptor = CompositionResourceDescriptorBase & {
|
|
26
|
+
kind: 'style' | 'i18n';
|
|
27
|
+
identity: string;
|
|
28
|
+
};
|
|
29
|
+
type CompositionOperationHistoryResourceDescriptor = CompositionResourceDescriptorBase & {
|
|
30
|
+
kind: 'operation-history';
|
|
31
|
+
operationHistory: {
|
|
32
|
+
limit: number;
|
|
33
|
+
limitConfigurationPath: string | null;
|
|
34
|
+
shortcuts: OperationHistoryShortcutDescriptor[] | null;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type CompositionResourceDescriptor = CompositionSourceAssetResourceDescriptor | CompositionOperationHistoryResourceDescriptor;
|
|
38
|
+
export interface OperationHistoryShortcutDescriptor {
|
|
39
|
+
command: 'undo' | 'redo';
|
|
40
|
+
triggerSet: {
|
|
41
|
+
kind: 'configuration';
|
|
42
|
+
path: string;
|
|
43
|
+
} | {
|
|
44
|
+
kind: 'literal';
|
|
45
|
+
value: ComponentSFCInteractionTrigger[];
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export interface CompositionI18nResourceArtifact {
|
|
49
|
+
name: string;
|
|
50
|
+
path: string;
|
|
51
|
+
scopePath: string;
|
|
52
|
+
identity: string;
|
|
53
|
+
sourceOrder: number;
|
|
54
|
+
messages: I18nCompiledLocales;
|
|
55
|
+
}
|
|
56
|
+
export interface CompositionScopeDescriptor {
|
|
57
|
+
name: string;
|
|
58
|
+
path: string;
|
|
59
|
+
parentPath: string | null;
|
|
60
|
+
activationOverride: CompositionActivationDescriptor | null;
|
|
61
|
+
effectiveActivation: CompositionActivationDescriptor;
|
|
62
|
+
data?: string[];
|
|
63
|
+
resources: string[];
|
|
64
|
+
runtimes: string[];
|
|
65
|
+
children: string[];
|
|
66
|
+
sourceOrder: number;
|
|
67
|
+
}
|
|
68
|
+
export type CompositionBindingValue = {
|
|
69
|
+
kind: 'literal';
|
|
70
|
+
value: unknown;
|
|
71
|
+
} | {
|
|
72
|
+
kind: 'output';
|
|
73
|
+
runtime: string;
|
|
74
|
+
output: string;
|
|
75
|
+
} | {
|
|
76
|
+
kind: 'outputs';
|
|
77
|
+
runtime: string;
|
|
78
|
+
outputs?: string[];
|
|
79
|
+
} | {
|
|
80
|
+
kind: 'store';
|
|
81
|
+
key: string;
|
|
82
|
+
} | {
|
|
83
|
+
kind: 'data';
|
|
84
|
+
data: string;
|
|
85
|
+
path: string;
|
|
86
|
+
metaSource?: CompositionMetaSourceBinding;
|
|
87
|
+
} | {
|
|
88
|
+
kind: 'runtime-metadata';
|
|
89
|
+
runtime: string;
|
|
90
|
+
namespace?: string;
|
|
91
|
+
} | {
|
|
92
|
+
kind: 'filter-fields';
|
|
93
|
+
runtime: string;
|
|
94
|
+
fields: string[];
|
|
95
|
+
} | {
|
|
96
|
+
kind: 'data-view';
|
|
97
|
+
data: string;
|
|
98
|
+
path: string;
|
|
99
|
+
identity: string;
|
|
100
|
+
props: Record<string, CompositionBindingValue>;
|
|
101
|
+
metaSource?: CompositionMetaSourceBinding;
|
|
102
|
+
} | {
|
|
103
|
+
kind: 'expression';
|
|
104
|
+
expression: SourceExpressionIR;
|
|
105
|
+
};
|
|
106
|
+
export interface CompositionMetaSourceBinding {
|
|
107
|
+
data: string;
|
|
108
|
+
path: string;
|
|
109
|
+
key?: string;
|
|
110
|
+
fields?: Record<string, string>;
|
|
111
|
+
}
|
|
112
|
+
export interface CompositionDataDescriptor {
|
|
113
|
+
name: string;
|
|
114
|
+
path?: string;
|
|
115
|
+
scopePath?: string;
|
|
116
|
+
kind: 'store' | 'vocab';
|
|
117
|
+
identity: string;
|
|
118
|
+
resolution?: 'contextual' | 'isolated' | 'injected';
|
|
119
|
+
slot?: string | null;
|
|
120
|
+
policy?: VocabLoadPolicy;
|
|
121
|
+
}
|
|
122
|
+
export interface CompositionStorePublication {
|
|
123
|
+
data: string;
|
|
124
|
+
fields: Record<string, string>;
|
|
125
|
+
}
|
|
126
|
+
export interface CompositionFilterFieldsSlice {
|
|
127
|
+
kind: 'filter-fields';
|
|
128
|
+
runtimeId: string;
|
|
129
|
+
runtimeName: string;
|
|
130
|
+
fieldKeys: string[];
|
|
131
|
+
fields: SourceFieldDefinition[];
|
|
132
|
+
values: Record<string, unknown>;
|
|
133
|
+
}
|
|
134
|
+
export interface CompositionRuntimeDescriptor {
|
|
135
|
+
name: string;
|
|
136
|
+
path: string;
|
|
137
|
+
scopePath: string;
|
|
138
|
+
sourceLocations?: {
|
|
139
|
+
runtime: {
|
|
140
|
+
start: number;
|
|
141
|
+
end: number;
|
|
142
|
+
};
|
|
143
|
+
call: {
|
|
144
|
+
start: number;
|
|
145
|
+
end: number;
|
|
146
|
+
};
|
|
147
|
+
withProps: {
|
|
148
|
+
start: number;
|
|
149
|
+
end: number;
|
|
150
|
+
} | null;
|
|
151
|
+
};
|
|
152
|
+
kind: CompositionRuntimeKind;
|
|
153
|
+
identity: string;
|
|
154
|
+
contextSwitch?: {
|
|
155
|
+
selected: 'default' | number;
|
|
156
|
+
default: {
|
|
157
|
+
kind: CompositionRuntimeKind;
|
|
158
|
+
identity: string;
|
|
159
|
+
};
|
|
160
|
+
cases: Array<{
|
|
161
|
+
when: Readonly<Record<string, string>>;
|
|
162
|
+
kind: CompositionRuntimeKind;
|
|
163
|
+
identity: string;
|
|
164
|
+
}>;
|
|
165
|
+
};
|
|
166
|
+
activationOverride: CompositionActivationDescriptor | null;
|
|
167
|
+
effectiveActivation: CompositionActivationDescriptor;
|
|
168
|
+
fields?: string[];
|
|
169
|
+
controls?: Record<string, FilterViewControlDefinition>;
|
|
170
|
+
componentIdentity?: string;
|
|
171
|
+
persistKey?: string;
|
|
172
|
+
props: Record<string, CompositionBindingValue>;
|
|
173
|
+
dataBindings?: Record<string, string>;
|
|
174
|
+
storeTo: CompositionStorePublication[];
|
|
175
|
+
dispatchTo?: string[];
|
|
176
|
+
batch?: {
|
|
177
|
+
maxItems: number;
|
|
178
|
+
maxWaitMs: number;
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
export interface CompositionRuntimeChildHandle {
|
|
182
|
+
name: string;
|
|
183
|
+
descriptor: CompositionRuntimeDescriptor;
|
|
184
|
+
runtime: RuntimeHost<any, any>;
|
|
185
|
+
}
|
|
186
|
+
export type CompositionChangeSource = {
|
|
187
|
+
kind: 'runtime-output';
|
|
188
|
+
runtime: string;
|
|
189
|
+
output: string;
|
|
190
|
+
} | {
|
|
191
|
+
kind: 'prop';
|
|
192
|
+
path: string;
|
|
193
|
+
};
|
|
194
|
+
export type CompositionHook = {
|
|
195
|
+
kind: 'mount';
|
|
196
|
+
target: string;
|
|
197
|
+
} | {
|
|
198
|
+
kind: 'change';
|
|
199
|
+
source: CompositionChangeSource;
|
|
200
|
+
target: string;
|
|
201
|
+
debounceMs: number;
|
|
202
|
+
} | {
|
|
203
|
+
kind: 'success';
|
|
204
|
+
runtime: string;
|
|
205
|
+
target: string;
|
|
206
|
+
} | CompositionComponentEventHook;
|
|
207
|
+
export interface ComponentEventApplyUpdateEffect {
|
|
208
|
+
kind: 'apply-update';
|
|
209
|
+
data: string;
|
|
210
|
+
update: string;
|
|
211
|
+
input?: ComponentSFCEventInputValue;
|
|
212
|
+
}
|
|
213
|
+
export interface ComponentEventStoreMutationEffect {
|
|
214
|
+
kind: 'mutate-store';
|
|
215
|
+
data: string;
|
|
216
|
+
mutation: {
|
|
217
|
+
strategy: UpdateMutationStrategy;
|
|
218
|
+
path: string;
|
|
219
|
+
value?: ComponentSFCEventInputValue;
|
|
220
|
+
vars?: Record<string, ComponentSFCEventInputValue>;
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
export interface ComponentEventExecuteActionEffect {
|
|
224
|
+
kind: 'execute-action';
|
|
225
|
+
action: string;
|
|
226
|
+
input?: ComponentSFCEventInputValue;
|
|
227
|
+
}
|
|
228
|
+
export type CompositionComponentEventEffect = ComponentEventApplyUpdateEffect | ComponentEventStoreMutationEffect | ComponentEventExecuteActionEffect;
|
|
229
|
+
export interface CompositionComponentEventHook {
|
|
230
|
+
kind: 'event';
|
|
231
|
+
runtime: string;
|
|
232
|
+
event: string;
|
|
233
|
+
effect: CompositionComponentEventEffect;
|
|
234
|
+
}
|
|
235
|
+
export interface CompositionRuntimeOutputDescriptor {
|
|
236
|
+
key: string;
|
|
237
|
+
kind: 'runtime';
|
|
238
|
+
runtime: string;
|
|
239
|
+
output?: string;
|
|
240
|
+
}
|
|
241
|
+
export interface CompositionScopeOutputDescriptor {
|
|
242
|
+
key: string;
|
|
243
|
+
kind: 'scope';
|
|
244
|
+
scope: string;
|
|
245
|
+
}
|
|
246
|
+
export type CompositionOutputDescriptor = CompositionRuntimeOutputDescriptor | CompositionScopeOutputDescriptor;
|
|
247
|
+
export type CompositionPreviewLiteral = null | string | number | boolean | CompositionPreviewLiteral[] | {
|
|
248
|
+
[key: string]: CompositionPreviewLiteral;
|
|
249
|
+
};
|
|
250
|
+
export type CompositionPreviewPropValue = {
|
|
251
|
+
kind: 'literal';
|
|
252
|
+
value: CompositionPreviewLiteral;
|
|
253
|
+
} | EndgeMockReference;
|
|
254
|
+
export type CompositionPreviewProps = Record<string, CompositionPreviewPropValue>;
|
|
255
|
+
export interface CompositionSourceDocument {
|
|
256
|
+
dataMode?: EndgeDataMode | null;
|
|
257
|
+
activation: CompositionActivationDescriptor | null;
|
|
258
|
+
props: SourceFieldDefinition[];
|
|
259
|
+
previewProps?: CompositionPreviewProps | null;
|
|
260
|
+
data: CompositionDataDescriptor[];
|
|
261
|
+
resources: CompositionResourceDescriptor[];
|
|
262
|
+
scopes: CompositionScopeDescriptor[];
|
|
263
|
+
runtimes: CompositionRuntimeDescriptor[];
|
|
264
|
+
hooks: CompositionHook[];
|
|
265
|
+
outputs: CompositionOutputDescriptor[];
|
|
266
|
+
}
|
|
267
|
+
export interface CompositionSourceAddDataPatch {
|
|
268
|
+
type: 'add-data';
|
|
269
|
+
name: string;
|
|
270
|
+
kind: CompositionDataDescriptor['kind'];
|
|
271
|
+
identity: string;
|
|
272
|
+
}
|
|
273
|
+
export interface CompositionSourceAddResourcePatch {
|
|
274
|
+
type: 'add-resource';
|
|
275
|
+
name: string;
|
|
276
|
+
kind: CompositionResourceDescriptor['kind'];
|
|
277
|
+
identity?: string;
|
|
278
|
+
}
|
|
279
|
+
export interface CompositionSourceAddRuntimePatch {
|
|
280
|
+
type: 'add-runtime';
|
|
281
|
+
name: string;
|
|
282
|
+
kind: Exclude<CompositionRuntimeKind, 'filter-view'>;
|
|
283
|
+
identity: string;
|
|
284
|
+
activation?: CompositionActivationMode;
|
|
285
|
+
}
|
|
286
|
+
export type CompositionSourcePatchOperation = CompositionSourceAddDataPatch | CompositionSourceAddResourcePatch | CompositionSourceAddRuntimePatch;
|
|
287
|
+
export type CompositionSourcePatch = CompositionSourcePatchOperation | CompositionSourcePatchOperation[];
|
|
288
|
+
export interface CompositionRuntimeInputConnection {
|
|
289
|
+
targetRuntime: string;
|
|
290
|
+
targetProp: string;
|
|
291
|
+
source: CompositionBindingValue;
|
|
292
|
+
}
|
|
293
|
+
export interface CompositionRuntimeDataConnection {
|
|
294
|
+
targetRuntime: string;
|
|
295
|
+
targetData: string;
|
|
296
|
+
sourceData: string;
|
|
297
|
+
}
|
|
298
|
+
export interface CompositionRuntimeUpdateConnection {
|
|
299
|
+
id: string;
|
|
300
|
+
source: CompositionChangeSource;
|
|
301
|
+
targetRuntime: string;
|
|
302
|
+
updateKind: 'run';
|
|
303
|
+
debounceMs: number;
|
|
304
|
+
}
|
|
305
|
+
export interface CompositionRuntimeSuccessConnection {
|
|
306
|
+
id: string;
|
|
307
|
+
sourceRuntime: string;
|
|
308
|
+
targetRuntime: string;
|
|
309
|
+
updateKind: 'run';
|
|
310
|
+
}
|
|
311
|
+
export interface CompositionRuntimePublicationConnection {
|
|
312
|
+
id: string;
|
|
313
|
+
sourceRuntime: string;
|
|
314
|
+
sourceOutput: string;
|
|
315
|
+
targetData: string;
|
|
316
|
+
targetPath: string;
|
|
317
|
+
}
|
|
318
|
+
export interface CompositionRuntimeMountConnection {
|
|
319
|
+
targetRuntime: string;
|
|
320
|
+
updateKind: 'run';
|
|
321
|
+
}
|
|
322
|
+
export interface CompositionRuntimeEventConnection extends CompositionComponentEventHook {
|
|
323
|
+
id: string;
|
|
324
|
+
}
|
|
325
|
+
export interface CompositionRuntimeGraph {
|
|
326
|
+
inputs: CompositionRuntimeInputConnection[];
|
|
327
|
+
dataInputs?: CompositionRuntimeDataConnection[];
|
|
328
|
+
updates: CompositionRuntimeUpdateConnection[];
|
|
329
|
+
successes?: CompositionRuntimeSuccessConnection[];
|
|
330
|
+
publications: CompositionRuntimePublicationConnection[];
|
|
331
|
+
mounts: CompositionRuntimeMountConnection[];
|
|
332
|
+
events?: CompositionRuntimeEventConnection[];
|
|
333
|
+
}
|
|
334
|
+
export interface CompositionProgramPayload extends CompositionSourceDocument {
|
|
335
|
+
ast?: unknown;
|
|
336
|
+
type: 'composition';
|
|
337
|
+
sourceVersion: number;
|
|
338
|
+
i18nResources?: CompositionI18nResourceArtifact[];
|
|
339
|
+
graph: CompositionRuntimeGraph;
|
|
340
|
+
}
|
|
341
|
+
export interface CompositionSourceCompileResult {
|
|
342
|
+
ast: unknown | null;
|
|
343
|
+
document: CompositionSourceDocument | null;
|
|
344
|
+
artifact: CompositionProgramPayload | null;
|
|
345
|
+
metadata: ProgramMetadataMap;
|
|
346
|
+
diagnostics: Omit<ProgramDiagnostic, 'entityRef'>[];
|
|
347
|
+
}
|
|
348
|
+
export interface CompositionRuntimeOutputHandle {
|
|
349
|
+
kind: 'runtime';
|
|
350
|
+
runtime: RuntimeHost<any, any> | null;
|
|
351
|
+
output?: string;
|
|
352
|
+
}
|
|
353
|
+
export interface CompositionRuntimeHostHandle extends RuntimeHost<'composition', any, CompositionProgramPayload> {
|
|
354
|
+
mountGraph: () => Promise<void>;
|
|
355
|
+
getChild: (name: string) => RuntimeHost<any, any> | null;
|
|
356
|
+
getChildren: () => CompositionRuntimeChildHandle[];
|
|
357
|
+
getFilterFieldsSlice: (runtimeName: string, fieldKeys: string[]) => CompositionFilterFieldsSlice | null;
|
|
358
|
+
getOutputs: () => Readonly<Record<string, CompositionPublicOutputHandle>>;
|
|
359
|
+
getScope: (path: string) => RuntimeScopeHandle | null;
|
|
360
|
+
getRuntimeHandle: (path: string) => CompositionRuntimeActivationHandle | null;
|
|
361
|
+
getOutput: (name: string) => unknown;
|
|
362
|
+
getDataSnapshot: () => Readonly<Record<string, unknown>>;
|
|
363
|
+
getProps: () => Readonly<Record<string, unknown>>;
|
|
364
|
+
getDataPath: (name: string, path?: string) => string;
|
|
365
|
+
}
|
|
366
|
+
export interface CompositionRuntimeActivationHandle {
|
|
367
|
+
readonly path: string;
|
|
368
|
+
readonly state: 'inactive' | 'active' | 'paused' | 'disposed';
|
|
369
|
+
readonly runtime: RuntimeHost<any, any> | null;
|
|
370
|
+
activate: () => Promise<RuntimeHost<any, any>>;
|
|
371
|
+
pause: () => Promise<void>;
|
|
372
|
+
resume: () => Promise<void>;
|
|
373
|
+
deactivate: () => Promise<void>;
|
|
374
|
+
dispose: () => Promise<void>;
|
|
375
|
+
getOutput: (name: string) => unknown;
|
|
376
|
+
}
|
|
377
|
+
export type CompositionPublicOutputHandle = CompositionRuntimeOutputHandle | CompositionRuntimeActivationHandle | RuntimeScopeHandle;
|
|
378
|
+
export interface CompositionMountOptions {
|
|
379
|
+
id?: string;
|
|
380
|
+
props?: Record<string, unknown>;
|
|
381
|
+
dataRuntimes?: Record<string, string>;
|
|
382
|
+
}
|
|
383
|
+
export interface CompositionSession<THost extends CompositionRuntimeHostHandle = CompositionRuntimeHostHandle> {
|
|
384
|
+
id: string;
|
|
385
|
+
host: THost;
|
|
386
|
+
outputs: Readonly<Record<string, CompositionPublicOutputHandle>>;
|
|
387
|
+
output: <T = unknown>(name: string) => T | undefined;
|
|
388
|
+
unmount: () => Promise<void>;
|
|
389
|
+
}
|
|
390
|
+
export {};
|