@endge/core 1.0.0-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/dist/core.js +124692 -0
- package/dist/features/core/kernel/config/debugger.config.d.ts +2 -0
- package/dist/features/core/kernel/config/kernel.config.d.ts +29 -0
- package/dist/features/core/kernel/config/modules.config.d.ts +145 -0
- package/dist/features/core/kernel/constants/kernel.constants.d.ts +8 -0
- package/dist/features/core/kernel/endge.d.ts +149 -0
- package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +7 -0
- package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +15 -0
- package/dist/features/core/kernel/tools/bundle-json.d.ts +5 -0
- package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +12 -0
- package/dist/features/core/kernel/tools/read-only-document.d.ts +1 -0
- package/dist/features/core/kernel/types/bootstrap.types.d.ts +32 -0
- package/dist/features/core/kernel/types/endge-bundle.types.d.ts +12 -0
- package/dist/features/core/modules/EndgeTypes_Module.d.ts +14 -0
- package/dist/features/core/modules/EndgeVocabs_Module.d.ts +178 -0
- package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +107 -0
- package/dist/features/core/modules/actions/domain/action.types.d.ts +177 -0
- package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +36 -0
- package/dist/features/core/modules/actions/services/table-actions.d.ts +2 -0
- package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +57 -0
- package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +16 -0
- package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +16 -0
- package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +10 -0
- package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +13 -0
- package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +10 -0
- package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +50 -0
- package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +8 -0
- package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +175 -0
- package/dist/features/core/modules/auth/domain/types/auth-runtime.types.d.ts +12 -0
- package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +23 -0
- package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +48 -0
- package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +22 -0
- package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +99 -0
- package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +34 -0
- package/dist/features/core/modules/auth/services/auth-context.d.ts +11 -0
- package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +62 -0
- package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +20 -0
- package/dist/features/core/modules/bridge/config/bridge.config.d.ts +38 -0
- package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +28 -0
- package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +145 -0
- package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +27 -0
- package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +75 -0
- package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +41 -0
- package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +10 -0
- package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +25 -0
- package/dist/features/core/modules/commands/config/commands.config.d.ts +6 -0
- package/dist/features/core/modules/commands/domain/commands.types.d.ts +36 -0
- package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +13 -0
- package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +13 -0
- package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +11 -0
- package/dist/features/core/modules/commands/tools/command-payload.d.ts +2 -0
- package/dist/features/core/modules/commands/types/command-executor.type.d.ts +15 -0
- package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +11 -0
- package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +4 -0
- package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +375 -0
- package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +10 -0
- package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +8 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +6 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +34 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +37 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +16 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +10 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +9 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +20 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +22 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +11 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +15 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +24 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +28 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +3 -0
- package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +27 -0
- package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +17 -0
- package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +11 -0
- package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +4 -0
- package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +80 -0
- package/dist/features/core/modules/computations/model/ComputationResource.d.ts +41 -0
- package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +27 -0
- package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +30 -0
- package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +28 -0
- package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +59 -0
- package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +18 -0
- package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +8 -0
- package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +2 -0
- package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +158 -0
- package/dist/features/core/modules/context/EndgeContext_Module.d.ts +311 -0
- package/dist/features/core/modules/context/domain/context-events.types.d.ts +7 -0
- package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +80 -0
- package/dist/features/core/modules/context/domain/context-state.types.d.ts +7 -0
- package/dist/features/core/modules/context/endge-vars.d.ts +89 -0
- package/dist/features/core/modules/context/persistence/EndgeStorageAdapterRegistry.d.ts +9 -0
- package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +28 -0
- package/dist/features/core/modules/context/persistence/adapters/DisabledContextAdapter.d.ts +8 -0
- package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +12 -0
- package/dist/features/core/modules/context/persistence/context-state.d.ts +7 -0
- package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +39 -0
- package/dist/features/core/modules/converters/tools/arrays/split.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +1 -0
- package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +1 -0
- package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +88 -0
- package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +158 -0
- package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +63 -0
- package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +280 -0
- package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +15 -0
- package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +39 -0
- package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +33 -0
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +115 -0
- package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +11 -0
- package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +3 -0
- package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +6 -0
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +92 -0
- package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +45 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +39 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +13 -0
- package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +296 -0
- package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +36 -0
- package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +65 -0
- package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +20 -0
- package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +11 -0
- package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +11 -0
- package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +1202 -0
- package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +48 -0
- package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +5 -0
- package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +2 -0
- package/dist/features/core/modules/domain/component/table.d.ts +4 -0
- package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +95 -0
- package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +6 -0
- package/dist/features/core/modules/domain/entities/RAction.d.ts +22 -0
- package/dist/features/core/modules/domain/entities/RAuthProfile.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RComponent.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +16 -0
- package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +30 -0
- package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +7 -0
- package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +41 -0
- package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +40 -0
- package/dist/features/core/modules/domain/entities/RComposition.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RComputation.d.ts +19 -0
- package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RConverter.d.ts +15 -0
- package/dist/features/core/modules/domain/entities/RDataView.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/REntity.d.ts +48 -0
- package/dist/features/core/modules/domain/entities/RFacet.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RField.d.ts +9 -0
- package/dist/features/core/modules/domain/entities/RFilter.d.ts +11 -0
- package/dist/features/core/modules/domain/entities/RFolder.d.ts +24 -0
- package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +18 -0
- package/dist/features/core/modules/domain/entities/RIntegration.d.ts +17 -0
- package/dist/features/core/modules/domain/entities/RMock.d.ts +30 -0
- package/dist/features/core/modules/domain/entities/RNavigation.d.ts +27 -0
- package/dist/features/core/modules/domain/entities/RPage.d.ts +45 -0
- package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +35 -0
- package/dist/features/core/modules/domain/entities/RPolicy.d.ts +9 -0
- package/dist/features/core/modules/domain/entities/RQuery.d.ts +13 -0
- package/dist/features/core/modules/domain/entities/RSimulation.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStore.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStream.d.ts +10 -0
- package/dist/features/core/modules/domain/entities/RStyle.d.ts +14 -0
- package/dist/features/core/modules/domain/entities/RType.d.ts +12 -0
- package/dist/features/core/modules/domain/entities/RUpdate.d.ts +11 -0
- package/dist/features/core/modules/domain/entities/RVersion.d.ts +29 -0
- package/dist/features/core/modules/domain/entities/RVocabs.d.ts +31 -0
- package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +17 -0
- package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +16 -0
- package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +50 -0
- package/dist/features/core/modules/domain/types/component/component.types.d.ts +11 -0
- package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +86 -0
- package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +51 -0
- package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +51 -0
- package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +44 -0
- package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +269 -0
- package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +8 -0
- package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +19 -0
- package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +40 -0
- package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +253 -0
- package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +18 -0
- package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +15 -0
- package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +88 -0
- package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +5 -0
- package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +140 -0
- package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +211 -0
- package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +311 -0
- package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +35 -0
- package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +46 -0
- package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +30 -0
- package/dist/features/core/modules/domain/types/computation/computation.types.d.ts +3 -0
- package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +16 -0
- package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +5 -0
- package/dist/features/core/modules/domain/types/document/document-identity.types.d.ts +28 -0
- package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +36 -0
- package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +5 -0
- package/dist/features/core/modules/domain/types/document/document.types.d.ts +76 -0
- package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +73 -0
- package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +140 -0
- package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +34 -0
- package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +28 -0
- package/dist/features/core/modules/domain/types/document/filter.types.d.ts +32 -0
- package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +34 -0
- package/dist/features/core/modules/domain/types/document/query.types.d.ts +9 -0
- package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +126 -0
- package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +9 -0
- package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +26 -0
- package/dist/features/core/modules/events/domain/events.types.d.ts +48 -0
- package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +110 -0
- package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +20 -0
- package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +15 -0
- package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +7 -0
- package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +2 -0
- package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +44 -0
- package/dist/features/core/modules/implementations/domain/implementation.types.d.ts +59 -0
- package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +11 -0
- package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +11 -0
- package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +92 -0
- package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +40 -0
- package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +11 -0
- package/dist/features/core/modules/inspection/types/inspection.types.d.ts +72 -0
- package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +49 -0
- package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +31 -0
- package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +181 -0
- package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +9 -0
- package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +71 -0
- package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +15 -0
- package/dist/features/core/modules/program/domain/types/program.types.d.ts +186 -0
- package/dist/features/core/modules/program/tools/execution-bundle.d.ts +4 -0
- package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +2 -0
- package/dist/features/core/modules/program/tools/restore-program-source.d.ts +2 -0
- package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +48 -0
- package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +34 -0
- package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +262 -0
- package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +20 -0
- package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +74 -0
- package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +23 -0
- package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +109 -0
- package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +13 -0
- package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +32 -0
- package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +14 -0
- package/dist/features/core/modules/runtime/RuntimeScope.d.ts +60 -0
- package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +74 -0
- package/dist/features/core/modules/runtime/domain/EndgeActionJsonScript.d.ts +2 -0
- package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +7 -0
- package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +12 -0
- package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +6 -0
- package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +21 -0
- package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +18 -0
- package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +268 -0
- package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +26 -0
- package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +23 -0
- package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +25 -0
- package/dist/features/core/modules/runtime/domain/runtime-resource.types.d.ts +15 -0
- package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +43 -0
- package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +22 -0
- package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +73 -0
- package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +42 -0
- package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +21 -0
- package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +18 -0
- package/dist/features/core/modules/runtime/domain/table-binding.types.d.ts +7 -0
- package/dist/features/core/modules/runtime/domain/table.types.d.ts +4 -0
- package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +24 -0
- package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +13 -0
- package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +107 -0
- package/dist/features/core/modules/runtime/execution/endge-query.d.ts +30 -0
- package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +4 -0
- package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +7 -0
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +23 -0
- package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +16 -0
- package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +26 -0
- package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +225 -0
- package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +225 -0
- package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +52 -0
- package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +76 -0
- package/dist/features/core/modules/runtime/hosts/PageRuntimeHost.d.ts +22 -0
- package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +71 -0
- package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +60 -0
- package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +80 -0
- package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +48 -0
- package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +29 -0
- package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +16 -0
- package/dist/features/core/modules/runtime/operation/operation-history.d.ts +65 -0
- package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +19 -0
- package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +43 -0
- package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +13 -0
- package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +4 -0
- package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +3 -0
- package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +13 -0
- package/dist/features/core/modules/runtime/services/strategies/ActionRuntimeStrategy.d.ts +8 -0
- package/dist/features/core/modules/runtime/services/strategies/ComponentSFCRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/CompositionRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/FilterRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/PageRuntimeStrategy.d.ts +8 -0
- package/dist/features/core/modules/runtime/services/strategies/QueryRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/SimulationRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/StoreRuntimeStrategy.d.ts +9 -0
- package/dist/features/core/modules/runtime/services/strategies/StreamRuntimeStrategy.d.ts +12 -0
- package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +11 -0
- package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +10 -0
- package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +7 -0
- package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +5 -0
- package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +3 -0
- package/dist/features/core/modules/source/EndgeSource_Module.d.ts +115 -0
- package/dist/features/core/modules/source/domain/types/action-source.types.d.ts +40 -0
- package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +390 -0
- package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +46 -0
- package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +127 -0
- package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +94 -0
- package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +35 -0
- package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +78 -0
- package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +9 -0
- package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +67 -0
- package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +166 -0
- package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +94 -0
- package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +44 -0
- package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +52 -0
- package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +73 -0
- package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +41 -0
- package/dist/features/core/modules/source/domain/types/vocab-source.types.d.ts +37 -0
- package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +36 -0
- package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +19 -0
- package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +18 -0
- package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +3 -0
- package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +3 -0
- package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +12 -0
- package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +13 -0
- package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +13 -0
- package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +14 -0
- package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +7 -0
- package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/compilers/vocab-source-compile.d.ts +2 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-ports-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +2 -0
- package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +2 -0
- package/dist/features/core/modules/source/services/composition-activation.d.ts +2 -0
- package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +3 -0
- package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +1 -0
- package/dist/features/core/modules/source/services/composition-source-patch.d.ts +4 -0
- package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +14 -0
- package/dist/features/core/modules/source/services/document-metadata.d.ts +5 -0
- package/dist/features/core/modules/source/services/filter-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +10 -0
- package/dist/features/core/modules/source/services/query-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/services/source-document-reference.d.ts +14 -0
- package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +3 -0
- package/dist/features/core/modules/source/services/source-language-syntax.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/ActionSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ActionSourceLanguageStrategy.d.ts +23 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourceLanguageStrategy.d.ts +14 -0
- package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +21 -0
- package/dist/features/core/modules/source/services/strategies/ComputationSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ComputationSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/ConfigurationSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/ConfigurationSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +20 -0
- package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +27 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +20 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +27 -0
- package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +21 -0
- package/dist/features/core/modules/source/services/strategies/SimulationSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/SimulationSourceLanguageStrategy.d.ts +14 -0
- package/dist/features/core/modules/source/services/strategies/StoreSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StoreSourceLanguageStrategy.d.ts +12 -0
- package/dist/features/core/modules/source/services/strategies/StreamSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StreamSourceLanguageStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/StyleSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/StyleSourceLanguageStrategy.d.ts +43 -0
- package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/TypeSourceLanguageStrategy.d.ts +13 -0
- package/dist/features/core/modules/source/services/strategies/UpdateSourceEngineStrategy.d.ts +7 -0
- package/dist/features/core/modules/source/services/strategies/UpdateSourceLanguageStrategy.d.ts +10 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourceEngineStrategy.d.ts +8 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourceLanguageStrategy.d.ts +11 -0
- package/dist/features/core/modules/source/services/strategies/VocabSourcePatchStrategy.d.ts +9 -0
- package/dist/features/core/modules/source/services/type-source-references.d.ts +10 -0
- package/dist/features/core/modules/source/services/type-source-serialize.d.ts +4 -0
- package/dist/features/core/modules/source/services/typescript-type-source.d.ts +16 -0
- package/dist/features/core/modules/source/services/value-expression-language.d.ts +4 -0
- package/dist/features/core/modules/source/services/value-expression-operations.d.ts +9 -0
- package/dist/features/core/modules/source/services/vocab-source-patch.d.ts +10 -0
- package/dist/features/core/modules/source/templates/action.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/composition.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/computation.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/data-view.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/filter.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/query.default.source.d.ts +2 -0
- package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/store.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/stream.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/type.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/update.default.source.d.ts +1 -0
- package/dist/features/core/modules/source/templates/vocab.default.source.d.ts +1 -0
- package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +34 -0
- package/dist/features/core/modules/styles/domain/types/style.types.d.ts +195 -0
- package/dist/features/core/modules/styles/services/endgecss-compile.d.ts +4 -0
- package/dist/features/core/modules/styles/services/endgecss-match.d.ts +5 -0
- package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +130 -0
- package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +108 -0
- package/dist/features/core/modules/ui/domain/types/context-menu.types.d.ts +20 -0
- package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +7 -0
- package/dist/features/core/modules/ui/domain/types/tooltip-markdown.types.d.ts +32 -0
- package/dist/features/core/modules/ui/domain/types/ui-composition.types.d.ts +167 -0
- package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +29 -0
- package/dist/features/core/modules/ui/domain/types/ui.types.d.ts +17 -0
- package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +58 -0
- package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +3 -0
- package/dist/features/core/modules/ui/ui-composition.config.d.ts +523 -0
- package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +14 -0
- package/dist/features/core/modules/updates/tools/ScheduleUpdate-sse-generator.d.ts +9 -0
- package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +145 -0
- package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +30 -0
- package/dist/features/federation/EndgeFederation.d.ts +133 -0
- package/dist/features/federation/EndgeModule.d.ts +58 -0
- package/dist/features/federation/constants/federation.constants.d.ts +1 -0
- package/dist/features/federation/services/EndgeModuleController.d.ts +16 -0
- package/dist/features/federation/services/EndgeSlotRegistry.d.ts +14 -0
- package/dist/features/federation/tools/endge-token.d.ts +2 -0
- package/dist/features/federation/tools/sort-endge-modules.d.ts +9 -0
- package/dist/features/federation/types/endge-modules.types.d.ts +28 -0
- package/dist/features/federation/types/federation.types.d.ts +112 -0
- package/dist/features/federation/types/forge.types.d.ts +23 -0
- package/dist/main.d.ts +288 -0
- package/package.json +77 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ComponentSFCInteractionKeyboardCondition, ComponentSFCInteractionTrigger, ComponentSFCInteractionTriggerActivation, ComponentSFCInteractionTriggerEvent, ComponentSFCInteractionTriggerHeldKeys, ComponentSFCInteractionTriggerModifiers, ComponentSFCInteractionTriggerPlatform } from '../types/component/sfc/ir.types';
|
|
2
|
+
export declare const DEFAULT_COMPONENT_SFC_INTERACTION_SEQUENCE_INTERVAL_MS = 1000;
|
|
3
|
+
export type ComponentSFCInteractionTriggerActivationMatch = {
|
|
4
|
+
status: 'none';
|
|
5
|
+
} | {
|
|
6
|
+
status: 'progress' | 'complete';
|
|
7
|
+
trigger: ComponentSFCInteractionTrigger;
|
|
8
|
+
stepIndex: number;
|
|
9
|
+
triggerIndex: number;
|
|
10
|
+
};
|
|
11
|
+
export declare function normalizeComponentSFCInteractionTriggers(value: unknown): ComponentSFCInteractionTrigger[];
|
|
12
|
+
export declare function normalizeComponentSFCInteractionTriggerActivation(value: unknown): ComponentSFCInteractionTriggerActivation;
|
|
13
|
+
export declare function hasComponentSFCInteractionTriggerActivation(activation: ComponentSFCInteractionTriggerActivation): boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Stateful matcher последовательностей, общий для runtime-владельцев и platform adapters.
|
|
16
|
+
*/
|
|
17
|
+
export declare class ComponentSFCInteractionTriggerActivationMatcher {
|
|
18
|
+
private readonly _activation;
|
|
19
|
+
private readonly _onceTriggered;
|
|
20
|
+
private _matchedOnce;
|
|
21
|
+
private _nextStepIndex;
|
|
22
|
+
private _deadline;
|
|
23
|
+
constructor(value: unknown);
|
|
24
|
+
/**
|
|
25
|
+
* Принимает очередное событие и возвращает прогресс либо завершение активации.
|
|
26
|
+
*/
|
|
27
|
+
match(eventName: string, event: ComponentSFCInteractionTriggerEvent, platform: ComponentSFCInteractionTriggerPlatform, occurredAt?: number): ComponentSFCInteractionTriggerActivationMatch;
|
|
28
|
+
/**
|
|
29
|
+
* Сбрасывает transient progress и once-состояние при lifecycle/configuration reset.
|
|
30
|
+
*/
|
|
31
|
+
reset(): void;
|
|
32
|
+
private _matchSequence;
|
|
33
|
+
private _matchSet;
|
|
34
|
+
private _shouldResetSequence;
|
|
35
|
+
private _resetProgress;
|
|
36
|
+
private _onceKey;
|
|
37
|
+
}
|
|
38
|
+
export declare function matchesComponentSFCInteractionTrigger(trigger: ComponentSFCInteractionTrigger, event: ComponentSFCInteractionTriggerEvent, platform: ComponentSFCInteractionTriggerPlatform): boolean;
|
|
39
|
+
export declare function resolveComponentSFCInteractionTriggerPlatform(value: unknown): ComponentSFCInteractionTriggerPlatform;
|
|
40
|
+
export declare function normalizeComponentSFCInteractionHeldKeys(value: unknown): ComponentSFCInteractionTriggerHeldKeys | undefined;
|
|
41
|
+
export declare function normalizeComponentSFCInteractionKeyboardCondition(value: unknown): ComponentSFCInteractionKeyboardCondition | undefined;
|
|
42
|
+
export declare function normalizeComponentSFCInteractionModifiers(value: unknown): ComponentSFCInteractionTriggerModifiers | undefined;
|
|
43
|
+
export declare function matchesComponentSFCInteractionHeldKeys(expected: ComponentSFCInteractionTriggerHeldKeys | undefined, actual: ComponentSFCInteractionTriggerEvent['held']): boolean;
|
|
44
|
+
export declare function matchesComponentSFCInteractionKeyboardCondition(expected: ComponentSFCInteractionKeyboardCondition | undefined, actual: Pick<ComponentSFCInteractionTriggerEvent, 'held' | 'modifiers'>, platform: ComponentSFCInteractionTriggerPlatform): boolean;
|
|
45
|
+
export declare function matchesComponentSFCInteractionModifiers(expected: ComponentSFCInteractionTriggerModifiers | undefined, actual: ComponentSFCInteractionTriggerEvent['modifiers'], platform: ComponentSFCInteractionTriggerPlatform): boolean;
|
|
46
|
+
export declare const normalizeComponentSFCEditTriggers: typeof normalizeComponentSFCInteractionTriggers;
|
|
47
|
+
export declare const matchesComponentSFCEditTrigger: typeof matchesComponentSFCInteractionTrigger;
|
|
48
|
+
export declare const resolveComponentSFCEditTriggerPlatform: typeof resolveComponentSFCInteractionTriggerPlatform;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RComponentSFCSource_Parts } from '../../types/component/sfc/source.types';
|
|
2
|
+
export declare function createEmptySFCSourceParts(): RComponentSFCSource_Parts;
|
|
3
|
+
export declare function cloneSFCSourceParts(parts: RComponentSFCSource_Parts): RComponentSFCSource_Parts;
|
|
4
|
+
export declare function serializeSFCSourceParts(parts: RComponentSFCSource_Parts): string;
|
|
5
|
+
export declare function parseSFCSourceParts(source: string): RComponentSFCSource_Parts;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ColumnSortConfig } from '../../runtime/domain/table.types';
|
|
2
|
+
export declare function normalizeSortType(v: unknown): string;
|
|
3
|
+
export declare function normalizeSortBy(v: unknown): string;
|
|
4
|
+
export declare function normalizeSortConfig(raw: unknown): ColumnSortConfig | null;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { DocumentSerializationContext } from './service-document-serializer';
|
|
2
|
+
import { DocumentDraftOptions } from '../types/document/document-draft.type';
|
|
3
|
+
import { DocumentMetadataBacking } from '../types/document/document-metadata.types';
|
|
4
|
+
import { DomainDocumentType, ComponentType, DomainSectionType, FilterType, QueryType } from '../types/document/document.types';
|
|
5
|
+
import { EndgeDomainCollection } from '../types/document/domain-provider.type';
|
|
6
|
+
import { ProgramEntityType } from '../../program/domain/types/program.types';
|
|
7
|
+
import { RuntimeEntityType } from '../../runtime/domain/runtime-entity-map.types';
|
|
8
|
+
import { SourceKind } from '../../source/domain/types/source-engine.types';
|
|
9
|
+
import { RAction } from '../entities/RAction';
|
|
10
|
+
import { RAuthProfile } from '../entities/RAuthProfile';
|
|
11
|
+
import { RComponentDSL } from '../entities/RComponentDSL';
|
|
12
|
+
import { RComponentSFC } from '../entities/RComponentSFC';
|
|
13
|
+
import { RComponentTable } from '../entities/RComponentTable';
|
|
14
|
+
import { RComposition } from '../entities/RComposition';
|
|
15
|
+
import { RComputation } from '../entities/RComputation';
|
|
16
|
+
import { RConfiguration } from '../entities/RConfiguration';
|
|
17
|
+
import { RConverter } from '../entities/RConverter';
|
|
18
|
+
import { RDataView } from '../entities/RDataView';
|
|
19
|
+
import { RFilter } from '../entities/RFilter';
|
|
20
|
+
import { RI18nBundle } from '../entities/RI18nBundle';
|
|
21
|
+
import { RIntegration } from '../entities/RIntegration';
|
|
22
|
+
import { RMock } from '../entities/RMock';
|
|
23
|
+
import { RNavigation } from '../entities/RNavigation';
|
|
24
|
+
import { RPage } from '../entities/RPage';
|
|
25
|
+
import { RPageTemplate } from '../entities/RPageTemplate';
|
|
26
|
+
import { RPolicy } from '../entities/RPolicy';
|
|
27
|
+
import { RQuery } from '../entities/RQuery';
|
|
28
|
+
import { RSimulation } from '../entities/RSimulation';
|
|
29
|
+
import { RStore } from '../entities/RStore';
|
|
30
|
+
import { RStream } from '../entities/RStream';
|
|
31
|
+
import { RStyle } from '../entities/RStyle';
|
|
32
|
+
import { RType } from '../entities/RType';
|
|
33
|
+
import { RUpdate } from '../entities/RUpdate';
|
|
34
|
+
import { RVocabs } from '../entities/RVocabs';
|
|
35
|
+
import { RWorkspace } from '../entities/RWorkspace';
|
|
36
|
+
export type DomainCollectionKey = 'types' | 'queries' | 'dataViews' | 'compositions' | 'stores' | 'streams' | 'simulations' | 'updates' | 'mocks' | 'componentSFCs' | 'actions' | 'filters' | 'converters' | 'computations' | 'styles' | 'configurations' | 'vocabs' | 'authProfiles' | 'i18nBundles' | 'navigations';
|
|
37
|
+
export interface DomainDocumentModelMap {
|
|
38
|
+
'primitive': RType;
|
|
39
|
+
'type': RType;
|
|
40
|
+
'action': RAction;
|
|
41
|
+
'converter': RConverter;
|
|
42
|
+
'computation': RComputation;
|
|
43
|
+
'data-view': RDataView;
|
|
44
|
+
'composition': RComposition;
|
|
45
|
+
'store': RStore;
|
|
46
|
+
'stream': RStream;
|
|
47
|
+
'simulation': RSimulation;
|
|
48
|
+
'update': RUpdate;
|
|
49
|
+
'mock': RMock;
|
|
50
|
+
'integration': RIntegration;
|
|
51
|
+
'page-template': RPageTemplate;
|
|
52
|
+
'page': RPage;
|
|
53
|
+
'navigation': RNavigation;
|
|
54
|
+
'policy': RPolicy;
|
|
55
|
+
'style': RStyle;
|
|
56
|
+
'configuration': RConfiguration;
|
|
57
|
+
'vocabs': RVocabs;
|
|
58
|
+
'i18n-bundles': RI18nBundle;
|
|
59
|
+
'auth-profile': RAuthProfile;
|
|
60
|
+
'workspace': RWorkspace;
|
|
61
|
+
[ComponentType.DSL]: RComponentDSL;
|
|
62
|
+
[ComponentType.Table]: RComponentTable;
|
|
63
|
+
[ComponentType.SFC]: RComponentSFC;
|
|
64
|
+
[QueryType.Custom]: RQuery;
|
|
65
|
+
[QueryType.GraphQL]: RQuery;
|
|
66
|
+
[QueryType.REST]: RQuery;
|
|
67
|
+
[FilterType.DefaultFilter]: RFilter;
|
|
68
|
+
}
|
|
69
|
+
export interface DomainDocumentCapabilityMetadata {
|
|
70
|
+
source: SourceKind | 'component-sfc' | null;
|
|
71
|
+
program: ProgramEntityType | null;
|
|
72
|
+
runtime: RuntimeEntityType | null;
|
|
73
|
+
metadata: DocumentMetadataBacking | null;
|
|
74
|
+
}
|
|
75
|
+
export interface DomainDocumentPersistenceDescriptor {
|
|
76
|
+
collection: EndgeDomainCollection;
|
|
77
|
+
serialize: (source: unknown, context: DocumentSerializationContext) => Record<string, unknown>;
|
|
78
|
+
}
|
|
79
|
+
export interface DomainDocumentDescriptor<TType extends DomainDocumentType = DomainDocumentType> {
|
|
80
|
+
type: TType;
|
|
81
|
+
section: DomainSectionType;
|
|
82
|
+
domainCollection: DomainCollectionKey | null;
|
|
83
|
+
materialize: (source: Record<string, unknown>) => DomainDocumentModelMap[TType];
|
|
84
|
+
createNew: ((options: DocumentDraftOptions) => DomainDocumentModelMap[TType]) | null;
|
|
85
|
+
structuralValidationOwner: 'entity';
|
|
86
|
+
persistence: DomainDocumentPersistenceDescriptor | null;
|
|
87
|
+
capabilities: DomainDocumentCapabilityMetadata;
|
|
88
|
+
}
|
|
89
|
+
type DescriptorMap = {
|
|
90
|
+
[TType in DomainDocumentType]: DomainDocumentDescriptor<TType>;
|
|
91
|
+
};
|
|
92
|
+
export declare const DOMAIN_DOCUMENT_DESCRIPTORS: DescriptorMap;
|
|
93
|
+
export declare function getDomainDocumentDescriptor<TType extends DomainDocumentType>(type: TType): DomainDocumentDescriptor<TType>;
|
|
94
|
+
export declare function createNewDomainDocument<TType extends DomainDocumentType>(type: TType, options: DocumentDraftOptions): DomainDocumentModelMap[TType];
|
|
95
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DomainDocumentType } from '../types/document/document.types';
|
|
2
|
+
export interface DocumentSerializationContext {
|
|
3
|
+
resolveFolderIdentity: (value: string | number) => string | null;
|
|
4
|
+
}
|
|
5
|
+
export declare function serializeServiceDocument(documentType: DomainDocumentType, source: unknown, context: DocumentSerializationContext): Record<string, unknown>;
|
|
6
|
+
export declare function serializeServiceFolder(source: unknown, context: Pick<DocumentSerializationContext, 'resolveFolderIdentity'>): Record<string, unknown>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ActionImplementation, ActionTargetSelector } from '../../actions/domain/action.types';
|
|
2
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
3
|
+
import { EntityRef } from '../types/document/entity-management.type';
|
|
4
|
+
/**
|
|
5
|
+
* Каноническое определение Action на основе Source. Исполняемый код предоставляет провайдер.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RAction extends REntity {
|
|
8
|
+
displayName: string;
|
|
9
|
+
description: string | null;
|
|
10
|
+
source: string;
|
|
11
|
+
sourceVersion: number;
|
|
12
|
+
target: ActionTargetSelector[] | null;
|
|
13
|
+
contract: {
|
|
14
|
+
input: unknown | null;
|
|
15
|
+
output: unknown | null;
|
|
16
|
+
};
|
|
17
|
+
defaultImplementation: ActionImplementation;
|
|
18
|
+
owner?: EntityRef;
|
|
19
|
+
static fromPlain(json: any, storageMeta?: any): RAction;
|
|
20
|
+
toPlain(): Record<string, unknown>;
|
|
21
|
+
duplicate(options: DuplicateOptions): RAction;
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AuthProfileAdapterId, AuthProfileConfig, AuthProfileCredentials, AuthSessionPolicy } from '../../auth/domain/types/auth-profile.types';
|
|
2
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
3
|
+
export declare class RAuthProfile extends REntity {
|
|
4
|
+
displayName: string;
|
|
5
|
+
description: string | null;
|
|
6
|
+
adapterId: AuthProfileAdapterId;
|
|
7
|
+
config: AuthProfileConfig;
|
|
8
|
+
credentials: AuthProfileCredentials;
|
|
9
|
+
session: AuthSessionPolicy | undefined;
|
|
10
|
+
active: boolean;
|
|
11
|
+
static fromPlain(raw: any): RAuthProfile;
|
|
12
|
+
toPlain(): Record<string, unknown>;
|
|
13
|
+
duplicate(options: DuplicateOptions): RAuthProfile;
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DuplicateOptions } from './REntity';
|
|
2
|
+
import { RComponent } from '../types/component/component.types';
|
|
3
|
+
/**
|
|
4
|
+
* Создает экземпляр ComponentModel из JSON-объекта.
|
|
5
|
+
* Ожидается, что JSON имеет следующие поля:
|
|
6
|
+
* - name: строка
|
|
7
|
+
* - type: строка
|
|
8
|
+
* - template: строка с HTML-шаблоном (например, "<div>{{var1}}</div>")
|
|
9
|
+
* - "vars-shapes": массив объектов вида { var: string, shape: { ... } }
|
|
10
|
+
* - input: объект, описывающий входной тип
|
|
11
|
+
*
|
|
12
|
+
* @param json JSON-объект с описанием компонента.
|
|
13
|
+
* @returns Новый экземпляр ComponentModel.
|
|
14
|
+
*/
|
|
15
|
+
export declare function ReflectComponentFromPlain(json: Record<string, any>): RComponent | null;
|
|
16
|
+
export declare function ReflectComponentToPlain(component: RComponent): Record<string, any> | null;
|
|
17
|
+
export declare function duplicateComponent(component: RComponent, options: DuplicateOptions): RComponent;
|
|
18
|
+
export declare function ReflectComponentToPayloadData(component: RComponent, componentIdentityToId: Map<string, number>, converterIdentityToId: Map<string, number>): Record<string, any>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComponentType } from '../types/document/document.types';
|
|
2
|
+
import { REntity } from './REntity';
|
|
3
|
+
import { RField } from './RField';
|
|
4
|
+
import { ComponentKind } from '../types/component/component.types';
|
|
5
|
+
/**
|
|
6
|
+
* Архивная persisted-модель legacy-компонента.
|
|
7
|
+
*
|
|
8
|
+
* Класс хранит только поля документа. Legacy compile/runtime/render pipeline
|
|
9
|
+
* удалён; исполнение поддерживается только для source-first компонентов.
|
|
10
|
+
*/
|
|
11
|
+
export declare class RComponentBase extends REntity {
|
|
12
|
+
kind: ComponentKind;
|
|
13
|
+
type: ComponentType;
|
|
14
|
+
inputFields: Record<string, RField>;
|
|
15
|
+
setupScript: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
import { RComponentRenderTarget, RComponentSourceKind } from '../types/component/component-core.types';
|
|
3
|
+
/**
|
|
4
|
+
* Чистая базовая модель компонента нового поколения.
|
|
5
|
+
*
|
|
6
|
+
* В этом классе хранятся только persisted-поля документа. Runtime-состояние,
|
|
7
|
+
* диагностика, AST и IR живут в ComponentSFCRuntimeHost.
|
|
8
|
+
*/
|
|
9
|
+
export declare abstract class RComponentCore extends REntity {
|
|
10
|
+
kind: string;
|
|
11
|
+
sourceKind: RComponentSourceKind;
|
|
12
|
+
modelVersion: number;
|
|
13
|
+
supportedTargets: RComponentRenderTarget[];
|
|
14
|
+
/**
|
|
15
|
+
* Возвращает canonical source компонента.
|
|
16
|
+
*/
|
|
17
|
+
abstract getSource(): string;
|
|
18
|
+
/**
|
|
19
|
+
* Проверяет, заявлена ли поддержка конкретной цели рендера.
|
|
20
|
+
*/
|
|
21
|
+
supportsTarget(target: RComponentRenderTarget): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Создает базовую копию полей, общих для всех новых компонентов.
|
|
24
|
+
*/
|
|
25
|
+
protected copyCoreFieldsTo(target: RComponentCore): void;
|
|
26
|
+
/**
|
|
27
|
+
* Базовый класс не знает, как копировать конкретный source наследника.
|
|
28
|
+
*/
|
|
29
|
+
duplicate(_options: DuplicateOptions): RComponentCore;
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { DuplicateOptions } from './REntity';
|
|
2
|
+
import { RComponentSFCSource_Parts } from '../types/component/sfc/source.types';
|
|
3
|
+
import { RComponentCore } from './RComponentCore';
|
|
4
|
+
import { ComponentType } from '../types/document/document.types';
|
|
5
|
+
/**
|
|
6
|
+
* Новый SFC-компонент Endge.
|
|
7
|
+
*
|
|
8
|
+
* Это persisted source-first модель. Она не содержит runtime-представления:
|
|
9
|
+
* sourceParts, diagnostics, AST и IR вычисляются runtime-host.
|
|
10
|
+
*/
|
|
11
|
+
export declare class RComponentSFC extends RComponentCore {
|
|
12
|
+
kind: string;
|
|
13
|
+
type: ComponentType.SFC;
|
|
14
|
+
source: string;
|
|
15
|
+
tag: string | null;
|
|
16
|
+
constructor();
|
|
17
|
+
/**
|
|
18
|
+
* Возвращает canonical source компонента.
|
|
19
|
+
*/
|
|
20
|
+
getSource(): string;
|
|
21
|
+
/**
|
|
22
|
+
* Обновляет canonical source без изменения runtime-derived состояния.
|
|
23
|
+
*/
|
|
24
|
+
setSource(source: string): void;
|
|
25
|
+
/**
|
|
26
|
+
* Собирает persisted source из вкладок редактора.
|
|
27
|
+
*/
|
|
28
|
+
setSourceParts(parts: RComponentSFCSource_Parts): void;
|
|
29
|
+
/**
|
|
30
|
+
* Создает копию SFC-компонента как новый доменный документ.
|
|
31
|
+
*/
|
|
32
|
+
duplicate(options: DuplicateOptions): RComponentSFC;
|
|
33
|
+
/**
|
|
34
|
+
* Возвращает plain-форму для domain dump/export.
|
|
35
|
+
*/
|
|
36
|
+
toPlain(): Record<string, unknown>;
|
|
37
|
+
/**
|
|
38
|
+
* Восстанавливает SFC-компонент из plain schema или Payload-normalized объекта.
|
|
39
|
+
*/
|
|
40
|
+
static fromPlain(raw: any): RComponentSFC;
|
|
41
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RComponentTableColumn } from './RComponentTableColumn';
|
|
2
|
+
import { TableBinding } from '../../runtime/domain/table-binding.types';
|
|
3
|
+
import { RComponentBase } from './RComponentBase';
|
|
4
|
+
/**
|
|
5
|
+
* Архивный table-документ без compile/runtime поведения.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RComponentTable extends RComponentBase {
|
|
8
|
+
columns: RComponentTableColumn[];
|
|
9
|
+
sourceIndex: string;
|
|
10
|
+
bindings: TableBinding;
|
|
11
|
+
rowSize: string | number | 'zoom';
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Constructor } from '@endge/utils';
|
|
2
|
+
import { ColumnComponentType } from '../types/component/component.types';
|
|
3
|
+
import { EndgeEventBinding } from '../../events/domain/events.types';
|
|
4
|
+
import { ColumnSortConfig } from '../../runtime/domain/table.types';
|
|
5
|
+
export declare class ReflectComponentTableColumnBase {
|
|
6
|
+
id: string;
|
|
7
|
+
isActive: boolean;
|
|
8
|
+
title: string;
|
|
9
|
+
type: ColumnComponentType;
|
|
10
|
+
dataPaths: Record<string, string>;
|
|
11
|
+
dataConverters: Record<string, string>;
|
|
12
|
+
width: number;
|
|
13
|
+
pin: 'left' | 'right' | 'none';
|
|
14
|
+
sort: ColumnSortConfig | null;
|
|
15
|
+
reports: Record<string, {
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
formatter?: {
|
|
18
|
+
type?: string;
|
|
19
|
+
format?: string;
|
|
20
|
+
};
|
|
21
|
+
}> | null;
|
|
22
|
+
eventBindings: EndgeEventBinding[];
|
|
23
|
+
toPlain(): Record<string, any>;
|
|
24
|
+
fromPlain(json: Record<string, any>): void;
|
|
25
|
+
}
|
|
26
|
+
export declare class ReflectComponentTableColumnHtml extends ReflectComponentTableColumnBase {
|
|
27
|
+
template: string | null;
|
|
28
|
+
toPlain(): Record<string, any>;
|
|
29
|
+
fromPlain(json: Record<string, any>): void;
|
|
30
|
+
}
|
|
31
|
+
export declare class ReflectComponentTableColumnComponent extends ReflectComponentTableColumnBase {
|
|
32
|
+
componentId: number | null;
|
|
33
|
+
toPlain(): Record<string, any>;
|
|
34
|
+
fromPlain(json: Record<string, any>): void;
|
|
35
|
+
}
|
|
36
|
+
export type RComponentTableColumn = ReflectComponentTableColumnHtml | ReflectComponentTableColumnComponent;
|
|
37
|
+
export declare const ColumnTypeMap: Record<ColumnComponentType, Constructor<RComponentTableColumn>>;
|
|
38
|
+
export declare function RComponentTableColumn_TypeCtor(type: ColumnComponentType): Constructor<RComponentTableColumn> | null;
|
|
39
|
+
export declare function RComponentTableColumn_isComponent(column: RComponentTableColumn): column is ReflectComponentTableColumnComponent;
|
|
40
|
+
export declare function RComponentTableColumn_isHtml(column: RComponentTableColumn): column is ReflectComponentTableColumnHtml;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
export declare const R_COMPOSITION_KINDS: readonly ["library", "query", "workspace"];
|
|
3
|
+
export type RCompositionKind = typeof R_COMPOSITION_KINDS[number];
|
|
4
|
+
export declare function normalizeRCompositionKind(value: unknown): RCompositionKind;
|
|
5
|
+
export declare function normalizeRCompositionKindIdentity(value: unknown): string | null;
|
|
6
|
+
/**
|
|
7
|
+
* Persisted source-first описание runtime-графа без layout/rendering.
|
|
8
|
+
*/
|
|
9
|
+
export declare class RComposition extends REntity {
|
|
10
|
+
readonly type: "composition";
|
|
11
|
+
description: string | null;
|
|
12
|
+
kind: RCompositionKind;
|
|
13
|
+
kindIdentity: string | null;
|
|
14
|
+
source: string;
|
|
15
|
+
sourceVersion: number;
|
|
16
|
+
static fromPlain(input: Record<string, unknown>): RComposition;
|
|
17
|
+
duplicate(options: DuplicateOptions): RComposition;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DiagnosticsProblemInput } from '../../diagnostics/domain/types/diagnostics.types';
|
|
2
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
3
|
+
/**
|
|
4
|
+
* Сохранённая исполняемая спецификация. Runtime-выполнение предоставляется отдельно.
|
|
5
|
+
*/
|
|
6
|
+
export declare class RComputation extends REntity {
|
|
7
|
+
displayName: string;
|
|
8
|
+
description: string | null;
|
|
9
|
+
source: string;
|
|
10
|
+
sourceVersion: number;
|
|
11
|
+
contractVersion: number;
|
|
12
|
+
static fromPlain(json: any, storageMeta?: any): RComputation;
|
|
13
|
+
toPlain(): Record<string, unknown>;
|
|
14
|
+
/**
|
|
15
|
+
* Возвращает validation problems computation без mutable entity state.
|
|
16
|
+
*/
|
|
17
|
+
getDiagnosticProblems(): DiagnosticsProblemInput[];
|
|
18
|
+
duplicate(options: DuplicateOptions): RComputation;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Принадлежащий Workspace Source-документ, объявляющий одну категорию настроек.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RConfiguration extends REntity {
|
|
6
|
+
readonly type: "configuration";
|
|
7
|
+
description: string | null;
|
|
8
|
+
source: string;
|
|
9
|
+
sourceVersion: number;
|
|
10
|
+
static fromPlain(json: any, storageMeta?: any): RConfiguration;
|
|
11
|
+
toPlain(): Record<string, unknown>;
|
|
12
|
+
duplicate(options: DuplicateOptions): RConfiguration;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EntityManagement } from '../types/document/entity-management.type';
|
|
2
|
+
import { REntity } from './REntity';
|
|
3
|
+
export interface RConverterSchema extends EntityManagement {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string | null;
|
|
7
|
+
meta: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
export declare class RConverter extends REntity {
|
|
10
|
+
description: string | null;
|
|
11
|
+
customHandler: ((v: any, options?: Record<string, unknown>) => any) | undefined;
|
|
12
|
+
setCustom(fn: ((v: any, options?: Record<string, unknown>) => any) | undefined): void;
|
|
13
|
+
convert(v: any, options?: Record<string, unknown>): any;
|
|
14
|
+
toPlain(): RConverterSchema;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Source-first описание переиспользуемого преобразования данных.
|
|
4
|
+
*/
|
|
5
|
+
export declare class RDataView extends REntity {
|
|
6
|
+
source: string;
|
|
7
|
+
sourceVersion: number;
|
|
8
|
+
/**
|
|
9
|
+
* Создает копию DataView без привязки к старой папке.
|
|
10
|
+
*/
|
|
11
|
+
duplicate(options: DuplicateOptions): RDataView;
|
|
12
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { DiagnosticsProblemInput } from '../../diagnostics/domain/types/diagnostics.types';
|
|
2
|
+
import { EntityManagement, EntityOrigin, ManagedBy } from '../types/document/entity-management.type';
|
|
3
|
+
export interface DuplicateOptions {
|
|
4
|
+
identity: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare function normalizeEntityMeta(value: unknown): Record<string, unknown>;
|
|
8
|
+
export declare class REntity<TId extends string | number = number> {
|
|
9
|
+
id: TId;
|
|
10
|
+
identity: string;
|
|
11
|
+
displayName: string;
|
|
12
|
+
name: string;
|
|
13
|
+
description: string | null;
|
|
14
|
+
folderId?: string | number | null;
|
|
15
|
+
workspaceFolderId?: string | number | null;
|
|
16
|
+
managedBy: ManagedBy;
|
|
17
|
+
origin: EntityOrigin;
|
|
18
|
+
managedById: string | null;
|
|
19
|
+
isTemporary: boolean;
|
|
20
|
+
meta: Record<string, unknown>;
|
|
21
|
+
createdAt?: string;
|
|
22
|
+
updatedAt?: string;
|
|
23
|
+
deletedAt?: string | null;
|
|
24
|
+
author?: string | null;
|
|
25
|
+
active?: boolean | null;
|
|
26
|
+
/**
|
|
27
|
+
* Применяет общий meta-контракт к transport/plain документу.
|
|
28
|
+
*/
|
|
29
|
+
applyEntityMeta(raw: unknown): void;
|
|
30
|
+
/**
|
|
31
|
+
* Подмешивает storage-мета и meta из Payload.
|
|
32
|
+
*/
|
|
33
|
+
applyStorageMeta(raw: any): void;
|
|
34
|
+
applyManagement(raw: EntityManagement | Record<string, unknown> | null | undefined): void;
|
|
35
|
+
/**
|
|
36
|
+
* Возвращает текущие validation problems без сохранения mutable state в сущности.
|
|
37
|
+
*/
|
|
38
|
+
getDiagnosticProblems(): DiagnosticsProblemInput[];
|
|
39
|
+
/**
|
|
40
|
+
* Выполняет legacy compile hook без хранения validation state в сущности.
|
|
41
|
+
*/
|
|
42
|
+
compile(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Возвращает полную копию сущности с новым identity и именем (в корне, folderId = null).
|
|
45
|
+
* Переопределяется в наследниках для корректного глубокого копирования структуры.
|
|
46
|
+
*/
|
|
47
|
+
duplicate(_options: DuplicateOptions): REntity;
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { EndgeDocumentServerState } from '../types/document/domain-snapshot.type';
|
|
2
|
+
import { REntity } from './REntity';
|
|
3
|
+
/**
|
|
4
|
+
* Persisted authoring definition of a dynamic configuration facet.
|
|
5
|
+
*/
|
|
6
|
+
export declare class RFacet extends REntity<string | number> {
|
|
7
|
+
serverState: EndgeDocumentServerState | null;
|
|
8
|
+
icon: string;
|
|
9
|
+
color: string;
|
|
10
|
+
position: number;
|
|
11
|
+
documentCount: number;
|
|
12
|
+
static fromPlain(input: Record<string, unknown>): RFacet;
|
|
13
|
+
toPlain(): Record<string, unknown>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EndgeConfigurationContribution } from '../../configuration/domain/types/configuration.type';
|
|
2
|
+
import { EndgeDocumentServerState } from '../types/document/domain-snapshot.type';
|
|
3
|
+
import { REntity } from './REntity';
|
|
4
|
+
/**
|
|
5
|
+
* Persisted contribution document whose identity is scoped by facetIdentity.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RFacetDocument extends REntity<string | number> {
|
|
8
|
+
serverState: EndgeDocumentServerState | null;
|
|
9
|
+
facetIdentity: string;
|
|
10
|
+
configuration: EndgeConfigurationContribution;
|
|
11
|
+
static fromPlain(input: Record<string, unknown>): RFacetDocument;
|
|
12
|
+
toPlain(): Record<string, unknown>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class RField {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
isArray: boolean;
|
|
5
|
+
optional: boolean;
|
|
6
|
+
params?: Map<string, RField>;
|
|
7
|
+
constructor(name: string, type: string, isArray?: boolean, optional?: boolean, params?: Map<string, RField>);
|
|
8
|
+
isMethod(): boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DomainDocumentType } from '../types/document/document.types';
|
|
2
|
+
import { FilterFieldItemSchema, RFilterSchema } from '../types/document/filter.types';
|
|
3
|
+
import { REntity } from './REntity';
|
|
4
|
+
export declare class RFilter extends REntity {
|
|
5
|
+
fields: FilterFieldItemSchema[];
|
|
6
|
+
source: string;
|
|
7
|
+
sourceVersion: number;
|
|
8
|
+
get type(): DomainDocumentType;
|
|
9
|
+
static fromPlain(json: RFilterSchema): RFilter;
|
|
10
|
+
toPlain(): RFilterSchema;
|
|
11
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { REntity } from './REntity';
|
|
2
|
+
/**
|
|
3
|
+
* Доменная сущность для папок (folders).
|
|
4
|
+
*
|
|
5
|
+
* Может быть создана:
|
|
6
|
+
* - из payload-формата (с полями id, identity, displayName...)
|
|
7
|
+
* - из plain-domain-формата (schema)
|
|
8
|
+
*/
|
|
9
|
+
export declare class RFolder extends REntity {
|
|
10
|
+
scope: 'collection' | 'workspace';
|
|
11
|
+
entityType: string | null;
|
|
12
|
+
parent: string | number | null;
|
|
13
|
+
icon: string | null;
|
|
14
|
+
color: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Загружает папку из plain-schema (schema.toPlain())
|
|
17
|
+
*/
|
|
18
|
+
static fromPlain(json: any): RFolder;
|
|
19
|
+
/**
|
|
20
|
+
* Экспорт только схемы (parent уже id в plain).
|
|
21
|
+
*/
|
|
22
|
+
toPlain(): any;
|
|
23
|
+
compile(): void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DiagnosticsProblemInput } from '../../diagnostics/domain/types/diagnostics.types';
|
|
2
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
3
|
+
export type RI18nBundleLocales = Record<string, Record<string, unknown>>;
|
|
4
|
+
/**
|
|
5
|
+
* Сущность словаря переводов (коллекция i18n-bundles). Один документ = словарь с несколькими локалями.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RI18nBundle extends REntity {
|
|
8
|
+
description: string | null;
|
|
9
|
+
locales: RI18nBundleLocales;
|
|
10
|
+
active: boolean;
|
|
11
|
+
static fromPlain(json: any): RI18nBundle;
|
|
12
|
+
toPlain(): Record<string, unknown>;
|
|
13
|
+
/**
|
|
14
|
+
* Возвращает validation problems i18n bundle без mutable entity state.
|
|
15
|
+
*/
|
|
16
|
+
getDiagnosticProblems(): DiagnosticsProblemInput[];
|
|
17
|
+
duplicate(options: DuplicateOptions): RI18nBundle;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DuplicateOptions, REntity } from './REntity';
|
|
2
|
+
import { EntityManagement } from '../types/document/entity-management.type';
|
|
3
|
+
export interface RIntegrationSchema extends EntityManagement {
|
|
4
|
+
id: string | number;
|
|
5
|
+
identity: string;
|
|
6
|
+
name: string;
|
|
7
|
+
description?: string | null;
|
|
8
|
+
meta: Record<string, unknown>;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Сущность интеграции (коллекция integrations).
|
|
12
|
+
*/
|
|
13
|
+
export declare class RIntegration extends REntity {
|
|
14
|
+
description: string | null;
|
|
15
|
+
toPlain(): RIntegrationSchema;
|
|
16
|
+
duplicate(options: DuplicateOptions): RIntegration;
|
|
17
|
+
}
|