@contember/binding 1.1.0-alpha.1 → 1.1.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/development/accessorPropagation/EnvironmentContext.js +28 -2
- package/dist/development/accessorPropagation/EnvironmentContext.js.map +1 -1
- package/dist/development/accessorPropagation/useEntityListSubTree.js +4 -2
- package/dist/development/accessorPropagation/useEntityListSubTree.js.map +1 -1
- package/dist/development/accessorPropagation/useEntitySubTree.js +4 -2
- package/dist/development/accessorPropagation/useEntitySubTree.js.map +1 -1
- package/dist/development/accessorPropagation/useExtendTree.js +27 -0
- package/dist/development/accessorPropagation/useExtendTree.js.map +1 -0
- package/dist/development/accessorTree/AccessorTree.js +16 -14
- package/dist/development/accessorTree/AccessorTree.js.map +1 -1
- package/dist/development/accessorTree/AccessorTreeStateContext.js +4 -0
- package/dist/development/accessorTree/AccessorTreeStateContext.js.map +1 -0
- package/dist/development/accessorTree/NormalizedPersistedData.js.map +1 -1
- package/dist/development/accessorTree/accessorTreeStateReducer.js +11 -2
- package/dist/development/accessorTree/accessorTreeStateReducer.js.map +1 -1
- package/dist/development/accessorTree/useAccessorTreeState.js +12 -0
- package/dist/development/accessorTree/useAccessorTreeState.js.map +1 -0
- package/dist/development/accessorTree/useDataBinding.js +41 -51
- package/dist/development/accessorTree/useDataBinding.js.map +1 -1
- package/dist/development/core/AccessorErrorManager.js +2 -2
- package/dist/development/core/AccessorErrorManager.js.map +1 -1
- package/dist/development/core/Config.js +1 -2
- package/dist/development/core/Config.js.map +1 -1
- package/dist/development/core/DataBinding.js +18 -35
- package/dist/development/core/DataBinding.js.map +1 -1
- package/dist/development/core/DirtinessTracker.js +4 -13
- package/dist/development/core/DirtinessTracker.js.map +1 -1
- package/dist/development/core/ErrorsPreprocessor.js +9 -13
- package/dist/development/core/ErrorsPreprocessor.js.map +1 -1
- package/dist/development/core/EventManager.js +12 -7
- package/dist/development/core/EventManager.js.map +1 -1
- package/dist/development/core/IncrementalMarkerBuilder.js +1 -1
- package/dist/development/core/MarkerMerger.js +2 -2
- package/dist/development/core/MutationGenerator.js +175 -136
- package/dist/development/core/MutationGenerator.js.map +1 -1
- package/dist/development/core/RequestResponseNormalizer.js +93 -130
- package/dist/development/core/RequestResponseNormalizer.js.map +1 -1
- package/dist/development/core/StateInitializer.js +22 -30
- package/dist/development/core/StateInitializer.js.map +1 -1
- package/dist/development/core/TreeAugmenter.js +4 -4
- package/dist/development/core/TreeAugmenter.js.map +1 -1
- package/dist/development/core/TreeStore.js +9 -20
- package/dist/development/core/TreeStore.js.map +1 -1
- package/dist/development/core/VariableInputTransformer.js.map +1 -1
- package/dist/development/core/operations/EntityOperations.js +10 -9
- package/dist/development/core/operations/EntityOperations.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/requestAliases/MutationAlias.js +2 -40
- package/dist/development/core/requestAliases/MutationAlias.js.map +1 -1
- package/dist/development/core/schema/Schema.js +27 -3
- package/dist/development/core/schema/Schema.js.map +1 -1
- package/dist/development/core/schema/SchemaLoader.js +12 -12
- package/dist/development/core/schema/SchemaLoader.js.map +1 -1
- package/dist/development/core/schema/SchemaPreprocessor.js +1 -1
- package/dist/development/core/schema/SchemaPreprocessor.js.map +1 -1
- package/dist/development/coreComponents/Component.js +5 -2
- package/dist/development/coreComponents/Component.js.map +1 -1
- package/dist/development/coreComponents/DataBindingProvider.js +0 -1
- package/dist/development/coreComponents/DataBindingProvider.js.map +1 -1
- package/dist/development/coreComponents/HasOne.js +1 -1
- package/dist/development/dao/Environment.js +34 -2
- package/dist/development/dao/Environment.js.map +1 -1
- package/dist/development/dao/TreeNodeEnvironmentFactory.js +4 -10
- package/dist/development/dao/TreeNodeEnvironmentFactory.js.map +1 -1
- package/dist/development/helperComponents/DeferredSubTrees.js +16 -8
- package/dist/development/helperComponents/DeferredSubTrees.js.map +1 -1
- package/dist/development/helperComponents/If.js +39 -0
- package/dist/development/helperComponents/If.js.map +1 -0
- package/dist/development/helperComponents/SugaredField.js +1 -1
- package/dist/development/helperComponents/helpers/FilterEvaluator.js +35 -0
- package/dist/development/helperComponents/helpers/FilterEvaluator.js.map +1 -0
- package/dist/development/helperComponents/helpers/FilterFieldsCollector.js +38 -0
- package/dist/development/helperComponents/helpers/FilterFieldsCollector.js.map +1 -0
- package/dist/development/helperComponents/helpers/evaluateCondition.js +46 -0
- package/dist/development/helperComponents/helpers/evaluateCondition.js.map +1 -0
- package/dist/development/index.js +6 -1
- package/dist/development/index.js.map +1 -1
- package/dist/development/markers/EntityListSubTreeMarker.js +1 -1
- package/dist/development/markers/EntityListSubTreeMarker.js.map +1 -1
- package/dist/development/markers/EntitySubTreeMarker.js +1 -1
- package/dist/development/markers/EntitySubTreeMarker.js.map +1 -1
- package/dist/development/markers/PlaceholderGenerator.js +4 -4
- package/dist/development/markers/PlaceholderGenerator.js.map +1 -1
- package/dist/development/queryLanguage/MarkerFactory.js +2 -2
- package/dist/development/queryLanguage/QueryLanguage.js +1 -1
- package/dist/development/utils/Hashing.js +21 -6
- package/dist/development/utils/Hashing.js.map +1 -1
- package/dist/production/accessorPropagation/EnvironmentContext.js +28 -2
- package/dist/production/accessorPropagation/EnvironmentContext.js.map +1 -1
- package/dist/production/accessorPropagation/useEntityListSubTree.js +4 -2
- package/dist/production/accessorPropagation/useEntityListSubTree.js.map +1 -1
- package/dist/production/accessorPropagation/useEntitySubTree.js +4 -2
- package/dist/production/accessorPropagation/useEntitySubTree.js.map +1 -1
- package/dist/production/accessorPropagation/useExtendTree.js +27 -0
- package/dist/production/accessorPropagation/useExtendTree.js.map +1 -0
- package/dist/production/accessorTree/AccessorTree.js +16 -14
- package/dist/production/accessorTree/AccessorTree.js.map +1 -1
- package/dist/production/accessorTree/AccessorTreeStateContext.js +4 -0
- package/dist/production/accessorTree/AccessorTreeStateContext.js.map +1 -0
- package/dist/production/accessorTree/NormalizedPersistedData.js.map +1 -1
- package/dist/production/accessorTree/accessorTreeStateReducer.js +11 -2
- package/dist/production/accessorTree/accessorTreeStateReducer.js.map +1 -1
- package/dist/production/accessorTree/useAccessorTreeState.js +12 -0
- package/dist/production/accessorTree/useAccessorTreeState.js.map +1 -0
- package/dist/production/accessorTree/useDataBinding.js +41 -51
- package/dist/production/accessorTree/useDataBinding.js.map +1 -1
- package/dist/production/core/AccessorErrorManager.js +2 -2
- package/dist/production/core/AccessorErrorManager.js.map +1 -1
- package/dist/production/core/Config.js +1 -2
- package/dist/production/core/Config.js.map +1 -1
- package/dist/production/core/DataBinding.js +18 -35
- package/dist/production/core/DataBinding.js.map +1 -1
- package/dist/production/core/DirtinessTracker.js +4 -13
- package/dist/production/core/DirtinessTracker.js.map +1 -1
- package/dist/production/core/ErrorsPreprocessor.js +9 -13
- package/dist/production/core/ErrorsPreprocessor.js.map +1 -1
- package/dist/production/core/EventManager.js +11 -6
- package/dist/production/core/EventManager.js.map +1 -1
- package/dist/production/core/IncrementalMarkerBuilder.js +1 -1
- package/dist/production/core/MarkerMerger.js +2 -2
- package/dist/production/core/MutationGenerator.js +175 -136
- package/dist/production/core/MutationGenerator.js.map +1 -1
- package/dist/production/core/RequestResponseNormalizer.js +93 -130
- package/dist/production/core/RequestResponseNormalizer.js.map +1 -1
- package/dist/production/core/StateInitializer.js +22 -30
- package/dist/production/core/StateInitializer.js.map +1 -1
- package/dist/production/core/TreeAugmenter.js +4 -4
- package/dist/production/core/TreeAugmenter.js.map +1 -1
- package/dist/production/core/TreeStore.js +9 -20
- package/dist/production/core/TreeStore.js.map +1 -1
- package/dist/production/core/VariableInputTransformer.js.map +1 -1
- package/dist/production/core/operations/EntityOperations.js +10 -9
- package/dist/production/core/operations/EntityOperations.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/requestAliases/MutationAlias.js +2 -33
- package/dist/production/core/requestAliases/MutationAlias.js.map +1 -1
- package/dist/production/core/schema/Schema.js +27 -3
- package/dist/production/core/schema/Schema.js.map +1 -1
- package/dist/production/core/schema/SchemaLoader.js +12 -12
- package/dist/production/core/schema/SchemaLoader.js.map +1 -1
- package/dist/production/core/schema/SchemaPreprocessor.js +1 -1
- package/dist/production/core/schema/SchemaPreprocessor.js.map +1 -1
- package/dist/production/coreComponents/Component.js +5 -2
- package/dist/production/coreComponents/Component.js.map +1 -1
- package/dist/production/coreComponents/DataBindingProvider.js +0 -1
- package/dist/production/coreComponents/DataBindingProvider.js.map +1 -1
- package/dist/production/coreComponents/HasOne.js +1 -1
- package/dist/production/dao/Environment.js +34 -2
- package/dist/production/dao/Environment.js.map +1 -1
- package/dist/production/dao/TreeNodeEnvironmentFactory.js +4 -10
- package/dist/production/dao/TreeNodeEnvironmentFactory.js.map +1 -1
- package/dist/production/helperComponents/DeferredSubTrees.js +16 -8
- package/dist/production/helperComponents/DeferredSubTrees.js.map +1 -1
- package/dist/production/helperComponents/If.js +39 -0
- package/dist/production/helperComponents/If.js.map +1 -0
- package/dist/production/helperComponents/SugaredField.js +1 -1
- package/dist/production/helperComponents/helpers/FilterEvaluator.js +35 -0
- package/dist/production/helperComponents/helpers/FilterEvaluator.js.map +1 -0
- package/dist/production/helperComponents/helpers/FilterFieldsCollector.js +38 -0
- package/dist/production/helperComponents/helpers/FilterFieldsCollector.js.map +1 -0
- package/dist/production/helperComponents/helpers/evaluateCondition.js +46 -0
- package/dist/production/helperComponents/helpers/evaluateCondition.js.map +1 -0
- package/dist/production/index.js +6 -1
- package/dist/production/index.js.map +1 -1
- package/dist/production/markers/EntityListSubTreeMarker.js +1 -1
- package/dist/production/markers/EntityListSubTreeMarker.js.map +1 -1
- package/dist/production/markers/EntitySubTreeMarker.js +1 -1
- package/dist/production/markers/EntitySubTreeMarker.js.map +1 -1
- package/dist/production/markers/PlaceholderGenerator.js +4 -4
- package/dist/production/markers/PlaceholderGenerator.js.map +1 -1
- package/dist/production/queryLanguage/MarkerFactory.js +2 -2
- package/dist/production/queryLanguage/QueryLanguage.js +1 -1
- package/dist/production/utils/Hashing.js +21 -6
- package/dist/production/utils/Hashing.js.map +1 -1
- package/dist/types/accessorPropagation/BindingOperationsContext.d.ts +1 -1
- package/dist/types/accessorPropagation/BindingOperationsContext.d.ts.map +1 -1
- package/dist/types/accessorPropagation/EntityKeyContext.d.ts +1 -1
- package/dist/types/accessorPropagation/EntityKeyContext.d.ts.map +1 -1
- package/dist/types/accessorPropagation/EnvironmentContext.d.ts +13 -2
- package/dist/types/accessorPropagation/EnvironmentContext.d.ts.map +1 -1
- package/dist/types/accessorPropagation/TreeRootIdContext.d.ts +1 -1
- package/dist/types/accessorPropagation/TreeRootIdContext.d.ts.map +1 -1
- package/dist/types/accessorPropagation/index.d.ts +1 -0
- package/dist/types/accessorPropagation/index.d.ts.map +1 -1
- package/dist/types/accessorPropagation/useEntityListSubTree.d.ts +2 -1
- package/dist/types/accessorPropagation/useEntityListSubTree.d.ts.map +1 -1
- package/dist/types/accessorPropagation/useEntitySubTree.d.ts +2 -1
- package/dist/types/accessorPropagation/useEntitySubTree.d.ts.map +1 -1
- package/dist/types/accessorPropagation/useExtendTree.d.ts +5 -0
- package/dist/types/accessorPropagation/useExtendTree.d.ts.map +1 -0
- package/dist/types/accessorSorting/SetOrderFieldOnCreate.d.ts +1 -1
- package/dist/types/accessorSorting/SetOrderFieldOnCreate.d.ts.map +1 -1
- package/dist/types/accessorTree/AccessorTree.d.ts.map +1 -1
- package/dist/types/accessorTree/AccessorTreeState.d.ts +8 -0
- package/dist/types/accessorTree/AccessorTreeState.d.ts.map +1 -1
- package/dist/types/accessorTree/AccessorTreeStateAction.d.ts +6 -0
- package/dist/types/accessorTree/AccessorTreeStateAction.d.ts.map +1 -1
- package/dist/types/accessorTree/AccessorTreeStateContext.d.ts +4 -0
- package/dist/types/accessorTree/AccessorTreeStateContext.d.ts.map +1 -0
- package/dist/types/accessorTree/AccessorTreeStateOptions.d.ts +0 -1
- package/dist/types/accessorTree/AccessorTreeStateOptions.d.ts.map +1 -1
- package/dist/types/accessorTree/DirtinessContext.d.ts +1 -1
- package/dist/types/accessorTree/DirtinessContext.d.ts.map +1 -1
- package/dist/types/accessorTree/MutationStateContext.d.ts +1 -1
- package/dist/types/accessorTree/MutationStateContext.d.ts.map +1 -1
- package/dist/types/accessorTree/NormalizedPersistedData.d.ts +2 -2
- package/dist/types/accessorTree/NormalizedPersistedData.d.ts.map +1 -1
- package/dist/types/accessorTree/QueryRequestResponse.d.ts +2 -2
- package/dist/types/accessorTree/QueryRequestResponse.d.ts.map +1 -1
- package/dist/types/accessorTree/accessorTreeStateReducer.d.ts.map +1 -1
- package/dist/types/accessorTree/index.d.ts +1 -0
- package/dist/types/accessorTree/index.d.ts.map +1 -1
- package/dist/types/accessorTree/useAccessorTreeState.d.ts +2 -0
- package/dist/types/accessorTree/useAccessorTreeState.d.ts.map +1 -0
- package/dist/types/accessorTree/useDataBinding.d.ts +1 -1
- package/dist/types/accessorTree/useDataBinding.d.ts.map +1 -1
- package/dist/types/accessors/BindingConfig.d.ts +0 -1
- package/dist/types/accessors/BindingConfig.d.ts.map +1 -1
- package/dist/types/core/AccessorErrorManager.d.ts +2 -1
- package/dist/types/core/AccessorErrorManager.d.ts.map +1 -1
- package/dist/types/core/Config.d.ts.map +1 -1
- package/dist/types/core/DataBinding.d.ts +3 -4
- package/dist/types/core/DataBinding.d.ts.map +1 -1
- package/dist/types/core/DirtinessTracker.d.ts +2 -5
- package/dist/types/core/DirtinessTracker.d.ts.map +1 -1
- package/dist/types/core/ErrorsPreprocessor.d.ts +3 -1
- package/dist/types/core/ErrorsPreprocessor.d.ts.map +1 -1
- package/dist/types/core/EventManager.d.ts +1 -1
- package/dist/types/core/EventManager.d.ts.map +1 -1
- package/dist/types/core/MutationGenerator.d.ts +25 -1
- package/dist/types/core/MutationGenerator.d.ts.map +1 -1
- package/dist/types/core/RequestResponseNormalizer.d.ts +6 -7
- package/dist/types/core/RequestResponseNormalizer.d.ts.map +1 -1
- package/dist/types/core/StateInitializer.d.ts +1 -5
- package/dist/types/core/StateInitializer.d.ts.map +1 -1
- package/dist/types/core/TreeAugmenter.d.ts +3 -2
- package/dist/types/core/TreeAugmenter.d.ts.map +1 -1
- package/dist/types/core/TreeStore.d.ts +5 -5
- package/dist/types/core/TreeStore.d.ts.map +1 -1
- package/dist/types/core/VariableInputTransformer.d.ts +2 -2
- package/dist/types/core/VariableInputTransformer.d.ts.map +1 -1
- package/dist/types/core/index.d.ts +1 -0
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/operations/EntityOperations.d.ts.map +1 -1
- package/dist/types/core/operations/ListOperations.d.ts.map +1 -1
- package/dist/types/core/requestAliases/MutationAlias.d.ts +0 -3
- package/dist/types/core/requestAliases/MutationAlias.d.ts.map +1 -1
- package/dist/types/core/requestAliases/index.d.ts +0 -3
- package/dist/types/core/requestAliases/index.d.ts.map +1 -1
- package/dist/types/core/schema/RawSchemaEntity.d.ts +3 -2
- package/dist/types/core/schema/RawSchemaEntity.d.ts.map +1 -1
- package/dist/types/core/schema/Schema.d.ts +13 -3
- package/dist/types/core/schema/Schema.d.ts.map +1 -1
- package/dist/types/core/schema/SchemaColumn.d.ts +1 -1
- package/dist/types/core/schema/SchemaColumn.d.ts.map +1 -1
- package/dist/types/core/schema/SchemaEntity.d.ts +1 -1
- package/dist/types/core/schema/SchemaEntity.d.ts.map +1 -1
- package/dist/types/core/schema/SchemaLoader.d.ts +2 -1
- package/dist/types/core/schema/SchemaLoader.d.ts.map +1 -1
- package/dist/types/core/schema/SchemaRelation.d.ts +1 -1
- package/dist/types/core/schema/SchemaRelation.d.ts.map +1 -1
- package/dist/types/core/state/FieldState.d.ts +2 -2
- package/dist/types/core/state/FieldState.d.ts.map +1 -1
- package/dist/types/coreComponents/Component.d.ts +9 -4
- package/dist/types/coreComponents/Component.d.ts.map +1 -1
- package/dist/types/coreComponents/DataBindingProvider.d.ts +0 -1
- package/dist/types/coreComponents/DataBindingProvider.d.ts.map +1 -1
- package/dist/types/coreComponents/Entity.d.ts +1 -1
- package/dist/types/coreComponents/Entity.d.ts.map +1 -1
- package/dist/types/coreComponents/Field.d.ts +1 -1
- package/dist/types/coreComponents/Field.d.ts.map +1 -1
- package/dist/types/coreComponents/ParentEntity.d.ts +1 -1
- package/dist/types/coreComponents/ParentEntity.d.ts.map +1 -1
- package/dist/types/dao/Environment.d.ts +9 -0
- package/dist/types/dao/Environment.d.ts.map +1 -1
- package/dist/types/dao/TreeNodeEnvironmentFactory.d.ts.map +1 -1
- package/dist/types/entityEvents/useDerivedField.d.ts +2 -2
- package/dist/types/entityEvents/useDerivedField.d.ts.map +1 -1
- package/dist/types/helperComponents/DeferredSubTrees.d.ts +1 -1
- package/dist/types/helperComponents/DeferredSubTrees.d.ts.map +1 -1
- package/dist/types/helperComponents/FieldView.d.ts +7 -7
- package/dist/types/helperComponents/FieldView.d.ts.map +1 -1
- package/dist/types/helperComponents/If.d.ts +14 -0
- package/dist/types/helperComponents/If.d.ts.map +1 -0
- package/dist/types/helperComponents/StaticRender.d.ts +1 -1
- package/dist/types/helperComponents/StaticRender.d.ts.map +1 -1
- package/dist/types/helperComponents/SugaredField.d.ts +1 -1
- package/dist/types/helperComponents/SugaredField.d.ts.map +1 -1
- package/dist/types/helperComponents/helpers/FilterEvaluator.d.ts +9 -0
- package/dist/types/helperComponents/helpers/FilterEvaluator.d.ts.map +1 -0
- package/dist/types/helperComponents/helpers/FilterFieldsCollector.d.ts +10 -0
- package/dist/types/helperComponents/helpers/FilterFieldsCollector.d.ts.map +1 -0
- package/dist/types/helperComponents/helpers/evaluateCondition.d.ts +4 -0
- package/dist/types/helperComponents/helpers/evaluateCondition.d.ts.map +1 -0
- package/dist/types/helperComponents/index.d.ts +1 -0
- package/dist/types/helperComponents/index.d.ts.map +1 -1
- package/dist/types/markers/FieldMarker.d.ts +3 -3
- package/dist/types/markers/FieldMarker.d.ts.map +1 -1
- package/dist/types/markers/PlaceholderGenerator.d.ts +3 -2
- package/dist/types/markers/PlaceholderGenerator.d.ts.map +1 -1
- package/dist/types/treeParameters/primitives/FieldValue.d.ts +2 -2
- package/dist/types/treeParameters/primitives/FieldValue.d.ts.map +1 -1
- package/dist/types/treeParameters/primitives/Json.d.ts +7 -0
- package/dist/types/treeParameters/primitives/Json.d.ts.map +1 -0
- package/dist/types/treeParameters/primitives/index.d.ts +1 -0
- package/dist/types/treeParameters/primitives/index.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/types/utils/Hashing.d.ts +3 -2
- package/dist/types/utils/Hashing.d.ts.map +1 -1
- package/package.json +7 -5
- package/src/accessorPropagation/EnvironmentContext.tsx +44 -0
- package/src/accessorPropagation/index.ts +1 -0
- package/src/accessorPropagation/useEntityListSubTree.ts +8 -1
- package/src/accessorPropagation/useEntitySubTree.ts +8 -1
- package/src/accessorPropagation/useExtendTree.ts +30 -0
- package/src/accessorTree/AccessorTree.tsx +18 -18
- package/src/accessorTree/AccessorTreeState.ts +12 -1
- package/src/accessorTree/AccessorTreeStateAction.ts +7 -1
- package/src/accessorTree/AccessorTreeStateContext.ts +4 -0
- package/src/accessorTree/AccessorTreeStateOptions.ts +0 -1
- package/src/accessorTree/NormalizedPersistedData.ts +2 -2
- package/src/accessorTree/QueryRequestResponse.ts +2 -2
- package/src/accessorTree/accessorTreeStateReducer.ts +10 -1
- package/src/accessorTree/index.ts +1 -0
- package/src/accessorTree/useAccessorTreeState.ts +11 -0
- package/src/accessorTree/useDataBinding.ts +41 -59
- package/src/accessors/BindingConfig.ts +0 -1
- package/src/core/AccessorErrorManager.ts +3 -2
- package/src/core/Config.ts +0 -1
- package/src/core/DataBinding.ts +19 -38
- package/src/core/DirtinessTracker.ts +4 -16
- package/src/core/ErrorsPreprocessor.ts +14 -16
- package/src/core/EventManager.ts +14 -8
- package/src/core/MutationGenerator.ts +244 -183
- package/src/core/RequestResponseNormalizer.ts +110 -161
- package/src/core/StateInitializer.ts +35 -47
- package/src/core/TreeAugmenter.ts +5 -4
- package/src/core/TreeStore.ts +11 -21
- package/src/core/VariableInputTransformer.ts +2 -2
- package/src/core/index.ts +1 -0
- package/src/core/operations/EntityOperations.ts +9 -10
- package/src/core/operations/ListOperations.ts +2 -1
- package/src/core/requestAliases/MutationAlias.ts +2 -57
- package/src/core/requestAliases/index.ts +0 -3
- package/src/core/schema/RawSchemaEntity.ts +1 -2
- package/src/core/schema/Schema.ts +38 -4
- package/src/core/schema/SchemaColumn.ts +1 -1
- package/src/core/schema/SchemaEntity.ts +1 -1
- package/src/core/schema/SchemaLoader.ts +13 -11
- package/src/core/schema/SchemaPreprocessor.ts +1 -1
- package/src/core/schema/SchemaRelation.ts +1 -1
- package/src/core/state/FieldState.ts +2 -2
- package/src/coreComponents/Component.tsx +20 -7
- package/src/coreComponents/DataBindingProvider.tsx +0 -2
- package/src/dao/Environment.ts +42 -1
- package/src/dao/TreeNodeEnvironmentFactory.ts +6 -10
- package/src/helperComponents/DeferredSubTrees.tsx +20 -13
- package/src/helperComponents/If.tsx +71 -0
- package/src/helperComponents/helpers/FilterEvaluator.ts +46 -0
- package/src/helperComponents/helpers/FilterFieldsCollector.ts +46 -0
- package/src/helperComponents/helpers/evaluateCondition.ts +52 -0
- package/src/helperComponents/index.ts +1 -0
- package/src/markers/EntityListSubTreeMarker.ts +1 -1
- package/src/markers/EntitySubTreeMarker.ts +1 -1
- package/src/markers/PlaceholderGenerator.ts +5 -2
- package/src/treeParameters/primitives/FieldValue.ts +2 -2
- package/src/treeParameters/primitives/Json.ts +7 -0
- package/src/treeParameters/primitives/index.ts +1 -0
- package/src/typings/react-fix.d.ts +12 -0
- package/src/utils/Hashing.ts +23 -8
- package/dist/development/core/requestAliases/mutationOperationSubTreeType.js +0 -6
- package/dist/development/core/requestAliases/mutationOperationSubTreeType.js.map +0 -1
- package/dist/development/core/requestAliases/mutationOperationType.js +0 -7
- package/dist/development/core/requestAliases/mutationOperationType.js.map +0 -1
- package/dist/production/core/requestAliases/mutationOperationSubTreeType.js +0 -6
- package/dist/production/core/requestAliases/mutationOperationSubTreeType.js.map +0 -1
- package/dist/production/core/requestAliases/mutationOperationType.js +0 -7
- package/dist/production/core/requestAliases/mutationOperationType.js.map +0 -1
- package/dist/types/core/requestAliases/TopLevelMutationOperation.d.ts +0 -11
- package/dist/types/core/requestAliases/TopLevelMutationOperation.d.ts.map +0 -1
- package/dist/types/core/requestAliases/mutationOperationSubTreeType.d.ts +0 -5
- package/dist/types/core/requestAliases/mutationOperationSubTreeType.d.ts.map +0 -1
- package/dist/types/core/requestAliases/mutationOperationType.d.ts +0 -6
- package/dist/types/core/requestAliases/mutationOperationType.d.ts.map +0 -1
- package/src/accessorPropagation/EnvironmentContext.ts +0 -5
- package/src/core/requestAliases/TopLevelMutationOperation.ts +0 -11
- package/src/core/requestAliases/mutationOperationSubTreeType.ts +0 -4
- package/src/core/requestAliases/mutationOperationType.ts +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDataBinding.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/useDataBinding.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAQ1E,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"useDataBinding.d.ts","sourceRoot":"","sources":["../../../src/accessorTree/useDataBinding.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAQ1E,eAAO,MAAM,cAAc,oCAGxB,wBAAwB,KAAG,iBA0D7B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BindingConfig.d.ts","sourceRoot":"","sources":["../../../src/accessors/BindingConfig.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC7B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,wBAAwB,EAAE,MAAM,CAAA;IAChC,yBAAyB,EAAE,MAAM,CAAA;IACjC,kBAAkB,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"BindingConfig.d.ts","sourceRoot":"","sources":["../../../src/accessors/BindingConfig.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC7B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,wBAAwB,EAAE,MAAM,CAAA;IAChC,yBAAyB,EAAE,MAAM,CAAA;IACjC,kBAAkB,EAAE,MAAM,CAAA;CAC1B"}
|
|
@@ -3,6 +3,7 @@ import type { MutationDataResponse } from '../accessorTree';
|
|
|
3
3
|
import { EventManager } from './EventManager';
|
|
4
4
|
import { StateNode } from './state';
|
|
5
5
|
import type { TreeStore } from './TreeStore';
|
|
6
|
+
import { SubMutationOperation } from './MutationGenerator';
|
|
6
7
|
export declare class AccessorErrorManager {
|
|
7
8
|
private readonly eventManager;
|
|
8
9
|
private readonly treeStore;
|
|
@@ -13,7 +14,7 @@ export declare class AccessorErrorManager {
|
|
|
13
14
|
getErrors(): ErrorAccessor.Error[];
|
|
14
15
|
clearErrors(): void;
|
|
15
16
|
clearErrorsByState(state: StateNode): void;
|
|
16
|
-
replaceErrors(data: MutationDataResponse): void;
|
|
17
|
+
replaceErrors(data: MutationDataResponse, operations: SubMutationOperation[]): void;
|
|
17
18
|
addError(state: StateNode, error: ErrorAccessor.Error): () => void;
|
|
18
19
|
private addSeveralErrors;
|
|
19
20
|
private setRootStateErrors;
|
|
@@ -1 +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,E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{"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,
|
|
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,CAK3B;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"}
|
|
@@ -4,15 +4,16 @@ import { ExtendTreeOptions, TreeRootAccessor } from '../accessors';
|
|
|
4
4
|
import { RequestError, SuccessfulPersistResult } from '../accessorTree';
|
|
5
5
|
import type { Environment } from '../dao';
|
|
6
6
|
import type { TreeRootId } from '../treeParameters';
|
|
7
|
+
import { TreeStore } from './TreeStore';
|
|
7
8
|
export declare class DataBinding {
|
|
8
9
|
private readonly contentApiClient;
|
|
9
10
|
private readonly systemApiClient;
|
|
10
11
|
private readonly tenantApiClient;
|
|
12
|
+
private readonly treeStore;
|
|
11
13
|
private readonly environment;
|
|
12
14
|
private readonly onUpdate;
|
|
13
15
|
private readonly onError;
|
|
14
16
|
private readonly onPersistSuccess;
|
|
15
|
-
private static readonly schemaLoadCache;
|
|
16
17
|
private readonly accessorErrorManager;
|
|
17
18
|
private readonly batchUpdatesOptions;
|
|
18
19
|
private readonly asyncBatchUpdatesOptions;
|
|
@@ -22,15 +23,13 @@ export declare class DataBinding {
|
|
|
22
23
|
private readonly eventManager;
|
|
23
24
|
private readonly stateInitializer;
|
|
24
25
|
private readonly treeAugmenter;
|
|
25
|
-
|
|
26
|
-
constructor(contentApiClient: GraphQlClient, systemApiClient: GraphQlClient, tenantApiClient: GraphQlClient, environment: Environment, onUpdate: (newData: TreeRootAccessor) => void, onError: (error: RequestError) => void, onPersistSuccess: (result: SuccessfulPersistResult) => void);
|
|
26
|
+
constructor(contentApiClient: GraphQlClient, systemApiClient: GraphQlClient, tenantApiClient: GraphQlClient, treeStore: TreeStore, environment: Environment, onUpdate: (newData: TreeRootAccessor, binding: DataBinding) => void, onError: (error: RequestError, binding: DataBinding) => void, onPersistSuccess: (result: SuccessfulPersistResult, binding: DataBinding) => void);
|
|
27
27
|
private resolvedOnUpdate;
|
|
28
28
|
private pendingExtensions;
|
|
29
29
|
extendTree(newFragment: ReactNode, options?: ExtendTreeOptions): Promise<TreeRootId | undefined>;
|
|
30
30
|
private flushBatchedTreeExtensions;
|
|
31
31
|
private fetchPersistedData;
|
|
32
32
|
private resetTreeAfterSuccessfulPersist;
|
|
33
|
-
private getOrLoadSchema;
|
|
34
33
|
private static getNextTreeRootIdSeed;
|
|
35
34
|
private getNewTreeRootId;
|
|
36
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataBinding.d.ts","sourceRoot":"","sources":["../../../src/core/DataBinding.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAkD,MAAM,mBAAmB,CAAA;AACtG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAIN,iBAAiB,EAGjB,gBAAgB,EAChB,MAAM,cAAc,CAAA;AACrB,OAAO,EAIN,YAAY,EACZ,uBAAuB,EACvB,MAAM,iBAAiB,CAAA;AACxB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,C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AAQ,CAAC,gBAAgB,CAAkB;IACnD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAe;gBAS3B,gBAAgB,EAAE,aAAa,EAC/B,eAAe,EAAE,aAAa,EAC9B,eAAe,EAAE,aAAa,EAC9B,SAAS,EAAE,SAAS,EACpB,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,WAAW,KAAK,IAAI,EACnE,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,WAAW,KAAK,IAAI,EAC5D,gBAAgB,EAAE,CAAC,MAAM,EAAE,uBAAuB,EAAE,OAAO,EAAE,WAAW,KAAK,IAAI;IAuLnG,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;YAqCnG,0BAA0B;YA4C1B,kBAAkB;IAkChC,OAAO,CAAC,+BAA+B;IAuCvC,OAAO,CAAC,MAAM,CAAC,qBAAqB,CAGhC;IAEJ,OAAO,CAAC,gBAAgB;CAOxB;AAED,eAAO,MAAM,wBAAwB,eAAoB,CAAA"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
export declare class DirtinessTracker {
|
|
2
2
|
private changesCount;
|
|
3
|
-
private
|
|
4
|
-
|
|
5
|
-
getTotalChangesCount(): number;
|
|
3
|
+
private touchedCount;
|
|
4
|
+
getTotalTouchCount(): number;
|
|
6
5
|
hasChanges(): boolean;
|
|
7
6
|
reset(): void;
|
|
8
|
-
increment(): void;
|
|
9
|
-
decrement(): void;
|
|
10
7
|
increaseBy(delta: number): void;
|
|
11
8
|
}
|
|
12
9
|
//# sourceMappingURL=DirtinessTracker.d.ts.map
|
|
@@ -1 +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,
|
|
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,YAAY,CAAI;IAEjB,kBAAkB;IAIlB,UAAU;IAIV,KAAK;IAIL,UAAU,CAAC,KAAK,EAAE,MAAM;CAI/B"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { ErrorAccessor } from '../accessors';
|
|
2
2
|
import type { MutationDataResponse } from '../accessorTree';
|
|
3
3
|
import type { EntityId, FieldName, PlaceholderName } from '../treeParameters';
|
|
4
|
+
import { SubMutationOperation } from './MutationGenerator';
|
|
4
5
|
declare class ErrorsPreprocessor {
|
|
5
6
|
private readonly requestResponse;
|
|
6
|
-
|
|
7
|
+
private readonly operations;
|
|
8
|
+
constructor(requestResponse: MutationDataResponse, operations: SubMutationOperation[]);
|
|
7
9
|
preprocess(): ErrorsPreprocessor.ErrorTreeRoot;
|
|
8
10
|
private processMutationResponse;
|
|
9
11
|
private getErrorNode;
|
|
@@ -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,QAAQ,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"ErrorsPreprocessor.d.ts","sourceRoot":"","sources":["../../../src/core/ErrorsPreprocessor.ts"],"names":[],"mappings":"AA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
key?: string;
|
|
52
52
|
}, listenerArgs: Parameters<Exclude<EventListenerTypes[1][EventType], undefined>>): Array<() => ReturnType<Exclude<EventListenerTypes[1][EventType], undefined>>> | undefined;
|
|
53
53
|
private handleRejections;
|
|
54
|
-
private
|
|
54
|
+
private validateWithoutChanges;
|
|
55
55
|
}
|
|
56
56
|
//# sourceMappingURL=EventManager.d.ts.map
|
|
@@ -1 +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,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,SAAS;IAtB3B,gBAAuB,qBAAqB,KAAI;IAEhD,OAAO,CAAC,gBAAgB,CAAI;IAC5B,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ACtC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,GAAG,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,GAAG,SAAS;IASzH,mBAAmB,CACzB,KAAK,SAAS,SAAS,EACvB,kBAAkB,SACjB,OAAO,CAAC,KAAK,CAAC,gBAAgB,CAAC,EAAE,SAAS,CAAC,SAAS,mBAAmB,CAAC,MAAM,IAAI,EAAE,MAAM,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,KAAK,EACrH,SAAS,SAAS,kBAAkB,CAAC,CAAC,CAAC,EAEvC,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE;QAAE,IAAI,EAAE,SAAS,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,EACxC,YAAY,EAAE,UAAU,CAAC,OAAO,CAAC,kBAAkB,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;IAexB,OAAO,CAAC,sBAAsB;CAa9B"}
|
|
@@ -1,8 +1,31 @@
|
|
|
1
|
+
import { EntityFieldMarkers } from '../markers';
|
|
2
|
+
import type { EntityId, PlaceholderName } from '../treeParameters';
|
|
1
3
|
import type { TreeStore } from './TreeStore';
|
|
4
|
+
export declare type SubMutationOperation = {
|
|
5
|
+
alias: string;
|
|
6
|
+
subTreePlaceholder: PlaceholderName;
|
|
7
|
+
subTreeType: 'list' | 'single';
|
|
8
|
+
} & ({
|
|
9
|
+
type: 'delete';
|
|
10
|
+
id: EntityId;
|
|
11
|
+
} | {
|
|
12
|
+
type: 'update';
|
|
13
|
+
markers: EntityFieldMarkers;
|
|
14
|
+
id: EntityId;
|
|
15
|
+
} | {
|
|
16
|
+
type: 'create';
|
|
17
|
+
markers: EntityFieldMarkers;
|
|
18
|
+
id: EntityId;
|
|
19
|
+
});
|
|
20
|
+
export declare type PersistMutationResult = {
|
|
21
|
+
query: string;
|
|
22
|
+
operations: SubMutationOperation[];
|
|
23
|
+
};
|
|
2
24
|
export declare class MutationGenerator {
|
|
3
25
|
private readonly treeStore;
|
|
26
|
+
private aliasCounter;
|
|
4
27
|
constructor(treeStore: TreeStore);
|
|
5
|
-
getPersistMutation():
|
|
28
|
+
getPersistMutation(): PersistMutationResult | undefined;
|
|
6
29
|
private addSubMutation;
|
|
7
30
|
private getNodeFragmentName;
|
|
8
31
|
private addDeleteMutation;
|
|
@@ -14,5 +37,6 @@ export declare class MutationGenerator {
|
|
|
14
37
|
private registerCreateEntityListPart;
|
|
15
38
|
private registerUpdateMutationPart;
|
|
16
39
|
private transformFieldValue;
|
|
40
|
+
private createAlias;
|
|
17
41
|
}
|
|
18
42
|
//# sourceMappingURL=MutationGenerator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MutationGenerator.d.ts","sourceRoot":"","sources":["../../../src/core/MutationGenerator.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MutationGenerator.d.ts","sourceRoot":"","sources":["../../../src/core/MutationGenerator.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,kBAAkB,EAA4D,MAAM,YAAY,CAAA;AACzG,OAAO,KAAK,EAAE,QAAQ,EAA0B,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAa1F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAM5C,oBAAY,oBAAoB,GAC7B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,EAAE,eAAe,CAAC;IACpC,WAAW,EAAE,MAAM,GAAG,QAAQ,CAAA;CAC9B,GACC,CACC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,EAAE,EAAE,QAAQ,CAAA;CAAE,GAChC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,kBAAkB,CAAC;IAAC,EAAE,EAAE,QAAQ,CAAA;CAAE,GAC7D;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,kBAAkB,CAAC;IAAC,EAAE,EAAE,QAAQ,CAAA;CAAE,CAC/D,CAAA;AAEF,oBAAY,qBAAqB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,oBAAoB,EAAE,CAAA;CAClC,CAAA;AAGD,qBAAa,iBAAiB;IAIV,OAAO,CAAC,QAAQ,CAAC,SAAS;IAF7C,OAAO,CAAC,YAAY,CAAI;gBAEY,SAAS,EAAE,SAAS;IAGjD,kBAAkB,IAAI,qBAAqB,GAAG,SAAS;IA4E9D,OAAO,CAAC,cAAc;IAiFtB,OAAO,CAAC,mBAAmB;IAW3B,OAAO,CAAC,iBAAiB;IAmBzB,OAAO,CAAC,iBAAiB;IAgDzB,OAAO,CAAC,iBAAiB;IA6CzB,OAAO,CAAC,0BAA0B;IAgKlC,OAAO,CAAC,uBAAuB;IAa/B,OAAO,CAAC,wBAAwB;IA4BhC,OAAO,CAAC,4BAA4B;IAoBpC,OAAO,CAAC,0BAA0B;IAiNlC,OAAO,CAAC,mBAAmB;IAY3B,OAAO,CAAC,WAAW;CAGnB"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { NormalizedPersistedData, ReceivedDataTree } from '../accessorTree';
|
|
2
|
+
import { MarkerTreeRoot } from '../markers';
|
|
3
|
+
import { SubMutationOperation } from './MutationGenerator';
|
|
2
4
|
export declare class RequestResponseNormalizer {
|
|
3
|
-
static mergeInQueryResponse(original: NormalizedPersistedData, newPersistedData: ReceivedDataTree):
|
|
4
|
-
static mergeInMutationResponse(original: NormalizedPersistedData, newPersistedData: ReceivedDataTree):
|
|
5
|
-
private static
|
|
6
|
-
private static
|
|
7
|
-
private static mergeInFieldData;
|
|
8
|
-
private static mergeInEntityData;
|
|
9
|
-
private static rejectData;
|
|
5
|
+
static mergeInQueryResponse(original: NormalizedPersistedData, newPersistedData: ReceivedDataTree, markerTree: MarkerTreeRoot): void;
|
|
6
|
+
static mergeInMutationResponse(original: NormalizedPersistedData, newPersistedData: ReceivedDataTree, operations: SubMutationOperation[]): void;
|
|
7
|
+
private static processEntityData;
|
|
8
|
+
private static extractId;
|
|
10
9
|
}
|
|
11
10
|
//# sourceMappingURL=RequestResponseNormalizer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestResponseNormalizer.d.ts","sourceRoot":"","sources":["../../../src/core/RequestResponseNormalizer.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"RequestResponseNormalizer.d.ts","sourceRoot":"","sources":["../../../src/core/RequestResponseNormalizer.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,uBAAuB,EAEvB,gBAAgB,EAGhB,MAAM,iBAAiB,CAAA;AAIxB,OAAO,EAON,cAAc,EACd,MAAM,YAAY,CAAA;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAG1D,qBAAa,yBAAyB;WACvB,oBAAoB,CACjC,QAAQ,EAAE,uBAAuB,EACjC,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,cAAc,GACxB,IAAI;WA+BO,uBAAuB,CACpC,QAAQ,EAAE,uBAAuB,EACjC,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,oBAAoB,EAAE,GAChC,IAAI;IAuDP,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAkChC,OAAO,CAAC,MAAM,CAAC,SAAS;CASxB"}
|
|
@@ -3,20 +3,16 @@ import { RuntimeId } from '../accessorTree';
|
|
|
3
3
|
import { EntityListSubTreeMarker, EntitySubTreeMarker } from '../markers';
|
|
4
4
|
import type { EntityEventListenerStore, EntityName } from '../treeParameters';
|
|
5
5
|
import type { AccessorErrorManager } from './AccessorErrorManager';
|
|
6
|
-
import type { Config } from './Config';
|
|
7
6
|
import type { EventManager } from './EventManager';
|
|
8
7
|
import { EntityRealmBlueprint, EntityRealmState, EntityRealmStateStub, EntityState, RootStateNode } from './state';
|
|
9
8
|
import type { TreeStore } from './TreeStore';
|
|
10
9
|
export declare class StateInitializer {
|
|
11
|
-
private readonly accessorErrorManager;
|
|
12
|
-
private readonly batchUpdatesOptions;
|
|
13
|
-
private readonly config;
|
|
14
10
|
private readonly eventManager;
|
|
15
11
|
private readonly treeStore;
|
|
16
12
|
private readonly fieldOperations;
|
|
17
13
|
private readonly entityOperations;
|
|
18
14
|
private readonly listOperations;
|
|
19
|
-
constructor(accessorErrorManager: AccessorErrorManager, batchUpdatesOptions: BatchUpdatesOptions,
|
|
15
|
+
constructor(accessorErrorManager: AccessorErrorManager, batchUpdatesOptions: BatchUpdatesOptions, eventManager: EventManager, treeStore: TreeStore);
|
|
20
16
|
initializeSubTree(tree: EntitySubTreeMarker | EntityListSubTreeMarker): RootStateNode;
|
|
21
17
|
initializeEntityRealm(id: RuntimeId, entityName: EntityName, blueprint: EntityRealmBlueprint, copyFrom?: EntityRealmState | EntityRealmStateStub): EntityRealmState | EntityRealmStateStub;
|
|
22
18
|
private createEntityRealm;
|
|
@@ -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,EAAsC,MAAM,iBAAiB,CAAA;AAEzG,OAAO,EACN,uBAAuB,EACvB,mBAAmB,EAInB,MAAM,YAAY,CAAA;AAEnB,OAAO,KAAK,EACX,wBAAwB,
|
|
1
|
+
{"version":3,"file":"StateInitializer.d.ts","s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OAAO,CAAC,mBAAmB;IAapB,qBAAqB,CAAC,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,GAAG,WAAW;IAqBhF,OAAO,CAAC,yBAAyB;IAuDjC,OAAO,CAAC,oBAAoB;IAgD5B,OAAO,CAAC,yBAAyB;IAwBjC,OAAO,CAAC,kCAAkC;IA+B1C,OAAO,CAAC,mCAAmC;IAgC3C,OAAO,CAAC,2BAA2B;IAQ5B,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"}
|
|
@@ -4,14 +4,15 @@ import type { TreeRootId } from '../treeParameters';
|
|
|
4
4
|
import { EventManager } from './EventManager';
|
|
5
5
|
import type { StateInitializer } from './StateInitializer';
|
|
6
6
|
import type { TreeStore } from './TreeStore';
|
|
7
|
+
import { SubMutationOperation } from './MutationGenerator';
|
|
7
8
|
export declare class TreeAugmenter {
|
|
8
9
|
private readonly eventManager;
|
|
9
10
|
private readonly stateInitializer;
|
|
10
11
|
private readonly treeStore;
|
|
11
12
|
constructor(eventManager: EventManager, stateInitializer: StateInitializer, treeStore: TreeStore);
|
|
12
|
-
extendPersistedData(newPersistedData: ReceivedDataTree): void;
|
|
13
|
+
extendPersistedData(newPersistedData: ReceivedDataTree, markerTree: MarkerTreeRoot): void;
|
|
13
14
|
extendTreeStates(newTreeId: TreeRootId | undefined, newMarkerTree: MarkerTreeRoot): void;
|
|
14
|
-
updatePersistedData(response: ReceivedDataTree): void;
|
|
15
|
+
updatePersistedData(response: ReceivedDataTree, operations: SubMutationOperation[]): void;
|
|
15
16
|
resetCreatingSubTrees(): void;
|
|
16
17
|
private updateRealmIdIfNecessary;
|
|
17
18
|
private updateEntityRealmPersistedData;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeAugmenter.d.ts","sourceRoot":"","sources":["../../../src/core/TreeAugmenter.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,gBAAgB,EAIhB,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAA6B,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"TreeAugmenter.d.ts","sourceRoot":"","sources":["../../../src/core/TreeAugmenter.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,gBAAgB,EAIhB,MAAM,iBAAiB,CAAA;AAExB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAChD,OAAO,KAAK,EAA6B,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE1D,qBAAa,aAAa;IAExB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAFT,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,SAAS;IAG/B,mBAAmB,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,cAAc;IAKlF,gBAAgB,CAAC,SAAS,EAAE,UAAU,GAAG,SAAS,EAAE,aAAa,EAAE,cAAc,GAAG,IAAI;IAYxF,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,UAAU,EAAE,oBAAoB,EAAE;IAoClF,qBAAqB;IAoD5B,OAAO,CAAC,wBAAwB;IA2BhC,OAAO,CAAC,8BAA8B;IAiDtC,OAAO,CAAC,6BAA6B;CAuDrC"}
|
|
@@ -4,17 +4,17 @@ 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
|
+
import { SubMutationOperation } from './MutationGenerator';
|
|
7
8
|
export declare class TreeStore {
|
|
9
|
+
private readonly _schema;
|
|
8
10
|
readonly entityStore: Map<UniqueEntityId, EntityState>;
|
|
9
11
|
readonly entityRealmStore: Map<EntityRealmKey, EntityRealmState | EntityRealmStateStub>;
|
|
10
12
|
readonly markerTrees: Map<TreeRootId | undefined, MarkerTreeRoot>;
|
|
11
13
|
readonly subTreeStatesByRoot: Map<TreeRootId | undefined, Map<PlaceholderName, RootStateNode>>;
|
|
12
|
-
private _schema;
|
|
13
14
|
readonly persistedData: NormalizedPersistedData;
|
|
14
|
-
constructor();
|
|
15
|
-
mergeInQueryResponse(response: ReceivedDataTree): void;
|
|
16
|
-
mergeInMutationResponse(response: ReceivedDataTree): void;
|
|
17
|
-
setSchema(newSchema: Schema): void;
|
|
15
|
+
constructor(_schema: Schema);
|
|
16
|
+
mergeInQueryResponse(response: ReceivedDataTree, markerTree: MarkerTreeRoot): void;
|
|
17
|
+
mergeInMutationResponse(response: ReceivedDataTree, operations: SubMutationOperation[]): void;
|
|
18
18
|
get persistedEntityData(): PersistedEntityDataStore;
|
|
19
19
|
get subTreePersistedData(): SubTreeDataStore;
|
|
20
20
|
get schema(): Schema;
|
|
@@ -1 +1 @@
|
|
|
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,EAAE,cAAc,EAAwB,MAAM,YAAY,CAAA;AAEjE,OAAO,KAAK,EACX,KAAK,EACL,QAAQ,EAER,cAAc,EACd,SAAS,EACT,eAAe,EACf,0BAA0B,EAC1B,4BAA4B,EAC5B,uCAAuC,EACvC,yCAAyC,EACzC,UAAU,EACV,MAAM,mBAAmB,CAAA;AAI1B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;
|
|
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,EAAE,cAAc,EAAwB,MAAM,YAAY,CAAA;AAEjE,OAAO,KAAK,EACX,KAAK,EACL,QAAQ,EAER,cAAc,EACd,SAAS,EACT,eAAe,EACf,0BAA0B,EAC1B,4BAA4B,EAC5B,uCAAuC,EACvC,yCAAyC,EACzC,UAAU,EACV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AAE,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;IAgEX,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,7 +1,7 @@
|
|
|
1
1
|
import { Environment, VariableFieldValue } from '../dao';
|
|
2
|
-
import type { FieldValue, OptionallyVariableFieldValue
|
|
2
|
+
import type { FieldValue, OptionallyVariableFieldValue } from '../treeParameters';
|
|
3
3
|
export declare class VariableInputTransformer {
|
|
4
4
|
static transformValue(value: OptionallyVariableFieldValue, environment: Environment): FieldValue;
|
|
5
|
-
static transformVariableFieldValue(variableFieldValue: VariableFieldValue, environment: Environment):
|
|
5
|
+
static transformVariableFieldValue(variableFieldValue: VariableFieldValue, environment: Environment): FieldValue;
|
|
6
6
|
}
|
|
7
7
|
//# sourceMappingURL=VariableInputTransformer.d.ts.map
|
|
@@ -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,
|
|
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,mBAAmB,CAAA;AAEjF,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,UAAU;CAavH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,4BAA4B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityOperations.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/EntityOperations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAIzF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAErD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAGnD,OAAO,EAAmB,gBAAgB,EAAwD,MAAM,UAAU,CAAA;AAClH,OAAO,KAAK,EA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untimeId } from '../../accessorTree';
|
|
2
|
-
import type { TopLevelMutationOperation } from './TopLevelMutationOperation';
|
|
3
2
|
export declare class MutationAlias {
|
|
4
|
-
static encodeTopLevel(operation: TopLevelMutationOperation): string;
|
|
5
|
-
static decodeTopLevel(alias: string): TopLevelMutationOperation | undefined;
|
|
6
3
|
static encodeEntityId(entityId: RuntimeId): string;
|
|
7
4
|
static decodeEntityId(alias: string): RuntimeId['value'];
|
|
8
5
|
}
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAEnD,qBAAa,aAAa;WACX,cAAc,CAAC,QAAQ,EAAE,SAAS,GAAG,MAAM;WAI3C,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC;CAK/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/requestAliases/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/requestAliases/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { EntityName } from '../../treeParameters';
|
|
2
2
|
import type { SchemaColumn } from './SchemaColumn';
|
|
3
3
|
import type { SchemaRelation } from './SchemaRelation';
|
|
4
|
-
import type { SchemaUniqueConstraint } from './SchemaUniqueConstraint';
|
|
5
4
|
export declare type RawSchemaFields = Array<SchemaRelation | SchemaColumn>;
|
|
6
5
|
export interface RawSchemaEntity {
|
|
7
6
|
name: EntityName;
|
|
8
7
|
customPrimaryAllowed: boolean;
|
|
9
8
|
fields: RawSchemaFields;
|
|
10
|
-
unique:
|
|
9
|
+
unique: {
|
|
10
|
+
fields: string[];
|
|
11
|
+
}[];
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=RawSchemaEntity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RawSchemaEntity.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/RawSchemaEntity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"RawSchemaEntity.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/RawSchemaEntity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEtD,oBAAY,eAAe,GAAG,KAAK,CAAC,cAAc,GAAG,YAAY,CAAC,CAAA;AAElE,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,UAAU,CAAA;IAChB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,MAAM,EAAE,eAAe,CAAA;IACvB,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAA;CAC9B"}
|
|
@@ -2,10 +2,20 @@ import type { EntityName, FieldName } from '../../treeParameters';
|
|
|
2
2
|
import type { SchemaField } from './SchemaField';
|
|
3
3
|
import type { SchemaStore } from './SchemaStore';
|
|
4
4
|
import { SchemaEntity } from './SchemaEntity';
|
|
5
|
+
import { SchemaColumn } from './SchemaColumn';
|
|
6
|
+
import { SchemaRelation } from './SchemaRelation';
|
|
7
|
+
import { SchemaEnumName } from './SchemaEnums';
|
|
5
8
|
export declare class Schema {
|
|
6
|
-
readonly store
|
|
9
|
+
private readonly store;
|
|
7
10
|
constructor(store: SchemaStore);
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
getEnumValues(enumName: SchemaEnumName): string[];
|
|
12
|
+
getEntityOrUndefined(entityName: EntityName): SchemaEntity | undefined;
|
|
13
|
+
getEntityNames(): string[];
|
|
14
|
+
getEntity(entityName: EntityName): SchemaEntity;
|
|
15
|
+
getEntityFieldOrUndefined(entityName: EntityName, fieldName: FieldName): SchemaField | undefined;
|
|
16
|
+
getEntityField(entityName: EntityName, fieldName: FieldName): SchemaField;
|
|
17
|
+
getEntityColumn(entityName: EntityName, fieldName: FieldName): SchemaColumn;
|
|
18
|
+
getEntityRelation(entityName: EntityName, fieldName: FieldName): SchemaRelation;
|
|
19
|
+
private throwError;
|
|
10
20
|
}
|
|
11
21
|
//# 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;
|
|
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;AAEjE,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;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAE9C,qBAAa,MAAM;IACC,OAAO,CAAC,QAAQ,CAAC,KAAK;gBAAL,KAAK,EAAE,WAAW;IAE/C,aAAa,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM,EAAE;IAIjD,oBAAoB,CAAC,UAAU,EAAE,UAAU,GAAG,YAAY,GAAG,SAAS;IAItE,cAAc,IAAI,MAAM,EAAE;IAI1B,SAAS,CAAC,UAAU,EAAE,UAAU,GAAG,YAAY;IAI/C,yBAAyB,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS;IAIhG,cAAc,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,GAAG,WAAW;IAIzE,eAAe,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,GAAG,YAAY;IAK3E,iBAAiB,CAAC,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,GAAG,cAAc;IAKtF,OAAO,CAAC,UAAU;CAGlB"}
|
|
@@ -3,7 +3,7 @@ import type { SchemaColumnType } from './SchemaColumnType';
|
|
|
3
3
|
import type { SchemaEnumName } from './SchemaEnums';
|
|
4
4
|
export interface SchemaColumn {
|
|
5
5
|
__typename: '_Column';
|
|
6
|
-
defaultValue: string | null;
|
|
6
|
+
defaultValue: string | number | boolean | null;
|
|
7
7
|
name: FieldName;
|
|
8
8
|
nullable: boolean;
|
|
9
9
|
type: SchemaColumnType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaColumn.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/SchemaColumn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAEnD,MAAM,WAAW,YAAY;IAC5B,UAAU,EAAE,SAAS,CAAA;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"SchemaColumn.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/SchemaColumn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAEnD,MAAM,WAAW,YAAY;IAC5B,UAAU,EAAE,SAAS,CAAA;IACrB,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IAC9C,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,gBAAgB,CAAA;IACtB,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAA;CAI/B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaEntity.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/SchemaEntity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEtE,MAAM,WAAW,YAAY;IAC5B,IAAI,EAAE,UAAU,CAAA;IAChB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,MAAM,EAAE,YAAY,CAAA;IACpB,MAAM,EAAE,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"SchemaEntity.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/SchemaEntity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAClD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAEtE,MAAM,WAAW,YAAY;IAC5B,IAAI,EAAE,UAAU,CAAA;IAChB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,MAAM,EAAE,YAAY,CAAA;IACpB,MAAM,EAAE,sBAAsB,EAAE,CAAA;CAChC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { GraphQlClient, GraphQlClientRequestOptions } from '@contember/client';
|
|
2
2
|
import { Schema } from './Schema';
|
|
3
3
|
export declare class SchemaLoader {
|
|
4
|
+
private static readonly schemaLoadCache;
|
|
4
5
|
private static readonly schemaQuery;
|
|
5
|
-
static loadSchema(client: GraphQlClient,
|
|
6
|
+
static loadSchema(client: GraphQlClient, options?: GraphQlClientRequestOptions): Promise<Schema>;
|
|
6
7
|
}
|
|
7
8
|
//# sourceMappingURL=SchemaLoader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaLoader.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/SchemaLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAEnF,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAGjC,qBAAa,YAAY;IACxB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAqC/B;WAEgB,UAAU,CAC7B,MAAM,EAAE,aAAa,EACrB,
|
|
1
|
+
{"version":3,"file":"SchemaLoader.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/SchemaLoader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAEnF,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAGjC,qBAAa,YAAY;IACxB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,eAAe,CAA0C;IAEjF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,CAqC/B;WAEgB,UAAU,CAC7B,MAAM,EAAE,aAAa,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACnC,OAAO,CAAC,MAAM,CAAC;CAalB"}
|
|
@@ -5,7 +5,7 @@ export interface BaseRelation {
|
|
|
5
5
|
name: FieldName;
|
|
6
6
|
nullable: boolean | null;
|
|
7
7
|
onDelete: 'restrict' | 'cascade' | 'setNull' | null;
|
|
8
|
-
orderBy: SchemaRelationOrderBy | null;
|
|
8
|
+
orderBy: SchemaRelationOrderBy[] | null;
|
|
9
9
|
orphanRemoval: boolean | null;
|
|
10
10
|
targetEntity: EntityName;
|
|
11
11
|
type: 'OneHasOne' | 'OneHasMany' | 'ManyHasOne' | 'ManyHasMany';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaRelation.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/SchemaRelation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAEpE,MAAM,WAAW,YAAY;IAC5B,UAAU,EAAE,WAAW,CAAA;IAEvB,IAAI,EAAE,SAAS,CAAA;IAEf,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAA;IACxB,QAAQ,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,IAAI,CAAA;IACnD,OAAO,EAAE,qBAAqB,GAAG,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"SchemaRelation.d.ts","sourceRoot":"","sources":["../../../../src/core/schema/SchemaRelation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAEpE,MAAM,WAAW,YAAY;IAC5B,UAAU,EAAE,WAAW,CAAA;IAEvB,IAAI,EAAE,SAAS,CAAA;IAEf,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAA;IACxB,QAAQ,EAAE,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,IAAI,CAAA;IACnD,OAAO,EAAE,qBAAqB,EAAE,GAAG,IAAI,CAAA;IACvC,aAAa,EAAE,OAAO,GAAG,IAAI,CAAA;IAC7B,YAAY,EAAE,UAAU,CAAA;IACxB,IAAI,EAAE,WAAW,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa,CAAA;CAC/D;AAED,MAAM,WAAW,cAAe,SAAQ,YAAY;IACnD,IAAI,EAAE,QAAQ,CAAA;IACd,UAAU,EAAE,SAAS,GAAG,IAAI,CAAA;IAC5B,OAAO,CAAC,EAAE,KAAK,CAAA;CACf;AAED,MAAM,WAAW,eAAgB,SAAQ,YAAY;IACpD,IAAI,EAAE,SAAS,CAAA;IACf,OAAO,EAAE,SAAS,CAAA;IAClB,UAAU,CAAC,EAAE,KAAK,CAAA;CAClB;AAED,oBAAY,cAAc,GAAG,cAAc,GAAG,eAAe,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ErrorAccessor, FieldAccessor } from '../../accessors';
|
|
2
2
|
import type { FieldMarker } from '../../markers';
|
|
3
|
-
import type { FieldEventListenerStore, FieldName, FieldValue
|
|
3
|
+
import type { FieldEventListenerStore, FieldName, FieldValue } from '../../treeParameters';
|
|
4
4
|
import type { EntityRealmState } from './EntityRealmState';
|
|
5
5
|
export interface FieldState<Value extends FieldValue = FieldValue> {
|
|
6
6
|
type: 'field';
|
|
@@ -11,7 +11,7 @@ export interface FieldState<Value extends FieldValue = FieldValue> {
|
|
|
11
11
|
readonly getAccessor: () => FieldAccessor;
|
|
12
12
|
hasUnpersistedChanges: boolean;
|
|
13
13
|
parent: EntityRealmState;
|
|
14
|
-
persistedValue:
|
|
14
|
+
persistedValue: Value | undefined;
|
|
15
15
|
placeholderName: FieldName;
|
|
16
16
|
touchLog: Set<string> | undefined;
|
|
17
17
|
value: Value | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldState.d.ts","sourceRoot":"","sources":["../../../../src/core/state/FieldState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"FieldState.d.ts","sourceRoot":"","sources":["../../../../src/core/state/FieldState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,uBAAuB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAC1F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,MAAM,WAAW,UAAU,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU;IAChE,IAAI,EAAE,OAAO,CAAA;IAEb,QAAQ,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,SAAS,CAAA;IAC1C,MAAM,EAAE,aAAa,GAAG,SAAS,CAAA;IACjC,cAAc,EAAE,uBAAuB,CAAC,KAAK,CAAC,GAAG,SAAS,CAAA;IAC1D,WAAW,EAAE,WAAW,CAAA;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,aAAa,CAAA;IACzC,qBAAqB,EAAE,OAAO,CAAA;IAC9B,MAAM,EAAE,gBAAgB,CAAA;IACxB,cAAc,EAAE,KAAK,GAAG,SAAS,CAAA;IACjC,eAAe,EAAE,SAAS,CAAA;IAC1B,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,SAAS,CAAA;IACjC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAA;CACnB"}
|