@endge/core 13.0.0 → 14.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.js +25343 -23763
- package/dist/features/core/kernel/config/debugger.config.d.ts +0 -1
- package/dist/features/core/kernel/config/kernel.config.d.ts +0 -6
- package/dist/features/core/kernel/config/modules.config.d.ts +0 -1
- package/dist/features/core/kernel/endge.d.ts +15 -7
- package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +3 -1
- package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +3 -2
- package/dist/features/core/kernel/tools/bundle-json.d.ts +0 -4
- package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +0 -1
- package/dist/features/core/kernel/tools/read-only-document.d.ts +0 -1
- package/dist/features/core/kernel/types/bootstrap.types.d.ts +0 -37
- package/dist/features/core/kernel/types/endge-bundle.types.d.ts +0 -1
- package/dist/features/core/modules/EndgeTypes_Module.d.ts +3 -1
- package/dist/features/core/modules/EndgeVocabs_Module.d.ts +33 -15
- package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +38 -22
- package/dist/features/core/modules/actions/domain/action.types.d.ts +0 -12
- package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +3 -2
- package/dist/features/core/modules/actions/services/table-actions.d.ts +0 -1
- package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +24 -8
- package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +9 -3
- package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +9 -3
- package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +3 -1
- package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +33 -11
- package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +3 -1
- package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +0 -6
- package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +15 -5
- package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +24 -8
- package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +9 -3
- package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +48 -16
- package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +21 -7
- package/dist/features/core/modules/auth/services/auth-context.d.ts +0 -3
- package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +27 -20
- package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +12 -4
- package/dist/features/core/modules/bridge/config/bridge.config.d.ts +0 -5
- package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +14 -12
- package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +72 -35
- package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +0 -3
- package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +0 -3
- package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +15 -5
- package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +0 -6
- package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +12 -4
- package/dist/features/core/modules/commands/config/commands.config.d.ts +0 -3
- package/dist/features/core/modules/commands/domain/commands.types.d.ts +0 -2
- package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +6 -2
- package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +6 -2
- package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +3 -1
- package/dist/features/core/modules/commands/tools/command-payload.d.ts +0 -2
- package/dist/features/core/modules/commands/types/command-executor.type.d.ts +0 -4
- package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +0 -1
- package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +0 -1
- package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +193 -74
- package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +0 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +0 -22
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +0 -14
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +0 -2
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +0 -5
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +0 -3
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +0 -10
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +0 -5
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +0 -18
- package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +0 -1
- package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +0 -7
- package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +0 -1
- package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +18 -16
- package/dist/features/core/modules/computations/model/ComputationResource.d.ts +6 -2
- package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +9 -4
- package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +3 -1
- package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +6 -2
- package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +39 -13
- package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +0 -2
- package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +0 -6
- package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +0 -1
- package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +0 -22
- package/dist/features/core/modules/context/EndgeContext_Module.d.ts +186 -62
- package/dist/features/core/modules/context/domain/context-events.types.d.ts +0 -1
- package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +0 -4
- package/dist/features/core/modules/context/domain/context-state.types.d.ts +0 -5
- package/dist/features/core/modules/context/endge-vars.d.ts +12 -4
- package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +6 -2
- package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +3 -1
- package/dist/features/core/modules/context/persistence/context-state.d.ts +0 -2
- package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +3 -6
- package/dist/features/core/modules/converters/tools/arrays/split.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +0 -4
- package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +0 -1
- package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +0 -1
- package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +54 -18
- package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +101 -45
- package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +39 -14
- package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +177 -59
- package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +9 -3
- package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +21 -8
- package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +21 -7
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +75 -26
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +0 -9
- package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +0 -2
- package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +0 -1
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +60 -20
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +24 -8
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +0 -14
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +0 -2
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +0 -66
- package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +17 -14
- package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +0 -11
- package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +0 -3
- package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +6 -2
- package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +6 -2
- package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +165 -64
- package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +9 -11
- package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +0 -4
- package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +0 -1
- package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +0 -3
- package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +0 -3
- package/dist/features/core/modules/domain/entities/RAction.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RComponent.d.ts +0 -7
- package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +0 -1
- package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +12 -8
- package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +18 -10
- package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +3 -5
- package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +0 -20
- package/dist/features/core/modules/domain/entities/RComposition.d.ts +3 -3
- package/dist/features/core/modules/domain/entities/RComputation.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RDataView.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/REntity.d.ts +12 -15
- package/dist/features/core/modules/domain/entities/RFacet.d.ts +3 -3
- package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RFilter.d.ts +0 -2
- package/dist/features/core/modules/domain/entities/RFolder.d.ts +6 -6
- package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/RIntegration.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RMock.d.ts +15 -5
- package/dist/features/core/modules/domain/entities/RNavigation.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RPage.d.ts +6 -4
- package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +6 -3
- package/dist/features/core/modules/domain/entities/RPolicy.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RQuery.d.ts +0 -3
- package/dist/features/core/modules/domain/entities/RSimulation.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStore.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStream.d.ts +3 -1
- package/dist/features/core/modules/domain/entities/RStyle.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RType.d.ts +0 -1
- package/dist/features/core/modules/domain/entities/RUpdate.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RVersion.d.ts +3 -2
- package/dist/features/core/modules/domain/entities/RVocabs.d.ts +6 -2
- package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +3 -1
- package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +6 -2
- package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +0 -39
- package/dist/features/core/modules/domain/types/component/component.types.d.ts +0 -6
- package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +0 -67
- package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +0 -37
- package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +0 -127
- package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +0 -7
- package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +0 -4
- package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +0 -25
- package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +0 -11
- package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +0 -12
- package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +0 -7
- package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +0 -23
- package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +0 -3
- package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +0 -1
- package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +0 -4
- package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +0 -1
- package/dist/features/core/modules/domain/types/document/document.types.d.ts +0 -20
- package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +0 -4
- package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +0 -10
- package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +0 -8
- package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +0 -5
- package/dist/features/core/modules/domain/types/document/filter.types.d.ts +0 -8
- package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +0 -2
- package/dist/features/core/modules/domain/types/document/query.types.d.ts +0 -8
- package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +33 -11
- package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +0 -1
- package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +6 -2
- package/dist/features/core/modules/events/domain/events.types.d.ts +0 -4
- package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +33 -11
- package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +0 -5
- package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +0 -4
- package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +0 -5
- package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +0 -1
- package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +24 -16
- package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +3 -1
- package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +3 -1
- package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +12 -4
- package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +6 -2
- package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +0 -4
- package/dist/features/core/modules/inspection/types/inspection.types.d.ts +0 -1
- package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +30 -10
- package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +3 -9
- package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +69 -23
- package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +0 -1
- package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +0 -4
- package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +0 -11
- package/dist/features/core/modules/program/domain/types/program.types.d.ts +0 -109
- package/dist/features/core/modules/program/tools/execution-bundle.d.ts +0 -2
- package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +0 -1
- package/dist/features/core/modules/program/tools/restore-program-source.d.ts +0 -1
- package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +18 -6
- package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +7 -11
- package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +100 -33
- package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +3 -1
- package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +21 -11
- package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +0 -25
- package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +11 -63
- package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +0 -3
- package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +2 -33
- package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +3 -1
- package/dist/features/core/modules/runtime/RuntimeScope.d.ts +3 -1
- package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +39 -22
- package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +0 -4
- package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +0 -13
- package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +0 -12
- package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +1 -118
- package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +0 -2
- package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +0 -17
- package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +0 -2
- package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +0 -14
- package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +0 -16
- package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +0 -6
- package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +0 -4
- package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +0 -1
- package/dist/features/core/modules/runtime/domain/table.types.d.ts +0 -11
- package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +0 -9
- package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +6 -3
- package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +72 -24
- package/dist/features/core/modules/runtime/execution/endge-query.d.ts +9 -3
- package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +0 -1
- package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +3 -1
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +7 -4
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +1 -1
- package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +0 -4
- package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +93 -31
- package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +90 -30
- package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +21 -7
- package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +12 -4
- package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +33 -11
- package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +9 -3
- package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +8 -12
- package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +0 -1
- package/dist/features/core/modules/runtime/operation/operation-history.d.ts +6 -2
- package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +12 -4
- package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +21 -7
- package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +0 -1
- package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +3 -1
- package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +6 -2
- package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +0 -3
- package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +0 -1
- package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +0 -1
- package/dist/features/core/modules/source/EndgeSource_Module.d.ts +81 -27
- package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +0 -42
- package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +0 -7
- package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +0 -1
- package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +0 -12
- package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +0 -10
- package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +0 -42
- package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +0 -1
- package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +0 -6
- package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +0 -81
- package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +0 -19
- package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +0 -3
- package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +0 -4
- package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +0 -11
- package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +0 -2
- package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +3 -1
- package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +12 -4
- package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +0 -4
- package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +0 -4
- package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +0 -2
- package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +0 -1
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +0 -1
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-activation.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +0 -2
- package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +0 -1
- package/dist/features/core/modules/source/services/composition-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/document-metadata.d.ts +0 -2
- package/dist/features/core/modules/source/services/filter-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +0 -7
- package/dist/features/core/modules/source/services/query-source-patch.d.ts +0 -2
- package/dist/features/core/modules/source/services/source-document-reference.d.ts +0 -9
- package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +0 -2
- package/dist/features/core/modules/source/services/source-language-syntax.d.ts +0 -1
- package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +15 -5
- package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +15 -5
- package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +12 -4
- package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +3 -1
- package/dist/features/core/modules/source/services/type-source-references.d.ts +0 -4
- package/dist/features/core/modules/source/services/type-source-serialize.d.ts +0 -2
- package/dist/features/core/modules/source/services/typescript-type-source.d.ts +0 -2
- package/dist/features/core/modules/source/services/value-expression-language.d.ts +0 -1
- package/dist/features/core/modules/source/services/value-expression-operations.d.ts +0 -1
- package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/filter.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/query.default.source.d.ts +0 -2
- package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +0 -1
- package/dist/features/core/modules/source/templates/type.default.source.d.ts +0 -1
- package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +12 -4
- package/dist/features/core/modules/styles/domain/types/style.types.d.ts +0 -7
- package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +3 -1
- package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +18 -6
- package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +0 -9
- package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +0 -8
- package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +39 -13
- package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +0 -2
- package/dist/features/core/modules/ui/ui-composition.config.d.ts +0 -1
- package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +3 -1
- package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +97 -34
- package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +0 -3
- package/dist/features/federation/EndgeFederation.d.ts +33 -11
- package/dist/features/federation/EndgeModule.d.ts +0 -1
- package/dist/features/federation/constants/federation.constants.d.ts +0 -1
- package/dist/features/federation/services/EndgeModuleController.d.ts +0 -2
- package/dist/features/federation/tools/endge-token.d.ts +0 -1
- package/dist/features/federation/types/endge-modules.types.d.ts +0 -5
- package/dist/features/federation/types/federation.types.d.ts +0 -12
- package/dist/features/federation/types/forge.types.d.ts +0 -6
- package/package.json +8 -3
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { RComponentSFC_SourceRange } from './location.types';
|
|
2
2
|
import { RComponentDiagnostic } from '../component-core.types';
|
|
3
3
|
import { ProgramMetadataMap } from '../../../../program/domain/types/program-metadata.types';
|
|
4
|
-
/** Read-модель defineMetadata уровня компонента на основе Source. */
|
|
5
4
|
export interface ComponentSFCMetadataVisualProjection {
|
|
6
5
|
mode: 'missing' | 'static' | 'invalid' | 'duplicate';
|
|
7
6
|
editable: boolean;
|
|
@@ -10,7 +9,6 @@ export interface ComponentSFCMetadataVisualProjection {
|
|
|
10
9
|
sourceRange: RComponentSFC_SourceRange | null;
|
|
11
10
|
message?: string;
|
|
12
11
|
}
|
|
13
|
-
/** Результат замены или вставки defineMetadata уровня компонента. */
|
|
14
12
|
export interface ComponentSFCMetadataSourcePatchResult {
|
|
15
13
|
ok: boolean;
|
|
16
14
|
source: string;
|
|
@@ -9,12 +9,10 @@ export interface ComponentSFCPortsSourceProjection {
|
|
|
9
9
|
sourceRange?: RComponentSFC_SourceRange;
|
|
10
10
|
diagnostics: RComponentDiagnostic[];
|
|
11
11
|
}
|
|
12
|
-
/** Сохраняющий Source CRUD для визуальных редакторов Ports и Events. */
|
|
13
12
|
export type ComponentSFCPortsSourcePatch = {
|
|
14
13
|
type: 'upsert-port';
|
|
15
14
|
role: ComponentSFCPortRole;
|
|
16
15
|
name: string;
|
|
17
|
-
/** Полное выражение фабрики, например `event<RowEvent>()`. */
|
|
18
16
|
declaration: string;
|
|
19
17
|
} | {
|
|
20
18
|
type: 'remove-port';
|
|
@@ -25,14 +23,12 @@ export type ComponentSFCPortsSourcePatch = {
|
|
|
25
23
|
name: string;
|
|
26
24
|
payloadType: string;
|
|
27
25
|
from?: ComponentSFCEventSource | null;
|
|
28
|
-
/** Исходное выражение Action: `{ identity: ... }` или `typescript({...})`. */
|
|
29
26
|
actionSource?: string | null;
|
|
30
27
|
} | {
|
|
31
28
|
type: 'remove-event-action';
|
|
32
29
|
name: string;
|
|
33
30
|
} | {
|
|
34
31
|
type: 'set-forward';
|
|
35
|
-
/** Исходное значение `forward`; null удаляет секцию. */
|
|
36
32
|
declaration: string | null;
|
|
37
33
|
};
|
|
38
34
|
export interface ComponentSFCPortsSourcePatchResult {
|
|
@@ -4,7 +4,6 @@ import { RComponentContractInput } from '../component-core.types';
|
|
|
4
4
|
export type ComponentSFCPortRole = 'require' | 'provides' | 'emits';
|
|
5
5
|
export type ComponentSFCPortKind = 'computation' | 'component' | 'action' | 'query' | 'event';
|
|
6
6
|
export type ComponentSFCRequiredPortKind = Exclude<ComponentSFCPortKind, 'event'>;
|
|
7
|
-
/** Публичный дочерний порт, выбранный правилом `definePorts.forward` при компиляции. */
|
|
8
7
|
export interface ComponentSFCPortForwardOrigin {
|
|
9
8
|
nodeId: string;
|
|
10
9
|
ref?: string;
|
|
@@ -12,21 +11,18 @@ export interface ComponentSFCPortForwardOrigin {
|
|
|
12
11
|
componentTag: string;
|
|
13
12
|
portName: string;
|
|
14
13
|
}
|
|
15
|
-
/** Нормализованный селектор одного направления порта внутри правила forward. */
|
|
16
14
|
export interface ComponentSFCPortForwardSelector {
|
|
17
15
|
include: '*' | string[];
|
|
18
16
|
exclude: string[];
|
|
19
17
|
rename: Record<string, string>;
|
|
20
18
|
namespace?: 'none' | 'ref' | string;
|
|
21
19
|
}
|
|
22
|
-
/** Правило перенаправления времени компиляции, сохранённое в артефакте Component SFC. */
|
|
23
20
|
export interface ComponentSFCPortForwardRule {
|
|
24
21
|
from: '*' | string[];
|
|
25
22
|
ports: Partial<Record<ComponentSFCPortRole, ComponentSFCPortForwardSelector>>;
|
|
26
23
|
namespace: 'none' | 'ref' | string;
|
|
27
24
|
sourceRange?: RComponentSFC_SourceRange;
|
|
28
25
|
}
|
|
29
|
-
/** Описатель провайдера по умолчанию, предоставляемый границей сборки домена. */
|
|
30
26
|
export type ComponentSFCPortProviderDescriptor = {
|
|
31
27
|
kind: 'computation';
|
|
32
28
|
identity: string;
|
|
@@ -67,7 +63,6 @@ export type ComponentSFCPortProviderDescriptor = {
|
|
|
67
63
|
inputs: RComponentContractInput[];
|
|
68
64
|
outputs: RComponentContractInput[];
|
|
69
65
|
};
|
|
70
|
-
/** Порт Computation, объявленный через `computation<Input, Output>`. */
|
|
71
66
|
export interface ComponentSFCComputationPort {
|
|
72
67
|
kind: 'computation';
|
|
73
68
|
name: string;
|
|
@@ -77,7 +72,6 @@ export interface ComponentSFCComputationPort {
|
|
|
77
72
|
forwardedFrom?: ComponentSFCPortForwardOrigin;
|
|
78
73
|
sourceRange?: RComponentSFC_SourceRange;
|
|
79
74
|
}
|
|
80
|
-
/** Порт Component, объявленный через `component<Props>`. */
|
|
81
75
|
export interface ComponentSFCComponentPort {
|
|
82
76
|
kind: 'component';
|
|
83
77
|
name: string;
|
|
@@ -88,7 +82,6 @@ export interface ComponentSFCComponentPort {
|
|
|
88
82
|
forwardedFrom?: ComponentSFCPortForwardOrigin;
|
|
89
83
|
sourceRange?: RComponentSFC_SourceRange;
|
|
90
84
|
}
|
|
91
|
-
/** Вызываемый Action, требуемый извне или предоставляемый этим компонентом. */
|
|
92
85
|
export interface ComponentSFCActionPort {
|
|
93
86
|
kind: 'action';
|
|
94
87
|
role: 'require' | 'provides';
|
|
@@ -99,7 +92,6 @@ export interface ComponentSFCActionPort {
|
|
|
99
92
|
forwardedFrom?: ComponentSFCPortForwardOrigin;
|
|
100
93
|
sourceRange?: RComponentSFC_SourceRange;
|
|
101
94
|
}
|
|
102
|
-
/** Вызываемый Query, требуемый компонентом. */
|
|
103
95
|
export interface ComponentSFCQueryPort {
|
|
104
96
|
kind: 'query';
|
|
105
97
|
name: string;
|
|
@@ -111,34 +103,27 @@ export interface ComponentSFCQueryPort {
|
|
|
111
103
|
forwardedFrom?: ComponentSFCPortForwardOrigin;
|
|
112
104
|
sourceRange?: RComponentSFC_SourceRange;
|
|
113
105
|
}
|
|
114
|
-
/** Одно статическое переопределение провайдера для вызова смонтированного дочернего Component SFC. */
|
|
115
106
|
export interface ComponentSFCRequiredPortBinding {
|
|
116
107
|
port: string;
|
|
117
108
|
kind: ComponentSFCRequiredPortKind;
|
|
118
109
|
identity: string;
|
|
119
110
|
sourceRange?: RComponentSFC_SourceRange;
|
|
120
111
|
}
|
|
121
|
-
/** Многоадресное уведомление, создаваемое этим компонентом. */
|
|
122
112
|
export interface ComponentSFCEventPort {
|
|
123
113
|
kind: 'event';
|
|
124
114
|
role: 'emits';
|
|
125
115
|
name: string;
|
|
126
|
-
/** Читаемая человеком метка каталога. Идентичность по-прежнему основана на `name`. */
|
|
127
116
|
displayName?: string;
|
|
128
117
|
payloadType: string;
|
|
129
|
-
/** Необязательный локальный producer, Event которого повторно публикует этот компонент. */
|
|
130
118
|
from?: ComponentSFCEventSource;
|
|
131
|
-
/** Необязательная реакция, выполняемая после публикации возникновения Event. */
|
|
132
119
|
action?: ComponentSFCEventAction;
|
|
133
120
|
forwardedFrom?: ComponentSFCPortForwardOrigin;
|
|
134
121
|
sourceRange?: RComponentSFC_SourceRange;
|
|
135
122
|
}
|
|
136
|
-
/** Литеральная ссылка на дочерний Event для `event({ from })`. */
|
|
137
123
|
export interface ComponentSFCEventSource {
|
|
138
124
|
ref: string;
|
|
139
125
|
event: string;
|
|
140
126
|
}
|
|
141
|
-
/** Безопасное нейтральное к renderer выражение, сопоставленное со входом реакции Event. */
|
|
142
127
|
export type ComponentSFCEventInputValue = {
|
|
143
128
|
kind: 'event';
|
|
144
129
|
path: string | null;
|
|
@@ -168,31 +153,26 @@ export interface ComponentSFCEventInputEntry {
|
|
|
168
153
|
key: string | ComponentSFCEventInputValue;
|
|
169
154
|
value: ComponentSFCEventInputValue;
|
|
170
155
|
}
|
|
171
|
-
/** Один Action, выбранный непосредственно в Source Component SFC. */
|
|
172
156
|
export interface ComponentSFCEventDirectAction {
|
|
173
157
|
kind: 'action';
|
|
174
158
|
identity: string;
|
|
175
159
|
input?: ComponentSFCEventInputValue;
|
|
176
160
|
}
|
|
177
|
-
/** Один Query, выбранный непосредственно в Source Component SFC. */
|
|
178
161
|
export interface ComponentSFCEventDirectQuery {
|
|
179
162
|
kind: 'query';
|
|
180
163
|
identity: string;
|
|
181
164
|
input?: ComponentSFCEventInputValue;
|
|
182
165
|
}
|
|
183
|
-
/** Изолированная реакция TypeScript. Её результатом является проверенный список эффектов. */
|
|
184
166
|
export interface ComponentSFCEventTypescriptAction {
|
|
185
167
|
kind: 'typescript';
|
|
186
168
|
inputs: Record<string, {
|
|
187
169
|
kind: 'event';
|
|
188
170
|
path: string | null;
|
|
189
171
|
}>;
|
|
190
|
-
/** Исходное выражение `typescript({...})` для двусторонней проекции Source и редактора. */
|
|
191
172
|
definitionSource?: string;
|
|
192
173
|
source: string;
|
|
193
174
|
emittedEvents: string[];
|
|
194
175
|
}
|
|
195
|
-
/** Безопасный локальный emit из template reaction. */
|
|
196
176
|
export interface ComponentSFCEventEmitAction {
|
|
197
177
|
kind: 'emit';
|
|
198
178
|
event: string;
|
|
@@ -206,7 +186,6 @@ export interface ComponentSFCEventOperationBlock {
|
|
|
206
186
|
steps: ComponentSFCEventOperationBlockStep[];
|
|
207
187
|
output: string | null;
|
|
208
188
|
}
|
|
209
|
-
/** Inline-алгоритм с отменой, скомпилированный из одной реакции Component SFC. */
|
|
210
189
|
export interface ComponentSFCEventOperationAction {
|
|
211
190
|
kind: 'operation';
|
|
212
191
|
input?: ComponentSFCEventInputValue;
|
|
@@ -214,7 +193,6 @@ export interface ComponentSFCEventOperationAction {
|
|
|
214
193
|
undo: ComponentSFCEventOperationBlock;
|
|
215
194
|
redo: ComponentSFCEventOperationBlock | null;
|
|
216
195
|
}
|
|
217
|
-
/** Вызывает один обязательный исполняемый порт через фактический провайдер экземпляра. */
|
|
218
196
|
export interface ComponentSFCEventRequiredPortAction {
|
|
219
197
|
kind: 'required-port';
|
|
220
198
|
portKind: 'action' | 'query';
|
|
@@ -251,7 +229,6 @@ export interface ComponentSFCProvidedPorts {
|
|
|
251
229
|
export interface ComponentSFCEmittedPorts {
|
|
252
230
|
events: ComponentSFCEventPort[];
|
|
253
231
|
}
|
|
254
|
-
/** Типизированный манифест портов в скомпилированном артефакте ComponentSFC. */
|
|
255
232
|
export interface ComponentSFCPortManifest {
|
|
256
233
|
require: ComponentSFCRequiredPorts;
|
|
257
234
|
provides: ComponentSFCProvidedPorts;
|
|
@@ -260,7 +237,6 @@ export interface ComponentSFCPortManifest {
|
|
|
260
237
|
rules: ComponentSFCPortForwardRule[];
|
|
261
238
|
};
|
|
262
239
|
}
|
|
263
|
-
/** Одно локальное значение верхнего уровня, инициализированное вызовом порта computation. */
|
|
264
240
|
export interface RComponentSFC_IR_PortCall {
|
|
265
241
|
kind: 'computation';
|
|
266
242
|
local: string;
|
|
@@ -269,7 +245,6 @@ export interface RComponentSFC_IR_PortCall {
|
|
|
269
245
|
input: RComponentSFC_IR_Value;
|
|
270
246
|
sourceRange?: RComponentSFC_SourceRange;
|
|
271
247
|
}
|
|
272
|
-
/** Маркер вложенного узла Component IR, созданного из локального порта компонента. */
|
|
273
248
|
export interface RComponentSFC_IR_ComponentPortMarker {
|
|
274
249
|
kind: 'component';
|
|
275
250
|
port: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { RComponentSFC_IR_Prop } from './ir.types';
|
|
2
2
|
import { RComponentSFC_SourceRange } from './location.types';
|
|
3
3
|
import { RComponentDiagnostic } from '../component-core.types';
|
|
4
|
-
/** Основанная на Source проекция публичного контракта props SFC для визуальных редакторов. */
|
|
5
4
|
export interface ComponentSFCPropsVisualProjection {
|
|
6
5
|
mode: 'missing' | 'inline-type' | 'named-type' | 'runtime';
|
|
7
6
|
editable: boolean;
|
|
@@ -9,7 +8,6 @@ export interface ComponentSFCPropsVisualProjection {
|
|
|
9
8
|
sourceRange: RComponentSFC_SourceRange | null;
|
|
10
9
|
message?: string;
|
|
11
10
|
}
|
|
12
|
-
/** Результат замены редактируемого inline-контракта defineProps. */
|
|
13
11
|
export interface ComponentSFCPropsSourcePatchResult {
|
|
14
12
|
ok: boolean;
|
|
15
13
|
source: string;
|
|
@@ -1,26 +1,15 @@
|
|
|
1
|
-
/** Секция source, которую пользователь видит как вкладку script. */
|
|
2
1
|
export interface RComponentSFCSource_Script {
|
|
3
|
-
/** Содержимое <script setup>. */
|
|
4
2
|
content: string;
|
|
5
3
|
}
|
|
6
|
-
/** Секция source, которую пользователь видит как вкладку template. */
|
|
7
4
|
export interface RComponentSFCSource_Template {
|
|
8
|
-
/** Содержимое <template>. */
|
|
9
5
|
content: string;
|
|
10
6
|
}
|
|
11
|
-
/** Секция source, которую пользователь видит как вкладку style. */
|
|
12
7
|
export interface RComponentSFCSource_Style {
|
|
13
|
-
/** Содержимое <style>. */
|
|
14
8
|
content: string;
|
|
15
|
-
/** Флаг scoped-стилей в духе Vue/Nova SFC. */
|
|
16
9
|
scoped: boolean;
|
|
17
10
|
}
|
|
18
|
-
/** Разложенное представление SFC для вкладок конфигуратора. */
|
|
19
11
|
export interface RComponentSFCSource_Parts {
|
|
20
|
-
/** Script-секция компонента. */
|
|
21
12
|
script: RComponentSFCSource_Script;
|
|
22
|
-
/** Template-секция компонента. */
|
|
23
13
|
template: RComponentSFCSource_Template;
|
|
24
|
-
/** Style-секция компонента. */
|
|
25
14
|
style: RComponentSFCSource_Style;
|
|
26
15
|
}
|
package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts
CHANGED
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
/** Статическое значение атрибута, которое можно безопасно предлагать в Source Editor. */
|
|
2
1
|
export type ComponentSFCTagAttributeLiteral = string | number | boolean;
|
|
3
|
-
/** Renderer-neutral контракт атрибута встроенного SFC tag с конечным набором значений. */
|
|
4
2
|
export interface ComponentSFCTagAttributeContract {
|
|
5
|
-
/** Каноническое имя для нового source. */
|
|
6
3
|
name: string;
|
|
7
|
-
/** Совместимые имена, которые уже принимает compiler/runtime. */
|
|
8
4
|
aliases?: readonly string[];
|
|
9
|
-
/** Полный набор допустимых статических значений. */
|
|
10
5
|
values: readonly ComponentSFCTagAttributeLiteral[];
|
|
11
|
-
/** Значение, которое применяется при отсутствии атрибута. */
|
|
12
6
|
defaultValue?: ComponentSFCTagAttributeLiteral;
|
|
13
|
-
/** Краткое описание для completion и hover. */
|
|
14
7
|
description: string;
|
|
15
|
-
/** false, когда более контекстная проверка уже выполняется compiler-ом. */
|
|
16
8
|
validate?: boolean;
|
|
17
9
|
}
|
|
18
|
-
/** Дополнительные контракты tag, например literal-union props пользовательского компонента. */
|
|
19
10
|
export interface ComponentSFCAttributeAnalysisOptions {
|
|
20
11
|
resolveTagAttributeContracts?: (tag: string) => readonly ComponentSFCTagAttributeContract[] | null | undefined;
|
|
21
12
|
}
|
|
@@ -36,7 +27,6 @@ export declare const ENDGE_SFC_DIVIDER_ORIENTATIONS: readonly ["horizontal", "ve
|
|
|
36
27
|
export declare const ENDGE_SFC_INPUT_TYPES: readonly ["String", "Number", "Date", "Time", "DateTime"];
|
|
37
28
|
export declare const ENDGE_SFC_TOOLTIP_SIDES: readonly ["top", "right", "bottom", "left"];
|
|
38
29
|
export declare const ENDGE_SFC_TOOLTIP_ALIGNS: readonly ["start", "center", "end"];
|
|
39
|
-
/** Конечные значения встроенных SFC tags. Свободные string/number props сюда не входят. */
|
|
40
30
|
export declare const ENDGE_SFC_TAG_ATTRIBUTE_CONTRACTS: {
|
|
41
31
|
readonly Table: readonly [{
|
|
42
32
|
readonly name: "selection-mode";
|
|
@@ -146,7 +136,5 @@ export declare const ENDGE_SFC_TAG_ATTRIBUTE_CONTRACTS: {
|
|
|
146
136
|
readonly description: "Выравнивание tooltip относительно trigger.";
|
|
147
137
|
}];
|
|
148
138
|
};
|
|
149
|
-
/** Возвращает строгие контракты атрибутов одного встроенного SFC tag. */
|
|
150
139
|
export declare function getComponentSFCTagAttributeContracts(tag: string): readonly ComponentSFCTagAttributeContract[];
|
|
151
|
-
/** Находит строгий контракт по каноническому или совместимому имени атрибута. */
|
|
152
140
|
export declare function getComponentSFCTagAttributeContract(tag: string, attributeName: string): ComponentSFCTagAttributeContract | null;
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import { RComponentSFC_IR_Tag } from './ir.types';
|
|
2
2
|
import { RComponentContractInput } from '../component-core.types';
|
|
3
|
-
/** Публичный входной параметр renderer-neutral встроенного SFC tag. */
|
|
4
3
|
export type ComponentSFCTagInputContract = Readonly<RComponentContractInput> & {
|
|
5
|
-
/** Допустимые SFC spelling aliases для одного renderer-facing параметра. */
|
|
6
4
|
aliases?: readonly string[];
|
|
7
5
|
};
|
|
8
|
-
/**
|
|
9
|
-
* Data-facing входы встроенных tags для source-aware visual editors.
|
|
10
|
-
* Presentation-атрибуты остаются в отдельном редакторе атрибутов.
|
|
11
|
-
*/
|
|
12
6
|
export declare const ENDGE_SFC_TAG_INPUT_CONTRACTS: {
|
|
13
7
|
readonly Text: readonly [{
|
|
14
8
|
readonly name: "value";
|
|
@@ -214,5 +208,4 @@ export declare const ENDGE_SFC_TAG_INPUT_CONTRACTS: {
|
|
|
214
208
|
readonly optional: true;
|
|
215
209
|
}];
|
|
216
210
|
};
|
|
217
|
-
/** Возвращает публичные data-входы встроенного SFC tag. */
|
|
218
211
|
export declare function getComponentSFCTagInputContract(tag: RComponentSFC_IR_Tag): readonly ComponentSFCTagInputContract[];
|
|
@@ -3,7 +3,6 @@ import { RComponentSFC_SourceRange } from './location.types';
|
|
|
3
3
|
import { EndgeSFCEditingConfiguration } from '../../../../configuration/domain/types/configuration.type';
|
|
4
4
|
import { RComponentDiagnostic } from '../component-core.types';
|
|
5
5
|
import { TypeSourceDefinition } from '../../../../source/domain/types/type-source.types';
|
|
6
|
-
/** Значение SFC source, подготовленное для безопасного отображения в visual editor. */
|
|
7
6
|
export type ComponentSFCVisualSourceValue = {
|
|
8
7
|
kind: 'boolean';
|
|
9
8
|
value: boolean;
|
|
@@ -14,17 +13,14 @@ export type ComponentSFCVisualSourceValue = {
|
|
|
14
13
|
kind: 'expression';
|
|
15
14
|
source: string;
|
|
16
15
|
};
|
|
17
|
-
/** Один attribute исходного SFC-узла без привязки к конкретному UI framework. */
|
|
18
16
|
export interface ComponentSFCVisualAttribute {
|
|
19
17
|
name: string;
|
|
20
18
|
value: ComponentSFCVisualSourceValue;
|
|
21
19
|
sourceRange?: RComponentSFC_SourceRange;
|
|
22
20
|
}
|
|
23
|
-
/** Редактируемый prop binding единственного управляемого элемента колонки Table. */
|
|
24
21
|
export type ComponentSFCTableCellBindingProjection = ComponentSFCVisualAttribute;
|
|
25
22
|
export type ComponentSFCTableCellInteractionModifier = 'ctrl' | 'shift' | 'alt' | 'meta' | 'mod' | 'altGraph' | 'exact';
|
|
26
23
|
export type ComponentSFCTableCellInteractionFlag = 'stop' | 'prevent' | 'self' | 'once' | 'capture' | 'passive';
|
|
27
|
-
/** UI-neutral projection одного статически разбираемого trigger взаимодействия. */
|
|
28
24
|
export interface ComponentSFCInteractionTriggerProjection {
|
|
29
25
|
event: string;
|
|
30
26
|
key: string[];
|
|
@@ -41,11 +37,9 @@ export interface ComponentSFCInteractionTriggerProjection {
|
|
|
41
37
|
button: number | null;
|
|
42
38
|
flags: Partial<Record<ComponentSFCTableCellInteractionFlag, boolean>>;
|
|
43
39
|
}
|
|
44
|
-
/** UI-neutral projection одного статически разбираемого правила Cell `:on`. */
|
|
45
40
|
export interface ComponentSFCTableCellInteractionRuleProjection extends ComponentSFCInteractionTriggerProjection {
|
|
46
41
|
reactionSource: string;
|
|
47
42
|
}
|
|
48
|
-
/** Source-preserving read-model взаимодействий Cell для visual editor таблицы. */
|
|
49
43
|
export interface ComponentSFCTableCellInteractionsProjection {
|
|
50
44
|
editable: boolean;
|
|
51
45
|
rules: ComponentSFCTableCellInteractionRuleProjection[];
|
|
@@ -53,7 +47,6 @@ export interface ComponentSFCTableCellInteractionsProjection {
|
|
|
53
47
|
sourceRange?: RComponentSFC_SourceRange;
|
|
54
48
|
message?: string;
|
|
55
49
|
}
|
|
56
|
-
/** Source-backed локальная reaction одного semantic Event. */
|
|
57
50
|
export interface ComponentSFCEventReactionProjection {
|
|
58
51
|
editable: boolean;
|
|
59
52
|
source: string | null;
|
|
@@ -82,7 +75,6 @@ export type ComponentSFCTableEditableElementProjection = {
|
|
|
82
75
|
} | {
|
|
83
76
|
kind: 'source';
|
|
84
77
|
};
|
|
85
|
-
/** Source-backed editable-поведение единственного управляемого корня ячейки Table. */
|
|
86
78
|
export interface ComponentSFCTableCellEditingProjection {
|
|
87
79
|
editable: boolean;
|
|
88
80
|
enabled: boolean;
|
|
@@ -99,7 +91,6 @@ export interface ComponentSFCTableCellEditingProjection {
|
|
|
99
91
|
sourceRange?: RComponentSFC_SourceRange;
|
|
100
92
|
message?: string;
|
|
101
93
|
}
|
|
102
|
-
/** Способ, которым содержимое ячейки представлено в простом visual editor. */
|
|
103
94
|
export type ComponentSFCTableVisualCellTag = Exclude<RComponentSFC_IR_Tag, 'Component' | 'Table' | 'Column' | 'Cell' | 'ColumnMenu' | 'CellMenu' | 'RowMenu' | 'MenuItem' | 'MenuSeparator' | 'Editable' | 'Variant'>;
|
|
104
95
|
export type ComponentSFCTableCellProjection = {
|
|
105
96
|
kind: 'default';
|
|
@@ -116,16 +107,12 @@ export type ComponentSFCTableCellProjection = {
|
|
|
116
107
|
} | {
|
|
117
108
|
kind: 'source';
|
|
118
109
|
};
|
|
119
|
-
/** Контекст реестра для разрешения прямых тегов пользовательских компонентов при чтении Source. */
|
|
120
110
|
export interface ComponentSFCVisualInspectionOptions {
|
|
121
111
|
resolveComponentTag?: (tag: string) => string | null;
|
|
122
112
|
resolveTypeDefinition?: (identity: string) => TypeSourceDefinition | null;
|
|
123
|
-
/** Идентификаторы прямых Action, доступные bindings MenuItem из Source. */
|
|
124
113
|
actionIdentities?: Iterable<string>;
|
|
125
|
-
/** Effective editing defaults текущего compiler context. */
|
|
126
114
|
sfcEditing?: EndgeSFCEditingConfiguration;
|
|
127
115
|
}
|
|
128
|
-
/** Visual read-model одной прямой Column внутри корневого Table. */
|
|
129
116
|
export interface ComponentSFCTableColumnProjection {
|
|
130
117
|
id: string;
|
|
131
118
|
index: number;
|
|
@@ -140,7 +127,6 @@ export interface ComponentSFCTableColumnProjection {
|
|
|
140
127
|
cell: ComponentSFCTableCellProjection;
|
|
141
128
|
editing: ComponentSFCTableCellEditingProjection;
|
|
142
129
|
interactions: ComponentSFCTableCellInteractionsProjection;
|
|
143
|
-
/** Переопределение CellMenu уровня Column; режим по умолчанию наследует Table > CellMenu. */
|
|
144
130
|
cellMenu: ComponentSFCTableMenuProjection;
|
|
145
131
|
hasCustomCell: boolean;
|
|
146
132
|
cellSource: string | null;
|
|
@@ -175,7 +161,6 @@ export interface ComponentSFCTableMenuProjection {
|
|
|
175
161
|
items: ComponentSFCTableMenuNodeProjection[];
|
|
176
162
|
sourceRange?: RComponentSFC_SourceRange;
|
|
177
163
|
}
|
|
178
|
-
/** Минимальные source-preserving операции visual editor таблицы. */
|
|
179
164
|
export type ComponentSFCTableSourcePatch = {
|
|
180
165
|
type: 'add-column';
|
|
181
166
|
title?: string;
|
|
@@ -215,7 +200,6 @@ export type ComponentSFCTableSourcePatch = {
|
|
|
215
200
|
} | {
|
|
216
201
|
type: 'set-column-cell-on';
|
|
217
202
|
columnIndex: number;
|
|
218
|
-
/** Полное выражение объекта или массива либо null для удаления аннотации. */
|
|
219
203
|
value: string | null;
|
|
220
204
|
} | {
|
|
221
205
|
type: 'set-column-cell-editable';
|
|
@@ -224,22 +208,18 @@ export type ComponentSFCTableSourcePatch = {
|
|
|
224
208
|
} | {
|
|
225
209
|
type: 'set-column-cell-edit-triggers';
|
|
226
210
|
columnIndex: number;
|
|
227
|
-
/** Пустой список восстанавливает неявный trigger клика и удаляет edit-on из Source. */
|
|
228
211
|
triggers: ComponentSFCInteractionTriggerProjection[];
|
|
229
212
|
} | {
|
|
230
213
|
type: 'set-column-cell-edited-reaction';
|
|
231
214
|
columnIndex: number;
|
|
232
|
-
/** Полное выражение локальной реакции либо null для удаления @edited. */
|
|
233
215
|
value: string | null;
|
|
234
216
|
} | {
|
|
235
217
|
type: 'set-column-cell-cancel-triggers';
|
|
236
218
|
columnIndex: number;
|
|
237
|
-
/** Null наследует фактическую конфигурацию; пустой список явно отключает автоматическую отмену. */
|
|
238
219
|
triggers: ComponentSFCInteractionTriggerProjection[] | null;
|
|
239
220
|
} | {
|
|
240
221
|
type: 'set-column-cell-commit-triggers';
|
|
241
222
|
columnIndex: number;
|
|
242
|
-
/** Null наследует фактическую конфигурацию; пустой список явно отключает автоматическое подтверждение. */
|
|
243
223
|
triggers: ComponentSFCInteractionTriggerProjection[] | null;
|
|
244
224
|
} | {
|
|
245
225
|
type: 'set-column-cell-editor-component';
|
|
@@ -285,7 +265,6 @@ export type ComponentSFCTableSourcePatch = {
|
|
|
285
265
|
value: string | null;
|
|
286
266
|
valueKind: 'expression' | 'literal';
|
|
287
267
|
};
|
|
288
|
-
/** Результат точечного изменения SFC Table source. */
|
|
289
268
|
export interface ComponentSFCTableSourcePatchResult {
|
|
290
269
|
ok: boolean;
|
|
291
270
|
source: string;
|
|
@@ -294,7 +273,6 @@ export interface ComponentSFCTableSourcePatchResult {
|
|
|
294
273
|
diagnostics: RComponentDiagnostic[];
|
|
295
274
|
message?: string;
|
|
296
275
|
}
|
|
297
|
-
/** Visual read-model SFC, template которого содержит один корневой Table. */
|
|
298
276
|
export interface ComponentSFCTableVisualProjection {
|
|
299
277
|
kind: 'table';
|
|
300
278
|
ref: ComponentSFCVisualSourceValue | null;
|
|
@@ -321,7 +299,6 @@ export interface ComponentSFCTableVisualProjection {
|
|
|
321
299
|
columns: ComponentSFCTableColumnProjection[];
|
|
322
300
|
sourceRange: RComponentSFC_SourceRange;
|
|
323
301
|
}
|
|
324
|
-
/** Результат выбора специализированного visual editor для SFC source. */
|
|
325
302
|
export interface ComponentSFCVisualInspection {
|
|
326
303
|
support: {
|
|
327
304
|
kind: 'table';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComputationSourceDocument } from './computation-source.types';
|
|
2
2
|
import { SourceExpressionIR } from '../../../source/domain/types/source-expression.types';
|
|
3
|
-
/** Необязательные сохраняемые метаданные; компилятор v1 не сравнивает контракты. */
|
|
4
3
|
export interface ComputationContractField {
|
|
5
4
|
type: string;
|
|
6
5
|
isArray?: boolean;
|
|
@@ -25,9 +24,7 @@ export type ComputationProgramNode = {
|
|
|
25
24
|
identity: string;
|
|
26
25
|
input: SourceExpressionIR;
|
|
27
26
|
};
|
|
28
|
-
/** Готовый для runtime граф, скомпилированный из одного Source-документа defineComputation. */
|
|
29
27
|
export interface ComputationProgramPayload {
|
|
30
|
-
/** Optional parser tree retained for inspection; runtime does not require it. */
|
|
31
28
|
ast?: unknown;
|
|
32
29
|
input: ComputationContractField | null;
|
|
33
30
|
output: ComputationContractField | null;
|
|
@@ -27,14 +27,12 @@ export interface ComputationSandboxAdapter {
|
|
|
27
27
|
execute: (request: ComputationSandboxRequest) => Promise<unknown>;
|
|
28
28
|
dispose?: () => void | Promise<void>;
|
|
29
29
|
}
|
|
30
|
-
/** Shared execution scope одного root computation call. */
|
|
31
30
|
export interface ComputationExecutionScope {
|
|
32
31
|
readonly stack: readonly string[];
|
|
33
32
|
readonly budget: {
|
|
34
33
|
calls: number;
|
|
35
34
|
};
|
|
36
35
|
}
|
|
37
|
-
/** Runtime boundary для вызова compiler-linked computation dependency. */
|
|
38
36
|
export interface ComputationDependencyRunner {
|
|
39
37
|
run: (identity: string, input: unknown, scope: ComputationExecutionScope) => Promise<unknown>;
|
|
40
38
|
runSync: (identity: string, input: unknown, scope: ComputationExecutionScope) => unknown;
|
|
@@ -22,7 +22,6 @@ export type ComputationSourceNode = {
|
|
|
22
22
|
input: SourceExpressionIR;
|
|
23
23
|
sourceRange?: ComputationSourceRange;
|
|
24
24
|
};
|
|
25
|
-
/** Каноническое представление source defineComputation, полученное компилятором. */
|
|
26
25
|
export interface ComputationSourceDocument {
|
|
27
26
|
input: ComputationContractField | null;
|
|
28
27
|
output: ComputationContractField | null;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DomainDocumentType } from './document.types';
|
|
2
|
-
/** Запрос на безопасное создание нового документа без update существующего identity. */
|
|
3
2
|
export type DocumentCreateRequest = {
|
|
4
3
|
documentType: DomainDocumentType;
|
|
5
4
|
identity: string;
|
|
@@ -11,7 +10,6 @@ export type DocumentCreateRequest = {
|
|
|
11
10
|
mode: 'portable';
|
|
12
11
|
document: Record<string, unknown>;
|
|
13
12
|
};
|
|
14
|
-
/** Результат create-flow после регистрации документа в домене. */
|
|
15
13
|
export interface DocumentCreateResult {
|
|
16
14
|
documentType: DomainDocumentType;
|
|
17
15
|
identity: string;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
/** Опции создания доменного черновика без регистрации и сохранения. */
|
|
2
1
|
export interface DocumentDraftOptions {
|
|
3
|
-
/** Стабильный identity для repository и runtime registry. */
|
|
4
2
|
identity: string;
|
|
5
|
-
/** Человекочитаемое имя; по умолчанию используется identity. */
|
|
6
3
|
name?: string;
|
|
7
|
-
/** Необязательная связь с родительской папкой. */
|
|
8
4
|
folderId?: string | number | null;
|
|
9
5
|
}
|
|
@@ -12,7 +12,6 @@ export interface DocumentMetadataDiagnostic {
|
|
|
12
12
|
start?: number;
|
|
13
13
|
end?: number;
|
|
14
14
|
}
|
|
15
|
-
/** Единая read-модель пользовательских metadata документа независимо от backing. */
|
|
16
15
|
export interface DocumentMetadataProjection {
|
|
17
16
|
backing: DocumentMetadataBacking | null;
|
|
18
17
|
mode: 'missing' | 'static' | 'invalid' | 'duplicate';
|
|
@@ -26,7 +25,6 @@ export interface DocumentMetadataProjection {
|
|
|
26
25
|
diagnostics: DocumentMetadataDiagnostic[];
|
|
27
26
|
message?: string;
|
|
28
27
|
}
|
|
29
|
-
/** Результат узкого metadata patch с сохранением второго backing без изменений. */
|
|
30
28
|
export interface DocumentMetadataPatchResult {
|
|
31
29
|
ok: boolean;
|
|
32
30
|
source: string;
|
|
@@ -24,32 +24,21 @@ import { RUpdate } from '../../entities/RUpdate';
|
|
|
24
24
|
import { RVocabs } from '../../entities/RVocabs';
|
|
25
25
|
import { RWorkspace } from '../../entities/RWorkspace';
|
|
26
26
|
import { RComponent } from '../component/component.types';
|
|
27
|
-
/**
|
|
28
|
-
* Разновидности типов компонентов
|
|
29
|
-
*/
|
|
30
27
|
export declare enum ComponentType {
|
|
31
28
|
Component = "component",
|
|
32
|
-
/** Legacy-тип шаблона колонки таблицы; не является отдельным документом. */
|
|
33
29
|
Html = "html",
|
|
34
30
|
DSL = "component-dsl",
|
|
35
31
|
Table = "component-table",
|
|
36
32
|
SFC = "component-sfc"
|
|
37
33
|
}
|
|
38
|
-
/** Тип документа «Фильтр» (коллекция filters). */
|
|
39
34
|
export declare enum FilterType {
|
|
40
35
|
DefaultFilter = "default-filter"
|
|
41
36
|
}
|
|
42
|
-
/**
|
|
43
|
-
* Разновидности типов запросов
|
|
44
|
-
*/
|
|
45
37
|
export declare enum QueryType {
|
|
46
38
|
Custom = "query-custom",
|
|
47
39
|
GraphQL = "query-gql",
|
|
48
40
|
REST = "query-rest"
|
|
49
41
|
}
|
|
50
|
-
/**
|
|
51
|
-
* Вариации секций домена.
|
|
52
|
-
*/
|
|
53
42
|
export declare enum DomainSectionType {
|
|
54
43
|
Workspace = "workspace",
|
|
55
44
|
Primitive = "primitive",
|
|
@@ -62,7 +51,6 @@ export declare enum DomainSectionType {
|
|
|
62
51
|
Store = "store",
|
|
63
52
|
Mock = "mock",
|
|
64
53
|
Action = "action",
|
|
65
|
-
/** Классификация каталога только для frontend; Event не является сохраняемым документом. */
|
|
66
54
|
Event = "event",
|
|
67
55
|
Converter = "converter",
|
|
68
56
|
Computation = "computation",
|
|
@@ -78,19 +66,11 @@ export declare enum DomainSectionType {
|
|
|
78
66
|
I18nBundles = "i18n-bundles",
|
|
79
67
|
AuthProfile = "auth-profile"
|
|
80
68
|
}
|
|
81
|
-
/** Канонический исчерпывающий список типов документов Domain. */
|
|
82
69
|
export declare const DOMAIN_DOCUMENT_TYPES: readonly ["primitive", "type", "action", "converter", "computation", "data-view", "composition", "store", "stream", "simulation", "update", "mock", "integration", "page-template", "page", "navigation", "policy", "style", "configuration", "vocabs", "i18n-bundles", "auth-profile", "workspace", ComponentType.DSL, ComponentType.Table, ComponentType.SFC, QueryType.Custom, QueryType.GraphQL, QueryType.REST, FilterType];
|
|
83
|
-
/** Все возможные типы документов. */
|
|
84
70
|
export type DomainDocumentType = (typeof DOMAIN_DOCUMENT_TYPES)[number];
|
|
85
|
-
/**
|
|
86
|
-
* Описывает любой документ
|
|
87
|
-
*/
|
|
88
71
|
export interface Document {
|
|
89
72
|
type: DomainDocumentType;
|
|
90
73
|
sectionType: DomainSectionType;
|
|
91
74
|
id: string;
|
|
92
75
|
}
|
|
93
|
-
/**
|
|
94
|
-
* Описывает любой документ рефлекцию
|
|
95
|
-
*/
|
|
96
76
|
export type RDocument = RComponent | RComponentSFC | RQuery | RDataView | RComposition | RStore | RStream | RSimulation | RUpdate | RMock | RAction | RConverter | RComputation | RIntegration | RFilter | RPolicy | RStyle | RConfiguration | RType | RVocabs | RI18nBundle | RAuthProfile | RWorkspace | RPageTemplate | RPage | RNavigation;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { EndgeWorkspaceDefinition } from '../../../workspace/domain/workspace.types';
|
|
2
|
-
/** Workspace-конфигурация не содержит credential material. */
|
|
3
2
|
export type EndgeWorkspaceExport = EndgeWorkspaceDefinition;
|
|
4
|
-
/** Persisted-срез домена, который можно восстановить через plain provider. */
|
|
5
3
|
export interface EndgeDomainPlain {
|
|
6
4
|
facets: unknown[];
|
|
7
5
|
facetDocuments: unknown[];
|
|
@@ -32,7 +30,6 @@ export interface EndgeDomainPlain {
|
|
|
32
30
|
pages: unknown[];
|
|
33
31
|
navigations: unknown[];
|
|
34
32
|
}
|
|
35
|
-
/** Коллекции документов канонического snapshot нового backend-сервиса. */
|
|
36
33
|
export interface EndgePortableDocuments {
|
|
37
34
|
'facets': unknown[];
|
|
38
35
|
'facet-documents': unknown[];
|
|
@@ -66,7 +63,6 @@ export interface EndgeInstalledIntegrationExport {
|
|
|
66
63
|
export type EndgePortableWorkspace = Omit<EndgeWorkspaceExport, 'installedIntegrations' | 'dataMode'> & {
|
|
67
64
|
dataMode: 'development' | 'production';
|
|
68
65
|
};
|
|
69
|
-
/** Переносимый workspace snapshot, принимаемый новым backend import API. */
|
|
70
66
|
export interface EndgeDomainBundle {
|
|
71
67
|
schemaVersion: number;
|
|
72
68
|
kind: 'workspace-snapshot';
|