@endge/core 12.0.3 → 14.0.0-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/LICENSE +202 -0
  2. package/dist/core.js +26657 -25069
  3. package/dist/features/core/kernel/config/debugger.config.d.ts +0 -1
  4. package/dist/features/core/kernel/config/kernel.config.d.ts +0 -6
  5. package/dist/features/core/kernel/config/modules.config.d.ts +0 -1
  6. package/dist/features/core/kernel/endge.d.ts +15 -7
  7. package/dist/features/core/kernel/errors/EndgeDebuggerReadOnlyError.d.ts +3 -1
  8. package/dist/features/core/kernel/services/EndgeBundleCodec_Service.d.ts +3 -2
  9. package/dist/features/core/kernel/tools/bundle-json.d.ts +0 -4
  10. package/dist/features/core/kernel/tools/debugger-snapshot.d.ts +0 -1
  11. package/dist/features/core/kernel/tools/read-only-document.d.ts +0 -1
  12. package/dist/features/core/kernel/types/bootstrap.types.d.ts +0 -37
  13. package/dist/features/core/kernel/types/endge-bundle.types.d.ts +0 -1
  14. package/dist/features/core/modules/EndgeTypes_Module.d.ts +3 -1
  15. package/dist/features/core/modules/EndgeVocabs_Module.d.ts +33 -15
  16. package/dist/features/core/modules/actions/EndgeActions_Module.d.ts +38 -22
  17. package/dist/features/core/modules/actions/domain/action.types.d.ts +0 -12
  18. package/dist/features/core/modules/actions/services/ActionProgramExecutor.d.ts +3 -2
  19. package/dist/features/core/modules/actions/services/table-actions.d.ts +0 -1
  20. package/dist/features/core/modules/auth/EndgeAuth_Module.d.ts +24 -8
  21. package/dist/features/core/modules/auth/adapters/BasicAuthAdapter.d.ts +9 -3
  22. package/dist/features/core/modules/auth/adapters/BearerAuthAdapter.d.ts +9 -3
  23. package/dist/features/core/modules/auth/adapters/OAuth2ClientCredentialsAuthAdapter.d.ts +3 -1
  24. package/dist/features/core/modules/auth/adapters/OAuth2PasswordAuthAdapter.d.ts +3 -1
  25. package/dist/features/core/modules/auth/adapters/OidcAuthAdapter.d.ts +3 -1
  26. package/dist/features/core/modules/auth/adapters/OidcBrowserSession_Adapter.d.ts +33 -11
  27. package/dist/features/core/modules/auth/domain/AuthInteractionRequiredError.d.ts +3 -1
  28. package/dist/features/core/modules/auth/domain/types/auth-profile.types.d.ts +0 -6
  29. package/dist/features/core/modules/auth/services/AuthAdapterRegistry.d.ts +15 -5
  30. package/dist/features/core/modules/auth/services/AuthProfileRegistry.d.ts +24 -8
  31. package/dist/features/core/modules/auth/services/AuthRequestResolver.d.ts +9 -3
  32. package/dist/features/core/modules/auth/services/AuthSessionManager.d.ts +48 -16
  33. package/dist/features/core/modules/auth/services/AuthSessionStore.d.ts +21 -7
  34. package/dist/features/core/modules/auth/services/auth-context.d.ts +0 -3
  35. package/dist/features/core/modules/bridge/EndgeBridge_Module.d.ts +27 -20
  36. package/dist/features/core/modules/bridge/adapters/BrowserBridge_Adapter.d.ts +12 -4
  37. package/dist/features/core/modules/bridge/config/bridge.config.d.ts +0 -5
  38. package/dist/features/core/modules/bridge/configurator/EndgeBridgeConfigurator_Module.d.ts +14 -12
  39. package/dist/features/core/modules/bridge/debug/EndgeBridgeDebug_Module.d.ts +72 -35
  40. package/dist/features/core/modules/bridge/domain/bridge-sync.type.d.ts +0 -3
  41. package/dist/features/core/modules/bridge/domain/bridge.type.d.ts +0 -3
  42. package/dist/features/core/modules/bridge/services/BridgeConnection_Service.d.ts +15 -5
  43. package/dist/features/core/modules/bridge/tools/bridge-sync.d.ts +0 -6
  44. package/dist/features/core/modules/commands/EndgeCommands_Module.d.ts +12 -4
  45. package/dist/features/core/modules/commands/config/commands.config.d.ts +0 -3
  46. package/dist/features/core/modules/commands/domain/commands.types.d.ts +0 -2
  47. package/dist/features/core/modules/commands/services/LocalCommandExecutor.d.ts +6 -2
  48. package/dist/features/core/modules/commands/services/RemoteCommandExecutor.d.ts +6 -2
  49. package/dist/features/core/modules/commands/services/context/SetDataModeCommand.d.ts +3 -1
  50. package/dist/features/core/modules/commands/services/context/SetFacetCommand.d.ts +3 -1
  51. package/dist/features/core/modules/commands/services/context/SetLocaleCommand.d.ts +3 -1
  52. package/dist/features/core/modules/commands/services/context/SetThemeCommand.d.ts +3 -1
  53. package/dist/features/core/modules/commands/services/context/SetTimezoneCommand.d.ts +3 -1
  54. package/dist/features/core/modules/commands/services/context/SetUserCommand.d.ts +3 -1
  55. package/dist/features/core/modules/commands/services/context/SetWorkspaceCommand.d.ts +3 -1
  56. package/dist/features/core/modules/commands/services/runtime/PauseRuntimeCommand.d.ts +3 -1
  57. package/dist/features/core/modules/commands/services/runtime/ResumeRuntimeCommand.d.ts +3 -1
  58. package/dist/features/core/modules/commands/services/runtime/StopRuntimeCommand.d.ts +3 -1
  59. package/dist/features/core/modules/commands/tools/command-payload.d.ts +0 -2
  60. package/dist/features/core/modules/commands/types/command-executor.type.d.ts +0 -4
  61. package/dist/features/core/modules/commands/types/context-command-target.type.d.ts +0 -1
  62. package/dist/features/core/modules/commands/types/runtime-command-target.type.d.ts +0 -1
  63. package/dist/features/core/modules/compiler/EndgeCompiler_Module.d.ts +193 -74
  64. package/dist/features/core/modules/compiler/services/action/action-compile.d.ts +0 -1
  65. package/dist/features/core/modules/compiler/services/action/action-target-validation.d.ts +0 -2
  66. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-attributes.d.ts +0 -3
  67. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-built-in-tags.d.ts +0 -1
  68. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-compile.d.ts +0 -22
  69. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-dependencies.d.ts +0 -1
  70. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression-ir.d.ts +0 -1
  71. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-expression.d.ts +0 -14
  72. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-forward.d.ts +0 -3
  73. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-interactions.d.ts +0 -2
  74. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-parse.d.ts +0 -5
  75. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-ports.d.ts +0 -3
  76. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-script.d.ts +0 -10
  77. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-style.d.ts +0 -1
  78. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-menu.d.ts +0 -5
  79. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-pin.d.ts +0 -1
  80. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-sort.d.ts +0 -1
  81. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-table-visibility.d.ts +0 -1
  82. package/dist/features/core/modules/compiler/services/component-sfc/component-sfc-template.d.ts +0 -18
  83. package/dist/features/core/modules/compiler/services/computation/computation-compile.d.ts +0 -1
  84. package/dist/features/core/modules/compiler/services/type/type-program-validation.d.ts +0 -7
  85. package/dist/features/core/modules/compiler/tools/compiled-program-catalog.d.ts +0 -1
  86. package/dist/features/core/modules/computations/EndgeComputations_Module.d.ts +18 -16
  87. package/dist/features/core/modules/computations/model/ComputationResource.d.ts +6 -2
  88. package/dist/features/core/modules/computations/model/ComputationResourceRegistry.d.ts +9 -4
  89. package/dist/features/core/modules/computations/services/ComputationGraphExecutor.d.ts +3 -1
  90. package/dist/features/core/modules/configuration/EndgeConfigurationSchema_Module.d.ts +6 -2
  91. package/dist/features/core/modules/configuration/EndgeConfiguration_Module.d.ts +39 -13
  92. package/dist/features/core/modules/configuration/domain/configuration-value.d.ts +0 -2
  93. package/dist/features/core/modules/configuration/domain/endge-configuration.d.ts +0 -6
  94. package/dist/features/core/modules/configuration/domain/tooltip.config.d.ts +0 -1
  95. package/dist/features/core/modules/configuration/domain/types/configuration.type.d.ts +0 -22
  96. package/dist/features/core/modules/context/EndgeContext_Module.d.ts +186 -62
  97. package/dist/features/core/modules/context/domain/context-events.types.d.ts +0 -1
  98. package/dist/features/core/modules/context/domain/context-persistence.types.d.ts +0 -4
  99. package/dist/features/core/modules/context/domain/context-state.types.d.ts +0 -5
  100. package/dist/features/core/modules/context/endge-vars.d.ts +12 -4
  101. package/dist/features/core/modules/context/persistence/RuntimeStateController.d.ts +6 -2
  102. package/dist/features/core/modules/context/persistence/adapters/LocalStorageContextAdapter.d.ts +3 -1
  103. package/dist/features/core/modules/context/persistence/context-state.d.ts +0 -2
  104. package/dist/features/core/modules/converters/EndgeConverters_Module.d.ts +3 -6
  105. package/dist/features/core/modules/converters/tools/arrays/split.d.ts +0 -1
  106. package/dist/features/core/modules/converters/tools/arrays/to-array.d.ts +0 -1
  107. package/dist/features/core/modules/converters/tools/date/date-to-date-string.d.ts +0 -1
  108. package/dist/features/core/modules/converters/tools/date/date-to-iso-string.d.ts +0 -1
  109. package/dist/features/core/modules/converters/tools/date/date-to-iso-z.d.ts +0 -1
  110. package/dist/features/core/modules/converters/tools/date/date-to-time-string.d.ts +0 -1
  111. package/dist/features/core/modules/converters/tools/date/iso-string-to-date.d.ts +0 -1
  112. package/dist/features/core/modules/converters/tools/date/iso-string-to-time-string.d.ts +0 -1
  113. package/dist/features/core/modules/converters/tools/date/string-to-date.d.ts +0 -1
  114. package/dist/features/core/modules/converters/tools/date/time-string-to-date.d.ts +0 -1
  115. package/dist/features/core/modules/converters/tools/date/timestamp-to-date.d.ts +0 -1
  116. package/dist/features/core/modules/converters/tools/date/weekdays-range.d.ts +0 -4
  117. package/dist/features/core/modules/converters/tools/json/json-parse.d.ts +0 -1
  118. package/dist/features/core/modules/converters/tools/json/json-stringify.d.ts +0 -1
  119. package/dist/features/core/modules/converters/tools/numbers/number-to-string.d.ts +0 -1
  120. package/dist/features/core/modules/converters/tools/numbers/string-to-number.d.ts +0 -1
  121. package/dist/features/core/modules/converters/tools/strings/default-if-empty.d.ts +0 -1
  122. package/dist/features/core/modules/converters/tools/strings/string-to-boolean.d.ts +0 -1
  123. package/dist/features/core/modules/converters/tools/strings/string-trim.d.ts +0 -1
  124. package/dist/features/core/modules/diagnostics/EndgeDiagnosticsSnapshots_Module.d.ts +54 -18
  125. package/dist/features/core/modules/diagnostics/EndgeDiagnostics_Module.d.ts +101 -45
  126. package/dist/features/core/modules/diagnostics/EndgeProblems_Module.d.ts +39 -14
  127. package/dist/features/core/modules/diagnostics/EndgeTelemetry_Module.d.ts +177 -59
  128. package/dist/features/core/modules/diagnostics/adapters/BrowserDiagnosticsSnapshot_Adapter.d.ts +9 -3
  129. package/dist/features/core/modules/diagnostics/adapters/ConsoleDiagnosticsAdapter.d.ts +21 -8
  130. package/dist/features/core/modules/diagnostics/adapters/DiagnosticsAdapterRegistry.d.ts +21 -7
  131. package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.d.ts +75 -26
  132. package/dist/features/core/modules/diagnostics/adapters/SentryDiagnosticsAdapter.types.d.ts +0 -9
  133. package/dist/features/core/modules/diagnostics/config/diagnostics.config.d.ts +0 -2
  134. package/dist/features/core/modules/diagnostics/domain/diagnostics-snapshot.d.ts +0 -1
  135. package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsRecordStore.d.ts +60 -20
  136. package/dist/features/core/modules/diagnostics/domain/entities/DiagnosticsSpan.d.ts +24 -8
  137. package/dist/features/core/modules/diagnostics/domain/types/diagnostics-adapter.type.d.ts +0 -14
  138. package/dist/features/core/modules/diagnostics/domain/types/diagnostics-snapshot-runtime-adapter.type.d.ts +0 -2
  139. package/dist/features/core/modules/diagnostics/domain/types/diagnostics.types.d.ts +0 -66
  140. package/dist/features/core/modules/document-import/EndgeDocumentImport_Module.d.ts +17 -14
  141. package/dist/features/core/modules/document-import/domain/types/document-import.type.d.ts +0 -11
  142. package/dist/features/core/modules/document-import/services/parsers/DocumentImportParser.d.ts +0 -3
  143. package/dist/features/core/modules/document-import/services/parsers/GraphQLDocumentImportParser.d.ts +6 -2
  144. package/dist/features/core/modules/document-import/services/parsers/OpenAPIDocumentImportParser.d.ts +6 -2
  145. package/dist/features/core/modules/domain/EndgeDomain_Module.d.ts +165 -64
  146. package/dist/features/core/modules/domain/component/component-sfc-edit-trigger.d.ts +9 -11
  147. package/dist/features/core/modules/domain/component/sfc/component-sfc-source-parts.d.ts +0 -4
  148. package/dist/features/core/modules/domain/component/sfc-editing.config.d.ts +0 -1
  149. package/dist/features/core/modules/domain/documents/domain-document-descriptors.d.ts +0 -3
  150. package/dist/features/core/modules/domain/documents/service-document-serializer.d.ts +0 -3
  151. package/dist/features/core/modules/domain/entities/RAction.d.ts +3 -1
  152. package/dist/features/core/modules/domain/entities/RComponent.d.ts +0 -7
  153. package/dist/features/core/modules/domain/entities/RComponentBase.d.ts +0 -1
  154. package/dist/features/core/modules/domain/entities/RComponentCore.d.ts +12 -8
  155. package/dist/features/core/modules/domain/entities/RComponentDSL.d.ts +3 -1
  156. package/dist/features/core/modules/domain/entities/RComponentSFC.d.ts +18 -10
  157. package/dist/features/core/modules/domain/entities/RComponentTable.d.ts +3 -5
  158. package/dist/features/core/modules/domain/entities/RComponentTableColumn.d.ts +0 -20
  159. package/dist/features/core/modules/domain/entities/RComposition.d.ts +3 -3
  160. package/dist/features/core/modules/domain/entities/RComputation.d.ts +6 -2
  161. package/dist/features/core/modules/domain/entities/RConfiguration.d.ts +3 -1
  162. package/dist/features/core/modules/domain/entities/RDataView.d.ts +6 -4
  163. package/dist/features/core/modules/domain/entities/REntity.d.ts +12 -15
  164. package/dist/features/core/modules/domain/entities/RFacet.d.ts +3 -3
  165. package/dist/features/core/modules/domain/entities/RFacetDocument.d.ts +3 -2
  166. package/dist/features/core/modules/domain/entities/RFilter.d.ts +0 -2
  167. package/dist/features/core/modules/domain/entities/RFolder.d.ts +6 -6
  168. package/dist/features/core/modules/domain/entities/RI18nBundle.d.ts +6 -4
  169. package/dist/features/core/modules/domain/entities/RIntegration.d.ts +3 -1
  170. package/dist/features/core/modules/domain/entities/RMock.d.ts +15 -5
  171. package/dist/features/core/modules/domain/entities/RNavigation.d.ts +6 -2
  172. package/dist/features/core/modules/domain/entities/RPage.d.ts +6 -4
  173. package/dist/features/core/modules/domain/entities/RPageTemplate.d.ts +6 -3
  174. package/dist/features/core/modules/domain/entities/RPolicy.d.ts +3 -1
  175. package/dist/features/core/modules/domain/entities/RQuery.d.ts +0 -3
  176. package/dist/features/core/modules/domain/entities/RSimulation.d.ts +3 -1
  177. package/dist/features/core/modules/domain/entities/RStore.d.ts +3 -1
  178. package/dist/features/core/modules/domain/entities/RStream.d.ts +3 -1
  179. package/dist/features/core/modules/domain/entities/RStyle.d.ts +3 -2
  180. package/dist/features/core/modules/domain/entities/RType.d.ts +0 -1
  181. package/dist/features/core/modules/domain/entities/RUpdate.d.ts +3 -2
  182. package/dist/features/core/modules/domain/entities/RVersion.d.ts +3 -2
  183. package/dist/features/core/modules/domain/entities/RVocabs.d.ts +6 -2
  184. package/dist/features/core/modules/domain/entities/RWorkspace.d.ts +3 -1
  185. package/dist/features/core/modules/domain/resolved/resolved-entity-index.d.ts +6 -2
  186. package/dist/features/core/modules/domain/types/component/component-core.types.d.ts +0 -39
  187. package/dist/features/core/modules/domain/types/component/component.types.d.ts +0 -6
  188. package/dist/features/core/modules/domain/types/component/sfc/ast.types.d.ts +0 -67
  189. package/dist/features/core/modules/domain/types/component/sfc/dependencies.types.d.ts +0 -37
  190. package/dist/features/core/modules/domain/types/component/sfc/expression-ir.types.d.ts +0 -1
  191. package/dist/features/core/modules/domain/types/component/sfc/intrinsic-events.types.d.ts +0 -1
  192. package/dist/features/core/modules/domain/types/component/sfc/ir.types.d.ts +0 -127
  193. package/dist/features/core/modules/domain/types/component/sfc/location.types.d.ts +0 -7
  194. package/dist/features/core/modules/domain/types/component/sfc/metadata-visual.types.d.ts +0 -2
  195. package/dist/features/core/modules/domain/types/component/sfc/ports-source.types.d.ts +0 -4
  196. package/dist/features/core/modules/domain/types/component/sfc/ports.types.d.ts +0 -25
  197. package/dist/features/core/modules/domain/types/component/sfc/props-visual.types.d.ts +0 -2
  198. package/dist/features/core/modules/domain/types/component/sfc/source.types.d.ts +0 -11
  199. package/dist/features/core/modules/domain/types/component/sfc/table-events.types.d.ts +0 -1
  200. package/dist/features/core/modules/domain/types/component/sfc/table-visibility.types.d.ts +0 -1
  201. package/dist/features/core/modules/domain/types/component/sfc/tag-attribute-contract.types.d.ts +0 -12
  202. package/dist/features/core/modules/domain/types/component/sfc/tag-input-contract.types.d.ts +0 -7
  203. package/dist/features/core/modules/domain/types/component/sfc/visual-projection.types.d.ts +0 -23
  204. package/dist/features/core/modules/domain/types/computation/computation-program.types.d.ts +0 -3
  205. package/dist/features/core/modules/domain/types/computation/computation-runtime.types.d.ts +0 -2
  206. package/dist/features/core/modules/domain/types/computation/computation-source.types.d.ts +0 -1
  207. package/dist/features/core/modules/domain/types/document/document-create.type.d.ts +0 -2
  208. package/dist/features/core/modules/domain/types/document/document-draft.type.d.ts +0 -4
  209. package/dist/features/core/modules/domain/types/document/document-metadata.types.d.ts +0 -2
  210. package/dist/features/core/modules/domain/types/document/document-move.type.d.ts +0 -1
  211. package/dist/features/core/modules/domain/types/document/document.types.d.ts +0 -20
  212. package/dist/features/core/modules/domain/types/document/domain-export.type.d.ts +0 -4
  213. package/dist/features/core/modules/domain/types/document/domain-provider.type.d.ts +0 -10
  214. package/dist/features/core/modules/domain/types/document/domain-snapshot.type.d.ts +0 -8
  215. package/dist/features/core/modules/domain/types/document/entity-management.type.d.ts +0 -5
  216. package/dist/features/core/modules/domain/types/document/filter.types.d.ts +0 -8
  217. package/dist/features/core/modules/domain/types/document/navigation.types.d.ts +0 -2
  218. package/dist/features/core/modules/domain/types/document/query.types.d.ts +0 -8
  219. package/dist/features/core/modules/domain-repository/EndgeDomainRepository_Module.d.ts +33 -11
  220. package/dist/features/core/modules/domain-repository/services/domain-provider.d.ts +0 -1
  221. package/dist/features/core/modules/events/EndgeEvents_Module.d.ts +6 -2
  222. package/dist/features/core/modules/events/domain/events.types.d.ts +0 -4
  223. package/dist/features/core/modules/i18n/EndgeI18n_Module.d.ts +33 -11
  224. package/dist/features/core/modules/i18n/domain/i18n.types.d.ts +0 -5
  225. package/dist/features/core/modules/i18n/services/composition-i18n-catalog-projection.d.ts +0 -4
  226. package/dist/features/core/modules/i18n/services/i18n-catalog.d.ts +0 -5
  227. package/dist/features/core/modules/i18n/tools/resolve-runtime-translation.d.ts +0 -1
  228. package/dist/features/core/modules/implementations/EndgeImplementations_Module.d.ts +24 -16
  229. package/dist/features/core/modules/implementations/services/ImplementationBindingRegistry.d.ts +3 -1
  230. package/dist/features/core/modules/implementations/services/ImplementationProviderRegistry.d.ts +3 -1
  231. package/dist/features/core/modules/inspection/EndgeInspection_Module.d.ts +12 -4
  232. package/dist/features/core/modules/inspection/services/InspectionCapture_Service.d.ts +6 -2
  233. package/dist/features/core/modules/inspection/tools/inspection-recording.d.ts +0 -4
  234. package/dist/features/core/modules/inspection/types/inspection.types.d.ts +0 -1
  235. package/dist/features/core/modules/mock/EndgeMock_Module.d.ts +30 -10
  236. package/dist/features/core/modules/mock/domain/types/mock-data.type.d.ts +3 -9
  237. package/dist/features/core/modules/program/EndgeProgram_Module.d.ts +69 -23
  238. package/dist/features/core/modules/program/domain/types/action-program.types.d.ts +0 -1
  239. package/dist/features/core/modules/program/domain/types/execution-bundle.types.d.ts +0 -4
  240. package/dist/features/core/modules/program/domain/types/program-metadata.types.d.ts +0 -11
  241. package/dist/features/core/modules/program/domain/types/program.types.d.ts +0 -109
  242. package/dist/features/core/modules/program/tools/execution-bundle.d.ts +0 -2
  243. package/dist/features/core/modules/program/tools/portable-program-payload.d.ts +0 -1
  244. package/dist/features/core/modules/program/tools/restore-program-source.d.ts +0 -1
  245. package/dist/features/core/modules/runtime/ComponentSFCEventBoundary.d.ts +18 -6
  246. package/dist/features/core/modules/runtime/EndgeRuntimeScopes_Module.d.ts +7 -11
  247. package/dist/features/core/modules/runtime/EndgeRuntime_Module.d.ts +100 -33
  248. package/dist/features/core/modules/runtime/RuntimeActionRegistry.d.ts +3 -1
  249. package/dist/features/core/modules/runtime/RuntimeAppScope.d.ts +21 -11
  250. package/dist/features/core/modules/runtime/RuntimeBindingScope.d.ts +0 -25
  251. package/dist/features/core/modules/runtime/RuntimeHostBase.d.ts +11 -63
  252. package/dist/features/core/modules/runtime/RuntimeHostFactory.d.ts +0 -3
  253. package/dist/features/core/modules/runtime/RuntimeHostRegistry.d.ts +2 -33
  254. package/dist/features/core/modules/runtime/RuntimeResourceBag.d.ts +3 -1
  255. package/dist/features/core/modules/runtime/RuntimeScope.d.ts +3 -1
  256. package/dist/features/core/modules/runtime/adapters/QueryExecutor_Adapter.d.ts +39 -22
  257. package/dist/features/core/modules/runtime/domain/component-sfc-render-port.types.d.ts +0 -1
  258. package/dist/features/core/modules/runtime/domain/execution-context.types.d.ts +0 -1
  259. package/dist/features/core/modules/runtime/domain/query-execution.types.d.ts +0 -4
  260. package/dist/features/core/modules/runtime/domain/runtime-entity-map.types.d.ts +0 -13
  261. package/dist/features/core/modules/runtime/domain/runtime-execute.type.d.ts +0 -12
  262. package/dist/features/core/modules/runtime/domain/runtime-host.types.d.ts +2 -119
  263. package/dist/features/core/modules/runtime/domain/runtime-inspection.types.d.ts +0 -2
  264. package/dist/features/core/modules/runtime/domain/runtime-registry.types.d.ts +0 -17
  265. package/dist/features/core/modules/runtime/domain/runtime-render-inspection.types.d.ts +0 -2
  266. package/dist/features/core/modules/runtime/domain/runtime-scope.types.d.ts +0 -1
  267. package/dist/features/core/modules/runtime/domain/runtime-strategy.types.d.ts +0 -14
  268. package/dist/features/core/modules/runtime/domain/runtime.types.d.ts +0 -16
  269. package/dist/features/core/modules/runtime/domain/sfc-render-inspection.type.d.ts +0 -6
  270. package/dist/features/core/modules/runtime/domain/simulation-runtime.types.d.ts +0 -4
  271. package/dist/features/core/modules/runtime/domain/stream-runtime.types.d.ts +0 -1
  272. package/dist/features/core/modules/runtime/domain/table.types.d.ts +0 -11
  273. package/dist/features/core/modules/runtime/domain/vocab-cache.types.d.ts +0 -9
  274. package/dist/features/core/modules/runtime/execution/endge-composition.d.ts +6 -3
  275. package/dist/features/core/modules/runtime/execution/endge-data-view.d.ts +72 -24
  276. package/dist/features/core/modules/runtime/execution/endge-query.d.ts +9 -3
  277. package/dist/features/core/modules/runtime/execution/endge-response-output.d.ts +0 -1
  278. package/dist/features/core/modules/runtime/execution/endge-simulation.d.ts +3 -1
  279. package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-boundary-update-phase.d.ts +9 -6
  280. package/dist/features/core/modules/runtime/helpers/raph-phases/runtime-node-update-phase.d.ts +2 -2
  281. package/dist/features/core/modules/runtime/hosts/ActionRuntimeHost.d.ts +0 -4
  282. package/dist/features/core/modules/runtime/hosts/ComponentSFCRuntimeHost.d.ts +93 -31
  283. package/dist/features/core/modules/runtime/hosts/CompositionRuntimeHost.d.ts +90 -30
  284. package/dist/features/core/modules/runtime/hosts/FilterRuntimeHost.d.ts +12 -4
  285. package/dist/features/core/modules/runtime/hosts/FilterViewRuntimeHost.d.ts +21 -7
  286. package/dist/features/core/modules/runtime/hosts/QueryRuntimeHost.d.ts +12 -4
  287. package/dist/features/core/modules/runtime/hosts/SimulationRuntimeHost.d.ts +12 -4
  288. package/dist/features/core/modules/runtime/hosts/StoreRuntimeHost.d.ts +33 -11
  289. package/dist/features/core/modules/runtime/hosts/StreamRuntimeHost.d.ts +9 -3
  290. package/dist/features/core/modules/runtime/operation/EndgeOperations_Module.d.ts +8 -12
  291. package/dist/features/core/modules/runtime/operation/operation-executor.d.ts +0 -1
  292. package/dist/features/core/modules/runtime/operation/operation-history.d.ts +6 -2
  293. package/dist/features/core/modules/runtime/services/RuntimeStrategyRegistry.d.ts +12 -4
  294. package/dist/features/core/modules/runtime/services/SFCRenderInspectionSession.d.ts +21 -7
  295. package/dist/features/core/modules/runtime/services/component-sfc-expression-evaluate.d.ts +0 -1
  296. package/dist/features/core/modules/runtime/services/simulation/create-simulation-schema.d.ts +0 -1
  297. package/dist/features/core/modules/runtime/services/simulation/find-simulation-runtime.d.ts +0 -1
  298. package/dist/features/core/modules/runtime/services/simulation/prepare-simulation-overrides.d.ts +0 -1
  299. package/dist/features/core/modules/runtime/services/transports/BrowserSseStreamTransportFactory.d.ts +3 -1
  300. package/dist/features/core/modules/runtime/services/transports/BrowserWebSocketStreamTransportFactory.d.ts +6 -2
  301. package/dist/features/core/modules/runtime/tools/runtime-inspection.d.ts +0 -3
  302. package/dist/features/core/modules/runtime/tools/runtime-render-inspection.d.ts +0 -1
  303. package/dist/features/core/modules/runtime/tools/runtime-render-values.d.ts +0 -1
  304. package/dist/features/core/modules/source/EndgeSource_Module.d.ts +81 -27
  305. package/dist/features/core/modules/source/domain/types/composition-source.types.d.ts +0 -42
  306. package/dist/features/core/modules/source/domain/types/configuration-source.types.d.ts +0 -7
  307. package/dist/features/core/modules/source/domain/types/data-view-source.types.d.ts +0 -1
  308. package/dist/features/core/modules/source/domain/types/filter-source.types.d.ts +0 -12
  309. package/dist/features/core/modules/source/domain/types/filter-view.type.d.ts +0 -10
  310. package/dist/features/core/modules/source/domain/types/query-source.types.d.ts +0 -42
  311. package/dist/features/core/modules/source/domain/types/response-output.types.d.ts +0 -1
  312. package/dist/features/core/modules/source/domain/types/simulation-source.types.d.ts +0 -6
  313. package/dist/features/core/modules/source/domain/types/source-engine.types.d.ts +0 -81
  314. package/dist/features/core/modules/source/domain/types/source-expression.types.d.ts +0 -19
  315. package/dist/features/core/modules/source/domain/types/store-source.types.d.ts +0 -3
  316. package/dist/features/core/modules/source/domain/types/stream-source.types.d.ts +0 -4
  317. package/dist/features/core/modules/source/domain/types/type-source.types.d.ts +0 -11
  318. package/dist/features/core/modules/source/domain/types/update-source.types.d.ts +0 -2
  319. package/dist/features/core/modules/source/services/SimulationSourceResolver.d.ts +3 -1
  320. package/dist/features/core/modules/source/services/SourceEngineRegistry.d.ts +12 -4
  321. package/dist/features/core/modules/source/services/SourceLanguageRegistry.d.ts +12 -4
  322. package/dist/features/core/modules/source/services/SourcePatchRegistry.d.ts +12 -4
  323. package/dist/features/core/modules/source/services/compilers/action-source-compile.d.ts +0 -1
  324. package/dist/features/core/modules/source/services/compilers/composition-source-compile.d.ts +0 -2
  325. package/dist/features/core/modules/source/services/compilers/configuration-source-compile.d.ts +0 -1
  326. package/dist/features/core/modules/source/services/compilers/data-view-source-compile.d.ts +0 -1
  327. package/dist/features/core/modules/source/services/compilers/filter-source-compile.d.ts +0 -1
  328. package/dist/features/core/modules/source/services/compilers/query-source-compile.d.ts +0 -1
  329. package/dist/features/core/modules/source/services/compilers/simulation-source-compile.d.ts +0 -1
  330. package/dist/features/core/modules/source/services/compilers/source-expression-compile.d.ts +0 -4
  331. package/dist/features/core/modules/source/services/compilers/source-field-compile.d.ts +0 -1
  332. package/dist/features/core/modules/source/services/compilers/source-metadata-compile.d.ts +0 -4
  333. package/dist/features/core/modules/source/services/compilers/source-model-reference-compile.d.ts +0 -2
  334. package/dist/features/core/modules/source/services/compilers/store-source-compile.d.ts +0 -1
  335. package/dist/features/core/modules/source/services/compilers/stream-source-compile.d.ts +0 -1
  336. package/dist/features/core/modules/source/services/compilers/type-source-compile.d.ts +0 -2
  337. package/dist/features/core/modules/source/services/compilers/update-source-compile.d.ts +0 -1
  338. package/dist/features/core/modules/source/services/component-sfc/component-sfc-metadata-source-patch.d.ts +0 -2
  339. package/dist/features/core/modules/source/services/component-sfc/component-sfc-props-source-patch.d.ts +0 -2
  340. package/dist/features/core/modules/source/services/component-sfc/component-sfc-table-source-patch.d.ts +0 -1
  341. package/dist/features/core/modules/source/services/component-sfc/component-sfc-visual-projection.d.ts +0 -1
  342. package/dist/features/core/modules/source/services/composition-activation.d.ts +0 -1
  343. package/dist/features/core/modules/source/services/composition-source-i18n-hints.d.ts +0 -2
  344. package/dist/features/core/modules/source/services/composition-source-normalize.d.ts +0 -1
  345. package/dist/features/core/modules/source/services/composition-source-patch.d.ts +0 -2
  346. package/dist/features/core/modules/source/services/configuration-source-patch.d.ts +0 -2
  347. package/dist/features/core/modules/source/services/document-metadata.d.ts +0 -2
  348. package/dist/features/core/modules/source/services/filter-source-patch.d.ts +0 -2
  349. package/dist/features/core/modules/source/services/migrations/query-source-v1-migration.d.ts +0 -7
  350. package/dist/features/core/modules/source/services/query-source-patch.d.ts +0 -2
  351. package/dist/features/core/modules/source/services/source-document-reference.d.ts +0 -9
  352. package/dist/features/core/modules/source/services/source-expression-evaluate.d.ts +0 -2
  353. package/dist/features/core/modules/source/services/source-language-syntax.d.ts +0 -1
  354. package/dist/features/core/modules/source/services/strategies/CompositionSourcePatchStrategy.d.ts +12 -4
  355. package/dist/features/core/modules/source/services/strategies/DataViewSourceEngineStrategy.d.ts +12 -4
  356. package/dist/features/core/modules/source/services/strategies/DataViewSourceLanguageStrategy.d.ts +15 -5
  357. package/dist/features/core/modules/source/services/strategies/FilterSourceEngineStrategy.d.ts +3 -1
  358. package/dist/features/core/modules/source/services/strategies/FilterSourcePatchStrategy.d.ts +3 -1
  359. package/dist/features/core/modules/source/services/strategies/QuerySourceEngineStrategy.d.ts +12 -4
  360. package/dist/features/core/modules/source/services/strategies/QuerySourceLanguageStrategy.d.ts +15 -5
  361. package/dist/features/core/modules/source/services/strategies/QuerySourcePatchStrategy.d.ts +12 -4
  362. package/dist/features/core/modules/source/services/strategies/TypeSourceEngineStrategy.d.ts +3 -1
  363. package/dist/features/core/modules/source/services/type-source-references.d.ts +0 -4
  364. package/dist/features/core/modules/source/services/type-source-serialize.d.ts +0 -2
  365. package/dist/features/core/modules/source/services/typescript-type-source.d.ts +0 -2
  366. package/dist/features/core/modules/source/services/value-expression-language.d.ts +0 -1
  367. package/dist/features/core/modules/source/services/value-expression-operations.d.ts +0 -1
  368. package/dist/features/core/modules/source/templates/component-sfc/component-sfc.default.source.d.ts +0 -1
  369. package/dist/features/core/modules/source/templates/configuration.default.source.d.ts +0 -1
  370. package/dist/features/core/modules/source/templates/filter.default.source.d.ts +0 -1
  371. package/dist/features/core/modules/source/templates/query.default.source.d.ts +0 -2
  372. package/dist/features/core/modules/source/templates/simulation.default.source.d.ts +0 -1
  373. package/dist/features/core/modules/source/templates/type.default.source.d.ts +0 -1
  374. package/dist/features/core/modules/styles/EndgeStyles_Module.d.ts +12 -4
  375. package/dist/features/core/modules/styles/domain/types/style.types.d.ts +0 -7
  376. package/dist/features/core/modules/ui/EndgeUIRegistry_Module.d.ts +3 -1
  377. package/dist/features/core/modules/ui/EndgeUI_Module.d.ts +18 -6
  378. package/dist/features/core/modules/ui/domain/types/jsx.types.d.ts +0 -9
  379. package/dist/features/core/modules/ui/domain/types/ui-render-adapter.type.d.ts +0 -8
  380. package/dist/features/core/modules/ui/registry/UIAdapterRegistry.d.ts +39 -13
  381. package/dist/features/core/modules/ui/tooltip/endge-tooltip-markdown.d.ts +0 -2
  382. package/dist/features/core/modules/ui/ui-composition.config.d.ts +0 -1
  383. package/dist/features/core/modules/updates/EndgeUpdates_Module.d.ts +3 -1
  384. package/dist/features/core/modules/workspace/EndgeWorkspace_Module.d.ts +97 -34
  385. package/dist/features/core/modules/workspace/domain/workspace.types.d.ts +0 -3
  386. package/dist/features/federation/EndgeFederation.d.ts +33 -11
  387. package/dist/features/federation/EndgeModule.d.ts +0 -1
  388. package/dist/features/federation/constants/federation.constants.d.ts +0 -1
  389. package/dist/features/federation/services/EndgeModuleController.d.ts +0 -2
  390. package/dist/features/federation/tools/endge-token.d.ts +0 -1
  391. package/dist/features/federation/types/endge-modules.types.d.ts +0 -5
  392. package/dist/features/federation/types/federation.types.d.ts +0 -12
  393. package/dist/features/federation/types/forge.types.d.ts +0 -6
  394. package/package.json +8 -3
  395. package/dist/features/core/modules/runtime/helpers/raph-phases/endge-runtime-boundary.d.ts +0 -13
@@ -1,29 +1,49 @@
1
1
  import { EndgeMockBindingStatus, EndgeMockDescriptor, EndgeMockProvider, EndgeMockRegistration, EndgeMockSnapshot } from './domain/types/mock-data.type';
2
2
  import { EndgeModule } from '../../../federation/EndgeModule';
3
- /** Runtime resolver persisted mock-документов и подключенных code providers. */
3
+ /**
4
+ * Runtime resolver persisted mock-документов и подключенных code providers.
5
+ */
4
6
  export declare class EndgeMock_Module extends EndgeModule {
5
7
  private readonly _providers;
6
- /** Создает пустой registry для application providers. */
8
+ /**
9
+ * Создает пустой registry для application providers.
10
+ */
7
11
  constructor();
8
- /** Регистрирует provider по namespaced ref и запрещает неявную замену. */
12
+ /**
13
+ * Регистрирует provider по namespaced ref и запрещает неявную замену.
14
+ */
9
15
  registerProvider(provider: EndgeMockProvider): void;
10
16
  /**
11
17
  * Compatibility adapter старого data registration.
12
18
  * Он регистрирует только provider и не создает RMock в домене.
13
19
  */
14
20
  register(registration: EndgeMockRegistration): void;
15
- /** Возвращает состояние binding persisted mock и code provider. */
21
+ /**
22
+ * Возвращает состояние binding persisted mock и code provider.
23
+ */
16
24
  getBindingStatus(identity: string): EndgeMockBindingStatus;
17
- /** Проверяет, может ли persisted mock быть разрешен прямо сейчас. */
25
+ /**
26
+ * Проверяет, может ли persisted mock быть разрешен прямо сейчас.
27
+ */
18
28
  has(identity: string): boolean;
19
- /** Разрешает данные из persisted document или его code provider. */
29
+ /**
30
+ * Разрешает данные из persisted document или его code provider.
31
+ */
20
32
  get<T = unknown>(identity: string): T;
21
- /** Возвращает descriptions зарегистрированных code providers. */
33
+ /**
34
+ * Возвращает descriptions зарегистрированных code providers.
35
+ */
22
36
  listProviders(): EndgeMockDescriptor[];
23
- /** @deprecated Используйте listProviders(). */
37
+ /**
38
+ * @deprecated Используйте listProviders().
39
+ */
24
40
  list(): EndgeMockDescriptor[];
25
- /** Очищает runtime providers. */
41
+ /**
42
+ * Очищает runtime providers.
43
+ */
26
44
  reset(): void;
27
- /** Возвращает легкий snapshot provider registry. */
45
+ /**
46
+ * Возвращает легкий snapshot provider registry.
47
+ */
28
48
  serialize(): EndgeMockSnapshot;
29
49
  }
@@ -1,36 +1,30 @@
1
1
  import { RMock } from '../../../domain/entities/RMock';
2
2
  export type RMockContentSource = 'document' | 'code-provider';
3
3
  export type RMockContentType = 'application/json' | 'text/plain';
4
- /** Контекст вызова code provider для persisted mock-документа. */
5
4
  export interface EndgeMockProviderContext {
6
5
  mock: RMock;
7
6
  }
8
- /** Кодовая реализация содержимого, подключаемая к persisted mock по codeRef. */
9
7
  export interface EndgeMockProvider {
10
8
  ref: string;
11
9
  description?: string;
12
10
  provide: (context: EndgeMockProviderContext) => unknown;
13
11
  }
14
- /** @deprecated Используйте EndgeMockProvider. */
12
+ /**
13
+ * @deprecated Используйте EndgeMockProvider.
14
+ */
15
15
  export interface EndgeMockRegistration {
16
- /** Стабильный identity, используемый в source через mock(identity). */
17
16
  identity: string;
18
- /** Исходный mock payload. EndgeMock_Module хранит и возвращает независимые копии. */
19
17
  data: unknown;
20
- /** Необязательное описание сценария для diagnostics и configurator UI. */
21
18
  description?: string;
22
19
  }
23
- /** Публичное описание зарегистрированного mock payload без самих данных. */
24
20
  export interface EndgeMockDescriptor {
25
21
  ref: string;
26
22
  description?: string;
27
23
  }
28
24
  export type EndgeMockBindingStatus = 'document' | 'connected' | 'missing-document' | 'missing-provider' | 'invalid-content';
29
- /** Сериализуемый snapshot модуля EndgeMock_Module. */
30
25
  export interface EndgeMockSnapshot {
31
26
  providers: EndgeMockDescriptor[];
32
27
  }
33
- /** Compiler/runtime reference на mock payload. */
34
28
  export interface EndgeMockReference {
35
29
  kind: 'mock';
36
30
  identity: string;
@@ -28,14 +28,20 @@ export declare class EndgeProgram_Module extends EndgeModule {
28
28
  private _catalogIsCurrent;
29
29
  get programId(): string | null;
30
30
  get catalog(): Readonly<CompiledProgramCatalog>;
31
- /** Публикует завершённый compile snapshot; incremental builds не создают новую экспортируемую сборку. */
31
+ /**
32
+ * Публикует завершённый compile snapshot; incremental builds не создают новую экспортируемую сборку.
33
+ */
32
34
  completeCompile(catalog: CompiledProgramCatalog, context: CompiledContextDescriptor, isCurrent?: () => boolean, hostActions?: ProgramHostActionRequirement[]): void;
33
- /** Упаковывает проверенную текущую программу без второго постоянного владельца artifacts. */
35
+ /**
36
+ * Упаковывает проверенную текущую программу без второго постоянного владельца artifacts.
37
+ */
34
38
  exportBundle(options?: {
35
39
  includeAst?: boolean;
36
40
  }): ExecutionBundle;
37
41
  prepareInstall(value: unknown): PreparedProgramInstall;
38
- /** Строит все индексы до замены, не публикуя промежуточную очищенную программу. */
42
+ /**
43
+ * Строит все индексы до замены, не публикуя промежуточную очищенную программу.
44
+ */
39
45
  installBundle(prepared: PreparedProgramInstall): void;
40
46
  /**
41
47
  * Возвращает общий статус текущей compiled program.
@@ -53,17 +59,25 @@ export declare class EndgeProgram_Module extends EndgeModule {
53
59
  * Обновляет общий статус program с учетом приоритета warning/error.
54
60
  */
55
61
  setStatus(status: ProgramArtifactStatus): void;
56
- /** Пересчитывает общий status после compiler linking pass. */
62
+ /**
63
+ * Пересчитывает общий status после compiler linking pass.
64
+ */
57
65
  recalculateStatus(): void;
58
66
  /**
59
67
  * Добавляет compiled artifact и индексирует его по id и identity.
60
68
  */
61
69
  addArtifact<TPayload>(artifact: ProgramArtifact<TPayload>, isCurrent?: () => boolean): ProgramArtifact<TPayload>;
62
- /** Заменяет build-derived registry пользовательских SFC tags. */
70
+ /**
71
+ * Заменяет build-derived registry пользовательских SFC tags.
72
+ */
63
73
  setComponentTags(entries: readonly ComponentSFCTagRegistryEntry[]): void;
64
- /** Разрешает пользовательский SFC tag в persisted identity компонента. */
74
+ /**
75
+ * Разрешает пользовательский SFC tag в persisted identity компонента.
76
+ */
65
77
  resolveComponentTag(tag: string): string | null;
66
- /** Возвращает snapshot build-derived registry без выдачи mutable Map наружу. */
78
+ /**
79
+ * Возвращает snapshot build-derived registry без выдачи mutable Map наружу.
80
+ */
67
81
  getComponentTags(): ComponentSFCTagRegistryEntry[];
68
82
  /**
69
83
  * Возвращает artifact по типу сущности и id или identity.
@@ -76,33 +90,61 @@ export declare class EndgeProgram_Module extends EndgeModule {
76
90
  id?: string | number;
77
91
  identity?: string;
78
92
  }): ProgramArtifact<TPayload> | null;
79
- /** Возвращает скомпилированный артефакт Action по id или identity. */
93
+ /**
94
+ * Возвращает скомпилированный артефакт Action по id или identity.
95
+ */
80
96
  getActionArtifact(idOrIdentity: string | number): ProgramArtifact<ActionProgramPayload> | null;
81
- /** Возвращает compiled query artifact по id или identity. */
97
+ /**
98
+ * Возвращает compiled query artifact по id или identity.
99
+ */
82
100
  getQueryArtifact(idOrIdentity: string | number): ProgramArtifact<QueryProgramPayload> | null;
83
- /** Возвращает compiled Vocab artifact по id или identity. */
101
+ /**
102
+ * Возвращает compiled Vocab artifact по id или identity.
103
+ */
84
104
  getVocabArtifact(idOrIdentity: string | number): ProgramArtifact<VocabProgramPayload> | null;
85
- /** Возвращает скомпилированный артефакт Computation по id или identity. */
105
+ /**
106
+ * Возвращает скомпилированный артефакт Computation по id или identity.
107
+ */
86
108
  getComputationArtifact(idOrIdentity: string | number): ProgramArtifact<ComputationProgramPayload> | null;
87
- /** Возвращает compiled DataView artifact по id или identity. */
109
+ /**
110
+ * Возвращает compiled DataView artifact по id или identity.
111
+ */
88
112
  getDataViewArtifact(idOrIdentity: string | number): ProgramArtifact<DataViewProgramPayload> | null;
89
- /** Возвращает compiled Store artifact по id или identity. */
113
+ /**
114
+ * Возвращает compiled Store artifact по id или identity.
115
+ */
90
116
  getStoreArtifact(idOrIdentity: string | number): ProgramArtifact<StoreSourceArtifact> | null;
91
- /** Возвращает compiled Stream artifact по id или identity. */
117
+ /**
118
+ * Возвращает compiled Stream artifact по id или identity.
119
+ */
92
120
  getStreamArtifact(idOrIdentity: string | number): ProgramArtifact<StreamSourceArtifact> | null;
93
- /** Возвращает compiled Simulation artifact по id или identity. */
121
+ /**
122
+ * Возвращает compiled Simulation artifact по id или identity.
123
+ */
94
124
  getSimulationArtifact(idOrIdentity: string | number): ProgramArtifact<SimulationSourceArtifact> | null;
95
- /** Возвращает compiled Update artifact по id или identity. */
125
+ /**
126
+ * Возвращает compiled Update artifact по id или identity.
127
+ */
96
128
  getUpdateArtifact(idOrIdentity: string | number): ProgramArtifact<UpdateSourceArtifact> | null;
97
- /** Возвращает compiled Filter artifact по id или identity. */
129
+ /**
130
+ * Возвращает compiled Filter artifact по id или identity.
131
+ */
98
132
  getFilterArtifact(idOrIdentity: string | number): ProgramArtifact<FilterProgramPayload> | null;
99
- /** Возвращает compiled Composition artifact по id или identity. */
133
+ /**
134
+ * Возвращает compiled Composition artifact по id или identity.
135
+ */
100
136
  getCompositionArtifact(idOrIdentity: string | number): ProgramArtifact<CompositionProgramPayload> | null;
101
- /** Возвращает скомпилированный документ EndgeCSS по сохранённому id или identity. */
137
+ /**
138
+ * Возвращает скомпилированный документ EndgeCSS по сохранённому id или identity.
139
+ */
102
140
  getStyleArtifact(idOrIdentity: string | number): ProgramArtifact<EndgeStyleProgramPayload> | null;
103
- /** Возвращает один артефакт Type, принадлежащий компилятору. */
141
+ /**
142
+ * Возвращает один артефакт Type, принадлежащий компилятору.
143
+ */
104
144
  getTypeArtifact(idOrIdentity: string | number): ProgramArtifact<TypeProgramPayload> | null;
105
- /** Стабильный каталог для редактора, полученный только из скомпилированных артефактов Type. */
145
+ /**
146
+ * Стабильный каталог для редактора, полученный только из скомпилированных артефактов Type.
147
+ */
106
148
  getTypeCatalog(): TypeProgramCatalogEntry[];
107
149
  /**
108
150
  * Возвращает diagnostics для конкретного artifact или всей program.
@@ -123,9 +165,13 @@ export declare class EndgeProgram_Module extends EndgeModule {
123
165
  * Сбрасывает program при reset federation.
124
166
  */
125
167
  reset(): void;
126
- /** Включает summary compiled program в диагностическое дерево Module. */
168
+ /**
169
+ * Включает summary compiled program в диагностическое дерево Module.
170
+ */
127
171
  createDiagnosticsSnapshot(): EndgeProgramSnapshot;
128
- /** Формирует summary snapshot для диагностики compiled program. */
172
+ /**
173
+ * Формирует summary snapshot для диагностики compiled program.
174
+ */
129
175
  snapshot(): EndgeProgramSnapshot;
130
176
  /**
131
177
  * Внутренний helper модуля: key For.
@@ -1,7 +1,6 @@
1
1
  import { ActionTargetSelector } from '../../../actions/domain/action.types';
2
2
  import { ActionSourceDocument } from '../../../source/domain/types/action-source.types';
3
3
  export interface ActionProgramPayload {
4
- /** Optional parser tree retained for inspection; runtime does not require it. */
5
4
  ast?: unknown;
6
5
  type: 'action';
7
6
  sourceVersion: number;
@@ -21,7 +21,6 @@ export interface CompiledDocumentDescriptor {
21
21
  folderId: string | null;
22
22
  workspaceFolderId: string | null;
23
23
  position: number;
24
- /** Необязательные навигационные сведения; не заменяют Source или IR. */
25
24
  documentType?: string;
26
25
  facetIdentity?: string;
27
26
  kind?: string;
@@ -44,11 +43,9 @@ export interface CompiledProgramCatalog {
44
43
  documents: Record<string, CompiledDocumentDescriptor>;
45
44
  }
46
45
  export type PortableProgramArtifact = ProgramArtifact<BundleJsonValue>;
47
- /** Данные одной завершённой сборки; runtime capabilities описываются отдельно от формата файла. */
48
46
  export interface CompiledContextDescriptor extends EndgeContextSnapshot {
49
47
  configuration: EndgeConfiguration;
50
48
  }
51
- /** Действие предоставляет host; исполняемый callback не входит в переносимый контракт. */
52
49
  export interface ProgramHostActionRequirement {
53
50
  identity: string;
54
51
  owner: string;
@@ -69,7 +66,6 @@ export interface ExecutionBundle {
69
66
  catalog: CompiledProgramCatalog;
70
67
  artifacts: Record<ProgramArtifactKey, PortableProgramArtifact>;
71
68
  }
72
- /** Подготовленные изолированные данные; install повторно проверяет их перед заменой. */
73
69
  export interface PreparedProgramInstall {
74
70
  readonly bundle: ExecutionBundle;
75
71
  }
@@ -1,26 +1,15 @@
1
- /** JSON-совместимое значение публичной metadata compiled artifact. */
2
1
  export type ProgramMetadataValue = null | boolean | number | string | ProgramMetadataValue[] | {
3
2
  [key: string]: ProgramMetadataValue;
4
3
  };
5
- /** Metadata сущности, сгруппированная по пользовательскому namespace. */
6
4
  export type ProgramMetadataMap = Record<string, ProgramMetadataValue>;
7
- /** Metadata внутреннего source/IR-узла с сохранением provenance. */
8
5
  export interface ProgramNodeMetadata {
9
- /** Стабильный id узла внутри compiled artifact. */
10
6
  nodeId: string;
11
- /** Семантический тип узла, например `Column` или `Text`. */
12
7
  nodeKind: string;
13
- /** Пользовательский key узла, если он объявлен в source. */
14
8
  key?: string;
15
- /** Metadata узла по namespace. */
16
9
  values: ProgramMetadataMap;
17
10
  }
18
- /** Общий metadata-контракт любого compiled artifact. */
19
11
  export interface ProgramMetadata {
20
- /** Metadata самой доменной сущности. */
21
12
  self: ProgramMetadataMap;
22
- /** Metadata внутренних source/IR-узлов. */
23
13
  nodes: ProgramNodeMetadata[];
24
14
  }
25
- /** Создаёт пустой предсказуемый metadata-контракт artifact. */
26
15
  export declare function createEmptyProgramMetadata(): ProgramMetadata;
@@ -13,76 +13,43 @@ import { EndgeStyleSheetArtifact } from '../../../styles/domain/types/style.type
13
13
  export type { ActionProgramPayload } from './action-program.types';
14
14
  export type { ConfigurationProgramPayload } from '../../../source/domain/types/configuration-source.types';
15
15
  export type ProgramArtifactKey = string;
16
- /** Тип доменной сущности, для которой compiler может построить program artifact. */
17
16
  export type ProgramEntityType = 'type' | 'component-sfc' | 'computation' | 'action' | 'query' | 'vocab' | 'data-view' | 'store' | 'stream' | 'simulation' | 'update' | 'filter' | 'composition' | 'style' | 'configuration';
18
- /** Итоговый статус artifact после компиляции и валидации. */
19
17
  export type ProgramArtifactStatus = 'valid' | 'warning' | 'error';
20
- /** Возможность, которую artifact предоставляет runtime/render слоям. */
21
18
  export type ProgramCapability = 'compilable' | 'runnable' | 'executable' | 'renderable' | 'data-provider' | 'configuration';
22
- /** Стабильная ссылка на compiled artifact внутри Endge.program. */
23
19
  export interface ProgramArtifactRef {
24
- /** Тип доменной сущности, которой принадлежит artifact. */
25
20
  entityType: ProgramEntityType;
26
- /** Persisted id доменной сущности или fallback id, если persisted id еще нет. */
27
21
  id: string | number;
28
- /** Стабильная identity доменной сущности для поиска без привязки к database id. */
29
22
  identity: string;
30
23
  }
31
- /** Диагностическое сообщение, полученное во время компиляции artifact. */
32
24
  export interface ProgramDiagnostic {
33
- /** Уровень важности диагностического сообщения. */
34
25
  severity: 'info' | 'warning' | 'error';
35
- /** Машинный код диагностики для фильтрации, тестов и UI-группировки. */
36
26
  code: string;
37
- /** Человекочитаемое описание проблемы или предупреждения. */
38
27
  message: string;
39
- /** Artifact, к которому относится диагностика. Заполняется при добавлении в program. */
40
28
  entityRef?: ProgramArtifactRef;
41
- /** Путь внутри source/model: например script, template, style или definition.nodes. */
42
29
  sourcePath?: string;
43
- /** Абсолютный offset начала проблемного фрагмента в source. */
44
30
  start?: number;
45
- /** Абсолютный offset конца проблемного фрагмента в source. */
46
31
  end?: number;
47
32
  }
48
- /** Зависимость compiled artifact от другой доменной сущности или внешней capability. */
49
33
  export interface ProgramDependency {
50
- /** Тип зависимой сущности. Может быть расширен строкой для внешних источников. */
51
34
  entityType: ProgramEntityType | string;
52
- /** Id зависимой сущности, если он известен compiler-у. */
53
35
  id: string | number;
54
- /** Identity зависимой сущности, если она известна compiler-у. */
55
36
  identity?: string;
56
- /** Роль зависимости: child-component, renderer, data-source и т.п. */
57
37
  role?: string;
58
- /** Необязательное местоположение в Source ссылки на зависимость для диагностики linker. */
59
38
  sourcePath?: string;
60
39
  start?: number;
61
40
  end?: number;
62
41
  }
63
- /** Единица compiled program: результат компиляции одной доменной сущности. */
64
42
  export interface ProgramArtifact<TPayload = unknown> {
65
- /** Ссылка на исходную доменную сущность и ключ artifact в program. */
66
43
  ref: ProgramArtifactRef;
67
- /** Hash стабильного source-снимка, по которому можно понять, менялся ли artifact input. */
68
44
  sourceHash: string;
69
- /** Версия compiler pipeline, построившая artifact. */
70
45
  compilerVersion: string;
71
- /** Hash structural context и effective configuration этой сборки. */
72
46
  contextHash?: string;
73
- /** Итоговый статус artifact с учетом diagnostics. */
74
47
  status: ProgramArtifactStatus;
75
- /** Список diagnostics, привязанных к artifact. */
76
48
  diagnostics: ProgramDiagnostic[];
77
- /** Список зависимостей, найденных compiler-ом. */
78
49
  dependencies: ProgramDependency[];
79
- /** Возможности artifact для runtime/render/query слоев. */
80
50
  capabilities: ProgramCapability[];
81
- /** Публичная compiler-derived metadata сущности и её внутренних узлов. */
82
51
  metadata: ProgramMetadata;
83
- /** Typed payload конкретного artifact: SFC IR, compiled flow, query plan и т.п. */
84
52
  payload: TPayload;
85
- /** Локальные compiled artifacts, принадлежащие только этому artifact. */
86
53
  children?: ProgramArtifact[];
87
54
  }
88
55
  export type QueryProgramOutputSource = {
@@ -96,9 +63,7 @@ export type QueryProgramOutputSource = {
96
63
  export interface QueryProgramOutput {
97
64
  key: string;
98
65
  source: QueryProgramOutputSource;
99
- /** Упорядоченная цепочка transform для новых runtimes. */
100
66
  transforms?: ResponseOutputTransform[];
101
- /** Проекция совместимости для runtimes, скомпилированных до упорядоченных transforms. */
102
67
  dataViews: DataViewRef[];
103
68
  contract?: SourceFieldDefinition | null;
104
69
  materialization: {
@@ -108,115 +73,63 @@ export interface QueryProgramOutput {
108
73
  strategy: import('../../../source/domain/types/data-view-source.types').DataViewMaterializationStrategy;
109
74
  };
110
75
  }
111
- /** Статическое значение для обратной совместимости или скомпилированное выражение runtime-запроса. */
112
76
  export type QueryProgramRequestValue<T> = T | SourceExpressionIR;
113
- /** Payload artifact для query-сущности. */
114
77
  export interface QueryProgramPayload {
115
- /** Версия source syntax, определяющая runtime contract. */
116
78
  sourceVersion: number;
117
- /** Parser-level AST query source, нужен для diagnostics/debug UI. */
118
79
  ast?: unknown;
119
- /** Canonical authoring-модель query source. */
120
80
  sourceDocument?: unknown;
121
- /** Тип query: REST, GraphQL, custom или другой поддерживаемый источник. */
122
81
  type: string;
123
- /** HTTP method для REST query. */
124
82
  method?: QueryProgramRequestValue<string>;
125
- /** Endpoint или базовая ссылка источника данных. */
126
83
  endpoint: QueryProgramRequestValue<string>;
127
- /** Тело запроса, GraphQL document или custom query expression. */
128
84
  query: QueryProgramRequestValue<string>;
129
- /** GraphQL operation name, если artifact использует query-gql transport. */
130
85
  operationName?: string;
131
- /** Политика GraphQL errors в HTTP 2xx response. */
132
86
  errorPolicy?: 'throw' | 'ignore';
133
- /** HTTP-заголовки транспорта Query. */
134
87
  headers?: QueryProgramRequestValue<Record<string, string>>;
135
- /** Auth config, подготовленный для runtime query layer. */
136
88
  auth?: QueryProgramRequestValue<unknown>;
137
- /** Request timeout для REST query. */
138
89
  timeoutMs?: QueryProgramRequestValue<number>;
139
- /** Отправлять body как application/x-www-form-urlencoded. */
140
90
  sendAsFormUrlencoded?: QueryProgramRequestValue<boolean>;
141
- /** Единственный runtime input contract Query. */
142
91
  props: QueryProgramProp[];
143
- /** Безопасный request.body IR. При null отправляется пустой object payload. */
144
92
  requestBody: SourceExpressionIR | null;
145
- /** Безопасный GraphQL variables IR. */
146
93
  requestVariables?: SourceExpressionIR | null;
147
- /** Включены ли mock data для query. */
148
94
  mockDataEnabled?: boolean;
149
- /** Query с mock-payload. */
150
95
  mockData?: unknown;
151
- /** Ordered output graph, который runtime вычисляет после backend response. */
152
96
  outputs: QueryProgramOutput[];
153
97
  }
154
98
  export type { VocabProgramPayload };
155
- /** Payload artifact для DataView: executable read-model без persisted runtime state. */
156
99
  export interface DataViewProgramPayload {
157
- /** Optional parser tree retained for inspection; runtime does not require it. */
158
100
  ast?: unknown;
159
- /** Тип artifact для diagnostics/debug UI. */
160
101
  type: 'data-view';
161
- /** Режим выполнения source: manual transform, pipeline, object projection или root expression. */
162
102
  mode: 'manual' | 'pipeline' | 'projection' | 'expression';
163
- /** Runtime-ready strategy; auto всегда разрешен compiler-ом заранее. */
164
103
  materializationStrategy: import('../../../source/domain/types/data-view-source.types').DataViewMaterializationStrategy;
165
- /** Canonical source document для debug/preview UI. */
166
104
  sourceDocument: DataViewSourceDocument | null;
167
- /** Декларативный входной и выходной тип DataView. */
168
105
  contract?: DataViewSourceDocument['contract'];
169
- /** Контракт внешних параметров одного materialized DataView instance. */
170
106
  props?: SourceFieldDefinition[];
171
- /** Row-local predicate, применяемый после pipeline steps. */
172
107
  filter?: SourceExpressionIR | null;
173
- /** Compiled manual transform. Используется только в mode=manual. */
174
108
  transform: DataViewManualTransform | null;
175
- /** Compiled pipeline steps. Используется только в mode=pipeline. */
176
109
  steps: DataViewPipelineStep[];
177
- /** Compiled object fields. Используется только в mode=projection. */
178
110
  output: Record<string, SourceExpressionIR>;
179
- /** Compiled root expression. Используется только в mode=expression. */
180
111
  expression?: SourceExpressionIR | null;
181
112
  }
182
- /** Payload artifact для нового source-first SFC компонента. */
183
113
  export interface ComponentSFCProgramPayload {
184
- /** Независимый статус компилятора для каждой секции SFC. */
185
114
  sections?: Record<'script' | 'template' | 'style', ProgramArtifactStatus>;
186
- /** Разложенный canonical source: script, template и style. */
187
115
  sourceParts: RComponentSFCSource_Parts;
188
- /** Внешний контракт компонента: inputs, events, slots. */
189
116
  contract: RComponentContract;
190
- /** Зависимости компонента: дочерние компоненты, data sources, actions, renderers. */
191
117
  dependencies: RComponentDependencies;
192
- /** Runtime-зависимости SFC v1, по которым host подписывается на input source. */
193
118
  runtimeDependencies: RComponentSFC_RuntimeDependencies;
194
- /** Preview-only props для песочницы/debug UI. Не являются runtime default props. */
195
119
  previewProps: ComponentSFCPreviewProps | null;
196
- /** Runtime-параметры только для preview: заполнение локального store, запуск queries/actions и прочее. */
197
120
  previewOptions: ComponentSFCPreviewOptions | null;
198
- /** Parser-level AST SFC source, нужен для diagnostics и debug UI. */
199
121
  ast?: RComponentSFC_AST | null;
200
- /** Target-neutral semantic IR, который renderer-слои используют для DOM/Nova. */
201
122
  ir: RComponentSFC_IR | null;
202
123
  }
203
- /** Source-first документ стилей в payload runtime. */
204
124
  export interface EndgeStyleProgramPayload {
205
- /** Optional parser tree retained for inspection; runtime does not require it. */
206
125
  ast?: unknown;
207
- /** Скомпилированная таблица стилей, нейтральная к renderer. */
208
126
  stylesheet: EndgeStyleSheetArtifact;
209
- /** ID тем, предоставляемые этим документом. */
210
127
  themes: string[];
211
- /** Внешние зависимости, найденные при компиляции условий стилей. */
212
128
  dependencies: ProgramDependency[];
213
129
  }
214
130
  export type { ComputationProgramPayload };
215
- /** Одна запись build-derived registry пользовательских SFC tags. */
216
131
  export interface ComponentSFCTagRegistryEntry {
217
- /** Пользовательский tag, доступный в template. */
218
132
  tag: string;
219
- /** Identity persisted SFC-компонента, на который разрешается tag. */
220
133
  identity: string;
221
134
  }
222
135
  export type ComponentSFCPreviewLiteral = null | string | number | boolean | ComponentSFCPreviewLiteral[] | {
@@ -245,51 +158,29 @@ export interface ComponentSFCPreviewOptions {
245
158
  seed?: Record<string, ComponentSFCPreviewLiteral>;
246
159
  run?: ComponentSFCPreviewRunTarget[];
247
160
  }
248
- /** Контекст одного запуска compiler pipeline. */
249
161
  export interface ProgramCompileContext {
250
- /** Версия compiler pipeline, которая попадет во все artifacts текущей сборки. */
251
162
  compilerVersion: string;
252
- /** Неизменяемый структурный контекст и фактическая конфигурация этой сборки. */
253
163
  buildContext: import('../../../configuration/domain/types/configuration.type').EndgeBuildContext;
254
164
  }
255
- /** Handler компиляции одного типа доменных сущностей. */
256
165
  export interface EntityCompilerHandler<TEntity = unknown, TPayload = unknown> {
257
- /** Тип сущности, которую умеет компилировать handler. */
258
166
  entityType: ProgramEntityType;
259
- /** Функция компиляции одной сущности в один typed artifact. */
260
167
  compile: (entity: TEntity, context: ProgramCompileContext) => ProgramArtifact<TPayload>;
261
168
  }
262
- /** Сводный snapshot текущего Endge.program для diagnostics/debug UI. */
263
169
  export interface EndgeProgramSnapshot {
264
- /** Unix timestamp создания snapshot. */
265
170
  generatedAt: number;
266
- /** Общий статус program, агрегированный по всем artifacts. */
267
171
  status: ProgramArtifactStatus;
268
- /** Версия compiler, которой была собрана текущая program. */
269
172
  compilerVersion: string;
270
- /** Общее количество artifacts в program. */
271
173
  total: number;
272
- /** Количество artifacts по статусам valid/warning/error. */
273
174
  byStatus: Record<ProgramArtifactStatus, number>;
274
- /** Количество artifacts по типам доменных сущностей. */
275
175
  byEntityType: Record<string, number>;
276
- /** Все diagnostics из всех artifacts. */
277
176
  diagnostics: ProgramDiagnostic[];
278
- /** Компактные сведения по каждому artifact без тяжелого payload. */
279
177
  artifacts: Array<{
280
- /** Ссылка на artifact. */
281
178
  ref: ProgramArtifactRef;
282
- /** Итоговый статус artifact. */
283
179
  status: ProgramArtifactStatus;
284
- /** Количество diagnostics у artifact. */
285
180
  diagnostics: number;
286
- /** Количество зависимостей у artifact. */
287
181
  dependencies: number;
288
- /** Возможности artifact. */
289
182
  capabilities: ProgramCapability[];
290
- /** Исходный входной артефакт для hash. */
291
183
  sourceHash: string;
292
- /** Версия compiler, построившая artifact. */
293
184
  compilerVersion: string;
294
185
  }>;
295
186
  }
@@ -1,6 +1,4 @@
1
1
  import { ExecutionBundle, PortableProgramArtifact } from '../domain/types/execution-bundle.types';
2
2
  import { ProgramArtifact } from '../domain/types/program.types';
3
- /** AST имеет отдельную boundary; executable payload сохраняется без compiler instances. */
4
3
  export declare function packProgramArtifact(artifact: ProgramArtifact, includeAst: boolean): PortableProgramArtifact;
5
- /** Проверяет весь transport до изменения Program. Индексы строятся из validated refs. */
6
4
  export declare function readExecutionBundle(input: unknown): ExecutionBundle;
@@ -1,3 +1,2 @@
1
1
  import { ProgramEntityType } from '../domain/types/program.types';
2
- /** Проверяет форму каждой исполняемой семьи без парсинга исходного языка. */
3
2
  export declare function validatePortableProgramPayload(type: ProgramEntityType, input: unknown): void;
@@ -1,3 +1,2 @@
1
1
  import { ProgramArtifact } from '../domain/types/program.types';
2
- /** Печатает имеющееся дерево без повторного parse/compile и без гарантии исходного форматирования. */
3
2
  export declare function restoreProgramArtifactSource(artifact: ProgramArtifact): string | null;
@@ -1,7 +1,9 @@
1
1
  import { RComponentSFC_IR_EventBinding } from '../domain/types/component/sfc/ir.types';
2
2
  import { ComponentSFCEventRuntimeSource, ComponentSFCPortManifest, ComponentSFCRequiredPortBinding } from '../domain/types/component/sfc/ports.types';
3
3
  import { ComponentSFCRuntimeHost } from './hosts/ComponentSFCRuntimeHost';
4
- /** Router Event уровня mount для границы одного артефакта Component SFC. */
4
+ /**
5
+ * Router Event уровня mount для границы одного артефакта Component SFC.
6
+ */
5
7
  export declare class ComponentSFCEventBoundary {
6
8
  private readonly _host;
7
9
  readonly componentIdentity: string;
@@ -20,15 +22,25 @@ export declare class ComponentSFCEventBoundary {
20
22
  event: string;
21
23
  payload: unknown;
22
24
  } | null, requiredPortBindings?: readonly ComponentSFCRequiredPortBinding[]): ComponentSFCEventBoundary;
23
- /** True, когда текущий публичный манифест наблюдает один Event этого дочернего source. */
25
+ /**
26
+ * True, когда текущий публичный манифест наблюдает один Event этого дочернего source.
27
+ */
24
28
  observesChild(source: ComponentSFCEventRuntimeSource, event: string): boolean;
25
- /** Фиксирует логическое правило `.once` уровня mount после его совпадения. */
29
+ /**
30
+ * Фиксирует логическое правило `.once` уровня mount после его совпадения.
31
+ */
26
32
  claimLocalOnce(key: string): boolean;
27
- /** Выполняет локальные реакции `@event`, затем маршрутизирует событие, если отсутствует `.stop`. */
33
+ /**
34
+ * Выполняет локальные реакции `@event`, затем маршрутизирует событие, если отсутствует `.stop`.
35
+ */
28
36
  routeChild(source: ComponentSFCEventRuntimeSource, event: string, payload: unknown, bindings?: readonly RComponentSFC_IR_EventBinding[], trace?: string[], depth?: number, scope?: Record<string, unknown>): Promise<void>;
29
- /** Получает событие встроенного или вложенного дочернего элемента и вычисляет публичные порты по источнику. */
37
+ /**
38
+ * Получает событие встроенного или вложенного дочернего элемента и вычисляет публичные порты по источнику.
39
+ */
30
40
  emitChild(source: ComponentSFCEventRuntimeSource, event: string, payload: unknown, trace?: string[], depth?: number): Promise<void>;
31
- /** Отправляет Event, объявленный собственным событием этого компонента. */
41
+ /**
42
+ * Отправляет Event, объявленный собственным событием этого компонента.
43
+ */
32
44
  emitOwn(name: string, payload: unknown, trace?: string[], depth?: number): Promise<void>;
33
45
  private _dispatch;
34
46
  private _resolveRequiredPortAction;