@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
@@ -4,55 +4,31 @@ import { ProgramDiagnostic, QueryProgramPayload } from '../../../program/domain/
4
4
  import { DataViewRef } from './data-view-source.types';
5
5
  import { ResponseOutputTransform } from './response-output.types';
6
6
  import { QueryProgramProp, SourceExpressionIR, SourceFieldDefinition } from './source-expression.types';
7
- /** Поддерживаемые transport-kind Query source. */
8
7
  export type QuerySourceKind = 'rest' | 'graphql';
9
- /** Политика GraphQL errors в HTTP 2xx response. */
10
8
  export type QueryGraphQLErrorPolicy = 'throw' | 'ignore';
11
- /** Статическое значение запроса или безопасное выражение, вычисляемое из props Query в runtime. */
12
9
  export type QuerySourceRequestValue<T> = T | SourceExpressionIR;
13
- /** Source-описание HTTP request части REST-запроса. */
14
10
  export interface QuerySourceRestRequest {
15
- /** Endpoint или Endge var-token вида {API_URL}. */
16
11
  endpoint: QuerySourceRequestValue<string>;
17
- /** REST path. В legacy RQuery это поле хранится как query. */
18
12
  path: QuerySourceRequestValue<string>;
19
- /** Метод HTTP. */
20
13
  method: QuerySourceRequestValue<string>;
21
- /** Заголовки HTTP. */
22
14
  headers: QuerySourceRequestValue<Record<string, string>>;
23
- /** Конфигурация авторизации. */
24
15
  auth: QuerySourceRequestValue<RQueryAuth>;
25
- /** Таймаут запроса. */
26
16
  timeoutMs?: QuerySourceRequestValue<number>;
27
- /** Отправлять body как application/x-www-form-urlencoded. */
28
17
  formUrlencoded?: QuerySourceRequestValue<boolean>;
29
- /** Безопасный body expression для query source v2. */
30
18
  body?: SourceExpressionIR | null;
31
19
  }
32
- /** Source-описание GraphQL operation и variables. */
33
20
  export interface QuerySourceGraphQLRequest {
34
- /** GraphQL endpoint или Endge var-token вида {API_URL}. */
35
21
  endpoint: QuerySourceRequestValue<string>;
36
- /** Статический GraphQL document из gql template. */
37
22
  document: string;
38
- /** Operation name для document с несколькими operations. */
39
23
  operationName?: string;
40
- /** Безопасное variables expression, построенное через variables(...). */
41
24
  variables?: SourceExpressionIR | null;
42
- /** Дополнительные HTTP headers. */
43
25
  headers: QuerySourceRequestValue<Record<string, string>>;
44
- /** Конфигурация авторизации. */
45
26
  auth: QuerySourceRequestValue<RQueryAuth>;
46
- /** Таймаут запроса. */
47
27
  timeoutMs?: QuerySourceRequestValue<number>;
48
- /** Обработка GraphQL errors в HTTP 2xx response. */
49
28
  errorPolicy: QueryGraphQLErrorPolicy;
50
29
  }
51
- /** Source-описание mock-режима запроса. */
52
30
  export interface QuerySourceMock {
53
- /** Включены ли mock data. */
54
31
  enabled: boolean;
55
- /** Mock-данные. */
56
32
  data: unknown;
57
33
  }
58
34
  export type QueryOutputSource = {
@@ -66,19 +42,14 @@ export type QueryOutputSource = {
66
42
  export interface QuerySourceOutput {
67
43
  key: string;
68
44
  source: QueryOutputSource;
69
- /** Упорядоченная цепочка transform. */
70
45
  transforms: ResponseOutputTransform[];
71
- /** Проекция совместимости, содержащая только transforms DataView. */
72
46
  dataViews: DataViewRef[];
73
47
  contract?: SourceFieldDefinition | null;
74
48
  }
75
49
  export type QuerySourceOutputs = QuerySourceOutput[];
76
50
  interface QuerySourceDocumentBase {
77
- /** Единственный runtime input contract Query. */
78
51
  props: QueryProgramProp[];
79
- /** Упорядоченный выходной граф: источники response/output и преобразования. */
80
52
  outputs: QuerySourceOutputs;
81
- /** Конфигурация mock. */
82
53
  mock: QuerySourceMock;
83
54
  }
84
55
  export interface QuerySourceRestDocument extends QuerySourceDocumentBase {
@@ -89,32 +60,19 @@ export interface QuerySourceGraphQLDocument extends QuerySourceDocumentBase {
89
60
  kind: 'graphql';
90
61
  request: QuerySourceGraphQLRequest;
91
62
  }
92
- /** Canonical authoring-модель source-only Query v2. */
93
63
  export type QuerySourceDocument = QuerySourceRestDocument | QuerySourceGraphQLDocument;
94
- /** Публичные editor-slots, которые query source patcher умеет менять точечно. */
95
64
  export type QuerySourcePatchPath = 'kind' | 'request.endpoint' | 'request.path' | 'request.method' | 'request.headers' | 'request.auth' | 'request.timeoutMs' | 'request.formUrlencoded' | 'request.body' | 'props' | 'outputs' | 'mock.enabled' | 'mock.data';
96
- /** Операция AST-патчинга query source. */
97
65
  export interface QuerySourcePatchOperation {
98
- /** Изменяемый editor-slot. */
99
66
  path: QuerySourcePatchPath;
100
- /** Новое normalized значение, если patcher должен сам напечатать expression. */
101
67
  value?: unknown;
102
- /** Готовое source-expression для сложных DSL-значений: env(...), field(...), filter... */
103
68
  expression?: string;
104
69
  }
105
- /** Patch query source: одиночная операция или пачка операций. */
106
70
  export type QuerySourcePatch = QuerySourcePatchOperation | QuerySourcePatchOperation[];
107
- /** Результат компиляции query source. */
108
71
  export interface QuerySourceCompileResult {
109
- /** AST уровня parser. */
110
72
  ast: unknown | null;
111
- /** Canonical authoring-модель. */
112
73
  document: QuerySourceDocument | null;
113
- /** Query artifact payload для Endge.program. */
114
74
  artifact: QueryProgramPayload | null;
115
- /** Публичная metadata, извлечённая из canonical source. */
116
75
  metadata: ProgramMetadataMap;
117
- /** Diagnostics source compiler-а. */
118
76
  diagnostics: Omit<ProgramDiagnostic, 'entityRef'>[];
119
77
  }
120
78
  export {};
@@ -1,5 +1,4 @@
1
1
  import { DataViewRef } from './data-view-source.types';
2
- /** Упорядоченный transform response-output, общий для Query и Vocab. */
3
2
  export type ResponseOutputTransform = {
4
3
  kind: 'data-view';
5
4
  ref: DataViewRef;
@@ -1,14 +1,11 @@
1
1
  import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
2
2
  import { ProgramDependency, ProgramDiagnostic } from '../../../program/domain/types/program.types';
3
- /** Декларация подмены response Query. Генерация выполняется при запуске Simulation. */
4
3
  export interface SimulationMockRequest {
5
4
  kind: 'mock-request';
6
5
  seed?: string;
7
- /** false исключает примеры Type из схемы; ограничения и enum сохраняются. */
8
6
  useExamples?: boolean;
9
7
  arrays: Record<string, number>;
10
8
  }
11
- /** Ограничения сценария сужают существующий Type, не создавая новый Domain Type. */
12
9
  export interface SimulationFieldConstraints {
13
10
  enum?: Array<string | number | boolean>;
14
11
  minimum?: number;
@@ -35,12 +32,10 @@ export interface SimulationTargetReference {
35
32
  }
36
33
  export interface SimulationSourceDocument {
37
34
  target: SimulationTargetReference;
38
- /** Режим неподменённых источников. Отсутствие значения сохраняет наследование. */
39
35
  dataMode?: 'live' | 'mock';
40
36
  runtimes: SimulationRuntimeOverride[];
41
37
  }
42
38
  export interface SimulationSourceArtifact extends SimulationSourceDocument {
43
- /** Optional parser tree retained for inspection; runtime does not require it. */
44
39
  ast?: unknown;
45
40
  type: 'simulation';
46
41
  sourceVersion: number;
@@ -57,7 +52,6 @@ export interface SimulationSourceCompileResult {
57
52
  end: number;
58
53
  }>;
59
54
  }
60
- /** Read-only authoring inputs; Source services не получают Domain owner. */
61
55
  export interface SimulationSourceInput {
62
56
  id: string | number;
63
57
  identity: string;
@@ -1,28 +1,18 @@
1
1
  import { I18nCatalogProvenance, I18nRuntimeCatalog } from '../../../i18n/domain/i18n.types';
2
2
  import { TypeSourceDefinition } from './type-source.types';
3
- /** Канонический тип source-документа, для которого выбирается source strategy. */
4
3
  export type SourceKind = 'action' | 'query' | 'vocab' | 'data-view' | 'filter' | 'composition' | 'store' | 'stream' | 'simulation' | 'update' | 'computation' | 'style' | 'type' | 'configuration';
5
- /** Compiler-owned structural context for context-sensitive Source resolution. */
6
4
  export interface SourceEngineCompileContext {
7
5
  sourceVersion?: number;
8
6
  executionContext?: Readonly<Record<string, string>>;
9
7
  }
10
- /** Тип нейтральной source completion без привязки к Monaco или другому editor API. */
11
8
  export type SourceLanguageCompletionKind = 'keyword' | 'function' | 'property' | 'value' | 'snippet';
12
- /** Позиция курсора внутри source-документа. */
13
9
  export interface SourceLanguagePosition {
14
- /** Номер строки, начиная с 1. */
15
10
  lineNumber: number;
16
- /** Номер колонки, начиная с 1. */
17
11
  column: number;
18
12
  }
19
- /** Контекст, который UI/editor adapter передает language strategy. */
20
13
  export interface SourceLanguageContext {
21
- /** Текущий текст source-документа. */
22
14
  source: string;
23
- /** Текущая позиция курсора, если она есть у editor adapter. */
24
15
  position?: SourceLanguagePosition;
25
- /** Символы Type Registry на основе Source, доступные этому редактору. */
26
16
  typeSymbols?: Array<{
27
17
  identity: string;
28
18
  displayName?: string;
@@ -33,41 +23,30 @@ export interface SourceLanguageContext {
33
23
  storage: 'id' | 'identity';
34
24
  };
35
25
  }>;
36
- /** Каталог установленных определений storage и кода для completions identity. */
37
26
  documentSymbols?: Array<{
38
27
  target: SourceDocumentReferenceTarget;
39
28
  identity: string;
40
29
  displayName?: string;
41
30
  description?: string | null;
42
31
  }>;
43
- /** Identity документа, владеющего текущей диагностикой Source. */
44
32
  ownerIdentity?: string;
45
- /** Фактические каталоги переводов для всех текущих вхождений стартовой Composition. */
46
33
  i18n?: SourceLanguageI18nContext;
47
34
  }
48
- /** Одно статически спроецированное вхождение Composition в текущем дереве. */
49
35
  export interface SourceLanguageI18nOccurrence {
50
36
  id: string;
51
37
  catalogsByScope: Readonly<Record<string, I18nRuntimeCatalog>>;
52
38
  provenanceByScope: Readonly<Record<string, I18nCatalogProvenance>>;
53
39
  }
54
- /** Вход переводов, подготовленный приложением без монтирования Runtime. */
55
40
  export interface SourceLanguageI18nContext {
56
41
  locale: string;
57
42
  fallbackLocale: string;
58
43
  occurrences: readonly SourceLanguageI18nOccurrence[];
59
44
  }
60
- /** Нейтральная completion item, которую editor adapter мапит в свой формат. */
61
45
  export interface SourceLanguageCompletion {
62
- /** Текст, отображаемый в списке подсказок. */
63
46
  label: string;
64
- /** Семантический тип подсказки. */
65
47
  kind: SourceLanguageCompletionKind;
66
- /** Текст, который нужно вставить. Может быть snippet-ом. */
67
48
  insertText: string;
68
- /** Краткое описание справа от completion item. */
69
49
  detail?: string;
70
- /** Документация completion item. */
71
50
  documentation?: string;
72
51
  }
73
52
  export interface SourceLanguageSignatureHelp {
@@ -82,28 +61,21 @@ export interface SourceLanguageSignatureHelp {
82
61
  }>;
83
62
  }>;
84
63
  }
85
- /** Логический тип внешнего доменного документа, на который ссылается source. */
86
64
  export type SourceDocumentReferenceTarget = 'action' | 'auth-profile' | 'component' | 'composition' | 'computation' | 'converter' | 'data-view' | 'filter' | 'i18n-bundles' | 'mock' | 'query' | 'store' | 'stream' | 'update' | 'style' | 'type' | 'vocabs';
87
- /** Семантическая ссылка из source на внешний доменный документ. */
88
65
  export interface SourceDocumentReference {
89
- /** Логический тип цели; UI может уточнить concrete document type через domain. */
90
66
  target: SourceDocumentReferenceTarget;
91
- /** Persisted identity целевого документа. */
92
67
  identity: string;
93
- /** Полуоткрытый диапазон reference-expression в source offsets. */
94
68
  range: {
95
69
  start: number;
96
70
  end: number;
97
71
  };
98
72
  }
99
- /** Нейтральное к renderer семантическое выделение одного диапазона Source. */
100
73
  export interface SourceLanguageSemanticHighlight {
101
74
  kind: 'type-reference';
102
75
  status: 'resolved' | 'unresolved';
103
76
  identity: string;
104
77
  range: SourceDocumentReference['range'];
105
78
  }
106
- /** Нейтральная к renderer inline-аннотация после одного диапазона Source. */
107
79
  export interface SourceLanguageInlineHint {
108
80
  kind: 'translation';
109
81
  status: 'resolved' | 'ambiguous';
@@ -111,98 +83,58 @@ export interface SourceLanguageInlineHint {
111
83
  tooltip?: string;
112
84
  range: SourceDocumentReference['range'];
113
85
  }
114
- /** Результат validation source language strategy. */
115
86
  export interface SourceLanguageValidationResult extends SourceEngineResult {
116
- /** Diagnostics, найденные language strategy. */
117
87
  diagnostics: unknown[];
118
88
  }
119
- /** Минимальная операция source engine. Детальные операции появятся вместе с patch engine. */
120
89
  export interface SourceEngineOperation {
121
- /** Тип операции, например replace-slot или insert-block. */
122
90
  type: string;
123
- /** Дополнительный payload операции. */
124
91
  payload?: Record<string, unknown>;
125
92
  }
126
- /** Базовый результат source operation до внедрения полноценного patch engine. */
127
93
  export interface SourceEngineResult {
128
- /** Было ли действие обработано стратегией. */
129
94
  ok: boolean;
130
- /** Машинное сообщение об ошибке или причине no-op. */
131
95
  message?: string;
132
96
  }
133
- /** Результат генерации source из persisted/legacy модели. */
134
97
  export interface SourceEngineGenerateResult extends SourceEngineResult {
135
- /** Сгенерированный source-документ. */
136
98
  source?: string;
137
- /** Нормализованный source document, если стратегия его построила. */
138
99
  document?: unknown;
139
100
  }
140
- /** Результат компиляции source в normalized document и runtime artifact payload. */
141
101
  export interface SourceEngineCompileResult extends SourceEngineResult {
142
- /** AST уровня parser. */
143
102
  ast?: unknown;
144
- /** Нормализованный source document. */
145
103
  document?: unknown;
146
- /** Payload артефакта, готовый для runtime и program. */
147
104
  artifact?: any;
148
- /** Публичная metadata, извлечённая из source. */
149
105
  metadata?: import('../../../program/domain/types/program-metadata.types').ProgramMetadataMap;
150
- /** Diagnostics, найденные source compiler-ом. */
151
106
  diagnostics?: unknown[];
152
- /** Статические зависимости Program, найденные компилятором Source. */
153
107
  dependencies?: import('../../../program/domain/types/program.types').ProgramDependency[];
154
108
  }
155
- /** Результат parse source без обязательной runtime-компиляции. */
156
109
  export interface SourceParseResult<TDocument = unknown> extends SourceEngineResult {
157
- /** AST уровня parser. */
158
110
  ast?: unknown;
159
- /** Нормализованный source document. */
160
111
  document?: TDocument;
161
- /** Diagnostics, найденные parser/compiler-ом. */
162
112
  diagnostics?: unknown[];
163
113
  }
164
- /** Результат patch source-документа. */
165
114
  export interface SourcePatchResult<TDocument = unknown> extends SourceParseResult<TDocument> {
166
- /** Новый source-документ. */
167
115
  source: string;
168
- /** Был ли source реально изменен. */
169
116
  changed: boolean;
170
117
  }
171
- /** Strategy source patching для одного source-kind. */
172
118
  export interface SourcePatchStrategy<TPatch = unknown, TDocument = unknown> {
173
- /** Стабильный id стратегии для debug/плагинов. */
174
119
  id: string;
175
- /** Тип source-документа, который обслуживает стратегия. */
176
120
  sourceKind: SourceKind;
177
- /** Проверяет, может ли стратегия обслужить переданный source-kind. */
178
121
  supports: (sourceKind: SourceKind | string) => boolean;
179
- /** Парсит source в editor-facing normalized document. */
180
122
  parse: (source: string) => SourceParseResult<TDocument>;
181
- /** Применяет минимальный patch, сохраняя остальной авторский source. */
182
123
  patch: (source: string, patch: TPatch) => SourcePatchResult<TDocument>;
183
124
  }
184
- /** Strategy source engine для одного source-kind. */
185
125
  export interface SourceEngineStrategy {
186
- /** Стабильный id стратегии для debug/плагинов. */
187
126
  id: string;
188
- /** Тип source-документа, который обслуживает стратегия. */
189
127
  sourceKind: SourceKind;
190
- /** Проверяет, может ли стратегия обслужить переданный source-kind. */
191
128
  supports: (sourceKind: SourceKind | string) => boolean;
192
- /** Выполняет нейтральную source operation. Пока используется как будущий контракт patch/analyze API. */
193
129
  execute?: (operation: SourceEngineOperation) => SourceEngineResult;
194
- /** Генерирует source из persisted/legacy модели. */
195
130
  generate?: (model: unknown) => SourceEngineGenerateResult;
196
- /** Компилирует source в normalized document и artifact payload. */
197
131
  compile?: (source: string, context?: SourceEngineCompileContext) => SourceEngineCompileResult;
198
132
  }
199
- /** Нейтральный token pattern source-языка, не завязанный на Monaco API. */
200
133
  export interface SourceLanguageTokenPattern {
201
134
  pattern: RegExp;
202
135
  token: string;
203
136
  next?: string;
204
137
  }
205
- /** Editor-facing синтаксис, которым владеет SourceLanguageStrategy. */
206
138
  export interface SourceLanguageSyntaxDefinition {
207
139
  aliases: string[];
208
140
  extensions: string[];
@@ -218,30 +150,17 @@ export interface SourceLanguageSyntaxDefinition {
218
150
  triggerCharacters: string[];
219
151
  tokenizer: Record<string, SourceLanguageTokenPattern[]>;
220
152
  }
221
- /** Strategy source language для editor-facing операций одного source-kind. */
222
153
  export interface SourceLanguageStrategy {
223
- /** Стабильный id стратегии для debug/плагинов. */
224
154
  id: string;
225
- /** Тип source-документа, который обслуживает стратегия. */
226
155
  sourceKind: SourceKind;
227
- /** Проверяет, может ли стратегия обслужить переданный source-kind. */
228
156
  supports: (sourceKind: SourceKind | string) => boolean;
229
- /** Описывает подсветку, brackets и editor triggers в adapter-neutral формате. */
230
157
  syntax: SourceLanguageSyntaxDefinition;
231
- /** Возвращает базовый source для новой сущности. */
232
158
  createDefaultSource: (variant?: string) => string;
233
- /** Нормализует поддержанный syntax, сохраняя остальной авторский source. */
234
159
  normalize?: (source: string) => string;
235
- /** Валидирует source без знания о конкретном editor adapter. */
236
160
  validate: (source: string, context?: SourceLanguageContext) => SourceLanguageValidationResult;
237
- /** Возвращает доступные подсказки языка в нейтральном формате. */
238
161
  completions: (context: SourceLanguageContext) => SourceLanguageCompletion[];
239
- /** Возвращает сведения о сигнатуре вызова в текущей позиции курсора. */
240
162
  signatureHelp?: (context: SourceLanguageContext) => SourceLanguageSignatureHelp | null;
241
- /** Возвращает внешнюю document reference под курсором, если язык её поддерживает. */
242
163
  resolveReference?: (context: SourceLanguageContext) => SourceDocumentReference | null;
243
- /** Возвращает semantic highlights без привязки к конкретному editor adapter. */
244
164
  semanticHighlights?: (context: SourceLanguageContext) => SourceLanguageSemanticHighlight[];
245
- /** Возвращает inline annotations без привязки к конкретному editor adapter. */
246
165
  inlineHints?: (context: SourceLanguageContext) => SourceLanguageInlineHint[];
247
166
  }
@@ -1,16 +1,8 @@
1
1
  import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
2
2
  import { TypeSourceExpression } from './type-source.types';
3
- /** Identity Type Registry для контрактов полей Query и Filter. */
4
3
  export type SourceFieldType = 'String' | 'Number' | 'Boolean' | 'Date' | 'Time' | 'DateTime' | 'Object' | 'Any' | (string & {});
5
- /** Источник безопасного чтения значения внутри source expression. */
6
4
  export type SourceExpressionReadKind = 'env' | 'prop' | 'value' | 'row' | 'response' | 'store' | 'current' | 'scope' | 'composition-output' | 'composition-outputs' | 'composition-data' | 'composition-store' | 'composition-filter-fields' | 'composition-runtime-metadata' | 'metadata' | 'computation-output' | 'update-input' | 'update-item' | 'update-parent' | 'update-data' | 'update-meta' | 'update-has-data' | 'update-has-meta';
7
- /** Whitelist операций статического expression IR. */
8
5
  export type SourceExpressionOperation = 'merge' | 'compact' | 'get' | 'get-or' | 'has' | 'default-to' | 'pick' | 'omit' | 'defaults' | 'keys' | 'values' | 'entries' | 'map' | 'where' | 'reject' | 'find' | 'some' | 'every' | 'flat-map' | 'flatten' | 'uniq' | 'uniq-by' | 'concat' | 'take' | 'drop' | 'sort-by' | 'group-by' | 'key-by' | 'size' | 'sum' | 'sum-by' | 'min' | 'max' | 'min-by' | 'max-by' | 'trim' | 'lower-case' | 'upper-case' | 'split' | 'join' | 'match' | 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'includes' | 'or' | 'when' | 'not' | 'is-nil' | 'is-empty' | 'and' | 'between' | 'in-list' | 'in-array' | 'relative-date' | 'relative-date-time' | 'left-join' | 'full-join' | 'join-by' | 'join-by-any' | 'join-coalesce' | 'lookup-one' | 'lookup-many' | 'enrich' | 'coalesce' | 'choose' | 'lookup-value' | 'to-string' | 'to-number' | 'to-boolean' | 'type-of' | 'is-string' | 'is-number' | 'is-boolean' | 'is-array' | 'is-object' | 'is-date-time' | 'is-duration' | 'add' | 'subtract' | 'multiply' | 'divide' | 'modulo' | 'abs' | 'negate' | 'round' | 'floor' | 'ceil' | 'clamp' | 'average' | 'average-by' | 'starts-with' | 'ends-with' | 'replace' | 'replace-all' | 'slice' | 'pad-start' | 'pad-end' | 'normalize-whitespace' | 'set' | 'unset' | 'rename' | 'get-key' | 'from-entries' | 'first' | 'last' | 'at' | 'reverse' | 'sort-by-desc' | 'order-by' | 'chunk' | 'union' | 'intersection' | 'difference' | 'count-by' | 'date-time' | 'duration' | 'date-time-add' | 'date-time-subtract' | 'date-time-difference' | 'date-time-start-of' | 'date-time-end-of' | 'date-time-part' | 'duration-add' | 'duration-subtract' | 'duration-total' | 'contains-all' | 'contains-any';
9
- /**
10
- * Безопасное runtime-выражение, полученное из source callback.
11
- *
12
- * IR не содержит исполняемого JavaScript и вычисляется только штатным evaluator-ом.
13
- */
14
6
  export type SourceExpressionIR = {
15
7
  type: 'literal';
16
8
  value: unknown;
@@ -36,32 +28,26 @@ export type SourceExpressionIR = {
36
28
  operation: SourceExpressionOperation;
37
29
  arguments: SourceExpressionIR[];
38
30
  };
39
- /** Статический вариант выбора source-field. */
40
31
  export interface SourceFieldOption {
41
32
  value: string | number | boolean;
42
33
  label?: string;
43
34
  }
44
- /** Ссылка source-field на доменный vocab. */
45
35
  export interface SourceFieldVocab {
46
36
  identity: string;
47
37
  valuePath: string;
48
38
  labelPath: string;
49
39
  }
50
- /** Общий compiled field contract для Filter и Query props. */
51
40
  export interface SourceFieldDefinition {
52
41
  key: string;
53
42
  type: SourceFieldType;
54
- /** Точный inline-контракт для objectOf/recordOf; type сохраняет coarse runtime identity. */
55
43
  typeExpression?: TypeSourceExpression;
56
44
  optional: boolean;
57
45
  array: boolean;
58
46
  defaultValue?: SourceExpressionIR;
59
47
  options?: SourceFieldOption[];
60
48
  vocab?: SourceFieldVocab;
61
- /** Статическая presentation metadata поля, не влияющая на Filter state. */
62
49
  metadata?: ProgramMetadataMap;
63
50
  }
64
- /** Default value prop, вычисляемый через output внешнего или локального Filter. */
65
51
  export type SourceFieldDefaultSource = {
66
52
  kind: 'filter';
67
53
  identity: string;
@@ -79,13 +65,10 @@ export type SourceFieldDefaultSource = {
79
65
  };
80
66
  output: string;
81
67
  };
82
- /** Query prop на базе общего field contract. */
83
68
  export interface QueryProgramProp extends SourceFieldDefinition {
84
69
  defaultSource?: SourceFieldDefaultSource;
85
70
  }
86
- /** Контекст вычисления безопасного source expression. */
87
71
  export interface SourceExpressionContext {
88
- /** Разрешает чтение env(name), не предоставляя workspace вычислителю. */
89
72
  environment?: (name: string) => unknown;
90
73
  props?: Record<string, unknown>;
91
74
  values?: Record<string, unknown>;
@@ -102,10 +85,8 @@ export interface SourceExpressionContext {
102
85
  }>, input: unknown, options: unknown) => unknown;
103
86
  onWarning?: (warning: SourceExpressionWarning) => void;
104
87
  }
105
- /** Публичное имя общего декларативного value DSL. */
106
88
  export type ValueExpressionIR = SourceExpressionIR;
107
89
  export type ValueExpressionContext = SourceExpressionContext;
108
- /** Runtime warning безопасного expression evaluator. */
109
90
  export interface SourceExpressionWarning {
110
91
  code: string;
111
92
  message: string;
@@ -25,14 +25,11 @@ export interface StoreDerivedDescriptor {
25
25
  export interface StoreSourceDocument {
26
26
  data: StoreDataDescriptor[];
27
27
  }
28
- /** Скомпилированная таблица маршрутизации событий к дочерним Update. */
29
28
  export interface StoreUpdateHandlerDescriptor {
30
29
  identity: string;
31
30
  eventTypes: string[];
32
31
  }
33
- /** Готовый для runtime артефакт source Store v1. */
34
32
  export interface StoreSourceArtifact extends StoreSourceDocument {
35
- /** Optional parser tree retained for inspection; runtime does not require it. */
36
33
  ast?: unknown;
37
34
  type: 'store';
38
35
  sourceVersion: number;
@@ -21,18 +21,14 @@ export interface StreamEventDescriptor {
21
21
  type: string | null;
22
22
  typePath: string | null;
23
23
  payloadPath: string | null;
24
- /** Точные значения по dot-path исходного сообщения, проверяемые до eachFrom. */
25
24
  match?: Record<string, string | number | boolean | null>;
26
- /** Путь к массиву; typePath и payloadPath читаются относительно каждого элемента. */
27
25
  eachFrom?: string;
28
26
  }
29
27
  export interface StreamSourceDocument {
30
28
  transport: StreamTransportDescriptor;
31
29
  events: StreamEventDescriptor[];
32
30
  }
33
- /** Готовый для runtime артефакт Stream. */
34
31
  export interface StreamSourceArtifact extends StreamSourceDocument {
35
- /** Optional parser tree retained for inspection; runtime does not require it. */
36
32
  ast?: unknown;
37
33
  type: 'stream';
38
34
  sourceVersion: number;
@@ -1,11 +1,9 @@
1
1
  import { ProgramMetadataMap } from '../../../program/domain/types/program-metadata.types';
2
2
  import { ProgramDiagnostic } from '../../../program/domain/types/program.types';
3
- /** Ссылка Type Source на примитивный или пользовательский тип домена. */
4
3
  export interface TypeSourceReference {
5
4
  kind: 'reference';
6
5
  identity: string;
7
6
  }
8
- /** Поле объектного Type Source v1. */
9
7
  export interface TypeSourceField {
10
8
  key: string;
11
9
  type: TypeSourceExpression;
@@ -32,26 +30,19 @@ export interface TypeSourceArrayDefinition {
32
30
  kind: 'array';
33
31
  items: TypeSourceExpression;
34
32
  }
35
- /** Словарь с произвольными string-ключами и единым типом значений. */
36
33
  export interface TypeSourceRecordDefinition {
37
34
  kind: 'record';
38
35
  values: TypeSourceExpression;
39
36
  }
40
- /** Поддержанные корневые формы Type Source v1. */
41
37
  export type TypeSourceDefinition = TypeSourceObjectDefinition | TypeSourceEnumDefinition | TypeSourceUnionDefinition | TypeSourceArrayDefinition;
42
- /** Рекурсивное выражение типа: ссылка или анонимное inline-определение. */
43
38
  export type TypeSourceExpression = TypeSourceReference | TypeSourceDefinition | TypeSourceRecordDefinition;
44
- /** Канонический authoring-документ Type Source v1. */
45
39
  export interface TypeSourceDocument {
46
40
  definition: TypeSourceDefinition;
47
41
  }
48
- /** Compiler payload Type Source. Runtime пока не потребляет этот artifact. */
49
42
  export interface TypeProgramPayload {
50
- /** Optional parser tree retained for inspection; runtime does not require it. */
51
43
  ast?: unknown;
52
44
  type: 'type';
53
45
  sourceVersion: number;
54
- /** Стабильная identity скомпилированного типа. Артефакты только parser могут её не содержать. */
55
46
  identity?: string;
56
47
  displayName?: string;
57
48
  category?: 'primitive' | 'reference' | 'user';
@@ -62,7 +53,6 @@ export interface TypeProgramPayload {
62
53
  storage: 'id' | 'identity';
63
54
  };
64
55
  }
65
- /** Проекция только для чтения, используемая редакторами и языковыми инструментами. */
66
56
  export interface TypeProgramCatalogEntry {
67
57
  id: string | number;
68
58
  identity: string;
@@ -74,7 +64,6 @@ export interface TypeProgramCatalogEntry {
74
64
  entityReference?: TypeProgramPayload['entityReference'];
75
65
  status: 'valid' | 'warning' | 'error';
76
66
  }
77
- /** Результат безопасного разбора Type Source. */
78
67
  export interface TypeSourceCompileResult {
79
68
  ast: unknown | null;
80
69
  document: TypeSourceDocument | null;
@@ -18,9 +18,7 @@ export interface UpdateSourceDocument {
18
18
  handles: string[];
19
19
  mutations: UpdateMutationDescriptor[];
20
20
  }
21
- /** Готовый для runtime артефакт Update, всегда ограниченный своим владельцем Store. */
22
21
  export interface UpdateSourceArtifact extends UpdateSourceDocument {
23
- /** Optional parser tree retained for inspection; runtime does not require it. */
24
22
  ast?: unknown;
25
23
  type: 'update';
26
24
  sourceVersion: number;
@@ -17,7 +17,9 @@ interface QueryArrayContract {
17
17
  dependencies: ProgramDependency[];
18
18
  errors: string[];
19
19
  }
20
- /** Read-only разрешение aliases и контрактов; не создаёт RuntimeHost или generator payload. */
20
+ /**
21
+ * Read-only разрешение aliases и контрактов; не создаёт RuntimeHost или generator payload.
22
+ */
21
23
  export declare class SimulationSourceResolver {
22
24
  private readonly _catalog;
23
25
  private readonly _executionContext;
@@ -1,11 +1,19 @@
1
1
  import { SourceEngineStrategy, SourceKind } from '../domain/types/source-engine.types';
2
- /** Реестр source engine strategies, выбирающий обработчик по source-kind. */
2
+ /**
3
+ * Реестр source engine strategies, выбирающий обработчик по source-kind.
4
+ */
3
5
  export declare class SourceEngineRegistry {
4
6
  private readonly _strategies;
5
- /** Регистрирует стратегию. Повторная регистрация с тем же id заменяет старую. */
7
+ /**
8
+ * Регистрирует стратегию. Повторная регистрация с тем же id заменяет старую.
9
+ */
6
10
  register(strategy: SourceEngineStrategy): void;
7
- /** Возвращает копию зарегистрированных стратегий для debug/UI. */
11
+ /**
12
+ * Возвращает копию зарегистрированных стратегий для debug/UI.
13
+ */
8
14
  list(): SourceEngineStrategy[];
9
- /** Возвращает стратегию, которая обслуживает указанный source-kind. */
15
+ /**
16
+ * Возвращает стратегию, которая обслуживает указанный source-kind.
17
+ */
10
18
  resolve(sourceKind: SourceKind | string): SourceEngineStrategy | null;
11
19
  }
@@ -1,11 +1,19 @@
1
1
  import { SourceKind, SourceLanguageStrategy } from '../domain/types/source-engine.types';
2
- /** Реестр source language strategies для editor-facing операций. */
2
+ /**
3
+ * Реестр source language strategies для editor-facing операций.
4
+ */
3
5
  export declare class SourceLanguageRegistry {
4
6
  private readonly _strategies;
5
- /** Регистрирует language strategy. Повторная регистрация с тем же id заменяет старую. */
7
+ /**
8
+ * Регистрирует language strategy. Повторная регистрация с тем же id заменяет старую.
9
+ */
6
10
  register(strategy: SourceLanguageStrategy): void;
7
- /** Возвращает копию зарегистрированных language strategies для debug/UI. */
11
+ /**
12
+ * Возвращает копию зарегистрированных language strategies для debug/UI.
13
+ */
8
14
  list(): SourceLanguageStrategy[];
9
- /** Возвращает language strategy, которая обслуживает указанный source-kind. */
15
+ /**
16
+ * Возвращает language strategy, которая обслуживает указанный source-kind.
17
+ */
10
18
  resolve(sourceKind: SourceKind | string): SourceLanguageStrategy | null;
11
19
  }