@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,11 +1,19 @@
|
|
|
1
1
|
import { SourceKind, SourcePatchStrategy } from '../domain/types/source-engine.types';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Реестр source patch strategies для editor-facing AST-патчинга.
|
|
4
|
+
*/
|
|
3
5
|
export declare class SourcePatchRegistry {
|
|
4
6
|
private readonly _strategies;
|
|
5
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Регистрирует patch strategy. Повторная регистрация с тем же id заменяет старую.
|
|
9
|
+
*/
|
|
6
10
|
register(strategy: SourcePatchStrategy<any, any>): void;
|
|
7
|
-
/**
|
|
11
|
+
/**
|
|
12
|
+
* Возвращает копию зарегистрированных patch strategies для debug/UI.
|
|
13
|
+
*/
|
|
8
14
|
list(): Array<SourcePatchStrategy<any, any>>;
|
|
9
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Возвращает patch strategy, которая обслуживает указанный source-kind.
|
|
17
|
+
*/
|
|
10
18
|
resolve(sourceKind: SourceKind | string): SourcePatchStrategy<any, any> | null;
|
|
11
19
|
}
|
|
@@ -14,6 +14,5 @@ export interface ActionSourceCompileResult {
|
|
|
14
14
|
diagnostics: DiagnosticDraft[];
|
|
15
15
|
dependencies: ProgramDependency[];
|
|
16
16
|
}
|
|
17
|
-
/** Компилирует один канонический source defineAction в детерминированный последовательный IR. */
|
|
18
17
|
export declare function compileActionSource(input: ActionSourceCompileInput): ActionSourceCompileResult;
|
|
19
18
|
export {};
|
package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { CompositionRuntimeGraph, CompositionSourceCompileResult, CompositionSourceDocument } from '../../domain/types/composition-source.types';
|
|
2
|
-
/** Компилирует Composition source v1 в runtime graph artifact. */
|
|
3
2
|
export declare function compileCompositionSource(source: string, sourceVersion?: number, executionContext?: Readonly<Record<string, string>>): CompositionSourceCompileResult;
|
|
4
|
-
/** Строит normalized graph отдельно от source AST, чтобы runtime не интерпретировал DSL. */
|
|
5
3
|
export declare function buildRuntimeGraph(document: CompositionSourceDocument): CompositionRuntimeGraph;
|
package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import { ConfigurationSourceCompileResult } from '../../domain/types/configuration-source.types';
|
|
2
2
|
import { TypeProgramCatalogEntry } from '../../domain/types/type-source.types';
|
|
3
|
-
/** Разбирает Configuration Source v1 без выполнения пользовательского JavaScript. */
|
|
4
3
|
export declare function compileConfigurationSource(source: string, catalog?: readonly TypeProgramCatalogEntry[]): ConfigurationSourceCompileResult;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { FilterSourceCompileResult } from '../../domain/types/filter-source.types';
|
|
2
|
-
/** Компилирует Filter source v1 в normalized document и artifact payload. */
|
|
3
2
|
export declare function compileFilterSource(source: string, sourceVersion?: number): FilterSourceCompileResult;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { SimulationSourceCompileResult } from '../../domain/types/simulation-source.types';
|
|
2
|
-
/** Разбирает только whitelist Simulation v1, не исполняя authored Source. */
|
|
3
2
|
export declare function compileSimulationSource(source: string, sourceVersion?: number): SimulationSourceCompileResult;
|
|
@@ -2,13 +2,9 @@ import { ProgramDiagnostic } from '../../../program/domain/types/program.types';
|
|
|
2
2
|
import { SourceExpressionIR } from '../../domain/types/source-expression.types';
|
|
3
3
|
import * as t from '@babel/types';
|
|
4
4
|
type DiagnosticDraft = Omit<ProgramDiagnostic, 'entityRef'>;
|
|
5
|
-
/** Компилирует разрешенное source-expression в безопасный IR. */
|
|
6
5
|
export declare function compileSourceExpression(raw: t.Expression | null | undefined, diagnostics: DiagnosticDraft[], sourcePath: string): SourceExpressionIR | null;
|
|
7
|
-
/** Публичный alias: SourceExpression и ValueExpression используют один compiler. */
|
|
8
6
|
export declare const compileValueExpression: typeof compileSourceExpression;
|
|
9
|
-
/** Извлекает expression-body из arrow/function callback и компилирует его в IR. */
|
|
10
7
|
export declare function compileSourceCallback(raw: t.CallExpression['arguments'][number] | undefined, diagnostics: DiagnosticDraft[], sourcePath: string): SourceExpressionIR | null;
|
|
11
|
-
/** Снимает TS/parentheses wrappers с AST expression. */
|
|
12
8
|
export declare function unwrapExpression<T extends t.Node>(node: T): T;
|
|
13
9
|
export declare function propertyName(node: t.Node): string | null;
|
|
14
10
|
export declare function readStringArgument(node: t.CallExpression, index: number): string | null;
|
|
@@ -9,6 +9,5 @@ export interface SourceFieldParseResult {
|
|
|
9
9
|
interface SourceFieldCompileOptions {
|
|
10
10
|
allowInlineTypeExpressions?: boolean;
|
|
11
11
|
}
|
|
12
|
-
/** Компилирует chain field(...).optional().array()... в общий field contract. */
|
|
13
12
|
export declare function compileSourceField(key: string, raw: t.Expression, source: string, diagnostics: DiagnosticDraft[], sourcePath: string, options?: SourceFieldCompileOptions): SourceFieldParseResult | null;
|
|
14
13
|
export {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
|
|
2
2
|
import * as t from '@babel/types';
|
|
3
|
-
/** Минимальный общий diagnostic-контракт metadata compiler. */
|
|
4
3
|
export interface ProgramMetadataCompileDiagnostic {
|
|
5
4
|
severity: 'info' | 'warning' | 'error';
|
|
6
5
|
code: string;
|
|
@@ -9,9 +8,6 @@ export interface ProgramMetadataCompileDiagnostic {
|
|
|
9
8
|
start?: number;
|
|
10
9
|
end?: number;
|
|
11
10
|
}
|
|
12
|
-
/** Извлекает optional `metadata` из корневого object DSL. */
|
|
13
11
|
export declare function compileProgramMetadataProperty(definition: t.ObjectExpression, diagnostics: ProgramMetadataCompileDiagnostic[], sourcePath?: string): ProgramMetadataMap;
|
|
14
|
-
/** Компилирует source-аргумент `defineMetadata({...})` в metadata map. */
|
|
15
12
|
export declare function compileProgramMetadataSource(source: string, diagnostics: ProgramMetadataCompileDiagnostic[], sourcePath?: string): ProgramMetadataMap;
|
|
16
|
-
/** Компилирует статический object literal без выполнения пользовательского JavaScript. */
|
|
17
13
|
export declare function compileProgramMetadataExpression(expression: t.Expression, diagnostics: ProgramMetadataCompileDiagnostic[], sourcePath?: string): ProgramMetadataMap;
|
package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts
CHANGED
|
@@ -7,9 +7,7 @@ export type ParsedSourceModelReference = {
|
|
|
7
7
|
source: string;
|
|
8
8
|
definition: t.CallExpression;
|
|
9
9
|
};
|
|
10
|
-
/** Читает canonical string identity или legacy wrapper model('identity'). */
|
|
11
10
|
export declare function readSourceModelIdentity(raw: t.CallExpression['arguments'][number] | undefined, referenceCall: string): string | null;
|
|
12
|
-
/** Нормализует shorthand, legacy external wrapper и inline define-call в общий reference contract. */
|
|
13
11
|
export declare function readSourceModelReference(raw: t.CallExpression['arguments'][number] | undefined, source: string, options: {
|
|
14
12
|
referenceCall: string;
|
|
15
13
|
defineCall: string;
|
|
@@ -2,8 +2,6 @@ import { ProgramDiagnostic } from '../../../program/domain/types/program.types';
|
|
|
2
2
|
import { TypeSourceCompileResult, TypeSourceExpression } from '../../domain/types/type-source.types';
|
|
3
3
|
import * as t from '@babel/types';
|
|
4
4
|
type DiagnosticDraft = Omit<ProgramDiagnostic, 'entityRef'>;
|
|
5
|
-
/** Компилирует Type Source v1 без выполнения пользовательского JavaScript. */
|
|
6
5
|
export declare function compileTypeSource(source: string, sourceVersion?: number): TypeSourceCompileResult;
|
|
7
|
-
/** Компилирует одно рекурсивное inline type expression без выполнения JavaScript. */
|
|
8
6
|
export declare function compileTypeSourceExpression(raw: t.Expression, diagnostics: DiagnosticDraft[], sourcePath: string): TypeSourceExpression | null;
|
|
9
7
|
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { UpdateSourceCompileResult } from '../../domain/types/update-source.types';
|
|
2
|
-
/** Компилирует один принадлежащий Store рецепт update в готовый для runtime описатель изменения. */
|
|
3
2
|
export declare function compileUpdateSource(source: string, sourceVersion?: number): UpdateSourceCompileResult;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { ComponentSFCMetadataSourcePatchResult, ComponentSFCMetadataVisualProjection } from '../../../domain/types/component/sfc/metadata-visual.types';
|
|
2
2
|
import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
|
|
3
|
-
/** Совместимый фасад старого SFC API над общим descriptor-driven metadata contract. */
|
|
4
3
|
export declare function inspectComponentSFCMetadata(source: string): ComponentSFCMetadataVisualProjection;
|
|
5
|
-
/** Совместимый фасад старого SFC patch API над общим descriptor-driven metadata contract. */
|
|
6
4
|
export declare function patchComponentSFCMetadataSource(source: string, metadata: ProgramMetadataMap): ComponentSFCMetadataSourcePatchResult;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { RComponentSFC_IR_Prop } from '../../../domain/types/component/sfc/ir.types';
|
|
2
2
|
import { ComponentSFCPropsSourcePatchResult, ComponentSFCPropsVisualProjection } from '../../../domain/types/component/sfc/props-visual.types';
|
|
3
|
-
/** Читает defineProps как проекцию на основе Source. Именованные и runtime-контракты остаются во владении Source. */
|
|
4
3
|
export declare function inspectComponentSFCProps(source: string): ComponentSFCPropsVisualProjection;
|
|
5
|
-
/** Заменяет только вызов defineProps либо вставляет его в script setup при отсутствии. */
|
|
6
4
|
export declare function patchComponentSFCPropsSource(source: string, props: readonly RComponentSFC_IR_Prop[]): ComponentSFCPropsSourcePatchResult;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ComponentSFCTableSourcePatch, ComponentSFCTableSourcePatchResult, ComponentSFCVisualInspectionOptions } from '../../../domain/types/component/sfc/visual-projection.types';
|
|
2
|
-
/** Применяет одну узкую visual-editor операцию, не перепечатывая остальной SFC source. */
|
|
3
2
|
export declare function patchComponentSFCTableSource(source: string, patch: ComponentSFCTableSourcePatch, options?: ComponentSFCVisualInspectionOptions): ComponentSFCTableSourcePatchResult;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ComponentSFCVisualInspection, ComponentSFCVisualInspectionOptions } from '../../../domain/types/component/sfc/visual-projection.types';
|
|
2
|
-
/** Строит UI-neutral visual projection только для SFC с одним корневым Table. */
|
|
3
2
|
export declare function inspectComponentSFCVisual(source: string, options?: ComponentSFCVisualInspectionOptions): ComponentSFCVisualInspection;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { CompositionActivationDescriptor } from '../domain/types/composition-source.types';
|
|
2
|
-
/** Приоритет только для компилятора. Runtime использует полученный effectiveActivation. */
|
|
3
2
|
export declare function resolveCompositionActivation(invocationOverride: CompositionActivationDescriptor | null | undefined, targetRoot: CompositionActivationDescriptor | null | undefined, ownerScope: CompositionActivationDescriptor | null | undefined): CompositionActivationDescriptor;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { SourceDocumentReference, SourceLanguageContext, SourceLanguageInlineHint } from '../domain/types/source-engine.types';
|
|
2
|
-
/** Определяет inline-подсказки перевода из текущего Source и спроецированных каталогов. */
|
|
3
2
|
export declare function compositionSourceI18nHints(context: SourceLanguageContext): SourceLanguageInlineHint[];
|
|
4
|
-
/** Сопоставляет литерал `alias:key` с одним физическим документом i18n при однозначности. */
|
|
5
3
|
export declare function compositionSourceI18nReferenceAt(context: SourceLanguageContext): SourceDocumentReference | null;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { CompositionSourceDocument, CompositionSourcePatch } from '../domain/types/composition-source.types';
|
|
2
2
|
import { SourceParseResult, SourcePatchResult } from '../domain/types/source-engine.types';
|
|
3
|
-
/** Парсит Composition source в normalized editor document. */
|
|
4
3
|
export declare function parseCompositionSource(source: string): SourceParseResult<CompositionSourceDocument>;
|
|
5
|
-
/** Атомарно добавляет dependencies, сохраняя нетронутые участки Composition source. */
|
|
6
4
|
export declare function patchCompositionSource(source: string, patch: CompositionSourcePatch): SourcePatchResult<CompositionSourceDocument>;
|
|
@@ -10,7 +10,5 @@ export type ConfigurationSourcePatch = {
|
|
|
10
10
|
key: string;
|
|
11
11
|
nextKey: string;
|
|
12
12
|
};
|
|
13
|
-
/** Применяет узкий patch уровня свойства к каноническому source defineConfig. */
|
|
14
13
|
export declare function patchConfigurationSource(source: string, patch: ConfigurationSourcePatch): string;
|
|
15
|
-
/** Детерминированный исходник одного значения; визуальный авторинг всегда записывает явное значение по умолчанию. */
|
|
16
14
|
export declare function serializeConfigurationValue(value: ConfigurationSourceValueDefinition, indent?: number): string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { DocumentMetadataInput, DocumentMetadataPatchResult, DocumentMetadataProjection } from '../../domain/types/document/document-metadata.types';
|
|
2
2
|
import { DomainDocumentType } from '../../domain/types/document/document.types';
|
|
3
3
|
import { ProgramMetadataMap } from '../../program/domain/types/program-metadata.types';
|
|
4
|
-
/** Читает пользовательские metadata документа через объявленный descriptor backing. */
|
|
5
4
|
export declare function inspectDocumentMetadata(type: DomainDocumentType, input: DocumentMetadataInput): DocumentMetadataProjection;
|
|
6
|
-
/** Патчит только metadata backing документа, не переписывая остальной Source или системные meta siblings. */
|
|
7
5
|
export declare function patchDocumentMetadata(type: DomainDocumentType, input: DocumentMetadataInput, metadata: ProgramMetadataMap): DocumentMetadataPatchResult;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FilterSourceEditorDocument, FilterSourcePatch } from '../domain/types/filter-source.types';
|
|
2
2
|
import { SourcePatchResult } from '../domain/types/source-engine.types';
|
|
3
|
-
/** Парсит Filter source в проекцию с абсолютными source ranges. */
|
|
4
3
|
export declare function parseFilterSourceForEditor(source: string): {
|
|
5
4
|
ok: boolean;
|
|
6
5
|
ast: {} | undefined;
|
|
@@ -8,5 +7,4 @@ export declare function parseFilterSourceForEditor(source: string): {
|
|
|
8
7
|
diagnostics: Omit<import('../../program/domain/types/program.types').ProgramDiagnostic, "entityRef">[];
|
|
9
8
|
message: string | undefined;
|
|
10
9
|
};
|
|
11
|
-
/** Применяет visual-editor patch, не создавая вторую persisted-модель Filter. */
|
|
12
10
|
export declare function patchFilterSource(source: string, patch: FilterSourcePatch): SourcePatchResult<FilterSourceEditorDocument>;
|
package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts
CHANGED
|
@@ -7,11 +7,4 @@ export type QuerySourceV1MigrationResult = {
|
|
|
7
7
|
code: string;
|
|
8
8
|
message: string;
|
|
9
9
|
};
|
|
10
|
-
/**
|
|
11
|
-
* Переводит поддерживаемый legacy Query v1 source в canonical Query v2.
|
|
12
|
-
*
|
|
13
|
-
* Старые params и filters не имеют однозначного аналога без изменения
|
|
14
|
-
* поведения запроса, поэтому автоматическая миграция разрешена только для
|
|
15
|
-
* пустых контрактов. Остальные Query должны быть мигрированы явно автором.
|
|
16
|
-
*/
|
|
17
10
|
export declare function migrateQuerySourceV1ToV2(source: string): QuerySourceV1MigrationResult;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { QuerySourceDocument, QuerySourcePatch } from '../domain/types/query-source.types';
|
|
2
2
|
import { SourcePatchResult } from '../domain/types/source-engine.types';
|
|
3
|
-
/** Парсит query source в normalized document для editor projections. */
|
|
4
3
|
export declare function parseQuerySource(source: string): {
|
|
5
4
|
ok: boolean;
|
|
6
5
|
ast: {} | undefined;
|
|
@@ -8,5 +7,4 @@ export declare function parseQuerySource(source: string): {
|
|
|
8
7
|
diagnostics: Omit<import('../../program/domain/types/program.types').ProgramDiagnostic, "entityRef">[];
|
|
9
8
|
message: string | undefined;
|
|
10
9
|
};
|
|
11
|
-
/** Патчит query source v1 по editor-slot операции, не перепечатывая весь документ. */
|
|
12
10
|
export declare function patchQuerySource(source: string, patch: QuerySourcePatch): SourcePatchResult<QuerySourceDocument>;
|
|
@@ -8,16 +8,7 @@ export interface SourceDocumentReferenceRules {
|
|
|
8
8
|
target: SourceDocumentReferenceTarget;
|
|
9
9
|
}>;
|
|
10
10
|
}
|
|
11
|
-
/** Разрешает внешнюю document reference под курсором по AST и правилам DSL. */
|
|
12
11
|
export declare function resolveSourceDocumentReference(context: SourceLanguageContext, rules: SourceDocumentReferenceRules): SourceDocumentReference | null;
|
|
13
|
-
/** Подсвечивает ссылки `field(Type)` на отдельные Type Source документы. */
|
|
14
12
|
export declare function typedSourceTypeReferenceHighlights(context: SourceLanguageContext): SourceLanguageSemanticHighlight[];
|
|
15
|
-
/** Создаёт единый semantic highlight для разрешимых Type Source ссылок. */
|
|
16
13
|
export declare function typeReferenceHighlights(context: SourceLanguageContext, references: readonly SourceDocumentReference[]): SourceLanguageSemanticHighlight[];
|
|
17
|
-
/**
|
|
18
|
-
* Разрешает ссылки типизированного DSL-документа.
|
|
19
|
-
*
|
|
20
|
-
* `field(TypeIdentity)` является общим source-контрактом Type Registry,
|
|
21
|
-
* поэтому каждый новый типизированный язык не должен регистрировать его отдельно.
|
|
22
|
-
*/
|
|
23
14
|
export declare function resolveTypedSourceDocumentReference(context: SourceLanguageContext, rules?: SourceDocumentReferenceRules): SourceDocumentReference | null;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import { SourceExpressionContext, SourceExpressionIR } from '../domain/types/source-expression.types';
|
|
2
|
-
/** Вычисляет общий безопасный ValueExpression без eval/new Function. */
|
|
3
2
|
export declare function evaluateSourceExpression(expression: SourceExpressionIR, context?: SourceExpressionContext): unknown;
|
|
4
|
-
/** Публичный alias общего DSL для новых domain source compiler-ов. */
|
|
5
3
|
export declare const evaluateValueExpression: typeof evaluateSourceExpression;
|
|
@@ -6,6 +6,5 @@ interface TypeScriptLikeSourceSyntaxOptions {
|
|
|
6
6
|
functions?: string[];
|
|
7
7
|
properties?: string[];
|
|
8
8
|
}
|
|
9
|
-
/** Создает общий TypeScript-like tokenizer, добавляя vocabulary конкретного DSL. */
|
|
10
9
|
export declare function createTypeScriptLikeSourceSyntax(options: TypeScriptLikeSourceSyntaxOptions): SourceLanguageSyntaxDefinition;
|
|
11
10
|
export {};
|
package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { CompositionSourceDocument, CompositionSourcePatch } from '../../domain/types/composition-source.types';
|
|
2
2
|
import { SourceKind, SourceParseResult, SourcePatchResult, SourcePatchStrategy } from '../../domain/types/source-engine.types';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Source patch strategy для RComposition/source-kind=composition.
|
|
5
|
+
*/
|
|
4
6
|
export declare class CompositionSourcePatchStrategy implements SourcePatchStrategy<CompositionSourcePatch, CompositionSourceDocument> {
|
|
5
7
|
readonly id = "source-patch:composition";
|
|
6
8
|
readonly sourceKind: SourceKind;
|
|
7
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Проверяет, что strategy обслуживает Composition source.
|
|
11
|
+
*/
|
|
8
12
|
supports(sourceKind: SourceKind | string): boolean;
|
|
9
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Парсит Composition source в normalized document.
|
|
15
|
+
*/
|
|
10
16
|
parse(source: string): SourceParseResult<CompositionSourceDocument>;
|
|
11
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Атомарно добавляет Composition dependencies.
|
|
19
|
+
*/
|
|
12
20
|
patch(source: string, patch: CompositionSourcePatch): SourcePatchResult<CompositionSourceDocument>;
|
|
13
21
|
}
|
package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { SourceEngineCompileResult, SourceEngineOperation, SourceEngineResult, SourceEngineStrategy, SourceKind } from '../../domain/types/source-engine.types';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Source strategy для RDataView/source-kind=data-view.
|
|
4
|
+
*/
|
|
3
5
|
export declare class DataViewSourceEngineStrategy implements SourceEngineStrategy {
|
|
4
6
|
readonly id = "source:data-view";
|
|
5
7
|
readonly sourceKind: SourceKind;
|
|
6
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Проверяет, что strategy обслуживает DataView source.
|
|
10
|
+
*/
|
|
7
11
|
supports(sourceKind: SourceKind | string): boolean;
|
|
8
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Заглушка будущего analyze/patch API для DataView source.
|
|
14
|
+
*/
|
|
9
15
|
execute(_operation: SourceEngineOperation): SourceEngineResult;
|
|
10
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Компилирует DataView source v1 в canonical document и artifact payload.
|
|
18
|
+
*/
|
|
11
19
|
compile(source: string): SourceEngineCompileResult;
|
|
12
20
|
}
|
package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
import { SourceKind, SourceLanguageCompletion, SourceLanguageContext, SourceLanguageStrategy, SourceLanguageValidationResult } from '../../domain/types/source-engine.types';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Source language strategy для editor-facing операций RDataView source.
|
|
4
|
+
*/
|
|
3
5
|
export declare class DataViewSourceLanguageStrategy implements SourceLanguageStrategy {
|
|
4
6
|
readonly id = "source-language:data-view";
|
|
5
7
|
readonly sourceKind: SourceKind;
|
|
6
8
|
readonly syntax: import('../../domain/types/source-engine.types').SourceLanguageSyntaxDefinition;
|
|
7
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Проверяет, что strategy обслуживает DataView source.
|
|
11
|
+
*/
|
|
8
12
|
supports(sourceKind: SourceKind | string): boolean;
|
|
9
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Возвращает базовый source новой RDataView.
|
|
15
|
+
*/
|
|
10
16
|
createDefaultSource(): string;
|
|
11
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Валидирует DataView source через текущий compiler pass.
|
|
19
|
+
*/
|
|
12
20
|
validate(source: string): SourceLanguageValidationResult;
|
|
13
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Возвращает подсказки v1 для разрешенного DataView source API.
|
|
23
|
+
*/
|
|
14
24
|
completions(_context: SourceLanguageContext): SourceLanguageCompletion[];
|
|
15
25
|
resolveReference(context: SourceLanguageContext): import('../../domain/types/source-engine.types').SourceDocumentReference | null;
|
|
16
26
|
semanticHighlights(context: SourceLanguageContext): import('../../domain/types/source-engine.types').SourceLanguageSemanticHighlight[];
|
package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { SourceEngineCompileResult, SourceEngineStrategy, SourceKind } from '../../domain/types/source-engine.types';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Source strategy для RFilter/source-kind=filter.
|
|
4
|
+
*/
|
|
3
5
|
export declare class FilterSourceEngineStrategy implements SourceEngineStrategy {
|
|
4
6
|
readonly id = "source:filter";
|
|
5
7
|
readonly sourceKind: SourceKind;
|
package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FilterSourceEditorDocument, FilterSourcePatch } from '../../domain/types/filter-source.types';
|
|
2
2
|
import { SourceKind, SourceParseResult, SourcePatchResult, SourcePatchStrategy } from '../../domain/types/source-engine.types';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Source patch strategy для RFilter/source-kind=filter.
|
|
5
|
+
*/
|
|
4
6
|
export declare class FilterSourcePatchStrategy implements SourcePatchStrategy<FilterSourcePatch, FilterSourceEditorDocument> {
|
|
5
7
|
readonly id = "source-patch:filter";
|
|
6
8
|
readonly sourceKind: SourceKind;
|
package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { SourceEngineCompileResult, SourceEngineOperation, SourceEngineResult, SourceEngineStrategy, SourceKind } from '../../domain/types/source-engine.types';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Source strategy для RQuery/source-kind=query.
|
|
4
|
+
*/
|
|
3
5
|
export declare class QuerySourceEngineStrategy implements SourceEngineStrategy {
|
|
4
6
|
readonly id = "source:query";
|
|
5
7
|
readonly sourceKind: SourceKind;
|
|
6
|
-
/**
|
|
8
|
+
/**
|
|
9
|
+
* Проверяет, что стратегия обслуживает query source.
|
|
10
|
+
*/
|
|
7
11
|
supports(sourceKind: SourceKind | string): boolean;
|
|
8
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Заглушка будущего analyze/patch API, чтобы strategy уже имела стабильный контракт.
|
|
14
|
+
*/
|
|
9
15
|
execute(_operation: SourceEngineOperation): SourceEngineResult;
|
|
10
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Компилирует source-only Query v2 в canonical document и artifact payload.
|
|
18
|
+
*/
|
|
11
19
|
compile(source: string): SourceEngineCompileResult;
|
|
12
20
|
}
|
package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
import { SourceKind, SourceLanguageCompletion, SourceLanguageContext, SourceLanguageStrategy, SourceLanguageSyntaxDefinition, SourceLanguageValidationResult } from '../../domain/types/source-engine.types';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Source language strategy для editor-facing операций RQuery source.
|
|
4
|
+
*/
|
|
3
5
|
export declare class QuerySourceLanguageStrategy implements SourceLanguageStrategy {
|
|
4
6
|
readonly id = "source-language:query";
|
|
5
7
|
readonly sourceKind: SourceKind;
|
|
6
8
|
readonly syntax: SourceLanguageSyntaxDefinition;
|
|
7
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Проверяет, что стратегия обслуживает query source.
|
|
11
|
+
*/
|
|
8
12
|
supports(sourceKind: SourceKind | string): boolean;
|
|
9
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Возвращает базовый source новой RQuery.
|
|
15
|
+
*/
|
|
10
16
|
createDefaultSource(variant?: string): string;
|
|
11
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Валидирует query source через текущий compiler pass.
|
|
19
|
+
*/
|
|
12
20
|
validate(source: string, context?: SourceLanguageContext): SourceLanguageValidationResult;
|
|
13
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Возвращает подсказки source-only Query v2 API.
|
|
23
|
+
*/
|
|
14
24
|
completions(context: SourceLanguageContext): SourceLanguageCompletion[];
|
|
15
25
|
resolveReference(context: SourceLanguageContext): import('../../domain/types/source-engine.types').SourceDocumentReference | null;
|
|
16
26
|
semanticHighlights(context: SourceLanguageContext): import('../../domain/types/source-engine.types').SourceLanguageSemanticHighlight[];
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { QuerySourceDocument, QuerySourcePatch } from '../../domain/types/query-source.types';
|
|
2
2
|
import { SourceKind, SourceParseResult, SourcePatchResult, SourcePatchStrategy } from '../../domain/types/source-engine.types';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* Source patch strategy для RQuery/source-kind=query.
|
|
5
|
+
*/
|
|
4
6
|
export declare class QuerySourcePatchStrategy implements SourcePatchStrategy<QuerySourcePatch, QuerySourceDocument> {
|
|
5
7
|
readonly id = "source-patch:query";
|
|
6
8
|
readonly sourceKind: SourceKind;
|
|
7
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Проверяет, что стратегия обслуживает query source.
|
|
11
|
+
*/
|
|
8
12
|
supports(sourceKind: SourceKind | string): boolean;
|
|
9
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Парсит query source в normalized document для editor projections.
|
|
15
|
+
*/
|
|
10
16
|
parse(source: string): SourceParseResult<QuerySourceDocument>;
|
|
11
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Патчит query source по editor-slot операции.
|
|
19
|
+
*/
|
|
12
20
|
patch(source: string, patch: QuerySourcePatch): SourcePatchResult<QuerySourceDocument>;
|
|
13
21
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { SourceEngineCompileResult, SourceEngineStrategy, SourceKind } from '../../domain/types/source-engine.types';
|
|
2
|
-
/**
|
|
2
|
+
/**
|
|
3
|
+
* Source strategy для RType/source-kind=type.
|
|
4
|
+
*/
|
|
3
5
|
export declare class TypeSourceEngineStrategy implements SourceEngineStrategy {
|
|
4
6
|
readonly id = "source:type";
|
|
5
7
|
readonly sourceKind: SourceKind;
|
|
@@ -2,13 +2,9 @@ import { SourceDocumentReference, SourceLanguageContext } from '../domain/types/
|
|
|
2
2
|
interface TypeSourceReferenceLocation extends SourceDocumentReference {
|
|
3
3
|
normalizationRange: SourceDocumentReference['range'];
|
|
4
4
|
}
|
|
5
|
-
/** Собирает ссылки на Type Registry из поддержанных Type Source выражений. */
|
|
6
5
|
export declare function collectTypeSourceReferences(source: string): TypeSourceReferenceLocation[];
|
|
7
|
-
/** Собирает ссылки Type Registry из вызовов value(Type, ...) в Configuration Source. */
|
|
8
6
|
export declare function collectConfigurationTypeSourceReferences(source: string): TypeSourceReferenceLocation[];
|
|
9
|
-
/** Переводит ссылки на типы в канонический синтаксис без кавычек. */
|
|
10
7
|
export declare function normalizeTypeSourceReferences(source: string): string;
|
|
11
|
-
/** Находит ссылку Type Source в позиции редактора. */
|
|
12
8
|
export declare function resolveTypeSourceReference(context: SourceLanguageContext): SourceDocumentReference | null;
|
|
13
9
|
export declare function resolveConfigurationTypeSourceReference(context: SourceLanguageContext): SourceDocumentReference | null;
|
|
14
10
|
export {};
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { TypeSourceDocument, TypeSourceExpression } from '../domain/types/type-source.types';
|
|
2
|
-
/** Детерминированный сериализатор канонических документов Type Source v1. */
|
|
3
2
|
export declare function serializeTypeSourceDocument(document: TypeSourceDocument): string;
|
|
4
3
|
export declare function serializeTypeSourceExpression(expression: TypeSourceExpression, indent?: number): string;
|
|
5
|
-
/** Сериализует одну именованную ссылку на тип в каноническом кратком синтаксисе, когда это возможно. */
|
|
6
4
|
export declare function serializeTypeSourceReference(identity: string): string;
|
|
@@ -3,7 +3,6 @@ export interface TypeScriptTypeDeclarationRange {
|
|
|
3
3
|
start: number;
|
|
4
4
|
end: number;
|
|
5
5
|
}
|
|
6
|
-
/** Анализ одного объявления типа TypeScript верхнего уровня для редактора. */
|
|
7
6
|
export interface TypeScriptTypeDeclarationAnalysis {
|
|
8
7
|
kind: 'interface' | 'type';
|
|
9
8
|
identity: string;
|
|
@@ -14,5 +13,4 @@ export interface TypeScriptTypeDeclarationAnalysis {
|
|
|
14
13
|
dependencies: string[];
|
|
15
14
|
unsupportedReason: string | null;
|
|
16
15
|
}
|
|
17
|
-
/** Разбирает объявления `interface` и `type` верхнего уровня из одного script-блока TS. */
|
|
18
16
|
export declare function analyzeTypeScriptTypeDeclarations(source: string): TypeScriptTypeDeclarationAnalysis[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { SourceLanguageCompletion } from '../domain/types/source-engine.types';
|
|
2
|
-
/** Общий vocabulary ValueExpression, подключаемый всеми domain source languages. */
|
|
3
2
|
export declare const VALUE_EXPRESSION_FUNCTION_NAMES: string[];
|
|
4
3
|
export declare const VALUE_EXPRESSION_METHOD_NAMES: string[];
|
|
5
4
|
export declare const VALUE_EXPRESSION_COMPLETIONS: SourceLanguageCompletion[];
|
|
@@ -5,6 +5,5 @@ export interface ValueOperationRuntime {
|
|
|
5
5
|
warn: (warning: SourceExpressionWarning) => void;
|
|
6
6
|
}
|
|
7
7
|
export type ValueOperation = (args: SourceExpressionIR[], runtime: ValueOperationRuntime) => unknown;
|
|
8
|
-
/** Единственный runtime-registry операций для Query, Composition и DataView. */
|
|
9
8
|
export declare const VALUE_EXPRESSION_OPERATIONS: Record<SourceExpressionOperation, ValueOperation>;
|
|
10
9
|
export declare function readPath(source: unknown, path: string): unknown;
|
package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
/** Канонический source нового SFC-компонента. */
|
|
2
1
|
export declare const COMPONENT_SFC_DEFAULT_SOURCE = "<script setup lang=\"ts\">\nconst props = defineProps<Record<string, unknown>>()\n</script>\n\n<template>\n <Text>{{ props.label ?? 'SFC' }}</Text>\n</template>\n\n<style lang=\"endgecss\" scoped>\n</style>\n";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
/** Базовый source нового Filter v1. */
|
|
2
1
|
export declare const FILTER_DEFAULT_SOURCE = "defineFilter({\n fields: {\n search: field('String')\n .optional()\n .default(''),\n },\n\n outputs: {\n request: output().json(({ value }) =>\n compact({\n where: {\n search: value('search'),\n },\n }),\n ),\n },\n})\n";
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/** Базовый canonical source для новой RQuery v2. */
|
|
2
1
|
export declare const QUERY_DEFAULT_SOURCE = "defineQuery({\n kind: 'rest',\n\n props: defineProps({\n filterPayload: field('Object').optional(),\n }),\n\n request: {\n endpoint: '',\n path: '/search',\n method: 'POST',\n headers: {},\n auth: {\n mode: 'inherit',\n },\n body: body(({ prop }) =>\n merge(\n { limit: 100 },\n prop('filterPayload'),\n ),\n ),\n },\n\n outputs: {\n raw: output()\n .from(response('items')),\n },\n\n mock: {\n enabled: false,\n data: null,\n },\n})\n";
|
|
3
|
-
/** Базовый canonical source для новой GraphQL RQuery v2. */
|
|
4
2
|
export declare const QUERY_GRAPHQL_DEFAULT_SOURCE = "defineQuery({\n kind: 'graphql',\n\n props: defineProps({\n id: field('String'),\n }),\n\n request: {\n endpoint: '',\n operationName: 'LoadItem',\n document: gql`\n query LoadItem($id: ID!) {\n item(id: $id) {\n id\n }\n }\n `,\n variables: variables(({ prop }) => ({\n id: prop('id'),\n })),\n headers: {},\n auth: {\n mode: 'inherit',\n },\n errorPolicy: 'throw',\n },\n\n outputs: {\n item: output()\n .from(data('item')),\n },\n\n mock: {\n enabled: false,\n data: null,\n },\n})\n";
|