@contember/binding 1.1.0-alpha.1 → 1.1.0-alpha.12

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 (431) hide show
  1. package/dist/development/accessorPropagation/EnvironmentContext.js +28 -2
  2. package/dist/development/accessorPropagation/EnvironmentContext.js.map +1 -1
  3. package/dist/development/accessorPropagation/useEntityListSubTree.js +4 -2
  4. package/dist/development/accessorPropagation/useEntityListSubTree.js.map +1 -1
  5. package/dist/development/accessorPropagation/useEntitySubTree.js +4 -2
  6. package/dist/development/accessorPropagation/useEntitySubTree.js.map +1 -1
  7. package/dist/development/accessorPropagation/useExtendTree.js +27 -0
  8. package/dist/development/accessorPropagation/useExtendTree.js.map +1 -0
  9. package/dist/development/accessorTree/AccessorTree.js +16 -14
  10. package/dist/development/accessorTree/AccessorTree.js.map +1 -1
  11. package/dist/development/accessorTree/AccessorTreeStateContext.js +4 -0
  12. package/dist/development/accessorTree/AccessorTreeStateContext.js.map +1 -0
  13. package/dist/development/accessorTree/NormalizedPersistedData.js.map +1 -1
  14. package/dist/development/accessorTree/accessorTreeStateReducer.js +11 -2
  15. package/dist/development/accessorTree/accessorTreeStateReducer.js.map +1 -1
  16. package/dist/development/accessorTree/useAccessorTreeState.js +12 -0
  17. package/dist/development/accessorTree/useAccessorTreeState.js.map +1 -0
  18. package/dist/development/accessorTree/useDataBinding.js +41 -51
  19. package/dist/development/accessorTree/useDataBinding.js.map +1 -1
  20. package/dist/development/accessors/EntityAccessor.js +19 -8
  21. package/dist/development/accessors/EntityAccessor.js.map +1 -1
  22. package/dist/development/accessors/EntityListAccessor.js +10 -10
  23. package/dist/development/accessors/EntityListAccessor.js.map +1 -1
  24. package/dist/development/accessors/FieldAccessor.js +6 -6
  25. package/dist/development/accessors/FieldAccessor.js.map +1 -1
  26. package/dist/development/core/AccessorErrorManager.js +2 -2
  27. package/dist/development/core/AccessorErrorManager.js.map +1 -1
  28. package/dist/development/core/Config.js +1 -2
  29. package/dist/development/core/Config.js.map +1 -1
  30. package/dist/development/core/DataBinding.js +23 -37
  31. package/dist/development/core/DataBinding.js.map +1 -1
  32. package/dist/development/core/DirtinessTracker.js +4 -13
  33. package/dist/development/core/DirtinessTracker.js.map +1 -1
  34. package/dist/development/core/ErrorsPreprocessor.js +9 -13
  35. package/dist/development/core/ErrorsPreprocessor.js.map +1 -1
  36. package/dist/development/core/EventManager.js +13 -8
  37. package/dist/development/core/EventManager.js.map +1 -1
  38. package/dist/development/core/IncrementalMarkerBuilder.js +1 -1
  39. package/dist/development/core/MarkerMerger.js +2 -2
  40. package/dist/development/core/MutationGenerator.js +175 -136
  41. package/dist/development/core/MutationGenerator.js.map +1 -1
  42. package/dist/development/core/RequestResponseNormalizer.js +93 -130
  43. package/dist/development/core/RequestResponseNormalizer.js.map +1 -1
  44. package/dist/development/core/StateInitializer.js +22 -30
  45. package/dist/development/core/StateInitializer.js.map +1 -1
  46. package/dist/development/core/TreeAugmenter.js +4 -4
  47. package/dist/development/core/TreeAugmenter.js.map +1 -1
  48. package/dist/development/core/TreeStore.js +9 -20
  49. package/dist/development/core/TreeStore.js.map +1 -1
  50. package/dist/development/core/VariableInputTransformer.js.map +1 -1
  51. package/dist/development/core/factories/createBatchUpdatesOptions.js.map +1 -1
  52. package/dist/development/core/operations/EntityOperations.js +10 -9
  53. package/dist/development/core/operations/EntityOperations.js.map +1 -1
  54. package/dist/development/core/operations/ListOperations.js +1 -1
  55. package/dist/development/core/operations/ListOperations.js.map +1 -1
  56. package/dist/development/core/requestAliases/MutationAlias.js +2 -40
  57. package/dist/development/core/requestAliases/MutationAlias.js.map +1 -1
  58. package/dist/development/core/schema/Schema.js +27 -3
  59. package/dist/development/core/schema/Schema.js.map +1 -1
  60. package/dist/development/core/schema/SchemaLoader.js +12 -12
  61. package/dist/development/core/schema/SchemaLoader.js.map +1 -1
  62. package/dist/development/core/schema/SchemaPreprocessor.js +1 -1
  63. package/dist/development/core/schema/SchemaPreprocessor.js.map +1 -1
  64. package/dist/development/coreComponents/Component.js +5 -2
  65. package/dist/development/coreComponents/Component.js.map +1 -1
  66. package/dist/development/coreComponents/DataBindingProvider.js +0 -1
  67. package/dist/development/coreComponents/DataBindingProvider.js.map +1 -1
  68. package/dist/development/coreComponents/EntityListSubTree.js.map +1 -1
  69. package/dist/development/coreComponents/HasOne.js +1 -1
  70. package/dist/development/dao/Environment.js +34 -2
  71. package/dist/development/dao/Environment.js.map +1 -1
  72. package/dist/development/dao/TreeNodeEnvironmentFactory.js +6 -13
  73. package/dist/development/dao/TreeNodeEnvironmentFactory.js.map +1 -1
  74. package/dist/development/helperComponents/DeferredSubTrees.js +16 -8
  75. package/dist/development/helperComponents/DeferredSubTrees.js.map +1 -1
  76. package/dist/development/helperComponents/If.js +39 -0
  77. package/dist/development/helperComponents/If.js.map +1 -0
  78. package/dist/development/helperComponents/SugaredField.js +1 -1
  79. package/dist/development/helperComponents/helpers/FilterEvaluator.js +35 -0
  80. package/dist/development/helperComponents/helpers/FilterEvaluator.js.map +1 -0
  81. package/dist/development/helperComponents/helpers/FilterFieldsCollector.js +38 -0
  82. package/dist/development/helperComponents/helpers/FilterFieldsCollector.js.map +1 -0
  83. package/dist/development/helperComponents/helpers/evaluateCondition.js +46 -0
  84. package/dist/development/helperComponents/helpers/evaluateCondition.js.map +1 -0
  85. package/dist/development/index.js +6 -1
  86. package/dist/development/index.js.map +1 -1
  87. package/dist/development/markers/EntityListSubTreeMarker.js +1 -1
  88. package/dist/development/markers/EntityListSubTreeMarker.js.map +1 -1
  89. package/dist/development/markers/EntitySubTreeMarker.js +1 -1
  90. package/dist/development/markers/EntitySubTreeMarker.js.map +1 -1
  91. package/dist/development/markers/PlaceholderGenerator.js +4 -4
  92. package/dist/development/markers/PlaceholderGenerator.js.map +1 -1
  93. package/dist/development/queryLanguage/MarkerFactory.js +2 -2
  94. package/dist/development/queryLanguage/QueryLanguage.js +1 -1
  95. package/dist/development/utils/Hashing.js +21 -6
  96. package/dist/development/utils/Hashing.js.map +1 -1
  97. package/dist/production/accessorPropagation/EnvironmentContext.js +28 -2
  98. package/dist/production/accessorPropagation/EnvironmentContext.js.map +1 -1
  99. package/dist/production/accessorPropagation/useEntityListSubTree.js +4 -2
  100. package/dist/production/accessorPropagation/useEntityListSubTree.js.map +1 -1
  101. package/dist/production/accessorPropagation/useEntitySubTree.js +4 -2
  102. package/dist/production/accessorPropagation/useEntitySubTree.js.map +1 -1
  103. package/dist/production/accessorPropagation/useExtendTree.js +27 -0
  104. package/dist/production/accessorPropagation/useExtendTree.js.map +1 -0
  105. package/dist/production/accessorTree/AccessorTree.js +16 -14
  106. package/dist/production/accessorTree/AccessorTree.js.map +1 -1
  107. package/dist/production/accessorTree/AccessorTreeStateContext.js +4 -0
  108. package/dist/production/accessorTree/AccessorTreeStateContext.js.map +1 -0
  109. package/dist/production/accessorTree/NormalizedPersistedData.js.map +1 -1
  110. package/dist/production/accessorTree/accessorTreeStateReducer.js +11 -2
  111. package/dist/production/accessorTree/accessorTreeStateReducer.js.map +1 -1
  112. package/dist/production/accessorTree/useAccessorTreeState.js +12 -0
  113. package/dist/production/accessorTree/useAccessorTreeState.js.map +1 -0
  114. package/dist/production/accessorTree/useDataBinding.js +41 -51
  115. package/dist/production/accessorTree/useDataBinding.js.map +1 -1
  116. package/dist/production/accessors/EntityAccessor.js +19 -8
  117. package/dist/production/accessors/EntityAccessor.js.map +1 -1
  118. package/dist/production/accessors/EntityListAccessor.js +10 -10
  119. package/dist/production/accessors/EntityListAccessor.js.map +1 -1
  120. package/dist/production/accessors/FieldAccessor.js +6 -6
  121. package/dist/production/accessors/FieldAccessor.js.map +1 -1
  122. package/dist/production/core/AccessorErrorManager.js +2 -2
  123. package/dist/production/core/AccessorErrorManager.js.map +1 -1
  124. package/dist/production/core/Config.js +1 -2
  125. package/dist/production/core/Config.js.map +1 -1
  126. package/dist/production/core/DataBinding.js +23 -37
  127. package/dist/production/core/DataBinding.js.map +1 -1
  128. package/dist/production/core/DirtinessTracker.js +4 -13
  129. package/dist/production/core/DirtinessTracker.js.map +1 -1
  130. package/dist/production/core/ErrorsPreprocessor.js +9 -13
  131. package/dist/production/core/ErrorsPreprocessor.js.map +1 -1
  132. package/dist/production/core/EventManager.js +12 -7
  133. package/dist/production/core/EventManager.js.map +1 -1
  134. package/dist/production/core/IncrementalMarkerBuilder.js +1 -1
  135. package/dist/production/core/MarkerMerger.js +2 -2
  136. package/dist/production/core/MutationGenerator.js +175 -136
  137. package/dist/production/core/MutationGenerator.js.map +1 -1
  138. package/dist/production/core/RequestResponseNormalizer.js +93 -130
  139. package/dist/production/core/RequestResponseNormalizer.js.map +1 -1
  140. package/dist/production/core/StateInitializer.js +22 -30
  141. package/dist/production/core/StateInitializer.js.map +1 -1
  142. package/dist/production/core/TreeAugmenter.js +4 -4
  143. package/dist/production/core/TreeAugmenter.js.map +1 -1
  144. package/dist/production/core/TreeStore.js +9 -20
  145. package/dist/production/core/TreeStore.js.map +1 -1
  146. package/dist/production/core/VariableInputTransformer.js.map +1 -1
  147. package/dist/production/core/factories/createBatchUpdatesOptions.js.map +1 -1
  148. package/dist/production/core/operations/EntityOperations.js +10 -9
  149. package/dist/production/core/operations/EntityOperations.js.map +1 -1
  150. package/dist/production/core/operations/ListOperations.js +1 -1
  151. package/dist/production/core/operations/ListOperations.js.map +1 -1
  152. package/dist/production/core/requestAliases/MutationAlias.js +2 -33
  153. package/dist/production/core/requestAliases/MutationAlias.js.map +1 -1
  154. package/dist/production/core/schema/Schema.js +27 -3
  155. package/dist/production/core/schema/Schema.js.map +1 -1
  156. package/dist/production/core/schema/SchemaLoader.js +12 -12
  157. package/dist/production/core/schema/SchemaLoader.js.map +1 -1
  158. package/dist/production/core/schema/SchemaPreprocessor.js +1 -1
  159. package/dist/production/core/schema/SchemaPreprocessor.js.map +1 -1
  160. package/dist/production/coreComponents/Component.js +5 -2
  161. package/dist/production/coreComponents/Component.js.map +1 -1
  162. package/dist/production/coreComponents/DataBindingProvider.js +0 -1
  163. package/dist/production/coreComponents/DataBindingProvider.js.map +1 -1
  164. package/dist/production/coreComponents/EntityListSubTree.js.map +1 -1
  165. package/dist/production/coreComponents/HasOne.js +1 -1
  166. package/dist/production/dao/Environment.js +34 -2
  167. package/dist/production/dao/Environment.js.map +1 -1
  168. package/dist/production/dao/TreeNodeEnvironmentFactory.js +6 -13
  169. package/dist/production/dao/TreeNodeEnvironmentFactory.js.map +1 -1
  170. package/dist/production/helperComponents/DeferredSubTrees.js +16 -8
  171. package/dist/production/helperComponents/DeferredSubTrees.js.map +1 -1
  172. package/dist/production/helperComponents/If.js +39 -0
  173. package/dist/production/helperComponents/If.js.map +1 -0
  174. package/dist/production/helperComponents/SugaredField.js +1 -1
  175. package/dist/production/helperComponents/helpers/FilterEvaluator.js +35 -0
  176. package/dist/production/helperComponents/helpers/FilterEvaluator.js.map +1 -0
  177. package/dist/production/helperComponents/helpers/FilterFieldsCollector.js +38 -0
  178. package/dist/production/helperComponents/helpers/FilterFieldsCollector.js.map +1 -0
  179. package/dist/production/helperComponents/helpers/evaluateCondition.js +46 -0
  180. package/dist/production/helperComponents/helpers/evaluateCondition.js.map +1 -0
  181. package/dist/production/index.js +6 -1
  182. package/dist/production/index.js.map +1 -1
  183. package/dist/production/markers/EntityListSubTreeMarker.js +1 -1
  184. package/dist/production/markers/EntityListSubTreeMarker.js.map +1 -1
  185. package/dist/production/markers/EntitySubTreeMarker.js +1 -1
  186. package/dist/production/markers/EntitySubTreeMarker.js.map +1 -1
  187. package/dist/production/markers/PlaceholderGenerator.js +4 -4
  188. package/dist/production/markers/PlaceholderGenerator.js.map +1 -1
  189. package/dist/production/queryLanguage/MarkerFactory.js +2 -2
  190. package/dist/production/queryLanguage/QueryLanguage.js +1 -1
  191. package/dist/production/utils/Hashing.js +21 -6
  192. package/dist/production/utils/Hashing.js.map +1 -1
  193. package/dist/types/accessorPropagation/BindingOperationsContext.d.ts +1 -1
  194. package/dist/types/accessorPropagation/BindingOperationsContext.d.ts.map +1 -1
  195. package/dist/types/accessorPropagation/EntityKeyContext.d.ts +1 -1
  196. package/dist/types/accessorPropagation/EntityKeyContext.d.ts.map +1 -1
  197. package/dist/types/accessorPropagation/EnvironmentContext.d.ts +13 -2
  198. package/dist/types/accessorPropagation/EnvironmentContext.d.ts.map +1 -1
  199. package/dist/types/accessorPropagation/TreeRootIdContext.d.ts +1 -1
  200. package/dist/types/accessorPropagation/TreeRootIdContext.d.ts.map +1 -1
  201. package/dist/types/accessorPropagation/index.d.ts +1 -0
  202. package/dist/types/accessorPropagation/index.d.ts.map +1 -1
  203. package/dist/types/accessorPropagation/useEntityListSubTree.d.ts +3 -1
  204. package/dist/types/accessorPropagation/useEntityListSubTree.d.ts.map +1 -1
  205. package/dist/types/accessorPropagation/useEntitySubTree.d.ts +3 -1
  206. package/dist/types/accessorPropagation/useEntitySubTree.d.ts.map +1 -1
  207. package/dist/types/accessorPropagation/useExtendTree.d.ts +5 -0
  208. package/dist/types/accessorPropagation/useExtendTree.d.ts.map +1 -0
  209. package/dist/types/accessorPropagation/useGetEntityListSubTree.d.ts +2 -1
  210. package/dist/types/accessorPropagation/useGetEntityListSubTree.d.ts.map +1 -1
  211. package/dist/types/accessorPropagation/useGetEntitySubTree.d.ts +2 -1
  212. package/dist/types/accessorPropagation/useGetEntitySubTree.d.ts.map +1 -1
  213. package/dist/types/accessorSorting/SetOrderFieldOnCreate.d.ts +1 -1
  214. package/dist/types/accessorSorting/SetOrderFieldOnCreate.d.ts.map +1 -1
  215. package/dist/types/accessorSorting/addEntityAtIndex.d.ts +1 -1
  216. package/dist/types/accessorSorting/addEntityAtIndex.d.ts.map +1 -1
  217. package/dist/types/accessorTree/AccessorTree.d.ts.map +1 -1
  218. package/dist/types/accessorTree/AccessorTreeState.d.ts +8 -0
  219. package/dist/types/accessorTree/AccessorTreeState.d.ts.map +1 -1
  220. package/dist/types/accessorTree/AccessorTreeStateAction.d.ts +6 -0
  221. package/dist/types/accessorTree/AccessorTreeStateAction.d.ts.map +1 -1
  222. package/dist/types/accessorTree/AccessorTreeStateContext.d.ts +4 -0
  223. package/dist/types/accessorTree/AccessorTreeStateContext.d.ts.map +1 -0
  224. package/dist/types/accessorTree/AccessorTreeStateOptions.d.ts +0 -1
  225. package/dist/types/accessorTree/AccessorTreeStateOptions.d.ts.map +1 -1
  226. package/dist/types/accessorTree/DirtinessContext.d.ts +1 -1
  227. package/dist/types/accessorTree/DirtinessContext.d.ts.map +1 -1
  228. package/dist/types/accessorTree/MutationRequestResponse.d.ts +5 -5
  229. package/dist/types/accessorTree/MutationRequestResponse.d.ts.map +1 -1
  230. package/dist/types/accessorTree/MutationStateContext.d.ts +1 -1
  231. package/dist/types/accessorTree/MutationStateContext.d.ts.map +1 -1
  232. package/dist/types/accessorTree/NormalizedPersistedData.d.ts +2 -2
  233. package/dist/types/accessorTree/NormalizedPersistedData.d.ts.map +1 -1
  234. package/dist/types/accessorTree/QueryRequestResponse.d.ts +2 -2
  235. package/dist/types/accessorTree/QueryRequestResponse.d.ts.map +1 -1
  236. package/dist/types/accessorTree/accessorTreeStateReducer.d.ts.map +1 -1
  237. package/dist/types/accessorTree/index.d.ts +1 -0
  238. package/dist/types/accessorTree/index.d.ts.map +1 -1
  239. package/dist/types/accessorTree/useAccessorTreeState.d.ts +2 -0
  240. package/dist/types/accessorTree/useAccessorTreeState.d.ts.map +1 -0
  241. package/dist/types/accessorTree/useDataBinding.d.ts +1 -1
  242. package/dist/types/accessorTree/useDataBinding.d.ts.map +1 -1
  243. package/dist/types/accessors/BindingConfig.d.ts +0 -1
  244. package/dist/types/accessors/BindingConfig.d.ts.map +1 -1
  245. package/dist/types/accessors/EntityAccessor.d.ts +4 -2
  246. package/dist/types/accessors/EntityAccessor.d.ts.map +1 -1
  247. package/dist/types/accessors/EntityListAccessor.d.ts +2 -2
  248. package/dist/types/accessors/EntityListAccessor.d.ts.map +1 -1
  249. package/dist/types/accessors/FieldAccessor.d.ts +2 -2
  250. package/dist/types/accessors/FieldAccessor.d.ts.map +1 -1
  251. package/dist/types/core/AccessorErrorManager.d.ts +2 -1
  252. package/dist/types/core/AccessorErrorManager.d.ts.map +1 -1
  253. package/dist/types/core/Config.d.ts.map +1 -1
  254. package/dist/types/core/DataBinding.d.ts +3 -4
  255. package/dist/types/core/DataBinding.d.ts.map +1 -1
  256. package/dist/types/core/DirtinessTracker.d.ts +2 -5
  257. package/dist/types/core/DirtinessTracker.d.ts.map +1 -1
  258. package/dist/types/core/ErrorsPreprocessor.d.ts +3 -1
  259. package/dist/types/core/ErrorsPreprocessor.d.ts.map +1 -1
  260. package/dist/types/core/EventManager.d.ts +1 -1
  261. package/dist/types/core/EventManager.d.ts.map +1 -1
  262. package/dist/types/core/MutationGenerator.d.ts +25 -1
  263. package/dist/types/core/MutationGenerator.d.ts.map +1 -1
  264. package/dist/types/core/RequestResponseNormalizer.d.ts +6 -7
  265. package/dist/types/core/RequestResponseNormalizer.d.ts.map +1 -1
  266. package/dist/types/core/StateInitializer.d.ts +1 -5
  267. package/dist/types/core/StateInitializer.d.ts.map +1 -1
  268. package/dist/types/core/TreeAugmenter.d.ts +3 -2
  269. package/dist/types/core/TreeAugmenter.d.ts.map +1 -1
  270. package/dist/types/core/TreeStore.d.ts +5 -5
  271. package/dist/types/core/TreeStore.d.ts.map +1 -1
  272. package/dist/types/core/VariableInputTransformer.d.ts +2 -2
  273. package/dist/types/core/VariableInputTransformer.d.ts.map +1 -1
  274. package/dist/types/core/index.d.ts +1 -0
  275. package/dist/types/core/index.d.ts.map +1 -1
  276. package/dist/types/core/operations/EntityOperations.d.ts.map +1 -1
  277. package/dist/types/core/operations/ListOperations.d.ts.map +1 -1
  278. package/dist/types/core/requestAliases/MutationAlias.d.ts +0 -3
  279. package/dist/types/core/requestAliases/MutationAlias.d.ts.map +1 -1
  280. package/dist/types/core/requestAliases/index.d.ts +0 -3
  281. package/dist/types/core/requestAliases/index.d.ts.map +1 -1
  282. package/dist/types/core/schema/RawSchemaEntity.d.ts +3 -2
  283. package/dist/types/core/schema/RawSchemaEntity.d.ts.map +1 -1
  284. package/dist/types/core/schema/Schema.d.ts +13 -3
  285. package/dist/types/core/schema/Schema.d.ts.map +1 -1
  286. package/dist/types/core/schema/SchemaColumn.d.ts +1 -1
  287. package/dist/types/core/schema/SchemaColumn.d.ts.map +1 -1
  288. package/dist/types/core/schema/SchemaEntity.d.ts +1 -1
  289. package/dist/types/core/schema/SchemaEntity.d.ts.map +1 -1
  290. package/dist/types/core/schema/SchemaLoader.d.ts +2 -1
  291. package/dist/types/core/schema/SchemaLoader.d.ts.map +1 -1
  292. package/dist/types/core/schema/SchemaRelation.d.ts +1 -1
  293. package/dist/types/core/schema/SchemaRelation.d.ts.map +1 -1
  294. package/dist/types/core/state/FieldState.d.ts +2 -2
  295. package/dist/types/core/state/FieldState.d.ts.map +1 -1
  296. package/dist/types/coreComponents/Component.d.ts +9 -4
  297. package/dist/types/coreComponents/Component.d.ts.map +1 -1
  298. package/dist/types/coreComponents/DataBindingProvider.d.ts +0 -1
  299. package/dist/types/coreComponents/DataBindingProvider.d.ts.map +1 -1
  300. package/dist/types/coreComponents/Entity.d.ts +1 -1
  301. package/dist/types/coreComponents/Entity.d.ts.map +1 -1
  302. package/dist/types/coreComponents/EntityListSubTree.d.ts.map +1 -1
  303. package/dist/types/coreComponents/Field.d.ts +1 -1
  304. package/dist/types/coreComponents/Field.d.ts.map +1 -1
  305. package/dist/types/coreComponents/ParentEntity.d.ts +1 -1
  306. package/dist/types/coreComponents/ParentEntity.d.ts.map +1 -1
  307. package/dist/types/dao/Environment.d.ts +9 -0
  308. package/dist/types/dao/Environment.d.ts.map +1 -1
  309. package/dist/types/dao/TreeNodeEnvironmentFactory.d.ts.map +1 -1
  310. package/dist/types/entityEvents/useDerivedField.d.ts +2 -2
  311. package/dist/types/entityEvents/useDerivedField.d.ts.map +1 -1
  312. package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts +1 -1
  313. package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts.map +1 -1
  314. package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts +1 -1
  315. package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts.map +1 -1
  316. package/dist/types/helperComponents/DeferredSubTrees.d.ts +1 -1
  317. package/dist/types/helperComponents/DeferredSubTrees.d.ts.map +1 -1
  318. package/dist/types/helperComponents/FieldView.d.ts +7 -7
  319. package/dist/types/helperComponents/FieldView.d.ts.map +1 -1
  320. package/dist/types/helperComponents/If.d.ts +14 -0
  321. package/dist/types/helperComponents/If.d.ts.map +1 -0
  322. package/dist/types/helperComponents/StaticRender.d.ts +1 -1
  323. package/dist/types/helperComponents/StaticRender.d.ts.map +1 -1
  324. package/dist/types/helperComponents/SugaredField.d.ts +1 -1
  325. package/dist/types/helperComponents/SugaredField.d.ts.map +1 -1
  326. package/dist/types/helperComponents/helpers/FilterEvaluator.d.ts +9 -0
  327. package/dist/types/helperComponents/helpers/FilterEvaluator.d.ts.map +1 -0
  328. package/dist/types/helperComponents/helpers/FilterFieldsCollector.d.ts +10 -0
  329. package/dist/types/helperComponents/helpers/FilterFieldsCollector.d.ts.map +1 -0
  330. package/dist/types/helperComponents/helpers/evaluateCondition.d.ts +4 -0
  331. package/dist/types/helperComponents/helpers/evaluateCondition.d.ts.map +1 -0
  332. package/dist/types/helperComponents/index.d.ts +1 -0
  333. package/dist/types/helperComponents/index.d.ts.map +1 -1
  334. package/dist/types/markers/FieldMarker.d.ts +3 -3
  335. package/dist/types/markers/FieldMarker.d.ts.map +1 -1
  336. package/dist/types/markers/PlaceholderGenerator.d.ts +3 -2
  337. package/dist/types/markers/PlaceholderGenerator.d.ts.map +1 -1
  338. package/dist/types/treeParameters/primitives/FieldValue.d.ts +2 -2
  339. package/dist/types/treeParameters/primitives/FieldValue.d.ts.map +1 -1
  340. package/dist/types/treeParameters/primitives/Json.d.ts +7 -0
  341. package/dist/types/treeParameters/primitives/Json.d.ts.map +1 -0
  342. package/dist/types/treeParameters/primitives/index.d.ts +1 -0
  343. package/dist/types/treeParameters/primitives/index.d.ts.map +1 -1
  344. package/dist/types/tsconfig.tsbuildinfo +1 -1
  345. package/dist/types/utils/Hashing.d.ts +3 -2
  346. package/dist/types/utils/Hashing.d.ts.map +1 -1
  347. package/package.json +7 -5
  348. package/src/accessorPropagation/EnvironmentContext.tsx +44 -0
  349. package/src/accessorPropagation/index.ts +1 -0
  350. package/src/accessorPropagation/useEntityListSubTree.ts +8 -1
  351. package/src/accessorPropagation/useEntitySubTree.ts +8 -1
  352. package/src/accessorPropagation/useExtendTree.ts +30 -0
  353. package/src/accessorTree/AccessorTree.tsx +18 -18
  354. package/src/accessorTree/AccessorTreeState.ts +12 -1
  355. package/src/accessorTree/AccessorTreeStateAction.ts +7 -1
  356. package/src/accessorTree/AccessorTreeStateContext.ts +4 -0
  357. package/src/accessorTree/AccessorTreeStateOptions.ts +0 -1
  358. package/src/accessorTree/MutationRequestResponse.ts +9 -3
  359. package/src/accessorTree/NormalizedPersistedData.ts +2 -2
  360. package/src/accessorTree/QueryRequestResponse.ts +2 -2
  361. package/src/accessorTree/accessorTreeStateReducer.ts +10 -1
  362. package/src/accessorTree/index.ts +1 -0
  363. package/src/accessorTree/useAccessorTreeState.ts +11 -0
  364. package/src/accessorTree/useDataBinding.ts +41 -59
  365. package/src/accessors/BindingConfig.ts +0 -1
  366. package/src/accessors/EntityAccessor.ts +20 -7
  367. package/src/accessors/EntityListAccessor.ts +9 -9
  368. package/src/accessors/FieldAccessor.ts +5 -5
  369. package/src/core/AccessorErrorManager.ts +3 -2
  370. package/src/core/Config.ts +0 -1
  371. package/src/core/DataBinding.ts +24 -40
  372. package/src/core/DirtinessTracker.ts +4 -16
  373. package/src/core/ErrorsPreprocessor.ts +14 -16
  374. package/src/core/EventManager.ts +14 -8
  375. package/src/core/MutationGenerator.ts +244 -183
  376. package/src/core/RequestResponseNormalizer.ts +110 -161
  377. package/src/core/StateInitializer.ts +35 -47
  378. package/src/core/TreeAugmenter.ts +5 -4
  379. package/src/core/TreeStore.ts +11 -21
  380. package/src/core/VariableInputTransformer.ts +2 -2
  381. package/src/core/factories/createBatchUpdatesOptions.ts +1 -1
  382. package/src/core/index.ts +1 -0
  383. package/src/core/operations/EntityOperations.ts +9 -10
  384. package/src/core/operations/ListOperations.ts +2 -1
  385. package/src/core/requestAliases/MutationAlias.ts +2 -57
  386. package/src/core/requestAliases/index.ts +0 -3
  387. package/src/core/schema/RawSchemaEntity.ts +1 -2
  388. package/src/core/schema/Schema.ts +38 -4
  389. package/src/core/schema/SchemaColumn.ts +1 -1
  390. package/src/core/schema/SchemaEntity.ts +1 -1
  391. package/src/core/schema/SchemaLoader.ts +13 -11
  392. package/src/core/schema/SchemaPreprocessor.ts +1 -1
  393. package/src/core/schema/SchemaRelation.ts +1 -1
  394. package/src/core/state/FieldState.ts +2 -2
  395. package/src/coreComponents/Component.tsx +20 -7
  396. package/src/coreComponents/DataBindingProvider.tsx +0 -2
  397. package/src/coreComponents/EntityListSubTree.tsx +2 -3
  398. package/src/dao/Environment.ts +42 -1
  399. package/src/dao/TreeNodeEnvironmentFactory.ts +8 -13
  400. package/src/helperComponents/DeferredSubTrees.tsx +20 -13
  401. package/src/helperComponents/If.tsx +71 -0
  402. package/src/helperComponents/helpers/FilterEvaluator.ts +46 -0
  403. package/src/helperComponents/helpers/FilterFieldsCollector.ts +46 -0
  404. package/src/helperComponents/helpers/evaluateCondition.ts +52 -0
  405. package/src/helperComponents/index.ts +1 -0
  406. package/src/markers/EntityListSubTreeMarker.ts +1 -1
  407. package/src/markers/EntitySubTreeMarker.ts +1 -1
  408. package/src/markers/PlaceholderGenerator.ts +5 -2
  409. package/src/treeParameters/primitives/FieldValue.ts +2 -2
  410. package/src/treeParameters/primitives/Json.ts +7 -0
  411. package/src/treeParameters/primitives/index.ts +1 -0
  412. package/src/typings/react-fix.d.ts +12 -0
  413. package/src/utils/Hashing.ts +23 -8
  414. package/dist/development/core/requestAliases/mutationOperationSubTreeType.js +0 -6
  415. package/dist/development/core/requestAliases/mutationOperationSubTreeType.js.map +0 -1
  416. package/dist/development/core/requestAliases/mutationOperationType.js +0 -7
  417. package/dist/development/core/requestAliases/mutationOperationType.js.map +0 -1
  418. package/dist/production/core/requestAliases/mutationOperationSubTreeType.js +0 -6
  419. package/dist/production/core/requestAliases/mutationOperationSubTreeType.js.map +0 -1
  420. package/dist/production/core/requestAliases/mutationOperationType.js +0 -7
  421. package/dist/production/core/requestAliases/mutationOperationType.js.map +0 -1
  422. package/dist/types/core/requestAliases/TopLevelMutationOperation.d.ts +0 -11
  423. package/dist/types/core/requestAliases/TopLevelMutationOperation.d.ts.map +0 -1
  424. package/dist/types/core/requestAliases/mutationOperationSubTreeType.d.ts +0 -5
  425. package/dist/types/core/requestAliases/mutationOperationSubTreeType.d.ts.map +0 -1
  426. package/dist/types/core/requestAliases/mutationOperationType.d.ts +0 -6
  427. package/dist/types/core/requestAliases/mutationOperationType.d.ts.map +0 -1
  428. package/src/accessorPropagation/EnvironmentContext.ts +0 -5
  429. package/src/core/requestAliases/TopLevelMutationOperation.ts +0 -11
  430. package/src/core/requestAliases/mutationOperationSubTreeType.ts +0 -4
  431. package/src/core/requestAliases/mutationOperationType.ts +0 -5
@@ -7,5 +7,5 @@ export interface FieldRuntimeProps<Persisted extends FieldValue = FieldValue> {
7
7
  }
8
8
  export interface FieldProps<Persisted extends FieldValue = FieldValue> extends FieldBasicProps, FieldRuntimeProps<Persisted> {
9
9
  }
10
- export declare const Field: <Persisted extends import("../treeParameters").Scalar = import("../treeParameters").Scalar>(props: FieldProps<Persisted>) => ReactElement;
10
+ export declare const Field: <Persisted extends FieldValue = FieldValue>(props: FieldProps<Persisted>) => ReactElement;
11
11
  //# sourceMappingURL=Field.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGpD,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAI/E,MAAM,WAAW,eAAgB,SAAQ,0BAA0B;CAAG;AAEtE,MAAM,WAAW,iBAAiB,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU;IAC3E,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,KAAK,SAAS,CAAA;CAC/C;AAED,MAAM,WAAW,UAAU,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU,CACpE,SAAQ,eAAe,EACtB,iBAAiB,CAAC,SAAS,CAAC;CAAG;AAEjC,eAAO,MAAM,KAAK,+HAwBgE,YAAY,CAAA"}
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGpD,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAI/E,MAAM,WAAW,eAAgB,SAAQ,0BAA0B;CAAG;AAEtE,MAAM,WAAW,iBAAiB,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU;IAC3E,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,KAAK,SAAS,CAAA;CAC/C;AAED,MAAM,WAAW,UAAU,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU,CACpE,SAAQ,eAAe,EACtB,iBAAiB,CAAC,SAAS,CAAC;CAAG;AAEjC,eAAO,MAAM,KAAK,+EAwBgE,YAAY,CAAA"}
@@ -3,5 +3,5 @@ import type { SugaredParentEntityParameters } from '../treeParameters';
3
3
  export interface ParentEntityProps extends SugaredParentEntityParameters {
4
4
  children?: ReactNode;
5
5
  }
6
- export declare const ParentEntity: import("react").NamedExoticComponent<ParentEntityProps>;
6
+ export declare const ParentEntity: React.NamedExoticComponent<ParentEntityProps>;
7
7
  //# sourceMappingURL=ParentEntity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ParentEntity.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/ParentEntity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AAGtE,MAAM,WAAW,iBAAkB,SAAQ,6BAA6B;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,YAAY,yDAOxB,CAAA"}
1
+ {"version":3,"file":"ParentEntity.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/ParentEntity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AAGtE,MAAM,WAAW,iBAAkB,SAAQ,6BAA6B;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,YAAY,+CAOxB,CAAA"}
@@ -19,9 +19,11 @@ declare class Environment {
19
19
  /** @deprecated */
20
20
  hasName(key: string): boolean;
21
21
  withVariables(variables: Environment.ValuesMapWithFactory | undefined): Environment;
22
+ getAllVariables(): Environment.CustomVariables;
22
23
  hasParameter(key: string): boolean;
23
24
  getParameter<F>(key: string): string | number;
24
25
  getParameterOrElse<F>(key: string, fallback: F): string | number | F;
26
+ getAllParameters(): Environment.Parameters;
25
27
  withParameters(parameters: Environment.Parameters): Environment;
26
28
  hasDimension(dimensionName: string): boolean;
27
29
  getDimension<F>(dimensionName: string): string[];
@@ -31,6 +33,8 @@ declare class Environment {
31
33
  getSchema(): Schema;
32
34
  withSchema(schema: Schema): Environment;
33
35
  getParent(): Environment;
36
+ withExtension<S, R>(extension: Environment.Extension<S, R>, state: S): Environment;
37
+ getExtension<S, R>(extension: Environment.Extension<S, R>): R;
34
38
  merge(other: Environment): Environment;
35
39
  }
36
40
  declare namespace Environment {
@@ -44,6 +48,7 @@ declare namespace Environment {
44
48
  parameters: Parameters;
45
49
  variables: CustomVariables;
46
50
  parent?: Environment;
51
+ extensions: Map<Extension<unknown, unknown>, unknown>;
47
52
  }
48
53
  type SubTreeNode = SubTreeEntityNode | SubTreeEntityListNode;
49
54
  type InnerNode = EntityNode | EntityListNode | ColumnNode;
@@ -87,6 +92,10 @@ declare namespace Environment {
87
92
  interface ValuesMapWithFactory {
88
93
  [key: string]: ((environment: Environment) => Value) | Value;
89
94
  }
95
+ type Extension<State, Result> = {
96
+ create: (state: State | undefined, environment: Environment) => Result;
97
+ };
98
+ const createExtension: <S, R>(create: (state: S | undefined, environment: Environment) => R, otherMethods?: Omit<Extension<S, R>, "create"> | undefined) => Extension<S, R>;
90
99
  /** @deprecated */
91
100
  type DeltaFactory = ValuesMapWithFactory;
92
101
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Environment.d.ts","sourceRoot":"","sources":["../../../src/dao/Environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEnF,cAAM,WAAW;IAEf,OAAO,CAAC,QAAQ,CAAC,OAAO;IADzB,OAAO;WAKO,MAAM;IAQb,UAAU,IAAI,WAAW,CAAC,WAAW;IAUrC,cAAc,IAAI,WAAW,CAAC,OAAO;IAOrC,WAAW,CAAC,OAAO,EAAE,WAAW,CAAC,WAAW;IAQ5C,gBAAgB,CAAC,IAAI,EAAE,WAAW,CAAC,SAAS;IAe5C,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAIjC,WAAW,CAAC,CAAC,SAAS,WAAW,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,EAAE,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
+ {"version":3,"file":"TreeNodeEnvironmentFactory.d.ts","sourceRoot":"","sources":["../../../src/dao/TreeNodeEnvironmentFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAEN,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,2BAA2B,EAC3B,0BAA0B,EAC1B,uCAAuC,EACvC,yCAAyC,EACzC,MAAM,mBAAmB,CAAA;AAO1B,qBAAa,0BAA0B;WAExB,qCAAqC,CAClD,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,0BAA0B,GAAG,uCAAuC,GACrF,WAAW;WA0BA,iCAAiC,CAC9C,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,4BAA4B,GAAG,yCAAyC,GACzF,WAAW;WA0BA,8BAA8B,CAC3C,WAAW,EAAE,WAAW,EACxB,yBAAyB,EAAE,yBAAyB,GAClD,WAAW;WAgBA,0BAA0B,CACvC,WAAW,EAAE,WAAW,EACxB,2BAA2B,EAAE,2BAA2B;WAO3C,yBAAyB,CACtC,WAAW,EAAE,WAAW,EACxB,0BAA0B,EAAE,0BAA0B;IAcvD,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAiBjC,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAOpC,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAKpC,OAAO,CAAC,MAAM,CAAC,eAAe;IAM9B,OAAO,CAAC,MAAM,CAAC,aAAa;IAU5B,OAAO,CAAC,MAAM,CAAC,aAAa;IAM5B,OAAO,CAAC,MAAM,CAAC,YAAY;IAwB3B,OAAO,CAAC,MAAM,CAAC,gBAAgB;WAYjB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS;CAchH"}
@@ -1,9 +1,9 @@
1
- import type { SugaredRelativeSingleField } from '../treeParameters';
1
+ import type { FieldValue, SugaredRelativeSingleField } from '../treeParameters';
2
2
  /**
3
3
  * Derived fields are meant for cases when the user is expected to primarily edit the `sourceField` whose optionally
4
4
  * transformed value is then copied to the `derivedField`. This happens after each update until either the `derivedField`
5
5
  * is touched or until it is persisted at which point the tie between the fields is automatically severed.
6
6
  * @deprecated This is fundamentally wrong and shouldn't be used for now.
7
7
  */
8
- export declare const useDerivedField: <SourceValue extends import("../treeParameters").Scalar = import("../treeParameters").Scalar>(sourceField: string | SugaredRelativeSingleField, derivedField: string | SugaredRelativeSingleField, transform?: (sourceValue: SourceValue | null) => SourceValue | null, agent?: string) => void;
8
+ export declare const useDerivedField: <SourceValue extends FieldValue = FieldValue>(sourceField: string | SugaredRelativeSingleField, derivedField: string | SugaredRelativeSingleField, transform?: (sourceValue: SourceValue | null) => SourceValue | null, agent?: string) => void;
9
9
  //# sourceMappingURL=useDerivedField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useDerivedField.d.ts","sourceRoot":"","sources":["../../../src/entityEvents/useDerivedField.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAc,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAO/E;;;;;GAKG;AACH,eAAO,MAAM,eAAe,6GACd,MAAM,GAAG,0BAA0B,gBAClC,MAAM,GAAG,0BAA0B,+EAE1C,MAAM,SA2Cb,CAAA"}
1
+ {"version":3,"file":"useDerivedField.d.ts","sourceRoot":"","sources":["../../../src/entityEvents/useDerivedField.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAO/E;;;;;GAKG;AACH,eAAO,MAAM,eAAe,6DACd,MAAM,GAAG,0BAA0B,gBAClC,MAAM,GAAG,0BAA0B,+EAE1C,MAAM,SA2Cb,CAAA"}
@@ -4,7 +4,7 @@ declare class TemporalFieldHelper extends FieldHelper<string> {
4
4
  setToNow(options?: FieldAccessor.UpdateOptions): void;
5
5
  }
6
6
  declare namespace TemporalFieldHelper {
7
- const setToNow: (field: FieldAccessor<string> | FieldAccessor.GetFieldAccessor<string>, options?: FieldAccessor.UpdateOptions | undefined) => void;
7
+ const setToNow: (field: FieldAccessor<string> | FieldAccessor.GetFieldAccessor<string>, options?: FieldAccessor.UpdateOptions) => void;
8
8
  }
9
9
  export { TemporalFieldHelper };
10
10
  //# sourceMappingURL=TemporalFieldHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TemporalFieldHelper.d.ts","sourceRoot":"","sources":["../../../../src/fieldHelpers/helpers/TemporalFieldHelper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,cAAM,mBAAoB,SAAQ,WAAW,CAAC,MAAM,CAAC;IAC7C,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,aAAa;CAOrD;AACD,kBAAU,mBAAmB,CAAC;IACtB,MAAM,QAAQ,UACb,cAAc,MAAM,CAAC,GAAG,cAAc,gBAAgB,CAAC,MAAM,CAAC,4DAIrE,CAAA;CACD;AACD,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"TemporalFieldHelper.d.ts","sourceRoot":"","sources":["../../../../src/fieldHelpers/helpers/TemporalFieldHelper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,cAAM,mBAAoB,SAAQ,WAAW,CAAC,MAAM,CAAC;IAC7C,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,aAAa;CAOrD;AACD,kBAAU,mBAAmB,CAAC;IACtB,MAAM,QAAQ,UACb,cAAc,MAAM,CAAC,GAAG,cAAc,gBAAgB,CAAC,MAAM,CAAC,YAC3D,cAAc,aAAa,SAGrC,CAAA;CACD;AACD,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
@@ -4,7 +4,7 @@ declare class UuidFieldHelper extends FieldHelper<string> {
4
4
  setToUuid(options?: FieldAccessor.UpdateOptions): void;
5
5
  }
6
6
  declare namespace UuidFieldHelper {
7
- const setToUuid: (field: FieldAccessor<string> | FieldAccessor.GetFieldAccessor<string>, options?: FieldAccessor.UpdateOptions | undefined) => void;
7
+ const setToUuid: (field: FieldAccessor<string> | FieldAccessor.GetFieldAccessor<string>, options?: FieldAccessor.UpdateOptions) => void;
8
8
  }
9
9
  export { UuidFieldHelper };
10
10
  //# sourceMappingURL=UuidFieldHelper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UuidFieldHelper.d.ts","sourceRoot":"","sources":["../../../../src/fieldHelpers/helpers/UuidFieldHelper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,cAAM,eAAgB,SAAQ,WAAW,CAAC,MAAM,CAAC;IACzC,SAAS,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,aAAa;CAGtD;AACD,kBAAU,eAAe,CAAC;IAClB,MAAM,SAAS,UACd,cAAc,MAAM,CAAC,GAAG,cAAc,gBAAgB,CAAC,MAAM,CAAC,4DAIrE,CAAA;CACD;AACD,OAAO,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"UuidFieldHelper.d.ts","sourceRoot":"","sources":["../../../../src/fieldHelpers/helpers/UuidFieldHelper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,cAAM,eAAgB,SAAQ,WAAW,CAAC,MAAM,CAAC;IACzC,SAAS,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,aAAa;CAGtD;AACD,kBAAU,eAAe,CAAC;IAClB,MAAM,SAAS,UACd,cAAc,MAAM,CAAC,GAAG,cAAc,gBAAgB,CAAC,MAAM,CAAC,YAC3D,cAAc,aAAa,SAGrC,CAAA;CACD;AACD,OAAO,EAAE,eAAe,EAAE,CAAA"}
@@ -3,5 +3,5 @@ export interface DeferredSubTreesProps {
3
3
  fallback: ReactNode;
4
4
  children: ReactNode;
5
5
  }
6
- export declare const DeferredSubTrees: import("react").NamedExoticComponent<DeferredSubTreesProps>;
6
+ export declare const DeferredSubTrees: React.NamedExoticComponent<DeferredSubTreesProps>;
7
7
  //# sourceMappingURL=DeferredSubTrees.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DeferredSubTrees.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/DeferredSubTrees.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AASnE,MAAM,WAAW,qBAAqB;IACrC,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAUD,eAAO,MAAM,gBAAgB,6DA6E5B,CAAA"}
1
+ {"version":3,"file":"DeferredSubTrees.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/DeferredSubTrees.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AAWnE,MAAM,WAAW,qBAAqB;IACrC,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAUD,eAAO,MAAM,gBAAgB,mDAkF5B,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { ReactElement, ReactNode } from 'react';
2
2
  import type { FieldAccessor } from '../accessors';
3
- import type { SugaredRelativeSingleField } from '../treeParameters';
3
+ import type { FieldValue, SugaredRelativeSingleField } from '../treeParameters';
4
4
  interface FieldViewCommonProps {
5
5
  fallbackIfUnpersisted?: ReactNode;
6
6
  }
@@ -16,27 +16,27 @@ declare type CP = FieldViewCommonProps;
16
16
  declare type RN = ReactNode;
17
17
  declare type REN = ReactElement | null;
18
18
  export declare const FieldView: {
19
- <FV1 extends import("../treeParameters").Scalar>(props: FieldViewCommonProps & {
19
+ <FV1 extends FieldValue>(props: FieldViewCommonProps & {
20
20
  field: SRSF;
21
21
  render: (field1: FieldAccessor<FV1>) => RN;
22
22
  }): REN;
23
- <FV1_1 extends import("../treeParameters").Scalar>(props: FieldViewCommonProps & {
23
+ <FV1_1 extends FieldValue>(props: FieldViewCommonProps & {
24
24
  fields: [SRSF];
25
25
  render: (field1: FieldAccessor<FV1_1>) => RN;
26
26
  }): REN;
27
- <FV1_2 extends import("../treeParameters").Scalar, FV2 extends import("../treeParameters").Scalar>(props: FieldViewCommonProps & {
27
+ <FV1_2 extends FieldValue, FV2 extends FieldValue>(props: FieldViewCommonProps & {
28
28
  fields: [SRSF, SRSF];
29
29
  render: (field1: FieldAccessor<FV1_2>, field2: FieldAccessor<FV2>) => RN;
30
30
  }): REN;
31
- <FV1_3 extends import("../treeParameters").Scalar, FV2_1 extends import("../treeParameters").Scalar, FV3 extends import("../treeParameters").Scalar>(props: FieldViewCommonProps & {
31
+ <FV1_3 extends FieldValue, FV2_1 extends FieldValue, FV3 extends FieldValue>(props: FieldViewCommonProps & {
32
32
  fields: [SRSF, SRSF, SRSF];
33
33
  render: (field1: FieldAccessor<FV1_3>, field2: FieldAccessor<FV2_1>, field3: FieldAccessor<FV3>) => RN;
34
34
  }): REN;
35
- <FV1_4 extends import("../treeParameters").Scalar, FV2_2 extends import("../treeParameters").Scalar, FV3_1 extends import("../treeParameters").Scalar, FV4 extends import("../treeParameters").Scalar>(props: FieldViewCommonProps & {
35
+ <FV1_4 extends FieldValue, FV2_2 extends FieldValue, FV3_1 extends FieldValue, FV4 extends FieldValue>(props: FieldViewCommonProps & {
36
36
  fields: [SRSF, SRSF, SRSF, SRSF];
37
37
  render: (field1: FieldAccessor<FV1_4>, field2: FieldAccessor<FV2_2>, field3: FieldAccessor<FV3_1>, field4: FieldAccessor<FV4>) => RN;
38
38
  }): REN;
39
- <FV1_5 extends import("../treeParameters").Scalar, FV2_3 extends import("../treeParameters").Scalar, FV3_2 extends import("../treeParameters").Scalar, FV4_1 extends import("../treeParameters").Scalar, FV5 extends import("../treeParameters").Scalar>(props: FieldViewCommonProps & {
39
+ <FV1_5 extends FieldValue, FV2_3 extends FieldValue, FV3_2 extends FieldValue, FV4_1 extends FieldValue, FV5 extends FieldValue>(props: FieldViewCommonProps & {
40
40
  fields: [SRSF, SRSF, SRSF, SRSF, SRSF];
41
41
  render: (field1: FieldAccessor<FV1_5>, field2: FieldAccessor<FV2_3>, field3: FieldAccessor<FV3_2>, field4: FieldAccessor<FV4_1>, field5: FieldAccessor<FV5>) => RN;
42
42
  }): REN;
@@ -1 +1 @@
1
- {"version":3,"file":"FieldView.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/FieldView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAwB,MAAM,OAAO,CAAA;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAIjD,OAAO,KAAK,EAAmC,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAGpG,UAAU,oBAAoB;IAC7B,qBAAqB,CAAC,EAAE,SAAS,CAAA;CACjC;AAED,aAAK,cAAc,GAAG,oBAAoB,GACzC,CACG;IACA,MAAM,EAAE,CAAC,GAAG,SAAS,EAAE,aAAa,EAAE,KAAK,SAAS,CAAA;IACpD,KAAK,EAAE,MAAM,GAAG,0BAA0B,CAAA;CACzC,GACD;IACA,MAAM,EAAE,CAAC,GAAG,SAAS,EAAE,aAAa,EAAE,KAAK,SAAS,CAAA;IACpD,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,0BAA0B,CAAC,CAAA;CACjD,CACH,CAAA;AAIF,aAAK,IAAI,GAAG,MAAM,GAAG,0BAA0B,CAAA;AAC/C,aAAK,EAAE,GAAG,oBAAoB,CAAA;AAC9B,aAAK,EAAE,G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GAAG,MAAM,GAAG,0BAA0B,CAAA;AAC/C,aAAK,EAAE,GAAG,oBAAoB,CAAA;AAC9B,aAAK,EAAE,GAAG,SAAS,CAAA;AACnB,aAAK,GAAG,GAAG,YAAY,GAAG,IAAI,CAAA;AAE9B,eAAO,MAAM,SAAS;;eA4DiB,IAAI;gDAA0C,EAAE;QAAK,GAAG;;gBACvD,CAAC,IAAI,CAAC;kDAA0C,EAAE;QAAK,GAAG;;gBAE1E,CAAC,IAAI,EAAE,IAAI,CAAC;8EAAsE,EAAE;QACxG,GAAG;;gBAGI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;4GACsE,EAAE;QAEjG,GAAG;;gBAGI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;0IAM3B,EAAE;QAEN,GAAG;;gBAGI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;wKAOjC,EAAE;QAEN,GAAG;YACE,cAAc,GAAG,GAAG;CAC5B,CAAA"}
@@ -0,0 +1,14 @@
1
+ import type { ReactNode } from 'react';
2
+ import { EntityAccessor } from '../accessors';
3
+ import { Filter } from '../treeParameters';
4
+ export declare type IfProps = IfFilterProps | IfCallbackProps;
5
+ export interface IfFilterProps {
6
+ condition: string | Filter;
7
+ children?: ReactNode;
8
+ }
9
+ export interface IfCallbackProps {
10
+ condition: (accessor: EntityAccessor) => boolean;
11
+ children?: ReactNode;
12
+ }
13
+ export declare const If: React.NamedExoticComponent<IfProps>;
14
+ //# sourceMappingURL=If.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"If.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/If.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAG7C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAI1C,oBAAY,OAAO,GAChB,aAAa,GACb,eAAe,CAAA;AAElB,MAAM,WAAW,aAAa;IAC7B,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC/B,SAAS,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,OAAO,CAAA;IAChD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,EAAE,qCAMd,CAAA"}
@@ -2,5 +2,5 @@ import type { ReactNode } from 'react';
2
2
  export interface StaticRenderProps {
3
3
  children?: ReactNode;
4
4
  }
5
- export declare const StaticRender: import("react").NamedExoticComponent<StaticRenderProps>;
5
+ export declare const StaticRender: React.NamedExoticComponent<StaticRenderProps>;
6
6
  //# sourceMappingURL=StaticRender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StaticRender.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/StaticRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,YAAY,yDAIxB,CAAA"}
1
+ {"version":3,"file":"StaticRender.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/StaticRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,YAAY,+CAIxB,CAAA"}
@@ -5,5 +5,5 @@ import { ReactElement } from 'react';
5
5
  export interface SugaredFieldProps<Persisted extends FieldValue = FieldValue> extends Omit<FieldProps<Persisted>, 'field'> {
6
6
  field: string | SugaredRelativeSingleField;
7
7
  }
8
- export declare const SugaredField: <Persisted extends import("../treeParameters").Scalar = import("../treeParameters").Scalar>(props: SugaredFieldProps<Persisted>) => ReactElement;
8
+ export declare const SugaredField: <Persisted extends FieldValue = FieldValue>(props: SugaredFieldProps<Persisted>) => ReactElement;
9
9
  //# sourceMappingURL=SugaredField.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SugaredField.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/SugaredField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,MAAM,WAAW,iBAAiB,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU,CAAE,SAAQ,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IACzH,KAAK,EAAE,MAAM,GAAG,0BAA0B,CAAA;CAC1C;AAED,eAAO,MAAM,YAAY,sIAKiF,YAAY,CAAA"}
1
+ {"version":3,"file":"SugaredField.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/SugaredField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,MAAM,WAAW,iBAAiB,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU,CAAE,SAAQ,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IACzH,KAAK,EAAE,MAAM,GAAG,0BAA0B,CAAA;CAC1C;AAED,eAAO,MAAM,YAAY,sFAKiF,YAAY,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { Schema } from '../../core/schema';
2
+ import { EntityAccessor } from '../../accessors';
3
+ import { Filter } from '../../treeParameters';
4
+ export declare class FilterEvaluator {
5
+ private readonly schema;
6
+ constructor(schema: Schema);
7
+ evaluateFilter(entity: EntityAccessor, filter: Filter): boolean;
8
+ }
9
+ //# sourceMappingURL=FilterEvaluator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/helperComponents/helpers/FilterEvaluator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAK7C,qBAAa,eAAe;IAE1B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAIhC,cAAc,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO;CA+B/D"}
@@ -0,0 +1,10 @@
1
+ import { Schema, SchemaEntity } from '../../core/schema';
2
+ import { Filter } from '../../treeParameters';
3
+ export declare class FilterFieldsCollector {
4
+ private readonly schema;
5
+ private readonly rootFilter;
6
+ constructor(schema: Schema, rootFilter: Filter);
7
+ collectFields(entity: SchemaEntity): Set<string>;
8
+ private collectFieldsInternal;
9
+ }
10
+ //# sourceMappingURL=FilterFieldsCollector.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterFieldsCollector.d.ts","sourceRoot":"","sources":["../../../../src/helperComponents/helpers/FilterFieldsCollector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAG7C,qBAAa,qBAAqB;IAEhC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBADV,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM;IAKpC,aAAa,CAAC,MAAM,EAAE,YAAY,GAAG,GAAG,CAAC,MAAM,CAAC;IAMhD,OAAO,CAAC,qBAAqB;CA2B7B"}
@@ -0,0 +1,4 @@
1
+ import { GraphQlLiteral, Input } from '@contember/client';
2
+ import { FieldValue } from '../../treeParameters';
3
+ export declare const evaluateCondition: (value: FieldValue | null, condition: Input.Condition<Input.ColumnValue<GraphQlLiteral>>) => boolean;
4
+ //# sourceMappingURL=evaluateCondition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluateCondition.d.ts","sourceRoot":"","sources":["../../../../src/helperComponents/helpers/evaluateCondition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAUjD,eAAO,MAAM,iBAAiB,UAAW,UAAU,GAAG,IAAI,aAAa,MAAM,SAAS,CAAC,MAAM,WAAW,CAAC,cAAc,CAAC,CAAC,YAwCvH,CAAA"}
@@ -1,5 +1,6 @@
1
1
  export * from './DeferredSubTrees';
2
2
  export * from './EntityView';
3
+ export * from './If';
3
4
  export * from './FieldView';
4
5
  export * from './StaticRender';
5
6
  export * from './SugaredField';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,MAAM,CAAA;AACpB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { FieldName } from '../treeParameters';
1
+ import type { FieldName, FieldValue } from '../treeParameters';
2
2
  /**
3
3
  * A nonbearing field is only defined in context of create mutations. An entity will be created if and only if some
4
4
  * other fields (not just nonbearing fields) are filled as well. This is particularly useful for programmatically
@@ -6,9 +6,9 @@ import type { FieldName } from '../treeParameters';
6
6
  */
7
7
  export declare class FieldMarker {
8
8
  readonly fieldName: FieldName;
9
- readonly defaultValue?: import("../treeParameters").Scalar | undefined;
9
+ readonly defaultValue?: FieldValue | undefined;
10
10
  readonly isNonbearing: boolean;
11
11
  readonly placeholderName: string;
12
- constructor(fieldName: FieldName, defaultValue?: import("../treeParameters").Scalar | undefined, isNonbearing?: boolean);
12
+ constructor(fieldName: FieldName, defaultValue?: FieldValue | undefined, isNonbearing?: boolean);
13
13
  }
14
14
  //# sourceMappingURL=FieldMarker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldMarker.d.ts","sourceRoot":"","sources":["../../../src/markers/FieldMarker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAc,MAAM,mBAAmB,CAAA;AAG9D;;;;GAIG;AACH,qBAAa,WAAW;aAIN,SAAS,EAAE,SAAS;aACpB,YAAY,CAAC;aACb,YAAY,EAAE,OAAO;IALtC,SAAgB,eAAe,EAAE,MAAM,CAAA;gBAGtB,SAAS,EAAE,SAAS,EACpB,YAAY,CAAC,gDAAY,EACzB,YAAY,GAAE,OAAe;CAI9C"}
1
+ {"version":3,"file":"FieldMarker.d.ts","sourceRoot":"","sources":["../../../src/markers/FieldMarker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAG9D;;;;GAIG;AACH,qBAAa,WAAW;aAIN,SAAS,EAAE,SAAS;aACpB,YAAY,CAAC;aACb,YAAY,EAAE,OAAO;IALtC,SAAgB,eAAe,EAAE,MAAM,CAAA;gBAGtB,SAAS,EAAE,SAAS,EACpB,YAAY,CAAC,wBAAY,EACzB,YAAY,GAAE,OAAe;CAI9C"}
@@ -1,9 +1,10 @@
1
1
  import type { FieldName, HasManyRelation, HasOneRelation, QualifiedEntityList, QualifiedSingleEntity, UnconstrainedQualifiedEntityList, UnconstrainedQualifiedSingleEntity } from '../treeParameters';
2
+ import { Environment } from '../dao';
2
3
  export declare class PlaceholderGenerator {
3
4
  static getFieldPlaceholder(fieldName: FieldName): string;
4
5
  static getHasOneRelationPlaceholder(relation: HasOneRelation): string;
5
6
  static getHasManyRelationPlaceholder(relation: HasManyRelation): string;
6
- static getEntitySubTreePlaceholder(subTreeParameters: QualifiedSingleEntity | UnconstrainedQualifiedSingleEntity): string;
7
- static getEntityListSubTreePlaceholder(subTreeParameters: QualifiedEntityList | UnconstrainedQualifiedEntityList): string;
7
+ static getEntitySubTreePlaceholder(subTreeParameters: QualifiedSingleEntity | UnconstrainedQualifiedSingleEntity, environment: Environment): string;
8
+ static getEntityListSubTreePlaceholder(subTreeParameters: QualifiedEntityList | UnconstrainedQualifiedEntityList, environment: Environment): string;
8
9
  }
9
10
  //# sourceMappingURL=PlaceholderGenerator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlaceholderGenerator.d.ts","sourceRoot":"","sources":["../../../src/markers/PlaceholderGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,gCAAgC,EAChC,kCAAkC,EAClC,MAAM,mBAAmB,CAAA;AAG1B,qBAAa,oBAAoB;WAClB,mBAAmB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM;WAIjD,4BAA4B,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;WAI9D,6BAA6B,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM;WAIhE,2BAA2B,CACxC,iBAAiB,EAAE,qBAAqB,GAAG,kCAAkC,GAC3E,MAAM;WAIK,+BAA+B,CAC5C,iBAAiB,EAAE,mBAAmB,GAAG,gCAAgC,GACvE,MAAM;CAGT"}
1
+ {"version":3,"file":"PlaceholderGenerator.d.ts","sourceRoot":"","sources":["../../../src/markers/PlaceholderGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,gCAAgC,EAChC,kCAAkC,EAClC,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,qBAAa,oBAAoB;WAClB,mBAAmB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM;WAIjD,4BAA4B,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;WAI9D,6BAA6B,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM;WAIhE,2BAA2B,CACxC,iBAAiB,EAAE,qBAAqB,GAAG,kCAAkC,EAC7E,WAAW,EAAE,WAAW,GACtB,MAAM;WAIK,+BAA+B,CAC5C,iBAAiB,EAAE,mBAAmB,GAAG,gCAAgC,EACzE,WAAW,EAAE,WAAW,GACtB,MAAM;CAGT"}
@@ -1,5 +1,5 @@
1
1
  import type { VariableFieldValue } from '../../dao';
2
- import type { Scalar } from './Scalar';
3
- export declare type FieldValue = Scalar;
2
+ import { JsonValue } from './Json';
3
+ export declare type FieldValue = JsonValue;
4
4
  export declare type OptionallyVariableFieldValue = FieldValue | VariableFieldValue;
5
5
  //# sourceMappingURL=FieldValue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldValue.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/FieldValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AACnD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEtC,oBAAY,UAAU,GAAG,MAAM,CAAA;AAE/B,oBAAY,4BAA4B,GAAG,UAAU,GAAG,kBAAkB,CAAA"}
1
+ {"version":3,"file":"FieldValue.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/FieldValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAElC,oBAAY,UAAU,GAAG,SAAS,CAAA;AAElC,oBAAY,4BAA4B,GAAG,UAAU,GAAG,kBAAkB,CAAA"}
@@ -0,0 +1,7 @@
1
+ export interface JsonObject<Ext = never> {
2
+ [key: string]: JsonValue<Ext>;
3
+ }
4
+ export interface JsonArray<Ext = never> extends Array<JsonValue<Ext>> {
5
+ }
6
+ export declare type JsonValue<Ext = never> = string | number | boolean | null | JsonObject<Ext> | JsonArray<Ext> | Ext;
7
+ //# sourceMappingURL=Json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Json.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/Json.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU,CAAC,GAAG,GAAG,KAAK;IACtC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,CAAC,CAAA;CAC7B;AAED,MAAM,WAAW,SAAS,CAAC,GAAG,GAAG,KAAK,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;CAAG;AAExE,oBAAY,SAAS,CAAC,GAAG,GAAG,KAAK,IAAI,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA"}
@@ -8,6 +8,7 @@ export * from './ExpectedRelationMutation';
8
8
  export * from './FieldName';
9
9
  export * from './FieldValue';
10
10
  export * from './Filter';
11
+ export * from './Json';
11
12
  export * from './Limit';
12
13
  export * from './Offset';
13
14
  export * from './OrderBy';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mCAAmC,CAAA;AACjD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mCAAmC,CAAA;AACjD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}