@contember/binding 2.0.0-alpha.4 → 2.0.0-alpha.40

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 (1238) hide show
  1. package/api-extractor.json +3 -0
  2. package/dist/development/index.cjs +13 -116
  3. package/dist/development/index.cjs.map +1 -1
  4. package/dist/development/index.js +3 -106
  5. package/dist/development/index.js.map +1 -1
  6. package/dist/production/index.cjs +13 -116
  7. package/dist/production/index.cjs.map +1 -1
  8. package/dist/production/index.js +3 -106
  9. package/dist/production/index.js.map +1 -1
  10. package/dist/types/index.d.ts +3 -11
  11. package/dist/types/index.d.ts.map +1 -1
  12. package/dist/types/tsconfig.tsbuildinfo +1 -1
  13. package/package.json +9 -22
  14. package/src/index.ts +3 -14
  15. package/src/tsconfig.json +7 -2
  16. package/tests/tsconfig.json +10 -0
  17. package/tsconfig.json +8 -0
  18. package/tsdoc.json +6 -0
  19. package/vitest.config.ts +3 -0
  20. package/dist/development/BindingError.cjs +0 -10
  21. package/dist/development/BindingError.cjs.map +0 -1
  22. package/dist/development/BindingError.js +0 -10
  23. package/dist/development/BindingError.js.map +0 -1
  24. package/dist/development/accessorTree/NormalizedPersistedData.cjs +0 -10
  25. package/dist/development/accessorTree/NormalizedPersistedData.cjs.map +0 -1
  26. package/dist/development/accessorTree/NormalizedPersistedData.js +0 -10
  27. package/dist/development/accessorTree/NormalizedPersistedData.js.map +0 -1
  28. package/dist/development/accessorTree/RuntimeId.cjs +0 -64
  29. package/dist/development/accessorTree/RuntimeId.cjs.map +0 -1
  30. package/dist/development/accessorTree/RuntimeId.js +0 -64
  31. package/dist/development/accessorTree/RuntimeId.js.map +0 -1
  32. package/dist/development/accessors/EntityAccessor.cjs +0 -179
  33. package/dist/development/accessors/EntityAccessor.cjs.map +0 -1
  34. package/dist/development/accessors/EntityAccessor.js +0 -179
  35. package/dist/development/accessors/EntityAccessor.js.map +0 -1
  36. package/dist/development/accessors/EntityListAccessor.cjs +0 -108
  37. package/dist/development/accessors/EntityListAccessor.cjs.map +0 -1
  38. package/dist/development/accessors/EntityListAccessor.js +0 -108
  39. package/dist/development/accessors/EntityListAccessor.js.map +0 -1
  40. package/dist/development/accessors/ErrorAccessor.cjs +0 -16
  41. package/dist/development/accessors/ErrorAccessor.cjs.map +0 -1
  42. package/dist/development/accessors/ErrorAccessor.js +0 -16
  43. package/dist/development/accessors/ErrorAccessor.js.map +0 -1
  44. package/dist/development/accessors/FieldAccessor.cjs +0 -62
  45. package/dist/development/accessors/FieldAccessor.cjs.map +0 -1
  46. package/dist/development/accessors/FieldAccessor.js +0 -62
  47. package/dist/development/accessors/FieldAccessor.js.map +0 -1
  48. package/dist/development/accessors/TreeRootAccessor.cjs +0 -14
  49. package/dist/development/accessors/TreeRootAccessor.cjs.map +0 -1
  50. package/dist/development/accessors/TreeRootAccessor.js +0 -14
  51. package/dist/development/accessors/TreeRootAccessor.js.map +0 -1
  52. package/dist/development/bindingTypes.cjs +0 -9
  53. package/dist/development/bindingTypes.cjs.map +0 -1
  54. package/dist/development/bindingTypes.js +0 -9
  55. package/dist/development/bindingTypes.js.map +0 -1
  56. package/dist/development/core/AccessorErrorManager.cjs +0 -207
  57. package/dist/development/core/AccessorErrorManager.cjs.map +0 -1
  58. package/dist/development/core/AccessorErrorManager.js +0 -207
  59. package/dist/development/core/AccessorErrorManager.js.map +0 -1
  60. package/dist/development/core/Config.cjs +0 -32
  61. package/dist/development/core/Config.cjs.map +0 -1
  62. package/dist/development/core/Config.js +0 -32
  63. package/dist/development/core/Config.js.map +0 -1
  64. package/dist/development/core/DataBinding.cjs +0 -353
  65. package/dist/development/core/DataBinding.cjs.map +0 -1
  66. package/dist/development/core/DataBinding.js +0 -353
  67. package/dist/development/core/DataBinding.js.map +0 -1
  68. package/dist/development/core/DirtinessTracker.cjs +0 -29
  69. package/dist/development/core/DirtinessTracker.cjs.map +0 -1
  70. package/dist/development/core/DirtinessTracker.js +0 -29
  71. package/dist/development/core/DirtinessTracker.js.map +0 -1
  72. package/dist/development/core/ErrorsPreprocessor.cjs +0 -181
  73. package/dist/development/core/ErrorsPreprocessor.cjs.map +0 -1
  74. package/dist/development/core/ErrorsPreprocessor.js +0 -181
  75. package/dist/development/core/ErrorsPreprocessor.js.map +0 -1
  76. package/dist/development/core/EventManager.cjs +0 -440
  77. package/dist/development/core/EventManager.cjs.map +0 -1
  78. package/dist/development/core/EventManager.js +0 -440
  79. package/dist/development/core/EventManager.js.map +0 -1
  80. package/dist/development/core/MarkerComparator.cjs +0 -79
  81. package/dist/development/core/MarkerComparator.cjs.map +0 -1
  82. package/dist/development/core/MarkerComparator.js +0 -79
  83. package/dist/development/core/MarkerComparator.js.map +0 -1
  84. package/dist/development/core/MarkerMerger.cjs +0 -252
  85. package/dist/development/core/MarkerMerger.cjs.map +0 -1
  86. package/dist/development/core/MarkerMerger.js +0 -252
  87. package/dist/development/core/MarkerMerger.js.map +0 -1
  88. package/dist/development/core/MutationGenerator.cjs +0 -665
  89. package/dist/development/core/MutationGenerator.cjs.map +0 -1
  90. package/dist/development/core/MutationGenerator.js +0 -665
  91. package/dist/development/core/MutationGenerator.js.map +0 -1
  92. package/dist/development/core/QueryGenerator.cjs +0 -113
  93. package/dist/development/core/QueryGenerator.cjs.map +0 -1
  94. package/dist/development/core/QueryGenerator.js +0 -113
  95. package/dist/development/core/QueryGenerator.js.map +0 -1
  96. package/dist/development/core/RealmKeyGenerator.cjs +0 -47
  97. package/dist/development/core/RealmKeyGenerator.cjs.map +0 -1
  98. package/dist/development/core/RealmKeyGenerator.js +0 -47
  99. package/dist/development/core/RealmKeyGenerator.js.map +0 -1
  100. package/dist/development/core/RequestResponseNormalizer.cjs +0 -125
  101. package/dist/development/core/RequestResponseNormalizer.cjs.map +0 -1
  102. package/dist/development/core/RequestResponseNormalizer.js +0 -125
  103. package/dist/development/core/RequestResponseNormalizer.js.map +0 -1
  104. package/dist/development/core/StateInitializer.cjs +0 -390
  105. package/dist/development/core/StateInitializer.cjs.map +0 -1
  106. package/dist/development/core/StateInitializer.js +0 -390
  107. package/dist/development/core/StateInitializer.js.map +0 -1
  108. package/dist/development/core/TreeAugmenter.cjs +0 -213
  109. package/dist/development/core/TreeAugmenter.cjs.map +0 -1
  110. package/dist/development/core/TreeAugmenter.js +0 -213
  111. package/dist/development/core/TreeAugmenter.js.map +0 -1
  112. package/dist/development/core/TreeFilterGenerator.cjs +0 -83
  113. package/dist/development/core/TreeFilterGenerator.cjs.map +0 -1
  114. package/dist/development/core/TreeFilterGenerator.js +0 -83
  115. package/dist/development/core/TreeFilterGenerator.js.map +0 -1
  116. package/dist/development/core/TreeParameterMerger.cjs +0 -304
  117. package/dist/development/core/TreeParameterMerger.cjs.map +0 -1
  118. package/dist/development/core/TreeParameterMerger.js +0 -304
  119. package/dist/development/core/TreeParameterMerger.js.map +0 -1
  120. package/dist/development/core/TreeStore.cjs +0 -182
  121. package/dist/development/core/TreeStore.cjs.map +0 -1
  122. package/dist/development/core/TreeStore.js +0 -182
  123. package/dist/development/core/TreeStore.js.map +0 -1
  124. package/dist/development/core/VariableInputTransformer.cjs +0 -24
  125. package/dist/development/core/VariableInputTransformer.cjs.map +0 -1
  126. package/dist/development/core/VariableInputTransformer.js +0 -24
  127. package/dist/development/core/VariableInputTransformer.js.map +0 -1
  128. package/dist/development/core/exceptions/ErrorLocator.cjs +0 -62
  129. package/dist/development/core/exceptions/ErrorLocator.cjs.map +0 -1
  130. package/dist/development/core/exceptions/ErrorLocator.js +0 -62
  131. package/dist/development/core/exceptions/ErrorLocator.js.map +0 -1
  132. package/dist/development/core/exceptions/LocalizedBindingError.cjs +0 -14
  133. package/dist/development/core/exceptions/LocalizedBindingError.cjs.map +0 -1
  134. package/dist/development/core/exceptions/LocalizedBindingError.js +0 -14
  135. package/dist/development/core/exceptions/LocalizedBindingError.js.map +0 -1
  136. package/dist/development/core/exceptions/MarkerSugarer.cjs +0 -56
  137. package/dist/development/core/exceptions/MarkerSugarer.cjs.map +0 -1
  138. package/dist/development/core/exceptions/MarkerSugarer.js +0 -56
  139. package/dist/development/core/exceptions/MarkerSugarer.js.map +0 -1
  140. package/dist/development/core/exceptions/TreeParameterSugarer.cjs +0 -33
  141. package/dist/development/core/exceptions/TreeParameterSugarer.cjs.map +0 -1
  142. package/dist/development/core/exceptions/TreeParameterSugarer.js +0 -33
  143. package/dist/development/core/exceptions/TreeParameterSugarer.js.map +0 -1
  144. package/dist/development/core/factories/createBatchUpdatesOptions.cjs +0 -20
  145. package/dist/development/core/factories/createBatchUpdatesOptions.cjs.map +0 -1
  146. package/dist/development/core/factories/createBatchUpdatesOptions.js +0 -20
  147. package/dist/development/core/factories/createBatchUpdatesOptions.js.map +0 -1
  148. package/dist/development/core/operations/EntityOperations.cjs +0 -230
  149. package/dist/development/core/operations/EntityOperations.cjs.map +0 -1
  150. package/dist/development/core/operations/EntityOperations.js +0 -230
  151. package/dist/development/core/operations/EntityOperations.js.map +0 -1
  152. package/dist/development/core/operations/FieldOperations.cjs +0 -96
  153. package/dist/development/core/operations/FieldOperations.cjs.map +0 -1
  154. package/dist/development/core/operations/FieldOperations.js +0 -96
  155. package/dist/development/core/operations/FieldOperations.js.map +0 -1
  156. package/dist/development/core/operations/ListOperations.cjs +0 -159
  157. package/dist/development/core/operations/ListOperations.cjs.map +0 -1
  158. package/dist/development/core/operations/ListOperations.js +0 -159
  159. package/dist/development/core/operations/ListOperations.js.map +0 -1
  160. package/dist/development/core/operations/OperationsHelpers.cjs +0 -85
  161. package/dist/development/core/operations/OperationsHelpers.cjs.map +0 -1
  162. package/dist/development/core/operations/OperationsHelpers.js +0 -85
  163. package/dist/development/core/operations/OperationsHelpers.js.map +0 -1
  164. package/dist/development/core/requestAliases/MutationAlias.cjs +0 -14
  165. package/dist/development/core/requestAliases/MutationAlias.cjs.map +0 -1
  166. package/dist/development/core/requestAliases/MutationAlias.js +0 -14
  167. package/dist/development/core/requestAliases/MutationAlias.js.map +0 -1
  168. package/dist/development/core/schema/Schema.cjs +0 -39
  169. package/dist/development/core/schema/Schema.cjs.map +0 -1
  170. package/dist/development/core/schema/Schema.js +0 -39
  171. package/dist/development/core/schema/Schema.js.map +0 -1
  172. package/dist/development/core/schema/SchemaLoader.cjs +0 -28
  173. package/dist/development/core/schema/SchemaLoader.cjs.map +0 -1
  174. package/dist/development/core/schema/SchemaLoader.js +0 -28
  175. package/dist/development/core/schema/SchemaLoader.js.map +0 -1
  176. package/dist/development/core/schema/SchemaPreprocessor.cjs +0 -38
  177. package/dist/development/core/schema/SchemaPreprocessor.cjs.map +0 -1
  178. package/dist/development/core/schema/SchemaPreprocessor.js +0 -38
  179. package/dist/development/core/schema/SchemaPreprocessor.js.map +0 -1
  180. package/dist/development/core/state/StateIterator.cjs +0 -100
  181. package/dist/development/core/state/StateIterator.cjs.map +0 -1
  182. package/dist/development/core/state/StateIterator.js +0 -100
  183. package/dist/development/core/state/StateIterator.js.map +0 -1
  184. package/dist/development/core/state/getEntityMarker.cjs +0 -5
  185. package/dist/development/core/state/getEntityMarker.cjs.map +0 -1
  186. package/dist/development/core/state/getEntityMarker.js +0 -5
  187. package/dist/development/core/state/getEntityMarker.js.map +0 -1
  188. package/dist/development/core/utils/createQueryBuilder.cjs +0 -32
  189. package/dist/development/core/utils/createQueryBuilder.cjs.map +0 -1
  190. package/dist/development/core/utils/createQueryBuilder.js +0 -32
  191. package/dist/development/core/utils/createQueryBuilder.js.map +0 -1
  192. package/dist/development/core/utils/getCombinedSignal.cjs +0 -33
  193. package/dist/development/core/utils/getCombinedSignal.cjs.map +0 -1
  194. package/dist/development/core/utils/getCombinedSignal.js +0 -33
  195. package/dist/development/core/utils/getCombinedSignal.js.map +0 -1
  196. package/dist/development/dao/Environment.cjs +0 -213
  197. package/dist/development/dao/Environment.cjs.map +0 -1
  198. package/dist/development/dao/Environment.js +0 -213
  199. package/dist/development/dao/Environment.js.map +0 -1
  200. package/dist/development/dao/TreeNodeEnvironmentFactory.cjs +0 -89
  201. package/dist/development/dao/TreeNodeEnvironmentFactory.cjs.map +0 -1
  202. package/dist/development/dao/TreeNodeEnvironmentFactory.js +0 -89
  203. package/dist/development/dao/TreeNodeEnvironmentFactory.js.map +0 -1
  204. package/dist/development/dao/VariableFieldValue.cjs +0 -9
  205. package/dist/development/dao/VariableFieldValue.cjs.map +0 -1
  206. package/dist/development/dao/VariableFieldValue.js +0 -9
  207. package/dist/development/dao/VariableFieldValue.js.map +0 -1
  208. package/dist/development/fieldHelpers/helpers/FieldHelper.cjs +0 -17
  209. package/dist/development/fieldHelpers/helpers/FieldHelper.cjs.map +0 -1
  210. package/dist/development/fieldHelpers/helpers/FieldHelper.js +0 -17
  211. package/dist/development/fieldHelpers/helpers/FieldHelper.js.map +0 -1
  212. package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.cjs +0 -18
  213. package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.cjs.map +0 -1
  214. package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js +0 -18
  215. package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js.map +0 -1
  216. package/dist/development/fieldHelpers/helpers/UuidFieldHelper.cjs +0 -16
  217. package/dist/development/fieldHelpers/helpers/UuidFieldHelper.cjs.map +0 -1
  218. package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js +0 -16
  219. package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js.map +0 -1
  220. package/dist/development/markers/EntityFieldMarkersContainer.cjs +0 -41
  221. package/dist/development/markers/EntityFieldMarkersContainer.cjs.map +0 -1
  222. package/dist/development/markers/EntityFieldMarkersContainer.js +0 -41
  223. package/dist/development/markers/EntityFieldMarkersContainer.js.map +0 -1
  224. package/dist/development/markers/EntityFieldsWithHoistablesMarker.cjs +0 -11
  225. package/dist/development/markers/EntityFieldsWithHoistablesMarker.cjs.map +0 -1
  226. package/dist/development/markers/EntityFieldsWithHoistablesMarker.js +0 -11
  227. package/dist/development/markers/EntityFieldsWithHoistablesMarker.js.map +0 -1
  228. package/dist/development/markers/EntityListSubTreeMarker.cjs +0 -23
  229. package/dist/development/markers/EntityListSubTreeMarker.cjs.map +0 -1
  230. package/dist/development/markers/EntityListSubTreeMarker.js +0 -23
  231. package/dist/development/markers/EntityListSubTreeMarker.js.map +0 -1
  232. package/dist/development/markers/EntitySubTreeMarker.cjs +0 -23
  233. package/dist/development/markers/EntitySubTreeMarker.cjs.map +0 -1
  234. package/dist/development/markers/EntitySubTreeMarker.js +0 -23
  235. package/dist/development/markers/EntitySubTreeMarker.js.map +0 -1
  236. package/dist/development/markers/FieldMarker.cjs +0 -20
  237. package/dist/development/markers/FieldMarker.cjs.map +0 -1
  238. package/dist/development/markers/FieldMarker.js +0 -20
  239. package/dist/development/markers/FieldMarker.js.map +0 -1
  240. package/dist/development/markers/HasManyRelationMarker.cjs +0 -29
  241. package/dist/development/markers/HasManyRelationMarker.cjs.map +0 -1
  242. package/dist/development/markers/HasManyRelationMarker.js +0 -29
  243. package/dist/development/markers/HasManyRelationMarker.js.map +0 -1
  244. package/dist/development/markers/HasOneRelationMarker.cjs +0 -23
  245. package/dist/development/markers/HasOneRelationMarker.cjs.map +0 -1
  246. package/dist/development/markers/HasOneRelationMarker.js +0 -23
  247. package/dist/development/markers/HasOneRelationMarker.js.map +0 -1
  248. package/dist/development/markers/MarkerTreeRoot.cjs +0 -10
  249. package/dist/development/markers/MarkerTreeRoot.cjs.map +0 -1
  250. package/dist/development/markers/MarkerTreeRoot.js +0 -10
  251. package/dist/development/markers/MarkerTreeRoot.js.map +0 -1
  252. package/dist/development/markers/ParentEntityMarker.cjs +0 -10
  253. package/dist/development/markers/ParentEntityMarker.cjs.map +0 -1
  254. package/dist/development/markers/ParentEntityMarker.js +0 -10
  255. package/dist/development/markers/ParentEntityMarker.js.map +0 -1
  256. package/dist/development/markers/PlaceholderGenerator.cjs +0 -23
  257. package/dist/development/markers/PlaceholderGenerator.cjs.map +0 -1
  258. package/dist/development/markers/PlaceholderGenerator.js +0 -23
  259. package/dist/development/markers/PlaceholderGenerator.js.map +0 -1
  260. package/dist/development/markers/PlaceholderParametersGenerator.cjs +0 -62
  261. package/dist/development/markers/PlaceholderParametersGenerator.cjs.map +0 -1
  262. package/dist/development/markers/PlaceholderParametersGenerator.js +0 -62
  263. package/dist/development/markers/PlaceholderParametersGenerator.js.map +0 -1
  264. package/dist/development/queryLanguage/CacheStore.cjs +0 -47
  265. package/dist/development/queryLanguage/CacheStore.cjs.map +0 -1
  266. package/dist/development/queryLanguage/CacheStore.js +0 -47
  267. package/dist/development/queryLanguage/CacheStore.js.map +0 -1
  268. package/dist/development/queryLanguage/MarkerFactory.cjs +0 -200
  269. package/dist/development/queryLanguage/MarkerFactory.cjs.map +0 -1
  270. package/dist/development/queryLanguage/MarkerFactory.js +0 -200
  271. package/dist/development/queryLanguage/MarkerFactory.js.map +0 -1
  272. package/dist/development/queryLanguage/Parser.cjs +0 -728
  273. package/dist/development/queryLanguage/Parser.cjs.map +0 -1
  274. package/dist/development/queryLanguage/Parser.js +0 -728
  275. package/dist/development/queryLanguage/Parser.js.map +0 -1
  276. package/dist/development/queryLanguage/QueryLanguage.cjs +0 -520
  277. package/dist/development/queryLanguage/QueryLanguage.cjs.map +0 -1
  278. package/dist/development/queryLanguage/QueryLanguage.js +0 -520
  279. package/dist/development/queryLanguage/QueryLanguage.js.map +0 -1
  280. package/dist/development/queryLanguage/QueryLanguageError.cjs +0 -6
  281. package/dist/development/queryLanguage/QueryLanguageError.cjs.map +0 -1
  282. package/dist/development/queryLanguage/QueryLanguageError.js +0 -6
  283. package/dist/development/queryLanguage/QueryLanguageError.js.map +0 -1
  284. package/dist/development/queryLanguage/tokenList.cjs +0 -150
  285. package/dist/development/queryLanguage/tokenList.cjs.map +0 -1
  286. package/dist/development/queryLanguage/tokenList.js +0 -151
  287. package/dist/development/queryLanguage/tokenList.js.map +0 -1
  288. package/dist/development/structures/BijectiveIndexedMap.cjs +0 -120
  289. package/dist/development/structures/BijectiveIndexedMap.cjs.map +0 -1
  290. package/dist/development/structures/BijectiveIndexedMap.js +0 -120
  291. package/dist/development/structures/BijectiveIndexedMap.js.map +0 -1
  292. package/dist/development/structures/LRUCache.cjs +0 -35
  293. package/dist/development/structures/LRUCache.cjs.map +0 -1
  294. package/dist/development/structures/LRUCache.js +0 -35
  295. package/dist/development/structures/LRUCache.js.map +0 -1
  296. package/dist/development/structures/WeakIdCache.cjs +0 -33
  297. package/dist/development/structures/WeakIdCache.cjs.map +0 -1
  298. package/dist/development/structures/WeakIdCache.js +0 -33
  299. package/dist/development/structures/WeakIdCache.js.map +0 -1
  300. package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.cjs +0 -22
  301. package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.cjs.map +0 -1
  302. package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.js +0 -22
  303. package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.js.map +0 -1
  304. package/dist/development/treeParameters/EntityCreationParameters.cjs +0 -8
  305. package/dist/development/treeParameters/EntityCreationParameters.cjs.map +0 -1
  306. package/dist/development/treeParameters/EntityCreationParameters.js +0 -8
  307. package/dist/development/treeParameters/EntityCreationParameters.js.map +0 -1
  308. package/dist/development/treeParameters/EntityListPreferences.cjs +0 -7
  309. package/dist/development/treeParameters/EntityListPreferences.cjs.map +0 -1
  310. package/dist/development/treeParameters/EntityListPreferences.js +0 -7
  311. package/dist/development/treeParameters/EntityListPreferences.js.map +0 -1
  312. package/dist/development/treeParameters/EventListenersStore.cjs +0 -70
  313. package/dist/development/treeParameters/EventListenersStore.cjs.map +0 -1
  314. package/dist/development/treeParameters/EventListenersStore.js +0 -70
  315. package/dist/development/treeParameters/EventListenersStore.js.map +0 -1
  316. package/dist/development/treeParameters/LeafField.cjs +0 -7
  317. package/dist/development/treeParameters/LeafField.cjs.map +0 -1
  318. package/dist/development/treeParameters/LeafField.js +0 -7
  319. package/dist/development/treeParameters/LeafField.js.map +0 -1
  320. package/dist/development/treeParameters/QualifiedEntityParameters.cjs +0 -7
  321. package/dist/development/treeParameters/QualifiedEntityParameters.cjs.map +0 -1
  322. package/dist/development/treeParameters/QualifiedEntityParameters.js +0 -7
  323. package/dist/development/treeParameters/QualifiedEntityParameters.js.map +0 -1
  324. package/dist/development/treeParameters/Relation.cjs +0 -7
  325. package/dist/development/treeParameters/Relation.cjs.map +0 -1
  326. package/dist/development/treeParameters/Relation.js +0 -7
  327. package/dist/development/treeParameters/Relation.js.map +0 -1
  328. package/dist/development/utils/Hashing.cjs +0 -22
  329. package/dist/development/utils/Hashing.cjs.map +0 -1
  330. package/dist/development/utils/Hashing.js +0 -22
  331. package/dist/development/utils/Hashing.js.map +0 -1
  332. package/dist/development/utils/TreeNodeUtils.cjs +0 -77
  333. package/dist/development/utils/TreeNodeUtils.cjs.map +0 -1
  334. package/dist/development/utils/TreeNodeUtils.js +0 -77
  335. package/dist/development/utils/TreeNodeUtils.js.map +0 -1
  336. package/dist/development/utils/assert.cjs +0 -11
  337. package/dist/development/utils/assert.cjs.map +0 -1
  338. package/dist/development/utils/assert.js +0 -11
  339. package/dist/development/utils/assert.js.map +0 -1
  340. package/dist/development/utils/assertNever.cjs +0 -10
  341. package/dist/development/utils/assertNever.cjs.map +0 -1
  342. package/dist/development/utils/assertNever.js +0 -10
  343. package/dist/development/utils/assertNever.js.map +0 -1
  344. package/dist/development/utils/generateEnumerabilityPreventingEntropy.cjs +0 -7
  345. package/dist/development/utils/generateEnumerabilityPreventingEntropy.cjs.map +0 -1
  346. package/dist/development/utils/generateEnumerabilityPreventingEntropy.js +0 -7
  347. package/dist/development/utils/generateEnumerabilityPreventingEntropy.js.map +0 -1
  348. package/dist/development/utils/isEmptyObject.cjs +0 -12
  349. package/dist/development/utils/isEmptyObject.cjs.map +0 -1
  350. package/dist/development/utils/isEmptyObject.js +0 -12
  351. package/dist/development/utils/isEmptyObject.js.map +0 -1
  352. package/dist/development/utils/ucfirst.cjs +0 -5
  353. package/dist/development/utils/ucfirst.cjs.map +0 -1
  354. package/dist/development/utils/ucfirst.js +0 -5
  355. package/dist/development/utils/ucfirst.js.map +0 -1
  356. package/dist/production/BindingError.cjs +0 -10
  357. package/dist/production/BindingError.cjs.map +0 -1
  358. package/dist/production/BindingError.js +0 -10
  359. package/dist/production/BindingError.js.map +0 -1
  360. package/dist/production/accessorTree/NormalizedPersistedData.cjs +0 -10
  361. package/dist/production/accessorTree/NormalizedPersistedData.cjs.map +0 -1
  362. package/dist/production/accessorTree/NormalizedPersistedData.js +0 -10
  363. package/dist/production/accessorTree/NormalizedPersistedData.js.map +0 -1
  364. package/dist/production/accessorTree/RuntimeId.cjs +0 -64
  365. package/dist/production/accessorTree/RuntimeId.cjs.map +0 -1
  366. package/dist/production/accessorTree/RuntimeId.js +0 -64
  367. package/dist/production/accessorTree/RuntimeId.js.map +0 -1
  368. package/dist/production/accessors/EntityAccessor.cjs +0 -179
  369. package/dist/production/accessors/EntityAccessor.cjs.map +0 -1
  370. package/dist/production/accessors/EntityAccessor.js +0 -179
  371. package/dist/production/accessors/EntityAccessor.js.map +0 -1
  372. package/dist/production/accessors/EntityListAccessor.cjs +0 -108
  373. package/dist/production/accessors/EntityListAccessor.cjs.map +0 -1
  374. package/dist/production/accessors/EntityListAccessor.js +0 -108
  375. package/dist/production/accessors/EntityListAccessor.js.map +0 -1
  376. package/dist/production/accessors/ErrorAccessor.cjs +0 -16
  377. package/dist/production/accessors/ErrorAccessor.cjs.map +0 -1
  378. package/dist/production/accessors/ErrorAccessor.js +0 -16
  379. package/dist/production/accessors/ErrorAccessor.js.map +0 -1
  380. package/dist/production/accessors/FieldAccessor.cjs +0 -62
  381. package/dist/production/accessors/FieldAccessor.cjs.map +0 -1
  382. package/dist/production/accessors/FieldAccessor.js +0 -62
  383. package/dist/production/accessors/FieldAccessor.js.map +0 -1
  384. package/dist/production/accessors/TreeRootAccessor.cjs +0 -14
  385. package/dist/production/accessors/TreeRootAccessor.cjs.map +0 -1
  386. package/dist/production/accessors/TreeRootAccessor.js +0 -14
  387. package/dist/production/accessors/TreeRootAccessor.js.map +0 -1
  388. package/dist/production/bindingTypes.cjs +0 -9
  389. package/dist/production/bindingTypes.cjs.map +0 -1
  390. package/dist/production/bindingTypes.js +0 -9
  391. package/dist/production/bindingTypes.js.map +0 -1
  392. package/dist/production/core/AccessorErrorManager.cjs +0 -207
  393. package/dist/production/core/AccessorErrorManager.cjs.map +0 -1
  394. package/dist/production/core/AccessorErrorManager.js +0 -207
  395. package/dist/production/core/AccessorErrorManager.js.map +0 -1
  396. package/dist/production/core/Config.cjs +0 -32
  397. package/dist/production/core/Config.cjs.map +0 -1
  398. package/dist/production/core/Config.js +0 -32
  399. package/dist/production/core/Config.js.map +0 -1
  400. package/dist/production/core/DataBinding.cjs +0 -353
  401. package/dist/production/core/DataBinding.cjs.map +0 -1
  402. package/dist/production/core/DataBinding.js +0 -353
  403. package/dist/production/core/DataBinding.js.map +0 -1
  404. package/dist/production/core/DirtinessTracker.cjs +0 -29
  405. package/dist/production/core/DirtinessTracker.cjs.map +0 -1
  406. package/dist/production/core/DirtinessTracker.js +0 -29
  407. package/dist/production/core/DirtinessTracker.js.map +0 -1
  408. package/dist/production/core/ErrorsPreprocessor.cjs +0 -181
  409. package/dist/production/core/ErrorsPreprocessor.cjs.map +0 -1
  410. package/dist/production/core/ErrorsPreprocessor.js +0 -181
  411. package/dist/production/core/ErrorsPreprocessor.js.map +0 -1
  412. package/dist/production/core/EventManager.cjs +0 -414
  413. package/dist/production/core/EventManager.cjs.map +0 -1
  414. package/dist/production/core/EventManager.js +0 -414
  415. package/dist/production/core/EventManager.js.map +0 -1
  416. package/dist/production/core/MarkerComparator.cjs +0 -79
  417. package/dist/production/core/MarkerComparator.cjs.map +0 -1
  418. package/dist/production/core/MarkerComparator.js +0 -79
  419. package/dist/production/core/MarkerComparator.js.map +0 -1
  420. package/dist/production/core/MarkerMerger.cjs +0 -252
  421. package/dist/production/core/MarkerMerger.cjs.map +0 -1
  422. package/dist/production/core/MarkerMerger.js +0 -252
  423. package/dist/production/core/MarkerMerger.js.map +0 -1
  424. package/dist/production/core/MutationGenerator.cjs +0 -665
  425. package/dist/production/core/MutationGenerator.cjs.map +0 -1
  426. package/dist/production/core/MutationGenerator.js +0 -665
  427. package/dist/production/core/MutationGenerator.js.map +0 -1
  428. package/dist/production/core/QueryGenerator.cjs +0 -113
  429. package/dist/production/core/QueryGenerator.cjs.map +0 -1
  430. package/dist/production/core/QueryGenerator.js +0 -113
  431. package/dist/production/core/QueryGenerator.js.map +0 -1
  432. package/dist/production/core/RealmKeyGenerator.cjs +0 -47
  433. package/dist/production/core/RealmKeyGenerator.cjs.map +0 -1
  434. package/dist/production/core/RealmKeyGenerator.js +0 -47
  435. package/dist/production/core/RealmKeyGenerator.js.map +0 -1
  436. package/dist/production/core/RequestResponseNormalizer.cjs +0 -125
  437. package/dist/production/core/RequestResponseNormalizer.cjs.map +0 -1
  438. package/dist/production/core/RequestResponseNormalizer.js +0 -125
  439. package/dist/production/core/RequestResponseNormalizer.js.map +0 -1
  440. package/dist/production/core/StateInitializer.cjs +0 -390
  441. package/dist/production/core/StateInitializer.cjs.map +0 -1
  442. package/dist/production/core/StateInitializer.js +0 -390
  443. package/dist/production/core/StateInitializer.js.map +0 -1
  444. package/dist/production/core/TreeAugmenter.cjs +0 -213
  445. package/dist/production/core/TreeAugmenter.cjs.map +0 -1
  446. package/dist/production/core/TreeAugmenter.js +0 -213
  447. package/dist/production/core/TreeAugmenter.js.map +0 -1
  448. package/dist/production/core/TreeFilterGenerator.cjs +0 -83
  449. package/dist/production/core/TreeFilterGenerator.cjs.map +0 -1
  450. package/dist/production/core/TreeFilterGenerator.js +0 -83
  451. package/dist/production/core/TreeFilterGenerator.js.map +0 -1
  452. package/dist/production/core/TreeParameterMerger.cjs +0 -304
  453. package/dist/production/core/TreeParameterMerger.cjs.map +0 -1
  454. package/dist/production/core/TreeParameterMerger.js +0 -304
  455. package/dist/production/core/TreeParameterMerger.js.map +0 -1
  456. package/dist/production/core/TreeStore.cjs +0 -182
  457. package/dist/production/core/TreeStore.cjs.map +0 -1
  458. package/dist/production/core/TreeStore.js +0 -182
  459. package/dist/production/core/TreeStore.js.map +0 -1
  460. package/dist/production/core/VariableInputTransformer.cjs +0 -24
  461. package/dist/production/core/VariableInputTransformer.cjs.map +0 -1
  462. package/dist/production/core/VariableInputTransformer.js +0 -24
  463. package/dist/production/core/VariableInputTransformer.js.map +0 -1
  464. package/dist/production/core/exceptions/ErrorLocator.cjs +0 -62
  465. package/dist/production/core/exceptions/ErrorLocator.cjs.map +0 -1
  466. package/dist/production/core/exceptions/ErrorLocator.js +0 -62
  467. package/dist/production/core/exceptions/ErrorLocator.js.map +0 -1
  468. package/dist/production/core/exceptions/LocalizedBindingError.cjs +0 -14
  469. package/dist/production/core/exceptions/LocalizedBindingError.cjs.map +0 -1
  470. package/dist/production/core/exceptions/LocalizedBindingError.js +0 -14
  471. package/dist/production/core/exceptions/LocalizedBindingError.js.map +0 -1
  472. package/dist/production/core/exceptions/MarkerSugarer.cjs +0 -56
  473. package/dist/production/core/exceptions/MarkerSugarer.cjs.map +0 -1
  474. package/dist/production/core/exceptions/MarkerSugarer.js +0 -56
  475. package/dist/production/core/exceptions/MarkerSugarer.js.map +0 -1
  476. package/dist/production/core/exceptions/TreeParameterSugarer.cjs +0 -33
  477. package/dist/production/core/exceptions/TreeParameterSugarer.cjs.map +0 -1
  478. package/dist/production/core/exceptions/TreeParameterSugarer.js +0 -33
  479. package/dist/production/core/exceptions/TreeParameterSugarer.js.map +0 -1
  480. package/dist/production/core/factories/createBatchUpdatesOptions.cjs +0 -20
  481. package/dist/production/core/factories/createBatchUpdatesOptions.cjs.map +0 -1
  482. package/dist/production/core/factories/createBatchUpdatesOptions.js +0 -20
  483. package/dist/production/core/factories/createBatchUpdatesOptions.js.map +0 -1
  484. package/dist/production/core/operations/EntityOperations.cjs +0 -230
  485. package/dist/production/core/operations/EntityOperations.cjs.map +0 -1
  486. package/dist/production/core/operations/EntityOperations.js +0 -230
  487. package/dist/production/core/operations/EntityOperations.js.map +0 -1
  488. package/dist/production/core/operations/FieldOperations.cjs +0 -76
  489. package/dist/production/core/operations/FieldOperations.cjs.map +0 -1
  490. package/dist/production/core/operations/FieldOperations.js +0 -76
  491. package/dist/production/core/operations/FieldOperations.js.map +0 -1
  492. package/dist/production/core/operations/ListOperations.cjs +0 -159
  493. package/dist/production/core/operations/ListOperations.cjs.map +0 -1
  494. package/dist/production/core/operations/ListOperations.js +0 -159
  495. package/dist/production/core/operations/ListOperations.js.map +0 -1
  496. package/dist/production/core/operations/OperationsHelpers.cjs +0 -85
  497. package/dist/production/core/operations/OperationsHelpers.cjs.map +0 -1
  498. package/dist/production/core/operations/OperationsHelpers.js +0 -85
  499. package/dist/production/core/operations/OperationsHelpers.js.map +0 -1
  500. package/dist/production/core/requestAliases/MutationAlias.cjs +0 -14
  501. package/dist/production/core/requestAliases/MutationAlias.cjs.map +0 -1
  502. package/dist/production/core/requestAliases/MutationAlias.js +0 -14
  503. package/dist/production/core/requestAliases/MutationAlias.js.map +0 -1
  504. package/dist/production/core/schema/Schema.cjs +0 -39
  505. package/dist/production/core/schema/Schema.cjs.map +0 -1
  506. package/dist/production/core/schema/Schema.js +0 -39
  507. package/dist/production/core/schema/Schema.js.map +0 -1
  508. package/dist/production/core/schema/SchemaLoader.cjs +0 -28
  509. package/dist/production/core/schema/SchemaLoader.cjs.map +0 -1
  510. package/dist/production/core/schema/SchemaLoader.js +0 -28
  511. package/dist/production/core/schema/SchemaLoader.js.map +0 -1
  512. package/dist/production/core/schema/SchemaPreprocessor.cjs +0 -38
  513. package/dist/production/core/schema/SchemaPreprocessor.cjs.map +0 -1
  514. package/dist/production/core/schema/SchemaPreprocessor.js +0 -38
  515. package/dist/production/core/schema/SchemaPreprocessor.js.map +0 -1
  516. package/dist/production/core/state/StateIterator.cjs +0 -100
  517. package/dist/production/core/state/StateIterator.cjs.map +0 -1
  518. package/dist/production/core/state/StateIterator.js +0 -100
  519. package/dist/production/core/state/StateIterator.js.map +0 -1
  520. package/dist/production/core/state/getEntityMarker.cjs +0 -5
  521. package/dist/production/core/state/getEntityMarker.cjs.map +0 -1
  522. package/dist/production/core/state/getEntityMarker.js +0 -5
  523. package/dist/production/core/state/getEntityMarker.js.map +0 -1
  524. package/dist/production/core/utils/createQueryBuilder.cjs +0 -32
  525. package/dist/production/core/utils/createQueryBuilder.cjs.map +0 -1
  526. package/dist/production/core/utils/createQueryBuilder.js +0 -32
  527. package/dist/production/core/utils/createQueryBuilder.js.map +0 -1
  528. package/dist/production/core/utils/getCombinedSignal.cjs +0 -33
  529. package/dist/production/core/utils/getCombinedSignal.cjs.map +0 -1
  530. package/dist/production/core/utils/getCombinedSignal.js +0 -33
  531. package/dist/production/core/utils/getCombinedSignal.js.map +0 -1
  532. package/dist/production/dao/Environment.cjs +0 -213
  533. package/dist/production/dao/Environment.cjs.map +0 -1
  534. package/dist/production/dao/Environment.js +0 -213
  535. package/dist/production/dao/Environment.js.map +0 -1
  536. package/dist/production/dao/TreeNodeEnvironmentFactory.cjs +0 -89
  537. package/dist/production/dao/TreeNodeEnvironmentFactory.cjs.map +0 -1
  538. package/dist/production/dao/TreeNodeEnvironmentFactory.js +0 -89
  539. package/dist/production/dao/TreeNodeEnvironmentFactory.js.map +0 -1
  540. package/dist/production/dao/VariableFieldValue.cjs +0 -9
  541. package/dist/production/dao/VariableFieldValue.cjs.map +0 -1
  542. package/dist/production/dao/VariableFieldValue.js +0 -9
  543. package/dist/production/dao/VariableFieldValue.js.map +0 -1
  544. package/dist/production/fieldHelpers/helpers/FieldHelper.cjs +0 -17
  545. package/dist/production/fieldHelpers/helpers/FieldHelper.cjs.map +0 -1
  546. package/dist/production/fieldHelpers/helpers/FieldHelper.js +0 -17
  547. package/dist/production/fieldHelpers/helpers/FieldHelper.js.map +0 -1
  548. package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.cjs +0 -18
  549. package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.cjs.map +0 -1
  550. package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.js +0 -18
  551. package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.js.map +0 -1
  552. package/dist/production/fieldHelpers/helpers/UuidFieldHelper.cjs +0 -16
  553. package/dist/production/fieldHelpers/helpers/UuidFieldHelper.cjs.map +0 -1
  554. package/dist/production/fieldHelpers/helpers/UuidFieldHelper.js +0 -16
  555. package/dist/production/fieldHelpers/helpers/UuidFieldHelper.js.map +0 -1
  556. package/dist/production/markers/EntityFieldMarkersContainer.cjs +0 -41
  557. package/dist/production/markers/EntityFieldMarkersContainer.cjs.map +0 -1
  558. package/dist/production/markers/EntityFieldMarkersContainer.js +0 -41
  559. package/dist/production/markers/EntityFieldMarkersContainer.js.map +0 -1
  560. package/dist/production/markers/EntityFieldsWithHoistablesMarker.cjs +0 -11
  561. package/dist/production/markers/EntityFieldsWithHoistablesMarker.cjs.map +0 -1
  562. package/dist/production/markers/EntityFieldsWithHoistablesMarker.js +0 -11
  563. package/dist/production/markers/EntityFieldsWithHoistablesMarker.js.map +0 -1
  564. package/dist/production/markers/EntityListSubTreeMarker.cjs +0 -23
  565. package/dist/production/markers/EntityListSubTreeMarker.cjs.map +0 -1
  566. package/dist/production/markers/EntityListSubTreeMarker.js +0 -23
  567. package/dist/production/markers/EntityListSubTreeMarker.js.map +0 -1
  568. package/dist/production/markers/EntitySubTreeMarker.cjs +0 -23
  569. package/dist/production/markers/EntitySubTreeMarker.cjs.map +0 -1
  570. package/dist/production/markers/EntitySubTreeMarker.js +0 -23
  571. package/dist/production/markers/EntitySubTreeMarker.js.map +0 -1
  572. package/dist/production/markers/FieldMarker.cjs +0 -20
  573. package/dist/production/markers/FieldMarker.cjs.map +0 -1
  574. package/dist/production/markers/FieldMarker.js +0 -20
  575. package/dist/production/markers/FieldMarker.js.map +0 -1
  576. package/dist/production/markers/HasManyRelationMarker.cjs +0 -23
  577. package/dist/production/markers/HasManyRelationMarker.cjs.map +0 -1
  578. package/dist/production/markers/HasManyRelationMarker.js +0 -23
  579. package/dist/production/markers/HasManyRelationMarker.js.map +0 -1
  580. package/dist/production/markers/HasOneRelationMarker.cjs +0 -23
  581. package/dist/production/markers/HasOneRelationMarker.cjs.map +0 -1
  582. package/dist/production/markers/HasOneRelationMarker.js +0 -23
  583. package/dist/production/markers/HasOneRelationMarker.js.map +0 -1
  584. package/dist/production/markers/MarkerTreeRoot.cjs +0 -10
  585. package/dist/production/markers/MarkerTreeRoot.cjs.map +0 -1
  586. package/dist/production/markers/MarkerTreeRoot.js +0 -10
  587. package/dist/production/markers/MarkerTreeRoot.js.map +0 -1
  588. package/dist/production/markers/ParentEntityMarker.cjs +0 -10
  589. package/dist/production/markers/ParentEntityMarker.cjs.map +0 -1
  590. package/dist/production/markers/ParentEntityMarker.js +0 -10
  591. package/dist/production/markers/ParentEntityMarker.js.map +0 -1
  592. package/dist/production/markers/PlaceholderGenerator.cjs +0 -23
  593. package/dist/production/markers/PlaceholderGenerator.cjs.map +0 -1
  594. package/dist/production/markers/PlaceholderGenerator.js +0 -23
  595. package/dist/production/markers/PlaceholderGenerator.js.map +0 -1
  596. package/dist/production/markers/PlaceholderParametersGenerator.cjs +0 -62
  597. package/dist/production/markers/PlaceholderParametersGenerator.cjs.map +0 -1
  598. package/dist/production/markers/PlaceholderParametersGenerator.js +0 -62
  599. package/dist/production/markers/PlaceholderParametersGenerator.js.map +0 -1
  600. package/dist/production/queryLanguage/CacheStore.cjs +0 -47
  601. package/dist/production/queryLanguage/CacheStore.cjs.map +0 -1
  602. package/dist/production/queryLanguage/CacheStore.js +0 -47
  603. package/dist/production/queryLanguage/CacheStore.js.map +0 -1
  604. package/dist/production/queryLanguage/MarkerFactory.cjs +0 -200
  605. package/dist/production/queryLanguage/MarkerFactory.cjs.map +0 -1
  606. package/dist/production/queryLanguage/MarkerFactory.js +0 -200
  607. package/dist/production/queryLanguage/MarkerFactory.js.map +0 -1
  608. package/dist/production/queryLanguage/Parser.cjs +0 -725
  609. package/dist/production/queryLanguage/Parser.cjs.map +0 -1
  610. package/dist/production/queryLanguage/Parser.js +0 -725
  611. package/dist/production/queryLanguage/Parser.js.map +0 -1
  612. package/dist/production/queryLanguage/QueryLanguage.cjs +0 -517
  613. package/dist/production/queryLanguage/QueryLanguage.cjs.map +0 -1
  614. package/dist/production/queryLanguage/QueryLanguage.js +0 -517
  615. package/dist/production/queryLanguage/QueryLanguage.js.map +0 -1
  616. package/dist/production/queryLanguage/QueryLanguageError.cjs +0 -6
  617. package/dist/production/queryLanguage/QueryLanguageError.cjs.map +0 -1
  618. package/dist/production/queryLanguage/QueryLanguageError.js +0 -6
  619. package/dist/production/queryLanguage/QueryLanguageError.js.map +0 -1
  620. package/dist/production/queryLanguage/tokenList.cjs +0 -150
  621. package/dist/production/queryLanguage/tokenList.cjs.map +0 -1
  622. package/dist/production/queryLanguage/tokenList.js +0 -151
  623. package/dist/production/queryLanguage/tokenList.js.map +0 -1
  624. package/dist/production/structures/BijectiveIndexedMap.cjs +0 -120
  625. package/dist/production/structures/BijectiveIndexedMap.cjs.map +0 -1
  626. package/dist/production/structures/BijectiveIndexedMap.js +0 -120
  627. package/dist/production/structures/BijectiveIndexedMap.js.map +0 -1
  628. package/dist/production/structures/LRUCache.cjs +0 -35
  629. package/dist/production/structures/LRUCache.cjs.map +0 -1
  630. package/dist/production/structures/LRUCache.js +0 -35
  631. package/dist/production/structures/LRUCache.js.map +0 -1
  632. package/dist/production/structures/WeakIdCache.cjs +0 -33
  633. package/dist/production/structures/WeakIdCache.cjs.map +0 -1
  634. package/dist/production/structures/WeakIdCache.js +0 -33
  635. package/dist/production/structures/WeakIdCache.js.map +0 -1
  636. package/dist/production/treeParameterHelpers/wrapFilterInHasOnes.cjs +0 -22
  637. package/dist/production/treeParameterHelpers/wrapFilterInHasOnes.cjs.map +0 -1
  638. package/dist/production/treeParameterHelpers/wrapFilterInHasOnes.js +0 -22
  639. package/dist/production/treeParameterHelpers/wrapFilterInHasOnes.js.map +0 -1
  640. package/dist/production/treeParameters/EntityCreationParameters.cjs +0 -8
  641. package/dist/production/treeParameters/EntityCreationParameters.cjs.map +0 -1
  642. package/dist/production/treeParameters/EntityCreationParameters.js +0 -8
  643. package/dist/production/treeParameters/EntityCreationParameters.js.map +0 -1
  644. package/dist/production/treeParameters/EntityListPreferences.cjs +0 -7
  645. package/dist/production/treeParameters/EntityListPreferences.cjs.map +0 -1
  646. package/dist/production/treeParameters/EntityListPreferences.js +0 -7
  647. package/dist/production/treeParameters/EntityListPreferences.js.map +0 -1
  648. package/dist/production/treeParameters/EventListenersStore.cjs +0 -70
  649. package/dist/production/treeParameters/EventListenersStore.cjs.map +0 -1
  650. package/dist/production/treeParameters/EventListenersStore.js +0 -70
  651. package/dist/production/treeParameters/EventListenersStore.js.map +0 -1
  652. package/dist/production/treeParameters/LeafField.cjs +0 -7
  653. package/dist/production/treeParameters/LeafField.cjs.map +0 -1
  654. package/dist/production/treeParameters/LeafField.js +0 -7
  655. package/dist/production/treeParameters/LeafField.js.map +0 -1
  656. package/dist/production/treeParameters/QualifiedEntityParameters.cjs +0 -7
  657. package/dist/production/treeParameters/QualifiedEntityParameters.cjs.map +0 -1
  658. package/dist/production/treeParameters/QualifiedEntityParameters.js +0 -7
  659. package/dist/production/treeParameters/QualifiedEntityParameters.js.map +0 -1
  660. package/dist/production/treeParameters/Relation.cjs +0 -7
  661. package/dist/production/treeParameters/Relation.cjs.map +0 -1
  662. package/dist/production/treeParameters/Relation.js +0 -7
  663. package/dist/production/treeParameters/Relation.js.map +0 -1
  664. package/dist/production/utils/Hashing.cjs +0 -22
  665. package/dist/production/utils/Hashing.cjs.map +0 -1
  666. package/dist/production/utils/Hashing.js +0 -22
  667. package/dist/production/utils/Hashing.js.map +0 -1
  668. package/dist/production/utils/TreeNodeUtils.cjs +0 -77
  669. package/dist/production/utils/TreeNodeUtils.cjs.map +0 -1
  670. package/dist/production/utils/TreeNodeUtils.js +0 -77
  671. package/dist/production/utils/TreeNodeUtils.js.map +0 -1
  672. package/dist/production/utils/assert.cjs +0 -11
  673. package/dist/production/utils/assert.cjs.map +0 -1
  674. package/dist/production/utils/assert.js +0 -11
  675. package/dist/production/utils/assert.js.map +0 -1
  676. package/dist/production/utils/assertNever.cjs +0 -10
  677. package/dist/production/utils/assertNever.cjs.map +0 -1
  678. package/dist/production/utils/assertNever.js +0 -10
  679. package/dist/production/utils/assertNever.js.map +0 -1
  680. package/dist/production/utils/generateEnumerabilityPreventingEntropy.cjs +0 -7
  681. package/dist/production/utils/generateEnumerabilityPreventingEntropy.cjs.map +0 -1
  682. package/dist/production/utils/generateEnumerabilityPreventingEntropy.js +0 -7
  683. package/dist/production/utils/generateEnumerabilityPreventingEntropy.js.map +0 -1
  684. package/dist/production/utils/isEmptyObject.cjs +0 -12
  685. package/dist/production/utils/isEmptyObject.cjs.map +0 -1
  686. package/dist/production/utils/isEmptyObject.js +0 -12
  687. package/dist/production/utils/isEmptyObject.js.map +0 -1
  688. package/dist/production/utils/ucfirst.cjs +0 -5
  689. package/dist/production/utils/ucfirst.cjs.map +0 -1
  690. package/dist/production/utils/ucfirst.js +0 -5
  691. package/dist/production/utils/ucfirst.js.map +0 -1
  692. package/dist/types/BindingError.d.ts +0 -4
  693. package/dist/types/BindingError.d.ts.map +0 -1
  694. package/dist/types/accessorTree/NormalizedPersistedData.d.ts +0 -13
  695. package/dist/types/accessorTree/NormalizedPersistedData.d.ts.map +0 -1
  696. package/dist/types/accessorTree/PersistResult.d.ts +0 -23
  697. package/dist/types/accessorTree/PersistResult.d.ts.map +0 -1
  698. package/dist/types/accessorTree/QueryRequestResponse.d.ts +0 -20
  699. package/dist/types/accessorTree/QueryRequestResponse.d.ts.map +0 -1
  700. package/dist/types/accessorTree/RuntimeId.d.ts +0 -35
  701. package/dist/types/accessorTree/RuntimeId.d.ts.map +0 -1
  702. package/dist/types/accessorTree/index.d.ts +0 -5
  703. package/dist/types/accessorTree/index.d.ts.map +0 -1
  704. package/dist/types/accessors/AsyncBatchUpdatesOptions.d.ts +0 -8
  705. package/dist/types/accessors/AsyncBatchUpdatesOptions.d.ts.map +0 -1
  706. package/dist/types/accessors/BatchUpdatesOptions.d.ts +0 -9
  707. package/dist/types/accessors/BatchUpdatesOptions.d.ts.map +0 -1
  708. package/dist/types/accessors/BindingConfig.d.ts +0 -6
  709. package/dist/types/accessors/BindingConfig.d.ts.map +0 -1
  710. package/dist/types/accessors/BindingOperations.d.ts +0 -12
  711. package/dist/types/accessors/BindingOperations.d.ts.map +0 -1
  712. package/dist/types/accessors/EntityAccessor.d.ts +0 -95
  713. package/dist/types/accessors/EntityAccessor.d.ts.map +0 -1
  714. package/dist/types/accessors/EntityListAccessor.d.ts +0 -88
  715. package/dist/types/accessors/EntityListAccessor.d.ts.map +0 -1
  716. package/dist/types/accessors/ErrorAccessor.d.ts +0 -29
  717. package/dist/types/accessors/ErrorAccessor.d.ts.map +0 -1
  718. package/dist/types/accessors/Errorable.d.ts +0 -5
  719. package/dist/types/accessors/Errorable.d.ts.map +0 -1
  720. package/dist/types/accessors/ExtendTree.d.ts +0 -8
  721. package/dist/types/accessors/ExtendTree.d.ts.map +0 -1
  722. package/dist/types/accessors/FieldAccessor.d.ts +0 -57
  723. package/dist/types/accessors/FieldAccessor.d.ts.map +0 -1
  724. package/dist/types/accessors/GetEntityByKey.d.ts +0 -3
  725. package/dist/types/accessors/GetEntityByKey.d.ts.map +0 -1
  726. package/dist/types/accessors/GetEntityListSubTree.d.ts +0 -5
  727. package/dist/types/accessors/GetEntityListSubTree.d.ts.map +0 -1
  728. package/dist/types/accessors/GetEntitySubTree.d.ts +0 -5
  729. package/dist/types/accessors/GetEntitySubTree.d.ts.map +0 -1
  730. package/dist/types/accessors/Persist.d.ts +0 -10
  731. package/dist/types/accessors/Persist.d.ts.map +0 -1
  732. package/dist/types/accessors/PersistErrorOptions.d.ts +0 -8
  733. package/dist/types/accessors/PersistErrorOptions.d.ts.map +0 -1
  734. package/dist/types/accessors/PersistSuccessOptions.d.ts +0 -5
  735. package/dist/types/accessors/PersistSuccessOptions.d.ts.map +0 -1
  736. package/dist/types/accessors/TreeRootAccessor.d.ts +0 -11
  737. package/dist/types/accessors/TreeRootAccessor.d.ts.map +0 -1
  738. package/dist/types/accessors/index.d.ts +0 -18
  739. package/dist/types/accessors/index.d.ts.map +0 -1
  740. package/dist/types/bindingTypes.d.ts +0 -4
  741. package/dist/types/bindingTypes.d.ts.map +0 -1
  742. package/dist/types/core/AccessorErrorManager.d.ts +0 -25
  743. package/dist/types/core/AccessorErrorManager.d.ts.map +0 -1
  744. package/dist/types/core/Config.d.ts +0 -9
  745. package/dist/types/core/Config.d.ts.map +0 -1
  746. package/dist/types/core/DataBinding.d.ts +0 -50
  747. package/dist/types/core/DataBinding.d.ts.map +0 -1
  748. package/dist/types/core/DirtinessTracker.d.ts +0 -9
  749. package/dist/types/core/DirtinessTracker.d.ts.map +0 -1
  750. package/dist/types/core/ErrorsPreprocessor.d.ts +0 -35
  751. package/dist/types/core/ErrorsPreprocessor.d.ts.map +0 -1
  752. package/dist/types/core/EventManager.d.ts +0 -57
  753. package/dist/types/core/EventManager.d.ts.map +0 -1
  754. package/dist/types/core/MarkerComparator.d.ts +0 -8
  755. package/dist/types/core/MarkerComparator.d.ts.map +0 -1
  756. package/dist/types/core/MarkerMerger.d.ts +0 -22
  757. package/dist/types/core/MarkerMerger.d.ts.map +0 -1
  758. package/dist/types/core/MutationGenerator.d.ts +0 -46
  759. package/dist/types/core/MutationGenerator.d.ts.map +0 -1
  760. package/dist/types/core/QueryGenerator.d.ts +0 -12
  761. package/dist/types/core/QueryGenerator.d.ts.map +0 -1
  762. package/dist/types/core/RealmKeyGenerator.d.ts +0 -11
  763. package/dist/types/core/RealmKeyGenerator.d.ts.map +0 -1
  764. package/dist/types/core/RequestResponseNormalizer.d.ts +0 -10
  765. package/dist/types/core/RequestResponseNormalizer.d.ts.map +0 -1
  766. package/dist/types/core/StateInitializer.d.ts +0 -34
  767. package/dist/types/core/StateInitializer.d.ts.map +0 -1
  768. package/dist/types/core/TreeAugmenter.d.ts +0 -22
  769. package/dist/types/core/TreeAugmenter.d.ts.map +0 -1
  770. package/dist/types/core/TreeFilterGenerator.d.ts +0 -13
  771. package/dist/types/core/TreeFilterGenerator.d.ts.map +0 -1
  772. package/dist/types/core/TreeParameterMerger.d.ts +0 -20
  773. package/dist/types/core/TreeParameterMerger.d.ts.map +0 -1
  774. package/dist/types/core/TreeStore.d.ts +0 -32
  775. package/dist/types/core/TreeStore.d.ts.map +0 -1
  776. package/dist/types/core/UpdateMetadata.d.ts +0 -4
  777. package/dist/types/core/UpdateMetadata.d.ts.map +0 -1
  778. package/dist/types/core/VariableInputTransformer.d.ts +0 -7
  779. package/dist/types/core/VariableInputTransformer.d.ts.map +0 -1
  780. package/dist/types/core/exceptions/ErrorLocator.d.ts +0 -8
  781. package/dist/types/core/exceptions/ErrorLocator.d.ts.map +0 -1
  782. package/dist/types/core/exceptions/LocalizedBindingError.d.ts +0 -9
  783. package/dist/types/core/exceptions/LocalizedBindingError.d.ts.map +0 -1
  784. package/dist/types/core/exceptions/MarkerSugarer.d.ts +0 -10
  785. package/dist/types/core/exceptions/MarkerSugarer.d.ts.map +0 -1
  786. package/dist/types/core/exceptions/RawMarkerPath.d.ts +0 -3
  787. package/dist/types/core/exceptions/RawMarkerPath.d.ts.map +0 -1
  788. package/dist/types/core/exceptions/TreeParameterSugarer.d.ts +0 -11
  789. package/dist/types/core/exceptions/TreeParameterSugarer.d.ts.map +0 -1
  790. package/dist/types/core/exceptions/index.d.ts +0 -6
  791. package/dist/types/core/exceptions/index.d.ts.map +0 -1
  792. package/dist/types/core/factories/createBatchUpdatesOptions.d.ts +0 -5
  793. package/dist/types/core/factories/createBatchUpdatesOptions.d.ts.map +0 -1
  794. package/dist/types/core/factories/index.d.ts +0 -2
  795. package/dist/types/core/factories/index.d.ts.map +0 -1
  796. package/dist/types/core/index.d.ts +0 -14
  797. package/dist/types/core/index.d.ts.map +0 -1
  798. package/dist/types/core/operations/EntityOperations.d.ts +0 -26
  799. package/dist/types/core/operations/EntityOperations.d.ts.map +0 -1
  800. package/dist/types/core/operations/FieldOperations.d.ts +0 -22
  801. package/dist/types/core/operations/FieldOperations.d.ts.map +0 -1
  802. package/dist/types/core/operations/ListOperations.d.ts +0 -33
  803. package/dist/types/core/operations/ListOperations.d.ts.map +0 -1
  804. package/dist/types/core/operations/OperationsHelpers.d.ts +0 -14
  805. package/dist/types/core/operations/OperationsHelpers.d.ts.map +0 -1
  806. package/dist/types/core/operations/index.d.ts +0 -4
  807. package/dist/types/core/operations/index.d.ts.map +0 -1
  808. package/dist/types/core/requestAliases/MutationAlias.d.ts +0 -6
  809. package/dist/types/core/requestAliases/MutationAlias.d.ts.map +0 -1
  810. package/dist/types/core/requestAliases/index.d.ts +0 -2
  811. package/dist/types/core/requestAliases/index.d.ts.map +0 -1
  812. package/dist/types/core/schema/RawSchema.d.ts +0 -7
  813. package/dist/types/core/schema/RawSchema.d.ts.map +0 -1
  814. package/dist/types/core/schema/RawSchemaEntity.d.ts +0 -13
  815. package/dist/types/core/schema/RawSchemaEntity.d.ts.map +0 -1
  816. package/dist/types/core/schema/RawSchemaEnum.d.ts +0 -6
  817. package/dist/types/core/schema/RawSchemaEnum.d.ts.map +0 -1
  818. package/dist/types/core/schema/Schema.d.ts +0 -21
  819. package/dist/types/core/schema/Schema.d.ts.map +0 -1
  820. package/dist/types/core/schema/SchemaColumn.d.ts +0 -12
  821. package/dist/types/core/schema/SchemaColumn.d.ts.map +0 -1
  822. package/dist/types/core/schema/SchemaColumnType.d.ts +0 -3
  823. package/dist/types/core/schema/SchemaColumnType.d.ts.map +0 -1
  824. package/dist/types/core/schema/SchemaEntities.d.ts +0 -4
  825. package/dist/types/core/schema/SchemaEntities.d.ts.map +0 -1
  826. package/dist/types/core/schema/SchemaEntity.d.ts +0 -10
  827. package/dist/types/core/schema/SchemaEntity.d.ts.map +0 -1
  828. package/dist/types/core/schema/SchemaEnums.d.ts +0 -4
  829. package/dist/types/core/schema/SchemaEnums.d.ts.map +0 -1
  830. package/dist/types/core/schema/SchemaField.d.ts +0 -4
  831. package/dist/types/core/schema/SchemaField.d.ts.map +0 -1
  832. package/dist/types/core/schema/SchemaFields.d.ts +0 -4
  833. package/dist/types/core/schema/SchemaFields.d.ts.map +0 -1
  834. package/dist/types/core/schema/SchemaLoader.d.ts +0 -8
  835. package/dist/types/core/schema/SchemaLoader.d.ts.map +0 -1
  836. package/dist/types/core/schema/SchemaPreprocessor.d.ts +0 -9
  837. package/dist/types/core/schema/SchemaPreprocessor.d.ts.map +0 -1
  838. package/dist/types/core/schema/SchemaRelation.d.ts +0 -24
  839. package/dist/types/core/schema/SchemaRelation.d.ts.map +0 -1
  840. package/dist/types/core/schema/SchemaRelationOrderBy.d.ts +0 -5
  841. package/dist/types/core/schema/SchemaRelationOrderBy.d.ts.map +0 -1
  842. package/dist/types/core/schema/SchemaStore.d.ts +0 -7
  843. package/dist/types/core/schema/SchemaStore.d.ts.map +0 -1
  844. package/dist/types/core/schema/SchemaUniqueConstraint.d.ts +0 -5
  845. package/dist/types/core/schema/SchemaUniqueConstraint.d.ts.map +0 -1
  846. package/dist/types/core/schema/index.d.ts +0 -16
  847. package/dist/types/core/schema/index.d.ts.map +0 -1
  848. package/dist/types/core/state/EntityListState.d.ts +0 -29
  849. package/dist/types/core/state/EntityListState.d.ts.map +0 -1
  850. package/dist/types/core/state/EntityRealmState.d.ts +0 -44
  851. package/dist/types/core/state/EntityRealmState.d.ts.map +0 -1
  852. package/dist/types/core/state/EntityState.d.ts +0 -12
  853. package/dist/types/core/state/EntityState.d.ts.map +0 -1
  854. package/dist/types/core/state/FieldState.d.ts +0 -19
  855. package/dist/types/core/state/FieldState.d.ts.map +0 -1
  856. package/dist/types/core/state/StateIterator.d.ts +0 -14
  857. package/dist/types/core/state/StateIterator.d.ts.map +0 -1
  858. package/dist/types/core/state/StateNode.d.ts +0 -8
  859. package/dist/types/core/state/StateNode.d.ts.map +0 -1
  860. package/dist/types/core/state/getEntityMarker.d.ts +0 -3
  861. package/dist/types/core/state/getEntityMarker.d.ts.map +0 -1
  862. package/dist/types/core/state/index.d.ts +0 -8
  863. package/dist/types/core/state/index.d.ts.map +0 -1
  864. package/dist/types/core/utils/createQueryBuilder.d.ts +0 -4
  865. package/dist/types/core/utils/createQueryBuilder.d.ts.map +0 -1
  866. package/dist/types/core/utils/getCombinedSignal.d.ts +0 -2
  867. package/dist/types/core/utils/getCombinedSignal.d.ts.map +0 -1
  868. package/dist/types/core/utils/index.d.ts +0 -2
  869. package/dist/types/core/utils/index.d.ts.map +0 -1
  870. package/dist/types/dao/Environment.d.ts +0 -107
  871. package/dist/types/dao/Environment.d.ts.map +0 -1
  872. package/dist/types/dao/TreeNodeEnvironmentFactory.d.ts +0 -15
  873. package/dist/types/dao/TreeNodeEnvironmentFactory.d.ts.map +0 -1
  874. package/dist/types/dao/VariableFieldValue.d.ts +0 -5
  875. package/dist/types/dao/VariableFieldValue.d.ts.map +0 -1
  876. package/dist/types/dao/index.d.ts +0 -4
  877. package/dist/types/dao/index.d.ts.map +0 -1
  878. package/dist/types/fieldHelpers/helpers/FieldHelper.d.ts +0 -7
  879. package/dist/types/fieldHelpers/helpers/FieldHelper.d.ts.map +0 -1
  880. package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts +0 -10
  881. package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts.map +0 -1
  882. package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts +0 -10
  883. package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts.map +0 -1
  884. package/dist/types/fieldHelpers/helpers/index.d.ts +0 -3
  885. package/dist/types/fieldHelpers/helpers/index.d.ts.map +0 -1
  886. package/dist/types/fieldHelpers/index.d.ts +0 -2
  887. package/dist/types/fieldHelpers/index.d.ts.map +0 -1
  888. package/dist/types/markers/EntityFieldMarkers.d.ts +0 -7
  889. package/dist/types/markers/EntityFieldMarkers.d.ts.map +0 -1
  890. package/dist/types/markers/EntityFieldMarkersContainer.d.ts +0 -13
  891. package/dist/types/markers/EntityFieldMarkersContainer.d.ts.map +0 -1
  892. package/dist/types/markers/EntityFieldPlaceholders.d.ts +0 -3
  893. package/dist/types/markers/EntityFieldPlaceholders.d.ts.map +0 -1
  894. package/dist/types/markers/EntityFieldsWithHoistablesMarker.d.ts +0 -10
  895. package/dist/types/markers/EntityFieldsWithHoistablesMarker.d.ts.map +0 -1
  896. package/dist/types/markers/EntityListSubTreeMarker.d.ts +0 -12
  897. package/dist/types/markers/EntityListSubTreeMarker.d.ts.map +0 -1
  898. package/dist/types/markers/EntitySubTreeMarker.d.ts +0 -12
  899. package/dist/types/markers/EntitySubTreeMarker.d.ts.map +0 -1
  900. package/dist/types/markers/FieldMarker.d.ts +0 -14
  901. package/dist/types/markers/FieldMarker.d.ts.map +0 -1
  902. package/dist/types/markers/HasManyRelationMarker.d.ts +0 -12
  903. package/dist/types/markers/HasManyRelationMarker.d.ts.map +0 -1
  904. package/dist/types/markers/HasOneRelationMarker.d.ts +0 -12
  905. package/dist/types/markers/HasOneRelationMarker.d.ts.map +0 -1
  906. package/dist/types/markers/MarkerTreeRoot.d.ts +0 -8
  907. package/dist/types/markers/MarkerTreeRoot.d.ts.map +0 -1
  908. package/dist/types/markers/MeaningfulMarker.d.ts +0 -7
  909. package/dist/types/markers/MeaningfulMarker.d.ts.map +0 -1
  910. package/dist/types/markers/ParentEntityMarker.d.ts +0 -8
  911. package/dist/types/markers/ParentEntityMarker.d.ts.map +0 -1
  912. package/dist/types/markers/PlaceholderGenerator.d.ts +0 -10
  913. package/dist/types/markers/PlaceholderGenerator.d.ts.map +0 -1
  914. package/dist/types/markers/PlaceholderParametersGenerator.d.ts +0 -9
  915. package/dist/types/markers/PlaceholderParametersGenerator.d.ts.map +0 -1
  916. package/dist/types/markers/SubTreeMarkers.d.ts +0 -5
  917. package/dist/types/markers/SubTreeMarkers.d.ts.map +0 -1
  918. package/dist/types/markers/index.d.ts +0 -15
  919. package/dist/types/markers/index.d.ts.map +0 -1
  920. package/dist/types/queryLanguage/CacheStore.d.ts +0 -9
  921. package/dist/types/queryLanguage/CacheStore.d.ts.map +0 -1
  922. package/dist/types/queryLanguage/MarkerFactory.d.ts +0 -21
  923. package/dist/types/queryLanguage/MarkerFactory.d.ts.map +0 -1
  924. package/dist/types/queryLanguage/Parser.d.ts +0 -83
  925. package/dist/types/queryLanguage/Parser.d.ts.map +0 -1
  926. package/dist/types/queryLanguage/ParserResults.d.ts +0 -63
  927. package/dist/types/queryLanguage/ParserResults.d.ts.map +0 -1
  928. package/dist/types/queryLanguage/QueryLanguage.d.ts +0 -43
  929. package/dist/types/queryLanguage/QueryLanguage.d.ts.map +0 -1
  930. package/dist/types/queryLanguage/QueryLanguageError.d.ts +0 -3
  931. package/dist/types/queryLanguage/QueryLanguageError.d.ts.map +0 -1
  932. package/dist/types/queryLanguage/index.d.ts +0 -6
  933. package/dist/types/queryLanguage/index.d.ts.map +0 -1
  934. package/dist/types/queryLanguage/tokenList.d.ts +0 -35
  935. package/dist/types/queryLanguage/tokenList.d.ts.map +0 -1
  936. package/dist/types/structures/BijectiveIndexedMap.d.ts +0 -24
  937. package/dist/types/structures/BijectiveIndexedMap.d.ts.map +0 -1
  938. package/dist/types/structures/LRUCache.d.ts +0 -9
  939. package/dist/types/structures/LRUCache.d.ts.map +0 -1
  940. package/dist/types/structures/WeakIdCache.d.ts +0 -9
  941. package/dist/types/structures/WeakIdCache.d.ts.map +0 -1
  942. package/dist/types/structures/index.d.ts +0 -4
  943. package/dist/types/structures/index.d.ts.map +0 -1
  944. package/dist/types/treeParameterHelpers/index.d.ts +0 -2
  945. package/dist/types/treeParameterHelpers/index.d.ts.map +0 -1
  946. package/dist/types/treeParameterHelpers/wrapFilterInHasOnes.d.ts +0 -3
  947. package/dist/types/treeParameterHelpers/wrapFilterInHasOnes.d.ts.map +0 -1
  948. package/dist/types/treeParameters/AnyField.d.ts +0 -8
  949. package/dist/types/treeParameters/AnyField.d.ts.map +0 -1
  950. package/dist/types/treeParameters/EntityCreationParameters.d.ts +0 -13
  951. package/dist/types/treeParameters/EntityCreationParameters.d.ts.map +0 -1
  952. package/dist/types/treeParameters/EntityListEventListeners.d.ts +0 -15
  953. package/dist/types/treeParameters/EntityListEventListeners.d.ts.map +0 -1
  954. package/dist/types/treeParameters/EntityListParameters.d.ts +0 -17
  955. package/dist/types/treeParameters/EntityListParameters.d.ts.map +0 -1
  956. package/dist/types/treeParameters/EntityListPreferences.d.ts +0 -8
  957. package/dist/types/treeParameters/EntityListPreferences.d.ts.map +0 -1
  958. package/dist/types/treeParameters/EventListenersStore.d.ts +0 -33
  959. package/dist/types/treeParameters/EventListenersStore.d.ts.map +0 -1
  960. package/dist/types/treeParameters/FieldEventListeners.d.ts +0 -16
  961. package/dist/types/treeParameters/FieldEventListeners.d.ts.map +0 -1
  962. package/dist/types/treeParameters/HasManyRelation.d.ts +0 -10
  963. package/dist/types/treeParameters/HasManyRelation.d.ts.map +0 -1
  964. package/dist/types/treeParameters/HasOneRelation.d.ts +0 -13
  965. package/dist/types/treeParameters/HasOneRelation.d.ts.map +0 -1
  966. package/dist/types/treeParameters/LeafField.d.ts +0 -14
  967. package/dist/types/treeParameters/LeafField.d.ts.map +0 -1
  968. package/dist/types/treeParameters/ParentEntityParameters.d.ts +0 -8
  969. package/dist/types/treeParameters/ParentEntityParameters.d.ts.map +0 -1
  970. package/dist/types/treeParameters/QualifiedEntityList.d.ts +0 -19
  971. package/dist/types/treeParameters/QualifiedEntityList.d.ts.map +0 -1
  972. package/dist/types/treeParameters/QualifiedEntityParameters.d.ts +0 -17
  973. package/dist/types/treeParameters/QualifiedEntityParameters.d.ts.map +0 -1
  974. package/dist/types/treeParameters/QualifiedFieldList.d.ts +0 -16
  975. package/dist/types/treeParameters/QualifiedFieldList.d.ts.map +0 -1
  976. package/dist/types/treeParameters/QualifiedSingleEntity.d.ts +0 -20
  977. package/dist/types/treeParameters/QualifiedSingleEntity.d.ts.map +0 -1
  978. package/dist/types/treeParameters/QualifiedSingleEntityParameters.d.ts +0 -8
  979. package/dist/types/treeParameters/QualifiedSingleEntityParameters.d.ts.map +0 -1
  980. package/dist/types/treeParameters/Relation.d.ts +0 -15
  981. package/dist/types/treeParameters/Relation.d.ts.map +0 -1
  982. package/dist/types/treeParameters/RelativeEntityList.d.ts +0 -19
  983. package/dist/types/treeParameters/RelativeEntityList.d.ts.map +0 -1
  984. package/dist/types/treeParameters/RelativeSingleEntity.d.ts +0 -13
  985. package/dist/types/treeParameters/RelativeSingleEntity.d.ts.map +0 -1
  986. package/dist/types/treeParameters/RelativeSingleField.d.ts +0 -15
  987. package/dist/types/treeParameters/RelativeSingleField.d.ts.map +0 -1
  988. package/dist/types/treeParameters/SetOnCreate.d.ts +0 -4
  989. package/dist/types/treeParameters/SetOnCreate.d.ts.map +0 -1
  990. package/dist/types/treeParameters/SingleEntityEventListeners.d.ts +0 -16
  991. package/dist/types/treeParameters/SingleEntityEventListeners.d.ts.map +0 -1
  992. package/dist/types/treeParameters/SingleEntityParameters.d.ts +0 -8
  993. package/dist/types/treeParameters/SingleEntityParameters.d.ts.map +0 -1
  994. package/dist/types/treeParameters/UnconstrainedQualifiedEntityList.d.ts +0 -21
  995. package/dist/types/treeParameters/UnconstrainedQualifiedEntityList.d.ts.map +0 -1
  996. package/dist/types/treeParameters/UnconstrainedQualifiedSingleEntity.d.ts +0 -20
  997. package/dist/types/treeParameters/UnconstrainedQualifiedSingleEntity.d.ts.map +0 -1
  998. package/dist/types/treeParameters/index.d.ts +0 -27
  999. package/dist/types/treeParameters/index.d.ts.map +0 -1
  1000. package/dist/types/treeParameters/primitives/Alias.d.ts +0 -2
  1001. package/dist/types/treeParameters/primitives/Alias.d.ts.map +0 -1
  1002. package/dist/types/treeParameters/primitives/EntityId.d.ts +0 -2
  1003. package/dist/types/treeParameters/primitives/EntityId.d.ts.map +0 -1
  1004. package/dist/types/treeParameters/primitives/EntityName.d.ts +0 -2
  1005. package/dist/types/treeParameters/primitives/EntityName.d.ts.map +0 -1
  1006. package/dist/types/treeParameters/primitives/EntityRealmKey.d.ts +0 -2
  1007. package/dist/types/treeParameters/primitives/EntityRealmKey.d.ts.map +0 -1
  1008. package/dist/types/treeParameters/primitives/ExpectedEntityCount.d.ts +0 -2
  1009. package/dist/types/treeParameters/primitives/ExpectedEntityCount.d.ts.map +0 -1
  1010. package/dist/types/treeParameters/primitives/ExpectedQualifiedEntityMutation.d.ts +0 -2
  1011. package/dist/types/treeParameters/primitives/ExpectedQualifiedEntityMutation.d.ts.map +0 -1
  1012. package/dist/types/treeParameters/primitives/ExpectedRelationMutation.d.ts +0 -2
  1013. package/dist/types/treeParameters/primitives/ExpectedRelationMutation.d.ts.map +0 -1
  1014. package/dist/types/treeParameters/primitives/FieldName.d.ts +0 -2
  1015. package/dist/types/treeParameters/primitives/FieldName.d.ts.map +0 -1
  1016. package/dist/types/treeParameters/primitives/FieldValue.d.ts +0 -5
  1017. package/dist/types/treeParameters/primitives/FieldValue.d.ts.map +0 -1
  1018. package/dist/types/treeParameters/primitives/Filter.d.ts +0 -4
  1019. package/dist/types/treeParameters/primitives/Filter.d.ts.map +0 -1
  1020. package/dist/types/treeParameters/primitives/Json.d.ts +0 -7
  1021. package/dist/types/treeParameters/primitives/Json.d.ts.map +0 -1
  1022. package/dist/types/treeParameters/primitives/Limit.d.ts +0 -2
  1023. package/dist/types/treeParameters/primitives/Limit.d.ts.map +0 -1
  1024. package/dist/types/treeParameters/primitives/Offset.d.ts +0 -2
  1025. package/dist/types/treeParameters/primitives/Offset.d.ts.map +0 -1
  1026. package/dist/types/treeParameters/primitives/OrderBy.d.ts +0 -4
  1027. package/dist/types/treeParameters/primitives/OrderBy.d.ts.map +0 -1
  1028. package/dist/types/treeParameters/primitives/PlaceholderName.d.ts +0 -2
  1029. package/dist/types/treeParameters/primitives/PlaceholderName.d.ts.map +0 -1
  1030. package/dist/types/treeParameters/primitives/RemovalType.d.ts +0 -2
  1031. package/dist/types/treeParameters/primitives/RemovalType.d.ts.map +0 -1
  1032. package/dist/types/treeParameters/primitives/Scalar.d.ts +0 -2
  1033. package/dist/types/treeParameters/primitives/Scalar.d.ts.map +0 -1
  1034. package/dist/types/treeParameters/primitives/TreeRootId.d.ts +0 -2
  1035. package/dist/types/treeParameters/primitives/TreeRootId.d.ts.map +0 -1
  1036. package/dist/types/treeParameters/primitives/UniqueWhere.d.ts +0 -4
  1037. package/dist/types/treeParameters/primitives/UniqueWhere.d.ts.map +0 -1
  1038. package/dist/types/treeParameters/primitives/index.d.ts +0 -20
  1039. package/dist/types/treeParameters/primitives/index.d.ts.map +0 -1
  1040. package/dist/types/utils/Hashing.d.ts +0 -5
  1041. package/dist/types/utils/Hashing.d.ts.map +0 -1
  1042. package/dist/types/utils/TreeNodeUtils.d.ts +0 -13
  1043. package/dist/types/utils/TreeNodeUtils.d.ts.map +0 -1
  1044. package/dist/types/utils/assert.d.ts +0 -2
  1045. package/dist/types/utils/assert.d.ts.map +0 -1
  1046. package/dist/types/utils/assertNever.d.ts +0 -2
  1047. package/dist/types/utils/assertNever.d.ts.map +0 -1
  1048. package/dist/types/utils/generateEnumerabilityPreventingEntropy.d.ts +0 -2
  1049. package/dist/types/utils/generateEnumerabilityPreventingEntropy.d.ts.map +0 -1
  1050. package/dist/types/utils/index.d.ts +0 -7
  1051. package/dist/types/utils/index.d.ts.map +0 -1
  1052. package/dist/types/utils/isEmptyObject.d.ts +0 -2
  1053. package/dist/types/utils/isEmptyObject.d.ts.map +0 -1
  1054. package/dist/types/utils/ucfirst.d.ts +0 -2
  1055. package/dist/types/utils/ucfirst.d.ts.map +0 -1
  1056. package/src/BindingError.ts +0 -5
  1057. package/src/accessorTree/NormalizedPersistedData.ts +0 -23
  1058. package/src/accessorTree/PersistResult.ts +0 -28
  1059. package/src/accessorTree/QueryRequestResponse.ts +0 -23
  1060. package/src/accessorTree/RuntimeId.ts +0 -70
  1061. package/src/accessorTree/index.ts +0 -4
  1062. package/src/accessors/AsyncBatchUpdatesOptions.ts +0 -8
  1063. package/src/accessors/BatchUpdatesOptions.ts +0 -9
  1064. package/src/accessors/BindingConfig.ts +0 -5
  1065. package/src/accessors/BindingOperations.ts +0 -15
  1066. package/src/accessors/EntityAccessor.ts +0 -299
  1067. package/src/accessors/EntityListAccessor.ts +0 -183
  1068. package/src/accessors/ErrorAccessor.ts +0 -43
  1069. package/src/accessors/Errorable.ts +0 -5
  1070. package/src/accessors/ExtendTree.ts +0 -9
  1071. package/src/accessors/FieldAccessor.ts +0 -107
  1072. package/src/accessors/GetEntityByKey.ts +0 -3
  1073. package/src/accessors/GetEntityListSubTree.ts +0 -14
  1074. package/src/accessors/GetEntitySubTree.ts +0 -14
  1075. package/src/accessors/Persist.ts +0 -11
  1076. package/src/accessors/PersistErrorOptions.ts +0 -10
  1077. package/src/accessors/PersistSuccessOptions.ts +0 -5
  1078. package/src/accessors/TreeRootAccessor.ts +0 -14
  1079. package/src/accessors/index.ts +0 -17
  1080. package/src/bindingTypes.ts +0 -3
  1081. package/src/core/AccessorErrorManager.ts +0 -242
  1082. package/src/core/Config.ts +0 -27
  1083. package/src/core/DataBinding.ts +0 -430
  1084. package/src/core/DirtinessTracker.ts +0 -21
  1085. package/src/core/ErrorsPreprocessor.ts +0 -239
  1086. package/src/core/EventManager.ts +0 -589
  1087. package/src/core/MarkerComparator.ts +0 -102
  1088. package/src/core/MarkerMerger.ts +0 -296
  1089. package/src/core/MutationGenerator.ts +0 -823
  1090. package/src/core/QueryGenerator.ts +0 -127
  1091. package/src/core/RealmKeyGenerator.ts +0 -54
  1092. package/src/core/RequestResponseNormalizer.ts +0 -161
  1093. package/src/core/StateInitializer.ts +0 -558
  1094. package/src/core/TreeAugmenter.ts +0 -266
  1095. package/src/core/TreeFilterGenerator.ts +0 -116
  1096. package/src/core/TreeParameterMerger.ts +0 -382
  1097. package/src/core/TreeStore.ts +0 -256
  1098. package/src/core/UpdateMetadata.ts +0 -3
  1099. package/src/core/VariableInputTransformer.ts +0 -26
  1100. package/src/core/exceptions/ErrorLocator.ts +0 -58
  1101. package/src/core/exceptions/LocalizedBindingError.ts +0 -20
  1102. package/src/core/exceptions/MarkerSugarer.ts +0 -61
  1103. package/src/core/exceptions/RawMarkerPath.ts +0 -3
  1104. package/src/core/exceptions/TreeParameterSugarer.ts +0 -41
  1105. package/src/core/exceptions/index.ts +0 -5
  1106. package/src/core/factories/createBatchUpdatesOptions.ts +0 -38
  1107. package/src/core/factories/index.ts +0 -1
  1108. package/src/core/index.ts +0 -13
  1109. package/src/core/operations/EntityOperations.ts +0 -306
  1110. package/src/core/operations/FieldOperations.ts +0 -127
  1111. package/src/core/operations/ListOperations.ts +0 -208
  1112. package/src/core/operations/OperationsHelpers.ts +0 -150
  1113. package/src/core/operations/index.ts +0 -3
  1114. package/src/core/requestAliases/MutationAlias.ts +0 -13
  1115. package/src/core/requestAliases/index.ts +0 -1
  1116. package/src/core/schema/RawSchema.ts +0 -7
  1117. package/src/core/schema/RawSchemaEntity.ts +0 -12
  1118. package/src/core/schema/RawSchemaEnum.ts +0 -6
  1119. package/src/core/schema/Schema.ts +0 -50
  1120. package/src/core/schema/SchemaColumn.ts +0 -15
  1121. package/src/core/schema/SchemaColumnType.ts +0 -3
  1122. package/src/core/schema/SchemaEntities.ts +0 -4
  1123. package/src/core/schema/SchemaEntity.ts +0 -10
  1124. package/src/core/schema/SchemaEnums.ts +0 -3
  1125. package/src/core/schema/SchemaField.ts +0 -4
  1126. package/src/core/schema/SchemaFields.ts +0 -4
  1127. package/src/core/schema/SchemaLoader.ts +0 -64
  1128. package/src/core/schema/SchemaPreprocessor.ts +0 -51
  1129. package/src/core/schema/SchemaRelation.ts +0 -29
  1130. package/src/core/schema/SchemaRelationOrderBy.ts +0 -4
  1131. package/src/core/schema/SchemaStore.ts +0 -8
  1132. package/src/core/schema/SchemaUniqueConstraint.ts +0 -5
  1133. package/src/core/schema/index.ts +0 -15
  1134. package/src/core/state/EntityListState.ts +0 -39
  1135. package/src/core/state/EntityRealmState.ts +0 -63
  1136. package/src/core/state/EntityState.ts +0 -12
  1137. package/src/core/state/FieldState.ts +0 -20
  1138. package/src/core/state/StateIterator.ts +0 -121
  1139. package/src/core/state/StateNode.ts +0 -8
  1140. package/src/core/state/getEntityMarker.ts +0 -4
  1141. package/src/core/state/index.ts +0 -7
  1142. package/src/core/utils/createQueryBuilder.ts +0 -31
  1143. package/src/core/utils/getCombinedSignal.ts +0 -36
  1144. package/src/core/utils/index.ts +0 -1
  1145. package/src/dao/Environment.ts +0 -342
  1146. package/src/dao/TreeNodeEnvironmentFactory.ts +0 -137
  1147. package/src/dao/VariableFieldValue.ts +0 -3
  1148. package/src/dao/index.ts +0 -3
  1149. package/src/fieldHelpers/helpers/FieldHelper.ts +0 -10
  1150. package/src/fieldHelpers/helpers/TemporalFieldHelper.ts +0 -21
  1151. package/src/fieldHelpers/helpers/UuidFieldHelper.ts +0 -18
  1152. package/src/fieldHelpers/helpers/index.ts +0 -2
  1153. package/src/fieldHelpers/index.ts +0 -1
  1154. package/src/markers/EntityFieldMarkers.ts +0 -7
  1155. package/src/markers/EntityFieldMarkersContainer.ts +0 -45
  1156. package/src/markers/EntityFieldPlaceholders.ts +0 -3
  1157. package/src/markers/EntityFieldsWithHoistablesMarker.ts +0 -11
  1158. package/src/markers/EntityListSubTreeMarker.ts +0 -20
  1159. package/src/markers/EntitySubTreeMarker.ts +0 -20
  1160. package/src/markers/FieldMarker.ts +0 -19
  1161. package/src/markers/HasManyRelationMarker.ts +0 -27
  1162. package/src/markers/HasOneRelationMarker.ts +0 -21
  1163. package/src/markers/MarkerTreeRoot.ts +0 -9
  1164. package/src/markers/MeaningfulMarker.ts +0 -12
  1165. package/src/markers/ParentEntityMarker.ts +0 -9
  1166. package/src/markers/PlaceholderGenerator.ts +0 -40
  1167. package/src/markers/PlaceholderParametersGenerator.ts +0 -79
  1168. package/src/markers/SubTreeMarkers.ts +0 -5
  1169. package/src/markers/index.ts +0 -14
  1170. package/src/queryLanguage/CacheStore.ts +0 -57
  1171. package/src/queryLanguage/MarkerFactory.ts +0 -300
  1172. package/src/queryLanguage/Parser.ts +0 -911
  1173. package/src/queryLanguage/ParserResults.ts +0 -81
  1174. package/src/queryLanguage/QueryLanguage.ts +0 -733
  1175. package/src/queryLanguage/QueryLanguageError.ts +0 -1
  1176. package/src/queryLanguage/index.ts +0 -5
  1177. package/src/queryLanguage/tokenList.ts +0 -175
  1178. package/src/structures/BijectiveIndexedMap.ts +0 -139
  1179. package/src/structures/LRUCache.ts +0 -29
  1180. package/src/structures/WeakIdCache.ts +0 -25
  1181. package/src/structures/index.ts +0 -3
  1182. package/src/treeParameterHelpers/index.ts +0 -1
  1183. package/src/treeParameterHelpers/wrapFilterInHasOnes.ts +0 -21
  1184. package/src/treeParameters/AnyField.ts +0 -9
  1185. package/src/treeParameters/EntityCreationParameters.ts +0 -34
  1186. package/src/treeParameters/EntityListEventListeners.ts +0 -20
  1187. package/src/treeParameters/EntityListParameters.ts +0 -19
  1188. package/src/treeParameters/EntityListPreferences.ts +0 -11
  1189. package/src/treeParameters/EventListenersStore.ts +0 -82
  1190. package/src/treeParameters/FieldEventListeners.ts +0 -32
  1191. package/src/treeParameters/HasManyRelation.ts +0 -18
  1192. package/src/treeParameters/HasOneRelation.ts +0 -21
  1193. package/src/treeParameters/LeafField.ts +0 -20
  1194. package/src/treeParameters/ParentEntityParameters.ts +0 -10
  1195. package/src/treeParameters/QualifiedEntityList.ts +0 -43
  1196. package/src/treeParameters/QualifiedEntityParameters.ts +0 -20
  1197. package/src/treeParameters/QualifiedFieldList.ts +0 -43
  1198. package/src/treeParameters/QualifiedSingleEntity.ts +0 -46
  1199. package/src/treeParameters/QualifiedSingleEntityParameters.ts +0 -9
  1200. package/src/treeParameters/Relation.ts +0 -17
  1201. package/src/treeParameters/RelativeEntityList.ts +0 -25
  1202. package/src/treeParameters/RelativeSingleEntity.ts +0 -16
  1203. package/src/treeParameters/RelativeSingleField.ts +0 -27
  1204. package/src/treeParameters/SetOnCreate.ts +0 -6
  1205. package/src/treeParameters/SingleEntityEventListeners.ts +0 -24
  1206. package/src/treeParameters/SingleEntityParameters.ts +0 -9
  1207. package/src/treeParameters/UnconstrainedQualifiedEntityList.ts +0 -39
  1208. package/src/treeParameters/UnconstrainedQualifiedSingleEntity.ts +0 -39
  1209. package/src/treeParameters/index.ts +0 -27
  1210. package/src/treeParameters/primitives/Alias.ts +0 -1
  1211. package/src/treeParameters/primitives/EntityId.ts +0 -2
  1212. package/src/treeParameters/primitives/EntityName.ts +0 -4
  1213. package/src/treeParameters/primitives/EntityRealmKey.ts +0 -2
  1214. package/src/treeParameters/primitives/ExpectedEntityCount.ts +0 -1
  1215. package/src/treeParameters/primitives/ExpectedQualifiedEntityMutation.ts +0 -1
  1216. package/src/treeParameters/primitives/ExpectedRelationMutation.ts +0 -1
  1217. package/src/treeParameters/primitives/FieldName.ts +0 -7
  1218. package/src/treeParameters/primitives/FieldValue.ts +0 -6
  1219. package/src/treeParameters/primitives/Filter.ts +0 -7
  1220. package/src/treeParameters/primitives/Json.ts +0 -7
  1221. package/src/treeParameters/primitives/Limit.ts +0 -1
  1222. package/src/treeParameters/primitives/Offset.ts +0 -1
  1223. package/src/treeParameters/primitives/OrderBy.ts +0 -6
  1224. package/src/treeParameters/primitives/PlaceholderName.ts +0 -4
  1225. package/src/treeParameters/primitives/RemovalType.ts +0 -1
  1226. package/src/treeParameters/primitives/Scalar.ts +0 -1
  1227. package/src/treeParameters/primitives/TreeRootId.ts +0 -1
  1228. package/src/treeParameters/primitives/UniqueWhere.ts +0 -7
  1229. package/src/treeParameters/primitives/index.ts +0 -19
  1230. package/src/typings/react-fix.d.ts +0 -12
  1231. package/src/utils/Hashing.ts +0 -20
  1232. package/src/utils/TreeNodeUtils.ts +0 -92
  1233. package/src/utils/assert.ts +0 -7
  1234. package/src/utils/assertNever.ts +0 -10
  1235. package/src/utils/generateEnumerabilityPreventingEntropy.ts +0 -3
  1236. package/src/utils/index.ts +0 -6
  1237. package/src/utils/isEmptyObject.ts +0 -9
  1238. package/src/utils/ucfirst.ts +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"QueryLanguage.cjs","sources":["../../../src/queryLanguage/QueryLanguage.ts"],"sourcesContent":["import { TreeParameterMerger, VariableInputTransformer } from '../core'\nimport type { Environment } from '../dao'\nimport {\n\tAlias,\n\tEntityCreationParametersDefaults,\n\tEntityEventListenerStore,\n\tEntityListEventListenerStore,\n\tEntityListParameters,\n\tEntityListPreferencesDefaults,\n\tEntityName,\n\tEventListenersStore,\n\tFieldEventListenerStore,\n\tFieldName,\n\tFilter,\n\tHasManyRelation,\n\tHasOneRelation,\n\tLeafFieldDefaults,\n\tParentEntityParameters,\n\tQualifiedEntityList,\n\tQualifiedEntityParametersDefaults,\n\tQualifiedFieldList,\n\tQualifiedSingleEntity,\n\tRelationDefaults,\n\tRelativeEntityList,\n\tRelativeSingleEntity,\n\tRelativeSingleField,\n\tSugarableEntityListParameters,\n\tSugarableHasManyRelation,\n\tSugarableHasOneRelation,\n\tSugaredFilter,\n\tSugaredParentEntityParameters,\n\tSugaredQualifiedEntityList,\n\tSugaredQualifiedFieldList,\n\tSugaredQualifiedSingleEntity,\n\tSugaredRelativeEntityList,\n\tSugaredRelativeSingleEntity,\n\tSugaredRelativeSingleField,\n\tSugaredSetOnCreate,\n\tSugaredUnconstrainedQualifiedEntityList,\n\tSugaredUnconstrainedQualifiedSingleEntity,\n\tUnconstrainedQualifiedEntityList,\n\tUnconstrainedQualifiedSingleEntity,\n\tUniqueWhere,\n\tUnsugarableEntityListEventListeners,\n\tUnsugarableEntityListParameters,\n\tUnsugarableFieldEventListeners,\n\tUnsugarableHasManyRelation,\n\tUnsugarableHasOneRelation,\n\tUnsugarableSingleEntityEventListeners,\n} from '../treeParameters'\nimport { Parser } from './Parser'\nimport { GraphQlLiteral } from '@contember/client'\nimport { ParsedHasManyRelation, ParsedHasOneRelation } from './ParserResults'\n\nconst emptyObject = Object.freeze({})\n\nexport class QueryLanguage {\n\n\tprivate static preparePrimitiveEntryPoint<Entry extends Parser.EntryPoint>(entryPoint: Entry) {\n\t\treturn (input: string, environment: Environment): Parser.ParserResult[Entry] =>\n\t\t\tParser.parseQueryLanguageExpression(input, entryPoint, environment)\n\t}\n\n\tprivate static preparePrimitiveEntryPointWithFallback<Entry extends Parser.EntryPoint>(entryPoint: Entry) {\n\t\treturn (input: string | Parser.ParserResult[Entry], environment: Environment): Parser.ParserResult[Entry] => {\n\t\t\tif (typeof input === 'string') {\n\t\t\t\treturn Parser.parseQueryLanguageExpression(input, entryPoint, environment)\n\t\t\t}\n\t\t\treturn input\n\t\t}\n\t}\n\n\tprivate static parseUnconstrainedQualifiedEntityList = QueryLanguage.preparePrimitiveEntryPoint('unconstrainedQualifiedEntityList')\n\tprivate static parseUnconstrainedQualifiedSingleEntity = QueryLanguage.preparePrimitiveEntryPoint('unconstrainedQualifiedEntityList')\n\tprivate static parseQualifiedEntityList = QueryLanguage.preparePrimitiveEntryPoint('qualifiedEntityList')\n\tprivate static parseQualifiedFieldList = QueryLanguage.preparePrimitiveEntryPoint('qualifiedFieldList')\n\tprivate static parseQualifiedSingleEntity = QueryLanguage.preparePrimitiveEntryPoint('qualifiedSingleEntity')\n\tprivate static parseRelativeEntityList = QueryLanguage.preparePrimitiveEntryPoint('relativeEntityList')\n\tprivate static parseRelativeSingleEntity = QueryLanguage.preparePrimitiveEntryPoint('relativeSingleEntity')\n\tprivate static parseRelativeSingleField = QueryLanguage.preparePrimitiveEntryPoint('relativeSingleField')\n\n\tpublic static desugarUniqueWhere = QueryLanguage.preparePrimitiveEntryPointWithFallback('uniqueWhere')\n\tpublic static desugarFilter = QueryLanguage.preparePrimitiveEntryPointWithFallback('filter')\n\tpublic static desugarOrderBy = QueryLanguage.preparePrimitiveEntryPointWithFallback('orderBy')\n\tpublic static desugarTaggedMap = QueryLanguage.preparePrimitiveEntryPointWithFallback('taggedMap')\n\n\n\tprivate static desugarEntityListParameters(\n\t\tsugarablePart: SugarableEntityListParameters,\n\t\tunsugarablePart: UnsugarableEntityListParameters,\n\t\tenvironment: Environment,\n\t): EntityListParameters {\n\t\treturn {\n\t\t\tfilter: sugarablePart.filter ? this.desugarFilter(sugarablePart.filter, environment) : undefined,\n\t\t\tlimit: unsugarablePart.limit,\n\t\t\toffset: unsugarablePart.offset,\n\t\t\torderBy: unsugarablePart.orderBy ? this.desugarOrderBy(unsugarablePart.orderBy, environment) : undefined,\n\t\t\tinitialEntityCount: unsugarablePart.initialEntityCount ?? EntityListPreferencesDefaults.initialEntityCount,\n\t\t}\n\t}\n\n\tpublic static desugarSetOnCreate(setOnCreate: SugaredSetOnCreate, environment: Environment): UniqueWhere {\n\t\tif (Array.isArray(setOnCreate)) {\n\t\t\tconst whereList = setOnCreate.map(connection => this.desugarUniqueWhere(connection, environment))\n\t\t\treturn whereList.reduce(\n\t\t\t\t(accumulator, uniqueWhere) => TreeParameterMerger.mergeSetOnCreate(accumulator, uniqueWhere)!,\n\t\t\t)\n\t\t}\n\t\tif (typeof setOnCreate === 'string') {\n\t\t\treturn this.desugarUniqueWhere(setOnCreate, environment)\n\t\t}\n\t\treturn setOnCreate\n\t}\n\n\tpublic static desugarEventListener<F extends Function>(listener: F | Set<F>): Set<F>\n\tpublic static desugarEventListener<F extends Function>(listener: F | Set<F> | undefined): Set<F> | undefined\n\tpublic static desugarEventListener<F extends Function>(listener: F | Set<F> | undefined): Set<F> | undefined {\n\t\tif (typeof listener === 'function') {\n\t\t\treturn new Set([listener])\n\t\t}\n\t\treturn listener\n\t}\n\n\tprivate static desugarSingleEntityEventListeners(\n\t\tunsugarable: UnsugarableSingleEntityEventListeners,\n\t): EntityEventListenerStore | undefined {\n\t\tif (\n\t\t\tunsugarable.onBeforePersist === undefined &&\n\t\t\tunsugarable.onBeforeUpdate === undefined &&\n\t\t\tunsugarable.onInitialize === undefined &&\n\t\t\tunsugarable.onPersistError === undefined &&\n\t\t\tunsugarable.onPersistSuccess === undefined &&\n\t\t\tunsugarable.onUpdate === undefined\n\t\t) {\n\t\t\treturn undefined\n\t\t}\n\n\t\tconst store: EntityEventListenerStore = new EventListenersStore()\n\n\t\tif (unsugarable.onConnectionUpdate) {\n\t\t\tfor (const fieldName in unsugarable.onConnectionUpdate) {\n\t\t\t\tconst listener = this.desugarEventListener(unsugarable.onConnectionUpdate[fieldName])\n\t\t\t\tstore.set({ type: 'connectionUpdate', key: fieldName }, listener)\n\t\t\t}\n\t\t}\n\n\t\tconst beforePersist = this.desugarEventListener(unsugarable.onBeforePersist)\n\t\tconst beforeUpdate = this.desugarEventListener(unsugarable.onBeforeUpdate)\n\t\tconst initialize = this.desugarEventListener(unsugarable.onInitialize)\n\t\tconst persistError = this.desugarEventListener(unsugarable.onPersistError)\n\t\tconst persistSuccess = this.desugarEventListener(unsugarable.onPersistSuccess)\n\t\tconst update = this.desugarEventListener(unsugarable.onUpdate)\n\n\t\tif (beforePersist) {\n\t\t\tstore.set({ type: 'beforePersist' }, beforePersist)\n\t\t}\n\t\tif (beforeUpdate) {\n\t\t\tstore.set({ type: 'beforeUpdate' }, beforeUpdate)\n\t\t}\n\t\tif (initialize) {\n\t\t\tstore.set({ type: 'initialize' }, initialize)\n\t\t}\n\t\tif (persistError) {\n\t\t\tstore.set({ type: 'persistError' }, persistError)\n\t\t}\n\t\tif (persistSuccess) {\n\t\t\tstore.set({ type: 'persistSuccess' }, persistSuccess)\n\t\t}\n\t\tif (update) {\n\t\t\tstore.set({ type: 'update' }, update)\n\t\t}\n\n\t\treturn store\n\t}\n\n\tprivate static desugarEntityListEventListeners(unsugarable: UnsugarableEntityListEventListeners):\n\t\t| {\n\t\t\t\teventListeners: EntityListEventListenerStore | undefined\n\t\t\t\tchildEventListeners: EntityEventListenerStore | undefined\n\t\t }\n\t\t| undefined {\n\t\tif (\n\t\t\tunsugarable.onBeforePersist === undefined &&\n\t\t\tunsugarable.onBeforeUpdate === undefined &&\n\t\t\tunsugarable.onChildBeforeUpdate === undefined &&\n\t\t\tunsugarable.onChildInitialize === undefined &&\n\t\t\tunsugarable.onChildUpdate === undefined &&\n\t\t\tunsugarable.onInitialize === undefined &&\n\t\t\tunsugarable.onPersistError === undefined &&\n\t\t\tunsugarable.onPersistSuccess === undefined &&\n\t\t\tunsugarable.onUpdate === undefined\n\t\t) {\n\t\t\treturn undefined\n\t\t}\n\n\t\tconst eventListeners: EntityListEventListenerStore = new EventListenersStore()\n\n\t\tconst beforePersist = this.desugarEventListener(unsugarable.onBeforePersist)\n\t\tconst beforeUpdate = this.desugarEventListener(unsugarable.onBeforeUpdate)\n\t\tconst initialize = this.desugarEventListener(unsugarable.onInitialize)\n\t\tconst persistError = this.desugarEventListener(unsugarable.onPersistError)\n\t\tconst persistSuccess = this.desugarEventListener(unsugarable.onPersistSuccess)\n\t\tconst update = this.desugarEventListener(unsugarable.onUpdate)\n\n\t\tif (beforePersist) {\n\t\t\teventListeners.set({ type: 'beforePersist' }, beforePersist)\n\t\t}\n\t\tif (beforeUpdate) {\n\t\t\teventListeners.set({ type: 'beforeUpdate' }, beforeUpdate)\n\t\t}\n\t\tif (initialize) {\n\t\t\teventListeners.set({ type: 'initialize' }, initialize)\n\t\t}\n\t\tif (persistError) {\n\t\t\teventListeners.set({ type: 'persistError' }, persistError)\n\t\t}\n\t\tif (persistSuccess) {\n\t\t\teventListeners.set({ type: 'persistSuccess' }, persistSuccess)\n\t\t}\n\t\tif (update) {\n\t\t\teventListeners.set({ type: 'update' }, update)\n\t\t}\n\n\t\tconst childEventListeners: EntityEventListenerStore = new EventListenersStore()\n\n\t\tconst childBeforeUpdate = this.desugarEventListener(unsugarable.onChildBeforeUpdate)\n\t\tconst childInitialize = this.desugarEventListener(unsugarable.onChildInitialize)\n\t\tconst childUpdate = this.desugarEventListener(unsugarable.onChildUpdate)\n\n\t\tif (childBeforeUpdate) {\n\t\t\tchildEventListeners.set({ type: 'beforeUpdate' }, childBeforeUpdate)\n\t\t}\n\t\tif (childInitialize) {\n\t\t\tchildEventListeners.set({ type: 'initialize' }, childInitialize)\n\t\t}\n\t\tif (childUpdate) {\n\t\t\tchildEventListeners.set({ type: 'update' }, childUpdate)\n\t\t}\n\n\t\treturn {\n\t\t\teventListeners,\n\t\t\tchildEventListeners,\n\t\t}\n\t}\n\n\tprivate static desugarFieldEventListeners(\n\t\tunsugarable: UnsugarableFieldEventListeners,\n\t): FieldEventListenerStore | undefined {\n\t\tif (unsugarable.onBeforeUpdate === undefined && unsugarable.onUpdate === undefined) {\n\t\t\treturn undefined\n\t\t}\n\n\t\tconst store: FieldEventListenerStore = new EventListenersStore()\n\n\t\tconst beforeUpdate = this.desugarEventListener(unsugarable.onBeforeUpdate)\n\t\tconst update = this.desugarEventListener(unsugarable.onUpdate)\n\n\t\tif (beforeUpdate) {\n\t\t\tstore.set({ type: 'beforeUpdate' }, beforeUpdate)\n\t\t}\n\t\tif (update) {\n\t\t\tstore.set({ type: 'update' }, update)\n\t\t}\n\n\t\treturn store\n\t}\n\n\tprivate static desugarSubTreeAlias(alias: Alias | Set<Alias> | undefined): Set<Alias> | undefined {\n\t\tif (alias === undefined) {\n\t\t\treturn undefined\n\t\t}\n\t\tif (alias instanceof Set) {\n\t\t\treturn alias\n\t\t}\n\t\treturn new Set<Alias>().add(alias)\n\t}\n\n\tprivate static desugarHasOneRelation(\n\t\tsugarable: SugarableHasOneRelation,\n\t\tunsugarable: UnsugarableHasOneRelation,\n\t\tenvironment: Environment,\n\t): HasOneRelation {\n\t\treturn {\n\t\t\tfield: sugarable.field,\n\t\t\tfilter: sugarable.filter ? this.desugarFilter(sugarable.filter, environment) : undefined,\n\t\t\texpectedMutation: unsugarable.expectedMutation ?? RelationDefaults.expectedMutation,\n\t\t\treducedBy: sugarable.reducedBy ? this.desugarUniqueWhere(sugarable.reducedBy, environment) : undefined,\n\t\t\tsetOnCreate: unsugarable.setOnCreate ? this.desugarSetOnCreate(unsugarable.setOnCreate, environment) : undefined,\n\t\t\tisNonbearing: unsugarable.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,\n\t\t\t// forceCreation: unsugarable.forceCreation ?? EntityCreationParametersDefaults.forceCreation,\n\t\t\teventListeners: this.desugarSingleEntityEventListeners(unsugarable),\n\t\t}\n\t}\n\n\tprivate static augmentDesugaredHasOneRelationPath(\n\t\tpath: ParsedHasOneRelation[],\n\t\tunsugarable: UnsugarableHasOneRelation,\n\t\tenvironment: Environment,\n\t): HasOneRelation[] {\n\t\treturn path.map((desugaredHasOneRelation, i) =>\n\t\t\t// Unsugarable applies to the last\n\t\t\tthis.desugarHasOneRelation(desugaredHasOneRelation, i === path.length - 1 ? unsugarable : {}, environment),\n\t\t)\n\t}\n\n\tprivate static augmentDesugaredHasManyRelation(\n\t\trelation: ParsedHasManyRelation,\n\t\tunsugarable: UnsugarableHasManyRelation,\n\t\tenvironment: Environment,\n\t): HasManyRelation {\n\t\tconst eventListeners = this.desugarEntityListEventListeners(unsugarable)\n\t\treturn {\n\t\t\tfield: relation.field,\n\t\t\tfilter: relation.filter,\n\t\t\texpectedMutation: unsugarable.expectedMutation ?? RelationDefaults.expectedMutation,\n\t\t\tisNonbearing: unsugarable.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,\n\t\t\t// forceCreation: unsugarable.forceCreation ?? EntityCreationParametersDefaults.forceCreation,\n\t\t\tinitialEntityCount: unsugarable.initialEntityCount ?? EntityListPreferencesDefaults.initialEntityCount,\n\t\t\tsetOnCreate: unsugarable.setOnCreate ? this.desugarSetOnCreate(unsugarable.setOnCreate, environment) : undefined,\n\t\t\torderBy: unsugarable.orderBy ? this.desugarOrderBy(unsugarable.orderBy, environment) : undefined,\n\t\t\toffset: unsugarable.offset,\n\t\t\tlimit: unsugarable.limit,\n\t\t\tchildEventListeners: eventListeners?.childEventListeners,\n\t\t\teventListeners: eventListeners?.eventListeners,\n\t\t}\n\t}\n\n\tprivate static desugarHasOneRelationPath(\n\t\tinput: SugarableHasOneRelation[] | SugarableHasOneRelation | undefined,\n\t\tlastRelation: UnsugarableHasOneRelation,\n\t\tenvironment: Environment,\n\t): HasOneRelation[] {\n\t\tif (input === undefined) {\n\t\t\tinput = []\n\t\t} else if (!Array.isArray(input)) {\n\t\t\tinput = [input]\n\t\t}\n\n\t\tconst relationPath: HasOneRelation[] = []\n\n\t\tconst cappedLength = input.length - 1\n\t\tlet i = 0\n\t\tfor (; i < cappedLength; i++) {\n\t\t\t// Deliberately leaving out the last element\n\t\t\tconst pathNode = input[i]\n\n\t\t\trelationPath.push(this.desugarHasOneRelation(pathNode, {}, environment))\n\t\t}\n\t\tif (i in input) {\n\t\t\trelationPath.push(this.desugarHasOneRelation(input[i], lastRelation, environment))\n\t\t}\n\n\t\treturn relationPath\n\t}\n\n\tprivate static desugarHasManyRelation(\n\t\tsugarablePart: SugarableHasManyRelation,\n\t\tunsugarablePart: UnsugarableHasManyRelation,\n\t\tenvironment: Environment,\n\t): HasManyRelation {\n\t\tconst eventListeners = this.desugarEntityListEventListeners(unsugarablePart)\n\t\treturn {\n\t\t\t...this.desugarEntityListParameters(sugarablePart, unsugarablePart, environment),\n\t\t\texpectedMutation: unsugarablePart.expectedMutation ?? RelationDefaults.expectedMutation,\n\t\t\tsetOnCreate: unsugarablePart.setOnCreate\n\t\t\t\t? this.desugarSetOnCreate(unsugarablePart.setOnCreate, environment)\n\t\t\t\t: undefined,\n\t\t\tfield: sugarablePart.field,\n\t\t\tisNonbearing: unsugarablePart.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,\n\t\t\t// forceCreation: unsugarablePart.forceCreation ?? EntityCreationParametersDefaults.forceCreation,\n\t\t\tchildEventListeners: eventListeners?.childEventListeners,\n\t\t\teventListeners: eventListeners?.eventListeners,\n\t\t}\n\t}\n\n\tpublic static desugarUnconstrainedQualifiedEntityList(\n\t\t{ entities, ...unsugarableEntityList }: SugaredUnconstrainedQualifiedEntityList,\n\t\tenvironment: Environment,\n\t): UnconstrainedQualifiedEntityList {\n\t\tlet hasOneRelationPath: HasOneRelation[]\n\t\tlet entityName: EntityName\n\n\t\tif (typeof entities === 'string') {\n\t\t\tconst parsed = this.parseUnconstrainedQualifiedEntityList(entities, environment)\n\t\t\tentityName = parsed.entityName\n\t\t\thasOneRelationPath = this.augmentDesugaredHasOneRelationPath(\n\t\t\t\tparsed.hasOneRelationPath,\n\t\t\t\temptyObject,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t} else {\n\t\t\tentityName = entities.entityName\n\t\t\thasOneRelationPath = this.desugarHasOneRelationPath(entities.hasOneRelationPath, emptyObject, environment)\n\t\t}\n\n\t\tconst eventListeners = this.desugarEntityListEventListeners(unsugarableEntityList)\n\n\t\treturn {\n\t\t\tisCreating: true,\n\t\t\tisUnpersisted: unsugarableEntityList.isUnpersisted ?? false,\n\t\t\tisNonbearing: unsugarableEntityList.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,\n\t\t\t// forceCreation: unsugarableEntityList.forceCreation ?? EntityCreationParametersDefaults.forceCreation,\n\t\t\tsetOnCreate: unsugarableEntityList.setOnCreate\n\t\t\t\t? this.desugarSetOnCreate(unsugarableEntityList.setOnCreate, environment)\n\t\t\t\t: undefined,\n\t\t\texpectedMutation: unsugarableEntityList.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation,\n\t\t\tchildEventListeners: eventListeners?.childEventListeners,\n\t\t\teventListeners: eventListeners?.eventListeners,\n\t\t\tinitialEntityCount: unsugarableEntityList.initialEntityCount ?? EntityListPreferencesDefaults.initialEntityCount,\n\t\t\talias: this.desugarSubTreeAlias(unsugarableEntityList.alias),\n\t\t\tentityName,\n\t\t\thasOneRelationPath,\n\t\t}\n\t}\n\n\tpublic static desugarUnconstrainedQualifiedSingleEntity(\n\t\t{ entity, ...unsugarableSingleEntity }: SugaredUnconstrainedQualifiedSingleEntity,\n\t\tenvironment: Environment,\n\t): UnconstrainedQualifiedSingleEntity {\n\t\tlet hasOneRelationPath: HasOneRelation[]\n\t\tlet entityName: EntityName\n\n\t\tif (typeof entity === 'string') {\n\t\t\tconst parsed = this.parseUnconstrainedQualifiedSingleEntity(entity, environment)\n\t\t\tentityName = parsed.entityName\n\t\t\thasOneRelationPath = this.augmentDesugaredHasOneRelationPath(\n\t\t\t\tparsed.hasOneRelationPath,\n\t\t\t\tunsugarableSingleEntity,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t} else {\n\t\t\tentityName = entity.entityName\n\t\t\thasOneRelationPath = this.desugarHasOneRelationPath(\n\t\t\t\tentity.hasOneRelationPath,\n\t\t\t\tunsugarableSingleEntity,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t}\n\n\t\treturn {\n\t\t\tisCreating: true,\n\t\t\tisUnpersisted: unsugarableSingleEntity.isUnpersisted ?? false,\n\t\t\tisNonbearing: unsugarableSingleEntity.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,\n\t\t\t// forceCreation: unsugarableSingleEntity.forceCreation ?? EntityCreationParametersDefaults.forceCreation,\n\t\t\tsetOnCreate: unsugarableSingleEntity.setOnCreate\n\t\t\t\t? this.desugarSetOnCreate(unsugarableSingleEntity.setOnCreate, environment)\n\t\t\t\t: undefined,\n\t\t\texpectedMutation: unsugarableSingleEntity.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation,\n\t\t\teventListeners: this.desugarSingleEntityEventListeners(unsugarableSingleEntity),\n\t\t\talias: this.desugarSubTreeAlias(unsugarableSingleEntity.alias),\n\t\t\tentityName,\n\t\t\thasOneRelationPath,\n\t\t}\n\t}\n\n\tpublic static desugarQualifiedEntityList(\n\t\t{ entities, ...unsugarableEntityList }: SugaredQualifiedEntityList,\n\t\tenvironment: Environment,\n\t): QualifiedEntityList {\n\t\tlet entityName: EntityName\n\t\tlet hasOneRelationPath: HasOneRelation[]\n\n\t\tlet filter: SugaredFilter | undefined\n\n\t\tif (typeof entities === 'string') {\n\t\t\tconst parsed = this.parseQualifiedEntityList(entities, environment)\n\n\t\t\tentityName = parsed.entityName\n\t\t\tfilter = parsed.filter\n\t\t\thasOneRelationPath = this.augmentDesugaredHasOneRelationPath(\n\t\t\t\tparsed.hasOneRelationPath,\n\t\t\t\temptyObject,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t} else {\n\t\t\tentityName = entities.entityName\n\t\t\tfilter = entities.filter\n\t\t\thasOneRelationPath = this.desugarHasOneRelationPath(entities.hasOneRelationPath, emptyObject, environment)\n\t\t}\n\n\t\tconst eventListeners = this.desugarEntityListEventListeners(unsugarableEntityList)\n\n\t\treturn {\n\t\t\tentityName,\n\t\t\thasOneRelationPath,\n\t\t\t...this.desugarEntityListParameters(\n\t\t\t\t{\n\t\t\t\t\tfilter,\n\t\t\t\t},\n\t\t\t\tunsugarableEntityList,\n\t\t\t\tenvironment,\n\t\t\t),\n\t\t\talias: this.desugarSubTreeAlias(unsugarableEntityList.alias),\n\t\t\tisCreating: false,\n\t\t\tisNonbearing: unsugarableEntityList.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,\n\t\t\t// forceCreation: unsugarableEntityList.forceCreation ?? EntityCreationParametersDefaults.forceCreation,\n\t\t\tsetOnCreate: unsugarableEntityList.setOnCreate\n\t\t\t\t? this.desugarSetOnCreate(unsugarableEntityList.setOnCreate, environment)\n\t\t\t\t: undefined,\n\t\t\texpectedMutation: unsugarableEntityList.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation,\n\t\t\tchildEventListeners: eventListeners?.childEventListeners,\n\t\t\teventListeners: eventListeners?.eventListeners,\n\t\t}\n\t}\n\n\tpublic static desugarQualifiedFieldList(\n\t\t{ fields, ...unsugarableFieldList }: SugaredQualifiedFieldList,\n\t\tenvironment: Environment,\n\t): QualifiedFieldList {\n\t\tlet field: FieldName\n\t\tlet entityName: EntityName\n\t\tlet filter: SugaredFilter | undefined\n\t\tlet hasOneRelationPath: HasOneRelation[]\n\n\t\tif (typeof fields === 'string') {\n\t\t\tconst parsed = this.parseQualifiedFieldList(fields, environment)\n\n\t\t\tfield = parsed.field\n\t\t\tentityName = parsed.entityName\n\t\t\tfilter = parsed.filter\n\t\t\thasOneRelationPath = this.augmentDesugaredHasOneRelationPath(\n\t\t\t\tparsed.hasOneRelationPath,\n\t\t\t\temptyObject,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t} else {\n\t\t\tfield = fields.field\n\t\t\tentityName = fields.entityName\n\t\t\tfilter = fields.filter\n\t\t\thasOneRelationPath = this.desugarHasOneRelationPath(fields.hasOneRelationPath, emptyObject, environment)\n\t\t}\n\n\t\treturn {\n\t\t\tfield,\n\t\t\tentityName,\n\t\t\thasOneRelationPath,\n\t\t\talias: this.desugarSubTreeAlias(unsugarableFieldList.alias),\n\t\t\tisNonbearing: unsugarableFieldList.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,\n\t\t\t// forceCreation: unsugarableFieldList.forceCreation ?? EntityCreationParametersDefaults.forceCreation,\n\t\t\tdefaultValue:\n\t\t\t\tunsugarableFieldList.defaultValue !== undefined\n\t\t\t\t\t? VariableInputTransformer.transformValue(unsugarableFieldList.defaultValue, environment)\n\t\t\t\t\t: undefined,\n\t\t\texpectedMutation: unsugarableFieldList.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation,\n\t\t\teventListeners: this.desugarFieldEventListeners(unsugarableFieldList),\n\t\t\t...this.desugarEntityListParameters({ filter }, unsugarableFieldList, environment),\n\t\t}\n\t}\n\n\tpublic static desugarQualifiedSingleEntity(\n\t\t{ entity, ...unsugarableSingleEntity }: SugaredQualifiedSingleEntity,\n\t\tenvironment: Environment,\n\t\toptions: { missingSetOnCreate?: 'fill' | 'fillAndWarn' } = {},\n\t): QualifiedSingleEntity {\n\t\tlet entityName: EntityName\n\t\tlet where: UniqueWhere\n\t\tlet filter: Filter | undefined\n\t\tlet hasOneRelationPath: HasOneRelation[]\n\n\t\tif (typeof entity === 'string') {\n\t\t\tconst parsed = this.parseQualifiedSingleEntity(entity, environment)\n\n\t\t\tentityName = parsed.entityName\n\t\t\twhere = parsed.where\n\t\t\tfilter = parsed.filter\n\t\t\thasOneRelationPath = this.augmentDesugaredHasOneRelationPath(\n\t\t\t\tparsed.hasOneRelationPath,\n\t\t\t\tunsugarableSingleEntity,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t} else {\n\t\t\tentityName = entity.entityName\n\t\t\twhere = this.desugarUniqueWhere(entity.where, environment)\n\t\t\tfilter = entity.filter ? this.desugarFilter(entity.filter, environment) : undefined\n\t\t\thasOneRelationPath = this.desugarHasOneRelationPath(\n\t\t\t\tentity.hasOneRelationPath,\n\t\t\t\tunsugarableSingleEntity,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t}\n\n\t\t// const forceCreation: boolean =\n\t\t// \tunsugarableSingleEntity.forceCreation !== undefined\n\t\t// \t\t? unsugarableSingleEntity.forceCreation !== undefined\n\t\t// \t\t: EntityCreationParametersDefaults.forceCreation\n\t\tlet setOnCreate: UniqueWhere | undefined =\n\t\t\tunsugarableSingleEntity.setOnCreate !== undefined\n\t\t\t\t? this.desugarSetOnCreate(unsugarableSingleEntity.setOnCreate, environment)\n\t\t\t\t: undefined\n\n\t\t// todo: remove deprecated code\n\t\tif (!setOnCreate && options.missingSetOnCreate) {\n\t\t\tconst whereValues = Object.values(where)\n\t\t\tif (whereValues.length === 1 && whereValues[0] instanceof GraphQlLiteral) {\n\t\t\t\tsetOnCreate = where\n\t\t\t\tif (import.meta.env.DEV && options.missingSetOnCreate === 'fillAndWarn') {\n\t\t\t\t\tconsole.warn('Automatic creation of singleton entities in EditPage is deprecated. Please use setOnCreate prop.')\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst isNonbearing: boolean =\n\t\t\tunsugarableSingleEntity.isNonbearing !== undefined\n\t\t\t\t? unsugarableSingleEntity.isNonbearing\n\t\t\t\t: EntityCreationParametersDefaults.isNonbearing\n\t\tconst eventListeners = this.desugarSingleEntityEventListeners(unsugarableSingleEntity)\n\t\tconst expectedMutation =\n\t\t\tunsugarableSingleEntity.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation\n\t\tconst alias = this.desugarSubTreeAlias(unsugarableSingleEntity.alias)\n\n\t\treturn {\n\t\t\talias,\n\t\t\tentityName,\n\t\t\tisCreating: false,\n\t\t\twhere,\n\t\t\tfilter,\n\t\t\thasOneRelationPath,\n\t\t\t// forceCreation,\n\t\t\tsetOnCreate,\n\t\t\tisNonbearing,\n\t\t\teventListeners,\n\t\t\texpectedMutation,\n\t\t}\n\t}\n\n\tpublic static desugarParentEntityParameters(\n\t\tparentEntity: SugaredParentEntityParameters,\n\t\tenvironment: Environment,\n\t): ParentEntityParameters {\n\t\treturn {\n\t\t\teventListeners: this.desugarSingleEntityEventListeners(parentEntity),\n\t\t}\n\t}\n\n\tpublic static desugarRelativeSingleEntity(\n\t\tsugaredRelativeSingleEntity: string | SugaredRelativeSingleEntity,\n\t\tenvironment: Environment,\n\t): RelativeSingleEntity {\n\t\tif (typeof sugaredRelativeSingleEntity === 'string') {\n\t\t\treturn this.desugarRelativeSingleEntity({ field: sugaredRelativeSingleEntity }, environment)\n\t\t}\n\n\t\tconst { field, ...unsugarableEntity } = sugaredRelativeSingleEntity\n\t\tlet hasOneRelationPath: HasOneRelation[]\n\t\tif (typeof field === 'string') {\n\t\t\tconst parsed = this.parseRelativeSingleEntity(field, environment)\n\t\t\thasOneRelationPath = this.augmentDesugaredHasOneRelationPath(\n\t\t\t\tparsed.hasOneRelationPath,\n\t\t\t\tunsugarableEntity,\n\t\t\t\tenvironment,\n\t\t\t)\n\n\t\t} else {\n\t\t\thasOneRelationPath = this.desugarHasOneRelationPath(field, unsugarableEntity, environment)\n\t\t}\n\n\t\treturn {\n\t\t\thasOneRelationPath,\n\t\t}\n\t}\n\n\tpublic static desugarRelativeSingleField(\n\t\tsugaredRelativeSingleField: string | SugaredRelativeSingleField,\n\t\tenvironment: Environment,\n\t): RelativeSingleField {\n\t\tif (typeof sugaredRelativeSingleField === 'string') {\n\t\t\treturn this.desugarRelativeSingleField({ field: sugaredRelativeSingleField }, environment)\n\t\t}\n\n\t\tconst { field, ...unsugarableField } = sugaredRelativeSingleField\n\n\t\tlet hasOneRelationPath: HasOneRelation[]\n\t\tlet fieldName: FieldName\n\t\tif (typeof field === 'string') {\n\t\t\tconst parsed = this.parseRelativeSingleField(field, environment)\n\t\t\thasOneRelationPath = this.augmentDesugaredHasOneRelationPath(parsed.hasOneRelationPath, {}, environment)\n\t\t\tfieldName = parsed.field\n\t\t} else {\n\t\t\thasOneRelationPath = this.desugarHasOneRelationPath(field.hasOneRelationPath, {}, environment)\n\t\t\tfieldName = field.field\n\t\t}\n\n\t\treturn {\n\t\t\teventListeners: this.desugarFieldEventListeners(unsugarableField),\n\t\t\thasOneRelationPath,\n\t\t\tfield: fieldName,\n\t\t\tisNonbearing: unsugarableField.isNonbearing ?? LeafFieldDefaults.isNonbearing,\n\t\t\tdefaultValue:\n\t\t\t\tunsugarableField.defaultValue !== undefined\n\t\t\t\t\t? VariableInputTransformer.transformValue(unsugarableField.defaultValue, environment)\n\t\t\t\t\t: undefined,\n\t\t}\n\t}\n\n\tpublic static desugarRelativeEntityList(\n\t\tsugaredRelativeEntityList: string | SugaredRelativeEntityList,\n\t\tenvironment: Environment,\n\t): RelativeEntityList {\n\t\tif (typeof sugaredRelativeEntityList === 'string') {\n\t\t\treturn this.desugarRelativeEntityList(\n\t\t\t\t{\n\t\t\t\t\tfield: sugaredRelativeEntityList,\n\t\t\t\t},\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t}\n\n\t\tconst { field, ...unsugarableEntityList } = sugaredRelativeEntityList\n\t\tlet hasOneRelationPath: HasOneRelation[]\n\t\tlet hasManyRelation: HasManyRelation\n\t\tif (typeof field === 'string') {\n\t\t\tconst parsed = this.parseRelativeEntityList(field, environment)\n\t\t\thasOneRelationPath = this.augmentDesugaredHasOneRelationPath(\n\t\t\t\tparsed.hasOneRelationPath,\n\t\t\t\temptyObject,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t\thasManyRelation = this.augmentDesugaredHasManyRelation(\n\t\t\t\tparsed.hasManyRelation,\n\t\t\t\tunsugarableEntityList,\n\t\t\t\tenvironment,\n\t\t\t)\n\t\t} else {\n\t\t\thasOneRelationPath = this.desugarHasOneRelationPath(field.hasOneRelationPath || [], emptyObject, environment)\n\t\t\thasManyRelation = this.desugarHasManyRelation(field.hasManyRelation, unsugarableEntityList, environment)\n\t\t}\n\n\t\treturn {\n\t\t\thasManyRelation,\n\t\t\thasOneRelationPath,\n\t\t}\n\t}\n}\n"],"names":["Parser","EntityListPreferencesDefaults","TreeParameterMerger","EventListenersStore","RelationDefaults","EntityCreationParametersDefaults","QualifiedEntityParametersDefaults","VariableInputTransformer","GraphQlLiteral","LeafFieldDefaults"],"mappings":";;;;;;;;;;;;;;;;;;AAsDA,MAAM,cAAc,OAAO,OAAO,CAAA,CAAE;AAE7B,MAAM,iBAAN,MAAM,eAAc;AAAA,EAE1B,OAAe,2BAA4D,YAAmB;AAC7F,WAAO,CAAC,OAAe,gBACtBA,cAAO,6BAA6B,OAAO,YAAY,WAAW;AAAA,EACpE;AAAA,EAEA,OAAe,uCAAwE,YAAmB;AAClG,WAAA,CAAC,OAA4C,gBAAyD;AACxG,UAAA,OAAO,UAAU,UAAU;AAC9B,eAAOA,OAAO,OAAA,6BAA6B,OAAO,YAAY,WAAW;AAAA,MAC1E;AACO,aAAA;AAAA,IAAA;AAAA,EAET;AAAA,EAiBA,OAAe,4BACd,eACA,iBACA,aACuB;AAChB,WAAA;AAAA,MACN,QAAQ,cAAc,SAAS,KAAK,cAAc,cAAc,QAAQ,WAAW,IAAI;AAAA,MACvF,OAAO,gBAAgB;AAAA,MACvB,QAAQ,gBAAgB;AAAA,MACxB,SAAS,gBAAgB,UAAU,KAAK,eAAe,gBAAgB,SAAS,WAAW,IAAI;AAAA,MAC/F,oBAAoB,gBAAgB,sBAAsBC,sBAAAA,8BAA8B;AAAA,IAAA;AAAA,EAE1F;AAAA,EAEA,OAAc,mBAAmB,aAAiC,aAAuC;AACpG,QAAA,MAAM,QAAQ,WAAW,GAAG;AACzB,YAAA,YAAY,YAAY,IAAI,CAAA,eAAc,KAAK,mBAAmB,YAAY,WAAW,CAAC;AAChG,aAAO,UAAU;AAAA,QAChB,CAAC,aAAa,gBAA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MACA;AAAA,IAAA;AAAA,EAEF;AACD;AAppBC,cAhBY,gBAgBG,yCAAwC,eAAc,2BAA2B,kCAAkC;AAClI,cAjBY,gBAiBG,2CAA0C,eAAc,2BAA2B,kCAAkC;AACpI,cAlBY,gBAkBG,4BAA2B,eAAc,2BAA2B,qBAAqB;AACxG,cAnBY,gBAmBG,2BAA0B,eAAc,2BAA2B,oBAAoB;AACtG,cApBY,gBAoBG,8BAA6B,eAAc,2BAA2B,uBAAuB;AAC5G,cArBY,gBAqBG,2BAA0B,eAAc,2BAA2B,oBAAoB;AACtG,cAtBY,gBAsBG,6BAA4B,eAAc,2BAA2B,sBAAsB;AAC1G,cAvBY,gBAuBG,4BAA2B,eAAc,2BAA2B,qBAAqB;AAExG,cAzBY,gBAyBE,sBAAqB,eAAc,uCAAuC,aAAa;AACrG,cA1BY,gBA0BE,iBAAgB,eAAc,uCAAuC,QAAQ;AAC3F,cA3BY,gBA2BE,kBAAiB,eAAc,uCAAuC,SAAS;AAC7F,cA5BY,gBA4BE,oBAAmB,eAAc,uCAAuC,WAAW;AA5B3F,IAAM,gBAAN;;"}
@@ -1,520 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
7
- import { Parser } from "./Parser.js";
8
- import { GraphQlLiteral } from "@contember/client";
9
- import { EntityListPreferencesDefaults } from "../treeParameters/EntityListPreferences.js";
10
- import { TreeParameterMerger } from "../core/TreeParameterMerger.js";
11
- import { RelationDefaults } from "../treeParameters/Relation.js";
12
- import { EntityCreationParametersDefaults } from "../treeParameters/EntityCreationParameters.js";
13
- import { QualifiedEntityParametersDefaults } from "../treeParameters/QualifiedEntityParameters.js";
14
- import { VariableInputTransformer } from "../core/VariableInputTransformer.js";
15
- import { LeafFieldDefaults } from "../treeParameters/LeafField.js";
16
- import { EventListenersStore } from "../treeParameters/EventListenersStore.js";
17
- const emptyObject = Object.freeze({});
18
- const _QueryLanguage = class _QueryLanguage {
19
- static preparePrimitiveEntryPoint(entryPoint) {
20
- return (input, environment) => Parser.parseQueryLanguageExpression(input, entryPoint, environment);
21
- }
22
- static preparePrimitiveEntryPointWithFallback(entryPoint) {
23
- return (input, environment) => {
24
- if (typeof input === "string") {
25
- return Parser.parseQueryLanguageExpression(input, entryPoint, environment);
26
- }
27
- return input;
28
- };
29
- }
30
- static desugarEntityListParameters(sugarablePart, unsugarablePart, environment) {
31
- return {
32
- filter: sugarablePart.filter ? this.desugarFilter(sugarablePart.filter, environment) : void 0,
33
- limit: unsugarablePart.limit,
34
- offset: unsugarablePart.offset,
35
- orderBy: unsugarablePart.orderBy ? this.desugarOrderBy(unsugarablePart.orderBy, environment) : void 0,
36
- initialEntityCount: unsugarablePart.initialEntityCount ?? EntityListPreferencesDefaults.initialEntityCount
37
- };
38
- }
39
- static desugarSetOnCreate(setOnCreate, environment) {
40
- if (Array.isArray(setOnCreate)) {
41
- const whereList = setOnCreate.map((connection) => this.desugarUniqueWhere(connection, environment));
42
- return whereList.reduce(
43
- (accumulator, uniqueWhere) => TreeParameterMerger.mergeSetOnCreate(accumulator, uniqueWhere)
44
- );
45
- }
46
- if (typeof setOnCreate === "string") {
47
- return this.desugarUniqueWhere(setOnCreate, environment);
48
- }
49
- return setOnCreate;
50
- }
51
- static desugarEventListener(listener) {
52
- if (typeof listener === "function") {
53
- return /* @__PURE__ */ new Set([listener]);
54
- }
55
- return listener;
56
- }
57
- static desugarSingleEntityEventListeners(unsugarable) {
58
- if (unsugarable.onBeforePersist === void 0 && unsugarable.onBeforeUpdate === void 0 && unsugarable.onInitialize === void 0 && unsugarable.onPersistError === void 0 && unsugarable.onPersistSuccess === void 0 && unsugarable.onUpdate === void 0) {
59
- return void 0;
60
- }
61
- const store = new EventListenersStore();
62
- if (unsugarable.onConnectionUpdate) {
63
- for (const fieldName in unsugarable.onConnectionUpdate) {
64
- const listener = this.desugarEventListener(unsugarable.onConnectionUpdate[fieldName]);
65
- store.set({ type: "connectionUpdate", key: fieldName }, listener);
66
- }
67
- }
68
- const beforePersist = this.desugarEventListener(unsugarable.onBeforePersist);
69
- const beforeUpdate = this.desugarEventListener(unsugarable.onBeforeUpdate);
70
- const initialize = this.desugarEventListener(unsugarable.onInitialize);
71
- const persistError = this.desugarEventListener(unsugarable.onPersistError);
72
- const persistSuccess = this.desugarEventListener(unsugarable.onPersistSuccess);
73
- const update = this.desugarEventListener(unsugarable.onUpdate);
74
- if (beforePersist) {
75
- store.set({ type: "beforePersist" }, beforePersist);
76
- }
77
- if (beforeUpdate) {
78
- store.set({ type: "beforeUpdate" }, beforeUpdate);
79
- }
80
- if (initialize) {
81
- store.set({ type: "initialize" }, initialize);
82
- }
83
- if (persistError) {
84
- store.set({ type: "persistError" }, persistError);
85
- }
86
- if (persistSuccess) {
87
- store.set({ type: "persistSuccess" }, persistSuccess);
88
- }
89
- if (update) {
90
- store.set({ type: "update" }, update);
91
- }
92
- return store;
93
- }
94
- static desugarEntityListEventListeners(unsugarable) {
95
- if (unsugarable.onBeforePersist === void 0 && unsugarable.onBeforeUpdate === void 0 && unsugarable.onChildBeforeUpdate === void 0 && unsugarable.onChildInitialize === void 0 && unsugarable.onChildUpdate === void 0 && unsugarable.onInitialize === void 0 && unsugarable.onPersistError === void 0 && unsugarable.onPersistSuccess === void 0 && unsugarable.onUpdate === void 0) {
96
- return void 0;
97
- }
98
- const eventListeners = new EventListenersStore();
99
- const beforePersist = this.desugarEventListener(unsugarable.onBeforePersist);
100
- const beforeUpdate = this.desugarEventListener(unsugarable.onBeforeUpdate);
101
- const initialize = this.desugarEventListener(unsugarable.onInitialize);
102
- const persistError = this.desugarEventListener(unsugarable.onPersistError);
103
- const persistSuccess = this.desugarEventListener(unsugarable.onPersistSuccess);
104
- const update = this.desugarEventListener(unsugarable.onUpdate);
105
- if (beforePersist) {
106
- eventListeners.set({ type: "beforePersist" }, beforePersist);
107
- }
108
- if (beforeUpdate) {
109
- eventListeners.set({ type: "beforeUpdate" }, beforeUpdate);
110
- }
111
- if (initialize) {
112
- eventListeners.set({ type: "initialize" }, initialize);
113
- }
114
- if (persistError) {
115
- eventListeners.set({ type: "persistError" }, persistError);
116
- }
117
- if (persistSuccess) {
118
- eventListeners.set({ type: "persistSuccess" }, persistSuccess);
119
- }
120
- if (update) {
121
- eventListeners.set({ type: "update" }, update);
122
- }
123
- const childEventListeners = new EventListenersStore();
124
- const childBeforeUpdate = this.desugarEventListener(unsugarable.onChildBeforeUpdate);
125
- const childInitialize = this.desugarEventListener(unsugarable.onChildInitialize);
126
- const childUpdate = this.desugarEventListener(unsugarable.onChildUpdate);
127
- if (childBeforeUpdate) {
128
- childEventListeners.set({ type: "beforeUpdate" }, childBeforeUpdate);
129
- }
130
- if (childInitialize) {
131
- childEventListeners.set({ type: "initialize" }, childInitialize);
132
- }
133
- if (childUpdate) {
134
- childEventListeners.set({ type: "update" }, childUpdate);
135
- }
136
- return {
137
- eventListeners,
138
- childEventListeners
139
- };
140
- }
141
- static desugarFieldEventListeners(unsugarable) {
142
- if (unsugarable.onBeforeUpdate === void 0 && unsugarable.onUpdate === void 0) {
143
- return void 0;
144
- }
145
- const store = new EventListenersStore();
146
- const beforeUpdate = this.desugarEventListener(unsugarable.onBeforeUpdate);
147
- const update = this.desugarEventListener(unsugarable.onUpdate);
148
- if (beforeUpdate) {
149
- store.set({ type: "beforeUpdate" }, beforeUpdate);
150
- }
151
- if (update) {
152
- store.set({ type: "update" }, update);
153
- }
154
- return store;
155
- }
156
- static desugarSubTreeAlias(alias) {
157
- if (alias === void 0) {
158
- return void 0;
159
- }
160
- if (alias instanceof Set) {
161
- return alias;
162
- }
163
- return (/* @__PURE__ */ new Set()).add(alias);
164
- }
165
- static desugarHasOneRelation(sugarable, unsugarable, environment) {
166
- return {
167
- field: sugarable.field,
168
- filter: sugarable.filter ? this.desugarFilter(sugarable.filter, environment) : void 0,
169
- expectedMutation: unsugarable.expectedMutation ?? RelationDefaults.expectedMutation,
170
- reducedBy: sugarable.reducedBy ? this.desugarUniqueWhere(sugarable.reducedBy, environment) : void 0,
171
- setOnCreate: unsugarable.setOnCreate ? this.desugarSetOnCreate(unsugarable.setOnCreate, environment) : void 0,
172
- isNonbearing: unsugarable.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,
173
- // forceCreation: unsugarable.forceCreation ?? EntityCreationParametersDefaults.forceCreation,
174
- eventListeners: this.desugarSingleEntityEventListeners(unsugarable)
175
- };
176
- }
177
- static augmentDesugaredHasOneRelationPath(path, unsugarable, environment) {
178
- return path.map(
179
- (desugaredHasOneRelation, i) => (
180
- // Unsugarable applies to the last
181
- this.desugarHasOneRelation(desugaredHasOneRelation, i === path.length - 1 ? unsugarable : {}, environment)
182
- )
183
- );
184
- }
185
- static augmentDesugaredHasManyRelation(relation, unsugarable, environment) {
186
- const eventListeners = this.desugarEntityListEventListeners(unsugarable);
187
- return {
188
- field: relation.field,
189
- filter: relation.filter,
190
- expectedMutation: unsugarable.expectedMutation ?? RelationDefaults.expectedMutation,
191
- isNonbearing: unsugarable.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,
192
- // forceCreation: unsugarable.forceCreation ?? EntityCreationParametersDefaults.forceCreation,
193
- initialEntityCount: unsugarable.initialEntityCount ?? EntityListPreferencesDefaults.initialEntityCount,
194
- setOnCreate: unsugarable.setOnCreate ? this.desugarSetOnCreate(unsugarable.setOnCreate, environment) : void 0,
195
- orderBy: unsugarable.orderBy ? this.desugarOrderBy(unsugarable.orderBy, environment) : void 0,
196
- offset: unsugarable.offset,
197
- limit: unsugarable.limit,
198
- childEventListeners: eventListeners?.childEventListeners,
199
- eventListeners: eventListeners?.eventListeners
200
- };
201
- }
202
- static desugarHasOneRelationPath(input, lastRelation, environment) {
203
- if (input === void 0) {
204
- input = [];
205
- } else if (!Array.isArray(input)) {
206
- input = [input];
207
- }
208
- const relationPath = [];
209
- const cappedLength = input.length - 1;
210
- let i = 0;
211
- for (; i < cappedLength; i++) {
212
- const pathNode = input[i];
213
- relationPath.push(this.desugarHasOneRelation(pathNode, {}, environment));
214
- }
215
- if (i in input) {
216
- relationPath.push(this.desugarHasOneRelation(input[i], lastRelation, environment));
217
- }
218
- return relationPath;
219
- }
220
- static desugarHasManyRelation(sugarablePart, unsugarablePart, environment) {
221
- const eventListeners = this.desugarEntityListEventListeners(unsugarablePart);
222
- return {
223
- ...this.desugarEntityListParameters(sugarablePart, unsugarablePart, environment),
224
- expectedMutation: unsugarablePart.expectedMutation ?? RelationDefaults.expectedMutation,
225
- setOnCreate: unsugarablePart.setOnCreate ? this.desugarSetOnCreate(unsugarablePart.setOnCreate, environment) : void 0,
226
- field: sugarablePart.field,
227
- isNonbearing: unsugarablePart.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,
228
- // forceCreation: unsugarablePart.forceCreation ?? EntityCreationParametersDefaults.forceCreation,
229
- childEventListeners: eventListeners?.childEventListeners,
230
- eventListeners: eventListeners?.eventListeners
231
- };
232
- }
233
- static desugarUnconstrainedQualifiedEntityList({ entities, ...unsugarableEntityList }, environment) {
234
- let hasOneRelationPath;
235
- let entityName;
236
- if (typeof entities === "string") {
237
- const parsed = this.parseUnconstrainedQualifiedEntityList(entities, environment);
238
- entityName = parsed.entityName;
239
- hasOneRelationPath = this.augmentDesugaredHasOneRelationPath(
240
- parsed.hasOneRelationPath,
241
- emptyObject,
242
- environment
243
- );
244
- } else {
245
- entityName = entities.entityName;
246
- hasOneRelationPath = this.desugarHasOneRelationPath(entities.hasOneRelationPath, emptyObject, environment);
247
- }
248
- const eventListeners = this.desugarEntityListEventListeners(unsugarableEntityList);
249
- return {
250
- isCreating: true,
251
- isUnpersisted: unsugarableEntityList.isUnpersisted ?? false,
252
- isNonbearing: unsugarableEntityList.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,
253
- // forceCreation: unsugarableEntityList.forceCreation ?? EntityCreationParametersDefaults.forceCreation,
254
- setOnCreate: unsugarableEntityList.setOnCreate ? this.desugarSetOnCreate(unsugarableEntityList.setOnCreate, environment) : void 0,
255
- expectedMutation: unsugarableEntityList.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation,
256
- childEventListeners: eventListeners?.childEventListeners,
257
- eventListeners: eventListeners?.eventListeners,
258
- initialEntityCount: unsugarableEntityList.initialEntityCount ?? EntityListPreferencesDefaults.initialEntityCount,
259
- alias: this.desugarSubTreeAlias(unsugarableEntityList.alias),
260
- entityName,
261
- hasOneRelationPath
262
- };
263
- }
264
- static desugarUnconstrainedQualifiedSingleEntity({ entity, ...unsugarableSingleEntity }, environment) {
265
- let hasOneRelationPath;
266
- let entityName;
267
- if (typeof entity === "string") {
268
- const parsed = this.parseUnconstrainedQualifiedSingleEntity(entity, environment);
269
- entityName = parsed.entityName;
270
- hasOneRelationPath = this.augmentDesugaredHasOneRelationPath(
271
- parsed.hasOneRelationPath,
272
- unsugarableSingleEntity,
273
- environment
274
- );
275
- } else {
276
- entityName = entity.entityName;
277
- hasOneRelationPath = this.desugarHasOneRelationPath(
278
- entity.hasOneRelationPath,
279
- unsugarableSingleEntity,
280
- environment
281
- );
282
- }
283
- return {
284
- isCreating: true,
285
- isUnpersisted: unsugarableSingleEntity.isUnpersisted ?? false,
286
- isNonbearing: unsugarableSingleEntity.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,
287
- // forceCreation: unsugarableSingleEntity.forceCreation ?? EntityCreationParametersDefaults.forceCreation,
288
- setOnCreate: unsugarableSingleEntity.setOnCreate ? this.desugarSetOnCreate(unsugarableSingleEntity.setOnCreate, environment) : void 0,
289
- expectedMutation: unsugarableSingleEntity.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation,
290
- eventListeners: this.desugarSingleEntityEventListeners(unsugarableSingleEntity),
291
- alias: this.desugarSubTreeAlias(unsugarableSingleEntity.alias),
292
- entityName,
293
- hasOneRelationPath
294
- };
295
- }
296
- static desugarQualifiedEntityList({ entities, ...unsugarableEntityList }, environment) {
297
- let entityName;
298
- let hasOneRelationPath;
299
- let filter;
300
- if (typeof entities === "string") {
301
- const parsed = this.parseQualifiedEntityList(entities, environment);
302
- entityName = parsed.entityName;
303
- filter = parsed.filter;
304
- hasOneRelationPath = this.augmentDesugaredHasOneRelationPath(
305
- parsed.hasOneRelationPath,
306
- emptyObject,
307
- environment
308
- );
309
- } else {
310
- entityName = entities.entityName;
311
- filter = entities.filter;
312
- hasOneRelationPath = this.desugarHasOneRelationPath(entities.hasOneRelationPath, emptyObject, environment);
313
- }
314
- const eventListeners = this.desugarEntityListEventListeners(unsugarableEntityList);
315
- return {
316
- entityName,
317
- hasOneRelationPath,
318
- ...this.desugarEntityListParameters(
319
- {
320
- filter
321
- },
322
- unsugarableEntityList,
323
- environment
324
- ),
325
- alias: this.desugarSubTreeAlias(unsugarableEntityList.alias),
326
- isCreating: false,
327
- isNonbearing: unsugarableEntityList.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,
328
- // forceCreation: unsugarableEntityList.forceCreation ?? EntityCreationParametersDefaults.forceCreation,
329
- setOnCreate: unsugarableEntityList.setOnCreate ? this.desugarSetOnCreate(unsugarableEntityList.setOnCreate, environment) : void 0,
330
- expectedMutation: unsugarableEntityList.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation,
331
- childEventListeners: eventListeners?.childEventListeners,
332
- eventListeners: eventListeners?.eventListeners
333
- };
334
- }
335
- static desugarQualifiedFieldList({ fields, ...unsugarableFieldList }, environment) {
336
- let field;
337
- let entityName;
338
- let filter;
339
- let hasOneRelationPath;
340
- if (typeof fields === "string") {
341
- const parsed = this.parseQualifiedFieldList(fields, environment);
342
- field = parsed.field;
343
- entityName = parsed.entityName;
344
- filter = parsed.filter;
345
- hasOneRelationPath = this.augmentDesugaredHasOneRelationPath(
346
- parsed.hasOneRelationPath,
347
- emptyObject,
348
- environment
349
- );
350
- } else {
351
- field = fields.field;
352
- entityName = fields.entityName;
353
- filter = fields.filter;
354
- hasOneRelationPath = this.desugarHasOneRelationPath(fields.hasOneRelationPath, emptyObject, environment);
355
- }
356
- return {
357
- field,
358
- entityName,
359
- hasOneRelationPath,
360
- alias: this.desugarSubTreeAlias(unsugarableFieldList.alias),
361
- isNonbearing: unsugarableFieldList.isNonbearing ?? EntityCreationParametersDefaults.isNonbearing,
362
- // forceCreation: unsugarableFieldList.forceCreation ?? EntityCreationParametersDefaults.forceCreation,
363
- defaultValue: unsugarableFieldList.defaultValue !== void 0 ? VariableInputTransformer.transformValue(unsugarableFieldList.defaultValue, environment) : void 0,
364
- expectedMutation: unsugarableFieldList.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation,
365
- eventListeners: this.desugarFieldEventListeners(unsugarableFieldList),
366
- ...this.desugarEntityListParameters({ filter }, unsugarableFieldList, environment)
367
- };
368
- }
369
- static desugarQualifiedSingleEntity({ entity, ...unsugarableSingleEntity }, environment, options = {}) {
370
- let entityName;
371
- let where;
372
- let filter;
373
- let hasOneRelationPath;
374
- if (typeof entity === "string") {
375
- const parsed = this.parseQualifiedSingleEntity(entity, environment);
376
- entityName = parsed.entityName;
377
- where = parsed.where;
378
- filter = parsed.filter;
379
- hasOneRelationPath = this.augmentDesugaredHasOneRelationPath(
380
- parsed.hasOneRelationPath,
381
- unsugarableSingleEntity,
382
- environment
383
- );
384
- } else {
385
- entityName = entity.entityName;
386
- where = this.desugarUniqueWhere(entity.where, environment);
387
- filter = entity.filter ? this.desugarFilter(entity.filter, environment) : void 0;
388
- hasOneRelationPath = this.desugarHasOneRelationPath(
389
- entity.hasOneRelationPath,
390
- unsugarableSingleEntity,
391
- environment
392
- );
393
- }
394
- let setOnCreate = unsugarableSingleEntity.setOnCreate !== void 0 ? this.desugarSetOnCreate(unsugarableSingleEntity.setOnCreate, environment) : void 0;
395
- if (!setOnCreate && options.missingSetOnCreate) {
396
- const whereValues = Object.values(where);
397
- if (whereValues.length === 1 && whereValues[0] instanceof GraphQlLiteral) {
398
- setOnCreate = where;
399
- if (options.missingSetOnCreate === "fillAndWarn") {
400
- console.warn("Automatic creation of singleton entities in EditPage is deprecated. Please use setOnCreate prop.");
401
- }
402
- }
403
- }
404
- const isNonbearing = unsugarableSingleEntity.isNonbearing !== void 0 ? unsugarableSingleEntity.isNonbearing : EntityCreationParametersDefaults.isNonbearing;
405
- const eventListeners = this.desugarSingleEntityEventListeners(unsugarableSingleEntity);
406
- const expectedMutation = unsugarableSingleEntity.expectedMutation ?? QualifiedEntityParametersDefaults.expectedMutation;
407
- const alias = this.desugarSubTreeAlias(unsugarableSingleEntity.alias);
408
- return {
409
- alias,
410
- entityName,
411
- isCreating: false,
412
- where,
413
- filter,
414
- hasOneRelationPath,
415
- // forceCreation,
416
- setOnCreate,
417
- isNonbearing,
418
- eventListeners,
419
- expectedMutation
420
- };
421
- }
422
- static desugarParentEntityParameters(parentEntity, environment) {
423
- return {
424
- eventListeners: this.desugarSingleEntityEventListeners(parentEntity)
425
- };
426
- }
427
- static desugarRelativeSingleEntity(sugaredRelativeSingleEntity, environment) {
428
- if (typeof sugaredRelativeSingleEntity === "string") {
429
- return this.desugarRelativeSingleEntity({ field: sugaredRelativeSingleEntity }, environment);
430
- }
431
- const { field, ...unsugarableEntity } = sugaredRelativeSingleEntity;
432
- let hasOneRelationPath;
433
- if (typeof field === "string") {
434
- const parsed = this.parseRelativeSingleEntity(field, environment);
435
- hasOneRelationPath = this.augmentDesugaredHasOneRelationPath(
436
- parsed.hasOneRelationPath,
437
- unsugarableEntity,
438
- environment
439
- );
440
- } else {
441
- hasOneRelationPath = this.desugarHasOneRelationPath(field, unsugarableEntity, environment);
442
- }
443
- return {
444
- hasOneRelationPath
445
- };
446
- }
447
- static desugarRelativeSingleField(sugaredRelativeSingleField, environment) {
448
- if (typeof sugaredRelativeSingleField === "string") {
449
- return this.desugarRelativeSingleField({ field: sugaredRelativeSingleField }, environment);
450
- }
451
- const { field, ...unsugarableField } = sugaredRelativeSingleField;
452
- let hasOneRelationPath;
453
- let fieldName;
454
- if (typeof field === "string") {
455
- const parsed = this.parseRelativeSingleField(field, environment);
456
- hasOneRelationPath = this.augmentDesugaredHasOneRelationPath(parsed.hasOneRelationPath, {}, environment);
457
- fieldName = parsed.field;
458
- } else {
459
- hasOneRelationPath = this.desugarHasOneRelationPath(field.hasOneRelationPath, {}, environment);
460
- fieldName = field.field;
461
- }
462
- return {
463
- eventListeners: this.desugarFieldEventListeners(unsugarableField),
464
- hasOneRelationPath,
465
- field: fieldName,
466
- isNonbearing: unsugarableField.isNonbearing ?? LeafFieldDefaults.isNonbearing,
467
- defaultValue: unsugarableField.defaultValue !== void 0 ? VariableInputTransformer.transformValue(unsugarableField.defaultValue, environment) : void 0
468
- };
469
- }
470
- static desugarRelativeEntityList(sugaredRelativeEntityList, environment) {
471
- if (typeof sugaredRelativeEntityList === "string") {
472
- return this.desugarRelativeEntityList(
473
- {
474
- field: sugaredRelativeEntityList
475
- },
476
- environment
477
- );
478
- }
479
- const { field, ...unsugarableEntityList } = sugaredRelativeEntityList;
480
- let hasOneRelationPath;
481
- let hasManyRelation;
482
- if (typeof field === "string") {
483
- const parsed = this.parseRelativeEntityList(field, environment);
484
- hasOneRelationPath = this.augmentDesugaredHasOneRelationPath(
485
- parsed.hasOneRelationPath,
486
- emptyObject,
487
- environment
488
- );
489
- hasManyRelation = this.augmentDesugaredHasManyRelation(
490
- parsed.hasManyRelation,
491
- unsugarableEntityList,
492
- environment
493
- );
494
- } else {
495
- hasOneRelationPath = this.desugarHasOneRelationPath(field.hasOneRelationPath || [], emptyObject, environment);
496
- hasManyRelation = this.desugarHasManyRelation(field.hasManyRelation, unsugarableEntityList, environment);
497
- }
498
- return {
499
- hasManyRelation,
500
- hasOneRelationPath
501
- };
502
- }
503
- };
504
- __publicField(_QueryLanguage, "parseUnconstrainedQualifiedEntityList", _QueryLanguage.preparePrimitiveEntryPoint("unconstrainedQualifiedEntityList"));
505
- __publicField(_QueryLanguage, "parseUnconstrainedQualifiedSingleEntity", _QueryLanguage.preparePrimitiveEntryPoint("unconstrainedQualifiedEntityList"));
506
- __publicField(_QueryLanguage, "parseQualifiedEntityList", _QueryLanguage.preparePrimitiveEntryPoint("qualifiedEntityList"));
507
- __publicField(_QueryLanguage, "parseQualifiedFieldList", _QueryLanguage.preparePrimitiveEntryPoint("qualifiedFieldList"));
508
- __publicField(_QueryLanguage, "parseQualifiedSingleEntity", _QueryLanguage.preparePrimitiveEntryPoint("qualifiedSingleEntity"));
509
- __publicField(_QueryLanguage, "parseRelativeEntityList", _QueryLanguage.preparePrimitiveEntryPoint("relativeEntityList"));
510
- __publicField(_QueryLanguage, "parseRelativeSingleEntity", _QueryLanguage.preparePrimitiveEntryPoint("relativeSingleEntity"));
511
- __publicField(_QueryLanguage, "parseRelativeSingleField", _QueryLanguage.preparePrimitiveEntryPoint("relativeSingleField"));
512
- __publicField(_QueryLanguage, "desugarUniqueWhere", _QueryLanguage.preparePrimitiveEntryPointWithFallback("uniqueWhere"));
513
- __publicField(_QueryLanguage, "desugarFilter", _QueryLanguage.preparePrimitiveEntryPointWithFallback("filter"));
514
- __publicField(_QueryLanguage, "desugarOrderBy", _QueryLanguage.preparePrimitiveEntryPointWithFallback("orderBy"));
515
- __publicField(_QueryLanguage, "desugarTaggedMap", _QueryLanguage.preparePrimitiveEntryPointWithFallback("taggedMap"));
516
- let QueryLanguage = _QueryLanguage;
517
- export {
518
- QueryLanguage
519
- };
520
- //# sourceMappingURL=QueryLanguage.js.map