@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,311 @@
|
|
|
1
|
+
import { RComponentSFC_IR_Tag } from './ir.types';
|
|
2
|
+
import { RComponentSFC_SourceRange } from './location.types';
|
|
3
|
+
import { EndgeSFCEditingConfiguration } from '../../../../configuration/domain/types/configuration.type';
|
|
4
|
+
import { RComponentDiagnostic } from '../component-core.types';
|
|
5
|
+
import { TypeSourceDefinition } from '../../../../source/domain/types/type-source.types';
|
|
6
|
+
export type ComponentSFCVisualSourceValue = {
|
|
7
|
+
kind: 'boolean';
|
|
8
|
+
value: boolean;
|
|
9
|
+
} | {
|
|
10
|
+
kind: 'literal';
|
|
11
|
+
value: unknown;
|
|
12
|
+
} | {
|
|
13
|
+
kind: 'expression';
|
|
14
|
+
source: string;
|
|
15
|
+
};
|
|
16
|
+
export interface ComponentSFCVisualAttribute {
|
|
17
|
+
name: string;
|
|
18
|
+
value: ComponentSFCVisualSourceValue;
|
|
19
|
+
sourceRange?: RComponentSFC_SourceRange;
|
|
20
|
+
}
|
|
21
|
+
export type ComponentSFCTableCellBindingProjection = ComponentSFCVisualAttribute;
|
|
22
|
+
export type ComponentSFCTableCellInteractionModifier = 'ctrl' | 'shift' | 'alt' | 'meta' | 'mod' | 'altGraph' | 'exact';
|
|
23
|
+
export type ComponentSFCTableCellInteractionFlag = 'stop' | 'prevent' | 'self' | 'once' | 'capture' | 'passive';
|
|
24
|
+
export interface ComponentSFCInteractionTriggerProjection {
|
|
25
|
+
event: string;
|
|
26
|
+
key: string[];
|
|
27
|
+
code: string[];
|
|
28
|
+
held: {
|
|
29
|
+
key: string[];
|
|
30
|
+
code: string[];
|
|
31
|
+
match: 'all' | 'any';
|
|
32
|
+
exact: boolean;
|
|
33
|
+
} | null;
|
|
34
|
+
modifiers: Partial<Record<ComponentSFCTableCellInteractionModifier, boolean>>;
|
|
35
|
+
repeat: boolean | null;
|
|
36
|
+
composing: boolean | null;
|
|
37
|
+
button: number | null;
|
|
38
|
+
flags: Partial<Record<ComponentSFCTableCellInteractionFlag, boolean>>;
|
|
39
|
+
}
|
|
40
|
+
export interface ComponentSFCTableCellInteractionRuleProjection extends ComponentSFCInteractionTriggerProjection {
|
|
41
|
+
reactionSource: string;
|
|
42
|
+
}
|
|
43
|
+
export interface ComponentSFCTableCellInteractionsProjection {
|
|
44
|
+
editable: boolean;
|
|
45
|
+
rules: ComponentSFCTableCellInteractionRuleProjection[];
|
|
46
|
+
suffixes: ComponentSFCTableCellInteractionFlag[];
|
|
47
|
+
sourceRange?: RComponentSFC_SourceRange;
|
|
48
|
+
message?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface ComponentSFCEventReactionProjection {
|
|
51
|
+
editable: boolean;
|
|
52
|
+
source: string | null;
|
|
53
|
+
suffixes: ComponentSFCTableCellInteractionFlag[];
|
|
54
|
+
sourceRange?: RComponentSFC_SourceRange;
|
|
55
|
+
message?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface ComponentSFCEditOutcomeProjection {
|
|
58
|
+
editable: boolean;
|
|
59
|
+
triggers: ComponentSFCInteractionTriggerProjection[];
|
|
60
|
+
usesDefault: boolean;
|
|
61
|
+
suffixes: ComponentSFCTableCellInteractionFlag[];
|
|
62
|
+
message?: string;
|
|
63
|
+
}
|
|
64
|
+
export type ComponentSFCTableVisualCellSyntax = 'cell' | 'direct' | 'editable-default' | 'editable-edit';
|
|
65
|
+
export type ComponentSFCTableEditableElementProjection = {
|
|
66
|
+
kind: 'component';
|
|
67
|
+
identity: string | null;
|
|
68
|
+
syntax: ComponentSFCTableVisualCellSyntax;
|
|
69
|
+
bindings: ComponentSFCTableCellBindingProjection[];
|
|
70
|
+
} | {
|
|
71
|
+
kind: 'tag';
|
|
72
|
+
tag: ComponentSFCTableVisualCellTag;
|
|
73
|
+
syntax: ComponentSFCTableVisualCellSyntax;
|
|
74
|
+
bindings: ComponentSFCTableCellBindingProjection[];
|
|
75
|
+
} | {
|
|
76
|
+
kind: 'source';
|
|
77
|
+
};
|
|
78
|
+
export interface ComponentSFCTableCellEditingProjection {
|
|
79
|
+
editable: boolean;
|
|
80
|
+
enabled: boolean;
|
|
81
|
+
mode: 'primitive' | 'custom' | 'component' | 'source' | 'unavailable';
|
|
82
|
+
tag: string | null;
|
|
83
|
+
triggers: ComponentSFCInteractionTriggerProjection[];
|
|
84
|
+
usesDefaultTrigger: boolean;
|
|
85
|
+
suffixes: ComponentSFCTableCellInteractionFlag[];
|
|
86
|
+
reaction: ComponentSFCEventReactionProjection;
|
|
87
|
+
cancel: ComponentSFCEditOutcomeProjection;
|
|
88
|
+
commit: ComponentSFCEditOutcomeProjection;
|
|
89
|
+
editor: ComponentSFCTableEditableElementProjection | null;
|
|
90
|
+
editorImplicit: boolean;
|
|
91
|
+
sourceRange?: RComponentSFC_SourceRange;
|
|
92
|
+
message?: string;
|
|
93
|
+
}
|
|
94
|
+
export type ComponentSFCTableVisualCellTag = Exclude<RComponentSFC_IR_Tag, 'Component' | 'Table' | 'Column' | 'Cell' | 'ColumnMenu' | 'CellMenu' | 'RowMenu' | 'MenuItem' | 'MenuSeparator' | 'Editable' | 'Variant'>;
|
|
95
|
+
export type ComponentSFCTableCellProjection = {
|
|
96
|
+
kind: 'default';
|
|
97
|
+
} | {
|
|
98
|
+
kind: 'component';
|
|
99
|
+
identity: string | null;
|
|
100
|
+
syntax: ComponentSFCTableVisualCellSyntax;
|
|
101
|
+
bindings: ComponentSFCTableCellBindingProjection[];
|
|
102
|
+
} | {
|
|
103
|
+
kind: 'tag';
|
|
104
|
+
tag: ComponentSFCTableVisualCellTag;
|
|
105
|
+
syntax: ComponentSFCTableVisualCellSyntax;
|
|
106
|
+
bindings: ComponentSFCTableCellBindingProjection[];
|
|
107
|
+
} | {
|
|
108
|
+
kind: 'source';
|
|
109
|
+
};
|
|
110
|
+
export interface ComponentSFCVisualInspectionOptions {
|
|
111
|
+
resolveComponentTag?: (tag: string) => string | null;
|
|
112
|
+
resolveTypeDefinition?: (identity: string) => TypeSourceDefinition | null;
|
|
113
|
+
actionIdentities?: Iterable<string>;
|
|
114
|
+
sfcEditing?: EndgeSFCEditingConfiguration;
|
|
115
|
+
}
|
|
116
|
+
export interface ComponentSFCTableColumnProjection {
|
|
117
|
+
id: string;
|
|
118
|
+
index: number;
|
|
119
|
+
key: ComponentSFCVisualSourceValue | null;
|
|
120
|
+
title: ComponentSFCVisualSourceValue | null;
|
|
121
|
+
width: ComponentSFCVisualSourceValue | null;
|
|
122
|
+
sortable: ComponentSFCVisualSourceValue | null;
|
|
123
|
+
sort: ComponentSFCVisualSourceValue | null;
|
|
124
|
+
sortBy: ComponentSFCVisualSourceValue | null;
|
|
125
|
+
pinnable: ComponentSFCVisualSourceValue | null;
|
|
126
|
+
attributes: ComponentSFCVisualAttribute[];
|
|
127
|
+
cell: ComponentSFCTableCellProjection;
|
|
128
|
+
editing: ComponentSFCTableCellEditingProjection;
|
|
129
|
+
interactions: ComponentSFCTableCellInteractionsProjection;
|
|
130
|
+
cellMenu: ComponentSFCTableMenuProjection;
|
|
131
|
+
hasCustomCell: boolean;
|
|
132
|
+
cellSource: string | null;
|
|
133
|
+
sourceRange: RComponentSFC_SourceRange;
|
|
134
|
+
}
|
|
135
|
+
export type ComponentSFCTableVisualMenuKind = 'column' | 'row';
|
|
136
|
+
export type ComponentSFCTableVisualMenuMode = 'default' | 'disabled' | 'none' | 'custom' | 'source';
|
|
137
|
+
export interface ComponentSFCTableMenuActionOption {
|
|
138
|
+
identity: string;
|
|
139
|
+
source: 'intrinsic' | 'built-in' | 'external' | 'required' | 'provided' | 'forwarded';
|
|
140
|
+
}
|
|
141
|
+
export type ComponentSFCTableMenuNodeProjection = {
|
|
142
|
+
kind: 'separator';
|
|
143
|
+
id: string;
|
|
144
|
+
sourceRange: RComponentSFC_SourceRange;
|
|
145
|
+
} | {
|
|
146
|
+
kind: 'item';
|
|
147
|
+
id: string;
|
|
148
|
+
label: ComponentSFCVisualSourceValue | null;
|
|
149
|
+
action: ComponentSFCVisualSourceValue | null;
|
|
150
|
+
input: ComponentSFCVisualSourceValue | null;
|
|
151
|
+
icon: ComponentSFCVisualSourceValue | null;
|
|
152
|
+
visible: ComponentSFCVisualSourceValue | null;
|
|
153
|
+
disabled: ComponentSFCVisualSourceValue | null;
|
|
154
|
+
sourceOwned: boolean;
|
|
155
|
+
sourceRange: RComponentSFC_SourceRange;
|
|
156
|
+
};
|
|
157
|
+
export interface ComponentSFCTableMenuProjection {
|
|
158
|
+
kind: ComponentSFCTableVisualMenuKind;
|
|
159
|
+
mode: ComponentSFCTableVisualMenuMode;
|
|
160
|
+
sourceOwned: boolean;
|
|
161
|
+
items: ComponentSFCTableMenuNodeProjection[];
|
|
162
|
+
sourceRange?: RComponentSFC_SourceRange;
|
|
163
|
+
}
|
|
164
|
+
export type ComponentSFCTableSourcePatch = {
|
|
165
|
+
type: 'add-column';
|
|
166
|
+
title?: string;
|
|
167
|
+
key?: string;
|
|
168
|
+
} | {
|
|
169
|
+
type: 'remove-column';
|
|
170
|
+
columnIndex: number;
|
|
171
|
+
} | {
|
|
172
|
+
type: 'move-column';
|
|
173
|
+
fromIndex: number;
|
|
174
|
+
toIndex: number;
|
|
175
|
+
} | {
|
|
176
|
+
type: 'set-column-attribute';
|
|
177
|
+
columnIndex: number;
|
|
178
|
+
name: 'key' | 'title' | 'width' | 'sortable' | 'sort' | 'sort-by';
|
|
179
|
+
value: string | null;
|
|
180
|
+
} | {
|
|
181
|
+
type: 'set-table-attribute';
|
|
182
|
+
name: 'ref' | 'selection-mode' | 'selection-trigger' | 'cell-selection-mode' | 'paging' | 'page-size' | 'page-sizes' | 'default-pin' | 'default-sort' | 'default-hidden';
|
|
183
|
+
value: string | null;
|
|
184
|
+
} | {
|
|
185
|
+
type: 'set-column-component';
|
|
186
|
+
columnIndex: number;
|
|
187
|
+
identity: string | null;
|
|
188
|
+
syntax?: ComponentSFCTableVisualCellSyntax;
|
|
189
|
+
} | {
|
|
190
|
+
type: 'set-column-tag';
|
|
191
|
+
columnIndex: number;
|
|
192
|
+
tag: ComponentSFCTableVisualCellTag | null;
|
|
193
|
+
syntax?: ComponentSFCTableVisualCellSyntax;
|
|
194
|
+
} | {
|
|
195
|
+
type: 'set-column-cell-attribute';
|
|
196
|
+
columnIndex: number;
|
|
197
|
+
name: string;
|
|
198
|
+
value: string | null;
|
|
199
|
+
valueKind: 'expression' | 'literal';
|
|
200
|
+
} | {
|
|
201
|
+
type: 'set-column-cell-on';
|
|
202
|
+
columnIndex: number;
|
|
203
|
+
value: string | null;
|
|
204
|
+
} | {
|
|
205
|
+
type: 'set-column-cell-editable';
|
|
206
|
+
columnIndex: number;
|
|
207
|
+
enabled: boolean;
|
|
208
|
+
} | {
|
|
209
|
+
type: 'set-column-cell-edit-triggers';
|
|
210
|
+
columnIndex: number;
|
|
211
|
+
triggers: ComponentSFCInteractionTriggerProjection[];
|
|
212
|
+
} | {
|
|
213
|
+
type: 'set-column-cell-edited-reaction';
|
|
214
|
+
columnIndex: number;
|
|
215
|
+
value: string | null;
|
|
216
|
+
} | {
|
|
217
|
+
type: 'set-column-cell-cancel-triggers';
|
|
218
|
+
columnIndex: number;
|
|
219
|
+
triggers: ComponentSFCInteractionTriggerProjection[] | null;
|
|
220
|
+
} | {
|
|
221
|
+
type: 'set-column-cell-commit-triggers';
|
|
222
|
+
columnIndex: number;
|
|
223
|
+
triggers: ComponentSFCInteractionTriggerProjection[] | null;
|
|
224
|
+
} | {
|
|
225
|
+
type: 'set-column-cell-editor-component';
|
|
226
|
+
columnIndex: number;
|
|
227
|
+
identity: string;
|
|
228
|
+
} | {
|
|
229
|
+
type: 'set-column-cell-editor-tag';
|
|
230
|
+
columnIndex: number;
|
|
231
|
+
tag: ComponentSFCTableVisualCellTag;
|
|
232
|
+
} | {
|
|
233
|
+
type: 'set-column-cell-editor-attribute';
|
|
234
|
+
columnIndex: number;
|
|
235
|
+
name: string;
|
|
236
|
+
value: string | null;
|
|
237
|
+
valueKind: 'expression' | 'literal';
|
|
238
|
+
} | {
|
|
239
|
+
type: 'set-menu-mode';
|
|
240
|
+
menu: ComponentSFCTableVisualMenuKind;
|
|
241
|
+
columnIndex?: number;
|
|
242
|
+
mode: 'default' | 'disabled' | 'none' | 'custom';
|
|
243
|
+
} | {
|
|
244
|
+
type: 'add-menu-node';
|
|
245
|
+
menu: ComponentSFCTableVisualMenuKind;
|
|
246
|
+
columnIndex?: number;
|
|
247
|
+
node: 'item' | 'separator';
|
|
248
|
+
} | {
|
|
249
|
+
type: 'remove-menu-node';
|
|
250
|
+
menu: ComponentSFCTableVisualMenuKind;
|
|
251
|
+
columnIndex?: number;
|
|
252
|
+
nodeIndex: number;
|
|
253
|
+
} | {
|
|
254
|
+
type: 'move-menu-node';
|
|
255
|
+
menu: ComponentSFCTableVisualMenuKind;
|
|
256
|
+
columnIndex?: number;
|
|
257
|
+
fromIndex: number;
|
|
258
|
+
toIndex: number;
|
|
259
|
+
} | {
|
|
260
|
+
type: 'set-menu-item-attribute';
|
|
261
|
+
menu: ComponentSFCTableVisualMenuKind;
|
|
262
|
+
columnIndex?: number;
|
|
263
|
+
nodeIndex: number;
|
|
264
|
+
name: 'label' | 'action' | 'input' | 'icon' | 'visible' | 'disabled';
|
|
265
|
+
value: string | null;
|
|
266
|
+
valueKind: 'expression' | 'literal';
|
|
267
|
+
};
|
|
268
|
+
export interface ComponentSFCTableSourcePatchResult {
|
|
269
|
+
ok: boolean;
|
|
270
|
+
source: string;
|
|
271
|
+
changed: boolean;
|
|
272
|
+
projection: ComponentSFCTableVisualProjection | null;
|
|
273
|
+
diagnostics: RComponentDiagnostic[];
|
|
274
|
+
message?: string;
|
|
275
|
+
}
|
|
276
|
+
export interface ComponentSFCTableVisualProjection {
|
|
277
|
+
kind: 'table';
|
|
278
|
+
ref: ComponentSFCVisualSourceValue | null;
|
|
279
|
+
selectionMode: ComponentSFCVisualSourceValue | null;
|
|
280
|
+
selectionTrigger: ComponentSFCVisualSourceValue | null;
|
|
281
|
+
cellSelectionMode: ComponentSFCVisualSourceValue | null;
|
|
282
|
+
rows: ComponentSFCVisualSourceValue | null;
|
|
283
|
+
rowKey: ComponentSFCVisualSourceValue | null;
|
|
284
|
+
paging: ComponentSFCVisualSourceValue | null;
|
|
285
|
+
pageSize: ComponentSFCVisualSourceValue | null;
|
|
286
|
+
pageSizes: ComponentSFCVisualSourceValue | null;
|
|
287
|
+
sortMode: ComponentSFCVisualSourceValue | null;
|
|
288
|
+
defaultSort: ComponentSFCVisualSourceValue | null;
|
|
289
|
+
columnPin: ComponentSFCVisualSourceValue | null;
|
|
290
|
+
defaultPin: ComponentSFCVisualSourceValue | null;
|
|
291
|
+
defaultHidden: ComponentSFCVisualSourceValue | null;
|
|
292
|
+
columnMenu: ComponentSFCVisualSourceValue | null;
|
|
293
|
+
menus: {
|
|
294
|
+
column: ComponentSFCTableMenuProjection;
|
|
295
|
+
row: ComponentSFCTableMenuProjection;
|
|
296
|
+
};
|
|
297
|
+
menuActions: ComponentSFCTableMenuActionOption[];
|
|
298
|
+
attributes: ComponentSFCVisualAttribute[];
|
|
299
|
+
columns: ComponentSFCTableColumnProjection[];
|
|
300
|
+
sourceRange: RComponentSFC_SourceRange;
|
|
301
|
+
}
|
|
302
|
+
export interface ComponentSFCVisualInspection {
|
|
303
|
+
support: {
|
|
304
|
+
kind: 'table';
|
|
305
|
+
} | {
|
|
306
|
+
kind: 'none';
|
|
307
|
+
reason: 'source-empty' | 'template-missing' | 'root-count' | 'root-not-table';
|
|
308
|
+
};
|
|
309
|
+
projection: ComponentSFCTableVisualProjection | null;
|
|
310
|
+
diagnostics: RComponentDiagnostic[];
|
|
311
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComputationSourceDocument } from './computation-source.types';
|
|
2
|
+
import { SourceExpressionIR } from '../../../source/domain/types/source-expression.types';
|
|
3
|
+
export interface ComputationContractField {
|
|
4
|
+
type: string;
|
|
5
|
+
isArray?: boolean;
|
|
6
|
+
optional?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export type ComputationProgramNode = {
|
|
9
|
+
kind: 'expression';
|
|
10
|
+
name: string;
|
|
11
|
+
dependencies: string[];
|
|
12
|
+
expression: SourceExpressionIR;
|
|
13
|
+
} | {
|
|
14
|
+
kind: 'typescript';
|
|
15
|
+
name: string;
|
|
16
|
+
dependencies: string[];
|
|
17
|
+
inputs: Record<string, SourceExpressionIR>;
|
|
18
|
+
moduleKey: string;
|
|
19
|
+
source: string;
|
|
20
|
+
} | {
|
|
21
|
+
kind: 'computation';
|
|
22
|
+
name: string;
|
|
23
|
+
dependencies: string[];
|
|
24
|
+
identity: string;
|
|
25
|
+
input: SourceExpressionIR;
|
|
26
|
+
};
|
|
27
|
+
export interface ComputationProgramPayload {
|
|
28
|
+
ast?: unknown;
|
|
29
|
+
input: ComputationContractField | null;
|
|
30
|
+
output: ComputationContractField | null;
|
|
31
|
+
sourceDocument: ComputationSourceDocument | null;
|
|
32
|
+
nodes: ComputationProgramNode[];
|
|
33
|
+
result: SourceExpressionIR | null;
|
|
34
|
+
execution: 'sync' | 'async';
|
|
35
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { SourceExpressionIR } from '../../../source/domain/types/source-expression.types';
|
|
2
|
+
export type ComputationResourceStatus = 'idle' | 'pending' | 'success' | 'error';
|
|
3
|
+
export interface ComputationRuntimeErrorShape {
|
|
4
|
+
name: 'ComputationRuntimeError';
|
|
5
|
+
message: string;
|
|
6
|
+
computationIdentity: string;
|
|
7
|
+
outputName?: string;
|
|
8
|
+
kind: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ComputationResource<T = unknown> {
|
|
11
|
+
readonly status: ComputationResourceStatus;
|
|
12
|
+
readonly loading: boolean;
|
|
13
|
+
readonly value: T | undefined;
|
|
14
|
+
readonly error: ComputationRuntimeErrorShape | null;
|
|
15
|
+
refresh: () => Promise<void>;
|
|
16
|
+
subscribe: (listener: VoidFunction) => VoidFunction;
|
|
17
|
+
dispose: () => void;
|
|
18
|
+
}
|
|
19
|
+
export interface ComputationSandboxRequest {
|
|
20
|
+
computationIdentity: string;
|
|
21
|
+
outputName: string;
|
|
22
|
+
moduleKey: string;
|
|
23
|
+
source: string;
|
|
24
|
+
inputs: Record<string, unknown>;
|
|
25
|
+
}
|
|
26
|
+
export interface ComputationSandboxAdapter {
|
|
27
|
+
execute: (request: ComputationSandboxRequest) => Promise<unknown>;
|
|
28
|
+
dispose?: () => void | Promise<void>;
|
|
29
|
+
}
|
|
30
|
+
export interface ComputationExecutionScope {
|
|
31
|
+
readonly stack: readonly string[];
|
|
32
|
+
readonly budget: {
|
|
33
|
+
calls: number;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface ComputationDependencyRunner {
|
|
37
|
+
run: (identity: string, input: unknown, scope: ComputationExecutionScope) => Promise<unknown>;
|
|
38
|
+
runSync: (identity: string, input: unknown, scope: ComputationExecutionScope) => unknown;
|
|
39
|
+
}
|
|
40
|
+
export interface ComputationExecutionApi {
|
|
41
|
+
evaluate: (expression: SourceExpressionIR, scope?: unknown) => unknown;
|
|
42
|
+
}
|
|
43
|
+
export interface ComputationOverride {
|
|
44
|
+
execution: 'sync' | 'async';
|
|
45
|
+
run: (input: unknown, api: ComputationExecutionApi) => unknown | Promise<unknown>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ComputationContractField } from './computation-program.types';
|
|
2
|
+
import { SourceExpressionIR } from '../../../source/domain/types/source-expression.types';
|
|
3
|
+
export interface ComputationSourceRange {
|
|
4
|
+
start: number;
|
|
5
|
+
end: number;
|
|
6
|
+
}
|
|
7
|
+
export type ComputationSourceNode = {
|
|
8
|
+
kind: 'expression';
|
|
9
|
+
name: string;
|
|
10
|
+
expression: SourceExpressionIR;
|
|
11
|
+
sourceRange?: ComputationSourceRange;
|
|
12
|
+
} | {
|
|
13
|
+
kind: 'typescript';
|
|
14
|
+
name: string;
|
|
15
|
+
inputs: Record<string, SourceExpressionIR>;
|
|
16
|
+
source: string;
|
|
17
|
+
sourceRange?: ComputationSourceRange;
|
|
18
|
+
} | {
|
|
19
|
+
kind: 'computation';
|
|
20
|
+
name: string;
|
|
21
|
+
identity: string;
|
|
22
|
+
input: SourceExpressionIR;
|
|
23
|
+
sourceRange?: ComputationSourceRange;
|
|
24
|
+
};
|
|
25
|
+
export interface ComputationSourceDocument {
|
|
26
|
+
input: ComputationContractField | null;
|
|
27
|
+
output: ComputationContractField | null;
|
|
28
|
+
outputs: ComputationSourceNode[];
|
|
29
|
+
result: SourceExpressionIR;
|
|
30
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DomainDocumentType } from './document.types';
|
|
2
|
+
export type DocumentCreateRequest = {
|
|
3
|
+
documentType: DomainDocumentType;
|
|
4
|
+
identity: string;
|
|
5
|
+
mode: 'model';
|
|
6
|
+
model: unknown;
|
|
7
|
+
} | {
|
|
8
|
+
documentType: DomainDocumentType;
|
|
9
|
+
identity: string;
|
|
10
|
+
mode: 'portable';
|
|
11
|
+
document: Record<string, unknown>;
|
|
12
|
+
};
|
|
13
|
+
export interface DocumentCreateResult {
|
|
14
|
+
documentType: DomainDocumentType;
|
|
15
|
+
identity: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type EndgeFacetId = string;
|
|
2
|
+
export type EndgeFacetDocumentId = string;
|
|
3
|
+
export type EndgeFolderId = string;
|
|
4
|
+
export type EndgeTypeId = string;
|
|
5
|
+
export type EndgeQueryId = string;
|
|
6
|
+
export type EndgeDataViewId = string;
|
|
7
|
+
export type EndgeCompositionId = string;
|
|
8
|
+
export type EndgeStoreId = string;
|
|
9
|
+
export type EndgeStreamId = string;
|
|
10
|
+
export type EndgeSimulationId = string;
|
|
11
|
+
export type EndgeUpdateId = string;
|
|
12
|
+
export type EndgeMockId = string;
|
|
13
|
+
export type EndgeComponentId = string;
|
|
14
|
+
export type EndgeComponentSFCId = string;
|
|
15
|
+
export type EndgeActionId = string;
|
|
16
|
+
export type EndgeConverterId = string;
|
|
17
|
+
export type EndgeComputationId = string;
|
|
18
|
+
export type EndgeIntegrationId = string;
|
|
19
|
+
export type EndgePageTemplateId = string;
|
|
20
|
+
export type EndgePageId = string;
|
|
21
|
+
export type EndgeNavigationId = string;
|
|
22
|
+
export type EndgeFilterId = string;
|
|
23
|
+
export type EndgePolicyId = string;
|
|
24
|
+
export type EndgeStyleId = string;
|
|
25
|
+
export type EndgeConfigurationId = string;
|
|
26
|
+
export type EndgeVocabId = string;
|
|
27
|
+
export type EndgeAuthProfileId = string;
|
|
28
|
+
export type EndgeI18nBundleId = string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
|
|
2
|
+
export type DocumentMetadataBacking = 'definition-property' | 'definition-declaration' | 'entity-meta';
|
|
3
|
+
export interface DocumentMetadataInput {
|
|
4
|
+
source?: string | null;
|
|
5
|
+
meta?: Record<string, unknown> | null;
|
|
6
|
+
}
|
|
7
|
+
export interface DocumentMetadataDiagnostic {
|
|
8
|
+
severity: 'info' | 'warning' | 'error';
|
|
9
|
+
code: string;
|
|
10
|
+
message: string;
|
|
11
|
+
sourcePath?: string;
|
|
12
|
+
start?: number;
|
|
13
|
+
end?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface DocumentMetadataProjection {
|
|
16
|
+
backing: DocumentMetadataBacking | null;
|
|
17
|
+
mode: 'missing' | 'static' | 'invalid' | 'duplicate';
|
|
18
|
+
editable: boolean;
|
|
19
|
+
metadata: ProgramMetadataMap;
|
|
20
|
+
json: string;
|
|
21
|
+
sourceRange: {
|
|
22
|
+
start: number;
|
|
23
|
+
end: number;
|
|
24
|
+
} | null;
|
|
25
|
+
diagnostics: DocumentMetadataDiagnostic[];
|
|
26
|
+
message?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface DocumentMetadataPatchResult {
|
|
29
|
+
ok: boolean;
|
|
30
|
+
source: string;
|
|
31
|
+
meta: Record<string, unknown>;
|
|
32
|
+
changed: boolean;
|
|
33
|
+
projection: DocumentMetadataProjection;
|
|
34
|
+
diagnostics: DocumentMetadataDiagnostic[];
|
|
35
|
+
message?: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { RAction } from '../../entities/RAction';
|
|
2
|
+
import { RAuthProfile } from '../../entities/RAuthProfile';
|
|
3
|
+
import { RComponentSFC } from '../../entities/RComponentSFC';
|
|
4
|
+
import { RComposition } from '../../entities/RComposition';
|
|
5
|
+
import { RComputation } from '../../entities/RComputation';
|
|
6
|
+
import { RConfiguration } from '../../entities/RConfiguration';
|
|
7
|
+
import { RConverter } from '../../entities/RConverter';
|
|
8
|
+
import { RDataView } from '../../entities/RDataView';
|
|
9
|
+
import { RFilter } from '../../entities/RFilter';
|
|
10
|
+
import { RI18nBundle } from '../../entities/RI18nBundle';
|
|
11
|
+
import { RIntegration } from '../../entities/RIntegration';
|
|
12
|
+
import { RMock } from '../../entities/RMock';
|
|
13
|
+
import { RNavigation } from '../../entities/RNavigation';
|
|
14
|
+
import { RPage } from '../../entities/RPage';
|
|
15
|
+
import { RPageTemplate } from '../../entities/RPageTemplate';
|
|
16
|
+
import { RPolicy } from '../../entities/RPolicy';
|
|
17
|
+
import { RQuery } from '../../entities/RQuery';
|
|
18
|
+
import { RSimulation } from '../../entities/RSimulation';
|
|
19
|
+
import { RStore } from '../../entities/RStore';
|
|
20
|
+
import { RStream } from '../../entities/RStream';
|
|
21
|
+
import { RStyle } from '../../entities/RStyle';
|
|
22
|
+
import { RType } from '../../entities/RType';
|
|
23
|
+
import { RUpdate } from '../../entities/RUpdate';
|
|
24
|
+
import { RVocabs } from '../../entities/RVocabs';
|
|
25
|
+
import { RWorkspace } from '../../entities/RWorkspace';
|
|
26
|
+
import { RComponent } from '../component/component.types';
|
|
27
|
+
export declare enum ComponentType {
|
|
28
|
+
Component = "component",
|
|
29
|
+
Html = "html",
|
|
30
|
+
DSL = "component-dsl",
|
|
31
|
+
Table = "component-table",
|
|
32
|
+
SFC = "component-sfc"
|
|
33
|
+
}
|
|
34
|
+
export declare enum FilterType {
|
|
35
|
+
DefaultFilter = "default-filter"
|
|
36
|
+
}
|
|
37
|
+
export declare enum QueryType {
|
|
38
|
+
Custom = "query-custom",
|
|
39
|
+
GraphQL = "query-gql",
|
|
40
|
+
REST = "query-rest"
|
|
41
|
+
}
|
|
42
|
+
export declare enum DomainSectionType {
|
|
43
|
+
Workspace = "workspace",
|
|
44
|
+
Primitive = "primitive",
|
|
45
|
+
Type = "type",
|
|
46
|
+
Component = "component",
|
|
47
|
+
Query = "query",
|
|
48
|
+
DataView = "data-view",
|
|
49
|
+
Composition = "composition",
|
|
50
|
+
Simulation = "simulation",
|
|
51
|
+
Store = "store",
|
|
52
|
+
Mock = "mock",
|
|
53
|
+
Action = "action",
|
|
54
|
+
Event = "event",
|
|
55
|
+
Converter = "converter",
|
|
56
|
+
Computation = "computation",
|
|
57
|
+
Integration = "integration",
|
|
58
|
+
Filters = "filters",
|
|
59
|
+
Policy = "policy",
|
|
60
|
+
Style = "style",
|
|
61
|
+
Configuration = "configuration",
|
|
62
|
+
PageTemplate = "page-template",
|
|
63
|
+
Page = "page",
|
|
64
|
+
Navigation = "navigation",
|
|
65
|
+
Vocabs = "vocabs",
|
|
66
|
+
I18nBundles = "i18n-bundles",
|
|
67
|
+
AuthProfile = "auth-profile"
|
|
68
|
+
}
|
|
69
|
+
export declare const DOMAIN_DOCUMENT_TYPES: readonly ["primitive", "type", "action", "converter", "computation", "data-view", "composition", "store", "stream", "simulation", "update", "mock", "integration", "page-template", "page", "navigation", "policy", "style", "configuration", "vocabs", "i18n-bundles", "auth-profile", "workspace", ComponentType.DSL, ComponentType.Table, ComponentType.SFC, QueryType.Custom, QueryType.GraphQL, QueryType.REST, FilterType];
|
|
70
|
+
export type DomainDocumentType = (typeof DOMAIN_DOCUMENT_TYPES)[number];
|
|
71
|
+
export interface Document {
|
|
72
|
+
type: DomainDocumentType;
|
|
73
|
+
sectionType: DomainSectionType;
|
|
74
|
+
id: string;
|
|
75
|
+
}
|
|
76
|
+
export type RDocument = RComponent | RComponentSFC | RQuery | RDataView | RComposition | RStore | RStream | RSimulation | RUpdate | RMock | RAction | RConverter | RComputation | RIntegration | RFilter | RPolicy | RStyle | RConfiguration | RType | RVocabs | RI18nBundle | RAuthProfile | RWorkspace | RPageTemplate | RPage | RNavigation;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { EndgeWorkspaceDefinition } from '../../../workspace/domain/workspace.types';
|
|
2
|
+
export type EndgeWorkspaceExport = EndgeWorkspaceDefinition;
|
|
3
|
+
export interface EndgeDomainPlain {
|
|
4
|
+
facets: unknown[];
|
|
5
|
+
facetDocuments: unknown[];
|
|
6
|
+
types: unknown[];
|
|
7
|
+
queries: unknown[];
|
|
8
|
+
dataViews: unknown[];
|
|
9
|
+
compositions: unknown[];
|
|
10
|
+
stores: unknown[];
|
|
11
|
+
streams: unknown[];
|
|
12
|
+
simulations: unknown[];
|
|
13
|
+
updates: unknown[];
|
|
14
|
+
mocks: unknown[];
|
|
15
|
+
components: unknown[];
|
|
16
|
+
componentSFCs: unknown[];
|
|
17
|
+
actions: unknown[];
|
|
18
|
+
converters: unknown[];
|
|
19
|
+
computations: unknown[];
|
|
20
|
+
integrations: unknown[];
|
|
21
|
+
folders: unknown[];
|
|
22
|
+
filters: unknown[];
|
|
23
|
+
policies: unknown[];
|
|
24
|
+
styles: unknown[];
|
|
25
|
+
configurations: unknown[];
|
|
26
|
+
vocabs: unknown[];
|
|
27
|
+
authProfiles: unknown[];
|
|
28
|
+
i18nBundles: unknown[];
|
|
29
|
+
pageTemplates: unknown[];
|
|
30
|
+
pages: unknown[];
|
|
31
|
+
navigations: unknown[];
|
|
32
|
+
}
|
|
33
|
+
export interface EndgePortableDocuments {
|
|
34
|
+
'facets': unknown[];
|
|
35
|
+
'facet-documents': unknown[];
|
|
36
|
+
'folders': unknown[];
|
|
37
|
+
'types': unknown[];
|
|
38
|
+
'queries': unknown[];
|
|
39
|
+
'data-views': unknown[];
|
|
40
|
+
'compositions': unknown[];
|
|
41
|
+
'stores': unknown[];
|
|
42
|
+
'streams': unknown[];
|
|
43
|
+
'simulations': unknown[];
|
|
44
|
+
'updates': unknown[];
|
|
45
|
+
'mocks': unknown[];
|
|
46
|
+
'components': unknown[];
|
|
47
|
+
'actions': unknown[];
|
|
48
|
+
'filters': unknown[];
|
|
49
|
+
'converters': unknown[];
|
|
50
|
+
'computations': unknown[];
|
|
51
|
+
'vocabs': unknown[];
|
|
52
|
+
'i18n-bundles': unknown[];
|
|
53
|
+
'auth-profiles': unknown[];
|
|
54
|
+
'navigations': unknown[];
|
|
55
|
+
'styles': unknown[];
|
|
56
|
+
'configurations': unknown[];
|
|
57
|
+
}
|
|
58
|
+
export interface EndgeInstalledIntegrationExport {
|
|
59
|
+
identity: string;
|
|
60
|
+
version: string;
|
|
61
|
+
configuration: Record<string, unknown>;
|
|
62
|
+
}
|
|
63
|
+
export type EndgePortableWorkspace = Omit<EndgeWorkspaceExport, 'installedIntegrations' | 'dataMode'> & {
|
|
64
|
+
dataMode: 'development' | 'production';
|
|
65
|
+
};
|
|
66
|
+
export interface EndgeDomainBundle {
|
|
67
|
+
schemaVersion: number;
|
|
68
|
+
kind: 'workspace-snapshot';
|
|
69
|
+
domainVersion?: string;
|
|
70
|
+
workspace: EndgePortableWorkspace;
|
|
71
|
+
installedIntegrations: EndgeInstalledIntegrationExport[];
|
|
72
|
+
documents: EndgePortableDocuments;
|
|
73
|
+
}
|