@contember/binding 1.3.0-rc.3 → 2.0.0-alpha.10

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 (1206) hide show
  1. package/api-extractor.json +3 -0
  2. package/dist/development/index.cjs +49 -49
  3. package/dist/development/index.js +49 -49
  4. package/dist/development/src/BindingError.cjs.map +1 -0
  5. package/dist/development/src/BindingError.js.map +1 -0
  6. package/dist/development/src/accessorTree/NormalizedPersistedData.cjs.map +1 -0
  7. package/dist/development/src/accessorTree/NormalizedPersistedData.js.map +1 -0
  8. package/dist/development/src/accessorTree/RuntimeId.cjs +61 -0
  9. package/dist/development/src/accessorTree/RuntimeId.cjs.map +1 -0
  10. package/dist/development/src/accessorTree/RuntimeId.js +61 -0
  11. package/dist/development/src/accessorTree/RuntimeId.js.map +1 -0
  12. package/dist/development/src/accessors/EntityAccessor.cjs.map +1 -0
  13. package/dist/development/src/accessors/EntityAccessor.js.map +1 -0
  14. package/dist/development/src/accessors/EntityListAccessor.cjs.map +1 -0
  15. package/dist/development/src/accessors/EntityListAccessor.js.map +1 -0
  16. package/dist/development/src/accessors/ErrorAccessor.cjs.map +1 -0
  17. package/dist/development/src/accessors/ErrorAccessor.js.map +1 -0
  18. package/dist/development/src/accessors/FieldAccessor.cjs.map +1 -0
  19. package/dist/development/src/accessors/FieldAccessor.js.map +1 -0
  20. package/dist/development/src/accessors/TreeRootAccessor.cjs.map +1 -0
  21. package/dist/development/src/accessors/TreeRootAccessor.js.map +1 -0
  22. package/dist/development/src/bindingTypes.cjs.map +1 -0
  23. package/dist/development/src/bindingTypes.js.map +1 -0
  24. package/dist/development/src/core/AccessorErrorManager.cjs +204 -0
  25. package/dist/development/src/core/AccessorErrorManager.cjs.map +1 -0
  26. package/dist/development/src/core/AccessorErrorManager.js +204 -0
  27. package/dist/development/src/core/AccessorErrorManager.js.map +1 -0
  28. package/dist/development/src/core/Config.cjs +29 -0
  29. package/dist/development/src/core/Config.cjs.map +1 -0
  30. package/dist/development/src/core/Config.js +29 -0
  31. package/dist/development/src/core/Config.js.map +1 -0
  32. package/dist/development/src/core/DataBinding.cjs +348 -0
  33. package/dist/development/src/core/DataBinding.cjs.map +1 -0
  34. package/dist/development/src/core/DataBinding.js +348 -0
  35. package/dist/development/src/core/DataBinding.js.map +1 -0
  36. package/dist/development/src/core/DirtinessTracker.cjs +26 -0
  37. package/dist/development/src/core/DirtinessTracker.cjs.map +1 -0
  38. package/dist/development/src/core/DirtinessTracker.js +26 -0
  39. package/dist/development/src/core/DirtinessTracker.js.map +1 -0
  40. package/dist/development/src/core/ErrorsPreprocessor.cjs +180 -0
  41. package/dist/development/src/core/ErrorsPreprocessor.cjs.map +1 -0
  42. package/dist/development/src/core/ErrorsPreprocessor.js +180 -0
  43. package/dist/development/src/core/ErrorsPreprocessor.js.map +1 -0
  44. package/dist/development/src/core/EventManager.cjs +434 -0
  45. package/dist/development/src/core/EventManager.cjs.map +1 -0
  46. package/dist/development/src/core/EventManager.js +434 -0
  47. package/dist/development/src/core/EventManager.js.map +1 -0
  48. package/dist/development/src/core/MarkerComparator.cjs.map +1 -0
  49. package/dist/development/src/core/MarkerComparator.js.map +1 -0
  50. package/dist/development/src/core/MarkerMerger.cjs +256 -0
  51. package/dist/development/src/core/MarkerMerger.cjs.map +1 -0
  52. package/dist/development/src/core/MarkerMerger.js +256 -0
  53. package/dist/development/src/core/MarkerMerger.js.map +1 -0
  54. package/dist/development/src/core/MutationGenerator.cjs +662 -0
  55. package/dist/development/src/core/MutationGenerator.cjs.map +1 -0
  56. package/dist/development/src/core/MutationGenerator.js +662 -0
  57. package/dist/development/src/core/MutationGenerator.js.map +1 -0
  58. package/dist/development/src/core/QueryGenerator.cjs.map +1 -0
  59. package/dist/development/src/core/QueryGenerator.js.map +1 -0
  60. package/dist/development/src/core/RealmKeyGenerator.cjs +42 -0
  61. package/dist/development/src/core/RealmKeyGenerator.cjs.map +1 -0
  62. package/dist/development/src/core/RealmKeyGenerator.js +42 -0
  63. package/dist/development/src/core/RealmKeyGenerator.js.map +1 -0
  64. package/dist/development/src/core/RequestResponseNormalizer.cjs.map +1 -0
  65. package/dist/development/src/core/RequestResponseNormalizer.js.map +1 -0
  66. package/dist/development/src/core/StateInitializer.cjs +387 -0
  67. package/dist/development/src/core/StateInitializer.cjs.map +1 -0
  68. package/dist/development/src/core/StateInitializer.js +387 -0
  69. package/dist/development/src/core/StateInitializer.js.map +1 -0
  70. package/dist/development/src/core/TreeAugmenter.cjs.map +1 -0
  71. package/dist/development/src/core/TreeAugmenter.js.map +1 -0
  72. package/dist/development/src/core/TreeFilterGenerator.cjs +82 -0
  73. package/dist/development/src/core/TreeFilterGenerator.cjs.map +1 -0
  74. package/dist/development/src/core/TreeFilterGenerator.js +82 -0
  75. package/dist/development/src/core/TreeFilterGenerator.js.map +1 -0
  76. package/dist/development/src/core/TreeParameterMerger.cjs.map +1 -0
  77. package/dist/development/src/core/TreeParameterMerger.js.map +1 -0
  78. package/dist/development/src/core/TreeStore.cjs +176 -0
  79. package/dist/development/src/core/TreeStore.cjs.map +1 -0
  80. package/dist/development/src/core/TreeStore.js +176 -0
  81. package/dist/development/src/core/TreeStore.js.map +1 -0
  82. package/dist/development/src/core/VariableInputTransformer.cjs.map +1 -0
  83. package/dist/development/src/core/VariableInputTransformer.js.map +1 -0
  84. package/dist/development/src/core/exceptions/ErrorLocator.cjs +59 -0
  85. package/dist/development/src/core/exceptions/ErrorLocator.cjs.map +1 -0
  86. package/dist/development/src/core/exceptions/ErrorLocator.js +59 -0
  87. package/dist/development/src/core/exceptions/ErrorLocator.js.map +1 -0
  88. package/dist/development/src/core/exceptions/LocalizedBindingError.cjs.map +1 -0
  89. package/dist/development/src/core/exceptions/LocalizedBindingError.js.map +1 -0
  90. package/dist/development/src/core/exceptions/MarkerSugarer.cjs.map +1 -0
  91. package/dist/development/src/core/exceptions/MarkerSugarer.js.map +1 -0
  92. package/dist/development/src/core/exceptions/TreeParameterSugarer.cjs.map +1 -0
  93. package/dist/development/src/core/exceptions/TreeParameterSugarer.js.map +1 -0
  94. package/dist/development/src/core/factories/createBatchUpdatesOptions.cjs.map +1 -0
  95. package/dist/development/src/core/factories/createBatchUpdatesOptions.js.map +1 -0
  96. package/dist/development/src/core/operations/EntityOperations.cjs +232 -0
  97. package/dist/development/src/core/operations/EntityOperations.cjs.map +1 -0
  98. package/dist/development/src/core/operations/EntityOperations.js +232 -0
  99. package/dist/development/src/core/operations/EntityOperations.js.map +1 -0
  100. package/dist/development/src/core/operations/FieldOperations.cjs.map +1 -0
  101. package/dist/development/src/core/operations/FieldOperations.js.map +1 -0
  102. package/dist/development/src/core/operations/ListOperations.cjs.map +1 -0
  103. package/dist/development/src/core/operations/ListOperations.js.map +1 -0
  104. package/dist/development/src/core/operations/OperationsHelpers.cjs.map +1 -0
  105. package/dist/development/src/core/operations/OperationsHelpers.js.map +1 -0
  106. package/dist/development/src/core/requestAliases/MutationAlias.cjs.map +1 -0
  107. package/dist/development/src/core/requestAliases/MutationAlias.js.map +1 -0
  108. package/dist/development/src/core/schema/Schema.cjs.map +1 -0
  109. package/dist/development/src/core/schema/Schema.js.map +1 -0
  110. package/dist/development/src/core/schema/SchemaLoader.cjs +25 -0
  111. package/dist/development/src/core/schema/SchemaLoader.cjs.map +1 -0
  112. package/dist/development/src/core/schema/SchemaLoader.js +25 -0
  113. package/dist/development/src/core/schema/SchemaLoader.js.map +1 -0
  114. package/dist/development/src/core/schema/SchemaPreprocessor.cjs.map +1 -0
  115. package/dist/development/src/core/schema/SchemaPreprocessor.js.map +1 -0
  116. package/dist/development/src/core/state/StateIterator.cjs.map +1 -0
  117. package/dist/development/src/core/state/StateIterator.js.map +1 -0
  118. package/dist/development/src/core/state/getEntityMarker.cjs.map +1 -0
  119. package/dist/development/src/core/state/getEntityMarker.js.map +1 -0
  120. package/dist/development/src/core/utils/createQueryBuilder.cjs.map +1 -0
  121. package/dist/development/src/core/utils/createQueryBuilder.js.map +1 -0
  122. package/dist/development/src/core/utils/getCombinedSignal.cjs.map +1 -0
  123. package/dist/development/src/core/utils/getCombinedSignal.js.map +1 -0
  124. package/dist/development/src/dao/Environment.cjs.map +1 -0
  125. package/dist/development/src/dao/Environment.js.map +1 -0
  126. package/dist/development/src/dao/TreeNodeEnvironmentFactory.cjs.map +1 -0
  127. package/dist/development/src/dao/TreeNodeEnvironmentFactory.js.map +1 -0
  128. package/dist/development/src/dao/VariableFieldValue.cjs.map +1 -0
  129. package/dist/development/src/dao/VariableFieldValue.js.map +1 -0
  130. package/dist/development/src/fieldHelpers/helpers/FieldHelper.cjs +14 -0
  131. package/dist/development/src/fieldHelpers/helpers/FieldHelper.cjs.map +1 -0
  132. package/dist/development/src/fieldHelpers/helpers/FieldHelper.js +14 -0
  133. package/dist/development/src/fieldHelpers/helpers/FieldHelper.js.map +1 -0
  134. package/dist/development/src/fieldHelpers/helpers/TemporalFieldHelper.cjs.map +1 -0
  135. package/dist/development/src/fieldHelpers/helpers/TemporalFieldHelper.js.map +1 -0
  136. package/dist/development/src/fieldHelpers/helpers/UuidFieldHelper.cjs.map +1 -0
  137. package/dist/development/src/fieldHelpers/helpers/UuidFieldHelper.js.map +1 -0
  138. package/dist/development/src/markers/EntityFieldMarkersContainer.cjs.map +1 -0
  139. package/dist/development/src/markers/EntityFieldMarkersContainer.js.map +1 -0
  140. package/dist/development/src/markers/EntityFieldsWithHoistablesMarker.cjs.map +1 -0
  141. package/dist/development/src/markers/EntityFieldsWithHoistablesMarker.js.map +1 -0
  142. package/dist/development/src/markers/EntityListSubTreeMarker.cjs +20 -0
  143. package/dist/development/src/markers/EntityListSubTreeMarker.cjs.map +1 -0
  144. package/dist/development/src/markers/EntityListSubTreeMarker.js +20 -0
  145. package/dist/development/src/markers/EntityListSubTreeMarker.js.map +1 -0
  146. package/dist/development/src/markers/EntitySubTreeMarker.cjs +20 -0
  147. package/dist/development/src/markers/EntitySubTreeMarker.cjs.map +1 -0
  148. package/dist/development/src/markers/EntitySubTreeMarker.js +20 -0
  149. package/dist/development/src/markers/EntitySubTreeMarker.js.map +1 -0
  150. package/dist/development/src/markers/FieldMarker.cjs +17 -0
  151. package/dist/development/src/markers/FieldMarker.cjs.map +1 -0
  152. package/dist/development/src/markers/FieldMarker.js +17 -0
  153. package/dist/development/src/markers/FieldMarker.js.map +1 -0
  154. package/dist/development/src/markers/HasManyRelationMarker.cjs +26 -0
  155. package/dist/development/src/markers/HasManyRelationMarker.cjs.map +1 -0
  156. package/dist/development/src/markers/HasManyRelationMarker.js +26 -0
  157. package/dist/development/src/markers/HasManyRelationMarker.js.map +1 -0
  158. package/dist/development/src/markers/HasOneRelationMarker.cjs +20 -0
  159. package/dist/development/src/markers/HasOneRelationMarker.cjs.map +1 -0
  160. package/dist/development/src/markers/HasOneRelationMarker.js +20 -0
  161. package/dist/development/src/markers/HasOneRelationMarker.js.map +1 -0
  162. package/dist/development/src/markers/MarkerTreeRoot.cjs.map +1 -0
  163. package/dist/development/src/markers/MarkerTreeRoot.js.map +1 -0
  164. package/dist/development/src/markers/ParentEntityMarker.cjs.map +1 -0
  165. package/dist/development/src/markers/ParentEntityMarker.js.map +1 -0
  166. package/dist/development/src/markers/PlaceholderGenerator.cjs.map +1 -0
  167. package/dist/development/src/markers/PlaceholderGenerator.js.map +1 -0
  168. package/dist/development/src/markers/PlaceholderParametersGenerator.cjs.map +1 -0
  169. package/dist/development/src/markers/PlaceholderParametersGenerator.js.map +1 -0
  170. package/dist/development/src/queryLanguage/CacheStore.cjs +44 -0
  171. package/dist/development/src/queryLanguage/CacheStore.cjs.map +1 -0
  172. package/dist/development/src/queryLanguage/CacheStore.js +44 -0
  173. package/dist/development/src/queryLanguage/CacheStore.js.map +1 -0
  174. package/dist/development/src/queryLanguage/MarkerFactory.cjs.map +1 -0
  175. package/dist/development/src/queryLanguage/MarkerFactory.js.map +1 -0
  176. package/dist/development/src/queryLanguage/Parser.cjs +724 -0
  177. package/dist/development/src/queryLanguage/Parser.cjs.map +1 -0
  178. package/dist/development/src/queryLanguage/Parser.js +724 -0
  179. package/dist/development/src/queryLanguage/Parser.js.map +1 -0
  180. package/dist/development/src/queryLanguage/QueryLanguage.cjs +543 -0
  181. package/dist/development/src/queryLanguage/QueryLanguage.cjs.map +1 -0
  182. package/dist/development/src/queryLanguage/QueryLanguage.js +543 -0
  183. package/dist/development/src/queryLanguage/QueryLanguage.js.map +1 -0
  184. package/dist/development/src/queryLanguage/QueryLanguageError.cjs.map +1 -0
  185. package/dist/development/src/queryLanguage/QueryLanguageError.js.map +1 -0
  186. package/dist/development/src/queryLanguage/tokenList.cjs +151 -0
  187. package/dist/development/src/queryLanguage/tokenList.cjs.map +1 -0
  188. package/dist/development/src/queryLanguage/tokenList.js +152 -0
  189. package/dist/development/src/queryLanguage/tokenList.js.map +1 -0
  190. package/dist/development/src/structures/BijectiveIndexedMap.cjs +117 -0
  191. package/dist/development/src/structures/BijectiveIndexedMap.cjs.map +1 -0
  192. package/dist/development/src/structures/BijectiveIndexedMap.js +117 -0
  193. package/dist/development/src/structures/BijectiveIndexedMap.js.map +1 -0
  194. package/dist/development/src/structures/LRUCache.cjs +32 -0
  195. package/dist/development/src/structures/LRUCache.cjs.map +1 -0
  196. package/dist/development/src/structures/LRUCache.js +32 -0
  197. package/dist/development/src/structures/LRUCache.js.map +1 -0
  198. package/dist/development/src/structures/WeakIdCache.cjs +30 -0
  199. package/dist/development/src/structures/WeakIdCache.cjs.map +1 -0
  200. package/dist/development/src/structures/WeakIdCache.js +30 -0
  201. package/dist/development/src/structures/WeakIdCache.js.map +1 -0
  202. package/dist/development/src/treeParameterHelpers/wrapFilterInHasOnes.cjs.map +1 -0
  203. package/dist/development/src/treeParameterHelpers/wrapFilterInHasOnes.js.map +1 -0
  204. package/dist/development/src/treeParameters/EntityCreationParameters.cjs.map +1 -0
  205. package/dist/development/src/treeParameters/EntityCreationParameters.js.map +1 -0
  206. package/dist/development/src/treeParameters/EntityListPreferences.cjs.map +1 -0
  207. package/dist/development/src/treeParameters/EntityListPreferences.js.map +1 -0
  208. package/dist/development/src/treeParameters/EventListenersStore.cjs.map +1 -0
  209. package/dist/development/src/treeParameters/EventListenersStore.js.map +1 -0
  210. package/dist/development/src/treeParameters/LeafField.cjs.map +1 -0
  211. package/dist/development/src/treeParameters/LeafField.js.map +1 -0
  212. package/dist/development/src/treeParameters/QualifiedEntityParameters.cjs.map +1 -0
  213. package/dist/development/src/treeParameters/QualifiedEntityParameters.js.map +1 -0
  214. package/dist/development/src/treeParameters/Relation.cjs.map +1 -0
  215. package/dist/development/src/treeParameters/Relation.js.map +1 -0
  216. package/dist/development/src/utils/Hashing.cjs.map +1 -0
  217. package/dist/development/src/utils/Hashing.js.map +1 -0
  218. package/dist/development/src/utils/TreeNodeUtils.cjs.map +1 -0
  219. package/dist/development/src/utils/TreeNodeUtils.js.map +1 -0
  220. package/dist/development/src/utils/assert.cjs +10 -0
  221. package/dist/development/src/utils/assert.cjs.map +1 -0
  222. package/dist/development/src/utils/assert.js +10 -0
  223. package/dist/development/src/utils/assert.js.map +1 -0
  224. package/dist/development/src/utils/assertNever.cjs.map +1 -0
  225. package/dist/development/src/utils/assertNever.js.map +1 -0
  226. package/dist/development/src/utils/generateEnumerabilityPreventingEntropy.cjs.map +1 -0
  227. package/dist/development/src/utils/generateEnumerabilityPreventingEntropy.js.map +1 -0
  228. package/dist/development/src/utils/isEmptyObject.cjs.map +1 -0
  229. package/dist/development/src/utils/isEmptyObject.js.map +1 -0
  230. package/dist/development/src/utils/ucfirst.cjs.map +1 -0
  231. package/dist/development/src/utils/ucfirst.js.map +1 -0
  232. package/dist/production/index.cjs +49 -49
  233. package/dist/production/index.js +49 -49
  234. package/dist/production/src/BindingError.cjs.map +1 -0
  235. package/dist/production/src/BindingError.js.map +1 -0
  236. package/dist/production/src/accessorTree/NormalizedPersistedData.cjs.map +1 -0
  237. package/dist/production/src/accessorTree/NormalizedPersistedData.js.map +1 -0
  238. package/dist/production/src/accessorTree/RuntimeId.cjs +61 -0
  239. package/dist/production/src/accessorTree/RuntimeId.cjs.map +1 -0
  240. package/dist/production/src/accessorTree/RuntimeId.js +61 -0
  241. package/dist/production/src/accessorTree/RuntimeId.js.map +1 -0
  242. package/dist/production/src/accessors/EntityAccessor.cjs.map +1 -0
  243. package/dist/production/src/accessors/EntityAccessor.js.map +1 -0
  244. package/dist/production/src/accessors/EntityListAccessor.cjs.map +1 -0
  245. package/dist/production/src/accessors/EntityListAccessor.js.map +1 -0
  246. package/dist/production/src/accessors/ErrorAccessor.cjs.map +1 -0
  247. package/dist/production/src/accessors/ErrorAccessor.js.map +1 -0
  248. package/dist/production/src/accessors/FieldAccessor.cjs.map +1 -0
  249. package/dist/production/src/accessors/FieldAccessor.js.map +1 -0
  250. package/dist/production/src/accessors/TreeRootAccessor.cjs.map +1 -0
  251. package/dist/production/src/accessors/TreeRootAccessor.js.map +1 -0
  252. package/dist/production/src/bindingTypes.cjs.map +1 -0
  253. package/dist/production/src/bindingTypes.js.map +1 -0
  254. package/dist/production/src/core/AccessorErrorManager.cjs +204 -0
  255. package/dist/production/src/core/AccessorErrorManager.cjs.map +1 -0
  256. package/dist/production/src/core/AccessorErrorManager.js +204 -0
  257. package/dist/production/src/core/AccessorErrorManager.js.map +1 -0
  258. package/dist/production/src/core/Config.cjs +29 -0
  259. package/dist/production/src/core/Config.cjs.map +1 -0
  260. package/dist/production/src/core/Config.js +29 -0
  261. package/dist/production/src/core/Config.js.map +1 -0
  262. package/dist/production/src/core/DataBinding.cjs +348 -0
  263. package/dist/production/src/core/DataBinding.cjs.map +1 -0
  264. package/dist/production/src/core/DataBinding.js +348 -0
  265. package/dist/production/src/core/DataBinding.js.map +1 -0
  266. package/dist/production/src/core/DirtinessTracker.cjs +26 -0
  267. package/dist/production/src/core/DirtinessTracker.cjs.map +1 -0
  268. package/dist/production/src/core/DirtinessTracker.js +26 -0
  269. package/dist/production/src/core/DirtinessTracker.js.map +1 -0
  270. package/dist/production/src/core/ErrorsPreprocessor.cjs +180 -0
  271. package/dist/production/src/core/ErrorsPreprocessor.cjs.map +1 -0
  272. package/dist/production/src/core/ErrorsPreprocessor.js +180 -0
  273. package/dist/production/src/core/ErrorsPreprocessor.js.map +1 -0
  274. package/dist/production/src/core/EventManager.cjs +408 -0
  275. package/dist/production/src/core/EventManager.cjs.map +1 -0
  276. package/dist/production/src/core/EventManager.js +408 -0
  277. package/dist/production/src/core/EventManager.js.map +1 -0
  278. package/dist/production/src/core/MarkerComparator.cjs.map +1 -0
  279. package/dist/production/src/core/MarkerComparator.js.map +1 -0
  280. package/dist/production/src/core/MarkerMerger.cjs +256 -0
  281. package/dist/production/src/core/MarkerMerger.cjs.map +1 -0
  282. package/dist/production/src/core/MarkerMerger.js +256 -0
  283. package/dist/production/src/core/MarkerMerger.js.map +1 -0
  284. package/dist/production/src/core/MutationGenerator.cjs +662 -0
  285. package/dist/production/src/core/MutationGenerator.cjs.map +1 -0
  286. package/dist/production/src/core/MutationGenerator.js +662 -0
  287. package/dist/production/src/core/MutationGenerator.js.map +1 -0
  288. package/dist/production/src/core/QueryGenerator.cjs.map +1 -0
  289. package/dist/production/src/core/QueryGenerator.js.map +1 -0
  290. package/dist/production/src/core/RealmKeyGenerator.cjs +42 -0
  291. package/dist/production/src/core/RealmKeyGenerator.cjs.map +1 -0
  292. package/dist/production/src/core/RealmKeyGenerator.js +42 -0
  293. package/dist/production/src/core/RealmKeyGenerator.js.map +1 -0
  294. package/dist/production/src/core/RequestResponseNormalizer.cjs.map +1 -0
  295. package/dist/production/src/core/RequestResponseNormalizer.js.map +1 -0
  296. package/dist/production/src/core/StateInitializer.cjs +387 -0
  297. package/dist/production/src/core/StateInitializer.cjs.map +1 -0
  298. package/dist/production/src/core/StateInitializer.js +387 -0
  299. package/dist/production/src/core/StateInitializer.js.map +1 -0
  300. package/dist/production/src/core/TreeAugmenter.cjs.map +1 -0
  301. package/dist/production/src/core/TreeAugmenter.js.map +1 -0
  302. package/dist/production/src/core/TreeFilterGenerator.cjs +82 -0
  303. package/dist/production/src/core/TreeFilterGenerator.cjs.map +1 -0
  304. package/dist/production/src/core/TreeFilterGenerator.js +82 -0
  305. package/dist/production/src/core/TreeFilterGenerator.js.map +1 -0
  306. package/dist/production/src/core/TreeParameterMerger.cjs.map +1 -0
  307. package/dist/production/src/core/TreeParameterMerger.js.map +1 -0
  308. package/dist/production/src/core/TreeStore.cjs +176 -0
  309. package/dist/production/src/core/TreeStore.cjs.map +1 -0
  310. package/dist/production/src/core/TreeStore.js +176 -0
  311. package/dist/production/src/core/TreeStore.js.map +1 -0
  312. package/dist/production/src/core/VariableInputTransformer.cjs.map +1 -0
  313. package/dist/production/src/core/VariableInputTransformer.js.map +1 -0
  314. package/dist/production/src/core/exceptions/ErrorLocator.cjs +59 -0
  315. package/dist/production/src/core/exceptions/ErrorLocator.cjs.map +1 -0
  316. package/dist/production/src/core/exceptions/ErrorLocator.js +59 -0
  317. package/dist/production/src/core/exceptions/ErrorLocator.js.map +1 -0
  318. package/dist/production/src/core/exceptions/LocalizedBindingError.cjs.map +1 -0
  319. package/dist/production/src/core/exceptions/LocalizedBindingError.js.map +1 -0
  320. package/dist/production/src/core/exceptions/MarkerSugarer.cjs.map +1 -0
  321. package/dist/production/src/core/exceptions/MarkerSugarer.js.map +1 -0
  322. package/dist/production/src/core/exceptions/TreeParameterSugarer.cjs.map +1 -0
  323. package/dist/production/src/core/exceptions/TreeParameterSugarer.js.map +1 -0
  324. package/dist/production/src/core/factories/createBatchUpdatesOptions.cjs.map +1 -0
  325. package/dist/production/src/core/factories/createBatchUpdatesOptions.js.map +1 -0
  326. package/dist/production/src/core/operations/EntityOperations.cjs +232 -0
  327. package/dist/production/src/core/operations/EntityOperations.cjs.map +1 -0
  328. package/dist/production/src/core/operations/EntityOperations.js +232 -0
  329. package/dist/production/src/core/operations/EntityOperations.js.map +1 -0
  330. package/dist/production/src/core/operations/FieldOperations.cjs +77 -0
  331. package/dist/production/src/core/operations/FieldOperations.cjs.map +1 -0
  332. package/dist/production/src/core/operations/FieldOperations.js +77 -0
  333. package/dist/production/src/core/operations/FieldOperations.js.map +1 -0
  334. package/dist/production/src/core/operations/ListOperations.cjs.map +1 -0
  335. package/dist/production/src/core/operations/ListOperations.js.map +1 -0
  336. package/dist/production/src/core/operations/OperationsHelpers.cjs.map +1 -0
  337. package/dist/production/src/core/operations/OperationsHelpers.js.map +1 -0
  338. package/dist/production/src/core/requestAliases/MutationAlias.cjs.map +1 -0
  339. package/dist/production/src/core/requestAliases/MutationAlias.js.map +1 -0
  340. package/dist/production/src/core/schema/Schema.cjs.map +1 -0
  341. package/dist/production/src/core/schema/Schema.js.map +1 -0
  342. package/dist/production/src/core/schema/SchemaLoader.cjs +25 -0
  343. package/dist/production/src/core/schema/SchemaLoader.cjs.map +1 -0
  344. package/dist/production/src/core/schema/SchemaLoader.js +25 -0
  345. package/dist/production/src/core/schema/SchemaLoader.js.map +1 -0
  346. package/dist/production/src/core/schema/SchemaPreprocessor.cjs.map +1 -0
  347. package/dist/production/src/core/schema/SchemaPreprocessor.js.map +1 -0
  348. package/dist/production/src/core/state/StateIterator.cjs.map +1 -0
  349. package/dist/production/src/core/state/StateIterator.js.map +1 -0
  350. package/dist/production/src/core/state/getEntityMarker.cjs.map +1 -0
  351. package/dist/production/src/core/state/getEntityMarker.js.map +1 -0
  352. package/dist/production/src/core/utils/createQueryBuilder.cjs.map +1 -0
  353. package/dist/production/src/core/utils/createQueryBuilder.js.map +1 -0
  354. package/dist/production/src/core/utils/getCombinedSignal.cjs.map +1 -0
  355. package/dist/production/src/core/utils/getCombinedSignal.js.map +1 -0
  356. package/dist/production/src/dao/Environment.cjs.map +1 -0
  357. package/dist/production/src/dao/Environment.js.map +1 -0
  358. package/dist/production/src/dao/TreeNodeEnvironmentFactory.cjs.map +1 -0
  359. package/dist/production/src/dao/TreeNodeEnvironmentFactory.js.map +1 -0
  360. package/dist/production/src/dao/VariableFieldValue.cjs.map +1 -0
  361. package/dist/production/src/dao/VariableFieldValue.js.map +1 -0
  362. package/dist/production/src/fieldHelpers/helpers/FieldHelper.cjs +14 -0
  363. package/dist/production/src/fieldHelpers/helpers/FieldHelper.cjs.map +1 -0
  364. package/dist/production/src/fieldHelpers/helpers/FieldHelper.js +14 -0
  365. package/dist/production/src/fieldHelpers/helpers/FieldHelper.js.map +1 -0
  366. package/dist/production/src/fieldHelpers/helpers/TemporalFieldHelper.cjs.map +1 -0
  367. package/dist/production/src/fieldHelpers/helpers/TemporalFieldHelper.js.map +1 -0
  368. package/dist/production/src/fieldHelpers/helpers/UuidFieldHelper.cjs.map +1 -0
  369. package/dist/production/src/fieldHelpers/helpers/UuidFieldHelper.js.map +1 -0
  370. package/dist/production/src/markers/EntityFieldMarkersContainer.cjs.map +1 -0
  371. package/dist/production/src/markers/EntityFieldMarkersContainer.js.map +1 -0
  372. package/dist/production/src/markers/EntityFieldsWithHoistablesMarker.cjs.map +1 -0
  373. package/dist/production/src/markers/EntityFieldsWithHoistablesMarker.js.map +1 -0
  374. package/dist/production/src/markers/EntityListSubTreeMarker.cjs +20 -0
  375. package/dist/production/src/markers/EntityListSubTreeMarker.cjs.map +1 -0
  376. package/dist/production/src/markers/EntityListSubTreeMarker.js +20 -0
  377. package/dist/production/src/markers/EntityListSubTreeMarker.js.map +1 -0
  378. package/dist/production/src/markers/EntitySubTreeMarker.cjs +20 -0
  379. package/dist/production/src/markers/EntitySubTreeMarker.cjs.map +1 -0
  380. package/dist/production/src/markers/EntitySubTreeMarker.js +20 -0
  381. package/dist/production/src/markers/EntitySubTreeMarker.js.map +1 -0
  382. package/dist/production/src/markers/FieldMarker.cjs +17 -0
  383. package/dist/production/src/markers/FieldMarker.cjs.map +1 -0
  384. package/dist/production/src/markers/FieldMarker.js +17 -0
  385. package/dist/production/src/markers/FieldMarker.js.map +1 -0
  386. package/dist/production/src/markers/HasManyRelationMarker.cjs +20 -0
  387. package/dist/production/src/markers/HasManyRelationMarker.cjs.map +1 -0
  388. package/dist/production/src/markers/HasManyRelationMarker.js +20 -0
  389. package/dist/production/src/markers/HasManyRelationMarker.js.map +1 -0
  390. package/dist/production/src/markers/HasOneRelationMarker.cjs +20 -0
  391. package/dist/production/src/markers/HasOneRelationMarker.cjs.map +1 -0
  392. package/dist/production/src/markers/HasOneRelationMarker.js +20 -0
  393. package/dist/production/src/markers/HasOneRelationMarker.js.map +1 -0
  394. package/dist/production/src/markers/MarkerTreeRoot.cjs.map +1 -0
  395. package/dist/production/src/markers/MarkerTreeRoot.js.map +1 -0
  396. package/dist/production/src/markers/ParentEntityMarker.cjs.map +1 -0
  397. package/dist/production/src/markers/ParentEntityMarker.js.map +1 -0
  398. package/dist/production/src/markers/PlaceholderGenerator.cjs.map +1 -0
  399. package/dist/production/src/markers/PlaceholderGenerator.js.map +1 -0
  400. package/dist/production/src/markers/PlaceholderParametersGenerator.cjs.map +1 -0
  401. package/dist/production/src/markers/PlaceholderParametersGenerator.js.map +1 -0
  402. package/dist/production/src/queryLanguage/CacheStore.cjs +44 -0
  403. package/dist/production/src/queryLanguage/CacheStore.cjs.map +1 -0
  404. package/dist/production/src/queryLanguage/CacheStore.js +44 -0
  405. package/dist/production/src/queryLanguage/CacheStore.js.map +1 -0
  406. package/dist/production/src/queryLanguage/MarkerFactory.cjs.map +1 -0
  407. package/dist/production/src/queryLanguage/MarkerFactory.js.map +1 -0
  408. package/dist/production/src/queryLanguage/Parser.cjs +721 -0
  409. package/dist/production/src/queryLanguage/Parser.cjs.map +1 -0
  410. package/dist/production/src/queryLanguage/Parser.js +721 -0
  411. package/dist/production/src/queryLanguage/Parser.js.map +1 -0
  412. package/dist/production/src/queryLanguage/QueryLanguage.cjs +540 -0
  413. package/dist/production/src/queryLanguage/QueryLanguage.cjs.map +1 -0
  414. package/dist/production/src/queryLanguage/QueryLanguage.js +540 -0
  415. package/dist/production/src/queryLanguage/QueryLanguage.js.map +1 -0
  416. package/dist/production/src/queryLanguage/QueryLanguageError.cjs.map +1 -0
  417. package/dist/production/src/queryLanguage/QueryLanguageError.js.map +1 -0
  418. package/dist/production/src/queryLanguage/tokenList.cjs +151 -0
  419. package/dist/production/src/queryLanguage/tokenList.cjs.map +1 -0
  420. package/dist/production/src/queryLanguage/tokenList.js +152 -0
  421. package/dist/production/src/queryLanguage/tokenList.js.map +1 -0
  422. package/dist/production/src/structures/BijectiveIndexedMap.cjs +117 -0
  423. package/dist/production/src/structures/BijectiveIndexedMap.cjs.map +1 -0
  424. package/dist/production/src/structures/BijectiveIndexedMap.js +117 -0
  425. package/dist/production/src/structures/BijectiveIndexedMap.js.map +1 -0
  426. package/dist/production/src/structures/LRUCache.cjs +32 -0
  427. package/dist/production/src/structures/LRUCache.cjs.map +1 -0
  428. package/dist/production/src/structures/LRUCache.js +32 -0
  429. package/dist/production/src/structures/LRUCache.js.map +1 -0
  430. package/dist/production/src/structures/WeakIdCache.cjs +30 -0
  431. package/dist/production/src/structures/WeakIdCache.cjs.map +1 -0
  432. package/dist/production/src/structures/WeakIdCache.js +30 -0
  433. package/dist/production/src/structures/WeakIdCache.js.map +1 -0
  434. package/dist/production/src/treeParameterHelpers/wrapFilterInHasOnes.cjs.map +1 -0
  435. package/dist/production/src/treeParameterHelpers/wrapFilterInHasOnes.js.map +1 -0
  436. package/dist/production/src/treeParameters/EntityCreationParameters.cjs.map +1 -0
  437. package/dist/production/src/treeParameters/EntityCreationParameters.js.map +1 -0
  438. package/dist/production/src/treeParameters/EntityListPreferences.cjs.map +1 -0
  439. package/dist/production/src/treeParameters/EntityListPreferences.js.map +1 -0
  440. package/dist/production/src/treeParameters/EventListenersStore.cjs.map +1 -0
  441. package/dist/production/src/treeParameters/EventListenersStore.js.map +1 -0
  442. package/dist/production/src/treeParameters/LeafField.cjs.map +1 -0
  443. package/dist/production/src/treeParameters/LeafField.js.map +1 -0
  444. package/dist/production/src/treeParameters/QualifiedEntityParameters.cjs.map +1 -0
  445. package/dist/production/src/treeParameters/QualifiedEntityParameters.js.map +1 -0
  446. package/dist/production/src/treeParameters/Relation.cjs.map +1 -0
  447. package/dist/production/src/treeParameters/Relation.js.map +1 -0
  448. package/dist/production/src/utils/Hashing.cjs.map +1 -0
  449. package/dist/production/src/utils/Hashing.js.map +1 -0
  450. package/dist/production/src/utils/TreeNodeUtils.cjs.map +1 -0
  451. package/dist/production/src/utils/TreeNodeUtils.js.map +1 -0
  452. package/dist/production/src/utils/assert.cjs +10 -0
  453. package/dist/production/src/utils/assert.cjs.map +1 -0
  454. package/dist/production/src/utils/assert.js +10 -0
  455. package/dist/production/src/utils/assert.js.map +1 -0
  456. package/dist/production/src/utils/assertNever.cjs.map +1 -0
  457. package/dist/production/src/utils/assertNever.js.map +1 -0
  458. package/dist/production/src/utils/generateEnumerabilityPreventingEntropy.cjs.map +1 -0
  459. package/dist/production/src/utils/generateEnumerabilityPreventingEntropy.js.map +1 -0
  460. package/dist/production/src/utils/isEmptyObject.cjs.map +1 -0
  461. package/dist/production/src/utils/isEmptyObject.js.map +1 -0
  462. package/dist/production/src/utils/ucfirst.cjs.map +1 -0
  463. package/dist/production/src/utils/ucfirst.js.map +1 -0
  464. package/dist/types/accessorTree/RuntimeId.d.ts.map +1 -1
  465. package/dist/types/accessors/EntityAccessor.d.ts.map +1 -1
  466. package/dist/types/accessors/EntityListAccessor.d.ts.map +1 -1
  467. package/dist/types/core/AccessorErrorManager.d.ts.map +1 -1
  468. package/dist/types/core/DataBinding.d.ts.map +1 -1
  469. package/dist/types/core/EventManager.d.ts.map +1 -1
  470. package/dist/types/core/MarkerMerger.d.ts.map +1 -1
  471. package/dist/types/core/MutationGenerator.d.ts.map +1 -1
  472. package/dist/types/core/TreeStore.d.ts.map +1 -1
  473. package/dist/types/core/state/EntityListState.d.ts.map +1 -1
  474. package/dist/types/core/utils/getCombinedSignal.d.ts.map +1 -1
  475. package/dist/types/dao/Environment.d.ts +1 -1
  476. package/dist/types/dao/Environment.d.ts.map +1 -1
  477. package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts.map +1 -1
  478. package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts.map +1 -1
  479. package/dist/types/markers/FieldMarker.d.ts.map +1 -1
  480. package/dist/types/queryLanguage/QueryLanguage.d.ts +5 -4
  481. package/dist/types/queryLanguage/QueryLanguage.d.ts.map +1 -1
  482. package/dist/types/queryLanguage/tokenList.d.ts +1 -0
  483. package/dist/types/queryLanguage/tokenList.d.ts.map +1 -1
  484. package/dist/types/treeParameters/EntityListEventListeners.d.ts.map +1 -1
  485. package/dist/types/treeParameters/EventListenersStore.d.ts.map +1 -1
  486. package/dist/types/treeParameters/HasManyRelation.d.ts.map +1 -1
  487. package/dist/types/treeParameters/HasOneRelation.d.ts.map +1 -1
  488. package/dist/types/treeParameters/QualifiedEntityList.d.ts.map +1 -1
  489. package/dist/types/treeParameters/QualifiedSingleEntity.d.ts.map +1 -1
  490. package/dist/types/treeParameters/RelativeEntityList.d.ts.map +1 -1
  491. package/dist/types/treeParameters/SingleEntityEventListeners.d.ts.map +1 -1
  492. package/dist/types/treeParameters/UnconstrainedQualifiedEntityList.d.ts.map +1 -1
  493. package/dist/types/treeParameters/UnconstrainedQualifiedSingleEntity.d.ts.map +1 -1
  494. package/dist/types/tsconfig.tsbuildinfo +1 -1
  495. package/package.json +6 -13
  496. package/src/accessorTree/QueryRequestResponse.ts +1 -1
  497. package/src/accessors/EntityAccessor.ts +1 -1
  498. package/src/accessors/EntityListAccessor.ts +1 -1
  499. package/src/core/AccessorErrorManager.ts +1 -0
  500. package/src/core/DataBinding.ts +8 -4
  501. package/src/core/EventManager.ts +6 -6
  502. package/src/core/MarkerMerger.ts +8 -2
  503. package/src/core/MutationGenerator.ts +8 -8
  504. package/src/core/RequestResponseNormalizer.ts +1 -1
  505. package/src/core/TreeStore.ts +6 -6
  506. package/src/core/operations/EntityOperations.ts +1 -1
  507. package/src/core/operations/FieldOperations.ts +2 -2
  508. package/src/core/state/EntityListState.ts +6 -6
  509. package/src/queryLanguage/Parser.ts +2 -2
  510. package/src/queryLanguage/QueryLanguage.ts +54 -25
  511. package/src/queryLanguage/tokenList.ts +2 -0
  512. package/src/treeParameters/EntityListEventListeners.ts +2 -2
  513. package/src/treeParameters/HasManyRelation.ts +3 -3
  514. package/src/treeParameters/HasOneRelation.ts +2 -2
  515. package/src/treeParameters/QualifiedEntityList.ts +7 -7
  516. package/src/treeParameters/QualifiedSingleEntity.ts +9 -9
  517. package/src/treeParameters/RelativeEntityList.ts +2 -2
  518. package/src/treeParameters/SingleEntityEventListeners.ts +3 -3
  519. package/src/treeParameters/UnconstrainedQualifiedEntityList.ts +6 -6
  520. package/src/treeParameters/UnconstrainedQualifiedSingleEntity.ts +4 -4
  521. package/src/tsconfig.json +4 -1
  522. package/src/typings/react-fix.d.ts +1 -1
  523. package/tests/cases/unit/queryLanguage/filter.spec.tsx +100 -0
  524. package/tests/cases/unit/queryLanguage/general.spec.tsx +59 -0
  525. package/tests/cases/unit/queryLanguage/orderBy.spec.tsx +48 -0
  526. package/tests/cases/unit/queryLanguage/qualifiedEntityList.spec.tsx +30 -0
  527. package/tests/cases/unit/queryLanguage/qualifiedFieldList.spec.tsx +29 -0
  528. package/tests/cases/unit/queryLanguage/relativeEntityList.spec.tsx +49 -0
  529. package/tests/cases/unit/queryLanguage/singleRelativeField.spec.tsx +132 -0
  530. package/tests/cases/unit/queryLanguage/taggedMap.spec.tsx +41 -0
  531. package/tests/tsconfig.json +10 -0
  532. package/tsconfig.json +8 -0
  533. package/tsdoc.json +6 -0
  534. package/vitest.config.ts +3 -0
  535. package/dist/development/BindingError.cjs.map +0 -1
  536. package/dist/development/BindingError.js.map +0 -1
  537. package/dist/development/accessorTree/NormalizedPersistedData.cjs.map +0 -1
  538. package/dist/development/accessorTree/NormalizedPersistedData.js.map +0 -1
  539. package/dist/development/accessorTree/RuntimeId.cjs +0 -64
  540. package/dist/development/accessorTree/RuntimeId.cjs.map +0 -1
  541. package/dist/development/accessorTree/RuntimeId.js +0 -64
  542. package/dist/development/accessorTree/RuntimeId.js.map +0 -1
  543. package/dist/development/accessors/EntityAccessor.cjs.map +0 -1
  544. package/dist/development/accessors/EntityAccessor.js.map +0 -1
  545. package/dist/development/accessors/EntityListAccessor.cjs.map +0 -1
  546. package/dist/development/accessors/EntityListAccessor.js.map +0 -1
  547. package/dist/development/accessors/ErrorAccessor.cjs.map +0 -1
  548. package/dist/development/accessors/ErrorAccessor.js.map +0 -1
  549. package/dist/development/accessors/FieldAccessor.cjs.map +0 -1
  550. package/dist/development/accessors/FieldAccessor.js.map +0 -1
  551. package/dist/development/accessors/TreeRootAccessor.cjs.map +0 -1
  552. package/dist/development/accessors/TreeRootAccessor.js.map +0 -1
  553. package/dist/development/bindingTypes.cjs.map +0 -1
  554. package/dist/development/bindingTypes.js.map +0 -1
  555. package/dist/development/core/AccessorErrorManager.cjs +0 -207
  556. package/dist/development/core/AccessorErrorManager.cjs.map +0 -1
  557. package/dist/development/core/AccessorErrorManager.js +0 -207
  558. package/dist/development/core/AccessorErrorManager.js.map +0 -1
  559. package/dist/development/core/Config.cjs +0 -32
  560. package/dist/development/core/Config.cjs.map +0 -1
  561. package/dist/development/core/Config.js +0 -32
  562. package/dist/development/core/Config.js.map +0 -1
  563. package/dist/development/core/DataBinding.cjs +0 -353
  564. package/dist/development/core/DataBinding.cjs.map +0 -1
  565. package/dist/development/core/DataBinding.js +0 -353
  566. package/dist/development/core/DataBinding.js.map +0 -1
  567. package/dist/development/core/DirtinessTracker.cjs +0 -29
  568. package/dist/development/core/DirtinessTracker.cjs.map +0 -1
  569. package/dist/development/core/DirtinessTracker.js +0 -29
  570. package/dist/development/core/DirtinessTracker.js.map +0 -1
  571. package/dist/development/core/ErrorsPreprocessor.cjs +0 -181
  572. package/dist/development/core/ErrorsPreprocessor.cjs.map +0 -1
  573. package/dist/development/core/ErrorsPreprocessor.js +0 -181
  574. package/dist/development/core/ErrorsPreprocessor.js.map +0 -1
  575. package/dist/development/core/EventManager.cjs +0 -440
  576. package/dist/development/core/EventManager.cjs.map +0 -1
  577. package/dist/development/core/EventManager.js +0 -440
  578. package/dist/development/core/EventManager.js.map +0 -1
  579. package/dist/development/core/MarkerComparator.cjs.map +0 -1
  580. package/dist/development/core/MarkerComparator.js.map +0 -1
  581. package/dist/development/core/MarkerMerger.cjs +0 -252
  582. package/dist/development/core/MarkerMerger.cjs.map +0 -1
  583. package/dist/development/core/MarkerMerger.js +0 -252
  584. package/dist/development/core/MarkerMerger.js.map +0 -1
  585. package/dist/development/core/MutationGenerator.cjs +0 -665
  586. package/dist/development/core/MutationGenerator.cjs.map +0 -1
  587. package/dist/development/core/MutationGenerator.js +0 -665
  588. package/dist/development/core/MutationGenerator.js.map +0 -1
  589. package/dist/development/core/QueryGenerator.cjs.map +0 -1
  590. package/dist/development/core/QueryGenerator.js.map +0 -1
  591. package/dist/development/core/RealmKeyGenerator.cjs +0 -47
  592. package/dist/development/core/RealmKeyGenerator.cjs.map +0 -1
  593. package/dist/development/core/RealmKeyGenerator.js +0 -47
  594. package/dist/development/core/RealmKeyGenerator.js.map +0 -1
  595. package/dist/development/core/RequestResponseNormalizer.cjs.map +0 -1
  596. package/dist/development/core/RequestResponseNormalizer.js.map +0 -1
  597. package/dist/development/core/StateInitializer.cjs +0 -390
  598. package/dist/development/core/StateInitializer.cjs.map +0 -1
  599. package/dist/development/core/StateInitializer.js +0 -390
  600. package/dist/development/core/StateInitializer.js.map +0 -1
  601. package/dist/development/core/TreeAugmenter.cjs.map +0 -1
  602. package/dist/development/core/TreeAugmenter.js.map +0 -1
  603. package/dist/development/core/TreeFilterGenerator.cjs +0 -83
  604. package/dist/development/core/TreeFilterGenerator.cjs.map +0 -1
  605. package/dist/development/core/TreeFilterGenerator.js +0 -83
  606. package/dist/development/core/TreeFilterGenerator.js.map +0 -1
  607. package/dist/development/core/TreeParameterMerger.cjs.map +0 -1
  608. package/dist/development/core/TreeParameterMerger.js.map +0 -1
  609. package/dist/development/core/TreeStore.cjs +0 -182
  610. package/dist/development/core/TreeStore.cjs.map +0 -1
  611. package/dist/development/core/TreeStore.js +0 -182
  612. package/dist/development/core/TreeStore.js.map +0 -1
  613. package/dist/development/core/VariableInputTransformer.cjs.map +0 -1
  614. package/dist/development/core/VariableInputTransformer.js.map +0 -1
  615. package/dist/development/core/exceptions/ErrorLocator.cjs +0 -62
  616. package/dist/development/core/exceptions/ErrorLocator.cjs.map +0 -1
  617. package/dist/development/core/exceptions/ErrorLocator.js +0 -62
  618. package/dist/development/core/exceptions/ErrorLocator.js.map +0 -1
  619. package/dist/development/core/exceptions/LocalizedBindingError.cjs.map +0 -1
  620. package/dist/development/core/exceptions/LocalizedBindingError.js.map +0 -1
  621. package/dist/development/core/exceptions/MarkerSugarer.cjs.map +0 -1
  622. package/dist/development/core/exceptions/MarkerSugarer.js.map +0 -1
  623. package/dist/development/core/exceptions/TreeParameterSugarer.cjs.map +0 -1
  624. package/dist/development/core/exceptions/TreeParameterSugarer.js.map +0 -1
  625. package/dist/development/core/factories/createBatchUpdatesOptions.cjs.map +0 -1
  626. package/dist/development/core/factories/createBatchUpdatesOptions.js.map +0 -1
  627. package/dist/development/core/operations/EntityOperations.cjs +0 -233
  628. package/dist/development/core/operations/EntityOperations.cjs.map +0 -1
  629. package/dist/development/core/operations/EntityOperations.js +0 -233
  630. package/dist/development/core/operations/EntityOperations.js.map +0 -1
  631. package/dist/development/core/operations/FieldOperations.cjs.map +0 -1
  632. package/dist/development/core/operations/FieldOperations.js.map +0 -1
  633. package/dist/development/core/operations/ListOperations.cjs.map +0 -1
  634. package/dist/development/core/operations/ListOperations.js.map +0 -1
  635. package/dist/development/core/operations/OperationsHelpers.cjs.map +0 -1
  636. package/dist/development/core/operations/OperationsHelpers.js.map +0 -1
  637. package/dist/development/core/requestAliases/MutationAlias.cjs.map +0 -1
  638. package/dist/development/core/requestAliases/MutationAlias.js.map +0 -1
  639. package/dist/development/core/schema/Schema.cjs.map +0 -1
  640. package/dist/development/core/schema/Schema.js.map +0 -1
  641. package/dist/development/core/schema/SchemaLoader.cjs +0 -28
  642. package/dist/development/core/schema/SchemaLoader.cjs.map +0 -1
  643. package/dist/development/core/schema/SchemaLoader.js +0 -28
  644. package/dist/development/core/schema/SchemaLoader.js.map +0 -1
  645. package/dist/development/core/schema/SchemaPreprocessor.cjs.map +0 -1
  646. package/dist/development/core/schema/SchemaPreprocessor.js.map +0 -1
  647. package/dist/development/core/state/StateIterator.cjs.map +0 -1
  648. package/dist/development/core/state/StateIterator.js.map +0 -1
  649. package/dist/development/core/state/getEntityMarker.cjs.map +0 -1
  650. package/dist/development/core/state/getEntityMarker.js.map +0 -1
  651. package/dist/development/core/utils/createQueryBuilder.cjs.map +0 -1
  652. package/dist/development/core/utils/createQueryBuilder.js.map +0 -1
  653. package/dist/development/core/utils/getCombinedSignal.cjs.map +0 -1
  654. package/dist/development/core/utils/getCombinedSignal.js.map +0 -1
  655. package/dist/development/dao/Environment.cjs.map +0 -1
  656. package/dist/development/dao/Environment.js.map +0 -1
  657. package/dist/development/dao/TreeNodeEnvironmentFactory.cjs.map +0 -1
  658. package/dist/development/dao/TreeNodeEnvironmentFactory.js.map +0 -1
  659. package/dist/development/dao/VariableFieldValue.cjs.map +0 -1
  660. package/dist/development/dao/VariableFieldValue.js.map +0 -1
  661. package/dist/development/fieldHelpers/helpers/FieldHelper.cjs +0 -17
  662. package/dist/development/fieldHelpers/helpers/FieldHelper.cjs.map +0 -1
  663. package/dist/development/fieldHelpers/helpers/FieldHelper.js +0 -17
  664. package/dist/development/fieldHelpers/helpers/FieldHelper.js.map +0 -1
  665. package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.cjs.map +0 -1
  666. package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js.map +0 -1
  667. package/dist/development/fieldHelpers/helpers/UuidFieldHelper.cjs.map +0 -1
  668. package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js.map +0 -1
  669. package/dist/development/markers/EntityFieldMarkersContainer.cjs.map +0 -1
  670. package/dist/development/markers/EntityFieldMarkersContainer.js.map +0 -1
  671. package/dist/development/markers/EntityFieldsWithHoistablesMarker.cjs.map +0 -1
  672. package/dist/development/markers/EntityFieldsWithHoistablesMarker.js.map +0 -1
  673. package/dist/development/markers/EntityListSubTreeMarker.cjs +0 -23
  674. package/dist/development/markers/EntityListSubTreeMarker.cjs.map +0 -1
  675. package/dist/development/markers/EntityListSubTreeMarker.js +0 -23
  676. package/dist/development/markers/EntityListSubTreeMarker.js.map +0 -1
  677. package/dist/development/markers/EntitySubTreeMarker.cjs +0 -23
  678. package/dist/development/markers/EntitySubTreeMarker.cjs.map +0 -1
  679. package/dist/development/markers/EntitySubTreeMarker.js +0 -23
  680. package/dist/development/markers/EntitySubTreeMarker.js.map +0 -1
  681. package/dist/development/markers/FieldMarker.cjs +0 -20
  682. package/dist/development/markers/FieldMarker.cjs.map +0 -1
  683. package/dist/development/markers/FieldMarker.js +0 -20
  684. package/dist/development/markers/FieldMarker.js.map +0 -1
  685. package/dist/development/markers/HasManyRelationMarker.cjs +0 -29
  686. package/dist/development/markers/HasManyRelationMarker.cjs.map +0 -1
  687. package/dist/development/markers/HasManyRelationMarker.js +0 -29
  688. package/dist/development/markers/HasManyRelationMarker.js.map +0 -1
  689. package/dist/development/markers/HasOneRelationMarker.cjs +0 -23
  690. package/dist/development/markers/HasOneRelationMarker.cjs.map +0 -1
  691. package/dist/development/markers/HasOneRelationMarker.js +0 -23
  692. package/dist/development/markers/HasOneRelationMarker.js.map +0 -1
  693. package/dist/development/markers/MarkerTreeRoot.cjs.map +0 -1
  694. package/dist/development/markers/MarkerTreeRoot.js.map +0 -1
  695. package/dist/development/markers/ParentEntityMarker.cjs.map +0 -1
  696. package/dist/development/markers/ParentEntityMarker.js.map +0 -1
  697. package/dist/development/markers/PlaceholderGenerator.cjs.map +0 -1
  698. package/dist/development/markers/PlaceholderGenerator.js.map +0 -1
  699. package/dist/development/markers/PlaceholderParametersGenerator.cjs.map +0 -1
  700. package/dist/development/markers/PlaceholderParametersGenerator.js.map +0 -1
  701. package/dist/development/queryLanguage/CacheStore.cjs +0 -47
  702. package/dist/development/queryLanguage/CacheStore.cjs.map +0 -1
  703. package/dist/development/queryLanguage/CacheStore.js +0 -47
  704. package/dist/development/queryLanguage/CacheStore.js.map +0 -1
  705. package/dist/development/queryLanguage/MarkerFactory.cjs.map +0 -1
  706. package/dist/development/queryLanguage/MarkerFactory.js.map +0 -1
  707. package/dist/development/queryLanguage/Parser.cjs +0 -728
  708. package/dist/development/queryLanguage/Parser.cjs.map +0 -1
  709. package/dist/development/queryLanguage/Parser.js +0 -728
  710. package/dist/development/queryLanguage/Parser.js.map +0 -1
  711. package/dist/development/queryLanguage/QueryLanguage.cjs +0 -520
  712. package/dist/development/queryLanguage/QueryLanguage.cjs.map +0 -1
  713. package/dist/development/queryLanguage/QueryLanguage.js +0 -520
  714. package/dist/development/queryLanguage/QueryLanguage.js.map +0 -1
  715. package/dist/development/queryLanguage/QueryLanguageError.cjs.map +0 -1
  716. package/dist/development/queryLanguage/QueryLanguageError.js.map +0 -1
  717. package/dist/development/queryLanguage/tokenList.cjs +0 -150
  718. package/dist/development/queryLanguage/tokenList.cjs.map +0 -1
  719. package/dist/development/queryLanguage/tokenList.js +0 -151
  720. package/dist/development/queryLanguage/tokenList.js.map +0 -1
  721. package/dist/development/structures/BijectiveIndexedMap.cjs +0 -120
  722. package/dist/development/structures/BijectiveIndexedMap.cjs.map +0 -1
  723. package/dist/development/structures/BijectiveIndexedMap.js +0 -120
  724. package/dist/development/structures/BijectiveIndexedMap.js.map +0 -1
  725. package/dist/development/structures/LRUCache.cjs +0 -35
  726. package/dist/development/structures/LRUCache.cjs.map +0 -1
  727. package/dist/development/structures/LRUCache.js +0 -35
  728. package/dist/development/structures/LRUCache.js.map +0 -1
  729. package/dist/development/structures/WeakIdCache.cjs +0 -33
  730. package/dist/development/structures/WeakIdCache.cjs.map +0 -1
  731. package/dist/development/structures/WeakIdCache.js +0 -33
  732. package/dist/development/structures/WeakIdCache.js.map +0 -1
  733. package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.cjs.map +0 -1
  734. package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.js.map +0 -1
  735. package/dist/development/treeParameters/EntityCreationParameters.cjs.map +0 -1
  736. package/dist/development/treeParameters/EntityCreationParameters.js.map +0 -1
  737. package/dist/development/treeParameters/EntityListPreferences.cjs.map +0 -1
  738. package/dist/development/treeParameters/EntityListPreferences.js.map +0 -1
  739. package/dist/development/treeParameters/EventListenersStore.cjs.map +0 -1
  740. package/dist/development/treeParameters/EventListenersStore.js.map +0 -1
  741. package/dist/development/treeParameters/LeafField.cjs.map +0 -1
  742. package/dist/development/treeParameters/LeafField.js.map +0 -1
  743. package/dist/development/treeParameters/QualifiedEntityParameters.cjs.map +0 -1
  744. package/dist/development/treeParameters/QualifiedEntityParameters.js.map +0 -1
  745. package/dist/development/treeParameters/Relation.cjs.map +0 -1
  746. package/dist/development/treeParameters/Relation.js.map +0 -1
  747. package/dist/development/utils/Hashing.cjs.map +0 -1
  748. package/dist/development/utils/Hashing.js.map +0 -1
  749. package/dist/development/utils/TreeNodeUtils.cjs.map +0 -1
  750. package/dist/development/utils/TreeNodeUtils.js.map +0 -1
  751. package/dist/development/utils/assert.cjs +0 -11
  752. package/dist/development/utils/assert.cjs.map +0 -1
  753. package/dist/development/utils/assert.js +0 -11
  754. package/dist/development/utils/assert.js.map +0 -1
  755. package/dist/development/utils/assertNever.cjs.map +0 -1
  756. package/dist/development/utils/assertNever.js.map +0 -1
  757. package/dist/development/utils/generateEnumerabilityPreventingEntropy.cjs.map +0 -1
  758. package/dist/development/utils/generateEnumerabilityPreventingEntropy.js.map +0 -1
  759. package/dist/development/utils/isEmptyObject.cjs.map +0 -1
  760. package/dist/development/utils/isEmptyObject.js.map +0 -1
  761. package/dist/development/utils/ucfirst.cjs.map +0 -1
  762. package/dist/development/utils/ucfirst.js.map +0 -1
  763. package/dist/production/BindingError.cjs.map +0 -1
  764. package/dist/production/BindingError.js.map +0 -1
  765. package/dist/production/accessorTree/NormalizedPersistedData.cjs.map +0 -1
  766. package/dist/production/accessorTree/NormalizedPersistedData.js.map +0 -1
  767. package/dist/production/accessorTree/RuntimeId.cjs +0 -64
  768. package/dist/production/accessorTree/RuntimeId.cjs.map +0 -1
  769. package/dist/production/accessorTree/RuntimeId.js +0 -64
  770. package/dist/production/accessorTree/RuntimeId.js.map +0 -1
  771. package/dist/production/accessors/EntityAccessor.cjs.map +0 -1
  772. package/dist/production/accessors/EntityAccessor.js.map +0 -1
  773. package/dist/production/accessors/EntityListAccessor.cjs.map +0 -1
  774. package/dist/production/accessors/EntityListAccessor.js.map +0 -1
  775. package/dist/production/accessors/ErrorAccessor.cjs.map +0 -1
  776. package/dist/production/accessors/ErrorAccessor.js.map +0 -1
  777. package/dist/production/accessors/FieldAccessor.cjs.map +0 -1
  778. package/dist/production/accessors/FieldAccessor.js.map +0 -1
  779. package/dist/production/accessors/TreeRootAccessor.cjs.map +0 -1
  780. package/dist/production/accessors/TreeRootAccessor.js.map +0 -1
  781. package/dist/production/bindingTypes.cjs.map +0 -1
  782. package/dist/production/bindingTypes.js.map +0 -1
  783. package/dist/production/core/AccessorErrorManager.cjs +0 -207
  784. package/dist/production/core/AccessorErrorManager.cjs.map +0 -1
  785. package/dist/production/core/AccessorErrorManager.js +0 -207
  786. package/dist/production/core/AccessorErrorManager.js.map +0 -1
  787. package/dist/production/core/Config.cjs +0 -32
  788. package/dist/production/core/Config.cjs.map +0 -1
  789. package/dist/production/core/Config.js +0 -32
  790. package/dist/production/core/Config.js.map +0 -1
  791. package/dist/production/core/DataBinding.cjs +0 -353
  792. package/dist/production/core/DataBinding.cjs.map +0 -1
  793. package/dist/production/core/DataBinding.js +0 -353
  794. package/dist/production/core/DataBinding.js.map +0 -1
  795. package/dist/production/core/DirtinessTracker.cjs +0 -29
  796. package/dist/production/core/DirtinessTracker.cjs.map +0 -1
  797. package/dist/production/core/DirtinessTracker.js +0 -29
  798. package/dist/production/core/DirtinessTracker.js.map +0 -1
  799. package/dist/production/core/ErrorsPreprocessor.cjs +0 -181
  800. package/dist/production/core/ErrorsPreprocessor.cjs.map +0 -1
  801. package/dist/production/core/ErrorsPreprocessor.js +0 -181
  802. package/dist/production/core/ErrorsPreprocessor.js.map +0 -1
  803. package/dist/production/core/EventManager.cjs +0 -414
  804. package/dist/production/core/EventManager.cjs.map +0 -1
  805. package/dist/production/core/EventManager.js +0 -414
  806. package/dist/production/core/EventManager.js.map +0 -1
  807. package/dist/production/core/MarkerComparator.cjs.map +0 -1
  808. package/dist/production/core/MarkerComparator.js.map +0 -1
  809. package/dist/production/core/MarkerMerger.cjs +0 -252
  810. package/dist/production/core/MarkerMerger.cjs.map +0 -1
  811. package/dist/production/core/MarkerMerger.js +0 -252
  812. package/dist/production/core/MarkerMerger.js.map +0 -1
  813. package/dist/production/core/MutationGenerator.cjs +0 -665
  814. package/dist/production/core/MutationGenerator.cjs.map +0 -1
  815. package/dist/production/core/MutationGenerator.js +0 -665
  816. package/dist/production/core/MutationGenerator.js.map +0 -1
  817. package/dist/production/core/QueryGenerator.cjs.map +0 -1
  818. package/dist/production/core/QueryGenerator.js.map +0 -1
  819. package/dist/production/core/RealmKeyGenerator.cjs +0 -47
  820. package/dist/production/core/RealmKeyGenerator.cjs.map +0 -1
  821. package/dist/production/core/RealmKeyGenerator.js +0 -47
  822. package/dist/production/core/RealmKeyGenerator.js.map +0 -1
  823. package/dist/production/core/RequestResponseNormalizer.cjs.map +0 -1
  824. package/dist/production/core/RequestResponseNormalizer.js.map +0 -1
  825. package/dist/production/core/StateInitializer.cjs +0 -390
  826. package/dist/production/core/StateInitializer.cjs.map +0 -1
  827. package/dist/production/core/StateInitializer.js +0 -390
  828. package/dist/production/core/StateInitializer.js.map +0 -1
  829. package/dist/production/core/TreeAugmenter.cjs.map +0 -1
  830. package/dist/production/core/TreeAugmenter.js.map +0 -1
  831. package/dist/production/core/TreeFilterGenerator.cjs +0 -83
  832. package/dist/production/core/TreeFilterGenerator.cjs.map +0 -1
  833. package/dist/production/core/TreeFilterGenerator.js +0 -83
  834. package/dist/production/core/TreeFilterGenerator.js.map +0 -1
  835. package/dist/production/core/TreeParameterMerger.cjs.map +0 -1
  836. package/dist/production/core/TreeParameterMerger.js.map +0 -1
  837. package/dist/production/core/TreeStore.cjs +0 -182
  838. package/dist/production/core/TreeStore.cjs.map +0 -1
  839. package/dist/production/core/TreeStore.js +0 -182
  840. package/dist/production/core/TreeStore.js.map +0 -1
  841. package/dist/production/core/VariableInputTransformer.cjs.map +0 -1
  842. package/dist/production/core/VariableInputTransformer.js.map +0 -1
  843. package/dist/production/core/exceptions/ErrorLocator.cjs +0 -62
  844. package/dist/production/core/exceptions/ErrorLocator.cjs.map +0 -1
  845. package/dist/production/core/exceptions/ErrorLocator.js +0 -62
  846. package/dist/production/core/exceptions/ErrorLocator.js.map +0 -1
  847. package/dist/production/core/exceptions/LocalizedBindingError.cjs.map +0 -1
  848. package/dist/production/core/exceptions/LocalizedBindingError.js.map +0 -1
  849. package/dist/production/core/exceptions/MarkerSugarer.cjs.map +0 -1
  850. package/dist/production/core/exceptions/MarkerSugarer.js.map +0 -1
  851. package/dist/production/core/exceptions/TreeParameterSugarer.cjs.map +0 -1
  852. package/dist/production/core/exceptions/TreeParameterSugarer.js.map +0 -1
  853. package/dist/production/core/factories/createBatchUpdatesOptions.cjs.map +0 -1
  854. package/dist/production/core/factories/createBatchUpdatesOptions.js.map +0 -1
  855. package/dist/production/core/operations/EntityOperations.cjs +0 -233
  856. package/dist/production/core/operations/EntityOperations.cjs.map +0 -1
  857. package/dist/production/core/operations/EntityOperations.js +0 -233
  858. package/dist/production/core/operations/EntityOperations.js.map +0 -1
  859. package/dist/production/core/operations/FieldOperations.cjs +0 -76
  860. package/dist/production/core/operations/FieldOperations.cjs.map +0 -1
  861. package/dist/production/core/operations/FieldOperations.js +0 -76
  862. package/dist/production/core/operations/FieldOperations.js.map +0 -1
  863. package/dist/production/core/operations/ListOperations.cjs.map +0 -1
  864. package/dist/production/core/operations/ListOperations.js.map +0 -1
  865. package/dist/production/core/operations/OperationsHelpers.cjs.map +0 -1
  866. package/dist/production/core/operations/OperationsHelpers.js.map +0 -1
  867. package/dist/production/core/requestAliases/MutationAlias.cjs.map +0 -1
  868. package/dist/production/core/requestAliases/MutationAlias.js.map +0 -1
  869. package/dist/production/core/schema/Schema.cjs.map +0 -1
  870. package/dist/production/core/schema/Schema.js.map +0 -1
  871. package/dist/production/core/schema/SchemaLoader.cjs +0 -28
  872. package/dist/production/core/schema/SchemaLoader.cjs.map +0 -1
  873. package/dist/production/core/schema/SchemaLoader.js +0 -28
  874. package/dist/production/core/schema/SchemaLoader.js.map +0 -1
  875. package/dist/production/core/schema/SchemaPreprocessor.cjs.map +0 -1
  876. package/dist/production/core/schema/SchemaPreprocessor.js.map +0 -1
  877. package/dist/production/core/state/StateIterator.cjs.map +0 -1
  878. package/dist/production/core/state/StateIterator.js.map +0 -1
  879. package/dist/production/core/state/getEntityMarker.cjs.map +0 -1
  880. package/dist/production/core/state/getEntityMarker.js.map +0 -1
  881. package/dist/production/core/utils/createQueryBuilder.cjs.map +0 -1
  882. package/dist/production/core/utils/createQueryBuilder.js.map +0 -1
  883. package/dist/production/core/utils/getCombinedSignal.cjs.map +0 -1
  884. package/dist/production/core/utils/getCombinedSignal.js.map +0 -1
  885. package/dist/production/dao/Environment.cjs.map +0 -1
  886. package/dist/production/dao/Environment.js.map +0 -1
  887. package/dist/production/dao/TreeNodeEnvironmentFactory.cjs.map +0 -1
  888. package/dist/production/dao/TreeNodeEnvironmentFactory.js.map +0 -1
  889. package/dist/production/dao/VariableFieldValue.cjs.map +0 -1
  890. package/dist/production/dao/VariableFieldValue.js.map +0 -1
  891. package/dist/production/fieldHelpers/helpers/FieldHelper.cjs +0 -17
  892. package/dist/production/fieldHelpers/helpers/FieldHelper.cjs.map +0 -1
  893. package/dist/production/fieldHelpers/helpers/FieldHelper.js +0 -17
  894. package/dist/production/fieldHelpers/helpers/FieldHelper.js.map +0 -1
  895. package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.cjs.map +0 -1
  896. package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.js.map +0 -1
  897. package/dist/production/fieldHelpers/helpers/UuidFieldHelper.cjs.map +0 -1
  898. package/dist/production/fieldHelpers/helpers/UuidFieldHelper.js.map +0 -1
  899. package/dist/production/markers/EntityFieldMarkersContainer.cjs.map +0 -1
  900. package/dist/production/markers/EntityFieldMarkersContainer.js.map +0 -1
  901. package/dist/production/markers/EntityFieldsWithHoistablesMarker.cjs.map +0 -1
  902. package/dist/production/markers/EntityFieldsWithHoistablesMarker.js.map +0 -1
  903. package/dist/production/markers/EntityListSubTreeMarker.cjs +0 -23
  904. package/dist/production/markers/EntityListSubTreeMarker.cjs.map +0 -1
  905. package/dist/production/markers/EntityListSubTreeMarker.js +0 -23
  906. package/dist/production/markers/EntityListSubTreeMarker.js.map +0 -1
  907. package/dist/production/markers/EntitySubTreeMarker.cjs +0 -23
  908. package/dist/production/markers/EntitySubTreeMarker.cjs.map +0 -1
  909. package/dist/production/markers/EntitySubTreeMarker.js +0 -23
  910. package/dist/production/markers/EntitySubTreeMarker.js.map +0 -1
  911. package/dist/production/markers/FieldMarker.cjs +0 -20
  912. package/dist/production/markers/FieldMarker.cjs.map +0 -1
  913. package/dist/production/markers/FieldMarker.js +0 -20
  914. package/dist/production/markers/FieldMarker.js.map +0 -1
  915. package/dist/production/markers/HasManyRelationMarker.cjs +0 -23
  916. package/dist/production/markers/HasManyRelationMarker.cjs.map +0 -1
  917. package/dist/production/markers/HasManyRelationMarker.js +0 -23
  918. package/dist/production/markers/HasManyRelationMarker.js.map +0 -1
  919. package/dist/production/markers/HasOneRelationMarker.cjs +0 -23
  920. package/dist/production/markers/HasOneRelationMarker.cjs.map +0 -1
  921. package/dist/production/markers/HasOneRelationMarker.js +0 -23
  922. package/dist/production/markers/HasOneRelationMarker.js.map +0 -1
  923. package/dist/production/markers/MarkerTreeRoot.cjs.map +0 -1
  924. package/dist/production/markers/MarkerTreeRoot.js.map +0 -1
  925. package/dist/production/markers/ParentEntityMarker.cjs.map +0 -1
  926. package/dist/production/markers/ParentEntityMarker.js.map +0 -1
  927. package/dist/production/markers/PlaceholderGenerator.cjs.map +0 -1
  928. package/dist/production/markers/PlaceholderGenerator.js.map +0 -1
  929. package/dist/production/markers/PlaceholderParametersGenerator.cjs.map +0 -1
  930. package/dist/production/markers/PlaceholderParametersGenerator.js.map +0 -1
  931. package/dist/production/queryLanguage/CacheStore.cjs +0 -47
  932. package/dist/production/queryLanguage/CacheStore.cjs.map +0 -1
  933. package/dist/production/queryLanguage/CacheStore.js +0 -47
  934. package/dist/production/queryLanguage/CacheStore.js.map +0 -1
  935. package/dist/production/queryLanguage/MarkerFactory.cjs.map +0 -1
  936. package/dist/production/queryLanguage/MarkerFactory.js.map +0 -1
  937. package/dist/production/queryLanguage/Parser.cjs +0 -725
  938. package/dist/production/queryLanguage/Parser.cjs.map +0 -1
  939. package/dist/production/queryLanguage/Parser.js +0 -725
  940. package/dist/production/queryLanguage/Parser.js.map +0 -1
  941. package/dist/production/queryLanguage/QueryLanguage.cjs +0 -517
  942. package/dist/production/queryLanguage/QueryLanguage.cjs.map +0 -1
  943. package/dist/production/queryLanguage/QueryLanguage.js +0 -517
  944. package/dist/production/queryLanguage/QueryLanguage.js.map +0 -1
  945. package/dist/production/queryLanguage/QueryLanguageError.cjs.map +0 -1
  946. package/dist/production/queryLanguage/QueryLanguageError.js.map +0 -1
  947. package/dist/production/queryLanguage/tokenList.cjs +0 -150
  948. package/dist/production/queryLanguage/tokenList.cjs.map +0 -1
  949. package/dist/production/queryLanguage/tokenList.js +0 -151
  950. package/dist/production/queryLanguage/tokenList.js.map +0 -1
  951. package/dist/production/structures/BijectiveIndexedMap.cjs +0 -120
  952. package/dist/production/structures/BijectiveIndexedMap.cjs.map +0 -1
  953. package/dist/production/structures/BijectiveIndexedMap.js +0 -120
  954. package/dist/production/structures/BijectiveIndexedMap.js.map +0 -1
  955. package/dist/production/structures/LRUCache.cjs +0 -35
  956. package/dist/production/structures/LRUCache.cjs.map +0 -1
  957. package/dist/production/structures/LRUCache.js +0 -35
  958. package/dist/production/structures/LRUCache.js.map +0 -1
  959. package/dist/production/structures/WeakIdCache.cjs +0 -33
  960. package/dist/production/structures/WeakIdCache.cjs.map +0 -1
  961. package/dist/production/structures/WeakIdCache.js +0 -33
  962. package/dist/production/structures/WeakIdCache.js.map +0 -1
  963. package/dist/production/treeParameterHelpers/wrapFilterInHasOnes.cjs.map +0 -1
  964. package/dist/production/treeParameterHelpers/wrapFilterInHasOnes.js.map +0 -1
  965. package/dist/production/treeParameters/EntityCreationParameters.cjs.map +0 -1
  966. package/dist/production/treeParameters/EntityCreationParameters.js.map +0 -1
  967. package/dist/production/treeParameters/EntityListPreferences.cjs.map +0 -1
  968. package/dist/production/treeParameters/EntityListPreferences.js.map +0 -1
  969. package/dist/production/treeParameters/EventListenersStore.cjs.map +0 -1
  970. package/dist/production/treeParameters/EventListenersStore.js.map +0 -1
  971. package/dist/production/treeParameters/LeafField.cjs.map +0 -1
  972. package/dist/production/treeParameters/LeafField.js.map +0 -1
  973. package/dist/production/treeParameters/QualifiedEntityParameters.cjs.map +0 -1
  974. package/dist/production/treeParameters/QualifiedEntityParameters.js.map +0 -1
  975. package/dist/production/treeParameters/Relation.cjs.map +0 -1
  976. package/dist/production/treeParameters/Relation.js.map +0 -1
  977. package/dist/production/utils/Hashing.cjs.map +0 -1
  978. package/dist/production/utils/Hashing.js.map +0 -1
  979. package/dist/production/utils/TreeNodeUtils.cjs.map +0 -1
  980. package/dist/production/utils/TreeNodeUtils.js.map +0 -1
  981. package/dist/production/utils/assert.cjs +0 -11
  982. package/dist/production/utils/assert.cjs.map +0 -1
  983. package/dist/production/utils/assert.js +0 -11
  984. package/dist/production/utils/assert.js.map +0 -1
  985. package/dist/production/utils/assertNever.cjs.map +0 -1
  986. package/dist/production/utils/assertNever.js.map +0 -1
  987. package/dist/production/utils/generateEnumerabilityPreventingEntropy.cjs.map +0 -1
  988. package/dist/production/utils/generateEnumerabilityPreventingEntropy.js.map +0 -1
  989. package/dist/production/utils/isEmptyObject.cjs.map +0 -1
  990. package/dist/production/utils/isEmptyObject.js.map +0 -1
  991. package/dist/production/utils/ucfirst.cjs.map +0 -1
  992. package/dist/production/utils/ucfirst.js.map +0 -1
  993. /package/dist/development/{BindingError.cjs → src/BindingError.cjs} +0 -0
  994. /package/dist/development/{BindingError.js → src/BindingError.js} +0 -0
  995. /package/dist/development/{accessorTree → src/accessorTree}/NormalizedPersistedData.cjs +0 -0
  996. /package/dist/development/{accessorTree → src/accessorTree}/NormalizedPersistedData.js +0 -0
  997. /package/dist/development/{accessors → src/accessors}/EntityAccessor.cjs +0 -0
  998. /package/dist/development/{accessors → src/accessors}/EntityAccessor.js +0 -0
  999. /package/dist/development/{accessors → src/accessors}/EntityListAccessor.cjs +0 -0
  1000. /package/dist/development/{accessors → src/accessors}/EntityListAccessor.js +0 -0
  1001. /package/dist/development/{accessors → src/accessors}/ErrorAccessor.cjs +0 -0
  1002. /package/dist/development/{accessors → src/accessors}/ErrorAccessor.js +0 -0
  1003. /package/dist/development/{accessors → src/accessors}/FieldAccessor.cjs +0 -0
  1004. /package/dist/development/{accessors → src/accessors}/FieldAccessor.js +0 -0
  1005. /package/dist/development/{accessors → src/accessors}/TreeRootAccessor.cjs +0 -0
  1006. /package/dist/development/{accessors → src/accessors}/TreeRootAccessor.js +0 -0
  1007. /package/dist/development/{bindingTypes.cjs → src/bindingTypes.cjs} +0 -0
  1008. /package/dist/development/{bindingTypes.js → src/bindingTypes.js} +0 -0
  1009. /package/dist/development/{core → src/core}/MarkerComparator.cjs +0 -0
  1010. /package/dist/development/{core → src/core}/MarkerComparator.js +0 -0
  1011. /package/dist/development/{core → src/core}/QueryGenerator.cjs +0 -0
  1012. /package/dist/development/{core → src/core}/QueryGenerator.js +0 -0
  1013. /package/dist/development/{core → src/core}/RequestResponseNormalizer.cjs +0 -0
  1014. /package/dist/development/{core → src/core}/RequestResponseNormalizer.js +0 -0
  1015. /package/dist/development/{core → src/core}/TreeAugmenter.cjs +0 -0
  1016. /package/dist/development/{core → src/core}/TreeAugmenter.js +0 -0
  1017. /package/dist/development/{core → src/core}/TreeParameterMerger.cjs +0 -0
  1018. /package/dist/development/{core → src/core}/TreeParameterMerger.js +0 -0
  1019. /package/dist/development/{core → src/core}/VariableInputTransformer.cjs +0 -0
  1020. /package/dist/development/{core → src/core}/VariableInputTransformer.js +0 -0
  1021. /package/dist/development/{core → src/core}/exceptions/LocalizedBindingError.cjs +0 -0
  1022. /package/dist/development/{core → src/core}/exceptions/LocalizedBindingError.js +0 -0
  1023. /package/dist/development/{core → src/core}/exceptions/MarkerSugarer.cjs +0 -0
  1024. /package/dist/development/{core → src/core}/exceptions/MarkerSugarer.js +0 -0
  1025. /package/dist/development/{core → src/core}/exceptions/TreeParameterSugarer.cjs +0 -0
  1026. /package/dist/development/{core → src/core}/exceptions/TreeParameterSugarer.js +0 -0
  1027. /package/dist/development/{core → src/core}/factories/createBatchUpdatesOptions.cjs +0 -0
  1028. /package/dist/development/{core → src/core}/factories/createBatchUpdatesOptions.js +0 -0
  1029. /package/dist/development/{core → src/core}/operations/FieldOperations.cjs +0 -0
  1030. /package/dist/development/{core → src/core}/operations/FieldOperations.js +0 -0
  1031. /package/dist/development/{core → src/core}/operations/ListOperations.cjs +0 -0
  1032. /package/dist/development/{core → src/core}/operations/ListOperations.js +0 -0
  1033. /package/dist/development/{core → src/core}/operations/OperationsHelpers.cjs +0 -0
  1034. /package/dist/development/{core → src/core}/operations/OperationsHelpers.js +0 -0
  1035. /package/dist/development/{core → src/core}/requestAliases/MutationAlias.cjs +0 -0
  1036. /package/dist/development/{core → src/core}/requestAliases/MutationAlias.js +0 -0
  1037. /package/dist/development/{core → src/core}/schema/Schema.cjs +0 -0
  1038. /package/dist/development/{core → src/core}/schema/Schema.js +0 -0
  1039. /package/dist/development/{core → src/core}/schema/SchemaPreprocessor.cjs +0 -0
  1040. /package/dist/development/{core → src/core}/schema/SchemaPreprocessor.js +0 -0
  1041. /package/dist/development/{core → src/core}/state/StateIterator.cjs +0 -0
  1042. /package/dist/development/{core → src/core}/state/StateIterator.js +0 -0
  1043. /package/dist/development/{core → src/core}/state/getEntityMarker.cjs +0 -0
  1044. /package/dist/development/{core → src/core}/state/getEntityMarker.js +0 -0
  1045. /package/dist/development/{core → src/core}/utils/createQueryBuilder.cjs +0 -0
  1046. /package/dist/development/{core → src/core}/utils/createQueryBuilder.js +0 -0
  1047. /package/dist/development/{core → src/core}/utils/getCombinedSignal.cjs +0 -0
  1048. /package/dist/development/{core → src/core}/utils/getCombinedSignal.js +0 -0
  1049. /package/dist/development/{dao → src/dao}/Environment.cjs +0 -0
  1050. /package/dist/development/{dao → src/dao}/Environment.js +0 -0
  1051. /package/dist/development/{dao → src/dao}/TreeNodeEnvironmentFactory.cjs +0 -0
  1052. /package/dist/development/{dao → src/dao}/TreeNodeEnvironmentFactory.js +0 -0
  1053. /package/dist/development/{dao → src/dao}/VariableFieldValue.cjs +0 -0
  1054. /package/dist/development/{dao → src/dao}/VariableFieldValue.js +0 -0
  1055. /package/dist/development/{fieldHelpers → src/fieldHelpers}/helpers/TemporalFieldHelper.cjs +0 -0
  1056. /package/dist/development/{fieldHelpers → src/fieldHelpers}/helpers/TemporalFieldHelper.js +0 -0
  1057. /package/dist/development/{fieldHelpers → src/fieldHelpers}/helpers/UuidFieldHelper.cjs +0 -0
  1058. /package/dist/development/{fieldHelpers → src/fieldHelpers}/helpers/UuidFieldHelper.js +0 -0
  1059. /package/dist/development/{markers → src/markers}/EntityFieldMarkersContainer.cjs +0 -0
  1060. /package/dist/development/{markers → src/markers}/EntityFieldMarkersContainer.js +0 -0
  1061. /package/dist/development/{markers → src/markers}/EntityFieldsWithHoistablesMarker.cjs +0 -0
  1062. /package/dist/development/{markers → src/markers}/EntityFieldsWithHoistablesMarker.js +0 -0
  1063. /package/dist/development/{markers → src/markers}/MarkerTreeRoot.cjs +0 -0
  1064. /package/dist/development/{markers → src/markers}/MarkerTreeRoot.js +0 -0
  1065. /package/dist/development/{markers → src/markers}/ParentEntityMarker.cjs +0 -0
  1066. /package/dist/development/{markers → src/markers}/ParentEntityMarker.js +0 -0
  1067. /package/dist/development/{markers → src/markers}/PlaceholderGenerator.cjs +0 -0
  1068. /package/dist/development/{markers → src/markers}/PlaceholderGenerator.js +0 -0
  1069. /package/dist/development/{markers → src/markers}/PlaceholderParametersGenerator.cjs +0 -0
  1070. /package/dist/development/{markers → src/markers}/PlaceholderParametersGenerator.js +0 -0
  1071. /package/dist/development/{queryLanguage → src/queryLanguage}/MarkerFactory.cjs +0 -0
  1072. /package/dist/development/{queryLanguage → src/queryLanguage}/MarkerFactory.js +0 -0
  1073. /package/dist/development/{queryLanguage → src/queryLanguage}/QueryLanguageError.cjs +0 -0
  1074. /package/dist/development/{queryLanguage → src/queryLanguage}/QueryLanguageError.js +0 -0
  1075. /package/dist/development/{treeParameterHelpers → src/treeParameterHelpers}/wrapFilterInHasOnes.cjs +0 -0
  1076. /package/dist/development/{treeParameterHelpers → src/treeParameterHelpers}/wrapFilterInHasOnes.js +0 -0
  1077. /package/dist/development/{treeParameters → src/treeParameters}/EntityCreationParameters.cjs +0 -0
  1078. /package/dist/development/{treeParameters → src/treeParameters}/EntityCreationParameters.js +0 -0
  1079. /package/dist/development/{treeParameters → src/treeParameters}/EntityListPreferences.cjs +0 -0
  1080. /package/dist/development/{treeParameters → src/treeParameters}/EntityListPreferences.js +0 -0
  1081. /package/dist/development/{treeParameters → src/treeParameters}/EventListenersStore.cjs +0 -0
  1082. /package/dist/development/{treeParameters → src/treeParameters}/EventListenersStore.js +0 -0
  1083. /package/dist/development/{treeParameters → src/treeParameters}/LeafField.cjs +0 -0
  1084. /package/dist/development/{treeParameters → src/treeParameters}/LeafField.js +0 -0
  1085. /package/dist/development/{treeParameters → src/treeParameters}/QualifiedEntityParameters.cjs +0 -0
  1086. /package/dist/development/{treeParameters → src/treeParameters}/QualifiedEntityParameters.js +0 -0
  1087. /package/dist/development/{treeParameters → src/treeParameters}/Relation.cjs +0 -0
  1088. /package/dist/development/{treeParameters → src/treeParameters}/Relation.js +0 -0
  1089. /package/dist/development/{utils → src/utils}/Hashing.cjs +0 -0
  1090. /package/dist/development/{utils → src/utils}/Hashing.js +0 -0
  1091. /package/dist/development/{utils → src/utils}/TreeNodeUtils.cjs +0 -0
  1092. /package/dist/development/{utils → src/utils}/TreeNodeUtils.js +0 -0
  1093. /package/dist/development/{utils → src/utils}/assertNever.cjs +0 -0
  1094. /package/dist/development/{utils → src/utils}/assertNever.js +0 -0
  1095. /package/dist/development/{utils → src/utils}/generateEnumerabilityPreventingEntropy.cjs +0 -0
  1096. /package/dist/development/{utils → src/utils}/generateEnumerabilityPreventingEntropy.js +0 -0
  1097. /package/dist/development/{utils → src/utils}/isEmptyObject.cjs +0 -0
  1098. /package/dist/development/{utils → src/utils}/isEmptyObject.js +0 -0
  1099. /package/dist/development/{utils → src/utils}/ucfirst.cjs +0 -0
  1100. /package/dist/development/{utils → src/utils}/ucfirst.js +0 -0
  1101. /package/dist/production/{BindingError.cjs → src/BindingError.cjs} +0 -0
  1102. /package/dist/production/{BindingError.js → src/BindingError.js} +0 -0
  1103. /package/dist/production/{accessorTree → src/accessorTree}/NormalizedPersistedData.cjs +0 -0
  1104. /package/dist/production/{accessorTree → src/accessorTree}/NormalizedPersistedData.js +0 -0
  1105. /package/dist/production/{accessors → src/accessors}/EntityAccessor.cjs +0 -0
  1106. /package/dist/production/{accessors → src/accessors}/EntityAccessor.js +0 -0
  1107. /package/dist/production/{accessors → src/accessors}/EntityListAccessor.cjs +0 -0
  1108. /package/dist/production/{accessors → src/accessors}/EntityListAccessor.js +0 -0
  1109. /package/dist/production/{accessors → src/accessors}/ErrorAccessor.cjs +0 -0
  1110. /package/dist/production/{accessors → src/accessors}/ErrorAccessor.js +0 -0
  1111. /package/dist/production/{accessors → src/accessors}/FieldAccessor.cjs +0 -0
  1112. /package/dist/production/{accessors → src/accessors}/FieldAccessor.js +0 -0
  1113. /package/dist/production/{accessors → src/accessors}/TreeRootAccessor.cjs +0 -0
  1114. /package/dist/production/{accessors → src/accessors}/TreeRootAccessor.js +0 -0
  1115. /package/dist/production/{bindingTypes.cjs → src/bindingTypes.cjs} +0 -0
  1116. /package/dist/production/{bindingTypes.js → src/bindingTypes.js} +0 -0
  1117. /package/dist/production/{core → src/core}/MarkerComparator.cjs +0 -0
  1118. /package/dist/production/{core → src/core}/MarkerComparator.js +0 -0
  1119. /package/dist/production/{core → src/core}/QueryGenerator.cjs +0 -0
  1120. /package/dist/production/{core → src/core}/QueryGenerator.js +0 -0
  1121. /package/dist/production/{core → src/core}/RequestResponseNormalizer.cjs +0 -0
  1122. /package/dist/production/{core → src/core}/RequestResponseNormalizer.js +0 -0
  1123. /package/dist/production/{core → src/core}/TreeAugmenter.cjs +0 -0
  1124. /package/dist/production/{core → src/core}/TreeAugmenter.js +0 -0
  1125. /package/dist/production/{core → src/core}/TreeParameterMerger.cjs +0 -0
  1126. /package/dist/production/{core → src/core}/TreeParameterMerger.js +0 -0
  1127. /package/dist/production/{core → src/core}/VariableInputTransformer.cjs +0 -0
  1128. /package/dist/production/{core → src/core}/VariableInputTransformer.js +0 -0
  1129. /package/dist/production/{core → src/core}/exceptions/LocalizedBindingError.cjs +0 -0
  1130. /package/dist/production/{core → src/core}/exceptions/LocalizedBindingError.js +0 -0
  1131. /package/dist/production/{core → src/core}/exceptions/MarkerSugarer.cjs +0 -0
  1132. /package/dist/production/{core → src/core}/exceptions/MarkerSugarer.js +0 -0
  1133. /package/dist/production/{core → src/core}/exceptions/TreeParameterSugarer.cjs +0 -0
  1134. /package/dist/production/{core → src/core}/exceptions/TreeParameterSugarer.js +0 -0
  1135. /package/dist/production/{core → src/core}/factories/createBatchUpdatesOptions.cjs +0 -0
  1136. /package/dist/production/{core → src/core}/factories/createBatchUpdatesOptions.js +0 -0
  1137. /package/dist/production/{core → src/core}/operations/ListOperations.cjs +0 -0
  1138. /package/dist/production/{core → src/core}/operations/ListOperations.js +0 -0
  1139. /package/dist/production/{core → src/core}/operations/OperationsHelpers.cjs +0 -0
  1140. /package/dist/production/{core → src/core}/operations/OperationsHelpers.js +0 -0
  1141. /package/dist/production/{core → src/core}/requestAliases/MutationAlias.cjs +0 -0
  1142. /package/dist/production/{core → src/core}/requestAliases/MutationAlias.js +0 -0
  1143. /package/dist/production/{core → src/core}/schema/Schema.cjs +0 -0
  1144. /package/dist/production/{core → src/core}/schema/Schema.js +0 -0
  1145. /package/dist/production/{core → src/core}/schema/SchemaPreprocessor.cjs +0 -0
  1146. /package/dist/production/{core → src/core}/schema/SchemaPreprocessor.js +0 -0
  1147. /package/dist/production/{core → src/core}/state/StateIterator.cjs +0 -0
  1148. /package/dist/production/{core → src/core}/state/StateIterator.js +0 -0
  1149. /package/dist/production/{core → src/core}/state/getEntityMarker.cjs +0 -0
  1150. /package/dist/production/{core → src/core}/state/getEntityMarker.js +0 -0
  1151. /package/dist/production/{core → src/core}/utils/createQueryBuilder.cjs +0 -0
  1152. /package/dist/production/{core → src/core}/utils/createQueryBuilder.js +0 -0
  1153. /package/dist/production/{core → src/core}/utils/getCombinedSignal.cjs +0 -0
  1154. /package/dist/production/{core → src/core}/utils/getCombinedSignal.js +0 -0
  1155. /package/dist/production/{dao → src/dao}/Environment.cjs +0 -0
  1156. /package/dist/production/{dao → src/dao}/Environment.js +0 -0
  1157. /package/dist/production/{dao → src/dao}/TreeNodeEnvironmentFactory.cjs +0 -0
  1158. /package/dist/production/{dao → src/dao}/TreeNodeEnvironmentFactory.js +0 -0
  1159. /package/dist/production/{dao → src/dao}/VariableFieldValue.cjs +0 -0
  1160. /package/dist/production/{dao → src/dao}/VariableFieldValue.js +0 -0
  1161. /package/dist/production/{fieldHelpers → src/fieldHelpers}/helpers/TemporalFieldHelper.cjs +0 -0
  1162. /package/dist/production/{fieldHelpers → src/fieldHelpers}/helpers/TemporalFieldHelper.js +0 -0
  1163. /package/dist/production/{fieldHelpers → src/fieldHelpers}/helpers/UuidFieldHelper.cjs +0 -0
  1164. /package/dist/production/{fieldHelpers → src/fieldHelpers}/helpers/UuidFieldHelper.js +0 -0
  1165. /package/dist/production/{markers → src/markers}/EntityFieldMarkersContainer.cjs +0 -0
  1166. /package/dist/production/{markers → src/markers}/EntityFieldMarkersContainer.js +0 -0
  1167. /package/dist/production/{markers → src/markers}/EntityFieldsWithHoistablesMarker.cjs +0 -0
  1168. /package/dist/production/{markers → src/markers}/EntityFieldsWithHoistablesMarker.js +0 -0
  1169. /package/dist/production/{markers → src/markers}/MarkerTreeRoot.cjs +0 -0
  1170. /package/dist/production/{markers → src/markers}/MarkerTreeRoot.js +0 -0
  1171. /package/dist/production/{markers → src/markers}/ParentEntityMarker.cjs +0 -0
  1172. /package/dist/production/{markers → src/markers}/ParentEntityMarker.js +0 -0
  1173. /package/dist/production/{markers → src/markers}/PlaceholderGenerator.cjs +0 -0
  1174. /package/dist/production/{markers → src/markers}/PlaceholderGenerator.js +0 -0
  1175. /package/dist/production/{markers → src/markers}/PlaceholderParametersGenerator.cjs +0 -0
  1176. /package/dist/production/{markers → src/markers}/PlaceholderParametersGenerator.js +0 -0
  1177. /package/dist/production/{queryLanguage → src/queryLanguage}/MarkerFactory.cjs +0 -0
  1178. /package/dist/production/{queryLanguage → src/queryLanguage}/MarkerFactory.js +0 -0
  1179. /package/dist/production/{queryLanguage → src/queryLanguage}/QueryLanguageError.cjs +0 -0
  1180. /package/dist/production/{queryLanguage → src/queryLanguage}/QueryLanguageError.js +0 -0
  1181. /package/dist/production/{treeParameterHelpers → src/treeParameterHelpers}/wrapFilterInHasOnes.cjs +0 -0
  1182. /package/dist/production/{treeParameterHelpers → src/treeParameterHelpers}/wrapFilterInHasOnes.js +0 -0
  1183. /package/dist/production/{treeParameters → src/treeParameters}/EntityCreationParameters.cjs +0 -0
  1184. /package/dist/production/{treeParameters → src/treeParameters}/EntityCreationParameters.js +0 -0
  1185. /package/dist/production/{treeParameters → src/treeParameters}/EntityListPreferences.cjs +0 -0
  1186. /package/dist/production/{treeParameters → src/treeParameters}/EntityListPreferences.js +0 -0
  1187. /package/dist/production/{treeParameters → src/treeParameters}/EventListenersStore.cjs +0 -0
  1188. /package/dist/production/{treeParameters → src/treeParameters}/EventListenersStore.js +0 -0
  1189. /package/dist/production/{treeParameters → src/treeParameters}/LeafField.cjs +0 -0
  1190. /package/dist/production/{treeParameters → src/treeParameters}/LeafField.js +0 -0
  1191. /package/dist/production/{treeParameters → src/treeParameters}/QualifiedEntityParameters.cjs +0 -0
  1192. /package/dist/production/{treeParameters → src/treeParameters}/QualifiedEntityParameters.js +0 -0
  1193. /package/dist/production/{treeParameters → src/treeParameters}/Relation.cjs +0 -0
  1194. /package/dist/production/{treeParameters → src/treeParameters}/Relation.js +0 -0
  1195. /package/dist/production/{utils → src/utils}/Hashing.cjs +0 -0
  1196. /package/dist/production/{utils → src/utils}/Hashing.js +0 -0
  1197. /package/dist/production/{utils → src/utils}/TreeNodeUtils.cjs +0 -0
  1198. /package/dist/production/{utils → src/utils}/TreeNodeUtils.js +0 -0
  1199. /package/dist/production/{utils → src/utils}/assertNever.cjs +0 -0
  1200. /package/dist/production/{utils → src/utils}/assertNever.js +0 -0
  1201. /package/dist/production/{utils → src/utils}/generateEnumerabilityPreventingEntropy.cjs +0 -0
  1202. /package/dist/production/{utils → src/utils}/generateEnumerabilityPreventingEntropy.js +0 -0
  1203. /package/dist/production/{utils → src/utils}/isEmptyObject.cjs +0 -0
  1204. /package/dist/production/{utils → src/utils}/isEmptyObject.js +0 -0
  1205. /package/dist/production/{utils → src/utils}/ucfirst.cjs +0 -0
  1206. /package/dist/production/{utils → src/utils}/ucfirst.js +0 -0
@@ -1,414 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
- var __publicField = (obj, key, value) => {
5
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
6
- return value;
7
- };
8
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
- const BindingError = require("../BindingError.cjs");
10
- const getEntityMarker = require("./state/getEntityMarker.cjs");
11
- const StateIterator = require("./state/StateIterator.cjs");
12
- const assertNever = require("../utils/assertNever.cjs");
13
- class EventManager {
14
- constructor(asyncBatchUpdatesOptions, batchUpdatesOptions, config, dirtinessTracker, onUpdate, treeStore, batchedUpdates) {
15
- __publicField(this, "transactionDepth", 0);
16
- __publicField(this, "isFrozenWhileUpdating", false);
17
- // This should ideally not exists as it should be synonymous to `this.ongoingPersistOperation !== undefined`
18
- // but it makes persist-related promise juggling significantly more straightforward.
19
- __publicField(this, "isMutating", false);
20
- __publicField(this, "ongoingPersistOperation");
21
- __publicField(this, "previousMetadata");
22
- __publicField(this, "newlyInitializedWithListeners", /* @__PURE__ */ new Set());
23
- __publicField(this, "pendingWithBeforeUpdate", /* @__PURE__ */ new Set());
24
- __publicField(this, "rootsWithPendingUpdates", /* @__PURE__ */ new Set());
25
- this.asyncBatchUpdatesOptions = asyncBatchUpdatesOptions;
26
- this.batchUpdatesOptions = batchUpdatesOptions;
27
- this.config = config;
28
- this.dirtinessTracker = dirtinessTracker;
29
- this.onUpdate = onUpdate;
30
- this.treeStore = treeStore;
31
- this.batchedUpdates = batchedUpdates;
32
- }
33
- async persistOperation(operation) {
34
- if (this.transactionDepth > 0) {
35
- throw new BindingError.BindingError(`Cannot trigger a persist whilst batching updates!`);
36
- }
37
- const ongoingOperation = this.ongoingPersistOperation;
38
- if (ongoingOperation !== void 0) {
39
- return await ongoingOperation;
40
- }
41
- return await (this.ongoingPersistOperation = new Promise(async (resolve, reject) => {
42
- this.isMutating = true;
43
- this.flushUpdates();
44
- try {
45
- resolve(await this.asyncOperation(operation));
46
- } catch (e) {
47
- console.error("PersistError", e);
48
- reject(e);
49
- } finally {
50
- this.ongoingPersistOperation = void 0;
51
- this.isMutating = false;
52
- this.flushUpdates();
53
- }
54
- }));
55
- }
56
- syncTransaction(transaction) {
57
- try {
58
- this.transactionDepth++;
59
- return transaction();
60
- } finally {
61
- this.transactionDepth--;
62
- }
63
- }
64
- syncOperation(operation) {
65
- const result = this.syncTransaction(operation);
66
- this.flushUpdates();
67
- return result;
68
- }
69
- async asyncTransaction(transaction) {
70
- try {
71
- this.transactionDepth++;
72
- return await transaction();
73
- } finally {
74
- this.transactionDepth--;
75
- }
76
- }
77
- async asyncOperation(operation) {
78
- const result = await this.asyncTransaction(operation);
79
- this.flushUpdates();
80
- return result;
81
- }
82
- flushUpdates() {
83
- if (this.transactionDepth > 0) {
84
- return;
85
- }
86
- if (this.isFrozenWhileUpdating) {
87
- throw new BindingError.BindingError(
88
- `Trying to perform an update while the whole accessor tree is already updating. This is most likely caused by updating the accessor tree while rendering or from within the 'update' event handler, which is a no-op. If you wish to mutate the tree in reaction to other changes, use the 'beforeUpdate' event.`
89
- );
90
- }
91
- const newMetadata = this.getNewUpdateMetadata();
92
- if (!this.shouldFlushUpdates(newMetadata)) {
93
- return;
94
- }
95
- this.batchedUpdates(() => {
96
- this.isFrozenWhileUpdating = true;
97
- this.triggerBeforeFlushEvents();
98
- this.onUpdate(newMetadata);
99
- this.flushPendingAccessorUpdates(Array.from(this.rootsWithPendingUpdates));
100
- this.rootsWithPendingUpdates.clear();
101
- this.isFrozenWhileUpdating = false;
102
- this.previousMetadata = newMetadata;
103
- });
104
- }
105
- getNewUpdateMetadata() {
106
- return {
107
- isMutating: this.isMutating
108
- };
109
- }
110
- shouldFlushUpdates(newMetadata) {
111
- if (this.transactionDepth > 0) {
112
- return false;
113
- }
114
- if (this.previousMetadata === void 0) {
115
- return true;
116
- }
117
- if (this.rootsWithPendingUpdates.size) {
118
- return true;
119
- }
120
- for (const key in newMetadata) {
121
- const fromPrevious = this.previousMetadata[key];
122
- const fromNew = newMetadata[key];
123
- if (!Object.is(fromPrevious, fromNew)) {
124
- return true;
125
- }
126
- }
127
- return false;
128
- }
129
- registerNewlyInitialized(newlyInitialized) {
130
- const initializeListeners = this.getEventListeners(newlyInitialized, { type: "initialize" });
131
- if (initializeListeners === void 0) {
132
- return;
133
- }
134
- this.newlyInitializedWithListeners.add(newlyInitialized);
135
- if (this.transactionDepth === 0) {
136
- this.triggerOnInitialize();
137
- }
138
- }
139
- registerUpdatedConnection(parentState, placeholderName) {
140
- if (parentState.fieldsWithPendingConnectionUpdates === void 0) {
141
- parentState.fieldsWithPendingConnectionUpdates = /* @__PURE__ */ new Set();
142
- }
143
- const marker = getEntityMarker.getEntityMarker(parentState);
144
- placeholders:
145
- for (const [fieldName, placeholdersByField] of marker.fields.placeholders) {
146
- if (typeof placeholdersByField === "string") {
147
- if (placeholdersByField === placeholderName) {
148
- parentState.fieldsWithPendingConnectionUpdates.add(fieldName);
149
- }
150
- } else {
151
- for (const placeholderByFieldName of placeholdersByField) {
152
- if (placeholderByFieldName === placeholderName) {
153
- parentState.fieldsWithPendingConnectionUpdates.add(fieldName);
154
- continue placeholders;
155
- }
156
- }
157
- }
158
- }
159
- }
160
- registerJustUpdated(justUpdated, changesDelta) {
161
- const beforeUpdateListeners = this.getEventListeners(justUpdated, { type: "beforeUpdate" });
162
- if (beforeUpdateListeners !== void 0) {
163
- this.pendingWithBeforeUpdate.add(justUpdated);
164
- }
165
- justUpdated.accessor = void 0;
166
- switch (justUpdated.type) {
167
- case "entityRealm":
168
- case "entityList": {
169
- justUpdated.unpersistedChangesCount += changesDelta;
170
- const parent = justUpdated.blueprint.parent;
171
- if (parent === void 0) {
172
- this.rootsWithPendingUpdates.add(justUpdated);
173
- if (!(justUpdated.blueprint.type === "subTree" && justUpdated.blueprint.marker.parameters.isCreating && justUpdated.blueprint.marker.parameters.isUnpersisted)) {
174
- this.dirtinessTracker.increaseBy(changesDelta);
175
- }
176
- } else {
177
- if (!parent.childrenWithPendingUpdates) {
178
- parent.childrenWithPendingUpdates = /* @__PURE__ */ new Set();
179
- }
180
- parent.childrenWithPendingUpdates.add(justUpdated);
181
- this.registerJustUpdated(parent, changesDelta);
182
- }
183
- break;
184
- }
185
- case "field": {
186
- const parent = justUpdated.parent;
187
- if (!parent.childrenWithPendingUpdates) {
188
- parent.childrenWithPendingUpdates = /* @__PURE__ */ new Set();
189
- }
190
- parent.childrenWithPendingUpdates.add(justUpdated);
191
- this.registerJustUpdated(justUpdated.parent, changesDelta);
192
- break;
193
- }
194
- }
195
- }
196
- flushPendingAccessorUpdates(rootStates) {
197
- const agenda = rootStates;
198
- for (const state of agenda) {
199
- const updateListeners = state.type === "field" ? this.getEventDispatchers(state, { type: "update" }, [state.getAccessor()]) : state.type === "entityRealm" ? this.getEventDispatchers(state, { type: "update" }, [state.getAccessor()]) : this.getEventDispatchers(state, { type: "update" }, [state.getAccessor()]);
200
- if (updateListeners !== void 0) {
201
- for (const handler of updateListeners) {
202
- handler();
203
- }
204
- }
205
- if (state.type === "entityRealm" && state.fieldsWithPendingConnectionUpdates) {
206
- for (const updatedField of state.fieldsWithPendingConnectionUpdates) {
207
- const listeners = this.getEventListeners(state, { type: "connectionUpdate", key: updatedField });
208
- if (!listeners) {
209
- continue;
210
- }
211
- for (const listener of listeners) {
212
- listener(state.getAccessor());
213
- }
214
- }
215
- }
216
- switch (state.type) {
217
- case "entityRealm":
218
- case "entityList": {
219
- if (state.childrenWithPendingUpdates !== void 0) {
220
- for (const childState of state.childrenWithPendingUpdates) {
221
- agenda.push(childState);
222
- }
223
- state.childrenWithPendingUpdates.clear();
224
- }
225
- break;
226
- }
227
- case "field":
228
- break;
229
- default:
230
- assertNever.assertNever();
231
- }
232
- }
233
- }
234
- async triggerAsyncMutatingEvent(eventType, options) {
235
- await this.asyncTransaction(async () => {
236
- const callbackQueue = [];
237
- for (const [, subTreeState] of StateIterator.StateIterator.eachRootState(this.treeStore)) {
238
- for (const iNode of StateIterator.StateIterator.depthFirstINodes(subTreeState)) {
239
- const listeners = this.getEventListeners(iNode, { type: eventType }) ?? [];
240
- for (const listener of listeners) {
241
- callbackQueue.push([iNode, listener]);
242
- }
243
- }
244
- }
245
- for (let waterfallDepth = 0; waterfallDepth < this.config.getValue(`${eventType}SettleLimit`); waterfallDepth++) {
246
- const promiseReturns = [];
247
- const correspondingStates = [];
248
- if (callbackQueue.length === 0) {
249
- break;
250
- }
251
- for (const [state, callback] of callbackQueue) {
252
- correspondingStates.push(state);
253
- const changesCountBefore2 = this.dirtinessTracker.getTotalTouchCount();
254
- let validateChanges = false;
255
- try {
256
- const result = callback(state.getAccessor, options);
257
- if (result instanceof Promise) {
258
- validateChanges = true;
259
- promiseReturns.push(result);
260
- } else {
261
- promiseReturns.push(Promise.resolve(result));
262
- }
263
- } catch (e) {
264
- promiseReturns.push(Promise.reject(e));
265
- }
266
- if (validateChanges) {
267
- this.validateWithoutChanges(changesCountBefore2, eventType);
268
- }
269
- }
270
- const changesCountBefore = this.dirtinessTracker.getTotalTouchCount();
271
- const newCallbacks = await Promise.allSettled(promiseReturns);
272
- this.validateWithoutChanges(changesCountBefore, eventType);
273
- callbackQueue.length = 0;
274
- for (const newlyInitialized of this.newlyInitializedWithListeners) {
275
- if (newlyInitialized.type === "field") {
276
- continue;
277
- }
278
- const beforePersistHandlers = this.getEventListeners(newlyInitialized, { type: eventType });
279
- if (beforePersistHandlers) {
280
- for (const listener of beforePersistHandlers) {
281
- callbackQueue.push([newlyInitialized, listener]);
282
- }
283
- }
284
- }
285
- this.triggerBeforeFlushEvents();
286
- this.handleRejections(eventType, newCallbacks);
287
- for (let i = 0; i < newCallbacks.length; i++) {
288
- const result = newCallbacks[i];
289
- const correspondingState = correspondingStates[i];
290
- if (result.status === "fulfilled") {
291
- if (typeof result.value === "function") {
292
- callbackQueue.push([correspondingState, result.value]);
293
- }
294
- }
295
- }
296
- }
297
- });
298
- }
299
- triggerBeforeFlushEvents() {
300
- this.syncTransaction(() => {
301
- const settleLimit = this.config.getValue("beforeUpdateSettleLimit");
302
- for (let attemptNumber = 0; attemptNumber < settleLimit; attemptNumber++) {
303
- if (!this.pendingWithBeforeUpdate.size) {
304
- this.triggerOnInitialize();
305
- return;
306
- }
307
- const withBeforeUpdate = this.pendingWithBeforeUpdate;
308
- this.pendingWithBeforeUpdate = /* @__PURE__ */ new Set();
309
- for (const state of withBeforeUpdate) {
310
- const listeners = this.getEventListeners(state, { type: "beforeUpdate" });
311
- if (listeners === void 0) {
312
- continue;
313
- }
314
- switch (state.type) {
315
- case "field":
316
- for (const listener of listeners) {
317
- listener(state.getAccessor());
318
- }
319
- break;
320
- case "entityRealm":
321
- case "entityList":
322
- for (const listener of listeners) {
323
- state.getAccessor().batchUpdates(listener);
324
- }
325
- break;
326
- default:
327
- return assertNever.assertNever();
328
- }
329
- }
330
- this.triggerOnInitialize();
331
- }
332
- throw new BindingError.BindingError(
333
- `Maximum stabilization limit of updates caused by 'beforeUpdate' exceeded. This likely means there is an infinite feedback loop in your code.`
334
- );
335
- });
336
- }
337
- triggerOnInitialize() {
338
- this.syncTransaction(() => {
339
- for (const state of this.newlyInitializedWithListeners) {
340
- const listeners = state.type === "field" ? this.getEventDispatchers(state, { type: "initialize" }, [state.getAccessor, this.batchUpdatesOptions]) : state.type === "entityRealm" ? this.getEventDispatchers(state, { type: "initialize" }, [state.getAccessor, this.batchUpdatesOptions]) : this.getEventDispatchers(state, { type: "initialize" }, [state.getAccessor, this.batchUpdatesOptions]);
341
- if (listeners) {
342
- for (const listener of listeners) {
343
- listener();
344
- }
345
- }
346
- if (state.type === "entityRealm") {
347
- state.entity.hasIdSetInStone = true;
348
- }
349
- }
350
- this.newlyInitializedWithListeners.clear();
351
- });
352
- }
353
- async triggerOnPersistError(options) {
354
- await this.asyncTransaction(async () => {
355
- const handlerPromises = [];
356
- for (const [, subTreeState] of StateIterator.StateIterator.eachRootState(this.treeStore)) {
357
- for (const iNode of StateIterator.StateIterator.depthFirstINodes(subTreeState)) {
358
- const dispatchers = iNode.type === "entityRealm" ? this.getEventDispatchers(iNode, { type: "persistError" }, [iNode.getAccessor, options]) : this.getEventDispatchers(iNode, { type: "persistError" }, [iNode.getAccessor, options]);
359
- if (dispatchers === void 0) {
360
- continue;
361
- }
362
- for (const listener of dispatchers ?? []) {
363
- try {
364
- const result = listener();
365
- if (result instanceof Promise) {
366
- handlerPromises.push(result);
367
- } else {
368
- handlerPromises.push(Promise.resolve(result));
369
- }
370
- } catch (e) {
371
- handlerPromises.push(Promise.reject(e));
372
- }
373
- }
374
- }
375
- }
376
- const handlerResults = await Promise.allSettled(handlerPromises);
377
- this.handleRejections("persistError", handlerResults);
378
- });
379
- }
380
- async triggerOnBeforePersist() {
381
- return this.triggerAsyncMutatingEvent("beforePersist", this.asyncBatchUpdatesOptions);
382
- }
383
- async triggerOnPersistSuccess(options) {
384
- return this.triggerAsyncMutatingEvent("persistSuccess", options);
385
- }
386
- getEventListeners(state, event) {
387
- if (!state.eventListeners) {
388
- return void 0;
389
- }
390
- return state.eventListeners.get(event);
391
- }
392
- getEventDispatchers(state, event, listenerArgs) {
393
- const eventListeners = this.getEventListeners(state, event);
394
- if (eventListeners === void 0) {
395
- return void 0;
396
- }
397
- return Array.from(eventListeners.values(), (listener) => {
398
- return () => listener(...listenerArgs);
399
- });
400
- }
401
- handleRejections(handler, promises) {
402
- const rejections = promises.filter((it) => it.status === "rejected");
403
- if (rejections.length === 0) {
404
- return;
405
- }
406
- rejections.forEach((it) => console.error(it.reason));
407
- }
408
- validateWithoutChanges(initialCount, eventType) {
409
- this.dirtinessTracker.getTotalTouchCount();
410
- }
411
- }
412
- __publicField(EventManager, "NO_CHANGES_DIFFERENCE", 0);
413
- exports.EventManager = EventManager;
414
- //# sourceMappingURL=EventManager.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EventManager.cjs","sources":["../../../src/core/EventManager.ts"],"sourcesContent":["import type {\n\tAsyncBatchUpdatesOptions,\n\tBatchUpdatesOptions,\n\tEntityAccessor,\n\tEntityListAccessor,\n\tFieldAccessor,\n\tPersistErrorOptions,\n\tPersistSuccessOptions,\n} from '../accessors'\nimport type { SuccessfulPersistResult } from '../accessorTree'\nimport { BindingError } from '../BindingError'\nimport type { PlaceholderName } from '../treeParameters'\nimport { assertNever } from '../utils'\nimport type { Config } from './Config'\nimport type { DirtinessTracker } from './DirtinessTracker'\nimport {\n\tEntityListState,\n\tEntityRealmState,\n\tFieldState,\n\tgetEntityMarker,\n\tRootStateNode,\n\tStateINode,\n\tStateIterator,\n\tStateNode,\n} from './state'\nimport type { TreeStore } from './TreeStore'\nimport type { UpdateMetadata } from './UpdateMetadata'\nimport type { EventListenersStore } from '../treeParameters'\n\nexport class EventManager {\n\tpublic static readonly NO_CHANGES_DIFFERENCE = 0\n\n\tprivate transactionDepth = 0\n\tprivate isFrozenWhileUpdating = false\n\n\t// This should ideally not exists as it should be synonymous to `this.ongoingPersistOperation !== undefined`\n\t// but it makes persist-related promise juggling significantly more straightforward.\n\tprivate isMutating: boolean = false\n\tprivate ongoingPersistOperation: Promise<SuccessfulPersistResult> | undefined = undefined\n\n\tprivate previousMetadata: UpdateMetadata | undefined = undefined\n\n\tprivate newlyInitializedWithListeners: Set<EntityListState | EntityRealmState | FieldState> = new Set()\n\tprivate pendingWithBeforeUpdate: Set<StateNode> = new Set()\n\tprivate rootsWithPendingUpdates: Set<RootStateNode> = new Set()\n\n\tpublic constructor(\n\t\tprivate readonly asyncBatchUpdatesOptions: AsyncBatchUpdatesOptions,\n\t\tprivate readonly batchUpdatesOptions: BatchUpdatesOptions,\n\t\tprivate readonly config: Config,\n\t\tprivate readonly dirtinessTracker: DirtinessTracker,\n\t\tprivate readonly onUpdate: (metadata: UpdateMetadata) => void,\n\t\tprivate readonly treeStore: TreeStore,\n\t\tprivate readonly batchedUpdates: (callback: () => any) => void,\n\t) {}\n\n\tpublic async persistOperation(operation: () => Promise<SuccessfulPersistResult>): Promise<SuccessfulPersistResult> {\n\t\tif (this.transactionDepth > 0) {\n\t\t\tthrow new BindingError(`Cannot trigger a persist whilst batching updates!`)\n\t\t}\n\t\tconst ongoingOperation = this.ongoingPersistOperation\n\t\tif (ongoingOperation !== undefined) {\n\t\t\treturn await ongoingOperation\n\t\t}\n\t\treturn await (this.ongoingPersistOperation = new Promise<SuccessfulPersistResult>(async (resolve, reject) => {\n\t\t\tthis.isMutating = true\n\t\t\tthis.flushUpdates() // Let the world know that we're mutating\n\n\t\t\ttry {\n\t\t\t\tresolve(await this.asyncOperation(operation))\n\t\t\t} catch (e) {\n\t\t\t\tconsole.error('PersistError', e)\n\t\t\t\treject(e)\n\t\t\t} finally {\n\t\t\t\tthis.ongoingPersistOperation = undefined\n\t\t\t\tthis.isMutating = false\n\t\t\t\tthis.flushUpdates()\n\t\t\t}\n\t\t}))\n\t}\n\n\tpublic syncTransaction<T>(transaction: () => T) {\n\t\ttry {\n\t\t\tthis.transactionDepth++\n\t\t\treturn transaction()\n\t\t} finally {\n\t\t\tthis.transactionDepth--\n\t\t}\n\t}\n\tpublic syncOperation<T>(operation: () => T) {\n\t\tconst result = this.syncTransaction(operation)\n\t\tthis.flushUpdates()\n\t\treturn result\n\t}\n\n\tpublic async asyncTransaction<T>(transaction: () => Promise<T>): Promise<T> {\n\t\ttry {\n\t\t\tthis.transactionDepth++\n\t\t\treturn await transaction()\n\t\t} finally {\n\t\t\tthis.transactionDepth--\n\t\t}\n\t}\n\tpublic async asyncOperation<T>(operation: () => Promise<T>): Promise<T> {\n\t\tconst result = await this.asyncTransaction(operation)\n\t\tthis.flushUpdates()\n\t\treturn result\n\t}\n\n\tprivate flushUpdates() {\n\t\tif (this.transactionDepth > 0) {\n\t\t\treturn\n\t\t}\n\n\t\tif (this.isFrozenWhileUpdating) {\n\t\t\tthrow new BindingError(\n\t\t\t\t`Trying to perform an update while the whole accessor tree is already updating. This is most likely caused ` +\n\t\t\t\t\t`by updating the accessor tree while rendering or from within the 'update' event handler, which is a no-op. ` +\n\t\t\t\t\t`If you wish to mutate the tree in reaction to other changes, use the 'beforeUpdate' event.`,\n\t\t\t)\n\t\t}\n\n\t\tconst newMetadata = this.getNewUpdateMetadata()\n\n\t\tif (!this.shouldFlushUpdates(newMetadata)) {\n\t\t\treturn\n\t\t}\n\n\t\tthis.batchedUpdates(() => {\n\t\t\tthis.isFrozenWhileUpdating = true\n\t\t\tthis.triggerBeforeFlushEvents()\n\t\t\tthis.onUpdate(newMetadata)\n\t\t\tthis.flushPendingAccessorUpdates(Array.from(this.rootsWithPendingUpdates))\n\n\t\t\tthis.rootsWithPendingUpdates.clear()\n\t\t\tthis.isFrozenWhileUpdating = false\n\t\t\tthis.previousMetadata = newMetadata\n\t\t})\n\t}\n\n\tprivate getNewUpdateMetadata(): UpdateMetadata {\n\t\treturn {\n\t\t\tisMutating: this.isMutating,\n\t\t}\n\t}\n\n\tprivate shouldFlushUpdates(newMetadata: UpdateMetadata): boolean {\n\t\tif (this.transactionDepth > 0) {\n\t\t\treturn false\n\t\t}\n\t\tif (this.previousMetadata === undefined) {\n\t\t\treturn true\n\t\t}\n\t\tif (this.rootsWithPendingUpdates.size) {\n\t\t\treturn true\n\t\t}\n\t\tfor (const key in newMetadata) {\n\t\t\tconst fromPrevious = this.previousMetadata[key as keyof UpdateMetadata]\n\t\t\tconst fromNew = newMetadata[key as keyof UpdateMetadata]\n\n\t\t\tif (!Object.is(fromPrevious, fromNew)) {\n\t\t\t\treturn true\n\t\t\t}\n\t\t}\n\t\treturn false\n\t}\n\n\tpublic registerNewlyInitialized(newlyInitialized: StateNode) {\n\t\tconst initializeListeners = this.getEventListeners(newlyInitialized, { type: 'initialize' })\n\n\t\tif (initializeListeners === undefined) {\n\t\t\treturn\n\t\t}\n\n\t\tthis.newlyInitializedWithListeners.add(newlyInitialized)\n\n\t\tif (this.transactionDepth === 0) {\n\t\t\tthis.triggerOnInitialize()\n\t\t}\n\t}\n\n\tpublic registerUpdatedConnection(parentState: EntityRealmState, placeholderName: PlaceholderName) {\n\t\tif (parentState.fieldsWithPendingConnectionUpdates === undefined) {\n\t\t\tparentState.fieldsWithPendingConnectionUpdates = new Set()\n\t\t}\n\n\t\tconst marker = getEntityMarker(parentState)\n\t\tplaceholders: for (const [fieldName, placeholdersByField] of marker.fields.placeholders) {\n\t\t\tif (typeof placeholdersByField === 'string') {\n\t\t\t\tif (placeholdersByField === placeholderName) {\n\t\t\t\t\tparentState.fieldsWithPendingConnectionUpdates.add(fieldName)\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (const placeholderByFieldName of placeholdersByField) {\n\t\t\t\t\tif (placeholderByFieldName === placeholderName) {\n\t\t\t\t\t\tparentState.fieldsWithPendingConnectionUpdates.add(fieldName)\n\t\t\t\t\t\tcontinue placeholders\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic registerJustUpdated(justUpdated: StateNode, changesDelta: number) {\n\t\tconst beforeUpdateListeners = this.getEventListeners(justUpdated, { type: 'beforeUpdate' })\n\t\tif (beforeUpdateListeners !== undefined) {\n\t\t\tthis.pendingWithBeforeUpdate.add(justUpdated)\n\t\t}\n\t\tjustUpdated.accessor = undefined\n\n\t\tswitch (justUpdated.type) {\n\t\t\tcase 'entityRealm':\n\t\t\tcase 'entityList': {\n\t\t\t\tjustUpdated.unpersistedChangesCount += changesDelta\n\n\t\t\t\tif (import.meta.env.DEV) {\n\t\t\t\t\tif (justUpdated.unpersistedChangesCount < 0) {\n\t\t\t\t\t\tconsole.error(\n\t\t\t\t\t\t\t`We have *JUST* reached a completely invalid state. From now on, anything can (and likely will) ` +\n\t\t\t\t\t\t\t\t`go wrong. This is definitely a bug. Please try to report whatever led to this situation.`,\n\t\t\t\t\t\t)\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst parent = justUpdated.blueprint.parent\n\n\t\t\t\tif (parent === undefined) {\n\t\t\t\t\tthis.rootsWithPendingUpdates.add(justUpdated)\n\n\t\t\t\t\tif (!(justUpdated.blueprint.type === 'subTree' && justUpdated.blueprint.marker.parameters.isCreating && justUpdated.blueprint.marker.parameters.isUnpersisted)) {\n\t\t\t\t\t\tthis.dirtinessTracker.increaseBy(changesDelta)\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (!parent.childrenWithPendingUpdates) {\n\t\t\t\t\t\tparent.childrenWithPendingUpdates = new Set()\n\t\t\t\t\t}\n\t\t\t\t\tparent.childrenWithPendingUpdates.add(justUpdated as any)\n\t\t\t\t\tthis.registerJustUpdated(parent, changesDelta)\n\t\t\t\t}\n\t\t\t\tbreak\n\t\t\t}\n\t\t\tcase 'field': {\n\t\t\t\tconst parent = justUpdated.parent\n\t\t\t\tif (!parent.childrenWithPendingUpdates) {\n\t\t\t\t\tparent.childrenWithPendingUpdates = new Set()\n\t\t\t\t}\n\t\t\t\tparent.childrenWithPendingUpdates.add(justUpdated as any)\n\t\t\t\tthis.registerJustUpdated(justUpdated.parent, changesDelta)\n\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate flushPendingAccessorUpdates(rootStates: Array<StateINode>) {\n\t\t// It is *CRUCIAL* that this is a BFS so that we update the components in top-down order.\n\t\tconst agenda: StateNode[] = rootStates\n\n\t\tfor (const state of agenda) {\n\t\t\t// yes, the calls are same, but this way we can avoid type casting\n\t\t\tconst updateListeners =\n\t\t\t\tstate.type === 'field'\n\t\t\t\t\t? this.getEventDispatchers(state, { type: 'update' }, [state.getAccessor()])\n\t\t\t\t\t: state.type === 'entityRealm'\n\t\t\t\t\t? this.getEventDispatchers(state, { type: 'update' }, [state.getAccessor()])\n\t\t\t\t\t: this.getEventDispatchers(state, { type: 'update' }, [state.getAccessor()])\n\n\t\t\tif (updateListeners !== undefined) {\n\t\t\t\tfor (const handler of updateListeners) {\n\t\t\t\t\t// TS can't quite handle the polymorphism here but this is fine.\n\t\t\t\t\thandler()\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (state.type === 'entityRealm' && state.fieldsWithPendingConnectionUpdates) {\n\t\t\t\tfor (const updatedField of state.fieldsWithPendingConnectionUpdates) {\n\t\t\t\t\tconst listeners = this.getEventListeners(state, { type: 'connectionUpdate', key: updatedField })\n\t\t\t\t\tif (!listeners) {\n\t\t\t\t\t\tcontinue\n\t\t\t\t\t}\n\t\t\t\t\tfor (const listener of listeners) {\n\t\t\t\t\t\tlistener(state.getAccessor())\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tswitch (state.type) {\n\t\t\t\tcase 'entityRealm':\n\t\t\t\tcase 'entityList': {\n\t\t\t\t\tif (state.childrenWithPendingUpdates !== undefined) {\n\t\t\t\t\t\tfor (const childState of state.childrenWithPendingUpdates) {\n\t\t\t\t\t\t\tagenda.push(childState)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstate.childrenWithPendingUpdates.clear()\n\t\t\t\t\t}\n\t\t\t\t\tbreak\n\t\t\t\t}\n\t\t\t\tcase 'field':\n\t\t\t\t\t// Do nothing\n\t\t\t\t\tbreak\n\t\t\t\tdefault:\n\t\t\t\t\tassertNever(state)\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate async triggerAsyncMutatingEvent(eventType: 'beforePersist', options: AsyncBatchUpdatesOptions): Promise<void>\n\tprivate async triggerAsyncMutatingEvent(eventType: 'persistSuccess', options: PersistSuccessOptions): Promise<void>\n\tprivate async triggerAsyncMutatingEvent(\n\t\teventType: 'beforePersist' | 'persistSuccess',\n\t\toptions: AsyncBatchUpdatesOptions | PersistSuccessOptions,\n\t): Promise<void> {\n\t\tawait this.asyncTransaction(async () => {\n\t\t\t// TODO if an entity from here (or its parent) gets deleted, we need to remove stale handlers from here.\n\t\t\tconst callbackQueue: Array<\n\t\t\t\t[\n\t\t\t\t\t// The typings could be nicer but TS…\n\t\t\t\t\tStateINode,\n\t\t\t\t\t(\n\t\t\t\t\t\t| EntityAccessor.EntityEventListenerMap[typeof eventType]\n\t\t\t\t\t\t| EntityListAccessor.EntityListEventListenerMap[typeof eventType]\n\t\t\t\t\t),\n\t\t\t\t]\n\t\t\t> = []\n\n\t\t\tfor (const [, subTreeState] of StateIterator.eachRootState(this.treeStore)) {\n\t\t\t\tfor (const iNode of StateIterator.depthFirstINodes(subTreeState)) {\n\t\t\t\t\tconst listeners = this.getEventListeners(iNode, { type: eventType }) ?? []\n\t\t\t\t\tfor (const listener of listeners) {\n\t\t\t\t\t\tcallbackQueue.push([iNode, listener])\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (\n\t\t\t\tlet waterfallDepth = 0;\n\t\t\t\twaterfallDepth < this.config.getValue(`${eventType}SettleLimit` as const);\n\t\t\t\twaterfallDepth++\n\t\t\t) {\n\t\t\t\tconst promiseReturns: Array<\n\t\t\t\t\tPromise<\n\t\t\t\t\t\t| void\n\t\t\t\t\t\t| EntityAccessor.EntityEventListenerMap[typeof eventType]\n\t\t\t\t\t\t| EntityListAccessor.EntityListEventListenerMap[typeof eventType]\n\t\t\t\t\t>\n\t\t\t\t> = []\n\t\t\t\tconst correspondingStates: Array<StateINode> = []\n\n\t\t\t\tif (callbackQueue.length === 0) {\n\t\t\t\t\tbreak\n\t\t\t\t}\n\n\t\t\t\tfor (const [state, callback] of callbackQueue) {\n\t\t\t\t\tcorrespondingStates.push(state)\n\t\t\t\t\tconst changesCountBefore = this.dirtinessTracker.getTotalTouchCount()\n\t\t\t\t\tlet validateChanges = false\n\t\t\t\t\ttry {\n\t\t\t\t\t\tconst result = callback(state.getAccessor as any, options as any) // TS can't quite handle this but this is sound.\n\t\t\t\t\t\tif (result instanceof Promise) {\n\t\t\t\t\t\t\tvalidateChanges = true\n\t\t\t\t\t\t\tpromiseReturns.push(result)\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tpromiseReturns.push(Promise.resolve(result))\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\tpromiseReturns.push(Promise.reject(e))\n\t\t\t\t\t}\n\t\t\t\t\tif (validateChanges) {\n\t\t\t\t\t\tthis.validateWithoutChanges(changesCountBefore, eventType)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t// TODO timeout\n\n\t\t\t\tconst changesCountBefore = this.dirtinessTracker.getTotalTouchCount()\n\t\t\t\tconst newCallbacks = await Promise.allSettled(promiseReturns)\n\t\t\t\tthis.validateWithoutChanges(changesCountBefore, eventType)\n\n\t\t\t\tcallbackQueue.length = 0 // Empties the queue\n\n\t\t\t\t// TODO we're drifting away from the original depth-first order. Let's see if that's ever even an issue.\n\t\t\t\tfor (const newlyInitialized of this.newlyInitializedWithListeners) {\n\t\t\t\t\tif (newlyInitialized.type === 'field') {\n\t\t\t\t\t\tcontinue\n\t\t\t\t\t}\n\t\t\t\t\tconst beforePersistHandlers = this.getEventListeners(newlyInitialized, { type: eventType })\n\t\t\t\t\tif (beforePersistHandlers) {\n\t\t\t\t\t\tfor (const listener of beforePersistHandlers) {\n\t\t\t\t\t\t\tcallbackQueue.push([newlyInitialized, listener])\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.triggerBeforeFlushEvents()\n\t\t\t\tthis.handleRejections(eventType, newCallbacks)\n\n\t\t\t\tfor (let i = 0; i < newCallbacks.length; i++) {\n\t\t\t\t\tconst result = newCallbacks[i]\n\t\t\t\t\tconst correspondingState = correspondingStates[i]\n\n\t\t\t\t\tif (result.status === 'fulfilled') {\n\t\t\t\t\t\tif (typeof result.value === 'function') {\n\t\t\t\t\t\t\tcallbackQueue.push([correspondingState, result.value])\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// Otherwise do nothing. This is just a handler that albeit async, doesn't appear to\n\t\t\t\t\t\t// interact with data binding.\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (import.meta.env.DEV) {\n\t\t\t\tif (callbackQueue.length) {\n\t\t\t\t\tthrow new BindingError(\n\t\t\t\t\t\t`Exceeded the ${eventType} settle limit. Your code likely contains a deadlock. ` +\n\t\t\t\t\t\t\t`If that's not the case, raise the settle limit from DataBindingProvider.`,\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t}\n\n\tprivate triggerBeforeFlushEvents() {\n\t\tthis.syncTransaction(() => {\n\t\t\tconst settleLimit = this.config.getValue('beforeUpdateSettleLimit')\n\n\t\t\tfor (let attemptNumber = 0; attemptNumber < settleLimit; attemptNumber++) {\n\t\t\t\tif (!this.pendingWithBeforeUpdate.size) {\n\t\t\t\t\tthis.triggerOnInitialize()\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tconst withBeforeUpdate = this.pendingWithBeforeUpdate\n\t\t\t\tthis.pendingWithBeforeUpdate = new Set()\n\n\t\t\t\tfor (const state of withBeforeUpdate) {\n\t\t\t\t\tconst listeners = this.getEventListeners(state, { type: 'beforeUpdate' })\n\t\t\t\t\tif (listeners === undefined) {\n\t\t\t\t\t\t// This can happen if the listener has unsubscribed since we added it to the set.\n\t\t\t\t\t\tcontinue\n\t\t\t\t\t}\n\t\t\t\t\tswitch (state.type) {\n\t\t\t\t\t\tcase 'field':\n\t\t\t\t\t\t\tfor (const listener of listeners) {\n\t\t\t\t\t\t\t\t(listener as FieldAccessor.BeforeUpdateListener)(state.getAccessor())\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\tcase 'entityRealm':\n\t\t\t\t\t\tcase 'entityList':\n\t\t\t\t\t\t\tfor (const listener of listeners) {\n\t\t\t\t\t\t\t\tstate.getAccessor().batchUpdates(listener as any)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbreak\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\treturn assertNever(state)\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.triggerOnInitialize()\n\t\t\t}\n\t\t\tthrow new BindingError(\n\t\t\t\t`Maximum stabilization limit of updates caused by 'beforeUpdate' exceeded. ` +\n\t\t\t\t\t`This likely means there is an infinite feedback loop in your code.`,\n\t\t\t)\n\t\t})\n\t}\n\n\tprivate triggerOnInitialize() {\n\t\tthis.syncTransaction(() => {\n\t\t\tfor (const state of this.newlyInitializedWithListeners) {\n\t\t\t\t// yes, the calls are same, but this way we can avoid type casting\n\t\t\t\tconst listeners =\n\t\t\t\t\tstate.type === 'field'\n\t\t\t\t\t\t? this.getEventDispatchers(state, { type: 'initialize' }, [state.getAccessor, this.batchUpdatesOptions])\n\t\t\t\t\t\t: state.type === 'entityRealm'\n\t\t\t\t\t\t? this.getEventDispatchers(state, { type: 'initialize' }, [state.getAccessor, this.batchUpdatesOptions])\n\t\t\t\t\t\t: this.getEventDispatchers(state, { type: 'initialize' }, [state.getAccessor, this.batchUpdatesOptions])\n\n\t\t\t\tif (listeners) {\n\t\t\t\t\tfor (const listener of listeners) {\n\t\t\t\t\t\tlistener()\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (state.type === 'entityRealm') {\n\t\t\t\t\tstate.entity.hasIdSetInStone = true\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.newlyInitializedWithListeners.clear()\n\t\t})\n\t}\n\n\tpublic async triggerOnPersistError(options: PersistErrorOptions) {\n\t\tawait this.asyncTransaction(async () => {\n\t\t\tconst handlerPromises: Array<Promise<void>> = []\n\n\t\t\tfor (const [, subTreeState] of StateIterator.eachRootState(this.treeStore)) {\n\t\t\t\tfor (const iNode of StateIterator.depthFirstINodes(subTreeState)) {\n\t\t\t\t\t// yes, the calls are same, but this way we can avoid type casting\n\t\t\t\t\tconst dispatchers =\n\t\t\t\t\t\tiNode.type === 'entityRealm'\n\t\t\t\t\t\t\t? this.getEventDispatchers(iNode, { type: 'persistError' }, [iNode.getAccessor, options])\n\t\t\t\t\t\t\t: this.getEventDispatchers(iNode, { type: 'persistError' }, [iNode.getAccessor, options])\n\t\t\t\t\tif (dispatchers === undefined) {\n\t\t\t\t\t\tcontinue\n\t\t\t\t\t}\n\t\t\t\t\tfor (const listener of dispatchers ?? []) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tconst result = listener()\n\t\t\t\t\t\t\tif (result instanceof Promise) {\n\t\t\t\t\t\t\t\thandlerPromises.push(result)\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\thandlerPromises.push(Promise.resolve(result))\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} catch (e) {\n\t\t\t\t\t\t\thandlerPromises.push(Promise.reject(e))\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// TODO timeout\n\t\t\tconst handlerResults = await Promise.allSettled(handlerPromises)\n\t\t\tthis.handleRejections('persistError', handlerResults)\n\t\t})\n\t}\n\n\tpublic async triggerOnBeforePersist() {\n\t\treturn this.triggerAsyncMutatingEvent('beforePersist', this.asyncBatchUpdatesOptions)\n\t}\n\n\tpublic async triggerOnPersistSuccess(options: PersistSuccessOptions) {\n\t\treturn this.triggerAsyncMutatingEvent('persistSuccess', options)\n\t}\n\n\tpublic getEventListeners<\n\t\tState extends StateNode,\n\t\tEventListenerTypes extends\n\t\t\tExclude<State['eventListeners'], undefined> extends EventListenersStore<infer Keys, infer Map> ? [Keys, Map] : never,\n\t\tEventType extends EventListenerTypes[0],\n\t>(state: State, event: { type: EventType; key?: string }): Set<Exclude<EventListenerTypes[1][EventType], undefined>> | undefined {\n\t\tif (!state.eventListeners) {\n\t\t\treturn undefined\n\t\t}\n\t\treturn (state.eventListeners as EventListenersStore<EventType, EventListenerTypes[1]>).get(event) as Set<\n\t\t\tExclude<EventListenerTypes[1][EventType], undefined>\n\t\t>\n\t}\n\n\tpublic getEventDispatchers<\n\t\tState extends StateNode,\n\t\tEventListenerTypes extends\n\t\t\tExclude<State['eventListeners'], undefined> extends EventListenersStore<infer Keys, infer Map> ? [Keys, Map] : never,\n\t\tEventType extends EventListenerTypes[0],\n\t>(\n\t\tstate: State,\n\t\tevent: { type: EventType; key?: string },\n\t\tlistenerArgs: Parameters<Exclude<EventListenerTypes[1][EventType], undefined>>,\n\t): Array<() => ReturnType<Exclude<EventListenerTypes[1][EventType], undefined>>> | undefined {\n\t\tconst eventListeners = this.getEventListeners(state, event)\n\t\tif (eventListeners === undefined) {\n\t\t\treturn undefined\n\t\t}\n\t\treturn Array.from(eventListeners.values(), listener => {\n\t\t\treturn () => listener(...listenerArgs)\n\t\t}) as Array<() => ReturnType<Exclude<EventListenerTypes[1][EventType], undefined>>>\n\t}\n\n\tprivate handleRejections(handler: string, promises: PromiseSettledResult<any>[]) {\n\t\tconst rejections = promises.filter((it): it is PromiseRejectedResult => it.status === 'rejected')\n\t\tif (rejections.length === 0) {\n\t\t\treturn\n\t\t}\n\t\trejections.forEach(it => console.error(it.reason))\n\t\tif (import.meta.env.DEV) {\n\t\t\tthrow new BindingError(\n\t\t\t\t`A ${handler} handler returned a promise that rejected. ` +\n\t\t\t\t\t`This is a no-op that will fail silently in production.`,\n\t\t\t)\n\t\t}\n\t}\n\n\n\tprivate validateWithoutChanges(initialCount: number, eventType: string): void {\n\t\tconst changesCountAfter = this.dirtinessTracker.getTotalTouchCount()\n\t\tif (import.meta.env.DEV) {\n\t\t\tif (initialCount !== changesCountAfter) {\n\t\t\t\t// This isn't bulletproof. They could e.g. undo a change and make another one which would\n\t\t\t\t// slip through this detection. But for most cases, it should be good enough and not too expensive.\n\t\t\t\tthrow new BindingError(\n\t\t\t\t\t`A ${eventType} event handler cannot be asynchronous and alter the accessor tree at the same time. ` +\n\t\t\t\t\t`To achieve this, prepare your data asynchronously but only touch the tree from a returned callback.`,\n\t\t\t\t)\n\t\t\t}\n\t\t}\n\t}\n}\n"],"names":["BindingError","getEntityMarker","assertNever","StateIterator","changesCountBefore"],"mappings":";;;;;;;;;;;;AA6BO,MAAM,aAAa;AAAA,EAiBlB,YACW,0BACA,qBACA,QACA,kBACA,UACA,WACA,gBAChB;AAtBM,4CAAmB;AACnB,iDAAwB;AAIxB;AAAA;AAAA,sCAAsB;AACtB;AAEA;AAEA,6EAA0F;AAC1F,uEAA8C;AAC9C,uEAAkD;AAGxC,SAAA,2BAAA;AACA,SAAA,sBAAA;AACA,SAAA,SAAA;AACA,SAAA,mBAAA;AACA,SAAA,WAAA;AACA,SAAA,YAAA;AACA,SAAA,iBAAA;AAAA,EACf;AAAA,EAEH,MAAa,iBAAiB,WAAqF;AAC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