@contember/binding 1.0.0-rc.2 → 1.0.0-rc.22
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.
- package/dist/development/accessorSorting/moveEntity.js +1 -1
- package/dist/development/accessorSorting/moveEntity.js.map +1 -1
- package/dist/development/accessors/ErrorAccessor.js +1 -1
- package/dist/development/accessors/ErrorAccessor.js.map +1 -1
- package/dist/development/accessors/FieldAccessor.js +3 -2
- package/dist/development/accessors/FieldAccessor.js.map +1 -1
- package/dist/development/core/AccessorErrorManager.js +3 -3
- package/dist/development/core/AccessorErrorManager.js.map +1 -1
- package/dist/development/core/DataBinding.js +6 -5
- package/dist/development/core/DataBinding.js.map +1 -1
- package/dist/development/core/ErrorsPreprocessor.js +6 -6
- package/dist/development/core/ErrorsPreprocessor.js.map +1 -1
- package/dist/development/core/EventManager.js +7 -7
- package/dist/development/core/EventManager.js.map +1 -1
- package/dist/development/core/IncrementalMarkerBuilder.js +1 -1
- package/dist/development/core/IncrementalMarkerBuilder.js.map +1 -1
- package/dist/development/core/MarkerMerger.js +2 -2
- package/dist/development/core/MarkerMerger.js.map +1 -1
- package/dist/development/core/MarkerTreeGenerator.js +2 -2
- package/dist/development/core/MarkerTreeGenerator.js.map +1 -1
- package/dist/development/core/MutationGenerator.js +4 -4
- package/dist/development/core/MutationGenerator.js.map +1 -1
- package/dist/development/core/RequestResponseNormalizer.js +5 -5
- package/dist/development/core/RequestResponseNormalizer.js.map +1 -1
- package/dist/development/core/StateInitializer.js +13 -6
- package/dist/development/core/StateInitializer.js.map +1 -1
- package/dist/development/core/TreeAugmenter.js +2 -2
- package/dist/development/core/TreeAugmenter.js.map +1 -1
- package/dist/development/core/TreeFilterGenerator.js +2 -2
- package/dist/development/core/TreeFilterGenerator.js.map +1 -1
- package/dist/development/core/TreeStore.js +6 -6
- package/dist/development/core/TreeStore.js.map +1 -1
- package/dist/development/core/operations/EntityOperations.js +2 -2
- package/dist/development/core/operations/EntityOperations.js.map +1 -1
- package/dist/development/core/operations/FieldOperations.js +1 -1
- package/dist/development/core/operations/FieldOperations.js.map +1 -1
- package/dist/development/core/operations/ListOperations.js +1 -1
- package/dist/development/core/operations/ListOperations.js.map +1 -1
- package/dist/development/core/schema/SchemaPreprocessor.js +3 -3
- package/dist/development/core/schema/SchemaPreprocessor.js.map +1 -1
- package/dist/development/dao/Environment.js +3 -3
- package/dist/development/dao/Environment.js.map +1 -1
- package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js +1 -1
- package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js.map +1 -1
- package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js +1 -1
- package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js.map +1 -1
- package/dist/development/index.js +1 -1
- package/dist/development/queryLanguage/CacheStore.js +1 -1
- package/dist/development/queryLanguage/CacheStore.js.map +1 -1
- package/dist/development/queryLanguage/MarkerFactory.js +5 -5
- package/dist/development/queryLanguage/MarkerFactory.js.map +1 -1
- package/dist/development/queryLanguage/Parser.js +9 -1
- package/dist/development/queryLanguage/Parser.js.map +1 -1
- package/dist/development/queryLanguage/QueryLanguage.js +2 -2
- package/dist/development/queryLanguage/QueryLanguage.js.map +1 -1
- package/dist/development/queryLanguage/tokenList.js +6 -1
- package/dist/development/queryLanguage/tokenList.js.map +1 -1
- package/dist/development/structures/BijectiveIndexedMap.js +2 -2
- package/dist/development/structures/BijectiveIndexedMap.js.map +1 -1
- package/dist/development/structures/LRUCache.js +1 -1
- package/dist/development/structures/LRUCache.js.map +1 -1
- package/dist/development/structures/WeakIdCache.js +1 -1
- package/dist/development/structures/WeakIdCache.js.map +1 -1
- package/dist/development/treeParameters/EventListenersStore.js +3 -3
- package/dist/development/treeParameters/EventListenersStore.js.map +1 -1
- package/dist/development/utils/assertNever.js +1 -1
- package/dist/development/utils/assertNever.js.map +1 -1
- package/dist/production/accessorSorting/moveEntity.js +1 -1
- package/dist/production/accessorSorting/moveEntity.js.map +1 -1
- package/dist/production/accessors/ErrorAccessor.js +1 -1
- package/dist/production/accessors/ErrorAccessor.js.map +1 -1
- package/dist/production/accessors/FieldAccessor.js +3 -2
- package/dist/production/accessors/FieldAccessor.js.map +1 -1
- package/dist/production/core/AccessorErrorManager.js +3 -3
- package/dist/production/core/AccessorErrorManager.js.map +1 -1
- package/dist/production/core/DataBinding.js +6 -5
- package/dist/production/core/DataBinding.js.map +1 -1
- package/dist/production/core/ErrorsPreprocessor.js +6 -6
- package/dist/production/core/ErrorsPreprocessor.js.map +1 -1
- package/dist/production/core/EventManager.js +7 -7
- package/dist/production/core/EventManager.js.map +1 -1
- package/dist/production/core/IncrementalMarkerBuilder.js +1 -1
- package/dist/production/core/IncrementalMarkerBuilder.js.map +1 -1
- package/dist/production/core/MarkerMerger.js +2 -2
- package/dist/production/core/MarkerMerger.js.map +1 -1
- package/dist/production/core/MarkerTreeGenerator.js +2 -2
- package/dist/production/core/MarkerTreeGenerator.js.map +1 -1
- package/dist/production/core/MutationGenerator.js +4 -4
- package/dist/production/core/MutationGenerator.js.map +1 -1
- package/dist/production/core/RequestResponseNormalizer.js +5 -5
- package/dist/production/core/RequestResponseNormalizer.js.map +1 -1
- package/dist/production/core/StateInitializer.js +13 -6
- package/dist/production/core/StateInitializer.js.map +1 -1
- package/dist/production/core/TreeAugmenter.js +2 -2
- package/dist/production/core/TreeAugmenter.js.map +1 -1
- package/dist/production/core/TreeFilterGenerator.js +2 -2
- package/dist/production/core/TreeFilterGenerator.js.map +1 -1
- package/dist/production/core/TreeStore.js +6 -6
- package/dist/production/core/TreeStore.js.map +1 -1
- package/dist/production/core/operations/EntityOperations.js +2 -2
- package/dist/production/core/operations/EntityOperations.js.map +1 -1
- package/dist/production/core/operations/FieldOperations.js +1 -1
- package/dist/production/core/operations/FieldOperations.js.map +1 -1
- package/dist/production/core/operations/ListOperations.js +1 -1
- package/dist/production/core/operations/ListOperations.js.map +1 -1
- package/dist/production/core/schema/SchemaPreprocessor.js +3 -3
- package/dist/production/core/schema/SchemaPreprocessor.js.map +1 -1
- package/dist/production/dao/Environment.js +3 -3
- package/dist/production/dao/Environment.js.map +1 -1
- package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.js +1 -1
- package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.js.map +1 -1
- package/dist/production/fieldHelpers/helpers/UuidFieldHelper.js +1 -1
- package/dist/production/fieldHelpers/helpers/UuidFieldHelper.js.map +1 -1
- package/dist/production/index.js +1 -1
- package/dist/production/queryLanguage/CacheStore.js +1 -1
- package/dist/production/queryLanguage/CacheStore.js.map +1 -1
- package/dist/production/queryLanguage/MarkerFactory.js +5 -5
- package/dist/production/queryLanguage/MarkerFactory.js.map +1 -1
- package/dist/production/queryLanguage/Parser.js +9 -1
- package/dist/production/queryLanguage/Parser.js.map +1 -1
- package/dist/production/queryLanguage/QueryLanguage.js +2 -2
- package/dist/production/queryLanguage/QueryLanguage.js.map +1 -1
- package/dist/production/queryLanguage/tokenList.js +6 -1
- package/dist/production/queryLanguage/tokenList.js.map +1 -1
- package/dist/production/structures/BijectiveIndexedMap.js +2 -2
- package/dist/production/structures/BijectiveIndexedMap.js.map +1 -1
- package/dist/production/structures/LRUCache.js +1 -1
- package/dist/production/structures/LRUCache.js.map +1 -1
- package/dist/production/structures/WeakIdCache.js +1 -1
- package/dist/production/structures/WeakIdCache.js.map +1 -1
- package/dist/production/treeParameters/EventListenersStore.js +3 -3
- package/dist/production/treeParameters/EventListenersStore.js.map +1 -1
- package/dist/production/utils/assertNever.js +1 -1
- package/dist/production/utils/assertNever.js.map +1 -1
- package/dist/types/BindingError.d.ts +4 -0
- package/dist/types/BindingError.d.ts.map +1 -0
- package/dist/types/accessorPropagation/AccessorProvider.d.ts +8 -0
- package/dist/types/accessorPropagation/AccessorProvider.d.ts.map +1 -0
- package/dist/types/accessorPropagation/BindingOperationsContext.d.ts +5 -0
- package/dist/types/accessorPropagation/BindingOperationsContext.d.ts.map +1 -0
- package/dist/types/accessorPropagation/BindingOperationsProvider.d.ts +8 -0
- package/dist/types/accessorPropagation/BindingOperationsProvider.d.ts.map +1 -0
- package/dist/types/accessorPropagation/EntityKeyContext.d.ts +3 -0
- package/dist/types/accessorPropagation/EntityKeyContext.d.ts.map +1 -0
- package/dist/types/accessorPropagation/EntityKeyProvider.d.ts +7 -0
- package/dist/types/accessorPropagation/EntityKeyProvider.d.ts.map +1 -0
- package/dist/types/accessorPropagation/EnvironmentContext.d.ts +4 -0
- package/dist/types/accessorPropagation/EnvironmentContext.d.ts.map +1 -0
- package/dist/types/accessorPropagation/TreeRootIdContext.d.ts +3 -0
- package/dist/types/accessorPropagation/TreeRootIdContext.d.ts.map +1 -0
- package/dist/types/accessorPropagation/TreeRootIdProvider.d.ts +8 -0
- package/dist/types/accessorPropagation/TreeRootIdProvider.d.ts.map +1 -0
- package/dist/types/accessorPropagation/index.d.ts +27 -0
- package/dist/types/accessorPropagation/index.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useAccessorUpdateSubscription.d.ts +16 -0
- package/dist/types/accessorPropagation/useAccessorUpdateSubscription.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useBindingOperations.d.ts +3 -0
- package/dist/types/accessorPropagation/useBindingOperations.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useDesugaredRelativeEntityList.d.ts +11 -0
- package/dist/types/accessorPropagation/useDesugaredRelativeEntityList.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useDesugaredRelativeSingleEntity.d.ts +11 -0
- package/dist/types/accessorPropagation/useDesugaredRelativeSingleEntity.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useDesugaredRelativeSingleField.d.ts +11 -0
- package/dist/types/accessorPropagation/useDesugaredRelativeSingleField.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useEntity.d.ts +7 -0
- package/dist/types/accessorPropagation/useEntity.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useEntityKey.d.ts +2 -0
- package/dist/types/accessorPropagation/useEntityKey.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useEntityList.d.ts +6 -0
- package/dist/types/accessorPropagation/useEntityList.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useEntityListSubTree.d.ts +4 -0
- package/dist/types/accessorPropagation/useEntityListSubTree.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useEntityListSubTreeParameters.d.ts +5 -0
- package/dist/types/accessorPropagation/useEntityListSubTreeParameters.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useEntitySubTree.d.ts +4 -0
- package/dist/types/accessorPropagation/useEntitySubTree.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useEntitySubTreeParameters.d.ts +5 -0
- package/dist/types/accessorPropagation/useEntitySubTreeParameters.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useEnvironment.d.ts +3 -0
- package/dist/types/accessorPropagation/useEnvironment.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useField.d.ts +6 -0
- package/dist/types/accessorPropagation/useField.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useGetEntityByKey.d.ts +3 -0
- package/dist/types/accessorPropagation/useGetEntityByKey.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useGetEntityListSubTree.d.ts +4 -0
- package/dist/types/accessorPropagation/useGetEntityListSubTree.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useGetEntitySubTree.d.ts +4 -0
- package/dist/types/accessorPropagation/useGetEntitySubTree.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useGetTreeFilters.d.ts +3 -0
- package/dist/types/accessorPropagation/useGetTreeFilters.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useHasEntity.d.ts +2 -0
- package/dist/types/accessorPropagation/useHasEntity.d.ts.map +1 -0
- package/dist/types/accessorPropagation/usePersist.d.ts +3 -0
- package/dist/types/accessorPropagation/usePersist.d.ts.map +1 -0
- package/dist/types/accessorPropagation/useTreeRootId.d.ts +3 -0
- package/dist/types/accessorPropagation/useTreeRootId.d.ts.map +1 -0
- package/dist/types/accessorSorting/SetOrderFieldOnCreate.d.ts +10 -0
- package/dist/types/accessorSorting/SetOrderFieldOnCreate.d.ts.map +1 -0
- package/dist/types/accessorSorting/SortedEntities.d.ts +9 -0
- package/dist/types/accessorSorting/SortedEntities.d.ts.map +1 -0
- package/dist/types/accessorSorting/addEntityAtIndex.d.ts +4 -0
- package/dist/types/accessorSorting/addEntityAtIndex.d.ts.map +1 -0
- package/dist/types/accessorSorting/errors.d.ts +6 -0
- package/dist/types/accessorSorting/errors.d.ts.map +1 -0
- package/dist/types/accessorSorting/index.d.ts +8 -0
- package/dist/types/accessorSorting/index.d.ts.map +1 -0
- package/dist/types/accessorSorting/moveEntity.d.ts +5 -0
- package/dist/types/accessorSorting/moveEntity.d.ts.map +1 -0
- package/dist/types/accessorSorting/repairEntitiesOrder.d.ts +4 -0
- package/dist/types/accessorSorting/repairEntitiesOrder.d.ts.map +1 -0
- package/dist/types/accessorSorting/sortEntities.d.ts +4 -0
- package/dist/types/accessorSorting/sortEntities.d.ts.map +1 -0
- package/dist/types/accessorSorting/useSortedEntities.d.ts +5 -0
- package/dist/types/accessorSorting/useSortedEntities.d.ts.map +1 -0
- package/dist/types/accessorTree/AccessorTree.d.ts +11 -0
- package/dist/types/accessorTree/AccessorTree.d.ts.map +1 -0
- package/dist/types/accessorTree/AccessorTreeState.d.ts +15 -0
- package/dist/types/accessorTree/AccessorTreeState.d.ts.map +1 -0
- package/dist/types/accessorTree/AccessorTreeStateAction.d.ts +12 -0
- package/dist/types/accessorTree/AccessorTreeStateAction.d.ts.map +1 -0
- package/dist/types/accessorTree/AccessorTreeStateMetadata.d.ts +4 -0
- package/dist/types/accessorTree/AccessorTreeStateMetadata.d.ts.map +1 -0
- package/dist/types/accessorTree/AccessorTreeStateOptions.d.ts +7 -0
- package/dist/types/accessorTree/AccessorTreeStateOptions.d.ts.map +1 -0
- package/dist/types/accessorTree/DirtinessContext.d.ts +3 -0
- package/dist/types/accessorTree/DirtinessContext.d.ts.map +1 -0
- package/dist/types/accessorTree/MutationRequestResponse.d.ts +44 -0
- package/dist/types/accessorTree/MutationRequestResponse.d.ts.map +1 -0
- package/dist/types/accessorTree/MutationStateContext.d.ts +3 -0
- package/dist/types/accessorTree/MutationStateContext.d.ts.map +1 -0
- package/dist/types/accessorTree/NormalizedPersistedData.d.ts +13 -0
- package/dist/types/accessorTree/NormalizedPersistedData.d.ts.map +1 -0
- package/dist/types/accessorTree/PersistResult.d.ts +24 -0
- package/dist/types/accessorTree/PersistResult.d.ts.map +1 -0
- package/dist/types/accessorTree/QueryRequestResponse.d.ts +15 -0
- package/dist/types/accessorTree/QueryRequestResponse.d.ts.map +1 -0
- package/dist/types/accessorTree/RequestError.d.ts +13 -0
- package/dist/types/accessorTree/RequestError.d.ts.map +1 -0
- package/dist/types/accessorTree/RuntimeId.d.ts +25 -0
- package/dist/types/accessorTree/RuntimeId.d.ts.map +1 -0
- package/dist/types/accessorTree/accessorTreeStateReducer.d.ts +4 -0
- package/dist/types/accessorTree/accessorTreeStateReducer.d.ts.map +1 -0
- package/dist/types/accessorTree/index.d.ts +19 -0
- package/dist/types/accessorTree/index.d.ts.map +1 -0
- package/dist/types/accessorTree/metadataToRequestError.d.ts +4 -0
- package/dist/types/accessorTree/metadataToRequestError.d.ts.map +1 -0
- package/dist/types/accessorTree/useDataBinding.d.ts +4 -0
- package/dist/types/accessorTree/useDataBinding.d.ts.map +1 -0
- package/dist/types/accessorTree/useDirtinessState.d.ts +2 -0
- package/dist/types/accessorTree/useDirtinessState.d.ts.map +1 -0
- package/dist/types/accessorTree/useMutationState.d.ts +2 -0
- package/dist/types/accessorTree/useMutationState.d.ts.map +1 -0
- package/dist/types/accessors/AsyncBatchUpdatesOptions.d.ts +8 -0
- package/dist/types/accessors/AsyncBatchUpdatesOptions.d.ts.map +1 -0
- package/dist/types/accessors/BatchUpdatesOptions.d.ts +9 -0
- package/dist/types/accessors/BatchUpdatesOptions.d.ts.map +1 -0
- package/dist/types/accessors/BindingConfig.d.ts +8 -0
- package/dist/types/accessors/BindingConfig.d.ts.map +1 -0
- package/dist/types/accessors/BindingOperations.d.ts +12 -0
- package/dist/types/accessors/BindingOperations.d.ts.map +1 -0
- package/dist/types/accessors/EntityAccessor.d.ts +90 -0
- package/dist/types/accessors/EntityAccessor.d.ts.map +1 -0
- package/dist/types/accessors/EntityListAccessor.d.ts +84 -0
- package/dist/types/accessors/EntityListAccessor.d.ts.map +1 -0
- package/dist/types/accessors/ErrorAccessor.d.ts +26 -0
- package/dist/types/accessors/ErrorAccessor.d.ts.map +1 -0
- package/dist/types/accessors/Errorable.d.ts +5 -0
- package/dist/types/accessors/Errorable.d.ts.map +1 -0
- package/dist/types/accessors/ExtendTree.d.ts +9 -0
- package/dist/types/accessors/ExtendTree.d.ts.map +1 -0
- package/dist/types/accessors/FieldAccessor.d.ts +55 -0
- package/dist/types/accessors/FieldAccessor.d.ts.map +1 -0
- package/dist/types/accessors/GetEntityByKey.d.ts +3 -0
- package/dist/types/accessors/GetEntityByKey.d.ts.map +1 -0
- package/dist/types/accessors/GetEntityListSubTree.d.ts +5 -0
- package/dist/types/accessors/GetEntityListSubTree.d.ts.map +1 -0
- package/dist/types/accessors/GetEntitySubTree.d.ts +5 -0
- package/dist/types/accessors/GetEntitySubTree.d.ts.map +1 -0
- package/dist/types/accessors/Persist.d.ts +10 -0
- package/dist/types/accessors/Persist.d.ts.map +1 -0
- package/dist/types/accessors/PersistErrorOptions.d.ts +10 -0
- package/dist/types/accessors/PersistErrorOptions.d.ts.map +1 -0
- package/dist/types/accessors/PersistSuccessOptions.d.ts +5 -0
- package/dist/types/accessors/PersistSuccessOptions.d.ts.map +1 -0
- package/dist/types/accessors/TreeRootAccessor.d.ts +11 -0
- package/dist/types/accessors/TreeRootAccessor.d.ts.map +1 -0
- package/dist/types/accessors/index.d.ts +18 -0
- package/dist/types/accessors/index.d.ts.map +1 -0
- package/dist/types/bindingTypes.d.ts +4 -0
- package/dist/types/bindingTypes.d.ts.map +1 -0
- package/dist/types/core/AccessorErrorManager.d.ts +24 -0
- package/dist/types/core/AccessorErrorManager.d.ts.map +1 -0
- package/dist/types/core/Config.d.ts +9 -0
- package/dist/types/core/Config.d.ts.map +1 -0
- package/dist/types/core/DataBinding.d.ts +38 -0
- package/dist/types/core/DataBinding.d.ts.map +1 -0
- package/dist/types/core/DirtinessTracker.d.ts +12 -0
- package/dist/types/core/DirtinessTracker.d.ts.map +1 -0
- package/dist/types/core/ErrorsPreprocessor.d.ts +33 -0
- package/dist/types/core/ErrorsPreprocessor.d.ts.map +1 -0
- package/dist/types/core/EventManager.d.ts +56 -0
- package/dist/types/core/EventManager.d.ts.map +1 -0
- package/dist/types/core/IncrementalMarkerBuilder.d.ts +7 -0
- package/dist/types/core/IncrementalMarkerBuilder.d.ts.map +1 -0
- package/dist/types/core/MarkerComparator.d.ts +8 -0
- package/dist/types/core/MarkerComparator.d.ts.map +1 -0
- package/dist/types/core/MarkerMerger.d.ts +22 -0
- package/dist/types/core/MarkerMerger.d.ts.map +1 -0
- package/dist/types/core/MarkerTreeGenerator.d.ts +14 -0
- package/dist/types/core/MarkerTreeGenerator.d.ts.map +1 -0
- package/dist/types/core/MutationGenerator.d.ts +18 -0
- package/dist/types/core/MutationGenerator.d.ts.map +1 -0
- package/dist/types/core/QueryGenerator.d.ts +14 -0
- package/dist/types/core/QueryGenerator.d.ts.map +1 -0
- package/dist/types/core/RealmKeyGenerator.d.ts +11 -0
- package/dist/types/core/RealmKeyGenerator.d.ts.map +1 -0
- package/dist/types/core/RequestResponseNormalizer.d.ts +11 -0
- package/dist/types/core/RequestResponseNormalizer.d.ts.map +1 -0
- package/dist/types/core/StateInitializer.d.ts +38 -0
- package/dist/types/core/StateInitializer.d.ts.map +1 -0
- package/dist/types/core/TreeAugmenter.d.ts +20 -0
- package/dist/types/core/TreeAugmenter.d.ts.map +1 -0
- package/dist/types/core/TreeFilterGenerator.d.ts +13 -0
- package/dist/types/core/TreeFilterGenerator.d.ts.map +1 -0
- package/dist/types/core/TreeParameterMerger.d.ts +20 -0
- package/dist/types/core/TreeParameterMerger.d.ts.map +1 -0
- package/dist/types/core/TreeStore.d.ts +32 -0
- package/dist/types/core/TreeStore.d.ts.map +1 -0
- package/dist/types/core/UpdateMetadata.d.ts +4 -0
- package/dist/types/core/UpdateMetadata.d.ts.map +1 -0
- package/dist/types/core/VariableInputTransformer.d.ts +7 -0
- package/dist/types/core/VariableInputTransformer.d.ts.map +1 -0
- package/dist/types/core/exceptions/ErrorLocator.d.ts +8 -0
- package/dist/types/core/exceptions/ErrorLocator.d.ts.map +1 -0
- package/dist/types/core/exceptions/LocalizedBindingError.d.ts +9 -0
- package/dist/types/core/exceptions/LocalizedBindingError.d.ts.map +1 -0
- package/dist/types/core/exceptions/MarkerSugarer.d.ts +10 -0
- package/dist/types/core/exceptions/MarkerSugarer.d.ts.map +1 -0
- package/dist/types/core/exceptions/RawMarkerPath.d.ts +3 -0
- package/dist/types/core/exceptions/RawMarkerPath.d.ts.map +1 -0
- package/dist/types/core/exceptions/TreeParameterSugarer.d.ts +11 -0
- package/dist/types/core/exceptions/TreeParameterSugarer.d.ts.map +1 -0
- package/dist/types/core/exceptions/index.d.ts +6 -0
- package/dist/types/core/exceptions/index.d.ts.map +1 -0
- package/dist/types/core/factories/createBatchUpdatesOptions.d.ts +5 -0
- package/dist/types/core/factories/createBatchUpdatesOptions.d.ts.map +1 -0
- package/dist/types/core/factories/index.d.ts +2 -0
- package/dist/types/core/factories/index.d.ts.map +1 -0
- package/dist/types/core/index.d.ts +6 -0
- package/dist/types/core/index.d.ts.map +1 -0
- package/dist/types/core/operations/EntityOperations.d.ts +26 -0
- package/dist/types/core/operations/EntityOperations.d.ts.map +1 -0
- package/dist/types/core/operations/FieldOperations.d.ts +22 -0
- package/dist/types/core/operations/FieldOperations.d.ts.map +1 -0
- package/dist/types/core/operations/ListOperations.d.ts +32 -0
- package/dist/types/core/operations/ListOperations.d.ts.map +1 -0
- package/dist/types/core/operations/OperationsHelpers.d.ts +14 -0
- package/dist/types/core/operations/OperationsHelpers.d.ts.map +1 -0
- package/dist/types/core/operations/index.d.ts +4 -0
- package/dist/types/core/operations/index.d.ts.map +1 -0
- package/dist/types/core/requestAliases/MutationAlias.d.ts +9 -0
- package/dist/types/core/requestAliases/MutationAlias.d.ts.map +1 -0
- package/dist/types/core/requestAliases/TopLevelMutationOperation.d.ts +11 -0
- package/dist/types/core/requestAliases/TopLevelMutationOperation.d.ts.map +1 -0
- package/dist/types/core/requestAliases/index.d.ts +5 -0
- package/dist/types/core/requestAliases/index.d.ts.map +1 -0
- package/dist/types/core/requestAliases/mutationOperationSubTreeType.d.ts +5 -0
- package/dist/types/core/requestAliases/mutationOperationSubTreeType.d.ts.map +1 -0
- package/dist/types/core/requestAliases/mutationOperationType.d.ts +6 -0
- package/dist/types/core/requestAliases/mutationOperationType.d.ts.map +1 -0
- package/dist/types/core/schema/RawSchema.d.ts +7 -0
- package/dist/types/core/schema/RawSchema.d.ts.map +1 -0
- package/dist/types/core/schema/RawSchemaEntity.d.ts +12 -0
- package/dist/types/core/schema/RawSchemaEntity.d.ts.map +1 -0
- package/dist/types/core/schema/RawSchemaEnum.d.ts +6 -0
- package/dist/types/core/schema/RawSchemaEnum.d.ts.map +1 -0
- package/dist/types/core/schema/Schema.d.ts +9 -0
- package/dist/types/core/schema/Schema.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaColumn.d.ts +12 -0
- package/dist/types/core/schema/SchemaColumn.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaColumnType.d.ts +3 -0
- package/dist/types/core/schema/SchemaColumnType.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaEntities.d.ts +4 -0
- package/dist/types/core/schema/SchemaEntities.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaEntity.d.ts +10 -0
- package/dist/types/core/schema/SchemaEntity.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaEnums.d.ts +4 -0
- package/dist/types/core/schema/SchemaEnums.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaField.d.ts +4 -0
- package/dist/types/core/schema/SchemaField.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaFields.d.ts +4 -0
- package/dist/types/core/schema/SchemaFields.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaLoader.d.ts +7 -0
- package/dist/types/core/schema/SchemaLoader.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaPreprocessor.d.ts +9 -0
- package/dist/types/core/schema/SchemaPreprocessor.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaRelation.d.ts +24 -0
- package/dist/types/core/schema/SchemaRelation.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaRelationOrderBy.d.ts +5 -0
- package/dist/types/core/schema/SchemaRelationOrderBy.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaStore.d.ts +7 -0
- package/dist/types/core/schema/SchemaStore.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaUniqueConstraint.d.ts +5 -0
- package/dist/types/core/schema/SchemaUniqueConstraint.d.ts.map +1 -0
- package/dist/types/core/schema/SchemaValidator.d.ts +14 -0
- package/dist/types/core/schema/SchemaValidator.d.ts.map +1 -0
- package/dist/types/core/schema/index.d.ts +15 -0
- package/dist/types/core/schema/index.d.ts.map +1 -0
- package/dist/types/core/state/EntityListState.d.ts +27 -0
- package/dist/types/core/state/EntityListState.d.ts.map +1 -0
- package/dist/types/core/state/EntityRealmState.d.ts +44 -0
- package/dist/types/core/state/EntityRealmState.d.ts.map +1 -0
- package/dist/types/core/state/EntityState.d.ts +12 -0
- package/dist/types/core/state/EntityState.d.ts.map +1 -0
- package/dist/types/core/state/FieldState.d.ts +19 -0
- package/dist/types/core/state/FieldState.d.ts.map +1 -0
- package/dist/types/core/state/StateIterator.d.ts +14 -0
- package/dist/types/core/state/StateIterator.d.ts.map +1 -0
- package/dist/types/core/state/StateNode.d.ts +8 -0
- package/dist/types/core/state/StateNode.d.ts.map +1 -0
- package/dist/types/core/state/getEntityMarker.d.ts +3 -0
- package/dist/types/core/state/getEntityMarker.d.ts.map +1 -0
- package/dist/types/core/state/index.d.ts +8 -0
- package/dist/types/core/state/index.d.ts.map +1 -0
- package/dist/types/core/utils/getCombinedSignal.d.ts +2 -0
- package/dist/types/core/utils/getCombinedSignal.d.ts.map +1 -0
- package/dist/types/core/utils/index.d.ts +2 -0
- package/dist/types/core/utils/index.d.ts.map +1 -0
- package/dist/types/coreComponents/Component.d.ts +8 -0
- package/dist/types/coreComponents/Component.d.ts.map +1 -0
- package/dist/types/coreComponents/DataBindingProvider.d.ts +17 -0
- package/dist/types/coreComponents/DataBindingProvider.d.ts.map +1 -0
- package/dist/types/coreComponents/Entity.d.ts +9 -0
- package/dist/types/coreComponents/Entity.d.ts.map +1 -0
- package/dist/types/coreComponents/EntityList.d.ts +12 -0
- package/dist/types/coreComponents/EntityList.d.ts.map +1 -0
- package/dist/types/coreComponents/EntityListSubTree.d.ts +16 -0
- package/dist/types/coreComponents/EntityListSubTree.d.ts.map +1 -0
- package/dist/types/coreComponents/EntitySubTree.d.ts +14 -0
- package/dist/types/coreComponents/EntitySubTree.d.ts.map +1 -0
- package/dist/types/coreComponents/Field.d.ts +11 -0
- package/dist/types/coreComponents/Field.d.ts.map +1 -0
- package/dist/types/coreComponents/HasMany.d.ts +13 -0
- package/dist/types/coreComponents/HasMany.d.ts.map +1 -0
- package/dist/types/coreComponents/HasOne.d.ts +9 -0
- package/dist/types/coreComponents/HasOne.d.ts.map +1 -0
- package/dist/types/coreComponents/MarkerProvider.d.ts +21 -0
- package/dist/types/coreComponents/MarkerProvider.d.ts.map +1 -0
- package/dist/types/coreComponents/ParentEntity.d.ts +7 -0
- package/dist/types/coreComponents/ParentEntity.d.ts.map +1 -0
- package/dist/types/coreComponents/index.d.ts +12 -0
- package/dist/types/coreComponents/index.d.ts.map +1 -0
- package/dist/types/dao/Environment.d.ts +55 -0
- package/dist/types/dao/Environment.d.ts.map +1 -0
- package/dist/types/dao/VariableFieldValue.d.ts +5 -0
- package/dist/types/dao/VariableFieldValue.d.ts.map +1 -0
- package/dist/types/dao/index.d.ts +3 -0
- package/dist/types/dao/index.d.ts.map +1 -0
- package/dist/types/entityEvents/index.d.ts +8 -0
- package/dist/types/entityEvents/index.d.ts.map +1 -0
- package/dist/types/entityEvents/useDerivedField.d.ts +9 -0
- package/dist/types/entityEvents/useDerivedField.d.ts.map +1 -0
- package/dist/types/entityEvents/useEntityBeforePersist.d.ts +3 -0
- package/dist/types/entityEvents/useEntityBeforePersist.d.ts.map +1 -0
- package/dist/types/entityEvents/useEntityBeforeUpdate.d.ts +3 -0
- package/dist/types/entityEvents/useEntityBeforeUpdate.d.ts.map +1 -0
- package/dist/types/entityEvents/useEntityEvent.d.ts +9 -0
- package/dist/types/entityEvents/useEntityEvent.d.ts.map +1 -0
- package/dist/types/entityEvents/useEntityPersistError.d.ts +3 -0
- package/dist/types/entityEvents/useEntityPersistError.d.ts.map +1 -0
- package/dist/types/entityEvents/useEntityPersistSuccess.d.ts +3 -0
- package/dist/types/entityEvents/useEntityPersistSuccess.d.ts.map +1 -0
- package/dist/types/entityEvents/useOnConnectionUpdate.d.ts +4 -0
- package/dist/types/entityEvents/useOnConnectionUpdate.d.ts.map +1 -0
- package/dist/types/fieldHelpers/helpers/FieldHelper.d.ts +7 -0
- package/dist/types/fieldHelpers/helpers/FieldHelper.d.ts.map +1 -0
- package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts +10 -0
- package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts.map +1 -0
- package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts +10 -0
- package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts.map +1 -0
- package/dist/types/fieldHelpers/helpers/index.d.ts +3 -0
- package/dist/types/fieldHelpers/helpers/index.d.ts.map +1 -0
- package/dist/types/fieldHelpers/index.d.ts +2 -0
- package/dist/types/fieldHelpers/index.d.ts.map +1 -0
- package/dist/types/helperComponents/DeferredSubTrees.d.ts +7 -0
- package/dist/types/helperComponents/DeferredSubTrees.d.ts.map +1 -0
- package/dist/types/helperComponents/EntityView.d.ts +9 -0
- package/dist/types/helperComponents/EntityView.d.ts.map +1 -0
- package/dist/types/helperComponents/FieldView.d.ts +46 -0
- package/dist/types/helperComponents/FieldView.d.ts.map +1 -0
- package/dist/types/helperComponents/StaticRender.d.ts +6 -0
- package/dist/types/helperComponents/StaticRender.d.ts.map +1 -0
- package/dist/types/helperComponents/SugaredField.d.ts +9 -0
- package/dist/types/helperComponents/SugaredField.d.ts.map +1 -0
- package/dist/types/helperComponents/index.d.ts +6 -0
- package/dist/types/helperComponents/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/markers/EntityFieldMarkers.d.ts +7 -0
- package/dist/types/markers/EntityFieldMarkers.d.ts.map +1 -0
- package/dist/types/markers/EntityFieldMarkersContainer.d.ts +13 -0
- package/dist/types/markers/EntityFieldMarkersContainer.d.ts.map +1 -0
- package/dist/types/markers/EntityFieldPlaceholders.d.ts +3 -0
- package/dist/types/markers/EntityFieldPlaceholders.d.ts.map +1 -0
- package/dist/types/markers/EntityFieldsWithHoistablesMarker.d.ts +10 -0
- package/dist/types/markers/EntityFieldsWithHoistablesMarker.d.ts.map +1 -0
- package/dist/types/markers/EntityListSubTreeMarker.d.ts +12 -0
- package/dist/types/markers/EntityListSubTreeMarker.d.ts.map +1 -0
- package/dist/types/markers/EntitySubTreeMarker.d.ts +12 -0
- package/dist/types/markers/EntitySubTreeMarker.d.ts.map +1 -0
- package/dist/types/markers/FieldMarker.d.ts +14 -0
- package/dist/types/markers/FieldMarker.d.ts.map +1 -0
- package/dist/types/markers/HasManyRelationMarker.d.ts +12 -0
- package/dist/types/markers/HasManyRelationMarker.d.ts.map +1 -0
- package/dist/types/markers/HasOneRelationMarker.d.ts +12 -0
- package/dist/types/markers/HasOneRelationMarker.d.ts.map +1 -0
- package/dist/types/markers/MarkerTreeRoot.d.ts +8 -0
- package/dist/types/markers/MarkerTreeRoot.d.ts.map +1 -0
- package/dist/types/markers/MeaningfulMarker.d.ts +7 -0
- package/dist/types/markers/MeaningfulMarker.d.ts.map +1 -0
- package/dist/types/markers/ParentEntityMarker.d.ts +8 -0
- package/dist/types/markers/ParentEntityMarker.d.ts.map +1 -0
- package/dist/types/markers/PlaceholderGenerator.d.ts +9 -0
- package/dist/types/markers/PlaceholderGenerator.d.ts.map +1 -0
- package/dist/types/markers/SubTreeMarkers.d.ts +5 -0
- package/dist/types/markers/SubTreeMarkers.d.ts.map +1 -0
- package/dist/types/markers/index.d.ts +15 -0
- package/dist/types/markers/index.d.ts.map +1 -0
- package/dist/types/queryLanguage/CacheStore.d.ts +9 -0
- package/dist/types/queryLanguage/CacheStore.d.ts.map +1 -0
- package/dist/types/queryLanguage/MarkerFactory.d.ts +21 -0
- package/dist/types/queryLanguage/MarkerFactory.d.ts.map +1 -0
- package/dist/types/queryLanguage/Parser.d.ts +82 -0
- package/dist/types/queryLanguage/Parser.d.ts.map +1 -0
- package/dist/types/queryLanguage/ParserResults.d.ts +63 -0
- package/dist/types/queryLanguage/ParserResults.d.ts.map +1 -0
- package/dist/types/queryLanguage/QueryLanguage.d.ts +44 -0
- package/dist/types/queryLanguage/QueryLanguage.d.ts.map +1 -0
- package/dist/types/queryLanguage/QueryLanguageError.d.ts +3 -0
- package/dist/types/queryLanguage/QueryLanguageError.d.ts.map +1 -0
- package/dist/types/queryLanguage/index.d.ts +6 -0
- package/dist/types/queryLanguage/index.d.ts.map +1 -0
- package/dist/types/queryLanguage/tokenList.d.ts +35 -0
- package/dist/types/queryLanguage/tokenList.d.ts.map +1 -0
- package/dist/types/structures/BijectiveIndexedMap.d.ts +24 -0
- package/dist/types/structures/BijectiveIndexedMap.d.ts.map +1 -0
- package/dist/types/structures/LRUCache.d.ts +9 -0
- package/dist/types/structures/LRUCache.d.ts.map +1 -0
- package/dist/types/structures/WeakIdCache.d.ts +9 -0
- package/dist/types/structures/WeakIdCache.d.ts.map +1 -0
- package/dist/types/structures/index.d.ts +4 -0
- package/dist/types/structures/index.d.ts.map +1 -0
- package/dist/types/treeParameterHelpers/index.d.ts +2 -0
- package/dist/types/treeParameterHelpers/index.d.ts.map +1 -0
- package/dist/types/treeParameterHelpers/wrapFilterInHasOnes.d.ts +3 -0
- package/dist/types/treeParameterHelpers/wrapFilterInHasOnes.d.ts.map +1 -0
- package/dist/types/treeParameters/AnyField.d.ts +8 -0
- package/dist/types/treeParameters/AnyField.d.ts.map +1 -0
- package/dist/types/treeParameters/EntityCreationParameters.d.ts +13 -0
- package/dist/types/treeParameters/EntityCreationParameters.d.ts.map +1 -0
- package/dist/types/treeParameters/EntityListEventListeners.d.ts +15 -0
- package/dist/types/treeParameters/EntityListEventListeners.d.ts.map +1 -0
- package/dist/types/treeParameters/EntityListParameters.d.ts +17 -0
- package/dist/types/treeParameters/EntityListParameters.d.ts.map +1 -0
- package/dist/types/treeParameters/EntityListPreferences.d.ts +8 -0
- package/dist/types/treeParameters/EntityListPreferences.d.ts.map +1 -0
- package/dist/types/treeParameters/EventListenersStore.d.ts +32 -0
- package/dist/types/treeParameters/EventListenersStore.d.ts.map +1 -0
- package/dist/types/treeParameters/FieldEventListeners.d.ts +13 -0
- package/dist/types/treeParameters/FieldEventListeners.d.ts.map +1 -0
- package/dist/types/treeParameters/HasManyRelation.d.ts +10 -0
- package/dist/types/treeParameters/HasManyRelation.d.ts.map +1 -0
- package/dist/types/treeParameters/HasOneRelation.d.ts +13 -0
- package/dist/types/treeParameters/HasOneRelation.d.ts.map +1 -0
- package/dist/types/treeParameters/LeafField.d.ts +14 -0
- package/dist/types/treeParameters/LeafField.d.ts.map +1 -0
- package/dist/types/treeParameters/ParentEntityParameters.d.ts +8 -0
- package/dist/types/treeParameters/ParentEntityParameters.d.ts.map +1 -0
- package/dist/types/treeParameters/QualifiedEntityList.d.ts +19 -0
- package/dist/types/treeParameters/QualifiedEntityList.d.ts.map +1 -0
- package/dist/types/treeParameters/QualifiedEntityParameters.d.ts +17 -0
- package/dist/types/treeParameters/QualifiedEntityParameters.d.ts.map +1 -0
- package/dist/types/treeParameters/QualifiedFieldList.d.ts +17 -0
- package/dist/types/treeParameters/QualifiedFieldList.d.ts.map +1 -0
- package/dist/types/treeParameters/QualifiedSingleEntity.d.ts +20 -0
- package/dist/types/treeParameters/QualifiedSingleEntity.d.ts.map +1 -0
- package/dist/types/treeParameters/QualifiedSingleEntityParameters.d.ts +8 -0
- package/dist/types/treeParameters/QualifiedSingleEntityParameters.d.ts.map +1 -0
- package/dist/types/treeParameters/Relation.d.ts +15 -0
- package/dist/types/treeParameters/Relation.d.ts.map +1 -0
- package/dist/types/treeParameters/RelativeEntityList.d.ts +19 -0
- package/dist/types/treeParameters/RelativeEntityList.d.ts.map +1 -0
- package/dist/types/treeParameters/RelativeSingleEntity.d.ts +13 -0
- package/dist/types/treeParameters/RelativeSingleEntity.d.ts.map +1 -0
- package/dist/types/treeParameters/RelativeSingleField.d.ts +15 -0
- package/dist/types/treeParameters/RelativeSingleField.d.ts.map +1 -0
- package/dist/types/treeParameters/SetOnCreate.d.ts +4 -0
- package/dist/types/treeParameters/SetOnCreate.d.ts.map +1 -0
- package/dist/types/treeParameters/SingleEntityEventListeners.d.ts +16 -0
- package/dist/types/treeParameters/SingleEntityEventListeners.d.ts.map +1 -0
- package/dist/types/treeParameters/SingleEntityParameters.d.ts +8 -0
- package/dist/types/treeParameters/SingleEntityParameters.d.ts.map +1 -0
- package/dist/types/treeParameters/UnconstrainedQualifiedEntityList.d.ts +19 -0
- package/dist/types/treeParameters/UnconstrainedQualifiedEntityList.d.ts.map +1 -0
- package/dist/types/treeParameters/UnconstrainedQualifiedSingleEntity.d.ts +18 -0
- package/dist/types/treeParameters/UnconstrainedQualifiedSingleEntity.d.ts.map +1 -0
- package/dist/types/treeParameters/index.d.ts +27 -0
- package/dist/types/treeParameters/index.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/Alias.d.ts +2 -0
- package/dist/types/treeParameters/primitives/Alias.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/EntityId.d.ts +2 -0
- package/dist/types/treeParameters/primitives/EntityId.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/EntityName.d.ts +2 -0
- package/dist/types/treeParameters/primitives/EntityName.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/EntityRealmKey.d.ts +2 -0
- package/dist/types/treeParameters/primitives/EntityRealmKey.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/ExpectedEntityCount.d.ts +2 -0
- package/dist/types/treeParameters/primitives/ExpectedEntityCount.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/ExpectedQualifiedEntityMutation.d.ts +2 -0
- package/dist/types/treeParameters/primitives/ExpectedQualifiedEntityMutation.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/ExpectedRelationMutation.d.ts +2 -0
- package/dist/types/treeParameters/primitives/ExpectedRelationMutation.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/FieldName.d.ts +2 -0
- package/dist/types/treeParameters/primitives/FieldName.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/FieldValue.d.ts +5 -0
- package/dist/types/treeParameters/primitives/FieldValue.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/Filter.d.ts +4 -0
- package/dist/types/treeParameters/primitives/Filter.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/Limit.d.ts +2 -0
- package/dist/types/treeParameters/primitives/Limit.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/Offset.d.ts +2 -0
- package/dist/types/treeParameters/primitives/Offset.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/OrderBy.d.ts +4 -0
- package/dist/types/treeParameters/primitives/OrderBy.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/PlaceholderName.d.ts +2 -0
- package/dist/types/treeParameters/primitives/PlaceholderName.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/RemovalType.d.ts +2 -0
- package/dist/types/treeParameters/primitives/RemovalType.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/Scalar.d.ts +2 -0
- package/dist/types/treeParameters/primitives/Scalar.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/TreeRootId.d.ts +2 -0
- package/dist/types/treeParameters/primitives/TreeRootId.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/UniqueWhere.d.ts +4 -0
- package/dist/types/treeParameters/primitives/UniqueWhere.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/index.d.ts +19 -0
- package/dist/types/treeParameters/primitives/index.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/dist/types/utils/Hashing.d.ts +10 -0
- package/dist/types/utils/Hashing.d.ts.map +1 -0
- package/dist/types/utils/assert.d.ts +2 -0
- package/dist/types/utils/assert.d.ts.map +1 -0
- package/dist/types/utils/assertNever.d.ts +2 -0
- package/dist/types/utils/assertNever.d.ts.map +1 -0
- package/dist/types/utils/generateEnumerabilityPreventingEntropy.d.ts +2 -0
- package/dist/types/utils/generateEnumerabilityPreventingEntropy.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +7 -0
- package/dist/types/utils/index.d.ts.map +1 -0
- package/dist/types/utils/isEmptyObject.d.ts +2 -0
- package/dist/types/utils/isEmptyObject.d.ts.map +1 -0
- package/dist/types/utils/ucfirst.d.ts +2 -0
- package/dist/types/utils/ucfirst.d.ts.map +1 -0
- package/package.json +9 -12
- package/src/BindingError.ts +5 -0
- package/src/accessorPropagation/AccessorProvider.tsx +17 -0
- package/src/accessorPropagation/BindingOperationsContext.ts +32 -0
- package/src/accessorPropagation/BindingOperationsProvider.tsx +16 -0
- package/src/accessorPropagation/EntityKeyContext.ts +4 -0
- package/src/accessorPropagation/EntityKeyProvider.tsx +11 -0
- package/src/accessorPropagation/EnvironmentContext.ts +5 -0
- package/src/accessorPropagation/TreeRootIdContext.ts +5 -0
- package/src/accessorPropagation/TreeRootIdProvider.tsx +12 -0
- package/src/accessorPropagation/index.ts +29 -0
- package/src/accessorPropagation/useAccessorUpdateSubscription.ts +107 -0
- package/src/accessorPropagation/useBindingOperations.ts +5 -0
- package/src/accessorPropagation/useDesugaredRelativeEntityList.ts +70 -0
- package/src/accessorPropagation/useDesugaredRelativeSingleEntity.ts +58 -0
- package/src/accessorPropagation/useDesugaredRelativeSingleField.ts +58 -0
- package/src/accessorPropagation/useEntity.ts +56 -0
- package/src/accessorPropagation/useEntityKey.ts +15 -0
- package/src/accessorPropagation/useEntityList.ts +49 -0
- package/src/accessorPropagation/useEntityListSubTree.ts +20 -0
- package/src/accessorPropagation/useEntityListSubTreeParameters.ts +88 -0
- package/src/accessorPropagation/useEntitySubTree.ts +19 -0
- package/src/accessorPropagation/useEntitySubTreeParameters.ts +66 -0
- package/src/accessorPropagation/useEnvironment.ts +7 -0
- package/src/accessorPropagation/useField.ts +51 -0
- package/src/accessorPropagation/useGetEntityByKey.ts +4 -0
- package/src/accessorPropagation/useGetEntityListSubTree.ts +28 -0
- package/src/accessorPropagation/useGetEntitySubTree.ts +28 -0
- package/src/accessorPropagation/useGetTreeFilters.ts +4 -0
- package/src/accessorPropagation/useHasEntity.ts +6 -0
- package/src/accessorPropagation/usePersist.ts +4 -0
- package/src/accessorPropagation/useTreeRootId.ts +5 -0
- package/src/accessorSorting/SetOrderFieldOnCreate.tsx +92 -0
- package/src/accessorSorting/SortedEntities.ts +9 -0
- package/src/accessorSorting/addEntityAtIndex.ts +27 -0
- package/src/accessorSorting/errors.ts +18 -0
- package/src/accessorSorting/index.ts +9 -0
- package/src/accessorSorting/moveEntity.ts +66 -0
- package/src/accessorSorting/repairEntitiesOrder.ts +15 -0
- package/src/accessorSorting/sortEntities.ts +20 -0
- package/src/accessorSorting/useSortedEntities.ts +105 -0
- package/src/accessorTree/AccessorTree.tsx +34 -0
- package/src/accessorTree/AccessorTreeState.ts +18 -0
- package/src/accessorTree/AccessorTreeStateAction.ts +15 -0
- package/src/accessorTree/AccessorTreeStateMetadata.ts +3 -0
- package/src/accessorTree/AccessorTreeStateOptions.ts +7 -0
- package/src/accessorTree/DirtinessContext.ts +4 -0
- package/src/accessorTree/MutationRequestResponse.ts +55 -0
- package/src/accessorTree/MutationStateContext.ts +4 -0
- package/src/accessorTree/NormalizedPersistedData.ts +23 -0
- package/src/accessorTree/PersistResult.ts +30 -0
- package/src/accessorTree/QueryRequestResponse.ts +19 -0
- package/src/accessorTree/RequestError.ts +16 -0
- package/src/accessorTree/RuntimeId.ts +49 -0
- package/src/accessorTree/accessorTreeStateReducer.ts +27 -0
- package/src/accessorTree/index.ts +18 -0
- package/src/accessorTree/metadataToRequestError.ts +14 -0
- package/src/accessorTree/useDataBinding.ts +98 -0
- package/src/accessorTree/useDirtinessState.ts +4 -0
- package/src/accessorTree/useMutationState.ts +4 -0
- package/src/accessors/AsyncBatchUpdatesOptions.ts +8 -0
- package/src/accessors/BatchUpdatesOptions.ts +9 -0
- package/src/accessors/BindingConfig.ts +7 -0
- package/src/accessors/BindingOperations.ts +15 -0
- package/src/accessors/EntityAccessor.ts +259 -0
- package/src/accessors/EntityListAccessor.ts +173 -0
- package/src/accessors/ErrorAccessor.ts +39 -0
- package/src/accessors/Errorable.ts +5 -0
- package/src/accessors/ExtendTree.ts +10 -0
- package/src/accessors/FieldAccessor.ts +102 -0
- package/src/accessors/GetEntityByKey.ts +3 -0
- package/src/accessors/GetEntityListSubTree.ts +14 -0
- package/src/accessors/GetEntitySubTree.ts +14 -0
- package/src/accessors/Persist.ts +11 -0
- package/src/accessors/PersistErrorOptions.ts +12 -0
- package/src/accessors/PersistSuccessOptions.ts +5 -0
- package/src/accessors/TreeRootAccessor.ts +14 -0
- package/src/accessors/index.ts +17 -0
- package/src/ambient.d.ts +1 -0
- package/src/bindingTypes.ts +3 -0
- package/src/core/AccessorErrorManager.ts +231 -0
- package/src/core/Config.ts +29 -0
- package/src/core/DataBinding.ts +456 -0
- package/src/core/DirtinessTracker.ts +33 -0
- package/src/core/ErrorsPreprocessor.ts +240 -0
- package/src/core/EventManager.ts +580 -0
- package/src/core/IncrementalMarkerBuilder.ts +60 -0
- package/src/core/MarkerComparator.ts +102 -0
- package/src/core/MarkerMerger.ts +297 -0
- package/src/core/MarkerTreeGenerator.ts +121 -0
- package/src/core/MutationGenerator.ts +716 -0
- package/src/core/QueryGenerator.ts +173 -0
- package/src/core/RealmKeyGenerator.ts +54 -0
- package/src/core/RequestResponseNormalizer.ts +213 -0
- package/src/core/StateInitializer.ts +571 -0
- package/src/core/TreeAugmenter.ts +262 -0
- package/src/core/TreeFilterGenerator.ts +116 -0
- package/src/core/TreeParameterMerger.ts +374 -0
- package/src/core/TreeStore.ts +260 -0
- package/src/core/UpdateMetadata.ts +3 -0
- package/src/core/VariableInputTransformer.ts +23 -0
- package/src/core/exceptions/ErrorLocator.ts +58 -0
- package/src/core/exceptions/LocalizedBindingError.ts +20 -0
- package/src/core/exceptions/MarkerSugarer.ts +61 -0
- package/src/core/exceptions/RawMarkerPath.ts +3 -0
- package/src/core/exceptions/TreeParameterSugarer.ts +41 -0
- package/src/core/exceptions/index.ts +5 -0
- package/src/core/factories/createBatchUpdatesOptions.ts +38 -0
- package/src/core/factories/index.ts +1 -0
- package/src/core/index.ts +5 -0
- package/src/core/operations/EntityOperations.ts +310 -0
- package/src/core/operations/FieldOperations.ts +127 -0
- package/src/core/operations/ListOperations.ts +207 -0
- package/src/core/operations/OperationsHelpers.ts +150 -0
- package/src/core/operations/index.ts +3 -0
- package/src/core/requestAliases/MutationAlias.ts +66 -0
- package/src/core/requestAliases/TopLevelMutationOperation.ts +11 -0
- package/src/core/requestAliases/index.ts +4 -0
- package/src/core/requestAliases/mutationOperationSubTreeType.ts +4 -0
- package/src/core/requestAliases/mutationOperationType.ts +5 -0
- package/src/core/schema/RawSchema.ts +7 -0
- package/src/core/schema/RawSchemaEntity.ts +13 -0
- package/src/core/schema/RawSchemaEnum.ts +6 -0
- package/src/core/schema/Schema.ts +11 -0
- package/src/core/schema/SchemaColumn.ts +15 -0
- package/src/core/schema/SchemaColumnType.ts +3 -0
- package/src/core/schema/SchemaEntities.ts +4 -0
- package/src/core/schema/SchemaEntity.ts +10 -0
- package/src/core/schema/SchemaEnums.ts +3 -0
- package/src/core/schema/SchemaField.ts +4 -0
- package/src/core/schema/SchemaFields.ts +4 -0
- package/src/core/schema/SchemaLoader.ts +62 -0
- package/src/core/schema/SchemaPreprocessor.ts +51 -0
- package/src/core/schema/SchemaRelation.ts +29 -0
- package/src/core/schema/SchemaRelationOrderBy.ts +4 -0
- package/src/core/schema/SchemaStore.ts +8 -0
- package/src/core/schema/SchemaUniqueConstraint.ts +5 -0
- package/src/core/schema/SchemaValidator.ts +238 -0
- package/src/core/schema/index.ts +14 -0
- package/src/core/state/EntityListState.ts +37 -0
- package/src/core/state/EntityRealmState.ts +63 -0
- package/src/core/state/EntityState.ts +12 -0
- package/src/core/state/FieldState.ts +20 -0
- package/src/core/state/StateIterator.ts +122 -0
- package/src/core/state/StateNode.ts +8 -0
- package/src/core/state/getEntityMarker.ts +4 -0
- package/src/core/state/index.ts +7 -0
- package/src/core/utils/getCombinedSignal.ts +36 -0
- package/src/core/utils/index.ts +1 -0
- package/src/coreComponents/Component.tsx +61 -0
- package/src/coreComponents/DataBindingProvider.tsx +45 -0
- package/src/coreComponents/Entity.tsx +23 -0
- package/src/coreComponents/EntityList.tsx +52 -0
- package/src/coreComponents/EntityListSubTree.tsx +85 -0
- package/src/coreComponents/EntitySubTree.tsx +98 -0
- package/src/coreComponents/Field.tsx +39 -0
- package/src/coreComponents/HasMany.tsx +46 -0
- package/src/coreComponents/HasOne.tsx +39 -0
- package/src/coreComponents/MarkerProvider.ts +59 -0
- package/src/coreComponents/ParentEntity.tsx +17 -0
- package/src/coreComponents/index.ts +11 -0
- package/src/dao/Environment.ts +201 -0
- package/src/dao/VariableFieldValue.ts +3 -0
- package/src/dao/index.ts +2 -0
- package/src/entityEvents/index.ts +7 -0
- package/src/entityEvents/useDerivedField.ts +64 -0
- package/src/entityEvents/useEntityBeforePersist.ts +6 -0
- package/src/entityEvents/useEntityBeforeUpdate.ts +6 -0
- package/src/entityEvents/useEntityEvent.ts +57 -0
- package/src/entityEvents/useEntityPersistError.ts +6 -0
- package/src/entityEvents/useEntityPersistSuccess.ts +6 -0
- package/src/entityEvents/useOnConnectionUpdate.ts +10 -0
- package/src/fieldHelpers/helpers/FieldHelper.ts +10 -0
- package/src/fieldHelpers/helpers/TemporalFieldHelper.ts +21 -0
- package/src/fieldHelpers/helpers/UuidFieldHelper.ts +18 -0
- package/src/fieldHelpers/helpers/index.ts +2 -0
- package/src/fieldHelpers/index.ts +1 -0
- package/src/helperComponents/DeferredSubTrees.tsx +116 -0
- package/src/helperComponents/EntityView.tsx +16 -0
- package/src/helperComponents/FieldView.tsx +129 -0
- package/src/helperComponents/StaticRender.tsx +12 -0
- package/src/helperComponents/SugaredField.tsx +15 -0
- package/src/helperComponents/index.ts +5 -0
- package/src/index.ts +19 -0
- package/src/markers/EntityFieldMarkers.ts +7 -0
- package/src/markers/EntityFieldMarkersContainer.ts +45 -0
- package/src/markers/EntityFieldPlaceholders.ts +3 -0
- package/src/markers/EntityFieldsWithHoistablesMarker.ts +11 -0
- package/src/markers/EntityListSubTreeMarker.ts +20 -0
- package/src/markers/EntitySubTreeMarker.ts +20 -0
- package/src/markers/FieldMarker.ts +19 -0
- package/src/markers/HasManyRelationMarker.ts +27 -0
- package/src/markers/HasOneRelationMarker.ts +21 -0
- package/src/markers/MarkerTreeRoot.ts +9 -0
- package/src/markers/MeaningfulMarker.ts +12 -0
- package/src/markers/ParentEntityMarker.ts +9 -0
- package/src/markers/PlaceholderGenerator.ts +36 -0
- package/src/markers/SubTreeMarkers.ts +5 -0
- package/src/markers/index.ts +14 -0
- package/src/queryLanguage/CacheStore.ts +56 -0
- package/src/queryLanguage/MarkerFactory.ts +300 -0
- package/src/queryLanguage/Parser.ts +859 -0
- package/src/queryLanguage/ParserResults.ts +81 -0
- package/src/queryLanguage/QueryLanguage.ts +730 -0
- package/src/queryLanguage/QueryLanguageError.ts +1 -0
- package/src/queryLanguage/index.ts +5 -0
- package/src/queryLanguage/tokenList.ts +175 -0
- package/src/structures/BijectiveIndexedMap.ts +139 -0
- package/src/structures/LRUCache.ts +29 -0
- package/src/structures/WeakIdCache.ts +25 -0
- package/src/structures/index.ts +3 -0
- package/src/treeParameterHelpers/index.ts +1 -0
- package/src/treeParameterHelpers/wrapFilterInHasOnes.ts +21 -0
- package/src/treeParameters/AnyField.ts +9 -0
- package/src/treeParameters/EntityCreationParameters.ts +34 -0
- package/src/treeParameters/EntityListEventListeners.ts +20 -0
- package/src/treeParameters/EntityListParameters.ts +19 -0
- package/src/treeParameters/EntityListPreferences.ts +11 -0
- package/src/treeParameters/EventListenersStore.ts +81 -0
- package/src/treeParameters/FieldEventListeners.ts +22 -0
- package/src/treeParameters/HasManyRelation.ts +18 -0
- package/src/treeParameters/HasOneRelation.ts +21 -0
- package/src/treeParameters/LeafField.ts +18 -0
- package/src/treeParameters/ParentEntityParameters.ts +10 -0
- package/src/treeParameters/QualifiedEntityList.ts +43 -0
- package/src/treeParameters/QualifiedEntityParameters.ts +20 -0
- package/src/treeParameters/QualifiedFieldList.ts +36 -0
- package/src/treeParameters/QualifiedSingleEntity.ts +46 -0
- package/src/treeParameters/QualifiedSingleEntityParameters.ts +9 -0
- package/src/treeParameters/Relation.ts +17 -0
- package/src/treeParameters/RelativeEntityList.ts +25 -0
- package/src/treeParameters/RelativeSingleEntity.ts +16 -0
- package/src/treeParameters/RelativeSingleField.ts +20 -0
- package/src/treeParameters/SetOnCreate.ts +6 -0
- package/src/treeParameters/SingleEntityEventListeners.ts +24 -0
- package/src/treeParameters/SingleEntityParameters.ts +9 -0
- package/src/treeParameters/UnconstrainedQualifiedEntityList.ts +37 -0
- package/src/treeParameters/UnconstrainedQualifiedSingleEntity.ts +37 -0
- package/src/treeParameters/index.ts +27 -0
- package/src/treeParameters/primitives/Alias.ts +1 -0
- package/src/treeParameters/primitives/EntityId.ts +2 -0
- package/src/treeParameters/primitives/EntityName.ts +4 -0
- package/src/treeParameters/primitives/EntityRealmKey.ts +2 -0
- package/src/treeParameters/primitives/ExpectedEntityCount.ts +1 -0
- package/src/treeParameters/primitives/ExpectedQualifiedEntityMutation.ts +1 -0
- package/src/treeParameters/primitives/ExpectedRelationMutation.ts +1 -0
- package/src/treeParameters/primitives/FieldName.ts +7 -0
- package/src/treeParameters/primitives/FieldValue.ts +6 -0
- package/src/treeParameters/primitives/Filter.ts +7 -0
- package/src/treeParameters/primitives/Limit.ts +1 -0
- package/src/treeParameters/primitives/Offset.ts +1 -0
- package/src/treeParameters/primitives/OrderBy.ts +6 -0
- package/src/treeParameters/primitives/PlaceholderName.ts +4 -0
- package/src/treeParameters/primitives/RemovalType.ts +1 -0
- package/src/treeParameters/primitives/Scalar.ts +1 -0
- package/src/treeParameters/primitives/TreeRootId.ts +1 -0
- package/src/treeParameters/primitives/UniqueWhere.ts +7 -0
- package/src/treeParameters/primitives/index.ts +18 -0
- package/src/tsconfig.json +12 -0
- package/src/utils/Hashing.ts +81 -0
- package/src/utils/assert.ts +7 -0
- package/src/utils/assertNever.ts +10 -0
- package/src/utils/generateEnumerabilityPreventingEntropy.ts +3 -0
- package/src/utils/index.ts +6 -0
- package/src/utils/isEmptyObject.ts +9 -0
- package/src/utils/ucfirst.ts +1 -0
- package/dist/binding.d.ts +0 -2247
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { ListOperations } from '../core/operations';
|
|
2
|
+
import type { Environment } from '../dao';
|
|
3
|
+
import type { EntityId, EntityRealmKey } from '../treeParameters';
|
|
4
|
+
import type { AsyncBatchUpdatesOptions } from './AsyncBatchUpdatesOptions';
|
|
5
|
+
import type { BatchUpdatesOptions } from './BatchUpdatesOptions';
|
|
6
|
+
import type { EntityAccessor } from './EntityAccessor';
|
|
7
|
+
import type { Errorable } from './Errorable';
|
|
8
|
+
import { ErrorAccessor } from './ErrorAccessor';
|
|
9
|
+
import type { PersistErrorOptions } from './PersistErrorOptions';
|
|
10
|
+
import type { PersistSuccessOptions } from './PersistSuccessOptions';
|
|
11
|
+
import type { EntityListState } from '../core/state';
|
|
12
|
+
import { RuntimeId } from '../accessorTree';
|
|
13
|
+
declare class EntityListAccessor implements Errorable {
|
|
14
|
+
private readonly stateKey;
|
|
15
|
+
private readonly operations;
|
|
16
|
+
private readonly _children;
|
|
17
|
+
private readonly _idsPersistedOnServer;
|
|
18
|
+
readonly hasUnpersistedChanges: boolean;
|
|
19
|
+
readonly errors: ErrorAccessor | undefined;
|
|
20
|
+
readonly environment: Environment;
|
|
21
|
+
readonly getAccessor: EntityListAccessor.GetEntityListAccessor;
|
|
22
|
+
constructor(stateKey: EntityListState, operations: ListOperations, _children: ReadonlyMap<EntityId, {
|
|
23
|
+
getAccessor: EntityAccessor.GetEntityAccessor;
|
|
24
|
+
}>, _idsPersistedOnServer: ReadonlySet<string>, hasUnpersistedChanges: boolean, errors: ErrorAccessor | undefined, environment: Environment, getAccessor: EntityListAccessor.GetEntityListAccessor);
|
|
25
|
+
/**
|
|
26
|
+
* Returns all entity keys that are on the list.
|
|
27
|
+
* **KEYS ARE NOT IDS!**
|
|
28
|
+
* @see EntityAccessor.key
|
|
29
|
+
*/
|
|
30
|
+
keys(): IterableIterator<EntityRealmKey>;
|
|
31
|
+
ids(): IterableIterator<EntityId>;
|
|
32
|
+
/**
|
|
33
|
+
* This will only contain the ids that the server knows about. Not necessarily the ids that have been added on
|
|
34
|
+
* the list since the last server query.
|
|
35
|
+
*/
|
|
36
|
+
get idsPersistedOnServer(): Set<string>;
|
|
37
|
+
[Symbol.iterator](): IterableIterator<EntityAccessor>;
|
|
38
|
+
hasEntityId(id: EntityId): boolean;
|
|
39
|
+
isEmpty(): boolean;
|
|
40
|
+
get length(): number;
|
|
41
|
+
hasEntityOnServer(entityOrItsId: EntityAccessor | EntityId): boolean;
|
|
42
|
+
deleteAll(): void;
|
|
43
|
+
disconnectAll(): void;
|
|
44
|
+
addError(error: ErrorAccessor.Error | string): () => void;
|
|
45
|
+
addEventListener<Type extends keyof EntityListAccessor.RuntimeEntityListEventListenerMap>(event: {
|
|
46
|
+
type: Type;
|
|
47
|
+
key?: string;
|
|
48
|
+
}, listener: EntityListAccessor.RuntimeEntityListEventListenerMap[Type]): () => void;
|
|
49
|
+
addChildEventListener<Type extends keyof EntityAccessor.EntityEventListenerMap>(state: EntityListState, event: {
|
|
50
|
+
type: Type;
|
|
51
|
+
key?: string;
|
|
52
|
+
}, listener: EntityAccessor.EntityEventListenerMap[Type]): () => void;
|
|
53
|
+
batchUpdates(performUpdates: EntityListAccessor.BatchUpdatesHandler): void;
|
|
54
|
+
connectEntity(entityToConnect: EntityAccessor): void;
|
|
55
|
+
createNewEntity(initialize?: EntityAccessor.BatchUpdatesHandler): RuntimeId;
|
|
56
|
+
disconnectEntity(childEntity: EntityAccessor, options?: {
|
|
57
|
+
noPersist?: boolean;
|
|
58
|
+
}): void;
|
|
59
|
+
getChildEntityById(id: EntityId): EntityAccessor;
|
|
60
|
+
}
|
|
61
|
+
declare namespace EntityListAccessor {
|
|
62
|
+
type GetEntityListAccessor = () => EntityListAccessor;
|
|
63
|
+
type BatchUpdatesHandler = (getAccessor: GetEntityListAccessor, options: BatchUpdatesOptions) => void;
|
|
64
|
+
type UpdateListener = (accessor: EntityListAccessor) => void;
|
|
65
|
+
type BeforePersistHandler = (getAccessor: GetEntityListAccessor, options: AsyncBatchUpdatesOptions) => void | Promise<void | BeforePersistHandler>;
|
|
66
|
+
type PersistErrorHandler = (getAccessor: GetEntityListAccessor, options: PersistErrorOptions) => void | Promise<void>;
|
|
67
|
+
type PersistSuccessHandler = (getAccessor: GetEntityListAccessor, options: PersistSuccessOptions) => void | Promise<void | PersistSuccessHandler>;
|
|
68
|
+
type ChildEventListenerMap = {
|
|
69
|
+
[EventType in keyof Pick<EntityAccessor.EntityEventListenerMap, 'beforeUpdate' | 'initialize' | 'update'> & string as `child${Capitalize<EventType>}`]: EntityAccessor.EntityEventListenerMap[EventType];
|
|
70
|
+
};
|
|
71
|
+
interface RuntimeEntityListEventListenerMap {
|
|
72
|
+
beforePersist: BeforePersistHandler;
|
|
73
|
+
beforeUpdate: BatchUpdatesHandler;
|
|
74
|
+
persistError: PersistErrorHandler;
|
|
75
|
+
persistSuccess: PersistSuccessHandler;
|
|
76
|
+
update: UpdateListener;
|
|
77
|
+
}
|
|
78
|
+
interface EntityListEventListenerMap extends RuntimeEntityListEventListenerMap {
|
|
79
|
+
initialize: BatchUpdatesHandler;
|
|
80
|
+
}
|
|
81
|
+
type EntityListEventType = keyof EntityListEventListenerMap;
|
|
82
|
+
}
|
|
83
|
+
export { EntityListAccessor };
|
|
84
|
+
//# sourceMappingURL=EntityListAccessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityListAccessor.d.ts","sourceRoot":"","sources":["../../../src/accessors/EntityListAccessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,cAAM,kBA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IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEzB,KAAY,qBAAqB,GAAG,CACnC,WAAW,EAAE,qBAAqB,EAClC,OAAO,EAAE,qBAAqB,KAC1B,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,qBAAqB,CAAC,CAAA;IAEjD,KAAY,qBAAqB,GAAG;SAClC,SAAS,IAAI,MAAM,IAAI,CAAC,cAAc,CAAC,sBAAsB,EAAE,cAAc,GAAG,YAAY,GAAG,QAAQ,CAAC,GACxG,MAAM,IAAI,QAAQ,UAAU,CAAC,SAAS,CAAC,EAAE,GAAG,cAAc,CAAC,sBAAsB,CAAC,SAAS,CAAC;KAC7F,CAAA;IAED,UAAiB,iCAAiC;QACjD,aAAa,EAAE,oBAAoB,CAAA;QACnC,YAAY,EAAE,mBAAmB,CAAA;QACjC,YAAY,EAAE,mBAAmB,CAAA;QACjC,cAAc,EAAE,qBAAqB,CAAA;QACrC,MAAM,EAAE,cAAc,CAAA;KACtB;IACD,UAAiB,0BAA2B,SAAQ,iCAAiC;QACpF,UAAU,EAAE,mBAAmB,CAAA;KAC/B;IACD,KAAY,mBAAmB,GAAG,MAAM,0BAA0B,CAAA;CAClE;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Result } from '@contember/client';
|
|
2
|
+
declare class ErrorAccessor {
|
|
3
|
+
readonly errors: ErrorAccessor.Error[];
|
|
4
|
+
constructor(errors: ErrorAccessor.Error[]);
|
|
5
|
+
}
|
|
6
|
+
declare namespace ErrorAccessor {
|
|
7
|
+
type ErrorId = number;
|
|
8
|
+
type Error = ExecutionError | ValidationError;
|
|
9
|
+
type ErrorsById = Map<ErrorId, Error>;
|
|
10
|
+
type ExecutionErrors = ExecutionError[];
|
|
11
|
+
interface ExecutionError {
|
|
12
|
+
type: 'execution';
|
|
13
|
+
code: Result.ExecutionErrorType;
|
|
14
|
+
developerMessage: string | null;
|
|
15
|
+
}
|
|
16
|
+
type ValidationErrors = ValidationError[];
|
|
17
|
+
interface ValidationError {
|
|
18
|
+
type: 'validation';
|
|
19
|
+
code: WellKnownErrorCode | string | undefined;
|
|
20
|
+
message: string;
|
|
21
|
+
}
|
|
22
|
+
type WellKnownErrorCode = 'fieldRequired';
|
|
23
|
+
const normalizeError: (error: Error | string) => Error;
|
|
24
|
+
}
|
|
25
|
+
export { ErrorAccessor };
|
|
26
|
+
//# sourceMappingURL=ErrorAccessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorAccessor.d.ts","sourceRoot":"","sources":["../../../src/accessors/ErrorAccessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C,cAAM,aAAa;aAED,MAAM,EAAE,aAAa,CAAC,KAAK,EAAE;gBAA7B,MAAM,EAAE,aAAa,CAAC,KAAK,EAAE;CAG9C;AAED,kBAAU,aAAa,CAAC;IACvB,KAAY,OAAO,GAAG,MAAM,CAAA;IAC5B,KAAY,KAAK,GAAG,cAAc,GAAG,eAAe,CAAA;IACpD,KAAY,UAAU,GAAG,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;IAE5C,KAAY,eAAe,GAAG,cAAc,EAAE,CAAA;IAE9C,UAAiB,cAAc;QAC9B,IAAI,EAAE,WAAW,CAAA;QACjB,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAA;QAC/B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAA;KAC/B;IAED,KAAY,gBAAgB,GAAG,eAAe,EAAE,CAAA;IAEhD,UAAiB,eAAe;QAC/B,IAAI,EAAE,YAAY,CAAA;QAClB,IAAI,EAAE,kBAAkB,GAAG,MAAM,GAAG,SAAS,CAAA;QAC7C,OAAO,EAAE,MAAM,CAAA;KACf;IAED,KAAY,kBAAkB,GAAG,eAAe,CAAA;IAEzC,MAAM,cAAc,UAAW,KAAK,GAAG,MAAM,KAAG,KAI9C,CAAA;CACT;AACD,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Errorable.d.ts","sourceRoot":"","sources":["../../../src/accessors/Errorable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEpD,MAAM,WAAW,SAAS;IACzB,MAAM,EAAE,aAAa,GAAG,SAAS,CAAA;CACjC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Environment } from '../dao';
|
|
3
|
+
import type { TreeRootId } from '../treeParameters';
|
|
4
|
+
export interface ExtendTreeOptions {
|
|
5
|
+
signal?: AbortSignal;
|
|
6
|
+
environment?: Environment;
|
|
7
|
+
}
|
|
8
|
+
export declare type ExtendTree = (newFragment: ReactNode, options?: ExtendTreeOptions) => Promise<TreeRootId | undefined>;
|
|
9
|
+
//# sourceMappingURL=ExtendTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExtendTree.d.ts","sourceRoot":"","sources":["../../../src/accessors/ExtendTree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,WAAW,iBAAiB;IACjC,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,WAAW,CAAC,EAAE,WAAW,CAAA;CACzB;AAED,oBAAY,UAAU,GAAG,CAAC,WAAW,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,iBAAiB,KAAK,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { FieldOperations } from '../core/operations';
|
|
2
|
+
import type { FieldState } from '../core/state';
|
|
3
|
+
import { TemporalFieldHelper, UuidFieldHelper } from '../fieldHelpers';
|
|
4
|
+
import type { FieldName, FieldValue } from '../treeParameters';
|
|
5
|
+
import type { BatchUpdatesOptions } from './BatchUpdatesOptions';
|
|
6
|
+
import type { Errorable } from './Errorable';
|
|
7
|
+
import { ErrorAccessor } from './ErrorAccessor';
|
|
8
|
+
import type { SchemaColumn } from '../core/schema/SchemaColumn';
|
|
9
|
+
declare class FieldAccessor<Value extends FieldValue = FieldValue> implements Errorable {
|
|
10
|
+
private readonly stateKey;
|
|
11
|
+
private readonly operations;
|
|
12
|
+
readonly fieldName: FieldName;
|
|
13
|
+
readonly value: Value | null;
|
|
14
|
+
readonly valueOnServer: Value | null;
|
|
15
|
+
readonly defaultValue: Value | undefined;
|
|
16
|
+
readonly errors: ErrorAccessor | undefined;
|
|
17
|
+
readonly hasUnpersistedChanges: boolean;
|
|
18
|
+
private readonly touchLog;
|
|
19
|
+
readonly getAccessor: FieldAccessor.GetFieldAccessor<Value>;
|
|
20
|
+
readonly schema: SchemaColumn;
|
|
21
|
+
constructor(stateKey: FieldState<Value>, operations: FieldOperations, fieldName: FieldName, value: Value | null, valueOnServer: Value | null, defaultValue: Value | undefined, errors: ErrorAccessor | undefined, hasUnpersistedChanges: boolean, touchLog: ReadonlySet<string> | undefined, getAccessor: FieldAccessor.GetFieldAccessor<Value>, schema: SchemaColumn);
|
|
22
|
+
addError(error: ErrorAccessor.Error | string): () => void;
|
|
23
|
+
clearErrors(): void;
|
|
24
|
+
addEventListener<Type extends keyof FieldAccessor.FieldEventListenerMap<Value>>(event: {
|
|
25
|
+
type: Type;
|
|
26
|
+
key?: string;
|
|
27
|
+
}, listener: FieldAccessor.FieldEventListenerMap<Value>[Type]): () => void;
|
|
28
|
+
updateValue(newValue: Value | null, options?: FieldAccessor.UpdateOptions): void;
|
|
29
|
+
hasValue(candidate: this['value']): boolean;
|
|
30
|
+
isTouchedBy(agent: string): boolean;
|
|
31
|
+
get isTouched(): boolean;
|
|
32
|
+
get resolvedValue(): Value | null;
|
|
33
|
+
get asTemporal(): TemporalFieldHelper;
|
|
34
|
+
get asUuid(): UuidFieldHelper;
|
|
35
|
+
}
|
|
36
|
+
declare namespace FieldAccessor {
|
|
37
|
+
const userAgent = "user";
|
|
38
|
+
interface UpdateOptions {
|
|
39
|
+
agent?: string;
|
|
40
|
+
}
|
|
41
|
+
type GetFieldAccessor<Value extends FieldValue = FieldValue> = () => FieldAccessor<Value>;
|
|
42
|
+
type BeforeUpdateListener<Value extends FieldValue = FieldValue> = (updatedAccessor: FieldAccessor<Value>) => void;
|
|
43
|
+
type InitializeListener<Value extends FieldValue = FieldValue> = (getAccessor: GetFieldAccessor<Value>, options: BatchUpdatesOptions) => void;
|
|
44
|
+
type UpdateListener<Value extends FieldValue = FieldValue> = (accessor: FieldAccessor<Value>) => void;
|
|
45
|
+
interface RuntimeFieldEventListenerMap<Value extends FieldValue = FieldValue> {
|
|
46
|
+
beforeUpdate: BeforeUpdateListener<Value>;
|
|
47
|
+
update: UpdateListener<Value>;
|
|
48
|
+
}
|
|
49
|
+
interface FieldEventListenerMap<Value extends FieldValue = FieldValue> extends RuntimeFieldEventListenerMap<Value> {
|
|
50
|
+
initialize: InitializeListener<Value>;
|
|
51
|
+
}
|
|
52
|
+
type FieldEventType = keyof FieldEventListenerMap;
|
|
53
|
+
}
|
|
54
|
+
export { FieldAccessor };
|
|
55
|
+
//# sourceMappingURL=FieldAccessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FieldAccessor.d.ts","sourceRoot":"","sources":["../../../src/accessors/FieldAccessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO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,CAAA;IAE5G,UAAiB,4BAA4B,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU;QAClF,YAAY,EAAE,oBAAoB,CAAC,KAAK,CAAC,CAAA;QACzC,MAAM,EAAE,cAAc,CAAC,KAAK,CAAC,CAAA;KAC7B;IACD,UAAiB,qBAAqB,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU,CAC3E,SAAQ,4BAA4B,CAAC,KAAK,CAAC;QAC3C,UAAU,EAAE,kBAAkB,CAAC,KAAK,CAAC,CAAA;KACrC;IACD,KAAY,cAAc,GAAG,MAAM,qBAAqB,CAAA;CACxD;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetEntityByKey.d.ts","sourceRoot":"","sources":["../../../src/accessors/GetEntityByKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,oBAAY,cAAc,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,cAAc,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Environment } from '../dao';
|
|
2
|
+
import type { Alias, SugaredQualifiedEntityList, SugaredUnconstrainedQualifiedEntityList, TreeRootId } from '../treeParameters';
|
|
3
|
+
import type { EntityListAccessor } from './EntityListAccessor';
|
|
4
|
+
export declare type GetEntityListSubTree = (parametersOrAlias: Alias | SugaredQualifiedEntityList | SugaredUnconstrainedQualifiedEntityList, treeId?: TreeRootId, environment?: Environment) => EntityListAccessor;
|
|
5
|
+
//# sourceMappingURL=GetEntityListSubTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetEntityListSubTree.d.ts","sourceRoot":"","sources":["../../../src/accessors/GetEntityListSubTree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,EACX,KAAK,EACL,0BAA0B,EAC1B,uCAAuC,EACvC,UAAU,EACV,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D,oBAAY,oBAAoB,GAAG,CAClC,iBAAiB,EAAE,KAAK,GAAG,0BAA0B,GAAG,uCAAuC,EAC/F,MAAM,CAAC,EAAE,UAAU,EACnB,WAAW,CAAC,EAAE,WAAW,KACrB,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Environment } from '../dao';
|
|
2
|
+
import type { Alias, SugaredQualifiedSingleEntity, SugaredUnconstrainedQualifiedSingleEntity, TreeRootId } from '../treeParameters';
|
|
3
|
+
import type { EntityAccessor } from './EntityAccessor';
|
|
4
|
+
export declare type GetEntitySubTree = (parametersOrAlias: Alias | SugaredQualifiedSingleEntity | SugaredUnconstrainedQualifiedSingleEntity, treeId?: TreeRootId, environment?: Environment) => EntityAccessor;
|
|
5
|
+
//# sourceMappingURL=GetEntitySubTree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetEntitySubTree.d.ts","sourceRoot":"","sources":["../../../src/accessors/GetEntitySubTree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,EACX,KAAK,EACL,4BAA4B,EAC5B,yCAAyC,EACzC,UAAU,EACV,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,oBAAY,gBAAgB,GAAG,CAC9B,iBAAiB,EAAE,KAAK,GAAG,4BAA4B,GAAG,yCAAyC,EACnG,MAAM,CAAC,EAAE,UAAU,EACnB,WAAW,CAAC,EAAE,WAAW,KACrB,cAAc,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SuccessfulPersistResult } from '../accessorTree';
|
|
2
|
+
import type { PersistErrorOptions } from './PersistErrorOptions';
|
|
3
|
+
import type { PersistSuccessOptions } from './PersistSuccessOptions';
|
|
4
|
+
export interface PersistOptions {
|
|
5
|
+
signal?: AbortSignal;
|
|
6
|
+
onPersistSuccess?: (options: PersistSuccessOptions) => void | Promise<void>;
|
|
7
|
+
onPersistError?: (options: PersistErrorOptions) => void | Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
export declare type Persist = (options?: PersistOptions) => Promise<SuccessfulPersistResult>;
|
|
10
|
+
//# sourceMappingURL=Persist.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Persist.d.ts","sourceRoot":"","sources":["../../../src/accessors/Persist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAChE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAEpE,MAAM,WAAW,cAAc;IAC9B,MAAM,CAAC,EAAE,WAAW,CAAA;IACpB,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,qBAAqB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAC3E,cAAc,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACvE;AAED,oBAAY,OAAO,GAAG,CAAC,OAAO,CAAC,EAAE,cAAc,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AsyncBatchUpdatesOptions } from './AsyncBatchUpdatesOptions';
|
|
2
|
+
export interface ScheduleAnotherPersistOptions {
|
|
3
|
+
proposedBackoff?: number;
|
|
4
|
+
}
|
|
5
|
+
export declare type ScheduleAnotherPersist = (options?: ScheduleAnotherPersistOptions) => void;
|
|
6
|
+
export interface PersistErrorOptions extends AsyncBatchUpdatesOptions {
|
|
7
|
+
attemptNumber: number;
|
|
8
|
+
tryAgain: ScheduleAnotherPersist;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=PersistErrorOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersistErrorOptions.d.ts","sourceRoot":"","sources":["../../../src/accessors/PersistErrorOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAE1E,MAAM,WAAW,6BAA6B;IAC7C,eAAe,CAAC,EAAE,MAAM,CAAA;CACxB;AAED,oBAAY,sBAAsB,GAAG,CAAC,OAAO,CAAC,EAAE,6BAA6B,KAAK,IAAI,CAAA;AAEtF,MAAM,WAAW,mBAAoB,SAAQ,wBAAwB;IACpE,aAAa,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,sBAAsB,CAAA;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PersistSuccessOptions.d.ts","sourceRoot":"","sources":["../../../src/accessors/PersistSuccessOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAE1E,MAAM,WAAW,qBAAsB,SAAQ,wBAAwB;IACtE,WAAW,EAAE,aAAa,GAAG,kBAAkB,CAAA;CAC/C"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BindingOperations } from './BindingOperations';
|
|
2
|
+
export declare class TreeRootAccessor {
|
|
3
|
+
readonly hasUnpersistedChanges: boolean;
|
|
4
|
+
readonly isMutating: boolean;
|
|
5
|
+
readonly bindingOperations: BindingOperations;
|
|
6
|
+
/**
|
|
7
|
+
* Whenever an update occurs, a new instance of this class is created.
|
|
8
|
+
*/
|
|
9
|
+
constructor(hasUnpersistedChanges: boolean, isMutating: boolean, bindingOperations: BindingOperations);
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=TreeRootAccessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeRootAccessor.d.ts","sourceRoot":"","sources":["../../../src/accessors/TreeRootAccessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D,qBAAa,gBAAgB;aAKX,qBAAqB,EAAE,OAAO;aAC9B,UAAU,EAAE,OAAO;aACnB,iBAAiB,EAAE,iBAAiB;IANrD;;OAEG;gBAEc,qBAAqB,EAAE,OAAO,EAC9B,UAAU,EAAE,OAAO,EACnB,iBAAiB,EAAE,iBAAiB;CAErD"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './AsyncBatchUpdatesOptions';
|
|
2
|
+
export * from './BatchUpdatesOptions';
|
|
3
|
+
export * from './BindingConfig';
|
|
4
|
+
export * from './BindingOperations';
|
|
5
|
+
export * from './EntityAccessor';
|
|
6
|
+
export * from './EntityListAccessor';
|
|
7
|
+
export * from './Errorable';
|
|
8
|
+
export * from './ErrorAccessor';
|
|
9
|
+
export * from './ExtendTree';
|
|
10
|
+
export * from './FieldAccessor';
|
|
11
|
+
export * from './GetEntityByKey';
|
|
12
|
+
export * from './GetEntityListSubTree';
|
|
13
|
+
export * from './GetEntitySubTree';
|
|
14
|
+
export * from './Persist';
|
|
15
|
+
export * from './PersistErrorOptions';
|
|
16
|
+
export * from './PersistSuccessOptions';
|
|
17
|
+
export * from './TreeRootAccessor';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/accessors/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA;AACrC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,WAAW,CAAA;AACzB,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bindingTypes.d.ts","sourceRoot":"","sources":["../../src/bindingTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,OAAO,CAAA;AACpC,eAAO,MAAM,iBAAiB,eAAe,CAAA;AAC7C,eAAO,MAAM,QAAQ,yCAAyC,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ErrorAccessor } from '../accessors';
|
|
2
|
+
import type { MutationDataResponse } from '../accessorTree';
|
|
3
|
+
import { EventManager } from './EventManager';
|
|
4
|
+
import { StateNode } from './state';
|
|
5
|
+
import type { TreeStore } from './TreeStore';
|
|
6
|
+
export declare class AccessorErrorManager {
|
|
7
|
+
private readonly eventManager;
|
|
8
|
+
private readonly treeStore;
|
|
9
|
+
private errorsByState;
|
|
10
|
+
private getNewErrorId;
|
|
11
|
+
constructor(eventManager: EventManager, treeStore: TreeStore);
|
|
12
|
+
hasErrors(): boolean;
|
|
13
|
+
getErrors(): ErrorAccessor.Error[];
|
|
14
|
+
clearErrors(): void;
|
|
15
|
+
clearErrorsByState(state: StateNode): void;
|
|
16
|
+
replaceErrors(data: MutationDataResponse): void;
|
|
17
|
+
addError(state: StateNode, error: ErrorAccessor.Error): () => void;
|
|
18
|
+
private addSeveralErrors;
|
|
19
|
+
private setRootStateErrors;
|
|
20
|
+
private setEntityStateErrors;
|
|
21
|
+
private setEntityListStateErrors;
|
|
22
|
+
private dumpErrorData;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=AccessorErrorManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccessorErrorManager.d.ts","sourceRoot":"","sources":["../../../src/core/AccessorErrorManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,EAAkB,oBAAoB,EAAmB,MAAM,iBAAiB,CAAA;AAE5F,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAsD,SAAS,EAAE,MAAM,SAAS,CAAA;AACvF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE5C,qBAAa,oBAAoB;IASb,OAAO,CAAC,QAAQ,CAAC,YAAY;IAAgB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAR1F,OAAO,CAAC,aAAa,CAAsD;IAE3E,OAAO,CAAC,aAAa,CAIjB;gBAEgC,YAAY,EAAE,YAAY,EAAmB,SAAS,EAAE,SAAS;IAE9F,SAAS;IAIT,SAAS,IAAI,aAAa,CAAC,KAAK,EAAE;IAIlC,WAAW;IAUX,kBAAkB,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAW1C,aAAa,CAAC,IAAI,EAAE,oBAAoB;IAaxC,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,aAAa,CAAC,KAAK,GAAG,MAAM,IAAI;IA8BzE,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,kBAAkB;IAsB1B,OAAO,CAAC,oBAAoB;IA6C5B,OAAO,CAAC,wBAAwB;IA2BhC,OAAO,CAAC,aAAa;CAiCrB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { BindingConfig } from '../accessors';
|
|
2
|
+
export declare class Config {
|
|
3
|
+
private static defaultConfig;
|
|
4
|
+
private readonly config;
|
|
5
|
+
constructor(config?: Partial<BindingConfig>);
|
|
6
|
+
getValue<Name extends keyof BindingConfig>(name: Name): BindingConfig[Name];
|
|
7
|
+
setValue<Name extends keyof BindingConfig>(name: Name, value: BindingConfig[Name]): this;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/core/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEjD,qBAAa,MAAM;IAClB,OAAO,CAAC,MAAM,CAAC,aAAa,CAM3B;IAED,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAe;gBAEnB,MAAM,GAAE,OAAO,CAAC,aAAa,CAAM;IAO/C,QAAQ,CAAC,IAAI,SAAS,MAAM,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC;IAI3E,QAAQ,CAAC,IAAI,SAAS,MAAM,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,GAAG,IAAI;CAI/F"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { GraphQlClient } from '@contember/client';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import { ExtendTreeOptions, TreeRootAccessor } from '../accessors';
|
|
4
|
+
import { RequestError, SuccessfulPersistResult } from '../accessorTree';
|
|
5
|
+
import type { Environment } from '../dao';
|
|
6
|
+
import type { TreeRootId } from '../treeParameters';
|
|
7
|
+
export declare class DataBinding {
|
|
8
|
+
private readonly contentApiClient;
|
|
9
|
+
private readonly systemApiClient;
|
|
10
|
+
private readonly tenantApiClient;
|
|
11
|
+
private readonly environment;
|
|
12
|
+
private readonly onUpdate;
|
|
13
|
+
private readonly onError;
|
|
14
|
+
private readonly onPersistSuccess;
|
|
15
|
+
private static readonly schemaLoadCache;
|
|
16
|
+
private readonly accessorErrorManager;
|
|
17
|
+
private readonly batchUpdatesOptions;
|
|
18
|
+
private readonly asyncBatchUpdatesOptions;
|
|
19
|
+
private readonly bindingOperations;
|
|
20
|
+
private readonly config;
|
|
21
|
+
private readonly dirtinessTracker;
|
|
22
|
+
private readonly eventManager;
|
|
23
|
+
private readonly stateInitializer;
|
|
24
|
+
private readonly treeAugmenter;
|
|
25
|
+
private readonly treeStore;
|
|
26
|
+
constructor(contentApiClient: GraphQlClient, systemApiClient: GraphQlClient, tenantApiClient: GraphQlClient, environment: Environment, onUpdate: (newData: TreeRootAccessor) => void, onError: (error: RequestError) => void, onPersistSuccess: (result: SuccessfulPersistResult) => void);
|
|
27
|
+
private resolvedOnUpdate;
|
|
28
|
+
private pendingExtensions;
|
|
29
|
+
extendTree(newFragment: ReactNode, options?: ExtendTreeOptions): Promise<TreeRootId | undefined>;
|
|
30
|
+
private flushBatchedTreeExtensions;
|
|
31
|
+
private fetchPersistedData;
|
|
32
|
+
private resetTreeAfterSuccessfulPersist;
|
|
33
|
+
private getOrLoadSchema;
|
|
34
|
+
private static getNextTreeRootIdSeed;
|
|
35
|
+
private getNewTreeRootId;
|
|
36
|
+
}
|
|
37
|
+
export declare const DataBindingExtendAborted: unique symbol;
|
|
38
|
+
//# sourceMappingURL=DataBinding.d.ts.map
|
|
@@ -0,0 +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;AAoBn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AAU,GAAG,SAAS,CAAC;YA+CnG,0BAA0B;YAyD1B,kBAAkB;IAyBhC,OAAO,CAAC,+BAA+B;IAuCvC,OAAO,CAAC,eAAe;IAcvB,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAGhC;IAEJ,OAAO,CAAC,gBAAgB;CAOxB;AAED,eAAO,MAAM,wBAAwB,eAAoB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class DirtinessTracker {
|
|
2
|
+
private changesCount;
|
|
3
|
+
private totalChangesCount;
|
|
4
|
+
getChangesCount(): number;
|
|
5
|
+
getTotalChangesCount(): number;
|
|
6
|
+
hasChanges(): boolean;
|
|
7
|
+
reset(): void;
|
|
8
|
+
increment(): void;
|
|
9
|
+
decrement(): void;
|
|
10
|
+
increaseBy(delta: number): void;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=DirtinessTracker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DirtinessTracker.d.ts","sourceRoot":"","sources":["../../../src/core/DirtinessTracker.ts"],"names":[],"mappings":"AAAA,qBAAa,gBAAgB;IAC5B,OAAO,CAAC,YAAY,CAAI;IACxB,OAAO,CAAC,iBAAiB,CAAI;IAEtB,eAAe;IAIf,oBAAoB;IAIpB,UAAU;IAIV,KAAK;IAIL,SAAS;IAKT,SAAS;IAIT,UAAU,CAAC,KAAK,EAAE,MAAM;CAG/B"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ErrorAccessor } from '../accessors';
|
|
2
|
+
import type { MutationDataResponse } from '../accessorTree';
|
|
3
|
+
import type { PlaceholderName } from '../treeParameters';
|
|
4
|
+
declare class ErrorsPreprocessor {
|
|
5
|
+
private readonly requestResponse;
|
|
6
|
+
constructor(requestResponse: MutationDataResponse);
|
|
7
|
+
preprocess(): ErrorsPreprocessor.ErrorTreeRoot;
|
|
8
|
+
private processMutationResponse;
|
|
9
|
+
private getErrorNode;
|
|
10
|
+
private getRootNode;
|
|
11
|
+
private createValidationError;
|
|
12
|
+
private isExecutionError;
|
|
13
|
+
private rejectCorruptData;
|
|
14
|
+
}
|
|
15
|
+
declare namespace ErrorsPreprocessor {
|
|
16
|
+
interface BaseErrorNode {
|
|
17
|
+
validation: ErrorAccessor.ValidationError[];
|
|
18
|
+
execution: ErrorAccessor.ExecutionError[];
|
|
19
|
+
}
|
|
20
|
+
interface LeafErrorNode extends BaseErrorNode {
|
|
21
|
+
nodeType: 'leaf';
|
|
22
|
+
}
|
|
23
|
+
interface ErrorINode extends BaseErrorNode {
|
|
24
|
+
nodeType: 'iNode';
|
|
25
|
+
children: Map<string, ErrorNode>;
|
|
26
|
+
}
|
|
27
|
+
type ErrorNode = ErrorINode | LeafErrorNode;
|
|
28
|
+
type ErrorTreeRoot = Map<PlaceholderName, ErrorNode>;
|
|
29
|
+
class ErrorsPreprocessorError extends Error {
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export { ErrorsPreprocessor };
|
|
33
|
+
//# sourceMappingURL=ErrorsPreprocessor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ErrorsPreprocessor.d.ts","sourceRoot":"","sources":["../../../src/core/ErrorsPreprocessor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAkB,oBAAoB,EAAqC,MAAM,iBAAiB,CAAA;AAC9G,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAIxD,cAAM,kBAAkB;IACJ,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAAf,eAAe,EAAE,oBAAoB;IAElE,UAAU,IAAI,kBAAkB,CAAC,aAAa;IAgDrD,OAAO,CAAC,uBAAuB;IAa/B,OAAO,CAAC,YAAY;IAmFpB,OAAO,CAAC,WAAW;IAuCnB,OAAO,CAAC,qBAAqB;IAc7B,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,iBAAiB;CAKzB;AAED,kBAAU,kBAAkB,CAAC;IAC5B,UAAiB,aAAa;QAC7B,UAAU,EAAE,aAAa,CAAC,eAAe,EAAE,CAAA;QAC3C,SAAS,EAAE,aAAa,CAAC,cAAc,EAAE,CAAA;KACzC;IAED,UAAiB,aAAc,SAAQ,aAAa;QACnD,QAAQ,EAAE,MAAM,CAAA;KAChB;IAED,UAAiB,UAAW,SAAQ,aAAa;QAChD,QAAQ,EAAE,OAAO,CAAA;QACjB,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAA;KAChC;IAED,KAAY,SAAS,GAAG,UAAU,GAAG,aAAa,CAAA;IAElD,KAAY,aAAa,GAAG,GAAG,CAAC,eAAe,EAAE,SAAS,CAAC,CAAA;IAE3D,MAAa,uBAAwB,SAAQ,KAAK;KAAG;CACrD;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { AsyncBatchUpdatesOptions, BatchUpdatesOptions, PersistErrorOptions, PersistSuccessOptions } from '../accessors';
|
|
2
|
+
import type { SuccessfulPersistResult } from '../accessorTree';
|
|
3
|
+
import type { PlaceholderName } from '../treeParameters';
|
|
4
|
+
import type { Config } from './Config';
|
|
5
|
+
import type { DirtinessTracker } from './DirtinessTracker';
|
|
6
|
+
import { EntityRealmState, StateNode } from './state';
|
|
7
|
+
import type { TreeStore } from './TreeStore';
|
|
8
|
+
import type { UpdateMetadata } from './UpdateMetadata';
|
|
9
|
+
import type { EventListenersStore } from '../treeParameters';
|
|
10
|
+
export declare class EventManager {
|
|
11
|
+
private readonly asyncBatchUpdatesOptions;
|
|
12
|
+
private readonly batchUpdatesOptions;
|
|
13
|
+
private readonly config;
|
|
14
|
+
private readonly dirtinessTracker;
|
|
15
|
+
private readonly onUpdate;
|
|
16
|
+
private readonly treeStore;
|
|
17
|
+
static readonly NO_CHANGES_DIFFERENCE = 0;
|
|
18
|
+
private transactionDepth;
|
|
19
|
+
private isFrozenWhileUpdating;
|
|
20
|
+
private isMutating;
|
|
21
|
+
private ongoingPersistOperation;
|
|
22
|
+
private previousMetadata;
|
|
23
|
+
private newlyInitializedWithListeners;
|
|
24
|
+
private pendingWithBeforeUpdate;
|
|
25
|
+
private rootsWithPendingUpdates;
|
|
26
|
+
constructor(asyncBatchUpdatesOptions: AsyncBatchUpdatesOptions, batchUpdatesOptions: BatchUpdatesOptions, config: Config, dirtinessTracker: DirtinessTracker, onUpdate: (metadata: UpdateMetadata) => void, treeStore: TreeStore);
|
|
27
|
+
persistOperation(operation: () => Promise<SuccessfulPersistResult>): Promise<SuccessfulPersistResult>;
|
|
28
|
+
syncTransaction<T>(transaction: () => T): T;
|
|
29
|
+
syncOperation<T>(operation: () => T): T;
|
|
30
|
+
asyncTransaction<T>(transaction: () => Promise<T>): Promise<T>;
|
|
31
|
+
asyncOperation<T>(operation: () => Promise<T>): Promise<T>;
|
|
32
|
+
private flushUpdates;
|
|
33
|
+
private getNewUpdateMetadata;
|
|
34
|
+
private shouldFlushUpdates;
|
|
35
|
+
registerNewlyInitialized(newlyInitialized: StateNode): void;
|
|
36
|
+
registerUpdatedConnection(parentState: EntityRealmState, placeholderName: PlaceholderName): void;
|
|
37
|
+
registerJustUpdated(justUpdated: StateNode, changesDelta: number): void;
|
|
38
|
+
private flushPendingAccessorUpdates;
|
|
39
|
+
private triggerAsyncMutatingEvent;
|
|
40
|
+
private triggerBeforeFlushEvents;
|
|
41
|
+
private triggerOnInitialize;
|
|
42
|
+
triggerOnPersistError(options: PersistErrorOptions): Promise<void>;
|
|
43
|
+
triggerOnBeforePersist(): Promise<void>;
|
|
44
|
+
triggerOnPersistSuccess(options: PersistSuccessOptions): Promise<void>;
|
|
45
|
+
getEventListeners<State extends StateNode, EventListenerTypes extends Exclude<State['eventListeners'], undefined> extends EventListenersStore<infer Keys, infer Map> ? [Keys, Map] : never, EventType extends EventListenerTypes[0]>(state: State, event: {
|
|
46
|
+
type: EventType;
|
|
47
|
+
key?: string;
|
|
48
|
+
}): Set<Exclude<EventListenerTypes[1][EventType], undefined>> | undefined;
|
|
49
|
+
getEventDispatchers<State extends StateNode, EventListenerTypes extends Exclude<State['eventListeners'], undefined> extends EventListenersStore<infer Keys, infer Map> ? [Keys, Map] : never, EventType extends EventListenerTypes[0]>(state: State, event: {
|
|
50
|
+
type: EventType;
|
|
51
|
+
key?: string;
|
|
52
|
+
}, listenerArgs: Parameters<Exclude<EventListenerTypes[1][EventType], undefined>>): Array<() => ReturnType<Exclude<EventListenerTypes[1][EventType], undefined>>> | undefined;
|
|
53
|
+
private handleRejections;
|
|
54
|
+
private executeWithoutChanges;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=EventManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventManager.d.ts","sourceRoot":"","sources":["../../../src/core/EventManager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACX,wBAAwB,EACxB,mBAAmB,EAInB,mBAAmB,EACnB,qBAAqB,EACrB,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AAE9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,EAEN,gBAAgB,EAMhB,SAAS,EACT,MAAM,SAAS,CAAA;AAChB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,qBAAa,YAAY;IAkBvB,OAAO,CAAC,QAAQ,CAAC,wBAAwB;IACzC,OAAO,CAAC,QAAQ,CA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CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,GAC5E,KAAK,CAAC,MAAM,UAAU,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS;IAU5F,OAAO,CAAC,gBAAgB;YAcV,qBAAqB;CAgBnC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EntityFieldMarker, EntityFieldMarkersContainer, EntityFieldsWithHoistablesMarker } from '../markers';
|
|
2
|
+
export declare class IncrementalMarkerBuilder {
|
|
3
|
+
private accumulator;
|
|
4
|
+
mutateIn(addition: EntityFieldMarker | EntityFieldMarkersContainer | EntityFieldsWithHoistablesMarker): void;
|
|
5
|
+
getFinalMarker(): EntityFieldMarkersContainer | EntityFieldsWithHoistablesMarker;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=IncrementalMarkerBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IncrementalMarkerBuilder.d.ts","sourceRoot":"","sources":["../../../src/core/IncrementalMarkerBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,gCAAgC,EAAE,MAAM,YAAY,CAAA;AAK7G,qBAAa,wBAAwB;IACpC,OAAO,CAAC,WAAW,CAIlB;IAEM,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,GAAG,2BAA2B,GAAG,gCAAgC;IA4CrG,cAAc;CAGrB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EntityFieldMarkersContainer, EntityListSubTreeMarker, EntitySubTreeMarker } from '../markers';
|
|
2
|
+
export declare class MarkerComparator {
|
|
3
|
+
static isSubTreeSubsetOf(candidate: EntitySubTreeMarker | EntityListSubTreeMarker, superset: EntitySubTreeMarker | EntityListSubTreeMarker): boolean;
|
|
4
|
+
static assertEntityMarkersSubsetOf(candidate: EntityFieldMarkersContainer, superset: EntityFieldMarkersContainer): void;
|
|
5
|
+
private static assertSubsetOf;
|
|
6
|
+
private static isSubsetOf;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=MarkerComparator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkerComparator.d.ts","sourceRoot":"","sources":["../../../src/core/MarkerComparator.ts"],"names":[],"mappings":"AACA,OAAO,EACN,2BAA2B,EAC3B,uBAAuB,EACvB,mBAAmB,EAInB,MAAM,YAAY,CAAA;AAInB,qBAAa,gBAAgB;WACd,iBAAiB,CAC9B,SAAS,EAAE,mBAAmB,GAAG,uBAAuB,EACxD,QAAQ,EAAE,mBAAmB,GAAG,uBAAuB,GACrD,OAAO;WAOI,2BAA2B,CACxC,SAAS,EAAE,2BAA2B,EACtC,QAAQ,EAAE,2BAA2B;IAKtC,OAAO,CAAC,MAAM,CAAC,cAAc;IA+C7B,OAAO,CAAC,MAAM,CAAC,UAAU;CAwBzB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { Environment } from '../dao';
|
|
2
|
+
import { EntityFieldMarkers, EntityFieldMarkersContainer, EntityFieldPlaceholders, EntityListSubTreeMarker, EntitySubTreeMarker, FieldMarker, HasManyRelationMarker, HasOneRelationMarker, MarkerTreeRoot, MeaningfulMarker, SubTreeMarkers } from '../markers';
|
|
3
|
+
import type { Alias, PlaceholderName } from '../treeParameters';
|
|
4
|
+
export declare class MarkerMerger {
|
|
5
|
+
static mergeMarkers(original: MeaningfulMarker, fresh: MeaningfulMarker): MeaningfulMarker;
|
|
6
|
+
static mergeMarkerTreeRoots(original: MarkerTreeRoot, fresh: MarkerTreeRoot): MarkerTreeRoot;
|
|
7
|
+
static mergeSubTreeMarkers(original: SubTreeMarkers | undefined, fresh: SubTreeMarkers | undefined): SubTreeMarkers | undefined;
|
|
8
|
+
static mergeSubTreePlaceholdersByAliases(original: Map<Alias, PlaceholderName>, fresh: Map<Alias, PlaceholderName>): Map<string, string>;
|
|
9
|
+
static mergeEntityFields(original: SubTreeMarkers, fresh: SubTreeMarkers): SubTreeMarkers;
|
|
10
|
+
static mergeEntityFields(original: EntityFieldMarkers, fresh: EntityFieldMarkers): EntityFieldMarkers;
|
|
11
|
+
static mergeEntityFieldPlaceholders(original: EntityFieldPlaceholders, fresh: EntityFieldPlaceholders): EntityFieldPlaceholders;
|
|
12
|
+
static mergeEntityFieldsContainers(original: EntityFieldMarkersContainer, fresh: EntityFieldMarkersContainer): EntityFieldMarkersContainer;
|
|
13
|
+
static mergeHasOneRelationMarkers(original: HasOneRelationMarker, fresh: HasOneRelationMarker): HasOneRelationMarker;
|
|
14
|
+
static mergeHasManyRelationMarkers(original: HasManyRelationMarker, fresh: HasManyRelationMarker): HasManyRelationMarker;
|
|
15
|
+
static mergeEntitySubTreeMarkers(original: EntitySubTreeMarker, fresh: EntitySubTreeMarker): EntitySubTreeMarker;
|
|
16
|
+
static mergeEntityListSubTreeMarkers(original: EntityListSubTreeMarker, fresh: EntityListSubTreeMarker): EntityListSubTreeMarker;
|
|
17
|
+
static mergeFieldMarkers(original: FieldMarker, fresh: FieldMarker): FieldMarker;
|
|
18
|
+
static mergeInSystemFields(original: EntityFieldMarkersContainer | undefined): EntityFieldMarkersContainer;
|
|
19
|
+
static mergeEnvironments(original: Environment, fresh: Environment): Environment;
|
|
20
|
+
private static rejectRelationScalarCombo;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=MarkerMerger.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkerMerger.d.ts","sourceRoot":"","sources":["../../../src/core/MarkerMerger.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EACN,kBAAkB,EAClB,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,mBAAmB,EACnB,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB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