@contember/binding 1.0.0-rc.9 → 1.0.3

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 (484) hide show
  1. package/dist/development/BindingError.js +0 -1
  2. package/dist/development/BindingError.js.map +1 -1
  3. package/dist/development/accessorPropagation/AccessorProvider.js +3 -5
  4. package/dist/development/accessorPropagation/AccessorProvider.js.map +1 -1
  5. package/dist/development/accessorPropagation/BindingOperationsContext.js +2 -4
  6. package/dist/development/accessorPropagation/BindingOperationsContext.js.map +1 -1
  7. package/dist/development/accessorPropagation/BindingOperationsProvider.js +2 -4
  8. package/dist/development/accessorPropagation/BindingOperationsProvider.js.map +1 -1
  9. package/dist/development/accessorPropagation/EntityKeyContext.js +1 -3
  10. package/dist/development/accessorPropagation/EntityKeyContext.js.map +1 -1
  11. package/dist/development/accessorPropagation/EntityKeyProvider.js +2 -4
  12. package/dist/development/accessorPropagation/EntityKeyProvider.js.map +1 -1
  13. package/dist/development/accessorPropagation/EnvironmentContext.js +2 -4
  14. package/dist/development/accessorPropagation/EnvironmentContext.js.map +1 -1
  15. package/dist/development/accessorPropagation/TreeRootIdContext.js +1 -3
  16. package/dist/development/accessorPropagation/TreeRootIdContext.js.map +1 -1
  17. package/dist/development/accessorPropagation/TreeRootIdProvider.js +2 -4
  18. package/dist/development/accessorPropagation/TreeRootIdProvider.js.map +1 -1
  19. package/dist/development/accessorPropagation/useAccessorUpdateSubscription.js +2 -4
  20. package/dist/development/accessorPropagation/useAccessorUpdateSubscription.js.map +1 -1
  21. package/dist/development/accessorPropagation/useBindingOperations.js +2 -4
  22. package/dist/development/accessorPropagation/useBindingOperations.js.map +1 -1
  23. package/dist/development/accessorPropagation/useDesugaredRelativeEntityList.js +3 -5
  24. package/dist/development/accessorPropagation/useDesugaredRelativeEntityList.js.map +1 -1
  25. package/dist/development/accessorPropagation/useDesugaredRelativeSingleEntity.js +3 -5
  26. package/dist/development/accessorPropagation/useDesugaredRelativeSingleEntity.js.map +1 -1
  27. package/dist/development/accessorPropagation/useDesugaredRelativeSingleField.js +3 -5
  28. package/dist/development/accessorPropagation/useDesugaredRelativeSingleField.js.map +1 -1
  29. package/dist/development/accessorPropagation/useEntity.js +7 -9
  30. package/dist/development/accessorPropagation/useEntity.js.map +1 -1
  31. package/dist/development/accessorPropagation/useEntityKey.js +3 -5
  32. package/dist/development/accessorPropagation/useEntityKey.js.map +1 -1
  33. package/dist/development/accessorPropagation/useEntityList.js +7 -9
  34. package/dist/development/accessorPropagation/useEntityList.js.map +1 -1
  35. package/dist/development/accessorPropagation/useEntityListSubTree.js +4 -6
  36. package/dist/development/accessorPropagation/useEntityListSubTree.js.map +1 -1
  37. package/dist/development/accessorPropagation/useEntityListSubTreeParameters.js +2 -4
  38. package/dist/development/accessorPropagation/useEntityListSubTreeParameters.js.map +1 -1
  39. package/dist/development/accessorPropagation/useEntitySubTree.js +4 -6
  40. package/dist/development/accessorPropagation/useEntitySubTree.js.map +1 -1
  41. package/dist/development/accessorPropagation/useEntitySubTreeParameters.js +2 -4
  42. package/dist/development/accessorPropagation/useEntitySubTreeParameters.js.map +1 -1
  43. package/dist/development/accessorPropagation/useEnvironment.js +2 -4
  44. package/dist/development/accessorPropagation/useEnvironment.js.map +1 -1
  45. package/dist/development/accessorPropagation/useField.js +7 -9
  46. package/dist/development/accessorPropagation/useField.js.map +1 -1
  47. package/dist/development/accessorPropagation/useGetEntityByKey.js +1 -3
  48. package/dist/development/accessorPropagation/useGetEntityByKey.js.map +1 -1
  49. package/dist/development/accessorPropagation/useGetEntityListSubTree.js +4 -6
  50. package/dist/development/accessorPropagation/useGetEntityListSubTree.js.map +1 -1
  51. package/dist/development/accessorPropagation/useGetEntitySubTree.js +4 -6
  52. package/dist/development/accessorPropagation/useGetEntitySubTree.js.map +1 -1
  53. package/dist/development/accessorPropagation/useGetTreeFilters.js +1 -3
  54. package/dist/development/accessorPropagation/useGetTreeFilters.js.map +1 -1
  55. package/dist/development/accessorPropagation/useHasEntity.js +2 -4
  56. package/dist/development/accessorPropagation/useHasEntity.js.map +1 -1
  57. package/dist/development/accessorPropagation/usePersist.js +1 -3
  58. package/dist/development/accessorPropagation/usePersist.js.map +1 -1
  59. package/dist/development/accessorPropagation/useTreeRootId.js +2 -4
  60. package/dist/development/accessorPropagation/useTreeRootId.js.map +1 -1
  61. package/dist/development/accessorSorting/SetOrderFieldOnCreate.js +9 -11
  62. package/dist/development/accessorSorting/SetOrderFieldOnCreate.js.map +1 -1
  63. package/dist/development/accessorSorting/addEntityAtIndex.js +2 -4
  64. package/dist/development/accessorSorting/addEntityAtIndex.js.map +1 -1
  65. package/dist/development/accessorSorting/errors.js +1 -3
  66. package/dist/development/accessorSorting/errors.js.map +1 -1
  67. package/dist/development/accessorSorting/moveEntity.js +1 -3
  68. package/dist/development/accessorSorting/moveEntity.js.map +1 -1
  69. package/dist/development/accessorSorting/repairEntitiesOrder.js +0 -1
  70. package/dist/development/accessorSorting/repairEntitiesOrder.js.map +1 -1
  71. package/dist/development/accessorSorting/sortEntities.js +0 -1
  72. package/dist/development/accessorSorting/sortEntities.js.map +1 -1
  73. package/dist/development/accessorSorting/useSortedEntities.js +6 -8
  74. package/dist/development/accessorSorting/useSortedEntities.js.map +1 -1
  75. package/dist/development/accessorTree/AccessorTree.js +4 -6
  76. package/dist/development/accessorTree/AccessorTree.js.map +1 -1
  77. package/dist/development/accessorTree/DirtinessContext.js +1 -3
  78. package/dist/development/accessorTree/DirtinessContext.js.map +1 -1
  79. package/dist/development/accessorTree/MutationStateContext.js +1 -3
  80. package/dist/development/accessorTree/MutationStateContext.js.map +1 -1
  81. package/dist/development/accessorTree/NormalizedPersistedData.js +0 -1
  82. package/dist/development/accessorTree/NormalizedPersistedData.js.map +1 -1
  83. package/dist/development/accessorTree/RuntimeId.js +22 -17
  84. package/dist/development/accessorTree/RuntimeId.js.map +1 -1
  85. package/dist/development/accessorTree/accessorTreeStateReducer.js +0 -1
  86. package/dist/development/accessorTree/accessorTreeStateReducer.js.map +1 -1
  87. package/dist/development/accessorTree/metadataToRequestError.js +0 -1
  88. package/dist/development/accessorTree/metadataToRequestError.js.map +1 -1
  89. package/dist/development/accessorTree/useDataBinding.js +5 -7
  90. package/dist/development/accessorTree/useDataBinding.js.map +1 -1
  91. package/dist/development/accessorTree/useDirtinessState.js +2 -4
  92. package/dist/development/accessorTree/useDirtinessState.js.map +1 -1
  93. package/dist/development/accessorTree/useMutationState.js +2 -4
  94. package/dist/development/accessorTree/useMutationState.js.map +1 -1
  95. package/dist/development/accessors/EntityAccessor.js +5 -7
  96. package/dist/development/accessors/EntityAccessor.js.map +1 -1
  97. package/dist/development/accessors/EntityListAccessor.js +1 -3
  98. package/dist/development/accessors/EntityListAccessor.js.map +1 -1
  99. package/dist/development/accessors/ErrorAccessor.js +0 -1
  100. package/dist/development/accessors/ErrorAccessor.js.map +1 -1
  101. package/dist/development/accessors/FieldAccessor.js +3 -5
  102. package/dist/development/accessors/FieldAccessor.js.map +1 -1
  103. package/dist/development/accessors/TreeRootAccessor.js +0 -1
  104. package/dist/development/accessors/TreeRootAccessor.js.map +1 -1
  105. package/dist/development/bindingTypes.js +0 -1
  106. package/dist/development/bindingTypes.js.map +1 -1
  107. package/dist/development/core/AccessorErrorManager.js +15 -11
  108. package/dist/development/core/AccessorErrorManager.js.map +1 -1
  109. package/dist/development/core/Config.js +18 -12
  110. package/dist/development/core/Config.js.map +1 -1
  111. package/dist/development/core/DataBinding.js +71 -51
  112. package/dist/development/core/DataBinding.js.map +1 -1
  113. package/dist/development/core/DirtinessTracker.js +10 -3
  114. package/dist/development/core/DirtinessTracker.js.map +1 -1
  115. package/dist/development/core/ErrorsPreprocessor.js +3 -5
  116. package/dist/development/core/ErrorsPreprocessor.js.map +1 -1
  117. package/dist/development/core/EventManager.js +20 -16
  118. package/dist/development/core/EventManager.js.map +1 -1
  119. package/dist/development/core/IncrementalMarkerBuilder.js +14 -8
  120. package/dist/development/core/IncrementalMarkerBuilder.js.map +1 -1
  121. package/dist/development/core/MarkerComparator.js +6 -8
  122. package/dist/development/core/MarkerComparator.js.map +1 -1
  123. package/dist/development/core/MarkerMerger.js +17 -15
  124. package/dist/development/core/MarkerMerger.js.map +1 -1
  125. package/dist/development/core/MarkerTreeGenerator.js +18 -13
  126. package/dist/development/core/MarkerTreeGenerator.js.map +1 -1
  127. package/dist/development/core/MutationGenerator.js +13 -15
  128. package/dist/development/core/MutationGenerator.js.map +1 -1
  129. package/dist/development/core/QueryGenerator.js +9 -11
  130. package/dist/development/core/QueryGenerator.js.map +1 -1
  131. package/dist/development/core/RealmKeyGenerator.js +10 -6
  132. package/dist/development/core/RealmKeyGenerator.js.map +1 -1
  133. package/dist/development/core/RequestResponseNormalizer.js +7 -9
  134. package/dist/development/core/RequestResponseNormalizer.js.map +1 -1
  135. package/dist/development/core/StateInitializer.js +28 -26
  136. package/dist/development/core/StateInitializer.js.map +1 -1
  137. package/dist/development/core/TreeAugmenter.js +6 -8
  138. package/dist/development/core/TreeAugmenter.js.map +1 -1
  139. package/dist/development/core/TreeFilterGenerator.js +8 -8
  140. package/dist/development/core/TreeFilterGenerator.js.map +1 -1
  141. package/dist/development/core/TreeParameterMerger.js +2 -4
  142. package/dist/development/core/TreeParameterMerger.js.map +1 -1
  143. package/dist/development/core/TreeStore.js +19 -15
  144. package/dist/development/core/TreeStore.js.map +1 -1
  145. package/dist/development/core/VariableInputTransformer.js +2 -4
  146. package/dist/development/core/VariableInputTransformer.js.map +1 -1
  147. package/dist/development/core/exceptions/ErrorLocator.js +10 -6
  148. package/dist/development/core/exceptions/ErrorLocator.js.map +1 -1
  149. package/dist/development/core/exceptions/LocalizedBindingError.js +1 -3
  150. package/dist/development/core/exceptions/LocalizedBindingError.js.map +1 -1
  151. package/dist/development/core/exceptions/MarkerSugarer.js +7 -9
  152. package/dist/development/core/exceptions/MarkerSugarer.js.map +1 -1
  153. package/dist/development/core/exceptions/TreeParameterSugarer.js +0 -1
  154. package/dist/development/core/exceptions/TreeParameterSugarer.js.map +1 -1
  155. package/dist/development/core/factories/createBatchUpdatesOptions.js +1 -3
  156. package/dist/development/core/factories/createBatchUpdatesOptions.js.map +1 -1
  157. package/dist/development/core/operations/EntityOperations.js +13 -14
  158. package/dist/development/core/operations/EntityOperations.js.map +1 -1
  159. package/dist/development/core/operations/FieldOperations.js +10 -12
  160. package/dist/development/core/operations/FieldOperations.js.map +1 -1
  161. package/dist/development/core/operations/ListOperations.js +12 -14
  162. package/dist/development/core/operations/ListOperations.js.map +1 -1
  163. package/dist/development/core/operations/OperationsHelpers.js +4 -6
  164. package/dist/development/core/operations/OperationsHelpers.js.map +1 -1
  165. package/dist/development/core/requestAliases/MutationAlias.js +2 -4
  166. package/dist/development/core/requestAliases/MutationAlias.js.map +1 -1
  167. package/dist/development/core/requestAliases/mutationOperationSubTreeType.js +0 -1
  168. package/dist/development/core/requestAliases/mutationOperationSubTreeType.js.map +1 -1
  169. package/dist/development/core/requestAliases/mutationOperationType.js +0 -1
  170. package/dist/development/core/requestAliases/mutationOperationType.js.map +1 -1
  171. package/dist/development/core/schema/Schema.js +0 -1
  172. package/dist/development/core/schema/Schema.js.map +1 -1
  173. package/dist/development/core/schema/SchemaLoader.js +9 -5
  174. package/dist/development/core/schema/SchemaLoader.js.map +1 -1
  175. package/dist/development/core/schema/SchemaPreprocessor.js +0 -1
  176. package/dist/development/core/schema/SchemaPreprocessor.js.map +1 -1
  177. package/dist/development/core/schema/SchemaValidator.js +9 -11
  178. package/dist/development/core/schema/SchemaValidator.js.map +1 -1
  179. package/dist/development/core/state/StateIterator.js +2 -4
  180. package/dist/development/core/state/StateIterator.js.map +1 -1
  181. package/dist/development/core/state/getEntityMarker.js +0 -1
  182. package/dist/development/core/state/getEntityMarker.js.map +1 -1
  183. package/dist/development/core/utils/getCombinedSignal.js +0 -1
  184. package/dist/development/core/utils/getCombinedSignal.js.map +1 -1
  185. package/dist/development/coreComponents/Component.js +2 -4
  186. package/dist/development/coreComponents/Component.js.map +1 -1
  187. package/dist/development/coreComponents/DataBindingProvider.js +3 -5
  188. package/dist/development/coreComponents/DataBindingProvider.js.map +1 -1
  189. package/dist/development/coreComponents/Entity.js +3 -5
  190. package/dist/development/coreComponents/Entity.js.map +1 -1
  191. package/dist/development/coreComponents/EntityList.js +3 -5
  192. package/dist/development/coreComponents/EntityList.js.map +1 -1
  193. package/dist/development/coreComponents/EntityListSubTree.js +12 -14
  194. package/dist/development/coreComponents/EntityListSubTree.js.map +1 -1
  195. package/dist/development/coreComponents/EntitySubTree.js +14 -16
  196. package/dist/development/coreComponents/EntitySubTree.js.map +1 -1
  197. package/dist/development/coreComponents/Field.js +5 -7
  198. package/dist/development/coreComponents/Field.js.map +1 -1
  199. package/dist/development/coreComponents/HasMany.js +8 -10
  200. package/dist/development/coreComponents/HasMany.js.map +1 -1
  201. package/dist/development/coreComponents/HasOne.js +8 -10
  202. package/dist/development/coreComponents/HasOne.js.map +1 -1
  203. package/dist/development/coreComponents/ParentEntity.js +3 -5
  204. package/dist/development/coreComponents/ParentEntity.js.map +1 -1
  205. package/dist/development/dao/Environment.js +7 -2
  206. package/dist/development/dao/Environment.js.map +1 -1
  207. package/dist/development/dao/VariableFieldValue.js +0 -1
  208. package/dist/development/dao/VariableFieldValue.js.map +1 -1
  209. package/dist/development/entityEvents/useDerivedField.js +4 -6
  210. package/dist/development/entityEvents/useDerivedField.js.map +1 -1
  211. package/dist/development/entityEvents/useEntityBeforePersist.js +1 -3
  212. package/dist/development/entityEvents/useEntityBeforePersist.js.map +1 -1
  213. package/dist/development/entityEvents/useEntityBeforeUpdate.js +1 -3
  214. package/dist/development/entityEvents/useEntityBeforeUpdate.js.map +1 -1
  215. package/dist/development/entityEvents/useEntityEvent.js +3 -5
  216. package/dist/development/entityEvents/useEntityEvent.js.map +1 -1
  217. package/dist/development/entityEvents/useEntityPersistError.js +1 -3
  218. package/dist/development/entityEvents/useEntityPersistError.js.map +1 -1
  219. package/dist/development/entityEvents/useEntityPersistSuccess.js +1 -3
  220. package/dist/development/entityEvents/useEntityPersistSuccess.js.map +1 -1
  221. package/dist/development/entityEvents/useOnConnectionUpdate.js +1 -3
  222. package/dist/development/entityEvents/useOnConnectionUpdate.js.map +1 -1
  223. package/dist/development/fieldHelpers/helpers/FieldHelper.js +8 -4
  224. package/dist/development/fieldHelpers/helpers/FieldHelper.js.map +1 -1
  225. package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js +1 -3
  226. package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js.map +1 -1
  227. package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js +2 -4
  228. package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js.map +1 -1
  229. package/dist/development/helperComponents/DeferredSubTrees.js +9 -11
  230. package/dist/development/helperComponents/DeferredSubTrees.js.map +1 -1
  231. package/dist/development/helperComponents/EntityView.js +2 -4
  232. package/dist/development/helperComponents/EntityView.js.map +1 -1
  233. package/dist/development/helperComponents/FieldView.js +7 -9
  234. package/dist/development/helperComponents/FieldView.js.map +1 -1
  235. package/dist/development/helperComponents/StaticRender.js +2 -4
  236. package/dist/development/helperComponents/StaticRender.js.map +1 -1
  237. package/dist/development/helperComponents/SugaredField.js +3 -5
  238. package/dist/development/helperComponents/SugaredField.js.map +1 -1
  239. package/dist/development/index.js +101 -101
  240. package/dist/development/index.js.map +1 -1
  241. package/dist/development/markers/EntityFieldMarkersContainer.js +5 -7
  242. package/dist/development/markers/EntityFieldMarkersContainer.js.map +1 -1
  243. package/dist/development/markers/EntityFieldsWithHoistablesMarker.js +0 -1
  244. package/dist/development/markers/EntityFieldsWithHoistablesMarker.js.map +1 -1
  245. package/dist/development/markers/EntityListSubTreeMarker.js +8 -4
  246. package/dist/development/markers/EntityListSubTreeMarker.js.map +1 -1
  247. package/dist/development/markers/EntitySubTreeMarker.js +8 -4
  248. package/dist/development/markers/EntitySubTreeMarker.js.map +1 -1
  249. package/dist/development/markers/FieldMarker.js +8 -4
  250. package/dist/development/markers/FieldMarker.js.map +1 -1
  251. package/dist/development/markers/HasManyRelationMarker.js +9 -5
  252. package/dist/development/markers/HasManyRelationMarker.js.map +1 -1
  253. package/dist/development/markers/HasOneRelationMarker.js +8 -4
  254. package/dist/development/markers/HasOneRelationMarker.js.map +1 -1
  255. package/dist/development/markers/MarkerTreeRoot.js +0 -1
  256. package/dist/development/markers/MarkerTreeRoot.js.map +1 -1
  257. package/dist/development/markers/ParentEntityMarker.js +0 -1
  258. package/dist/development/markers/ParentEntityMarker.js.map +1 -1
  259. package/dist/development/markers/PlaceholderGenerator.js +1 -3
  260. package/dist/development/markers/PlaceholderGenerator.js.map +1 -1
  261. package/dist/development/queryLanguage/CacheStore.js +10 -4
  262. package/dist/development/queryLanguage/CacheStore.js.map +1 -1
  263. package/dist/development/queryLanguage/MarkerFactory.js +11 -13
  264. package/dist/development/queryLanguage/MarkerFactory.js.map +1 -1
  265. package/dist/development/queryLanguage/Parser.js +561 -548
  266. package/dist/development/queryLanguage/Parser.js.map +1 -1
  267. package/dist/development/queryLanguage/QueryLanguage.js +32 -27
  268. package/dist/development/queryLanguage/QueryLanguage.js.map +1 -1
  269. package/dist/development/queryLanguage/QueryLanguageError.js +0 -1
  270. package/dist/development/queryLanguage/QueryLanguageError.js.map +1 -1
  271. package/dist/development/queryLanguage/tokenList.js +6 -3
  272. package/dist/development/queryLanguage/tokenList.js.map +1 -1
  273. package/dist/development/structures/BijectiveIndexedMap.js +14 -9
  274. package/dist/development/structures/BijectiveIndexedMap.js.map +1 -1
  275. package/dist/development/structures/LRUCache.js +7 -2
  276. package/dist/development/structures/LRUCache.js.map +1 -1
  277. package/dist/development/structures/WeakIdCache.js +11 -4
  278. package/dist/development/structures/WeakIdCache.js.map +1 -1
  279. package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.js +1 -3
  280. package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.js.map +1 -1
  281. package/dist/development/treeParameters/EntityCreationParameters.js +0 -1
  282. package/dist/development/treeParameters/EntityCreationParameters.js.map +1 -1
  283. package/dist/development/treeParameters/EntityListPreferences.js +0 -1
  284. package/dist/development/treeParameters/EntityListPreferences.js.map +1 -1
  285. package/dist/development/treeParameters/EventListenersStore.js +0 -1
  286. package/dist/development/treeParameters/EventListenersStore.js.map +1 -1
  287. package/dist/development/treeParameters/LeafField.js +0 -1
  288. package/dist/development/treeParameters/LeafField.js.map +1 -1
  289. package/dist/development/treeParameters/QualifiedEntityParameters.js +0 -1
  290. package/dist/development/treeParameters/QualifiedEntityParameters.js.map +1 -1
  291. package/dist/development/treeParameters/Relation.js +0 -1
  292. package/dist/development/treeParameters/Relation.js.map +1 -1
  293. package/dist/development/utils/Hashing.js +0 -1
  294. package/dist/development/utils/Hashing.js.map +1 -1
  295. package/dist/development/utils/assert.js +1 -3
  296. package/dist/development/utils/assert.js.map +1 -1
  297. package/dist/development/utils/assertNever.js +2 -4
  298. package/dist/development/utils/assertNever.js.map +1 -1
  299. package/dist/development/utils/generateEnumerabilityPreventingEntropy.js +0 -1
  300. package/dist/development/utils/generateEnumerabilityPreventingEntropy.js.map +1 -1
  301. package/dist/development/utils/isEmptyObject.js +0 -1
  302. package/dist/development/utils/isEmptyObject.js.map +1 -1
  303. package/dist/development/utils/ucfirst.js +0 -1
  304. package/dist/development/utils/ucfirst.js.map +1 -1
  305. package/dist/production/BindingError.js.map +1 -1
  306. package/dist/production/accessorPropagation/AccessorProvider.js.map +1 -1
  307. package/dist/production/accessorPropagation/BindingOperationsContext.js.map +1 -1
  308. package/dist/production/accessorPropagation/BindingOperationsProvider.js.map +1 -1
  309. package/dist/production/accessorPropagation/EntityKeyContext.js.map +1 -1
  310. package/dist/production/accessorPropagation/EntityKeyProvider.js.map +1 -1
  311. package/dist/production/accessorPropagation/EnvironmentContext.js.map +1 -1
  312. package/dist/production/accessorPropagation/TreeRootIdContext.js.map +1 -1
  313. package/dist/production/accessorPropagation/TreeRootIdProvider.js.map +1 -1
  314. package/dist/production/accessorPropagation/useAccessorUpdateSubscription.js.map +1 -1
  315. package/dist/production/accessorPropagation/useBindingOperations.js.map +1 -1
  316. package/dist/production/accessorPropagation/useDesugaredRelativeEntityList.js.map +1 -1
  317. package/dist/production/accessorPropagation/useDesugaredRelativeSingleEntity.js.map +1 -1
  318. package/dist/production/accessorPropagation/useDesugaredRelativeSingleField.js.map +1 -1
  319. package/dist/production/accessorPropagation/useEntity.js.map +1 -1
  320. package/dist/production/accessorPropagation/useEntityKey.js.map +1 -1
  321. package/dist/production/accessorPropagation/useEntityList.js.map +1 -1
  322. package/dist/production/accessorPropagation/useEntityListSubTree.js.map +1 -1
  323. package/dist/production/accessorPropagation/useEntityListSubTreeParameters.js.map +1 -1
  324. package/dist/production/accessorPropagation/useEntitySubTree.js.map +1 -1
  325. package/dist/production/accessorPropagation/useEntitySubTreeParameters.js.map +1 -1
  326. package/dist/production/accessorPropagation/useEnvironment.js.map +1 -1
  327. package/dist/production/accessorPropagation/useField.js.map +1 -1
  328. package/dist/production/accessorPropagation/useGetEntityByKey.js.map +1 -1
  329. package/dist/production/accessorPropagation/useGetEntityListSubTree.js.map +1 -1
  330. package/dist/production/accessorPropagation/useGetEntitySubTree.js.map +1 -1
  331. package/dist/production/accessorPropagation/useGetTreeFilters.js.map +1 -1
  332. package/dist/production/accessorPropagation/useHasEntity.js.map +1 -1
  333. package/dist/production/accessorPropagation/usePersist.js.map +1 -1
  334. package/dist/production/accessorPropagation/useTreeRootId.js.map +1 -1
  335. package/dist/production/accessorSorting/SetOrderFieldOnCreate.js.map +1 -1
  336. package/dist/production/accessorSorting/addEntityAtIndex.js.map +1 -1
  337. package/dist/production/accessorSorting/errors.js.map +1 -1
  338. package/dist/production/accessorSorting/moveEntity.js.map +1 -1
  339. package/dist/production/accessorSorting/repairEntitiesOrder.js.map +1 -1
  340. package/dist/production/accessorSorting/sortEntities.js.map +1 -1
  341. package/dist/production/accessorSorting/useSortedEntities.js.map +1 -1
  342. package/dist/production/accessorTree/AccessorTree.js.map +1 -1
  343. package/dist/production/accessorTree/DirtinessContext.js.map +1 -1
  344. package/dist/production/accessorTree/MutationStateContext.js.map +1 -1
  345. package/dist/production/accessorTree/NormalizedPersistedData.js.map +1 -1
  346. package/dist/production/accessorTree/RuntimeId.js.map +1 -1
  347. package/dist/production/accessorTree/accessorTreeStateReducer.js.map +1 -1
  348. package/dist/production/accessorTree/metadataToRequestError.js.map +1 -1
  349. package/dist/production/accessorTree/useDataBinding.js.map +1 -1
  350. package/dist/production/accessorTree/useDirtinessState.js.map +1 -1
  351. package/dist/production/accessorTree/useMutationState.js.map +1 -1
  352. package/dist/production/accessors/EntityAccessor.js.map +1 -1
  353. package/dist/production/accessors/EntityListAccessor.js.map +1 -1
  354. package/dist/production/accessors/ErrorAccessor.js.map +1 -1
  355. package/dist/production/accessors/FieldAccessor.js.map +1 -1
  356. package/dist/production/accessors/TreeRootAccessor.js.map +1 -1
  357. package/dist/production/bindingTypes.js.map +1 -1
  358. package/dist/production/core/AccessorErrorManager.js.map +1 -1
  359. package/dist/production/core/Config.js.map +1 -1
  360. package/dist/production/core/DataBinding.js +18 -3
  361. package/dist/production/core/DataBinding.js.map +1 -1
  362. package/dist/production/core/DirtinessTracker.js.map +1 -1
  363. package/dist/production/core/ErrorsPreprocessor.js.map +1 -1
  364. package/dist/production/core/EventManager.js.map +1 -1
  365. package/dist/production/core/IncrementalMarkerBuilder.js.map +1 -1
  366. package/dist/production/core/MarkerComparator.js.map +1 -1
  367. package/dist/production/core/MarkerMerger.js.map +1 -1
  368. package/dist/production/core/MarkerTreeGenerator.js.map +1 -1
  369. package/dist/production/core/MutationGenerator.js.map +1 -1
  370. package/dist/production/core/QueryGenerator.js.map +1 -1
  371. package/dist/production/core/RealmKeyGenerator.js.map +1 -1
  372. package/dist/production/core/RequestResponseNormalizer.js.map +1 -1
  373. package/dist/production/core/StateInitializer.js +1 -3
  374. package/dist/production/core/StateInitializer.js.map +1 -1
  375. package/dist/production/core/TreeAugmenter.js.map +1 -1
  376. package/dist/production/core/TreeFilterGenerator.js.map +1 -1
  377. package/dist/production/core/TreeParameterMerger.js.map +1 -1
  378. package/dist/production/core/TreeStore.js.map +1 -1
  379. package/dist/production/core/VariableInputTransformer.js.map +1 -1
  380. package/dist/production/core/exceptions/ErrorLocator.js.map +1 -1
  381. package/dist/production/core/exceptions/LocalizedBindingError.js.map +1 -1
  382. package/dist/production/core/exceptions/MarkerSugarer.js.map +1 -1
  383. package/dist/production/core/exceptions/TreeParameterSugarer.js.map +1 -1
  384. package/dist/production/core/factories/createBatchUpdatesOptions.js.map +1 -1
  385. package/dist/production/core/operations/EntityOperations.js.map +1 -1
  386. package/dist/production/core/operations/FieldOperations.js.map +1 -1
  387. package/dist/production/core/operations/ListOperations.js.map +1 -1
  388. package/dist/production/core/operations/OperationsHelpers.js.map +1 -1
  389. package/dist/production/core/requestAliases/MutationAlias.js.map +1 -1
  390. package/dist/production/core/requestAliases/mutationOperationSubTreeType.js.map +1 -1
  391. package/dist/production/core/requestAliases/mutationOperationType.js.map +1 -1
  392. package/dist/production/core/schema/Schema.js.map +1 -1
  393. package/dist/production/core/schema/SchemaLoader.js.map +1 -1
  394. package/dist/production/core/schema/SchemaPreprocessor.js.map +1 -1
  395. package/dist/production/core/state/StateIterator.js.map +1 -1
  396. package/dist/production/core/state/getEntityMarker.js.map +1 -1
  397. package/dist/production/core/utils/getCombinedSignal.js.map +1 -1
  398. package/dist/production/coreComponents/Component.js.map +1 -1
  399. package/dist/production/coreComponents/DataBindingProvider.js.map +1 -1
  400. package/dist/production/coreComponents/Entity.js.map +1 -1
  401. package/dist/production/coreComponents/EntityList.js.map +1 -1
  402. package/dist/production/coreComponents/EntityListSubTree.js.map +1 -1
  403. package/dist/production/coreComponents/EntitySubTree.js.map +1 -1
  404. package/dist/production/coreComponents/Field.js.map +1 -1
  405. package/dist/production/coreComponents/HasMany.js.map +1 -1
  406. package/dist/production/coreComponents/HasOne.js.map +1 -1
  407. package/dist/production/coreComponents/ParentEntity.js.map +1 -1
  408. package/dist/production/dao/Environment.js.map +1 -1
  409. package/dist/production/dao/VariableFieldValue.js.map +1 -1
  410. package/dist/production/entityEvents/useDerivedField.js.map +1 -1
  411. package/dist/production/entityEvents/useEntityBeforePersist.js.map +1 -1
  412. package/dist/production/entityEvents/useEntityBeforeUpdate.js.map +1 -1
  413. package/dist/production/entityEvents/useEntityEvent.js.map +1 -1
  414. package/dist/production/entityEvents/useEntityPersistError.js.map +1 -1
  415. package/dist/production/entityEvents/useEntityPersistSuccess.js.map +1 -1
  416. package/dist/production/entityEvents/useOnConnectionUpdate.js.map +1 -1
  417. package/dist/production/fieldHelpers/helpers/FieldHelper.js.map +1 -1
  418. package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.js.map +1 -1
  419. package/dist/production/fieldHelpers/helpers/UuidFieldHelper.js.map +1 -1
  420. package/dist/production/helperComponents/DeferredSubTrees.js.map +1 -1
  421. package/dist/production/helperComponents/EntityView.js.map +1 -1
  422. package/dist/production/helperComponents/FieldView.js.map +1 -1
  423. package/dist/production/helperComponents/StaticRender.js.map +1 -1
  424. package/dist/production/helperComponents/SugaredField.js.map +1 -1
  425. package/dist/production/index.js +1 -1
  426. package/dist/production/markers/EntityFieldMarkersContainer.js.map +1 -1
  427. package/dist/production/markers/EntityFieldsWithHoistablesMarker.js.map +1 -1
  428. package/dist/production/markers/EntityListSubTreeMarker.js.map +1 -1
  429. package/dist/production/markers/EntitySubTreeMarker.js.map +1 -1
  430. package/dist/production/markers/FieldMarker.js.map +1 -1
  431. package/dist/production/markers/HasManyRelationMarker.js.map +1 -1
  432. package/dist/production/markers/HasOneRelationMarker.js.map +1 -1
  433. package/dist/production/markers/MarkerTreeRoot.js.map +1 -1
  434. package/dist/production/markers/ParentEntityMarker.js.map +1 -1
  435. package/dist/production/markers/PlaceholderGenerator.js.map +1 -1
  436. package/dist/production/queryLanguage/CacheStore.js.map +1 -1
  437. package/dist/production/queryLanguage/MarkerFactory.js.map +1 -1
  438. package/dist/production/queryLanguage/Parser.js +9 -1
  439. package/dist/production/queryLanguage/Parser.js.map +1 -1
  440. package/dist/production/queryLanguage/QueryLanguage.js.map +1 -1
  441. package/dist/production/queryLanguage/QueryLanguageError.js.map +1 -1
  442. package/dist/production/queryLanguage/tokenList.js +5 -0
  443. package/dist/production/queryLanguage/tokenList.js.map +1 -1
  444. package/dist/production/structures/BijectiveIndexedMap.js.map +1 -1
  445. package/dist/production/structures/LRUCache.js.map +1 -1
  446. package/dist/production/structures/WeakIdCache.js.map +1 -1
  447. package/dist/production/treeParameterHelpers/wrapFilterInHasOnes.js.map +1 -1
  448. package/dist/production/treeParameters/EntityCreationParameters.js.map +1 -1
  449. package/dist/production/treeParameters/EntityListPreferences.js.map +1 -1
  450. package/dist/production/treeParameters/EventListenersStore.js.map +1 -1
  451. package/dist/production/treeParameters/LeafField.js.map +1 -1
  452. package/dist/production/treeParameters/QualifiedEntityParameters.js.map +1 -1
  453. package/dist/production/treeParameters/Relation.js.map +1 -1
  454. package/dist/production/utils/Hashing.js.map +1 -1
  455. package/dist/production/utils/assert.js.map +1 -1
  456. package/dist/production/utils/assertNever.js +1 -1
  457. package/dist/production/utils/assertNever.js.map +1 -1
  458. package/dist/production/utils/generateEnumerabilityPreventingEntropy.js.map +1 -1
  459. package/dist/production/utils/isEmptyObject.js.map +1 -1
  460. package/dist/production/utils/ucfirst.js.map +1 -1
  461. package/dist/types/accessorTree/MutationRequestResponse.d.ts +4 -0
  462. package/dist/types/accessorTree/MutationRequestResponse.d.ts.map +1 -1
  463. package/dist/types/accessorTree/QueryRequestResponse.d.ts +4 -0
  464. package/dist/types/accessorTree/QueryRequestResponse.d.ts.map +1 -1
  465. package/dist/types/accessorTree/RequestError.d.ts +9 -1
  466. package/dist/types/accessorTree/RequestError.d.ts.map +1 -1
  467. package/dist/types/core/DataBinding.d.ts +1 -0
  468. package/dist/types/core/DataBinding.d.ts.map +1 -1
  469. package/dist/types/core/StateInitializer.d.ts.map +1 -1
  470. package/dist/types/queryLanguage/Parser.d.ts +1 -0
  471. package/dist/types/queryLanguage/Parser.d.ts.map +1 -1
  472. package/dist/types/queryLanguage/tokenList.d.ts +1 -0
  473. package/dist/types/queryLanguage/tokenList.d.ts.map +1 -1
  474. package/dist/types/tsconfig.tsbuildinfo +1 -1
  475. package/package.json +9 -9
  476. package/src/accessorTree/MutationRequestResponse.ts +1 -0
  477. package/src/accessorTree/QueryRequestResponse.ts +1 -0
  478. package/src/accessorTree/RequestError.ts +7 -1
  479. package/src/core/DataBinding.ts +22 -2
  480. package/src/core/StateInitializer.ts +1 -3
  481. package/src/queryLanguage/Parser.ts +12 -1
  482. package/src/queryLanguage/tokenList.ts +6 -0
  483. package/src/tsconfig.json +1 -1
  484. package/src/utils/assertNever.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tokenList.js","sources":["../../../src/queryLanguage/tokenList.ts"],"sourcesContent":["import { createToken, Lexer } from 'chevrotain'\n\nexport namespace TokenRegExps {\n\texport const entityIdentifier = /[A-Z_]\\w*/\n\texport const identifier = /[a-zA-Z_]\\w*/\n}\n\nconst identifier = createToken({\n\tname: 'Identifier',\n\tpattern: TokenRegExps.identifier,\n})\n\nexport const tokens = {\n\tWhiteSpace: createToken({\n\t\tname: 'WhiteSpace',\n\t\tpattern: /\\s+/,\n\t\tgroup: Lexer.SKIPPED,\n\t}),\n\n\tEntityIdentifier: createToken({\n\t\tname: 'EntityIdentifier',\n\t\tpattern: TokenRegExps.entityIdentifier,\n\t}),\n\n\tIdentifier: identifier,\n\n\tDollarSign: createToken({\n\t\tname: 'DollarSign',\n\t\tpattern: /\\$/,\n\t}),\n\n\tDot: createToken({\n\t\tname: 'Dot',\n\t\tpattern: /\\./,\n\t}),\n\n\tComma: createToken({\n\t\tname: 'Comma',\n\t\tpattern: /,/,\n\t}),\n\n\tColon: createToken({\n\t\tname: 'Colon',\n\t\tpattern: /:/,\n\t}),\n\n\tNumberLiteral: createToken({\n\t\tname: 'NumberLiteral',\n\t\tpattern: /-?(0|[1-9]\\d*)(\\.\\d+)?([eE][+-]?\\d+)?/,\n\t}),\n\n\tStringLiteral: createToken({\n\t\tname: 'StringLiteral',\n\t\tpattern: /'(:?[^\\\\']|\\\\(:?[bfnrtv'\\\\/]|u[0-9a-fA-F]{4}))*'/,\n\t}),\n\n\tLeftParenthesis: createToken({\n\t\tname: 'LeftParenthesis',\n\t\tpattern: /\\(/,\n\t}),\n\n\tRightParenthesis: createToken({\n\t\tname: 'RightParenthesis',\n\t\tpattern: /\\)/,\n\t}),\n\n\tLeftBracket: createToken({\n\t\tname: 'LeftBracket',\n\t\tpattern: /\\[/,\n\t}),\n\n\tRightBracket: createToken({\n\t\tname: 'RightBracket',\n\t\tpattern: /]/,\n\t}),\n\n\tNotEquals: createToken({\n\t\tname: 'NotEquals',\n\t\tpattern: /!=/,\n\t}),\n\n\tTrue: createToken({\n\t\tname: 'True',\n\t\tpattern: /true/,\n\t\tlonger_alt: identifier,\n\t}),\n\n\tFalse: createToken({\n\t\tname: 'False',\n\t\tpattern: /false/,\n\t\tlonger_alt: identifier,\n\t}),\n\n\tNull: createToken({\n\t\tname: 'Null',\n\t\tpattern: /null/,\n\t\tlonger_alt: identifier,\n\t}),\n\n\tEquals: createToken({\n\t\tname: 'Equals',\n\t\tpattern: /=/,\n\t}),\n\n\tNot: createToken({\n\t\tname: 'Not',\n\t\tpattern: /!/,\n\t}),\n\n\tAnd: createToken({\n\t\tname: 'And',\n\t\tpattern: /&&/,\n\t}),\n\n\tOr: createToken({\n\t\tname: 'Or',\n\t\tpattern: /\\|\\|/,\n\t}),\n\n\tLowerEqual: createToken({\n\t\tname: 'LowerEqual',\n\t\tpattern: /<=/,\n\t}),\n\n\tGreaterEqual: createToken({\n\t\tname: 'GreaterEqual',\n\t\tpattern: />=/,\n\t}),\n\n\tLowerThan: createToken({\n\t\tname: 'LowerThan',\n\t\tpattern: /</,\n\t}),\n\n\tGreaterThan: createToken({\n\t\tname: 'GreaterThan',\n\t\tpattern: />/,\n\t}),\n}\n\nconst tokenList = [\n\ttokens.WhiteSpace,\n\ttokens.True,\n\ttokens.False,\n\ttokens.Null,\n\ttokens.EntityIdentifier,\n\ttokens.Identifier,\n\ttokens.DollarSign,\n\ttokens.Dot,\n\ttokens.Comma,\n\ttokens.Colon,\n\ttokens.StringLiteral,\n\ttokens.NumberLiteral,\n\ttokens.LeftParenthesis,\n\ttokens.RightParenthesis,\n\ttokens.LeftBracket,\n\ttokens.RightBracket,\n\ttokens.NotEquals,\n\ttokens.Equals,\n\ttokens.Not,\n\ttokens.GreaterEqual,\n\ttokens.GreaterThan,\n\ttokens.LowerEqual,\n\ttokens.LowerThan,\n\ttokens.And,\n\ttokens.Or,\n]\n\nexport { tokenList }\n"],"names":[],"mappings":";IAEiB;AAAV,EAAU,kBAAV;AACO,mCAAmB;AACnB,6BAAa;AAAA,GAFV;AAKjB,MAAM,aAAa,YAAY;AAAA,EAC9B,MAAM;AAAA,EACN,SAAS,aAAa;AAAA;MAGV,SAAS;AAAA,EACrB,YAAY,YAAY;AAAA,IACvB,MAAM;AAAA,IACN,SAAS;AAAA,IACT,OAAO,MAAM;AAAA;AAAA,EAGd,kBAAkB,YAAY;AAAA,IAC7B,MAAM;AAAA,IACN,SAAS,aAAa;AAAA;AAAA,EAGvB,YAAY;AAAA,EAEZ,YAAY,YAAY;AAAA,IACvB,MAAM;AAAA,IACN,SAAS;AAAA;AAAA,EAGV,KAAK,YAAY;AAAA,IAChB,MAAM;AAAA,IACN,SAAS;AAAA;AAAA,EAGV,OAAO,YAAY;AAAA,IAClB,MAAM;AAAA,IACN,SAAS;AAAA;AAAA,EAGV,OAAO,YAAY;AAAA,IAClB,MAAM;AAAA,IACN,SAAS;AAAA;AAAA,EAGV,eAAe,YAAY;AAAA,IAC1B,MAAM;AAAA,IACN,SAAS;AAAA;AAAA,EAGV,eAAe,YAAY;AAAA,IAC1B,MAAM;AAAA,IACN,SAAS;AAAA;AAAA,EAGV,iBAAiB,YAAY;AAAA,IAC5B,MAAM;AAAA,IACN,SAAS;AAAA;AAAA,EAGV,kBAAkB,YAAY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ACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA;;"}
1
+ {"version":3,"file":"tokenList.js","sources":["../../../src/queryLanguage/tokenList.ts"],"sourcesContent":["import { createToken, Lexer } from 'chevrotain'\n\nexport namespace TokenRegExps {\n\texport const entityIdentifier = /[A-Z_]\\w*/\n\texport const identifier = /[a-zA-Z_]\\w*/\n}\n\nconst identifier = createToken({\n\tname: 'Identifier',\n\tpattern: TokenRegExps.identifier,\n})\n\nexport const tokens = {\n\tWhiteSpace: createToken({\n\t\tname: 'WhiteSpace',\n\t\tpattern: /\\s+/,\n\t\tgroup: Lexer.SKIPPED,\n\t}),\n\n\tEntityIdentifier: createToken({\n\t\tname: 'EntityIdentifier',\n\t\tpattern: TokenRegExps.entityIdentifier,\n\t}),\n\n\tIdentifier: identifier,\n\n\tDollarSign: createToken({\n\t\tname: 'DollarSign',\n\t\tpattern: /\\$/,\n\t}),\n\n\tDot: createToken({\n\t\tname: 'Dot',\n\t\tpattern: /\\./,\n\t}),\n\n\tComma: createToken({\n\t\tname: 'Comma',\n\t\tpattern: /,/,\n\t}),\n\n\tColon: createToken({\n\t\tname: 'Colon',\n\t\tpattern: /:/,\n\t}),\n\n\tSlash: createToken({\n\t\tname: 'Slash',\n\t\tpattern: /\\//,\n\t}),\n\n\tNumberLiteral: createToken({\n\t\tname: 'NumberLiteral',\n\t\tpattern: /-?(0|[1-9]\\d*)(\\.\\d+)?([eE][+-]?\\d+)?/,\n\t}),\n\n\tStringLiteral: createToken({\n\t\tname: 'StringLiteral',\n\t\tpattern: /'(:?[^\\\\']|\\\\(:?[bfnrtv'\\\\/]|u[0-9a-fA-F]{4}))*'/,\n\t}),\n\n\tLeftParenthesis: createToken({\n\t\tname: 'LeftParenthesis',\n\t\tpattern: /\\(/,\n\t}),\n\n\tRightParenthesis: createToken({\n\t\tname: 'RightParenthesis',\n\t\tpattern: /\\)/,\n\t}),\n\n\tLeftBracket: createToken({\n\t\tname: 'LeftBracket',\n\t\tpattern: /\\[/,\n\t}),\n\n\tRightBracket: createToken({\n\t\tname: 'RightBracket',\n\t\tpattern: /]/,\n\t}),\n\n\tNotEquals: createToken({\n\t\tname: 'NotEquals',\n\t\tpattern: /!=/,\n\t}),\n\n\tTrue: createToken({\n\t\tname: 'True',\n\t\tpattern: /true/,\n\t\tlonger_alt: identifier,\n\t}),\n\n\tFalse: createToken({\n\t\tname: 'False',\n\t\tpattern: /false/,\n\t\tlonger_alt: identifier,\n\t}),\n\n\tNull: createToken({\n\t\tname: 'Null',\n\t\tpattern: /null/,\n\t\tlonger_alt: identifier,\n\t}),\n\n\tEquals: createToken({\n\t\tname: 'Equals',\n\t\tpattern: /=/,\n\t}),\n\n\tNot: createToken({\n\t\tname: 'Not',\n\t\tpattern: /!/,\n\t}),\n\n\tAnd: createToken({\n\t\tname: 'And',\n\t\tpattern: /&&/,\n\t}),\n\n\tOr: createToken({\n\t\tname: 'Or',\n\t\tpattern: /\\|\\|/,\n\t}),\n\n\tLowerEqual: createToken({\n\t\tname: 'LowerEqual',\n\t\tpattern: /<=/,\n\t}),\n\n\tGreaterEqual: createToken({\n\t\tname: 'GreaterEqual',\n\t\tpattern: />=/,\n\t}),\n\n\tLowerThan: createToken({\n\t\tname: 'LowerThan',\n\t\tpattern: /</,\n\t}),\n\n\tGreaterThan: createToken({\n\t\tname: 'GreaterThan',\n\t\tpattern: />/,\n\t}),\n}\n\nconst tokenList = [\n\ttokens.WhiteSpace,\n\ttokens.True,\n\ttokens.False,\n\ttokens.Null,\n\ttokens.EntityIdentifier,\n\ttokens.Identifier,\n\ttokens.DollarSign,\n\ttokens.Dot,\n\ttokens.Comma,\n\ttokens.Colon,\n\ttokens.Slash,\n\ttokens.StringLiteral,\n\ttokens.NumberLiteral,\n\ttokens.LeftParenthesis,\n\ttokens.RightParenthesis,\n\ttokens.LeftBracket,\n\ttokens.RightBracket,\n\ttokens.NotEquals,\n\ttokens.Equals,\n\ttokens.Not,\n\ttokens.GreaterEqual,\n\ttokens.GreaterThan,\n\ttokens.LowerEqual,\n\ttokens.LowerThan,\n\ttokens.And,\n\ttokens.Or,\n]\n\nexport { tokenList }\n"],"names":[],"mappings":";AAEiB,IAAA;AAAV,AAAA,EAAU,kBAAV;AACO,gBAAmB,mBAAA;AACnB,gBAAa,aAAA;AAAA,GAFV,gBAAA,gBAAA,CAAA,EAAA;AAKjB,MAAM,aAAa,YAAY;AAAA,EAC9B,MAAM;AAAA,EACN,SAAS,aAAa;AACvB,CAAC;AAEM,MAAM,SAAS;AAAA,EACrB,YAAY,YAAY;AAAA,IACvB,MAAM;AAAA,IACN,SAAS;AAAA,IACT,OAAO,MAAM;AAAA,EAAA,CACb;AAAA,EAED,kBAAkB,YAAY;AAAA,IAC7B,MAAM;AAAA,IACN,SAAS,aAAa;AAAA,EAAA,CACtB;AAAA,EAED,YAAY;AAAA,EAEZ,YAAY,YAAY;AAAA,IACvB,MAAM;AAAA,IACN,SAAS;AAAA,EAAA,CACT;AAAA,EAED,KAAK,YAAY;AAAA,IAChB,MAAM;AAAA,IACN,SAAS;AAAA,EAAA,CACT;AAAA,EAED,OAAO,YAAY;AAAA,IAClB,MAAM;AAAA,IACN,SAAS;AAAA,EAAA,CACT;AAAA,EAED,OAAO,YAAY;AAAA,IAClB,MAAM;AAAA,IACN,SAAS;AAAA,EAAA,CACT;AAAA,EAED,OAAO,YAAY;AAAA,IAClB,MAAM;AAAA,IACN,SAAS;AAAA,EAAA,CACT;AAAA,EAED,eAAe,YAAY;AAAA,IAC1B,MAAM;AAAA,IACN,SAAS;AAAA,EAAA,CACT;AAAA,EAED,eAAe,YAAY;AAAA,IAC1B,MAAM;AAAA,IACN,SAAS;AAAA,EAAA,CACT;AAAA,EAED,iBAAiB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CACT;AACF;AAEA,MAAM,YAAY;AAAA,EACjB,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACR;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"BijectiveIndexedMap.js","sources":["../../../src/structures/BijectiveIndexedMap.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\n// Bijective as in we need to supply the inverse and also guarantee that the values are unique.\n// Provided this invariant, this should behave more or less like a regular map except it has a somewhat special\n// iteration order. Unlike a regular map, which just honors insertion order, this also provides a special method\n// changeKey. With this, we can change the key under which a value (that is already on the map) is accessible.\n// With an ordinary map, that operation would require us to delete the original [K1, V] pair and insert\n// a new one [K2, V]. That would however change the order of iteration. This main purpose of this data structure is\n// the ability to avoid that and enable the value V to preserve its original place.\nexport class BijectiveIndexedMap<K, V> implements Map<K, V> {\n\tprivate readonly valueStore: Map<number, V>\n\tprivate readonly index: Map<K, number>\n\tprivate indexSeed: number\n\n\tprivate readonly inverse: (value: V) => K\n\n\tpublic readonly [Symbol.toStringTag] = 'BijectiveIndexedMap'\n\n\tpublic constructor(originalMap: BijectiveIndexedMap<K, V>)\n\tpublic constructor(inverse: (value: V) => K)\n\tpublic constructor(inverseOrMap: BijectiveIndexedMap<K, V> | ((value: V) => K)) {\n\t\tif (inverseOrMap instanceof BijectiveIndexedMap) {\n\t\t\tthis.valueStore = new Map(inverseOrMap.valueStore)\n\t\t\tthis.index = new Map(inverseOrMap.index)\n\t\t\tthis.indexSeed = inverseOrMap.indexSeed\n\t\t\tthis.inverse = inverseOrMap.inverse\n\t\t} else {\n\t\t\tthis.valueStore = new Map()\n\t\t\tthis.index = new Map()\n\t\t\tthis.indexSeed = 0\n\t\t\tthis.inverse = inverseOrMap\n\t\t}\n\t}\n\n\tprivate getNewIndex() {\n\t\treturn this.indexSeed++\n\t}\n\n\tpublic get size(): number {\n\t\treturn this.valueStore.size\n\t}\n\n\tpublic clear(): void {\n\t\tthis.valueStore.clear()\n\t\tthis.index.clear()\n\t}\n\tpublic delete(key: K): boolean {\n\t\tconst index = this.index.get(key)\n\n\t\tif (index === undefined) {\n\t\t\treturn false\n\t\t}\n\t\tthis.valueStore.delete(index)\n\t\tthis.index.delete(key)\n\t\treturn true\n\t}\n\tpublic forEach(callback: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void {\n\t\tfor (const [key, value] of this.entries()) {\n\t\t\tcallback.call(thisArg, value, key, this)\n\t\t}\n\t}\n\n\tpublic get(key: K): V | undefined {\n\t\tconst index = this.index.get(key)\n\n\t\tif (index === undefined) {\n\t\t\treturn undefined\n\t\t}\n\t\treturn this.valueStore.get(index)\n\t}\n\tpublic has(key: K): boolean {\n\t\treturn this.index.has(key)\n\t}\n\tpublic set(key: K, value: V): this {\n\t\tconst existingIndex = this.index.get(key)\n\n\t\tif (existingIndex === undefined) {\n\t\t\tconst newIndex = this.getNewIndex()\n\t\t\tthis.index.set(key, newIndex)\n\t\t\tthis.valueStore.set(newIndex, value)\n\t\t} else {\n\t\t\tthis.valueStore.set(existingIndex, value)\n\t\t}\n\t\treturn this\n\t}\n\n\t// This doesn't use the inverse in order to avoid confusion.\n\t// See the description above.\n\tpublic changeKey(oldKey: K, newKey: K): this {\n\t\tconst index = this.index.get(oldKey)\n\t\tif (index === undefined) {\n\t\t\tthrow new BindingError()\n\t\t}\n\t\tthis.index.delete(oldKey)\n\t\tthis.index.set(newKey, index)\n\t\treturn this\n\t}\n\n\tpublic changeKeyOrder(newOrder: Iterable<K>) {\n\t\tfor (const key of newOrder) {\n\t\t\tconst keyIndex = this.index.get(key)\n\t\t\tif (keyIndex === undefined) {\n\t\t\t\tthrow new BindingError()\n\t\t\t}\n\t\t\tconst value = this.valueStore.get(keyIndex)!\n\n\t\t\t// This effectively removes value from wherever it was and puts it at the end.\n\t\t\t// Provided newOrder.size is the same as valueStore, by the end of this loop\n\t\t\t// the values will be in the correct order.\n\t\t\tthis.valueStore.delete(keyIndex)\n\t\t\tthis.valueStore.set(keyIndex, value)\n\t\t}\n\t}\n\n\tpublic *[Symbol.iterator](): IterableIterator<[K, V]> {\n\t\tyield* this.entries()\n\t}\n\n\tpublic *entries(): IterableIterator<[K, V]> {\n\t\tfor (const value of this.values()) {\n\t\t\tyield [this.inverse(value), value]\n\t\t}\n\t}\n\n\tpublic *keys(): IterableIterator<K> {\n\t\tfor (const value of this.values()) {\n\t\t\tyield this.inverse(value)\n\t\t}\n\t}\n\n\tpublic *values(): IterableIterator<V> {\n\t\tfor (const value of this.valueStore.values()) {\n\t\t\tif (value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tyield value\n\t\t}\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;0BAS4D;AAAA,EAWpD,YAAY,cAA6D;AAV/D;AACA;AACT;AAES;AAEA,4BAAsB;QAKlC,wBAAwB,qBAAqB;WAC3C,aAAa,IAAI,IAAI,aAAa;WAClC,QAAQ,IAAI,IAAI,aAAa;WAC7B,YAAY,aAAa;WACzB,UAAU,aAAa;AAAA,WACtB;WACD,iCAAiB;WACjB,4BAAY;WACZ,YAAY;WACZ,UAAU;AAAA;AAAA;AAAA,EAIT,cAAc;WACd,KAAK;AAAA;AAAA,MAGF,OAAe;WAClB,KAAK,WAAW;AAAA;AAAA,EAGjB,QAAc;SACf,WAAW;SACX,MAAM;AAAA;AAAA,EAEL,OAAO,KAAiB;UACxB,QAAQ,KAAK,MAAM,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;AAAA;AAAA;AAAA;;"}
1
+ {"version":3,"file":"BijectiveIndexedMap.js","sources":["../../../src/structures/BijectiveIndexedMap.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\n// Bijective as in we need to supply the inverse and also guarantee that the values are unique.\n// Provided this invariant, this should behave more or less like a regular map except it has a somewhat special\n// iteration order. Unlike a regular map, which just honors insertion order, this also provides a special method\n// changeKey. With this, we can change the key under which a value (that is already on the map) is accessible.\n// With an ordinary map, that operation would require us to delete the original [K1, V] pair and insert\n// a new one [K2, V]. That would however change the order of iteration. This main purpose of this data structure is\n// the ability to avoid that and enable the value V to preserve its original place.\nexport class BijectiveIndexedMap<K, V> implements Map<K, V> {\n\tprivate readonly valueStore: Map<number, V>\n\tprivate readonly index: Map<K, number>\n\tprivate indexSeed: number\n\n\tprivate readonly inverse: (value: V) => K\n\n\tpublic readonly [Symbol.toStringTag] = 'BijectiveIndexedMap'\n\n\tpublic constructor(originalMap: BijectiveIndexedMap<K, V>)\n\tpublic constructor(inverse: (value: V) => K)\n\tpublic constructor(inverseOrMap: BijectiveIndexedMap<K, V> | ((value: V) => K)) {\n\t\tif (inverseOrMap instanceof BijectiveIndexedMap) {\n\t\t\tthis.valueStore = new Map(inverseOrMap.valueStore)\n\t\t\tthis.index = new Map(inverseOrMap.index)\n\t\t\tthis.indexSeed = inverseOrMap.indexSeed\n\t\t\tthis.inverse = inverseOrMap.inverse\n\t\t} else {\n\t\t\tthis.valueStore = new Map()\n\t\t\tthis.index = new Map()\n\t\t\tthis.indexSeed = 0\n\t\t\tthis.inverse = inverseOrMap\n\t\t}\n\t}\n\n\tprivate getNewIndex() {\n\t\treturn this.indexSeed++\n\t}\n\n\tpublic get size(): number {\n\t\treturn this.valueStore.size\n\t}\n\n\tpublic clear(): void {\n\t\tthis.valueStore.clear()\n\t\tthis.index.clear()\n\t}\n\tpublic delete(key: K): boolean {\n\t\tconst index = this.index.get(key)\n\n\t\tif (index === undefined) {\n\t\t\treturn false\n\t\t}\n\t\tthis.valueStore.delete(index)\n\t\tthis.index.delete(key)\n\t\treturn true\n\t}\n\tpublic forEach(callback: (value: V, key: K, map: Map<K, V>) => void, thisArg?: any): void {\n\t\tfor (const [key, value] of this.entries()) {\n\t\t\tcallback.call(thisArg, value, key, this)\n\t\t}\n\t}\n\n\tpublic get(key: K): V | undefined {\n\t\tconst index = this.index.get(key)\n\n\t\tif (index === undefined) {\n\t\t\treturn undefined\n\t\t}\n\t\treturn this.valueStore.get(index)\n\t}\n\tpublic has(key: K): boolean {\n\t\treturn this.index.has(key)\n\t}\n\tpublic set(key: K, value: V): this {\n\t\tconst existingIndex = this.index.get(key)\n\n\t\tif (existingIndex === undefined) {\n\t\t\tconst newIndex = this.getNewIndex()\n\t\t\tthis.index.set(key, newIndex)\n\t\t\tthis.valueStore.set(newIndex, value)\n\t\t} else {\n\t\t\tthis.valueStore.set(existingIndex, value)\n\t\t}\n\t\treturn this\n\t}\n\n\t// This doesn't use the inverse in order to avoid confusion.\n\t// See the description above.\n\tpublic changeKey(oldKey: K, newKey: K): this {\n\t\tconst index = this.index.get(oldKey)\n\t\tif (index === undefined) {\n\t\t\tthrow new BindingError()\n\t\t}\n\t\tthis.index.delete(oldKey)\n\t\tthis.index.set(newKey, index)\n\t\treturn this\n\t}\n\n\tpublic changeKeyOrder(newOrder: Iterable<K>) {\n\t\tfor (const key of newOrder) {\n\t\t\tconst keyIndex = this.index.get(key)\n\t\t\tif (keyIndex === undefined) {\n\t\t\t\tthrow new BindingError()\n\t\t\t}\n\t\t\tconst value = this.valueStore.get(keyIndex)!\n\n\t\t\t// This effectively removes value from wherever it was and puts it at the end.\n\t\t\t// Provided newOrder.size is the same as valueStore, by the end of this loop\n\t\t\t// the values will be in the correct order.\n\t\t\tthis.valueStore.delete(keyIndex)\n\t\t\tthis.valueStore.set(keyIndex, value)\n\t\t}\n\t}\n\n\tpublic *[Symbol.iterator](): IterableIterator<[K, V]> {\n\t\tyield* this.entries()\n\t}\n\n\tpublic *entries(): IterableIterator<[K, V]> {\n\t\tfor (const value of this.values()) {\n\t\t\tyield [this.inverse(value), value]\n\t\t}\n\t}\n\n\tpublic *keys(): IterableIterator<K> {\n\t\tfor (const value of this.values()) {\n\t\t\tyield this.inverse(value)\n\t\t}\n\t}\n\n\tpublic *values(): IterableIterator<V> {\n\t\tfor (const value of this.valueStore.values()) {\n\t\t\tif (value === undefined) {\n\t\t\t\tcontinue\n\t\t\t}\n\t\t\tyield value\n\t\t}\n\t}\n}\n"],"names":[],"mappings":";;;;;;;;AASO,MAAM,oBAA+C;AAAA,EAWpD,YAAY,cAA6D;AAV/D;AACA;AACT;AAES;AAEA,4BAAsB;AAKtC,QAAI,wBAAwB,qBAAqB;AAChD,WAAK,aAAa,IAAI,IAAI,aAAa,UAAU;AACjD,WAAK,QAAQ,IAAI,IAAI,aAAa,KAAK;AACvC,WAAK,YAAY,aAAa;AAC9B,WAAK,UAAU,aAAa;AAAA,IAAA,OACtB;AACD,WAAA,iCAAiB;AACjB,WAAA,4BAAY;AACjB,WAAK,YAAY;AACjB,WAAK,UAAU;AAAA,IAChB;AAAA,EACD;AAAA,EAEQ,cAAc;AACrB,WAAO,KAAK;AAAA,EACb;AAAA,MAEW,OAAe;AACzB,WAAO,KAAK,WAAW;AAAA,EACxB;AAAA,EAEO,QAAc;AACpB,SAAK,WAAW;AAChB,SAAK,MAAM;EACZ;AAAA,EACO,OAAO,KAAiB;AAC9B,UAAM,QAAQ,KAAK,MAAM,IAAI,GAAG;AAEhC,QAAI,UAAU,QAAW;AACjB,aAAA;AAAA,IACR;AACK,SAAA,WAAW,OAAO,KAAK;AACvB,SAAA,MAAM,OAAO,GAAG;AACd,WAAA;AAAA,EACR;AAAA,EACO,QAAQ,UAAsD,SAAqB;AACzF,eAAW,CAAC,KAAK,UAAU,KAAK,WAAW;AAC1C,eAAS,KAAK,SAAS,OAAO,KAAK,IAAI;AAAA,IACxC;AAAA,EACD;AAAA,EAEO,IAAI,KAAuB;AACjC,UAAM,QAAQ,KA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AAC5B,YAAA,KAAK,QAAQ,KAAK;AAAA,IACzB;AAAA,EACD;AAAA,GAEQ,SAA8B;AACrC,eAAW,SAAS,KAAK,WAAW,OAAA,GAAU;AAC7C,UAAI,UAAU,QAAW;AACxB;AAAA,MACD;AACM,YAAA;AAAA,IACP;AAAA,EACD;AACD;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"LRUCache.js","sources":["../../../src/structures/LRUCache.ts"],"sourcesContent":["// This is heavily inspired by https://stackoverflow.com/a/46432113\nexport class LRUCache<Key, Value> {\n\tprivate readonly cache = new Map<Key, Value>()\n\n\tpublic constructor(private readonly maxSize: number) {}\n\n\tpublic get(key: Key): Value | undefined {\n\t\tconst value = this.cache.get(key)\n\n\t\tif (value !== undefined) {\n\t\t\tthis.cache.delete(key)\n\t\t\tthis.cache.set(key, value)\n\t\t}\n\t\treturn value\n\t}\n\n\tpublic set(key: Key, value: Value) {\n\t\tif (this.cache.has(key)) {\n\t\t\tthis.cache.delete(key) // Refresh this key\n\t\t} else if (this.cache.size === this.maxSize) {\n\t\t\tthis.cache.delete(this.getOldestKey()) // Evict the oldest value\n\t\t}\n\t\tthis.cache.set(key, value)\n\t}\n\n\tprivate getOldestKey(): Key {\n\t\treturn this.cache.keys().next().value\n\t}\n}\n"],"names":[],"mappings":";;;;;;eACkC;AAAA,EAG1B,YAA6B,SAAiB;AAFpC,qDAAY;;;EAItB,IAAI,KAA6B;UACjC,QAAQ,KAAK,MAAM,IAAI;QAEzB,UAAU,QAAW;WACnB,MAAM,OAAO;WACb,MAAM,IAAI,KAAK;AAAA;WAEd;AAAA;AAAA,EAGD,IAAI,KAAU,OAAc;QAC9B,KAAK,MAAM,IAAI,MAAM;WACnB,MAAM,OAAO;AAAA,eACR,KAAK,MAAM,SAAS,KAAK,SAAS;WACvC,MAAM,OAAO,KAAK;AAAA;SAEnB,MAAM,IAAI,KAAK;AAAA;AAAA,EAGb,eAAoB;WACpB,KAAK,MAAM,OAAO,OAAO;AAAA;AAAA;;"}
1
+ {"version":3,"file":"LRUCache.js","sources":["../../../src/structures/LRUCache.ts"],"sourcesContent":["// This is heavily inspired by https://stackoverflow.com/a/46432113\nexport class LRUCache<Key, Value> {\n\tprivate readonly cache = new Map<Key, Value>()\n\n\tpublic constructor(private readonly maxSize: number) {}\n\n\tpublic get(key: Key): Value | undefined {\n\t\tconst value = this.cache.get(key)\n\n\t\tif (value !== undefined) {\n\t\t\tthis.cache.delete(key)\n\t\t\tthis.cache.set(key, value)\n\t\t}\n\t\treturn value\n\t}\n\n\tpublic set(key: Key, value: Value) {\n\t\tif (this.cache.has(key)) {\n\t\t\tthis.cache.delete(key) // Refresh this key\n\t\t} else if (this.cache.size === this.maxSize) {\n\t\t\tthis.cache.delete(this.getOldestKey()) // Evict the oldest value\n\t\t}\n\t\tthis.cache.set(key, value)\n\t}\n\n\tprivate getOldestKey(): Key {\n\t\treturn this.cache.keys().next().value\n\t}\n}\n"],"names":[],"mappings":";;;;;;AACO,MAAM,SAAqB;AAAA,EAG1B,YAA6B,SAAiB;AAFpC,qDAAY;AAEO,SAAA,UAAA;AAAA,EAAkB;AAAA,EAE/C,IAAI,KAA6B;AACvC,UAAM,QAAQ,KAAK,MAAM,IAAI,GAAG;AAEhC,QAAI,UAAU,QAAW;AACnB,WAAA,MAAM,OAAO,GAAG;AAChB,WAAA,MAAM,IAAI,KAAK,KAAK;AAAA,IAC1B;AACO,WAAA;AAAA,EACR;AAAA,EAEO,IAAI,KAAU,OAAc;AAClC,QAAI,KAAK,MAAM,IAAI,GAAG,GAAG;AACnB,WAAA,MAAM,OAAO,GAAG;AAAA,IACX,WAAA,KAAK,MAAM,SAAS,KAAK,SAAS;AAC5C,WAAK,MAAM,OAAO,KAAK,aAAc,CAAA;AAAA,IACtC;AACK,SAAA,MAAM,IAAI,KAAK,KAAK;AAAA,EAC1B;AAAA,EAEQ,eAAoB;AAC3B,WAAO,KAAK,MAAM,KAAK,EAAE,OAAO;AAAA,EACjC;AACD;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"WeakIdCache.js","sources":["../../../src/structures/WeakIdCache.ts"],"sourcesContent":["export class WeakIdCache<K extends object> {\n\tprivate readonly cache = new WeakMap<K, string>()\n\tprivate seed = 0\n\tprivate readonly rootId = this.seedToId(this.seed++)\n\n\tpublic getId(key: K): string {\n\t\tlet existing = this.cache.get(key)\n\n\t\tif (existing === undefined) {\n\t\t\tthis.cache.set(key, (existing = this.seedToId(this.seed++)))\n\t\t}\n\t\treturn existing\n\t}\n\n\tpublic getOptionalKeyId(key: K | undefined): string {\n\t\tif (key === undefined) {\n\t\t\treturn this.rootId\n\t\t}\n\t\treturn this.getId(key)\n\t}\n\n\tprivate seedToId(seed: number): string {\n\t\treturn seed.toFixed(0)\n\t}\n}\n"],"names":[],"mappings":";;;;;;kBAA2C;AAAA;AACzB,qDAAY;AACrB,gCAAO;AACE,kCAAS,KAAK,SAAS,KAAK;AAAA;AAAA,EAEtC,MAAM,KAAgB;QACxB,WAAW,KAAK,MAAM,IAAI;QAE1B,aAAa,QAAW;WACtB,MAAM,IAAI,KAAM,WAAW,KAAK,SAAS,KAAK;AAAA;WAE7C;AAAA;AAAA,EAGD,iBAAiB,KAA4B;QAC/C,QAAQ,QAAW;aACf,KAAK;AAAA;WAEN,KAAK,MAAM;AAAA;AAAA,EAGX,SAAS,MAAsB;WAC/B,KAAK,QAAQ;AAAA;AAAA;;"}
1
+ {"version":3,"file":"WeakIdCache.js","sources":["../../../src/structures/WeakIdCache.ts"],"sourcesContent":["export class WeakIdCache<K extends object> {\n\tprivate readonly cache = new WeakMap<K, string>()\n\tprivate seed = 0\n\tprivate readonly rootId = this.seedToId(this.seed++)\n\n\tpublic getId(key: K): string {\n\t\tlet existing = this.cache.get(key)\n\n\t\tif (existing === undefined) {\n\t\t\tthis.cache.set(key, (existing = this.seedToId(this.seed++)))\n\t\t}\n\t\treturn existing\n\t}\n\n\tpublic getOptionalKeyId(key: K | undefined): string {\n\t\tif (key === undefined) {\n\t\t\treturn this.rootId\n\t\t}\n\t\treturn this.getId(key)\n\t}\n\n\tprivate seedToId(seed: number): string {\n\t\treturn seed.toFixed(0)\n\t}\n}\n"],"names":[],"mappings":";;;;;;AAAO,MAAM,YAA8B;AAAA,EAApC;AACW,qDAAY;AACrB,gCAAO;AACE,kCAAS,KAAK,SAAS,KAAK,MAAM;AAAA;AAAA,EAE5C,MAAM,KAAgB;AAC5B,QAAI,WAAW,KAAK,MAAM,IAAI,GAAG;AAEjC,QAAI,aAAa,QAAW;AACtB,WAAA,MAAM,IAAI,KAAM,WAAW,KAAK,SAAS,KAAK,MAAM,CAAE;AAAA,IAC5D;AACO,WAAA;AAAA,EACR;AAAA,EAEO,iBAAiB,KAA4B;AACnD,QAAI,QAAQ,QAAW;AACtB,aAAO,KAAK;AAAA,IACb;AACO,WAAA,KAAK,MAAM,GAAG;AAAA,EACtB;AAAA,EAEQ,SAAS,MAAsB;AAC/B,WAAA,KAAK,QAAQ,CAAC;AAAA,EACtB;AACD;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"wrapFilterInHasOnes.js","sources":["../../../src/treeParameterHelpers/wrapFilterInHasOnes.ts"],"sourcesContent":["import { whereToFilter } from '@contember/client'\nimport type { Filter, HasOneRelation } from '../treeParameters'\n\nexport const wrapFilterInHasOnes = (path: HasOneRelation[], filter: Filter): Filter => {\n\tfor (let i = path.length - 1; i >= 0; i--) {\n\t\tconst current = path[i]\n\n\t\tif (current.reducedBy === undefined) {\n\t\t\tfilter = {\n\t\t\t\t[current.field]: filter,\n\t\t\t}\n\t\t} else {\n\t\t\tfilter = {\n\t\t\t\t[current.field]: {\n\t\t\t\t\tand: [filter, whereToFilter(current.reducedBy)],\n\t\t\t\t},\n\t\t\t}\n\t\t}\n\t}\n\treturn filter\n}\n"],"names":[],"mappings":";MAGa,sBAAsB,CAAC,MAAwB,WAA2B;WAC7E,IAAI,KAAK,SAAS,GAAG,KAAK,GAAG,KAAK;UACpC,UAAU,KAAK;QAEjB,QAAQ,cAAc,QAAW;eAC3B;AAAA,SACP,QAAQ,QAAQ;AAAA;AAAA,WAEZ;eACG;AAAA,SACP,QAAQ,QAAQ;AAAA,UAChB,KAAK,CAAC,QAAQ,cAAc,QAAQ;AAAA;AAAA;AAAA;AAAA;SAKjC;AAAA;;"}
1
+ {"version":3,"file":"wrapFilterInHasOnes.js","sources":["../../../src/treeParameterHelpers/wrapFilterInHasOnes.ts"],"sourcesContent":["import { whereToFilter } from '@contember/client'\nimport type { Filter, HasOneRelation } from '../treeParameters'\n\nexport const wrapFilterInHasOnes = (path: HasOneRelation[], filter: Filter): Filter => {\n\tfor (let i = path.length - 1; i >= 0; i--) {\n\t\tconst current = path[i]\n\n\t\tif (current.reducedBy === undefined) {\n\t\t\tfilter = {\n\t\t\t\t[current.field]: filter,\n\t\t\t}\n\t\t} else {\n\t\t\tfilter = {\n\t\t\t\t[current.field]: {\n\t\t\t\t\tand: [filter, whereToFilter(current.reducedBy)],\n\t\t\t\t},\n\t\t\t}\n\t\t}\n\t}\n\treturn filter\n}\n"],"names":[],"mappings":";AAGa,MAAA,sBAAsB,CAAC,MAAwB,WAA2B;AACtF,WAAS,IAAI,KAAK,SAAS,GAAG,KAAK,GAAG,KAAK;AAC1C,UAAM,UAAU,KAAK;AAEjB,QAAA,QAAQ,cAAc,QAAW;AAC3B,eAAA;AAAA,SACP,QAAQ,QAAQ;AAAA,MAAA;AAAA,IAClB,OACM;AACG,eAAA;AAAA,SACP,QAAQ,QAAQ;AAAA,UAChB,KAAK,CAAC,QAAQ,cAAc,QAAQ,SAAS,CAAC;AAAA,QAC/C;AAAA,MAAA;AAAA,IAEF;AAAA,EACD;AACO,SAAA;AACR;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"EntityCreationParameters.js","sources":["../../../src/treeParameters/EntityCreationParameters.ts"],"sourcesContent":["import type { SetOnCreate, SugaredSetOnCreate } from './SetOnCreate'\n\nexport const EntityCreationParametersDefaults = {\n\t// forceCreation: false,\n\tisNonbearing: false,\n} as const\n\n\n/*\nIt can be somewhat tricky to understand how these parameters actually work. These are all only relevant when *creating\na new entity*, NOT during updates.\n\nFirst, it is determined if any *bearing* field/relation has anything to be persisted. This occurs:\n- For fields if the resolved value (taking defaultValue into account) is not null\n- For relations if its children have anything to persist (TODO or if forceCreation is true.)\n\nIf at least one of the bearing fields/relations have anything to persist or in the rare case when all fields/relations\nare nonbearing, the nonbearing fields/relations are also processed using the same method as described for bearing\nfields/relations.\n\nLastly, setOnCreate comes to play. It doesn't influence whether the entity will be persisted or not but if after\nall of the above it is concluded that it will, the values from it are used.\n */\nexport interface EntityCreationParameters {\n\t// forceCreation: boolean\n\tisNonbearing: boolean\n\tsetOnCreate: SetOnCreate\n}\n\nexport interface UnsugarableEntityCreationParameters {\n\t// forceCreation?: boolean\n\tisNonbearing?: boolean\n\tsetOnCreate?: SugaredSetOnCreate\n}\n"],"names":[],"mappings":"MAEa,mCAAmC;AAAA,EAE/C,cAAc;AAAA;;"}
1
+ {"version":3,"file":"EntityCreationParameters.js","sources":["../../../src/treeParameters/EntityCreationParameters.ts"],"sourcesContent":["import type { SetOnCreate, SugaredSetOnCreate } from './SetOnCreate'\n\nexport const EntityCreationParametersDefaults = {\n\t// forceCreation: false,\n\tisNonbearing: false,\n} as const\n\n\n/*\nIt can be somewhat tricky to understand how these parameters actually work. These are all only relevant when *creating\na new entity*, NOT during updates.\n\nFirst, it is determined if any *bearing* field/relation has anything to be persisted. This occurs:\n- For fields if the resolved value (taking defaultValue into account) is not null\n- For relations if its children have anything to persist (TODO or if forceCreation is true.)\n\nIf at least one of the bearing fields/relations have anything to persist or in the rare case when all fields/relations\nare nonbearing, the nonbearing fields/relations are also processed using the same method as described for bearing\nfields/relations.\n\nLastly, setOnCreate comes to play. It doesn't influence whether the entity will be persisted or not but if after\nall of the above it is concluded that it will, the values from it are used.\n */\nexport interface EntityCreationParameters {\n\t// forceCreation: boolean\n\tisNonbearing: boolean\n\tsetOnCreate: SetOnCreate\n}\n\nexport interface UnsugarableEntityCreationParameters {\n\t// forceCreation?: boolean\n\tisNonbearing?: boolean\n\tsetOnCreate?: SugaredSetOnCreate\n}\n"],"names":[],"mappings":"AAEO,MAAM,mCAAmC;AAAA,EAE/C,cAAc;AACf;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"EntityListPreferences.js","sources":["../../../src/treeParameters/EntityListPreferences.ts"],"sourcesContent":["export const EntityListPreferencesDefaults: EntityListPreferences = {\n\tinitialEntityCount: 0,\n}\n\nexport interface EntityListPreferences {\n\tinitialEntityCount: number\n}\n\nexport interface UnsugarableEntityListPreferences {\n\tinitialEntityCount?: number\n}\n"],"names":[],"mappings":"MAAa,gCAAuD;AAAA,EACnE,oBAAoB;AAAA;;"}
1
+ {"version":3,"file":"EntityListPreferences.js","sources":["../../../src/treeParameters/EntityListPreferences.ts"],"sourcesContent":["export const EntityListPreferencesDefaults: EntityListPreferences = {\n\tinitialEntityCount: 0,\n}\n\nexport interface EntityListPreferences {\n\tinitialEntityCount: number\n}\n\nexport interface UnsugarableEntityListPreferences {\n\tinitialEntityCount?: number\n}\n"],"names":[],"mappings":"AAAO,MAAM,gCAAuD;AAAA,EACnE,oBAAoB;AACrB;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"EventListenersStore.js","sources":["../../../src/treeParameters/EventListenersStore.ts"],"sourcesContent":["type GenericEventsMap<EventTypes extends string> = {\n\t[K in EventTypes]?: (...args: any[]) => void | Promise<void | any>\n}\n\nexport class EventListenersStore<EventTypes extends string, Events extends GenericEventsMap<EventTypes>> {\n\n\tconstructor(\n\t\tprivate readonly parentStoreGetter?: () => EventListenersStore<EventTypes, Events> | undefined,\n\t\tprivate listeners: Map<string, Set<Events[any]>> = new Map(),\n\t) {}\n\n\tset<Type extends EventTypes>(event: { type: Type; key?: string }, listeners: Set<Events[Type]>): void {\n\t\tthis.listeners.set(this.formatMapEntryKey(event), listeners)\n\t}\n\n\tdelete<Type extends EventTypes>(event: { type: Type; key?: string }) {\n\t\tthis.listeners.delete(this.formatMapEntryKey(event))\n\t}\n\n\tdeleteByType<Type extends EventTypes>(type: Type) {\n\t\tconst prefix = this.formatMapEntryKey({ type, key: '' })\n\t\tfor (const eventType of this.listeners.keys()) {\n\t\t\tif (eventType.startsWith(prefix)) {\n\t\t\t\tthis.listeners.delete(eventType)\n\t\t\t}\n\t\t}\n\t}\n\n\tget<Type extends EventTypes>(event: { type: Type; key?: string }): Set<Events[Type]> | undefined {\n\t\tconst ownListeners = this.listeners.get(this.formatMapEntryKey(event))\n\t\tconst parentListeners = this.parentStoreGetter?.()?.get(event)\n\t\tif (!parentListeners) {\n\t\t\treturn ownListeners\n\t\t} else if (!ownListeners) {\n\t\t\treturn parentListeners\n\t\t}\n\t\treturn new Set([...ownListeners, ...parentListeners])\n\t}\n\n\tadd<Type extends EventTypes>(event: { type: Type; key?: string }, handler: Events[Type]): () => void {\n\t\tconst key = this.formatMapEntryKey(event)\n\t\tlet eventListeners = this.addInternal(key, handler)\n\t\treturn () => eventListeners?.delete(handler)\n\t}\n\n\tcloneDeep(): EventListenersStore<EventTypes, Events> {\n\t\tconst store: EventListenersStore<EventTypes, Events> = new EventListenersStore()\n\t\tfor (const [key, value] of this.listeners.entries()) {\n\t\t\tstore.listeners.set(key, new Set(value))\n\t\t}\n\t\treturn store\n\t}\n\n\tclone(): EventListenersStore<EventTypes, Events> {\n\t\tconst store: EventListenersStore<EventTypes, Events> = new EventListenersStore()\n\t\tstore.listeners = new Map(this.listeners)\n\t\treturn store\n\t}\n\n\tappend(other: EventListenersStore<EventTypes, Events>) {\n\t\tfor (const [eventKey, otherListeners] of other.listeners) {\n\t\t\tfor (const listener of otherListeners) {\n\t\t\t\tthis.addInternal(eventKey, listener)\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate formatMapEntryKey(event: { type: string; key?: string }): string {\n\t\treturn event.key ? `${event.type}_${event.key ?? ''}` : event.type\n\t}\n\n\tprivate addInternal<Type extends keyof Events>(key: string, handler: Events[Type]) {\n\t\tlet eventListeners = this.listeners.get(key)\n\t\tif (!eventListeners) {\n\t\t\teventListeners = new Set()\n\t\t\tthis.listeners.set(key, eventListeners)\n\t\t}\n\t\teventListeners.add(handler)\n\t\treturn eventListeners\n\t}\n}\n"],"names":[],"mappings":"0BAIyG;AAAA,EAExG,YACkB,mBACT,gCAA+C,OACtD;;;;EAEF,IAA6B,OAAqC,WAAoC;SAChG,UAAU,IAAI,KAAK,kBAAkB,QAAQ;AAAA;AAAA,EAGnD,OAAgC,OAAqC;SAC/D,UAAU,OAAO,KAAK,kBAAkB;AAAA;AAAA,EAG9C,aAAsC,MAAY;UAC3C,SAAS,KAAK,kBAAkB,EAAE,MAAM,KAAK;eACxC,aAAa,KAAK,UAAU,QAAQ;UAC1C,UAAU,WAAW,SAAS;aAC5B,UAAU,OAAO;AAAA;AAAA;AAAA;AAAA,EAKzB,IAA6B,OAAoE;UAC1F,eAAe,KAAK,UAAU,IAAI,KAAK,kBAAkB;UACzD,kBAAkB,KAAK,uBAAuB,IAAI;QACpD,CAAC,iBAAiB;aACd;AAAA,eACG,CAAC,cAAc;aAClB;AAAA;+BAEG,IAAI,CAAC,GAAG,cAAc,GAAG;AAAA;AAAA,EAGrC,IAA6B,OAAqC,SAAmC;UAC9F,MAAM,KAAK,kBAAkB;QAC/B,iBAAiB,KAAK,YAAY,KAAK;WACpC,MAAM,gBAAgB,OAAO;AAAA;AAAA,EAGrC,YAAqD;UAC9C,QAAiD,IAAI;eAChD,CAAC,KAAK,UAAU,KAAK,UAAU,WAAW;YAC9C,UAAU,IAAI,KAAK,IAAI,IAAI;AAAA;WAE3B;AAAA;AAAA,EAGR,QAAiD;UAC1C,QAAiD,IAAI;UACrD,YAAY,IAAI,IAAI,KAAK;WACxB;AAAA;AAAA,EAGR,OAAO,OAAgD;eAC3C,CAAC,UAAU,mBAAmB,MAAM,WAAW;iBAC9C,YAAY,gBAAgB;aACjC,YAAY,UAAU;AAAA;AAAA;AAAA;AAAA,EAKtB,kBAAkB,OAA+C;WACjE,MAAM,MAAM,GAAG,MAAM,QAAQ,MAAM,OAAO,OAAO,MAAM;AAAA;AAAA,EAGvD,YAAuC,KAAa,SAAuB;QAC9E,iBAAiB,KAAK,UAAU,IAAI;QACpC,CAAC,gBAAgB;2CACC;WAChB,UAAU,IAAI,KAAK;AAAA;mBAEV,IAAI;WACZ;AAAA;AAAA;;"}
1
+ {"version":3,"file":"EventListenersStore.js","sources":["../../../src/treeParameters/EventListenersStore.ts"],"sourcesContent":["type GenericEventsMap<EventTypes extends string> = {\n\t[K in EventTypes]?: (...args: any[]) => void | Promise<void | any>\n}\n\nexport class EventListenersStore<EventTypes extends string, Events extends GenericEventsMap<EventTypes>> {\n\n\tconstructor(\n\t\tprivate readonly parentStoreGetter?: () => EventListenersStore<EventTypes, Events> | undefined,\n\t\tprivate listeners: Map<string, Set<Events[any]>> = new Map(),\n\t) {}\n\n\tset<Type extends EventTypes>(event: { type: Type; key?: string }, listeners: Set<Events[Type]>): void {\n\t\tthis.listeners.set(this.formatMapEntryKey(event), listeners)\n\t}\n\n\tdelete<Type extends EventTypes>(event: { type: Type; key?: string }) {\n\t\tthis.listeners.delete(this.formatMapEntryKey(event))\n\t}\n\n\tdeleteByType<Type extends EventTypes>(type: Type) {\n\t\tconst prefix = this.formatMapEntryKey({ type, key: '' })\n\t\tfor (const eventType of this.listeners.keys()) {\n\t\t\tif (eventType.startsWith(prefix)) {\n\t\t\t\tthis.listeners.delete(eventType)\n\t\t\t}\n\t\t}\n\t}\n\n\tget<Type extends EventTypes>(event: { type: Type; key?: string }): Set<Events[Type]> | undefined {\n\t\tconst ownListeners = this.listeners.get(this.formatMapEntryKey(event))\n\t\tconst parentListeners = this.parentStoreGetter?.()?.get(event)\n\t\tif (!parentListeners) {\n\t\t\treturn ownListeners\n\t\t} else if (!ownListeners) {\n\t\t\treturn parentListeners\n\t\t}\n\t\treturn new Set([...ownListeners, ...parentListeners])\n\t}\n\n\tadd<Type extends EventTypes>(event: { type: Type; key?: string }, handler: Events[Type]): () => void {\n\t\tconst key = this.formatMapEntryKey(event)\n\t\tlet eventListeners = this.addInternal(key, handler)\n\t\treturn () => eventListeners?.delete(handler)\n\t}\n\n\tcloneDeep(): EventListenersStore<EventTypes, Events> {\n\t\tconst store: EventListenersStore<EventTypes, Events> = new EventListenersStore()\n\t\tfor (const [key, value] of this.listeners.entries()) {\n\t\t\tstore.listeners.set(key, new Set(value))\n\t\t}\n\t\treturn store\n\t}\n\n\tclone(): EventListenersStore<EventTypes, Events> {\n\t\tconst store: EventListenersStore<EventTypes, Events> = new EventListenersStore()\n\t\tstore.listeners = new Map(this.listeners)\n\t\treturn store\n\t}\n\n\tappend(other: EventListenersStore<EventTypes, Events>) {\n\t\tfor (const [eventKey, otherListeners] of other.listeners) {\n\t\t\tfor (const listener of otherListeners) {\n\t\t\t\tthis.addInternal(eventKey, listener)\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate formatMapEntryKey(event: { type: string; key?: string }): string {\n\t\treturn event.key ? `${event.type}_${event.key ?? ''}` : event.type\n\t}\n\n\tprivate addInternal<Type extends keyof Events>(key: string, handler: Events[Type]) {\n\t\tlet eventListeners = this.listeners.get(key)\n\t\tif (!eventListeners) {\n\t\t\teventListeners = new Set()\n\t\t\tthis.listeners.set(key, eventListeners)\n\t\t}\n\t\teventListeners.add(handler)\n\t\treturn eventListeners\n\t}\n}\n"],"names":[],"mappings":"AAIO,MAAM,oBAA4F;AAAA,EAExG,YACkB,mBACT,YAA2C,oBAAI,OACtD;AAFgB,SAAA,oBAAA;AACT,SAAA,YAAA;AAAA,EACN;AAAA,EAEH,IAA6B,OAAqC,WAAoC;AACrG,SAAK,UAAU,IAAI,KAAK,kBAAkB,KAAK,GAAG,SAAS;AAAA,EAC5D;AAAA,EAEA,OAAgC,OAAqC;AACpE,SAAK,UAAU,OAAO,KAAK,kBAAkB,KAAK,CAAC;AAAA,EACpD;AAAA,EAEA,aAAsC,MAAY;AACjD,UAAM,SAAS,KAAK,kBAAkB,EAAE,MAAM,KAAK,IAAI;AACvD,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AK,UAAU,IAAI,GAAG;AAC3C,QAAI,CAAC,gBAAgB;AACpB,2CAAqB;AAChB,WAAA,UAAU,IAAI,KAAK,cAAc;AAAA,IACvC;AACA,mBAAe,IAAI,OAAO;AACnB,WAAA;AAAA,EACR;AACD;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"LeafField.js","sources":["../../../src/treeParameters/LeafField.ts"],"sourcesContent":["import type { FieldEventListeners, UnsugarableFieldEventListeners } from './FieldEventListeners'\nimport type { FieldValue, OptionallyVariableFieldValue } from './primitives'\n\n// These are specific to leaf fields. Common but required parameters are in AnyField.\n\nexport const LeafFieldDefaults = {\n\tisNonbearing: false,\n} as const\n\nexport interface LeafField extends FieldEventListeners {\n\tisNonbearing: boolean\n\tdefaultValue: FieldValue | undefined\n}\n\nexport interface UnsugarableLeafField extends UnsugarableFieldEventListeners {\n\tisNonbearing?: boolean\n\tdefaultValue?: OptionallyVariableFieldValue\n}\n"],"names":[],"mappings":"MAKa,oBAAoB;AAAA,EAChC,cAAc;AAAA;;"}
1
+ {"version":3,"file":"LeafField.js","sources":["../../../src/treeParameters/LeafField.ts"],"sourcesContent":["import type { FieldEventListeners, UnsugarableFieldEventListeners } from './FieldEventListeners'\nimport type { FieldValue, OptionallyVariableFieldValue } from './primitives'\n\n// These are specific to leaf fields. Common but required parameters are in AnyField.\n\nexport const LeafFieldDefaults = {\n\tisNonbearing: false,\n} as const\n\nexport interface LeafField extends FieldEventListeners {\n\tisNonbearing: boolean\n\tdefaultValue: FieldValue | undefined\n}\n\nexport interface UnsugarableLeafField extends UnsugarableFieldEventListeners {\n\tisNonbearing?: boolean\n\tdefaultValue?: OptionallyVariableFieldValue\n}\n"],"names":[],"mappings":"AAKO,MAAM,oBAAoB;AAAA,EAChC,cAAc;AACf;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"QualifiedEntityParameters.js","sources":["../../../src/treeParameters/QualifiedEntityParameters.ts"],"sourcesContent":["import type { Alias, EntityName, ExpectedQualifiedEntityMutation } from './primitives'\n\nexport const QualifiedEntityParametersDefaults = {\n\texpectedMutation: 'anyMutation',\n} as const\n\nexport interface QualifiedEntityParameters {\n\talias: Set<Alias> | undefined\n\tentityName: EntityName\n\texpectedMutation: ExpectedQualifiedEntityMutation\n}\n\nexport interface SugarableQualifiedEntityParameters {\n\tentityName: EntityName\n}\n\nexport interface UnsugarableQualifiedEntityParameters {\n\talias?: Alias | Set<Alias>\n\texpectedMutation?: ExpectedQualifiedEntityMutation\n}\n"],"names":[],"mappings":"MAEa,oCAAoC;AAAA,EAChD,kBAAkB;AAAA;;"}
1
+ {"version":3,"file":"QualifiedEntityParameters.js","sources":["../../../src/treeParameters/QualifiedEntityParameters.ts"],"sourcesContent":["import type { Alias, EntityName, ExpectedQualifiedEntityMutation } from './primitives'\n\nexport const QualifiedEntityParametersDefaults = {\n\texpectedMutation: 'anyMutation',\n} as const\n\nexport interface QualifiedEntityParameters {\n\talias: Set<Alias> | undefined\n\tentityName: EntityName\n\texpectedMutation: ExpectedQualifiedEntityMutation\n}\n\nexport interface SugarableQualifiedEntityParameters {\n\tentityName: EntityName\n}\n\nexport interface UnsugarableQualifiedEntityParameters {\n\talias?: Alias | Set<Alias>\n\texpectedMutation?: ExpectedQualifiedEntityMutation\n}\n"],"names":[],"mappings":"AAEO,MAAM,oCAAoC;AAAA,EAChD,kBAAkB;AACnB;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Relation.js","sources":["../../../src/treeParameters/Relation.ts"],"sourcesContent":["import type { AnyField, SugarableAnyField } from './AnyField'\nimport type { EntityCreationParameters, UnsugarableEntityCreationParameters } from './EntityCreationParameters'\nimport type { ExpectedRelationMutation } from './primitives'\n\nexport const RelationDefaults = {\n\texpectedMutation: 'anyMutation',\n} as const\n\nexport interface Relation extends AnyField, EntityCreationParameters {\n\texpectedMutation: ExpectedRelationMutation\n}\n\nexport interface SugarableRelation extends SugarableAnyField {}\n\nexport interface UnsugarableRelation extends UnsugarableEntityCreationParameters {\n\texpectedMutation?: ExpectedRelationMutation\n}\n"],"names":[],"mappings":"MAIa,mBAAmB;AAAA,EAC/B,kBAAkB;AAAA;;"}
1
+ {"version":3,"file":"Relation.js","sources":["../../../src/treeParameters/Relation.ts"],"sourcesContent":["import type { AnyField, SugarableAnyField } from './AnyField'\nimport type { EntityCreationParameters, UnsugarableEntityCreationParameters } from './EntityCreationParameters'\nimport type { ExpectedRelationMutation } from './primitives'\n\nexport const RelationDefaults = {\n\texpectedMutation: 'anyMutation',\n} as const\n\nexport interface Relation extends AnyField, EntityCreationParameters {\n\texpectedMutation: ExpectedRelationMutation\n}\n\nexport interface SugarableRelation extends SugarableAnyField {}\n\nexport interface UnsugarableRelation extends UnsugarableEntityCreationParameters {\n\texpectedMutation?: ExpectedRelationMutation\n}\n"],"names":[],"mappings":"AAIO,MAAM,mBAAmB;AAAA,EAC/B,kBAAkB;AACnB;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Hashing.js","sources":["../../../src/utils/Hashing.ts"],"sourcesContent":["import type {\n\tFilter,\n\tHasManyRelation,\n\tHasOneRelation,\n\tOrderBy,\n\tQualifiedEntityList,\n\tQualifiedSingleEntity,\n\tUnconstrainedQualifiedEntityList,\n\tUnconstrainedQualifiedSingleEntity,\n\tUniqueWhere,\n} from '../treeParameters'\n\n// TODO update hashing so that for offset, 0 == undefined\nexport class Hashing {\n\tpublic static hashHasOneRelation(relation: HasOneRelation): number {\n\t\tconst where: Array<Filter | UniqueWhere | string | undefined> = [\n\t\t\t'upToOne',\n\t\t\trelation.field,\n\t\t\trelation.filter,\n\t\t\trelation.reducedBy,\n\t\t]\n\n\t\treturn Hashing.hashArray(where)\n\t}\n\n\tpublic static hashHasManyRelation(relation: HasManyRelation): number {\n\t\tconst where: Array<Filter | UniqueWhere | OrderBy | string | number | undefined> = [\n\t\t\t'possiblyMany',\n\t\t\trelation.field,\n\t\t\trelation.filter,\n\t\t\t'offset' in relation ? relation.offset : undefined,\n\t\t\t'limit' in relation ? relation.limit : undefined,\n\t\t\t'orderBy' in relation ? relation.orderBy : undefined,\n\t\t]\n\n\t\treturn Hashing.hashArray(where)\n\t}\n\n\tpublic static hashEntityListSubTreeParameters(\n\t\tparameters: QualifiedEntityList | UnconstrainedQualifiedEntityList,\n\t): number {\n\t\tif (parameters.isCreating) {\n\t\t\treturn Hashing.hashArray([parameters.isCreating, parameters.entityName])\n\t\t}\n\t\treturn Hashing.hashArray([\n\t\t\tparameters.isCreating,\n\t\t\tparameters.entityName,\n\t\t\tparameters.filter,\n\t\t\tparameters.orderBy,\n\t\t\tparameters.offset,\n\t\t\tparameters.limit,\n\t\t])\n\t}\n\n\tpublic static hashEntitySubTreeParameters(\n\t\tparameters: QualifiedSingleEntity | UnconstrainedQualifiedSingleEntity,\n\t): number {\n\t\tif (parameters.isCreating) {\n\t\t\treturn Hashing.hashArray([parameters.isCreating, parameters.entityName])\n\t\t}\n\t\treturn Hashing.hashArray([parameters.isCreating, parameters.where, parameters.entityName, parameters.filter])\n\t}\n\n\tprivate static hashArray(array: any[]): number {\n\t\tconst json = array.map(item => JSON.stringify(item)).join('_')\n\t\treturn Hashing.hash(json)\n\t}\n\n\t// Taken from Java\n\tpublic static hash(str: string): number {\n\t\tlet hash = 0\n\t\tif (str.length === 0) {\n\t\t\treturn hash\n\t\t}\n\t\tfor (let i = 0; i < str.length; i++) {\n\t\t\thash = (hash << 5) - hash + str.charCodeAt(i)\n\t\t\thash = hash & hash // Convert to 32bit integer\n\t\t}\n\t\treturn Math.abs(hash)\n\t}\n}\n"],"names":[],"mappings":"cAaqB;AAAA,SACN,mBAAmB,UAAkC;UAC5D,QAA0D;AAAA,MAC/D;AAAA,MACA,SAAS;AAAA,MACT,SAAS;AAAA,MACT,SAAS;AAAA;WAGH,QAAQ,UAAU;AAAA;AAAA,SAGZ,oBAAoB,UAAmC;UAC9D,QAA6E;AAAA,MAClF;AAAA,MACA,SAAS;AAAA,MACT,SAAS;AAAA,MACT,YAAY,WAAW,SAAS,SAAS;AAAA,MACzC,WAAW,WAAW,SAAS,QAAQ;AAAA,MACvC,aAAa,WAAW,SAAS,UAAU;AAAA;WAGrC,QAAQ,UAAU;AAAA;AAAA,SAGZ,gCACb,YACS;QACL,WAAW,YAAY;aACnB,QAAQ,UAAU,CAAC,WAAW,YAAY,WAAW;AAAA;WAEtD,QAAQ,UAAU;AAAA,MACxB,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA,MACX,WAAW;AAAA;AAAA;AAAA,SAIC,4BACb,YACS;QACL,WAAW,YAAY;aACnB,QAAQ,UAAU,CAAC,WAAW,YAAY,WAAW;AAAA;WAEtD,QAAQ,UAAU,CAAC,WAAW,YAAY,WAAW,OAAO,WAAW,YAAY,WAAW;AAAA;AAAA,SAGvF,UAAU,OAAsB;UACxC,OAAO,MAAM,IAAI,UAAQ,KAAK,UAAU,OAAO,KAAK;WACnD,QAAQ,KAAK;AAAA;AAAA,SAIP,KAAK,KAAqB;QACnC,OAAO;QACP,IAAI,WAAW,GAAG;aACd;AAAA;aAEC,IAAI,GAAG,IAAI,IAAI,QAAQ,KAAK;sBACpB,KAAK,OAAO,IAAI,WAAW;aACpC,OAAO;AAAA;WAER,KAAK,IAAI;AAAA;AAAA;;"}
1
+ {"version":3,"file":"Hashing.js","sources":["../../../src/utils/Hashing.ts"],"sourcesContent":["import type {\n\tFilter,\n\tHasManyRelation,\n\tHasOneRelation,\n\tOrderBy,\n\tQualifiedEntityList,\n\tQualifiedSingleEntity,\n\tUnconstrainedQualifiedEntityList,\n\tUnconstrainedQualifiedSingleEntity,\n\tUniqueWhere,\n} from '../treeParameters'\n\n// TODO update hashing so that for offset, 0 == undefined\nexport class Hashing {\n\tpublic static hashHasOneRelation(relation: HasOneRelation): number {\n\t\tconst where: Array<Filter | UniqueWhere | string | undefined> = [\n\t\t\t'upToOne',\n\t\t\trelation.field,\n\t\t\trelation.filter,\n\t\t\trelation.reducedBy,\n\t\t]\n\n\t\treturn Hashing.hashArray(where)\n\t}\n\n\tpublic static hashHasManyRelation(relation: HasManyRelation): number {\n\t\tconst where: Array<Filter | UniqueWhere | OrderBy | string | number | undefined> = [\n\t\t\t'possiblyMany',\n\t\t\trelation.field,\n\t\t\trelation.filter,\n\t\t\t'offset' in relation ? relation.offset : undefined,\n\t\t\t'limit' in relation ? relation.limit : undefined,\n\t\t\t'orderBy' in relation ? relation.orderBy : undefined,\n\t\t]\n\n\t\treturn Hashing.hashArray(where)\n\t}\n\n\tpublic static hashEntityListSubTreeParameters(\n\t\tparameters: QualifiedEntityList | UnconstrainedQualifiedEntityList,\n\t): number {\n\t\tif (parameters.isCreating) {\n\t\t\treturn Hashing.hashArray([parameters.isCreating, parameters.entityName])\n\t\t}\n\t\treturn Hashing.hashArray([\n\t\t\tparameters.isCreating,\n\t\t\tparameters.entityName,\n\t\t\tparameters.filter,\n\t\t\tparameters.orderBy,\n\t\t\tparameters.offset,\n\t\t\tparameters.limit,\n\t\t])\n\t}\n\n\tpublic static hashEntitySubTreeParameters(\n\t\tparameters: QualifiedSingleEntity | UnconstrainedQualifiedSingleEntity,\n\t): number {\n\t\tif (parameters.isCreating) {\n\t\t\treturn Hashing.hashArray([parameters.isCreating, parameters.entityName])\n\t\t}\n\t\treturn Hashing.hashArray([parameters.isCreating, parameters.where, parameters.entityName, parameters.filter])\n\t}\n\n\tprivate static hashArray(array: any[]): number {\n\t\tconst json = array.map(item => JSON.stringify(item)).join('_')\n\t\treturn Hashing.hash(json)\n\t}\n\n\t// Taken from Java\n\tpublic static hash(str: string): number {\n\t\tlet hash = 0\n\t\tif (str.length === 0) {\n\t\t\treturn hash\n\t\t}\n\t\tfor (let i = 0; i < str.length; i++) {\n\t\t\thash = (hash << 5) - hash + str.charCodeAt(i)\n\t\t\thash = hash & hash // Convert to 32bit integer\n\t\t}\n\t\treturn Math.abs(hash)\n\t}\n}\n"],"names":[],"mappings":"AAaO,MAAM,QAAQ;AAAA,SACN,mBAAmB,UAAkC;AAClE,UAAM,QA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O,OAAO;AAAA,IACf;AACO,WAAA,KAAK,IAAI,IAAI;AAAA,EACrB;AACD;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"assert.js","sources":["../../../src/utils/assert.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\nexport function assert(arg: boolean, message?: string): asserts arg {\n\tif (!arg) {\n\t\tthrow new BindingError(`Assertion fail!${message ? `\\n${message}` : ''}`)\n\t}\n}\n"],"names":[],"mappings":";gBAEuB,KAAc,SAA+B;MAC/D,CAAC,KAAK;UACH,IAAI,aAAa,kBAAkB,UAAU;AAAA,EAAK,YAAY;AAAA;AAAA;;"}
1
+ {"version":3,"file":"assert.js","sources":["../../../src/utils/assert.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\nexport function assert(arg: boolean, message?: string): asserts arg {\n\tif (!arg) {\n\t\tthrow new BindingError(`Assertion fail!${message ? `\\n${message}` : ''}`)\n\t}\n}\n"],"names":[],"mappings":";AAEO,gBAAgB,KAAc,SAA+B;AACnE,MAAI,CAAC,KAAK;AACH,UAAA,IAAI,aAAa,kBAAkB,UAAU;AAAA,EAAK,YAAY,IAAI;AAAA,EACzE;AACD;;"}
@@ -1,6 +1,6 @@
1
1
  import { BindingError } from "../BindingError.js";
2
2
  function assertNever(_) {
3
- throw new BindingError(`FATAL ERROR. This should absolutely never have happened. Yet, despite all efforts, here we are.Please find solace in having a good laugh about the whole situation. You have just witnessed true harshness of software development. Please report this bug.`);
3
+ throw new BindingError(`FATAL ERROR. This should absolutely never have happened. Yet, despite all efforts, here we are. Please find solace in having a good laugh about the whole situation. You have just witnessed true harshness of software development. Please report this bug.`);
4
4
  }
5
5
  export { assertNever };
6
6
  //# sourceMappingURL=assertNever.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"assertNever.js","sources":["../../../src/utils/assertNever.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\nexport function assertNever(_: never): never {\n\tthrow new BindingError(\n\t\t`FATAL ERROR. This should absolutely never have happened. Yet, despite all efforts, here we are.` +\n\t\t\t`Please find solace in having a good laugh about the whole situation. ` +\n\t\t\t`You have just witnessed true harshness of software development. ` +\n\t\t\t`Please report this bug.`,\n\t)\n}\n"],"names":[],"mappings":";qBAE4B,GAAiB;QACtC,IAAI,aACT;AAAA;;"}
1
+ {"version":3,"file":"assertNever.js","sources":["../../../src/utils/assertNever.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\nexport function assertNever(_: never): never {\n\tthrow new BindingError(\n\t\t`FATAL ERROR. This should absolutely never have happened. Yet, despite all efforts, here we are. ` +\n\t\t\t`Please find solace in having a good laugh about the whole situation. ` +\n\t\t\t`You have just witnessed true harshness of software development. ` +\n\t\t\t`Please report this bug.`,\n\t)\n}\n"],"names":[],"mappings":";AAEO,qBAAqB,GAAiB;AACtC,QAAA,IAAI,aACT,8PAID;AACD;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"generateEnumerabilityPreventingEntropy.js","sources":["../../../src/utils/generateEnumerabilityPreventingEntropy.ts"],"sourcesContent":["export const generateEnumerabilityPreventingEntropy = (length: number = 5): string => {\n\treturn (Math.random() * Math.pow(10, length)).toFixed(0).padStart(length, '0')\n}\n"],"names":[],"mappings":"MAAa,yCAAyC,CAAC,SAAiB,MAAc;eACxE,WAAW,KAAK,IAAI,IAAI,SAAS,QAAQ,GAAG,SAAS,QAAQ;AAAA;;"}
1
+ {"version":3,"file":"generateEnumerabilityPreventingEntropy.js","sources":["../../../src/utils/generateEnumerabilityPreventingEntropy.ts"],"sourcesContent":["export const generateEnumerabilityPreventingEntropy = (length: number = 5): string => {\n\treturn (Math.random() * Math.pow(10, length)).toFixed(0).padStart(length, '0')\n}\n"],"names":[],"mappings":"AAAa,MAAA,yCAAyC,CAAC,SAAiB,MAAc;AACrF,SAAa,MAAA,OAAW,IAAA,KAAK,IAAI,IAAI,MAAM,GAAG,QAAQ,CAAC,EAAE,SAAS,QAAQ,GAAG;AAC9E;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"isEmptyObject.js","sources":["../../../src/utils/isEmptyObject.ts"],"sourcesContent":["export const isEmptyObject = (arg: object): boolean => {\n\t// This is faster than Object.keys(arg).length === 0 && arg.constructor === Object\n\tfor (const key in arg) {\n\t\tif (arg.hasOwnProperty(key)) {\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n"],"names":[],"mappings":"MAAa,gBAAgB,CAAC,QAAyB;aAE3C,OAAO,KAAK;QAClB,IAAI,eAAe,MAAM;aACrB;AAAA;AAAA;SAGF;AAAA;;"}
1
+ {"version":3,"file":"isEmptyObject.js","sources":["../../../src/utils/isEmptyObject.ts"],"sourcesContent":["export const isEmptyObject = (arg: object): boolean => {\n\t// This is faster than Object.keys(arg).length === 0 && arg.constructor === Object\n\tfor (const key in arg) {\n\t\tif (arg.hasOwnProperty(key)) {\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n"],"names":[],"mappings":"AAAa,MAAA,gBAAgB,CAAC,QAAyB;AAEtD,aAAW,OAAO,KAAK;AAClB,QAAA,IAAI,eAAe,GAAG,GAAG;AACrB,aAAA;AAAA,IACR;AAAA,EACD;AACO,SAAA;AACR;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ucfirst.js","sources":["../../../src/utils/ucfirst.ts"],"sourcesContent":["export const ucfirst = (string: string) => `${string.charAt(0).toUpperCase()}${string.substring(1)}`\n"],"names":[],"mappings":"MAAa,UAAU,CAAC,WAAmB,GAAG,OAAO,OAAO,GAAG,gBAAgB,OAAO,UAAU;;"}
1
+ {"version":3,"file":"ucfirst.js","sources":["../../../src/utils/ucfirst.ts"],"sourcesContent":["export const ucfirst = (string: string) => `${string.charAt(0).toUpperCase()}${string.substring(1)}`\n"],"names":[],"mappings":"AAAO,MAAM,UAAU,CAAC,WAAmB,GAAG,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,UAAU,CAAC;;"}
@@ -40,5 +40,9 @@ export interface MutationTransactionResponse {
40
40
  }
41
41
  export interface MutationRequestResponse {
42
42
  data: MutationTransactionResponse | null;
43
+ errors?: {
44
+ message: string;
45
+ path?: string[];
46
+ }[];
43
47
  }
44
48
  //# sourceMappingURL=MutationRequestResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MutationRequestResponse.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/MutationRequestResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,oBAAoB,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,oBAAoB,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,oBAAY,iBAAiB,GAAG,sBAAsB,GAAG,sBAAsB,CAAA;AAE/E,oBAAY,iBAAiB,GAAG,iBAAiB,EAAE,CAAA;AAEnD,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,iBAAiB,CAAA;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,MAAM,CAAA;KACZ,CAAA;CACD;AAED,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,iBAAiB,CAAA;IACvB,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAA;IAC/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,UAAU,EACP;QACA,KAAK,EAAE,OAAO,CAAA;QACd,MAAM,EAAE,eAAe,EAAE,CAAA;KACxB,GACD,SAAS,CAAA;IACZ,IAAI,EAAE,kBAAkB,CAAA;CACxB;AAED,MAAM,WAAW,oBAAoB;IACpC,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAAA;CACjC;AAED,MAAM,WAAW,2BAA2B;IAC3C,WAAW,EAAE,oBAAoB,GAAG,IAAI,CAAA;CACxC;AAED,MAAM,WAAW,uBAAuB;IACvC,IAAI,EAAE,2BAA2B,GAAG,IAAI,CAAA;CACxC"}
1
+ {"version":3,"file":"MutationRequestResponse.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/MutationRequestResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,oBAAoB,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,oBAAoB,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,oBAAY,iBAAiB,GAAG,sBAAsB,GAAG,sBAAsB,CAAA;AAE/E,oBAAY,iBAAiB,GAAG,iBAAiB,EAAE,CAAA;AAEnD,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,iBAAiB,CAAA;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,MAAM,CAAA;KACZ,CAAA;CACD;AAED,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,iBAAiB,CAAA;IACvB,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAA;IAC/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,UAAU,EACP;QACA,KAAK,EAAE,OAAO,CAAA;QACd,MAAM,EAAE,eAAe,EAAE,CAAA;KACxB,GACD,SAAS,CAAA;IACZ,IAAI,EAAE,kBAAkB,CAAA;CACxB;AAED,MAAM,WAAW,oBAAoB;IACpC,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAAA;CACjC;AAED,MAAM,WAAW,2BAA2B;IAC3C,WAAW,EAAE,oBAAoB,GAAG,IAAI,CAAA;CACxC;AAED,MAAM,WAAW,uBAAuB;IACvC,IAAI,EAAE,2BAA2B,GAAG,IAAI,CAAA;IACxC,MAAM,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;CAC/C"}
@@ -11,5 +11,9 @@ export interface ReceivedDataTree<A = never> {
11
11
  }
12
12
  export interface QueryRequestResponse<A = never> {
13
13
  data: ReceivedDataTree<A>;
14
+ errors?: {
15
+ message: string;
16
+ path?: string[];
17
+ }[];
14
18
  }
15
19
  //# sourceMappingURL=QueryRequestResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QueryRequestResponse.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/QueryRequestResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C,oBAAY,iBAAiB,CAAC,CAAC,GAAG,KAAK,IAAI,MAAM,GAAG,kBAAkB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;AAC5G,oBAAY,kBAAkB,CAAC,CAAC,GAAG,KAAK,IACrC,CAAC,GACD;IACA,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,MAAM,CAAA;IAClB,CAAC,SAAS,EAAE,MAAM,GAAG,iBAAiB,CAAC,CAAC,CAAC,CAAA;CACxC,CAAA;AACJ,oBAAY,YAAY,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,GAAG,kBAAkB,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E,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;CAC/C"}
@@ -9,5 +9,13 @@ export interface NetworkErrorRequestError {
9
9
  export interface UnknownErrorRequestError {
10
10
  type: 'unknownError';
11
11
  }
12
- export declare type RequestError = UnauthorizedRequestError | NetworkErrorRequestError | UnknownErrorRequestError;
12
+ export interface GqlError {
13
+ type: 'gqlError';
14
+ query: string;
15
+ errors: {
16
+ message: string;
17
+ path?: string[];
18
+ }[];
19
+ }
20
+ export declare type RequestError = UnauthorizedRequestError | NetworkErrorRequestError | GqlError | UnknownErrorRequestError;
13
21
  //# sourceMappingURL=RequestError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestError.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/RequestError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,mBAAmB,CAAA;AAE3E,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;CACpB;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;IACpB,QAAQ,EAAE,kCAAkC,CAAA;CAC5C;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;CACpB;AAED,oBAAY,YAAY,GAAG,wBAAwB,GAAG,wBAAwB,GAAG,wBAAwB,CAAA"}
1
+ {"version":3,"file":"RequestError.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/RequestError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,mBAAmB,CAAA;AAE3E,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;CACpB;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;IACpB,QAAQ,EAAE,kCAAkC,CAAA;CAC5C;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;CACpB;AAED,MAAM,WAAW,QAAQ;IACxB,IAAI,EAAE,UAAU,CAAA;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;CAC9C;AAED,oBAAY,YAAY,GAAG,wBAAwB,GAAG,wBAAwB,GAAG,QAAQ,GAAG,wBAAwB,CAAA"}
@@ -34,4 +34,5 @@ export declare class DataBinding {
34
34
  private static getNextTreeRootIdSeed;
35
35
  private getNewTreeRootId;
36
36
  }
37
+ export declare const DataBindingExtendAborted: unique symbol;
37
38
  //# sourceMappingURL=DataBinding.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataBinding.d.ts","sourceRoot":"","sources":["../../../src/core/DataBinding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAkD,MAAM,mBAAmB,CAAA;AACtG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAIN,iBAAiB,EAGjB,gBAAgB,EAChB,MAAM,cAAc,CAAA;AACrB,OAAO,EAIN,YAAY,EACZ,uBAAuB,EACvB,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAoBnD,qBAAa,WAAW;IAqBtB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IA1BlC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe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mB/B,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,uBAAuB,GAAG,aAAa;IA4BrF,qBAAqB,CAC3B,EAAE,EAAE,SAAS,EACb,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,oBAAoB,EAC/B,QAAQ,CAAC,EAAE,gBAAgB,GAAG,oBAAoB,GAChD,gBAAgB,GAAG,oBAAoB;IAoE1C,OAAO,CAAC,iBAAiB;IA0CzB,OAAO,CAAC,sBAAsB;IAuD9B,OAAO,CAAC,mBAAmB;IAapB,qBAAqB,CAAC,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,GAAG,WAAW;IAqBhF,OAAO,CAAC,yBAAyB;IAuDjC,OAAO,CAAC,oBAAoB;IAoD5B,OAAO,CAAC,yBAAyB;IAuBjC,OAAO,CAAC,kCAAkC;IA+B1C,OAAO,CAAC,mCAAmC;IAgC3C,OAAO,CAAC,2BAA2B;IAY5B,8BAA8B,CACpC,KAAK,EAAE,gBAAgB,GAAG,oBAAoB,EAC9C,UAAU,EAAE,cAAc,CAAC,mBAAmB,GAAG,SAAS;IAepD,kCAAkC,CAAC,SAAS,EAAE,oBAAoB,GAAG,wBAAwB,GAAG,SAAS;IAmBhH,OAAO,CAAC,sCAAsC;IAW9C,OAAO,CAAC,2CAA2C;IAWnD,OAAO,CAAC,iCAAiC;CAIzC"}
@@ -46,6 +46,7 @@ declare class Parser extends EmbeddedActionsParser {
46
46
  private primaryValue;
47
47
  private fieldIdentifier;
48
48
  private identifier;
49
+ private pageName;
49
50
  private entityIdentifier;
50
51
  private string;
51
52
  private number;
@@ -1 +1 @@
1
- {"version":3,"file":"Parser.d.ts","sourceRoot":"","sources":["../../../src/queryLanguage/Parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,cAAc,EAAkB,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC3F,OAAO,EAAE,qBAAqB,EAAS,MAAM,YAAY,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,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C;IAChB,UAAiB,GAAG,CAAC;QACpB,KAAY,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAA;QAEpD,KAAY,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA;QAE1E,KAAY,SAAS,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAA;QAEpD,KAAY,iBAAiB,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,IAAI,GAAG,OAAO,GAAG,IAAI,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC,CAAA;KACnG;IAED,UAAiB,YAAY;QAC5B,mBAAmB,EAAE,yBAAyB,CAAA;QAC9C,kBAAkB,EAAE,wBAAwB,CAAA;QAC5C,qBAAqB,EAAE,2BAA2B,CAAA;QAClD,gCAAgC,EAAE,sCAAsC,CAAA;QACxE,kCAAkC,EAAE,wCAAwC,CAAA;QAC5E,mBAAmB,EAAE,yBAAyB,CAAA;QAC9C,oBAAoB,EAAE,0BAA0B,CAAA;QAChD,kBAAkB,EAAE,wBAAwB,CAAA;QAC5C,WAAW,EAAE,WAAW,CAAA;QACxB,MAAM,EAAE,MAAM,CAAA;QACd,OAAO,EAAE,OAAO,CAAA;QAChB,SAAS,EAAE,eAAe,CAAA;KAC1B;IAED,KAAY,UAAU,GAAG,MAAM,YAAY,CAAA;CAC3C;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
@@ -10,6 +10,7 @@ export declare const tokens: {
10
10
  Dot: import("chevrotain").TokenType;
11
11
  Comma: import("chevrotain").TokenType;
12
12
  Colon: import("chevrotain").TokenType;
13
+ Slash: import("chevrotain").TokenType;
13
14
  NumberLiteral: import("chevrotain").TokenType;
14
15
  StringLiteral: import("chevrotain").TokenType;
15
16
  LeftParenthesis: import("chevrotain").TokenType;
@@ -1 +1 @@
1
- {"version":3,"file":"tokenList.d.ts","sourceRoot":"","sources":["../../../src/queryLanguage/tokenList.ts"],"names":[],"mappings":"AAEA,yBAAiB,YAAY,CAAC;IACtB,MAAM,gBAAgB,QAAc,CAAA;IACpC,MAAM,UAAU,QAAiB,CAAA;CACxC;AAOD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CA8HlB,CAAA;AAED,QAAA,MAAM,SAAS,kCA0Bd,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
1
+ {"version":3,"file":"tokenList.d.ts","sourceRoot":"","sources":["../../../src/queryLanguage/tokenList.ts"],"names":[],"mappings":"AAEA,yBAAiB,YAAY,CAAC;IACtB,MAAM,gBAAgB,QAAc,CAAA;IACpC,MAAM,UAAU,QAAiB,CAAA;CACxC;AAOD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIlB,CAAA;AAED,QAAA,MAAM,SAAS,kCA2Bd,CAAA;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}