@contember/binding 1.0.0-rc.9 → 1.1.0-alpha.1
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/BindingError.js +0 -1
- package/dist/development/BindingError.js.map +1 -1
- package/dist/development/accessorPropagation/AccessorProvider.js +3 -5
- package/dist/development/accessorPropagation/AccessorProvider.js.map +1 -1
- package/dist/development/accessorPropagation/BindingOperationsContext.js +2 -4
- package/dist/development/accessorPropagation/BindingOperationsContext.js.map +1 -1
- package/dist/development/accessorPropagation/BindingOperationsProvider.js +2 -4
- package/dist/development/accessorPropagation/BindingOperationsProvider.js.map +1 -1
- package/dist/development/accessorPropagation/EntityKeyContext.js +1 -3
- package/dist/development/accessorPropagation/EntityKeyContext.js.map +1 -1
- package/dist/development/accessorPropagation/EntityKeyProvider.js +2 -4
- package/dist/development/accessorPropagation/EntityKeyProvider.js.map +1 -1
- package/dist/development/accessorPropagation/EnvironmentContext.js +2 -4
- package/dist/development/accessorPropagation/EnvironmentContext.js.map +1 -1
- package/dist/development/accessorPropagation/TreeRootIdContext.js +1 -3
- package/dist/development/accessorPropagation/TreeRootIdContext.js.map +1 -1
- package/dist/development/accessorPropagation/TreeRootIdProvider.js +2 -4
- package/dist/development/accessorPropagation/TreeRootIdProvider.js.map +1 -1
- package/dist/development/accessorPropagation/useAccessorUpdateSubscription.js +2 -4
- package/dist/development/accessorPropagation/useAccessorUpdateSubscription.js.map +1 -1
- package/dist/development/accessorPropagation/useBindingOperations.js +2 -4
- package/dist/development/accessorPropagation/useBindingOperations.js.map +1 -1
- package/dist/development/accessorPropagation/useDesugaredRelativeEntityList.js +3 -5
- package/dist/development/accessorPropagation/useDesugaredRelativeEntityList.js.map +1 -1
- package/dist/development/accessorPropagation/useDesugaredRelativeSingleEntity.js +3 -5
- package/dist/development/accessorPropagation/useDesugaredRelativeSingleEntity.js.map +1 -1
- package/dist/development/accessorPropagation/useDesugaredRelativeSingleField.js +3 -5
- package/dist/development/accessorPropagation/useDesugaredRelativeSingleField.js.map +1 -1
- package/dist/development/accessorPropagation/useEntity.js +7 -9
- package/dist/development/accessorPropagation/useEntity.js.map +1 -1
- package/dist/development/accessorPropagation/useEntityKey.js +3 -5
- package/dist/development/accessorPropagation/useEntityKey.js.map +1 -1
- package/dist/development/accessorPropagation/useEntityList.js +7 -9
- package/dist/development/accessorPropagation/useEntityList.js.map +1 -1
- package/dist/development/accessorPropagation/useEntityListSubTree.js +4 -6
- package/dist/development/accessorPropagation/useEntityListSubTree.js.map +1 -1
- package/dist/development/accessorPropagation/useEntityListSubTreeParameters.js +2 -4
- package/dist/development/accessorPropagation/useEntityListSubTreeParameters.js.map +1 -1
- package/dist/development/accessorPropagation/useEntitySubTree.js +4 -6
- package/dist/development/accessorPropagation/useEntitySubTree.js.map +1 -1
- package/dist/development/accessorPropagation/useEntitySubTreeParameters.js +2 -4
- package/dist/development/accessorPropagation/useEntitySubTreeParameters.js.map +1 -1
- package/dist/development/accessorPropagation/useEnvironment.js +2 -4
- package/dist/development/accessorPropagation/useEnvironment.js.map +1 -1
- package/dist/development/accessorPropagation/useField.js +7 -9
- package/dist/development/accessorPropagation/useField.js.map +1 -1
- package/dist/development/accessorPropagation/useGetEntityByKey.js +1 -3
- package/dist/development/accessorPropagation/useGetEntityByKey.js.map +1 -1
- package/dist/development/accessorPropagation/useGetEntityListSubTree.js +4 -6
- package/dist/development/accessorPropagation/useGetEntityListSubTree.js.map +1 -1
- package/dist/development/accessorPropagation/useGetEntitySubTree.js +4 -6
- package/dist/development/accessorPropagation/useGetEntitySubTree.js.map +1 -1
- package/dist/development/accessorPropagation/useGetTreeFilters.js +1 -3
- package/dist/development/accessorPropagation/useGetTreeFilters.js.map +1 -1
- package/dist/development/accessorPropagation/useHasEntity.js +2 -4
- package/dist/development/accessorPropagation/useHasEntity.js.map +1 -1
- package/dist/development/accessorPropagation/usePersist.js +1 -3
- package/dist/development/accessorPropagation/usePersist.js.map +1 -1
- package/dist/development/accessorPropagation/useTreeRootId.js +2 -4
- package/dist/development/accessorPropagation/useTreeRootId.js.map +1 -1
- package/dist/development/accessorSorting/SetOrderFieldOnCreate.js +9 -11
- package/dist/development/accessorSorting/SetOrderFieldOnCreate.js.map +1 -1
- package/dist/development/accessorSorting/addEntityAtIndex.js +2 -4
- package/dist/development/accessorSorting/addEntityAtIndex.js.map +1 -1
- package/dist/development/accessorSorting/errors.js +1 -3
- package/dist/development/accessorSorting/errors.js.map +1 -1
- package/dist/development/accessorSorting/moveEntity.js +1 -3
- package/dist/development/accessorSorting/moveEntity.js.map +1 -1
- package/dist/development/accessorSorting/repairEntitiesOrder.js +0 -1
- package/dist/development/accessorSorting/repairEntitiesOrder.js.map +1 -1
- package/dist/development/accessorSorting/sortEntities.js +0 -1
- package/dist/development/accessorSorting/sortEntities.js.map +1 -1
- package/dist/development/accessorSorting/useSortedEntities.js +6 -8
- package/dist/development/accessorSorting/useSortedEntities.js.map +1 -1
- package/dist/development/accessorTree/AccessorTree.js +4 -6
- package/dist/development/accessorTree/AccessorTree.js.map +1 -1
- package/dist/development/accessorTree/DirtinessContext.js +1 -3
- package/dist/development/accessorTree/DirtinessContext.js.map +1 -1
- package/dist/development/accessorTree/MutationStateContext.js +1 -3
- package/dist/development/accessorTree/MutationStateContext.js.map +1 -1
- package/dist/development/accessorTree/NormalizedPersistedData.js +0 -1
- package/dist/development/accessorTree/NormalizedPersistedData.js.map +1 -1
- package/dist/development/accessorTree/RuntimeId.js +38 -20
- package/dist/development/accessorTree/RuntimeId.js.map +1 -1
- package/dist/development/accessorTree/accessorTreeStateReducer.js +0 -1
- package/dist/development/accessorTree/accessorTreeStateReducer.js.map +1 -1
- package/dist/development/accessorTree/metadataToRequestError.js +0 -1
- package/dist/development/accessorTree/metadataToRequestError.js.map +1 -1
- package/dist/development/accessorTree/useDataBinding.js +5 -7
- package/dist/development/accessorTree/useDataBinding.js.map +1 -1
- package/dist/development/accessorTree/useDirtinessState.js +2 -4
- package/dist/development/accessorTree/useDirtinessState.js.map +1 -1
- package/dist/development/accessorTree/useMutationState.js +2 -4
- package/dist/development/accessorTree/useMutationState.js.map +1 -1
- package/dist/development/accessors/EntityAccessor.js +4 -38
- package/dist/development/accessors/EntityAccessor.js.map +1 -1
- package/dist/development/accessors/EntityListAccessor.js +2 -4
- package/dist/development/accessors/EntityListAccessor.js.map +1 -1
- package/dist/development/accessors/ErrorAccessor.js +0 -1
- package/dist/development/accessors/ErrorAccessor.js.map +1 -1
- package/dist/development/accessors/FieldAccessor.js +3 -5
- package/dist/development/accessors/FieldAccessor.js.map +1 -1
- package/dist/development/accessors/TreeRootAccessor.js +0 -1
- package/dist/development/accessors/TreeRootAccessor.js.map +1 -1
- package/dist/development/bindingTypes.js +0 -1
- package/dist/development/bindingTypes.js.map +1 -1
- package/dist/development/core/AccessorErrorManager.js +18 -11
- package/dist/development/core/AccessorErrorManager.js.map +1 -1
- package/dist/development/core/Config.js +18 -12
- package/dist/development/core/Config.js.map +1 -1
- package/dist/development/core/DataBinding.js +80 -72
- package/dist/development/core/DataBinding.js.map +1 -1
- package/dist/development/core/DirtinessTracker.js +10 -3
- package/dist/development/core/DirtinessTracker.js.map +1 -1
- package/dist/development/core/ErrorsPreprocessor.js +3 -5
- package/dist/development/core/ErrorsPreprocessor.js.map +1 -1
- package/dist/development/core/EventManager.js +20 -16
- package/dist/development/core/EventManager.js.map +1 -1
- package/dist/development/core/IncrementalMarkerBuilder.js +14 -8
- package/dist/development/core/IncrementalMarkerBuilder.js.map +1 -1
- package/dist/development/core/MarkerComparator.js +6 -8
- package/dist/development/core/MarkerComparator.js.map +1 -1
- package/dist/development/core/MarkerMerger.js +18 -19
- package/dist/development/core/MarkerMerger.js.map +1 -1
- package/dist/development/core/MarkerTreeGenerator.js +18 -13
- package/dist/development/core/MarkerTreeGenerator.js.map +1 -1
- package/dist/development/core/MutationGenerator.js +17 -19
- package/dist/development/core/MutationGenerator.js.map +1 -1
- package/dist/development/core/QueryGenerator.js +9 -11
- package/dist/development/core/QueryGenerator.js.map +1 -1
- package/dist/development/core/RealmKeyGenerator.js +10 -6
- package/dist/development/core/RealmKeyGenerator.js.map +1 -1
- package/dist/development/core/RequestResponseNormalizer.js +33 -39
- package/dist/development/core/RequestResponseNormalizer.js.map +1 -1
- package/dist/development/core/StateInitializer.js +36 -34
- package/dist/development/core/StateInitializer.js.map +1 -1
- package/dist/development/core/TreeAugmenter.js +15 -17
- package/dist/development/core/TreeAugmenter.js.map +1 -1
- package/dist/development/core/TreeFilterGenerator.js +9 -9
- package/dist/development/core/TreeFilterGenerator.js.map +1 -1
- package/dist/development/core/TreeParameterMerger.js +2 -4
- package/dist/development/core/TreeParameterMerger.js.map +1 -1
- package/dist/development/core/TreeStore.js +22 -18
- package/dist/development/core/TreeStore.js.map +1 -1
- package/dist/development/core/VariableInputTransformer.js +6 -5
- package/dist/development/core/VariableInputTransformer.js.map +1 -1
- package/dist/development/core/exceptions/ErrorLocator.js +10 -6
- package/dist/development/core/exceptions/ErrorLocator.js.map +1 -1
- package/dist/development/core/exceptions/LocalizedBindingError.js +1 -3
- package/dist/development/core/exceptions/LocalizedBindingError.js.map +1 -1
- package/dist/development/core/exceptions/MarkerSugarer.js +7 -9
- package/dist/development/core/exceptions/MarkerSugarer.js.map +1 -1
- package/dist/development/core/exceptions/TreeParameterSugarer.js +0 -1
- package/dist/development/core/exceptions/TreeParameterSugarer.js.map +1 -1
- package/dist/development/core/factories/createBatchUpdatesOptions.js +1 -3
- package/dist/development/core/factories/createBatchUpdatesOptions.js.map +1 -1
- package/dist/development/core/operations/EntityOperations.js +17 -18
- package/dist/development/core/operations/EntityOperations.js.map +1 -1
- package/dist/development/core/operations/FieldOperations.js +11 -13
- package/dist/development/core/operations/FieldOperations.js.map +1 -1
- package/dist/development/core/operations/ListOperations.js +14 -16
- package/dist/development/core/operations/ListOperations.js.map +1 -1
- package/dist/development/core/operations/OperationsHelpers.js +6 -8
- package/dist/development/core/operations/OperationsHelpers.js.map +1 -1
- package/dist/development/core/requestAliases/MutationAlias.js +7 -7
- package/dist/development/core/requestAliases/MutationAlias.js.map +1 -1
- package/dist/development/core/requestAliases/mutationOperationSubTreeType.js +0 -1
- package/dist/development/core/requestAliases/mutationOperationSubTreeType.js.map +1 -1
- package/dist/development/core/requestAliases/mutationOperationType.js +0 -1
- package/dist/development/core/requestAliases/mutationOperationType.js.map +1 -1
- package/dist/development/core/schema/Schema.js +3 -1
- package/dist/development/core/schema/Schema.js.map +1 -1
- package/dist/development/core/schema/SchemaLoader.js +9 -5
- package/dist/development/core/schema/SchemaLoader.js.map +1 -1
- package/dist/development/core/schema/SchemaPreprocessor.js +0 -1
- package/dist/development/core/schema/SchemaPreprocessor.js.map +1 -1
- package/dist/development/core/state/StateIterator.js +2 -4
- package/dist/development/core/state/StateIterator.js.map +1 -1
- package/dist/development/core/state/getEntityMarker.js +0 -1
- package/dist/development/core/state/getEntityMarker.js.map +1 -1
- package/dist/development/core/utils/getCombinedSignal.js +0 -1
- package/dist/development/core/utils/getCombinedSignal.js.map +1 -1
- package/dist/development/coreComponents/Component.js +2 -4
- package/dist/development/coreComponents/Component.js.map +1 -1
- package/dist/development/coreComponents/DataBindingProvider.js +3 -5
- package/dist/development/coreComponents/DataBindingProvider.js.map +1 -1
- package/dist/development/coreComponents/Entity.js +3 -5
- package/dist/development/coreComponents/Entity.js.map +1 -1
- package/dist/development/coreComponents/EntityList.js +3 -5
- package/dist/development/coreComponents/EntityList.js.map +1 -1
- package/dist/development/coreComponents/EntityListSubTree.js +13 -23
- package/dist/development/coreComponents/EntityListSubTree.js.map +1 -1
- package/dist/development/coreComponents/EntitySubTree.js +14 -34
- package/dist/development/coreComponents/EntitySubTree.js.map +1 -1
- package/dist/development/coreComponents/Field.js +10 -8
- package/dist/development/coreComponents/Field.js.map +1 -1
- package/dist/development/coreComponents/HasMany.js +10 -14
- package/dist/development/coreComponents/HasMany.js.map +1 -1
- package/dist/development/coreComponents/HasOne.js +10 -14
- package/dist/development/coreComponents/HasOne.js.map +1 -1
- package/dist/development/coreComponents/ParentEntity.js +3 -5
- package/dist/development/coreComponents/ParentEntity.js.map +1 -1
- package/dist/development/dao/Environment.js +147 -89
- package/dist/development/dao/Environment.js.map +1 -1
- package/dist/development/dao/TreeNodeEnvironmentFactory.js +159 -0
- package/dist/development/dao/TreeNodeEnvironmentFactory.js.map +1 -0
- package/dist/development/dao/VariableFieldValue.js +0 -1
- package/dist/development/dao/VariableFieldValue.js.map +1 -1
- package/dist/development/entityEvents/useDerivedField.js +4 -6
- package/dist/development/entityEvents/useDerivedField.js.map +1 -1
- package/dist/development/entityEvents/useEntityBeforePersist.js +1 -3
- package/dist/development/entityEvents/useEntityBeforePersist.js.map +1 -1
- package/dist/development/entityEvents/useEntityBeforeUpdate.js +1 -3
- package/dist/development/entityEvents/useEntityBeforeUpdate.js.map +1 -1
- package/dist/development/entityEvents/useEntityEvent.js +3 -5
- package/dist/development/entityEvents/useEntityEvent.js.map +1 -1
- package/dist/development/entityEvents/useEntityPersistError.js +1 -3
- package/dist/development/entityEvents/useEntityPersistError.js.map +1 -1
- package/dist/development/entityEvents/useEntityPersistSuccess.js +1 -3
- package/dist/development/entityEvents/useEntityPersistSuccess.js.map +1 -1
- package/dist/development/entityEvents/useOnConnectionUpdate.js +1 -3
- package/dist/development/entityEvents/useOnConnectionUpdate.js.map +1 -1
- package/dist/development/fieldHelpers/helpers/FieldHelper.js +8 -4
- package/dist/development/fieldHelpers/helpers/FieldHelper.js.map +1 -1
- package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js +1 -3
- package/dist/development/fieldHelpers/helpers/TemporalFieldHelper.js.map +1 -1
- package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js +2 -4
- package/dist/development/fieldHelpers/helpers/UuidFieldHelper.js.map +1 -1
- package/dist/development/helperComponents/DeferredSubTrees.js +9 -11
- package/dist/development/helperComponents/DeferredSubTrees.js.map +1 -1
- package/dist/development/helperComponents/EntityView.js +2 -4
- package/dist/development/helperComponents/EntityView.js.map +1 -1
- package/dist/development/helperComponents/FieldView.js +7 -9
- package/dist/development/helperComponents/FieldView.js.map +1 -1
- package/dist/development/helperComponents/StaticRender.js +2 -4
- package/dist/development/helperComponents/StaticRender.js.map +1 -1
- package/dist/development/helperComponents/SugaredField.js +3 -5
- package/dist/development/helperComponents/SugaredField.js.map +1 -1
- package/dist/development/index.js +101 -101
- package/dist/development/index.js.map +1 -1
- package/dist/development/markers/EntityFieldMarkersContainer.js +5 -7
- package/dist/development/markers/EntityFieldMarkersContainer.js.map +1 -1
- package/dist/development/markers/EntityFieldsWithHoistablesMarker.js +0 -1
- package/dist/development/markers/EntityFieldsWithHoistablesMarker.js.map +1 -1
- package/dist/development/markers/EntityListSubTreeMarker.js +8 -4
- package/dist/development/markers/EntityListSubTreeMarker.js.map +1 -1
- package/dist/development/markers/EntitySubTreeMarker.js +8 -4
- package/dist/development/markers/EntitySubTreeMarker.js.map +1 -1
- package/dist/development/markers/FieldMarker.js +8 -4
- package/dist/development/markers/FieldMarker.js.map +1 -1
- package/dist/development/markers/HasManyRelationMarker.js +9 -5
- package/dist/development/markers/HasManyRelationMarker.js.map +1 -1
- package/dist/development/markers/HasOneRelationMarker.js +8 -4
- package/dist/development/markers/HasOneRelationMarker.js.map +1 -1
- package/dist/development/markers/MarkerTreeRoot.js +0 -1
- package/dist/development/markers/MarkerTreeRoot.js.map +1 -1
- package/dist/development/markers/ParentEntityMarker.js +0 -1
- package/dist/development/markers/ParentEntityMarker.js.map +1 -1
- package/dist/development/markers/PlaceholderGenerator.js +1 -3
- package/dist/development/markers/PlaceholderGenerator.js.map +1 -1
- package/dist/development/queryLanguage/CacheStore.js +10 -4
- package/dist/development/queryLanguage/CacheStore.js.map +1 -1
- package/dist/development/queryLanguage/MarkerFactory.js +15 -16
- package/dist/development/queryLanguage/MarkerFactory.js.map +1 -1
- package/dist/development/queryLanguage/Parser.js +572 -547
- package/dist/development/queryLanguage/Parser.js.map +1 -1
- package/dist/development/queryLanguage/QueryLanguage.js +32 -27
- package/dist/development/queryLanguage/QueryLanguage.js.map +1 -1
- package/dist/development/queryLanguage/QueryLanguageError.js +0 -1
- package/dist/development/queryLanguage/QueryLanguageError.js.map +1 -1
- package/dist/development/queryLanguage/tokenList.js +6 -3
- package/dist/development/queryLanguage/tokenList.js.map +1 -1
- package/dist/development/structures/BijectiveIndexedMap.js +14 -9
- package/dist/development/structures/BijectiveIndexedMap.js.map +1 -1
- package/dist/development/structures/LRUCache.js +7 -2
- package/dist/development/structures/LRUCache.js.map +1 -1
- package/dist/development/structures/WeakIdCache.js +11 -4
- package/dist/development/structures/WeakIdCache.js.map +1 -1
- package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.js +1 -3
- package/dist/development/treeParameterHelpers/wrapFilterInHasOnes.js.map +1 -1
- package/dist/development/treeParameters/EntityCreationParameters.js +0 -1
- package/dist/development/treeParameters/EntityCreationParameters.js.map +1 -1
- package/dist/development/treeParameters/EntityListPreferences.js +0 -1
- package/dist/development/treeParameters/EntityListPreferences.js.map +1 -1
- package/dist/development/treeParameters/EventListenersStore.js +0 -1
- package/dist/development/treeParameters/EventListenersStore.js.map +1 -1
- package/dist/development/treeParameters/LeafField.js +0 -1
- package/dist/development/treeParameters/LeafField.js.map +1 -1
- package/dist/development/treeParameters/QualifiedEntityParameters.js +0 -1
- package/dist/development/treeParameters/QualifiedEntityParameters.js.map +1 -1
- package/dist/development/treeParameters/Relation.js +0 -1
- package/dist/development/treeParameters/Relation.js.map +1 -1
- package/dist/development/utils/Hashing.js +0 -1
- package/dist/development/utils/Hashing.js.map +1 -1
- package/dist/development/utils/assert.js +1 -3
- package/dist/development/utils/assert.js.map +1 -1
- package/dist/development/utils/assertNever.js +2 -4
- package/dist/development/utils/assertNever.js.map +1 -1
- package/dist/development/utils/generateEnumerabilityPreventingEntropy.js +0 -1
- package/dist/development/utils/generateEnumerabilityPreventingEntropy.js.map +1 -1
- package/dist/development/utils/isEmptyObject.js +0 -1
- package/dist/development/utils/isEmptyObject.js.map +1 -1
- package/dist/development/utils/ucfirst.js +0 -1
- package/dist/development/utils/ucfirst.js.map +1 -1
- package/dist/production/BindingError.js.map +1 -1
- package/dist/production/accessorPropagation/AccessorProvider.js.map +1 -1
- package/dist/production/accessorPropagation/BindingOperationsContext.js.map +1 -1
- package/dist/production/accessorPropagation/BindingOperationsProvider.js.map +1 -1
- package/dist/production/accessorPropagation/EntityKeyContext.js.map +1 -1
- package/dist/production/accessorPropagation/EntityKeyProvider.js.map +1 -1
- package/dist/production/accessorPropagation/EnvironmentContext.js.map +1 -1
- package/dist/production/accessorPropagation/TreeRootIdContext.js.map +1 -1
- package/dist/production/accessorPropagation/TreeRootIdProvider.js.map +1 -1
- package/dist/production/accessorPropagation/useAccessorUpdateSubscription.js.map +1 -1
- package/dist/production/accessorPropagation/useBindingOperations.js.map +1 -1
- package/dist/production/accessorPropagation/useDesugaredRelativeEntityList.js.map +1 -1
- package/dist/production/accessorPropagation/useDesugaredRelativeSingleEntity.js.map +1 -1
- package/dist/production/accessorPropagation/useDesugaredRelativeSingleField.js.map +1 -1
- package/dist/production/accessorPropagation/useEntity.js.map +1 -1
- package/dist/production/accessorPropagation/useEntityKey.js.map +1 -1
- package/dist/production/accessorPropagation/useEntityList.js.map +1 -1
- package/dist/production/accessorPropagation/useEntityListSubTree.js.map +1 -1
- package/dist/production/accessorPropagation/useEntityListSubTreeParameters.js.map +1 -1
- package/dist/production/accessorPropagation/useEntitySubTree.js.map +1 -1
- package/dist/production/accessorPropagation/useEntitySubTreeParameters.js.map +1 -1
- package/dist/production/accessorPropagation/useEnvironment.js.map +1 -1
- package/dist/production/accessorPropagation/useField.js.map +1 -1
- package/dist/production/accessorPropagation/useGetEntityByKey.js.map +1 -1
- package/dist/production/accessorPropagation/useGetEntityListSubTree.js.map +1 -1
- package/dist/production/accessorPropagation/useGetEntitySubTree.js.map +1 -1
- package/dist/production/accessorPropagation/useGetTreeFilters.js.map +1 -1
- package/dist/production/accessorPropagation/useHasEntity.js.map +1 -1
- package/dist/production/accessorPropagation/usePersist.js.map +1 -1
- package/dist/production/accessorPropagation/useTreeRootId.js.map +1 -1
- package/dist/production/accessorSorting/SetOrderFieldOnCreate.js.map +1 -1
- package/dist/production/accessorSorting/addEntityAtIndex.js.map +1 -1
- package/dist/production/accessorSorting/errors.js.map +1 -1
- package/dist/production/accessorSorting/moveEntity.js.map +1 -1
- package/dist/production/accessorSorting/repairEntitiesOrder.js.map +1 -1
- package/dist/production/accessorSorting/sortEntities.js.map +1 -1
- package/dist/production/accessorSorting/useSortedEntities.js.map +1 -1
- package/dist/production/accessorTree/AccessorTree.js.map +1 -1
- package/dist/production/accessorTree/DirtinessContext.js.map +1 -1
- package/dist/production/accessorTree/MutationStateContext.js.map +1 -1
- package/dist/production/accessorTree/NormalizedPersistedData.js.map +1 -1
- package/dist/production/accessorTree/RuntimeId.js +17 -4
- package/dist/production/accessorTree/RuntimeId.js.map +1 -1
- package/dist/production/accessorTree/accessorTreeStateReducer.js.map +1 -1
- package/dist/production/accessorTree/metadataToRequestError.js.map +1 -1
- package/dist/production/accessorTree/useDataBinding.js.map +1 -1
- package/dist/production/accessorTree/useDirtinessState.js.map +1 -1
- package/dist/production/accessorTree/useMutationState.js.map +1 -1
- package/dist/production/accessors/EntityAccessor.js +0 -32
- package/dist/production/accessors/EntityAccessor.js.map +1 -1
- package/dist/production/accessors/EntityListAccessor.js +1 -1
- package/dist/production/accessors/EntityListAccessor.js.map +1 -1
- package/dist/production/accessors/ErrorAccessor.js.map +1 -1
- package/dist/production/accessors/FieldAccessor.js.map +1 -1
- package/dist/production/accessors/TreeRootAccessor.js.map +1 -1
- package/dist/production/bindingTypes.js.map +1 -1
- package/dist/production/core/AccessorErrorManager.js +3 -0
- package/dist/production/core/AccessorErrorManager.js.map +1 -1
- package/dist/production/core/Config.js.map +1 -1
- package/dist/production/core/DataBinding.js +28 -16
- package/dist/production/core/DataBinding.js.map +1 -1
- package/dist/production/core/DirtinessTracker.js.map +1 -1
- package/dist/production/core/ErrorsPreprocessor.js.map +1 -1
- package/dist/production/core/EventManager.js.map +1 -1
- package/dist/production/core/IncrementalMarkerBuilder.js.map +1 -1
- package/dist/production/core/MarkerComparator.js +1 -1
- package/dist/production/core/MarkerComparator.js.map +1 -1
- package/dist/production/core/MarkerMerger.js +1 -4
- package/dist/production/core/MarkerMerger.js.map +1 -1
- package/dist/production/core/MarkerTreeGenerator.js.map +1 -1
- package/dist/production/core/MutationGenerator.js +5 -5
- package/dist/production/core/MutationGenerator.js.map +1 -1
- package/dist/production/core/QueryGenerator.js.map +1 -1
- package/dist/production/core/RealmKeyGenerator.js.map +1 -1
- package/dist/production/core/RequestResponseNormalizer.js +27 -31
- package/dist/production/core/RequestResponseNormalizer.js.map +1 -1
- package/dist/production/core/StateInitializer.js +10 -12
- package/dist/production/core/StateInitializer.js.map +1 -1
- package/dist/production/core/TreeAugmenter.js +10 -10
- 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/TreeParameterMerger.js.map +1 -1
- package/dist/production/core/TreeStore.js +3 -3
- package/dist/production/core/TreeStore.js.map +1 -1
- package/dist/production/core/VariableInputTransformer.js +4 -1
- package/dist/production/core/VariableInputTransformer.js.map +1 -1
- package/dist/production/core/exceptions/ErrorLocator.js.map +1 -1
- package/dist/production/core/exceptions/LocalizedBindingError.js.map +1 -1
- package/dist/production/core/exceptions/MarkerSugarer.js.map +1 -1
- package/dist/production/core/exceptions/TreeParameterSugarer.js.map +1 -1
- package/dist/production/core/factories/createBatchUpdatesOptions.js.map +1 -1
- package/dist/production/core/operations/EntityOperations.js +6 -6
- package/dist/production/core/operations/EntityOperations.js.map +1 -1
- package/dist/production/core/operations/FieldOperations.js.map +1 -1
- package/dist/production/core/operations/ListOperations.js +2 -2
- package/dist/production/core/operations/ListOperations.js.map +1 -1
- package/dist/production/core/operations/OperationsHelpers.js +2 -2
- package/dist/production/core/operations/OperationsHelpers.js.map +1 -1
- package/dist/production/core/requestAliases/MutationAlias.js +5 -3
- package/dist/production/core/requestAliases/MutationAlias.js.map +1 -1
- package/dist/production/core/requestAliases/mutationOperationSubTreeType.js.map +1 -1
- package/dist/production/core/requestAliases/mutationOperationType.js.map +1 -1
- package/dist/production/core/schema/Schema.js +3 -0
- package/dist/production/core/schema/Schema.js.map +1 -1
- package/dist/production/core/schema/SchemaLoader.js.map +1 -1
- package/dist/production/core/schema/SchemaPreprocessor.js.map +1 -1
- package/dist/production/core/state/StateIterator.js.map +1 -1
- package/dist/production/core/state/getEntityMarker.js.map +1 -1
- package/dist/production/core/utils/getCombinedSignal.js.map +1 -1
- package/dist/production/coreComponents/Component.js.map +1 -1
- package/dist/production/coreComponents/DataBindingProvider.js.map +1 -1
- package/dist/production/coreComponents/Entity.js.map +1 -1
- package/dist/production/coreComponents/EntityList.js.map +1 -1
- package/dist/production/coreComponents/EntityListSubTree.js +4 -12
- package/dist/production/coreComponents/EntityListSubTree.js.map +1 -1
- package/dist/production/coreComponents/EntitySubTree.js +4 -22
- package/dist/production/coreComponents/EntitySubTree.js.map +1 -1
- package/dist/production/coreComponents/Field.js +5 -1
- package/dist/production/coreComponents/Field.js.map +1 -1
- package/dist/production/coreComponents/HasMany.js +3 -5
- package/dist/production/coreComponents/HasMany.js.map +1 -1
- package/dist/production/coreComponents/HasOne.js +3 -5
- package/dist/production/coreComponents/HasOne.js.map +1 -1
- package/dist/production/coreComponents/ParentEntity.js.map +1 -1
- package/dist/production/dao/Environment.js +147 -94
- package/dist/production/dao/Environment.js.map +1 -1
- package/dist/production/dao/TreeNodeEnvironmentFactory.js +159 -0
- package/dist/production/dao/TreeNodeEnvironmentFactory.js.map +1 -0
- package/dist/production/dao/VariableFieldValue.js.map +1 -1
- package/dist/production/entityEvents/useDerivedField.js.map +1 -1
- package/dist/production/entityEvents/useEntityBeforePersist.js.map +1 -1
- package/dist/production/entityEvents/useEntityBeforeUpdate.js.map +1 -1
- package/dist/production/entityEvents/useEntityEvent.js.map +1 -1
- package/dist/production/entityEvents/useEntityPersistError.js.map +1 -1
- package/dist/production/entityEvents/useEntityPersistSuccess.js.map +1 -1
- package/dist/production/entityEvents/useOnConnectionUpdate.js.map +1 -1
- package/dist/production/fieldHelpers/helpers/FieldHelper.js.map +1 -1
- package/dist/production/fieldHelpers/helpers/TemporalFieldHelper.js.map +1 -1
- package/dist/production/fieldHelpers/helpers/UuidFieldHelper.js.map +1 -1
- package/dist/production/helperComponents/DeferredSubTrees.js.map +1 -1
- package/dist/production/helperComponents/EntityView.js.map +1 -1
- package/dist/production/helperComponents/FieldView.js.map +1 -1
- package/dist/production/helperComponents/StaticRender.js.map +1 -1
- package/dist/production/helperComponents/SugaredField.js.map +1 -1
- package/dist/production/index.js +2 -2
- package/dist/production/markers/EntityFieldMarkersContainer.js.map +1 -1
- package/dist/production/markers/EntityFieldsWithHoistablesMarker.js.map +1 -1
- package/dist/production/markers/EntityListSubTreeMarker.js.map +1 -1
- package/dist/production/markers/EntitySubTreeMarker.js.map +1 -1
- package/dist/production/markers/FieldMarker.js.map +1 -1
- package/dist/production/markers/HasManyRelationMarker.js.map +1 -1
- package/dist/production/markers/HasOneRelationMarker.js.map +1 -1
- package/dist/production/markers/MarkerTreeRoot.js.map +1 -1
- package/dist/production/markers/ParentEntityMarker.js.map +1 -1
- package/dist/production/markers/PlaceholderGenerator.js.map +1 -1
- package/dist/production/queryLanguage/CacheStore.js.map +1 -1
- package/dist/production/queryLanguage/MarkerFactory.js +4 -3
- package/dist/production/queryLanguage/MarkerFactory.js.map +1 -1
- package/dist/production/queryLanguage/Parser.js +24 -7
- package/dist/production/queryLanguage/Parser.js.map +1 -1
- package/dist/production/queryLanguage/QueryLanguage.js.map +1 -1
- package/dist/production/queryLanguage/QueryLanguageError.js.map +1 -1
- package/dist/production/queryLanguage/tokenList.js +5 -0
- package/dist/production/queryLanguage/tokenList.js.map +1 -1
- package/dist/production/structures/BijectiveIndexedMap.js.map +1 -1
- package/dist/production/structures/LRUCache.js.map +1 -1
- package/dist/production/structures/WeakIdCache.js.map +1 -1
- package/dist/production/treeParameterHelpers/wrapFilterInHasOnes.js.map +1 -1
- package/dist/production/treeParameters/EntityCreationParameters.js.map +1 -1
- package/dist/production/treeParameters/EntityListPreferences.js.map +1 -1
- package/dist/production/treeParameters/EventListenersStore.js.map +1 -1
- package/dist/production/treeParameters/LeafField.js.map +1 -1
- package/dist/production/treeParameters/QualifiedEntityParameters.js.map +1 -1
- package/dist/production/treeParameters/Relation.js.map +1 -1
- package/dist/production/utils/Hashing.js.map +1 -1
- package/dist/production/utils/assert.js.map +1 -1
- package/dist/production/utils/assertNever.js +1 -1
- package/dist/production/utils/assertNever.js.map +1 -1
- package/dist/production/utils/generateEnumerabilityPreventingEntropy.js.map +1 -1
- package/dist/production/utils/isEmptyObject.js.map +1 -1
- package/dist/production/utils/ucfirst.js.map +1 -1
- package/dist/types/accessorTree/MutationRequestResponse.d.ts +9 -1
- package/dist/types/accessorTree/MutationRequestResponse.d.ts.map +1 -1
- package/dist/types/accessorTree/NormalizedPersistedData.d.ts +4 -4
- package/dist/types/accessorTree/NormalizedPersistedData.d.ts.map +1 -1
- package/dist/types/accessorTree/PersistResult.d.ts +2 -1
- package/dist/types/accessorTree/PersistResult.d.ts.map +1 -1
- package/dist/types/accessorTree/QueryRequestResponse.d.ts +15 -10
- package/dist/types/accessorTree/QueryRequestResponse.d.ts.map +1 -1
- package/dist/types/accessorTree/RequestError.d.ts +9 -1
- package/dist/types/accessorTree/RequestError.d.ts.map +1 -1
- package/dist/types/accessorTree/RuntimeId.d.ts +16 -6
- package/dist/types/accessorTree/RuntimeId.d.ts.map +1 -1
- package/dist/types/accessors/EntityAccessor.d.ts +1 -3
- package/dist/types/accessors/EntityAccessor.d.ts.map +1 -1
- package/dist/types/accessors/EntityListAccessor.d.ts +2 -2
- package/dist/types/accessors/EntityListAccessor.d.ts.map +1 -1
- package/dist/types/core/AccessorErrorManager.d.ts.map +1 -1
- package/dist/types/core/DataBinding.d.ts +1 -0
- package/dist/types/core/DataBinding.d.ts.map +1 -1
- package/dist/types/core/ErrorsPreprocessor.d.ts +2 -2
- package/dist/types/core/ErrorsPreprocessor.d.ts.map +1 -1
- package/dist/types/core/MarkerMerger.d.ts.map +1 -1
- package/dist/types/core/RequestResponseNormalizer.d.ts.map +1 -1
- package/dist/types/core/StateInitializer.d.ts.map +1 -1
- package/dist/types/core/TreeStore.d.ts +3 -3
- package/dist/types/core/TreeStore.d.ts.map +1 -1
- package/dist/types/core/VariableInputTransformer.d.ts.map +1 -1
- package/dist/types/core/operations/ListOperations.d.ts +2 -1
- package/dist/types/core/operations/ListOperations.d.ts.map +1 -1
- package/dist/types/core/requestAliases/MutationAlias.d.ts.map +1 -1
- package/dist/types/core/schema/Schema.d.ts +2 -0
- package/dist/types/core/schema/Schema.d.ts.map +1 -1
- package/dist/types/core/schema/index.d.ts +0 -1
- package/dist/types/core/schema/index.d.ts.map +1 -1
- package/dist/types/coreComponents/EntityListSubTree.d.ts +1 -1
- package/dist/types/coreComponents/EntityListSubTree.d.ts.map +1 -1
- package/dist/types/coreComponents/EntitySubTree.d.ts +1 -1
- package/dist/types/coreComponents/EntitySubTree.d.ts.map +1 -1
- package/dist/types/coreComponents/Field.d.ts.map +1 -1
- package/dist/types/coreComponents/HasMany.d.ts +1 -1
- package/dist/types/coreComponents/HasMany.d.ts.map +1 -1
- package/dist/types/coreComponents/HasOne.d.ts +1 -1
- package/dist/types/coreComponents/HasOne.d.ts.map +1 -1
- package/dist/types/dao/Environment.d.ts +81 -42
- package/dist/types/dao/Environment.d.ts.map +1 -1
- package/dist/types/dao/TreeNodeEnvironmentFactory.d.ts +19 -0
- package/dist/types/dao/TreeNodeEnvironmentFactory.d.ts.map +1 -0
- package/dist/types/queryLanguage/MarkerFactory.d.ts.map +1 -1
- package/dist/types/queryLanguage/Parser.d.ts +1 -0
- package/dist/types/queryLanguage/Parser.d.ts.map +1 -1
- package/dist/types/queryLanguage/tokenList.d.ts +1 -0
- package/dist/types/queryLanguage/tokenList.d.ts.map +1 -1
- package/dist/types/treeParameters/primitives/EntityId.d.ts +1 -1
- package/dist/types/treeParameters/primitives/EntityId.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -10
- package/src/accessorTree/MutationRequestResponse.ts +4 -1
- package/src/accessorTree/NormalizedPersistedData.ts +4 -4
- package/src/accessorTree/PersistResult.ts +2 -1
- package/src/accessorTree/QueryRequestResponse.ts +18 -14
- package/src/accessorTree/RequestError.ts +7 -1
- package/src/accessorTree/RuntimeId.ts +27 -6
- package/src/accessors/EntityAccessor.ts +2 -51
- package/src/accessors/EntityListAccessor.ts +3 -3
- package/src/core/AccessorErrorManager.ts +3 -0
- package/src/core/DataBinding.ts +32 -33
- package/src/core/ErrorsPreprocessor.ts +2 -2
- package/src/core/MarkerMerger.ts +1 -4
- package/src/core/MutationGenerator.ts +5 -5
- package/src/core/RequestResponseNormalizer.ts +37 -38
- package/src/core/StateInitializer.ts +15 -17
- package/src/core/TreeAugmenter.ts +11 -11
- package/src/core/TreeFilterGenerator.ts +5 -5
- package/src/core/TreeStore.ts +12 -6
- package/src/core/VariableInputTransformer.ts +7 -4
- package/src/core/operations/EntityOperations.ts +5 -5
- package/src/core/operations/FieldOperations.ts +2 -2
- package/src/core/operations/ListOperations.ts +4 -4
- package/src/core/operations/OperationsHelpers.ts +2 -2
- package/src/core/requestAliases/MutationAlias.ts +5 -3
- package/src/core/schema/Schema.ts +5 -0
- package/src/core/schema/index.ts +0 -1
- package/src/coreComponents/EntityListSubTree.tsx +5 -16
- package/src/coreComponents/EntitySubTree.tsx +17 -32
- package/src/coreComponents/Field.tsx +4 -0
- package/src/coreComponents/HasMany.tsx +4 -6
- package/src/coreComponents/HasOne.tsx +6 -7
- package/src/dao/Environment.ts +221 -126
- package/src/dao/TreeNodeEnvironmentFactory.ts +228 -0
- package/src/queryLanguage/MarkerFactory.ts +5 -3
- package/src/queryLanguage/Parser.ts +36 -12
- package/src/queryLanguage/tokenList.ts +6 -0
- package/src/treeParameters/primitives/EntityId.ts +1 -1
- package/src/tsconfig.json +1 -1
- package/src/utils/assertNever.ts +1 -1
- package/dist/development/core/schema/SchemaValidator.js +0 -118
- package/dist/development/core/schema/SchemaValidator.js.map +0 -1
- package/dist/types/core/schema/SchemaValidator.d.ts +0 -14
- package/dist/types/core/schema/SchemaValidator.d.ts.map +0 -1
- package/src/core/schema/SchemaValidator.ts +0 -238
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hashing.js","sources":["../../../src/utils/Hashing.ts"],"sourcesContent":["import type {\n\tFilter,\n\tHasManyRelation,\n\tHasOneRelation,\n\tOrderBy,\n\tQualifiedEntityList,\n\tQualifiedSingleEntity,\n\tUnconstrainedQualifiedEntityList,\n\tUnconstrainedQualifiedSingleEntity,\n\tUniqueWhere,\n} from '../treeParameters'\n\n// TODO update hashing so that for offset, 0 == undefined\nexport class Hashing {\n\tpublic static hashHasOneRelation(relation: HasOneRelation): number {\n\t\tconst where: Array<Filter | UniqueWhere | string | undefined> = [\n\t\t\t'upToOne',\n\t\t\trelation.field,\n\t\t\trelation.filter,\n\t\t\trelation.reducedBy,\n\t\t]\n\n\t\treturn Hashing.hashArray(where)\n\t}\n\n\tpublic static hashHasManyRelation(relation: HasManyRelation): number {\n\t\tconst where: Array<Filter | UniqueWhere | OrderBy | string | number | undefined> = [\n\t\t\t'possiblyMany',\n\t\t\trelation.field,\n\t\t\trelation.filter,\n\t\t\t'offset' in relation ? relation.offset : undefined,\n\t\t\t'limit' in relation ? relation.limit : undefined,\n\t\t\t'orderBy' in relation ? relation.orderBy : undefined,\n\t\t]\n\n\t\treturn Hashing.hashArray(where)\n\t}\n\n\tpublic static hashEntityListSubTreeParameters(\n\t\tparameters: QualifiedEntityList | UnconstrainedQualifiedEntityList,\n\t): number {\n\t\tif (parameters.isCreating) {\n\t\t\treturn Hashing.hashArray([parameters.isCreating, parameters.entityName])\n\t\t}\n\t\treturn Hashing.hashArray([\n\t\t\tparameters.isCreating,\n\t\t\tparameters.entityName,\n\t\t\tparameters.filter,\n\t\t\tparameters.orderBy,\n\t\t\tparameters.offset,\n\t\t\tparameters.limit,\n\t\t])\n\t}\n\n\tpublic static hashEntitySubTreeParameters(\n\t\tparameters: QualifiedSingleEntity | UnconstrainedQualifiedSingleEntity,\n\t): number {\n\t\tif (parameters.isCreating) {\n\t\t\treturn Hashing.hashArray([parameters.isCreating, parameters.entityName])\n\t\t}\n\t\treturn Hashing.hashArray([parameters.isCreating, parameters.where, parameters.entityName, parameters.filter])\n\t}\n\n\tprivate static hashArray(array: any[]): number {\n\t\tconst json = array.map(item => JSON.stringify(item)).join('_')\n\t\treturn Hashing.hash(json)\n\t}\n\n\t// Taken from Java\n\tpublic static hash(str: string): number {\n\t\tlet hash = 0\n\t\tif (str.length === 0) {\n\t\t\treturn hash\n\t\t}\n\t\tfor (let i = 0; i < str.length; i++) {\n\t\t\thash = (hash << 5) - hash + str.charCodeAt(i)\n\t\t\thash = hash & hash // Convert to 32bit integer\n\t\t}\n\t\treturn Math.abs(hash)\n\t}\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Hashing.js","sources":["../../../src/utils/Hashing.ts"],"sourcesContent":["import type {\n\tFilter,\n\tHasManyRelation,\n\tHasOneRelation,\n\tOrderBy,\n\tQualifiedEntityList,\n\tQualifiedSingleEntity,\n\tUnconstrainedQualifiedEntityList,\n\tUnconstrainedQualifiedSingleEntity,\n\tUniqueWhere,\n} from '../treeParameters'\n\n// TODO update hashing so that for offset, 0 == undefined\nexport class Hashing {\n\tpublic static hashHasOneRelation(relation: HasOneRelation): number {\n\t\tconst where: Array<Filter | UniqueWhere | string | undefined> = [\n\t\t\t'upToOne',\n\t\t\trelation.field,\n\t\t\trelation.filter,\n\t\t\trelation.reducedBy,\n\t\t]\n\n\t\treturn Hashing.hashArray(where)\n\t}\n\n\tpublic static hashHasManyRelation(relation: HasManyRelation): number {\n\t\tconst where: Array<Filter | UniqueWhere | OrderBy | string | number | undefined> = [\n\t\t\t'possiblyMany',\n\t\t\trelation.field,\n\t\t\trelation.filter,\n\t\t\t'offset' in relation ? relation.offset : undefined,\n\t\t\t'limit' in relation ? relation.limit : undefined,\n\t\t\t'orderBy' in relation ? relation.orderBy : undefined,\n\t\t]\n\n\t\treturn Hashing.hashArray(where)\n\t}\n\n\tpublic static hashEntityListSubTreeParameters(\n\t\tparameters: QualifiedEntityList | UnconstrainedQualifiedEntityList,\n\t): number {\n\t\tif (parameters.isCreating) {\n\t\t\treturn Hashing.hashArray([parameters.isCreating, parameters.entityName])\n\t\t}\n\t\treturn Hashing.hashArray([\n\t\t\tparameters.isCreating,\n\t\t\tparameters.entityName,\n\t\t\tparameters.filter,\n\t\t\tparameters.orderBy,\n\t\t\tparameters.offset,\n\t\t\tparameters.limit,\n\t\t])\n\t}\n\n\tpublic static hashEntitySubTreeParameters(\n\t\tparameters: QualifiedSingleEntity | UnconstrainedQualifiedSingleEntity,\n\t): number {\n\t\tif (parameters.isCreating) {\n\t\t\treturn Hashing.hashArray([parameters.isCreating, parameters.entityName])\n\t\t}\n\t\treturn Hashing.hashArray([parameters.isCreating, parameters.where, parameters.entityName, parameters.filter])\n\t}\n\n\tprivate static hashArray(array: any[]): number {\n\t\tconst json = array.map(item => JSON.stringify(item)).join('_')\n\t\treturn Hashing.hash(json)\n\t}\n\n\t// Taken from Java\n\tpublic static hash(str: string): number {\n\t\tlet hash = 0\n\t\tif (str.length === 0) {\n\t\t\treturn hash\n\t\t}\n\t\tfor (let i = 0; i < str.length; i++) {\n\t\t\thash = (hash << 5) - hash + str.charCodeAt(i)\n\t\t\thash = hash & hash // Convert to 32bit integer\n\t\t}\n\t\treturn Math.abs(hash)\n\t}\n}\n"],"names":[],"mappings":"AAaO,MAAM,QAAQ;AAAA,SACN,mBAAmB,UAAkC;AAClE,UAAM,QAA0D;AAAA,MAC/D;AAAA,MACA,SAAS;AAAA,MACT,SAAS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AA,EACrB;AACD;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assert.js","sources":["../../../src/utils/assert.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\nexport function assert(arg: boolean, message?: string): asserts arg {\n\tif (!arg) {\n\t\tthrow new BindingError(`Assertion fail!${message ? `\\n${message}` : ''}`)\n\t}\n}\n"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"assert.js","sources":["../../../src/utils/assert.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\nexport function assert(arg: boolean, message?: string): asserts arg {\n\tif (!arg) {\n\t\tthrow new BindingError(`Assertion fail!${message ? `\\n${message}` : ''}`)\n\t}\n}\n"],"names":[],"mappings":";AAEO,gBAAgB,KAAc,SAA+B;AACnE,MAAI,CAAC,KAAK;AACH,UAAA,IAAI,aAAa,kBAAkB,UAAU;AAAA,EAAK,YAAY,IAAI;AAAA,EACzE;AACD;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BindingError } from "../BindingError.js";
|
|
2
2
|
function assertNever(_) {
|
|
3
|
-
throw new BindingError(`FATAL ERROR. This should absolutely never have happened. Yet, despite all efforts, here we are.Please find solace in having a good laugh about the whole situation. You have just witnessed true harshness of software development. Please report this bug.`);
|
|
3
|
+
throw new BindingError(`FATAL ERROR. This should absolutely never have happened. Yet, despite all efforts, here we are. Please find solace in having a good laugh about the whole situation. You have just witnessed true harshness of software development. Please report this bug.`);
|
|
4
4
|
}
|
|
5
5
|
export { assertNever };
|
|
6
6
|
//# sourceMappingURL=assertNever.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertNever.js","sources":["../../../src/utils/assertNever.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\nexport function assertNever(_: never): never {\n\tthrow new BindingError(\n\t\t`FATAL ERROR. This should absolutely never have happened. Yet, despite all efforts, here we are
|
|
1
|
+
{"version":3,"file":"assertNever.js","sources":["../../../src/utils/assertNever.ts"],"sourcesContent":["import { BindingError } from '../BindingError'\n\nexport function assertNever(_: never): never {\n\tthrow new BindingError(\n\t\t`FATAL ERROR. This should absolutely never have happened. Yet, despite all efforts, here we are. ` +\n\t\t\t`Please find solace in having a good laugh about the whole situation. ` +\n\t\t\t`You have just witnessed true harshness of software development. ` +\n\t\t\t`Please report this bug.`,\n\t)\n}\n"],"names":[],"mappings":";AAEO,qBAAqB,GAAiB;AACtC,QAAA,IAAI,aACT,8PAID;AACD;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateEnumerabilityPreventingEntropy.js","sources":["../../../src/utils/generateEnumerabilityPreventingEntropy.ts"],"sourcesContent":["export const generateEnumerabilityPreventingEntropy = (length: number = 5): string => {\n\treturn (Math.random() * Math.pow(10, length)).toFixed(0).padStart(length, '0')\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"generateEnumerabilityPreventingEntropy.js","sources":["../../../src/utils/generateEnumerabilityPreventingEntropy.ts"],"sourcesContent":["export const generateEnumerabilityPreventingEntropy = (length: number = 5): string => {\n\treturn (Math.random() * Math.pow(10, length)).toFixed(0).padStart(length, '0')\n}\n"],"names":[],"mappings":"AAAa,MAAA,yCAAyC,CAAC,SAAiB,MAAc;AACrF,SAAa,MAAA,OAAW,IAAA,KAAK,IAAI,IAAI,MAAM,GAAG,QAAQ,CAAC,EAAE,SAAS,QAAQ,GAAG;AAC9E;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"isEmptyObject.js","sources":["../../../src/utils/isEmptyObject.ts"],"sourcesContent":["export const isEmptyObject = (arg: object): boolean => {\n\t// This is faster than Object.keys(arg).length === 0 && arg.constructor === Object\n\tfor (const key in arg) {\n\t\tif (arg.hasOwnProperty(key)) {\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"isEmptyObject.js","sources":["../../../src/utils/isEmptyObject.ts"],"sourcesContent":["export const isEmptyObject = (arg: object): boolean => {\n\t// This is faster than Object.keys(arg).length === 0 && arg.constructor === Object\n\tfor (const key in arg) {\n\t\tif (arg.hasOwnProperty(key)) {\n\t\t\treturn false\n\t\t}\n\t}\n\treturn true\n}\n"],"names":[],"mappings":"AAAa,MAAA,gBAAgB,CAAC,QAAyB;AAEtD,aAAW,OAAO,KAAK;AAClB,QAAA,IAAI,eAAe,GAAG,GAAG;AACrB,aAAA;AAAA,IACR;AAAA,EACD;AACO,SAAA;AACR;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ucfirst.js","sources":["../../../src/utils/ucfirst.ts"],"sourcesContent":["export const ucfirst = (string: string) => `${string.charAt(0).toUpperCase()}${string.substring(1)}`\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ucfirst.js","sources":["../../../src/utils/ucfirst.ts"],"sourcesContent":["export const ucfirst = (string: string) => `${string.charAt(0).toUpperCase()}${string.substring(1)}`\n"],"names":[],"mappings":"AAAO,MAAM,UAAU,CAAC,WAAmB,GAAG,OAAO,OAAO,CAAC,EAAE,YAAY,IAAI,OAAO,UAAU,CAAC;;"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { Result } from '@contember/client';
|
|
2
2
|
import type { ReceivedEntityData } from './QueryRequestResponse';
|
|
3
|
+
declare type WithType<V, Type extends string> = V & {
|
|
4
|
+
__typename: Type;
|
|
5
|
+
};
|
|
3
6
|
export interface FieldPathErrorFragment {
|
|
4
7
|
__typename: '_FieldPathFragment';
|
|
5
8
|
field: string;
|
|
@@ -36,9 +39,14 @@ export interface MutationDataResponse {
|
|
|
36
39
|
[alias: string]: MutationResponse;
|
|
37
40
|
}
|
|
38
41
|
export interface MutationTransactionResponse {
|
|
39
|
-
transaction: MutationDataResponse | null;
|
|
42
|
+
transaction: WithType<MutationDataResponse, 'MutationTransaction'> | null;
|
|
40
43
|
}
|
|
41
44
|
export interface MutationRequestResponse {
|
|
42
45
|
data: MutationTransactionResponse | null;
|
|
46
|
+
errors?: {
|
|
47
|
+
message: string;
|
|
48
|
+
path?: string[];
|
|
49
|
+
}[];
|
|
43
50
|
}
|
|
51
|
+
export {};
|
|
44
52
|
//# sourceMappingURL=MutationRequestResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MutationRequestResponse.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/MutationRequestResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,oBAAoB,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,oBAAoB,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,oBAAY,iBAAiB,GAAG,sBAAsB,GAAG,sBAAsB,CAAA;AAE/E,oBAAY,iBAAiB,GAAG,iBAAiB,EAAE,CAAA;AAEnD,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,iBAAiB,CAAA;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,MAAM,CAAA;KACZ,CAAA;CACD;AAED,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,iBAAiB,CAAA;IACvB,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAA;IAC/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,UAAU,EACP;QACA,KAAK,EAAE,OAAO,CAAA;QACd,MAAM,EAAE,eAAe,EAAE,CAAA;KACxB,GACD,SAAS,CAAA;IACZ,IAAI,EAAE,kBAAkB,CAAA;CACxB;AAED,MAAM,WAAW,oBAAoB;IACpC,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAAA;CACjC;AAED,MAAM,WAAW,2BAA2B;IAC3C,WAAW,EAAE,oBAAoB,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"MutationRequestResponse.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/MutationRequestResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,aAAK,QAAQ,CAAC,CAAC,EAAE,IAAI,SAAS,MAAM,IAAI,CAAC,GAAG;IAAE,UAAU,EAAE,IAAI,CAAA;CAAE,CAAA;AAEhE,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,oBAAoB,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;CACb;AAED,MAAM,WAAW,sBAAsB;IACtC,UAAU,EAAE,oBAAoB,CAAA;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;CACpB;AAED,oBAAY,iBAAiB,GAAG,sBAAsB,GAAG,sBAAsB,CAAA;AAE/E,oBAAY,iBAAiB,GAAG,iBAAiB,EAAE,CAAA;AAEnD,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,iBAAiB,CAAA;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,MAAM,CAAA;KACZ,CAAA;CACD;AAED,MAAM,WAAW,cAAc;IAC9B,IAAI,EAAE,iBAAiB,CAAA;IACvB,IAAI,EAAE,MAAM,CAAC,kBAAkB,CAAA;IAC/B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,MAAM,EAAE,cAAc,EAAE,CAAA;IACxB,UAAU,EACP;QACA,KAAK,EAAE,OAAO,CAAA;QACd,MAAM,EAAE,eAAe,EAAE,CAAA;KACxB,GACD,SAAS,CAAA;IACZ,IAAI,EAAE,kBAAkB,CAAA;CACxB;AAED,MAAM,WAAW,oBAAoB;IACpC,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,CAAA;CACjC;AAED,MAAM,WAAW,2BAA2B;IAC3C,WAAW,EAAE,QAAQ,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,GAAG,IAAI,CAAA;CACzE;AAED,MAAM,WAAW,uBAAuB;IACvC,IAAI,EAAE,2BAA2B,GAAG,IAAI,CAAA;IACxC,MAAM,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;CAC/C"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { EntityId, PlaceholderName, Scalar } from '../treeParameters';
|
|
2
|
-
import type {
|
|
3
|
-
export declare type EntityFieldPersistedData = Scalar |
|
|
2
|
+
import type { ServerId, UniqueEntityId } from './RuntimeId';
|
|
3
|
+
export declare type EntityFieldPersistedData = Scalar | ServerId | EntityListPersistedData;
|
|
4
4
|
export declare type SingleEntityPersistedData = Map<PlaceholderName, EntityFieldPersistedData>;
|
|
5
5
|
export declare type EntityListPersistedData = Set<EntityId>;
|
|
6
|
-
export declare type PersistedEntityDataStore = Map<
|
|
7
|
-
export declare type SubTreeDataStore = Map<PlaceholderName,
|
|
6
|
+
export declare type PersistedEntityDataStore = Map<UniqueEntityId, SingleEntityPersistedData>;
|
|
7
|
+
export declare type SubTreeDataStore = Map<PlaceholderName, ServerId | EntityListPersistedData>;
|
|
8
8
|
export declare class NormalizedPersistedData {
|
|
9
9
|
readonly subTreeDataStore: SubTreeDataStore;
|
|
10
10
|
readonly persistedEntityDataStore: PersistedEntityDataStore;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NormalizedPersistedData.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/NormalizedPersistedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"NormalizedPersistedData.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/NormalizedPersistedData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1E,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAK3D,oBAAY,wBAAwB,GAAG,MAAM,GAAG,QAAQ,GAAG,uBAAuB,CAAA;AAElF,oBAAY,yBAAyB,GAAG,GAAG,CAAC,eAAe,EAAE,wBAAwB,CAAC,CAAA;AAEtF,oBAAY,uBAAuB,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAA;AAEnD,oBAAY,wBAAwB,GAAG,GAAG,CAAC,cAAc,EAAE,yBAAyB,CAAC,CAAA;AAGrF,oBAAY,gBAAgB,GAAG,GAAG,CAAC,eAAe,EAAE,QAAQ,GAAG,uBAAuB,CAAC,CAAA;AAEvF,qBAAa,uBAAuB;aAElB,gBAAgB,EAAE,gBAAgB;aAClC,wBAAwB,EAAE,wBAAwB;gBADlD,gBAAgB,EAAE,gBAAgB,EAClC,wBAAwB,EAAE,wBAAwB;CAEnE"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { RequestError } from './RequestError';
|
|
2
2
|
import { ErrorAccessor } from '../accessors';
|
|
3
|
+
import { EntityId } from '../treeParameters';
|
|
3
4
|
export interface NothingToPersistPersistResult {
|
|
4
5
|
type: 'nothingToPersist';
|
|
5
6
|
}
|
|
6
7
|
export interface JustSuccessPersistResult {
|
|
7
8
|
type: 'justSuccess';
|
|
8
|
-
persistedEntityIds:
|
|
9
|
+
persistedEntityIds: EntityId[];
|
|
9
10
|
afterPersistError?: any;
|
|
10
11
|
}
|
|
11
12
|
export interface InvalidInputPersistResult {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PersistResult.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/PersistResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAE5C,MAAM,WAAW,6BAA6B;IAC7C,IAAI,EAAE,kBAAkB,CAAA;CACxB;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,aAAa,CAAA;IACnB,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"PersistResult.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/PersistResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE5C,MAAM,WAAW,6BAA6B;IAC7C,IAAI,EAAE,kBAAkB,CAAA;CACxB;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,aAAa,CAAA;IACnB,kBAAkB,EAAE,QAAQ,EAAE,CAAA;IAC9B,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACvB;AAED,MAAM,WAAW,yBAAyB;IACzC,IAAI,EAAE,cAAc,CAAA;IACpB,MAAM,EAAE,aAAa,CAAC,KAAK,EAAE,CAAA;CAC7B;AAED,MAAM,WAAW,qBAAqB;IACrC,IAAI,EAAE,iBAAiB,CAAA;IACvB,MAAM,EAAE,GAAG,CAAA;CACX;AAED,MAAM,WAAW,oBAAoB;IACpC,IAAI,EAAE,SAAS,CAAA;CACf;AAED,oBAAY,uBAAuB,GAAG,6BAA6B,GAAG,wBAAwB,CAAA;AAE9F,oBAAY,kBAAkB,GAAG,yBAAyB,GAAG,oBAAoB,GAAG,YAAY,GAAG,qBAAqB,CAAA"}
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import type { Scalar } from '../treeParameters';
|
|
2
|
-
export declare type ReceivedFieldData
|
|
3
|
-
export declare type ReceivedEntityData
|
|
4
|
-
id: string;
|
|
1
|
+
import type { EntityId, Scalar } from '../treeParameters';
|
|
2
|
+
export declare type ReceivedFieldData = Scalar | ReceivedEntityData | Array<ReceivedEntityData>;
|
|
3
|
+
export declare type ReceivedEntityData = {
|
|
5
4
|
__typename: string;
|
|
6
|
-
|
|
5
|
+
id: EntityId;
|
|
6
|
+
} & {
|
|
7
|
+
[fieldName: string]: ReceivedFieldData;
|
|
7
8
|
};
|
|
8
|
-
export declare type ReceivedData
|
|
9
|
-
export interface ReceivedDataTree
|
|
10
|
-
[treeId: string]: ReceivedData
|
|
9
|
+
export declare type ReceivedData = ReceivedEntityData | ReceivedEntityData[];
|
|
10
|
+
export interface ReceivedDataTree {
|
|
11
|
+
[treeId: string]: ReceivedData | null;
|
|
11
12
|
}
|
|
12
|
-
export interface QueryRequestResponse
|
|
13
|
-
data: ReceivedDataTree
|
|
13
|
+
export interface QueryRequestResponse {
|
|
14
|
+
data: ReceivedDataTree;
|
|
15
|
+
errors?: {
|
|
16
|
+
message: string;
|
|
17
|
+
path?: string[];
|
|
18
|
+
}[];
|
|
14
19
|
}
|
|
15
20
|
//# sourceMappingURL=QueryRequestResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryRequestResponse.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/QueryRequestResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"QueryRequestResponse.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/QueryRequestResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAEzD,oBAAY,iBAAiB,GAAG,MAAM,GAAG,kBAAkB,GAAG,KAAK,CAAC,kBAAkB,CAAC,CAAA;AAEvF,oBAAY,kBAAkB,GAC3B;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,EAAE,EAAE,QAAQ,CAAA;CACZ,GACC;IACD,CAAC,SAAS,EAAE,MAAM,GAAG,iBAAiB,CAAA;CACtC,CAAA;AAEF,oBAAY,YAAY,GAAG,kBAAkB,GAAG,kBAAkB,EAAE,CAAA;AAEpE,MAAM,WAAW,gBAAgB;IAChC,CAAC,MAAM,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI,CAAA;CACrC;AAED,MAAM,WAAW,oBAAoB;IACpC,IAAI,EAAE,gBAAgB,CAAA;IACtB,MAAM,CAAC,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;CAC/C"}
|
|
@@ -9,5 +9,13 @@ export interface NetworkErrorRequestError {
|
|
|
9
9
|
export interface UnknownErrorRequestError {
|
|
10
10
|
type: 'unknownError';
|
|
11
11
|
}
|
|
12
|
-
export
|
|
12
|
+
export interface GqlError {
|
|
13
|
+
type: 'gqlError';
|
|
14
|
+
query: string;
|
|
15
|
+
errors: {
|
|
16
|
+
message: string;
|
|
17
|
+
path?: string[];
|
|
18
|
+
}[];
|
|
19
|
+
}
|
|
20
|
+
export declare type RequestError = UnauthorizedRequestError | NetworkErrorRequestError | GqlError | UnknownErrorRequestError;
|
|
13
21
|
//# sourceMappingURL=RequestError.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestError.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/RequestError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,mBAAmB,CAAA;AAE3E,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;CACpB;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;IACpB,QAAQ,EAAE,kCAAkC,CAAA;CAC5C;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;CACpB;AAED,oBAAY,YAAY,GAAG,wBAAwB,GAAG,wBAAwB,GAAG,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"RequestError.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/RequestError.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,mBAAmB,CAAA;AAE3E,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;CACpB;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;IACpB,QAAQ,EAAE,kCAAkC,CAAA;CAC5C;AAED,MAAM,WAAW,wBAAwB;IACxC,IAAI,EAAE,cAAc,CAAA;CACpB;AAED,MAAM,WAAW,QAAQ;IACxB,IAAI,EAAE,UAAU,CAAA;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;CAC9C;AAED,oBAAY,YAAY,GAAG,wBAAwB,GAAG,wBAAwB,GAAG,QAAQ,GAAG,wBAAwB,CAAA"}
|
|
@@ -1,16 +1,25 @@
|
|
|
1
|
+
import { EntityId } from '../treeParameters';
|
|
2
|
+
export declare type UniqueEntityId = string & {
|
|
3
|
+
__type: 'UniqueEntityId';
|
|
4
|
+
};
|
|
1
5
|
export interface RuntimeIdSpec {
|
|
2
6
|
existsOnServer: boolean;
|
|
3
|
-
value:
|
|
7
|
+
value: EntityId;
|
|
8
|
+
uniqueValue: UniqueEntityId;
|
|
4
9
|
}
|
|
5
|
-
export declare class
|
|
6
|
-
readonly value:
|
|
10
|
+
export declare class ServerId implements RuntimeIdSpec {
|
|
11
|
+
readonly value: EntityId;
|
|
12
|
+
readonly entityName: string;
|
|
7
13
|
get existsOnServer(): true;
|
|
8
|
-
constructor(value: string);
|
|
14
|
+
constructor(value: EntityId, entityName: string);
|
|
15
|
+
get uniqueValue(): UniqueEntityId;
|
|
16
|
+
static formatUniqueValue(id: EntityId, entityName: string): UniqueEntityId;
|
|
9
17
|
}
|
|
10
18
|
export declare class ClientGeneratedUuid implements RuntimeIdSpec {
|
|
11
19
|
readonly value: string;
|
|
12
20
|
get existsOnServer(): false;
|
|
13
21
|
constructor(value: string);
|
|
22
|
+
get uniqueValue(): UniqueEntityId;
|
|
14
23
|
}
|
|
15
24
|
export declare class UnpersistedEntityDummyId implements RuntimeIdSpec {
|
|
16
25
|
get existsOnServer(): false;
|
|
@@ -19,7 +28,8 @@ export declare class UnpersistedEntityDummyId implements RuntimeIdSpec {
|
|
|
19
28
|
constructor();
|
|
20
29
|
private static entropyLength;
|
|
21
30
|
private static dummyIdRegex;
|
|
22
|
-
static matchesDummyId(candidate:
|
|
31
|
+
static matchesDummyId(candidate: EntityId): boolean;
|
|
32
|
+
get uniqueValue(): UniqueEntityId;
|
|
23
33
|
}
|
|
24
|
-
export declare type RuntimeId =
|
|
34
|
+
export declare type RuntimeId = ServerId | ClientGeneratedUuid | UnpersistedEntityDummyId;
|
|
25
35
|
//# sourceMappingURL=RuntimeId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RuntimeId.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/RuntimeId.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RuntimeId.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/RuntimeId.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAE5C,oBAAY,cAAc,GAAG,MAAM,GAAG;IAAE,MAAM,EAAE,gBAAgB,CAAA;CAAE,CAAA;AAElE,MAAM,WAAW,aAAa;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,KAAK,EAAE,QAAQ,CAAA;IACf,WAAW,EAAE,cAAc,CAAA;CAC3B;AAED,qBAAa,QAAS,YAAW,aAAa;aAIV,KAAK,EAAE,QAAQ;aAAkB,UAAU,EAAE,MAAM;IAHtF,IAAW,cAAc,IAAI,IAAI,CAEhC;gBACkC,KAAK,EAAE,QAAQ,EAAkB,UAAU,EAAE,MAAM;IAGtF,IAAI,WAAW,mBAEd;IAED,MAAM,CAAC,iBAAiB,CAAC,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,GAAG,cAAc;CAG1E;AAED,qBAAa,mBAAoB,YAAW,aAAa;aAIrB,KAAK,EAAE,MAAM;IAHhD,IAAW,cAAc,IAAI,KAAK,CAEjC;gBACkC,KAAK,EAAE,MAAM;IAEhD,IAAI,WAAW,mBAEd;CACD;AAED,qBAAa,wBAAyB,YAAW,aAAa;IAC7D,IAAW,cAAc,IAAI,KAAK,CAEjC;IACD,SAAgB,KAAK,EAAE,MAAM,CAAA;IAE7B,OAAO,CAAC,MAAM,CAAC,WAAW,CAGtB;;IAWJ,OAAO,CAAC,MAAM,CAAC,aAAa,CAAI;IAChC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAuF;WACpG,cAAc,CAAC,SAAS,EAAE,QAAQ,GAAG,OAAO;IAI1D,IAAI,WAAW,mBAEd;CACD;AAED,oBAAY,SAAS,GAAG,QAAQ,GAAG,mBAAmB,GAAG,wBAAwB,CAAA"}
|
|
@@ -25,7 +25,7 @@ declare class EntityAccessor implements Errorable {
|
|
|
25
25
|
readonly getAccessor: EntityAccessor.GetEntityAccessor;
|
|
26
26
|
constructor(stateKey: EntityRealmState, operations: EntityOperations, runtimeId: RuntimeId, key: EntityRealmKey, // ⚠️ This is *NOT* the id! ⚠️
|
|
27
27
|
name: EntityName, fieldData: EntityAccessor.FieldData, dataFromServer: SingleEntityPersistedData | undefined, hasUnpersistedChanges: boolean, errors: ErrorAccessor | undefined, environment: Environment, getAccessor: EntityAccessor.GetEntityAccessor);
|
|
28
|
-
get idOnServer():
|
|
28
|
+
get idOnServer(): EntityId | undefined;
|
|
29
29
|
/**
|
|
30
30
|
* Note that for entities that don't yet exist on server this will return a dummy id.
|
|
31
31
|
*/
|
|
@@ -48,7 +48,6 @@ declare class EntityAccessor implements Errorable {
|
|
|
48
48
|
getField<Value extends FieldValue = FieldValue>(field: SugaredRelativeSingleField | string): FieldAccessor<Value>;
|
|
49
49
|
getEntity(entity: SugaredRelativeSingleEntity | string): EntityAccessor;
|
|
50
50
|
getEntityList(entityList: SugaredRelativeEntityList | string): EntityListAccessor;
|
|
51
|
-
getKeyConnectedOnServer(entity: SugaredRelativeSingleEntity | string): string | null;
|
|
52
51
|
/**
|
|
53
52
|
* @see EntityAccessor.getField
|
|
54
53
|
*/
|
|
@@ -56,7 +55,6 @@ declare class EntityAccessor implements Errorable {
|
|
|
56
55
|
getRelativeSingleEntity(relativeSingleEntity: RelativeSingleEntity): EntityAccessor;
|
|
57
56
|
getRelativeEntityList(entityList: RelativeEntityList): EntityListAccessor;
|
|
58
57
|
private getAccessorByPlaceholder;
|
|
59
|
-
private getPersistedKeyByPlaceholder;
|
|
60
58
|
}
|
|
61
59
|
declare namespace EntityAccessor {
|
|
62
60
|
interface FieldDatum {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityAccessor.d.ts","sourceRoot":"","sources":["../../../src/accessors/EntityAccessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"EntityAccessor.d.ts","sourceRoot":"","sources":["../../../src/accessors/EntityAccessor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAA;AAEtE,OAAO,KAAK,EAAE,gBAAgB,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AG,CACnC,WAAW,EAAE,iBAAiB,EAC9B,OAAO,EAAE,qBAAqB,KAC1B,IAAI,GAAG,OAAO,CAAC,IAAI,GAAG,qBAAqB,CAAC,CAAA;IAEjD,UAAiB,6BAA6B;QAC7C,aAAa,EAAE,oBAAoB,CAAA;QACnC,YAAY,EAAE,mBAAmB,CAAA;QACjC,gBAAgB,EAAE,cAAc,CAAA;QAChC,YAAY,EAAE,mBAAmB,CAAA;QACjC,cAAc,EAAE,qBAAqB,CAAA;QACrC,MAAM,EAAE,cAAc,CAAA;KACtB;IACD,UAAiB,sBAAuB,SAAQ,6BAA6B;QAC5E,UAAU,EAAE,mBAAmB,CAAA;KAC/B;IACD,KAAY,eAAe,GAAG,MAAM,sBAAsB,CAAA;CAC1D;AAED,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -21,7 +21,7 @@ declare class EntityListAccessor implements Errorable {
|
|
|
21
21
|
readonly getAccessor: EntityListAccessor.GetEntityListAccessor;
|
|
22
22
|
constructor(stateKey: EntityListState, operations: ListOperations, _children: ReadonlyMap<EntityId, {
|
|
23
23
|
getAccessor: EntityAccessor.GetEntityAccessor;
|
|
24
|
-
}>, _idsPersistedOnServer: ReadonlySet<
|
|
24
|
+
}>, _idsPersistedOnServer: ReadonlySet<EntityId>, hasUnpersistedChanges: boolean, errors: ErrorAccessor | undefined, environment: Environment, getAccessor: EntityListAccessor.GetEntityListAccessor);
|
|
25
25
|
/**
|
|
26
26
|
* Returns all entity keys that are on the list.
|
|
27
27
|
* **KEYS ARE NOT IDS!**
|
|
@@ -33,7 +33,7 @@ declare class EntityListAccessor implements Errorable {
|
|
|
33
33
|
* This will only contain the ids that the server knows about. Not necessarily the ids that have been added on
|
|
34
34
|
* the list since the last server query.
|
|
35
35
|
*/
|
|
36
|
-
get idsPersistedOnServer(): Set<
|
|
36
|
+
get idsPersistedOnServer(): Set<EntityId>;
|
|
37
37
|
[Symbol.iterator](): IterableIterator<EntityAccessor>;
|
|
38
38
|
hasEntityId(id: EntityId): boolean;
|
|
39
39
|
isEmpty(): boolean;
|
|
@@ -1 +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,kBAAmB,YAAW,SAAS;IAE3C,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,UAAU;IAC3B,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,qBAAqB;aACtB,qBAAqB,EAAE,OAAO;aAC9B,MAAM,EAAE,aAAa,GAAG,SAAS;aACjC,WAAW,EAAE,WAAW;aACxB,WAAW,EAAE,kBAAkB,CAAC,qBAAqB;gBAPpD,QAAQ,EAAE,eAAe,EACzB,UAAU,EAAE,cAAc,EAC1B,SAA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mB;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAQ;IAC/B,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAkB;IACnD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAc;IAC3C,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAkB;IACnD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAe;IAC7C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAW;gBASnB,gBAAgB,EAAE,aAAa,EAC/B,eAAe,EAAE,aAAa,EAC9B,eAAe,EAAE,aAAa,EAC9B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,EAC7C,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,EACtC,gBAAgB,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI;IAuL7E,OAAO,CAAC,gBAAgB,CAEvB;IAOD,OAAO,CAAC,iBAAiB,CAOX;IAED,UAAU,CAAC,WAAW,EAAE,SAAS,EAAE,OAAO,GAAE,iBAAsB,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC;YAuCnG,0BAA0B;YA4C1B,kBAAkB;IAkChC,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"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ErrorAccessor } from '../accessors';
|
|
2
2
|
import type { MutationDataResponse } from '../accessorTree';
|
|
3
|
-
import type { PlaceholderName } from '../treeParameters';
|
|
3
|
+
import type { EntityId, FieldName, PlaceholderName } from '../treeParameters';
|
|
4
4
|
declare class ErrorsPreprocessor {
|
|
5
5
|
private readonly requestResponse;
|
|
6
6
|
constructor(requestResponse: MutationDataResponse);
|
|
@@ -22,7 +22,7 @@ declare namespace ErrorsPreprocessor {
|
|
|
22
22
|
}
|
|
23
23
|
interface ErrorINode extends BaseErrorNode {
|
|
24
24
|
nodeType: 'iNode';
|
|
25
|
-
children: Map<
|
|
25
|
+
children: Map<FieldName | EntityId, ErrorNode>;
|
|
26
26
|
}
|
|
27
27
|
type ErrorNode = ErrorINode | LeafErrorNode;
|
|
28
28
|
type ErrorTreeRoot = Map<PlaceholderName, ErrorNode>;
|
|
@@ -1 +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;
|
|
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,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAI7E,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,EAA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AAE,2BAA2B,GAAG,SAAS,GAAG,2BAA2B;WAWnG,iBAAiB,CAAC,QAAQ,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,GAAG,WAAW;IAIvF,OAAO,CAAC,MAAM,CAAC,yBAAyB;CAGxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestResponseNormalizer.d.ts","sourceRoot":"","sources":["../../../src/core/RequestResponseNormalizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,uBAAuB,EAEvB,gBAAgB,EAKhB,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"RequestResponseNormalizer.d.ts","sourceRoot":"","sources":["../../../src/core/RequestResponseNormalizer.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,uBAAuB,EAEvB,gBAAgB,EAKhB,MAAM,iBAAiB,CAAA;AAOxB,qBAAa,yBAAyB;WACvB,oBAAoB,CACjC,QAAQ,EAAE,uBAAuB,EACjC,gBAAgB,EAAE,gBAAgB,GAChC,GAAG,CAAC,MAAM,CAAC;WAoBA,uBAAuB,CACpC,QAAQ,EAAE,uBAAuB,EACjC,gBAAgB,EAAE,gBAAgB,GAChC,GAAG,CAAC,MAAM,CAAC;IAsEd,OAAO,CAAC,MAAM,CAAC,eAAe;IAiB9B,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAyB/B,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAuC/B,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAchC,OAAO,CAAC,MAAM,CAAC,UAAU;CAGzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StateInitializer.d.ts","sourceRoot":"","sources":["../../../src/core/StateInitializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAqC,MAAM,cAAc,CAAA;AACrG,OAAO,EAA4B,SAAS,
|
|
1
|
+
{"version":3,"file":"StateInitializer.d.ts","sourceRoot":"","sources":["../../../src/core/StateInitializ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AAS,EAAE,oBAAoB,EAC/B,QAAQ,CAAC,EAAE,gBAAgB,GAAG,oBAAoB,GAChD,gBAAgB,GAAG,oBAAoB;IAoE1C,OAAO,CAAC,iBAAiB;IA0CzB,OAAO,CAAC,sBAAsB;IAuD9B,OAAO,CAAC,mBAAmB;IAapB,qBAAqB,CAAC,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,GAAG,WAAW;IAqBhF,OAAO,CAAC,yBAAyB;IAuDjC,OAAO,CAAC,oBAAoB;IAoD5B,OAAO,CAAC,yBAAyB;IAuBjC,OAAO,CAAC,kCAAkC;IA+B1C,OAAO,CAAC,mCAAmC;IAgC3C,OAAO,CAAC,2BAA2B;IAY5B,8BAA8B,CACpC,KAAK,EAAE,gBAAgB,GAAG,oBAAoB,EAC9C,UAAU,EAAE,cAAc,CAAC,mBAAmB,GAAG,SAAS;IAepD,kCAAkC,CAAC,SAAS,EAAE,oBAAoB,GAAG,wBAAwB,GAAG,SAAS;IAmBhH,OAAO,CAAC,sCAAsC;IAW9C,OAAO,CAAC,2CAA2C;IAWnD,OAAO,CAAC,iCAAiC;CAIzC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { NormalizedPersistedData, PersistedEntityDataStore, ReceivedDataTree, SubTreeDataStore } from '../accessorTree';
|
|
1
|
+
import { NormalizedPersistedData, PersistedEntityDataStore, ReceivedDataTree, SubTreeDataStore, UniqueEntityId } from '../accessorTree';
|
|
2
2
|
import type { Environment } from '../dao';
|
|
3
3
|
import { MarkerTreeRoot } from '../markers';
|
|
4
4
|
import type { Alias, EntityId, EntityRealmKey, FieldName, PlaceholderName, SugaredQualifiedEntityList, SugaredQualifiedSingleEntity, SugaredUnconstrainedQualifiedEntityList, SugaredUnconstrainedQualifiedSingleEntity, TreeRootId } from '../treeParameters';
|
|
5
5
|
import type { Schema } from './schema';
|
|
6
6
|
import type { EntityListState, EntityRealmState, EntityRealmStateStub, EntityState, RootStateNode } from './state';
|
|
7
7
|
export declare class TreeStore {
|
|
8
|
-
readonly entityStore: Map<
|
|
8
|
+
readonly entityStore: Map<UniqueEntityId, EntityState>;
|
|
9
9
|
readonly entityRealmStore: Map<EntityRealmKey, EntityRealmState | EntityRealmStateStub>;
|
|
10
10
|
readonly markerTrees: Map<TreeRootId | undefined, MarkerTreeRoot>;
|
|
11
11
|
readonly subTreeStatesByRoot: Map<TreeRootId | undefined, Map<PlaceholderName, RootStateNode>>;
|
|
@@ -24,7 +24,7 @@ export declare class TreeStore {
|
|
|
24
24
|
} | undefined;
|
|
25
25
|
getSubTreeState(mode: 'entity', treeRootId: TreeRootId | undefined, aliasOrParameters: Alias | SugaredQualifiedSingleEntity | SugaredUnconstrainedQualifiedSingleEntity, environment: Environment): EntityRealmState;
|
|
26
26
|
getSubTreeState(mode: 'entityList', treeRootId: TreeRootId | undefined, aliasOrParameters: Alias | SugaredQualifiedEntityList | SugaredUnconstrainedQualifiedEntityList, environment: Environment): EntityListState;
|
|
27
|
-
getEntityListPersistedIds(state: EntityListState): ReadonlySet<
|
|
27
|
+
getEntityListPersistedIds(state: EntityListState): ReadonlySet<EntityId>;
|
|
28
28
|
disposeOfRealm(realmToDisposeOf: EntityRealmState | EntityRealmStateStub): void;
|
|
29
29
|
disposeOfEntity(entity: EntityState): void;
|
|
30
30
|
effectivelyHasTreeRoot(candidateRoot: MarkerTreeRoot): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeStore.d.ts","sourceRoot":"","sources":["../../../src/core/TreeStore.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TreeStore.d.ts","sourceRoot":"","sources":["../../../src/core/TreeStore.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,uBAAuB,EACvB,wBAAwB,EACxB,gBAAgB,EAChB,gBAAgB,EAChB,cAAc,EACd,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,E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IA2CL,eAAe,CACrB,IAAI,EAAE,QAAQ,EACd,UAAU,EAAE,UAAU,GAAG,SAAS,EAClC,iBAAiB,EAAE,KAAK,GAAG,4BAA4B,GAAG,yCAAyC,EACnG,WAAW,EAAE,WAAW,GACtB,gBAAgB;IACZ,eAAe,CACrB,IAAI,EAAE,YAAY,EAClB,UAAU,EAAE,UAAU,GAAG,SAAS,EAClC,iBAAiB,EAAE,KAAK,GAAG,0BAA0B,GAAG,uCAAuC,EAC/F,WAAW,EAAE,WAAW,GACtB,eAAe;IA8DX,yBAAyB,CAAC,KAAK,EAAE,eAAe,GAAG,WAAW,CAAC,QAAQ,CAAC;IAWxE,cAAc,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,oBAAoB;IA+BxE,eAAe,CAAC,MAAM,EAAE,WAAW;IAQnC,sBAAsB,CAAC,aAAa,EAAE,cAAc,GAAG,OAAO;CAkBrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VariableInputTransformer.d.ts","sourceRoot":"","sources":["../../../src/core/VariableInputTransformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAEzF,qBAAa,wBAAwB;WACtB,cAAc,CAAC,KAAK,EAAE,4BAA4B,EAAE,WAAW,EAAE,WAAW,GAAG,UAAU;WAOzF,2BAA2B,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,WAAW,EAAE,WAAW,GAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"VariableInputTransformer.d.ts","sourceRoot":"","sources":["../../../src/core/VariableInputTransformer.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAA;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAEzF,qBAAa,wBAAwB;WACtB,cAAc,CAAC,KAAK,EAAE,4BAA4B,EAAE,WAAW,EAAE,WAAW,GAAG,UAAU;WAOzF,2BAA2B,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,WAAW,EAAE,WAAW,GAAG,MAAM;CAanH"}
|
|
@@ -5,6 +5,7 @@ import { EventManager } from '../EventManager';
|
|
|
5
5
|
import { EntityListState } from '../state';
|
|
6
6
|
import type { StateInitializer } from '../StateInitializer';
|
|
7
7
|
import type { TreeStore } from '../TreeStore';
|
|
8
|
+
import { EntityId } from '../../treeParameters';
|
|
8
9
|
export declare class ListOperations {
|
|
9
10
|
private readonly accessorErrorManager;
|
|
10
11
|
private readonly batchUpdatesOptions;
|
|
@@ -27,6 +28,6 @@ export declare class ListOperations {
|
|
|
27
28
|
noPersist?: boolean;
|
|
28
29
|
}): void;
|
|
29
30
|
createNewEntity(outerState: EntityListState, initialize: EntityAccessor.BatchUpdatesHandler | undefined): RuntimeId;
|
|
30
|
-
getChildEntityById(state: EntityListState, id:
|
|
31
|
+
getChildEntityById(state: EntityListState, id: EntityId): EntityAccessor;
|
|
31
32
|
}
|
|
32
33
|
//# sourceMappingURL=ListOperations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListOperations.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/ListOperations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC7G,OAAO,EAAE,SAAS,EAA4B,MAAM,oBAAoB,CAAA;AAExE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAI9C,OAAO,EAAE,eAAe,EAAkC,MAAM,UAAU,CAAA;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM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,GAAG,SAAS,CAAC,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MutationAlias.d.ts","sourceRoot":"","sources":["../../../../src/core/requestAliases/MutationAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAKnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAa5E,qBAAa,aAAa;WACX,cAAc,CAAC,SAAS,EAAE,yBAAyB,GAAG,MAAM;WAiB5D,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS;WAsBpE,cAAc,CAAC,QAAQ,EAAE,SAAS,GAAG,MAAM;WAI3C,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC;CAK/D"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { EntityName, FieldName } from '../../treeParameters';
|
|
2
2
|
import type { SchemaField } from './SchemaField';
|
|
3
3
|
import type { SchemaStore } from './SchemaStore';
|
|
4
|
+
import { SchemaEntity } from './SchemaEntity';
|
|
4
5
|
export declare class Schema {
|
|
5
6
|
readonly store: SchemaStore;
|
|
6
7
|
constructor(store: SchemaStore);
|
|
8
|
+
getEntity(entityName: EntityName): SchemaEntity | undefined;
|
|
7
9
|
getEntityField(entityName: EntityName, field: FieldName): SchemaField | undefined;
|
|
8
10
|
}
|
|
9
11
|
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/Schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,qBAAa,MAAM;aACiB,KAAK,EAAE,WAAW;gBAAlB,KAAK,EAAE,WAAW;IAE9C,SAAS,CAAC,UAAU,EAAE,UAAU,GAAG,YAAY,GAAG,SAAS;IAI3D,cAAc,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS;CAGxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { Environment } from '../dao';
|
|
|
3
3
|
import type { SugaredQualifiedEntityList, SugaredUnconstrainedQualifiedEntityList, TreeRootId } from '../treeParameters';
|
|
4
4
|
import { EntityListBaseProps } from './EntityList';
|
|
5
5
|
export interface EntityListSubTreeAdditionalProps {
|
|
6
|
-
variables?: Environment.
|
|
6
|
+
variables?: Environment.ValuesMapWithFactory;
|
|
7
7
|
}
|
|
8
8
|
export declare type EntityListSubTreeProps<ListProps, EntityProps> = {
|
|
9
9
|
treeRootId?: TreeRootId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityListSubTree.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/EntityListSubTree.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAe,MAAM,OAAO,CAAA;AAO3E,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,KAAK,EAAE,0BAA0B,EAAE,uCAAuC,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAExH,OAAO,EAAc,mBAAmB,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"EntityListSubTree.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/EntityListSubTree.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAe,MAAM,OAAO,CAAA;AAO3E,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,KAAK,EAAE,0BAA0B,EAAE,uCAAuC,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAExH,OAAO,EAAc,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAI9D,MAAM,WAAW,gCAAgC;IAChD,SAAS,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAA;CAC5C;AAED,oBAAY,sBAAsB,CAAC,SAAS,EAAE,WAAW,IAAI;IAC5D,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB,GAAG,gCAAgC,GACnC,CAAC,0BAA0B,GAAG,uCAAuC,CAAC,GACtE,CACG,EAAE,GACF;IACA,aAAa,EAAE,aAAa,CAAC,SAAS,GAAG,mBAAmB,CAAC,CAAA;IAC7D,SAAS,CAAC,EAAE,SAAS,CAAA;CACpB,CACH,CAAA;AAEF,eAAO,MAAM,iBAAiB,qFAuC0D,YAAY,CAAA"}
|
|
@@ -3,7 +3,7 @@ import { SetOrderFieldOnCreateOwnProps } from '../accessorSorting';
|
|
|
3
3
|
import { Environment } from '../dao';
|
|
4
4
|
import type { SugaredQualifiedSingleEntity, SugaredUnconstrainedQualifiedSingleEntity, TreeRootId } from '../treeParameters';
|
|
5
5
|
export interface EntitySubTreeAdditionalProps {
|
|
6
|
-
variables?: Environment.
|
|
6
|
+
variables?: Environment.ValuesMapWithFactory;
|
|
7
7
|
}
|
|
8
8
|
export declare type EntitySubTreeAdditionalCreationProps = {} | SetOrderFieldOnCreateOwnProps;
|
|
9
9
|
export declare type EntitySubTreeProps<EntityProps> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntitySubTree.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/EntitySubTree.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EntitySubTree.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/EntitySubTree.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAe,MAAM,OAAO,CAAA;AAE5D,OAAO,EAAyB,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAEzF,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,KAAK,EACX,4BAA4B,EAC5B,yCAAyC,EACzC,UAAU,EACV,MAAM,mBAAmB,CAAA;AAM1B,MAAM,WAAW,4BAA4B;IAC5C,SAAS,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAA;CAC5C;AAED,oBAAY,oCAAoC,GAAG,EAAE,GAAG,6BAA6B,CAAA;AAErF,oBAAY,kBAAkB,CAAC,WAAW,IACvC;IACD,UAAU,CAAC,EAAE,UAAU,CAAA;IACvB,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB,GACC,4BAA4B,GAC5B,CACC,4BAA4B,GAC5B,CAAC,yCAAyC,GAAG,oCAAoC,CAAC,CACpF,CAAA;AAEF,eAAO,MAAM,aAAa,0DAgDmC,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGpD,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/Field.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGpD,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAI/E,MAAM,WAAW,eAAgB,SAAQ,0BAA0B;CAAG;AAEtE,MAAM,WAAW,iBAAiB,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU;IAC3E,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,KAAK,SAAS,CAAA;CAC/C;AAED,MAAM,WAAW,UAAU,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU,CACpE,SAAQ,eAAe,EACtB,iBAAiB,CAAC,SAAS,CAAC;CAAG;AAEjC,eAAO,MAAM,KAAK,+HAwBgE,YAAY,CAAA"}
|