@contember/binding 1.0.3 → 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/RuntimeId.js +17 -4
- package/dist/development/accessorTree/RuntimeId.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/accessors/EntityAccessor.js +0 -32
- package/dist/development/accessors/EntityAccessor.js.map +1 -1
- package/dist/development/accessors/EntityListAccessor.js +1 -1
- package/dist/development/accessors/EntityListAccessor.js.map +1 -1
- package/dist/development/core/AccessorErrorManager.js +5 -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 +24 -53
- 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/MarkerComparator.js +1 -1
- package/dist/development/core/MarkerMerger.js +3 -6
- package/dist/development/core/MarkerMerger.js.map +1 -1
- package/dist/development/core/MutationGenerator.js +180 -141
- package/dist/development/core/MutationGenerator.js.map +1 -1
- package/dist/development/core/RequestResponseNormalizer.js +93 -134
- package/dist/development/core/RequestResponseNormalizer.js.map +1 -1
- package/dist/development/core/StateInitializer.js +30 -38
- package/dist/development/core/StateInitializer.js.map +1 -1
- package/dist/development/core/TreeAugmenter.js +14 -14
- package/dist/development/core/TreeAugmenter.js.map +1 -1
- package/dist/development/core/TreeFilterGenerator.js +2 -2
- package/dist/development/core/TreeFilterGenerator.js.map +1 -1
- package/dist/development/core/TreeStore.js +12 -23
- package/dist/development/core/TreeStore.js.map +1 -1
- package/dist/development/core/VariableInputTransformer.js +4 -1
- package/dist/development/core/VariableInputTransformer.js.map +1 -1
- package/dist/development/core/operations/EntityOperations.js +14 -13
- package/dist/development/core/operations/EntityOperations.js.map +1 -1
- package/dist/development/core/operations/FieldOperations.js +2 -2
- package/dist/development/core/operations/FieldOperations.js.map +1 -1
- package/dist/development/core/operations/ListOperations.js +3 -3
- package/dist/development/core/operations/ListOperations.js.map +1 -1
- package/dist/development/core/operations/OperationsHelpers.js +2 -2
- package/dist/development/core/operations/OperationsHelpers.js.map +1 -1
- package/dist/development/core/requestAliases/MutationAlias.js +4 -40
- package/dist/development/core/requestAliases/MutationAlias.js.map +1 -1
- package/dist/development/core/schema/Schema.js +29 -2
- 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/EntityListSubTree.js +4 -12
- package/dist/development/coreComponents/EntityListSubTree.js.map +1 -1
- package/dist/development/coreComponents/EntitySubTree.js +4 -22
- package/dist/development/coreComponents/EntitySubTree.js.map +1 -1
- package/dist/development/coreComponents/Field.js +5 -1
- package/dist/development/coreComponents/Field.js.map +1 -1
- package/dist/development/coreComponents/HasMany.js +3 -5
- package/dist/development/coreComponents/HasMany.js.map +1 -1
- package/dist/development/coreComponents/HasOne.js +4 -6
- package/dist/development/coreComponents/HasOne.js.map +1 -1
- package/dist/development/dao/Environment.js +175 -90
- package/dist/development/dao/Environment.js.map +1 -1
- package/dist/development/dao/TreeNodeEnvironmentFactory.js +153 -0
- package/dist/development/dao/TreeNodeEnvironmentFactory.js.map +1 -0
- 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 +7 -2
- 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 +6 -5
- package/dist/development/queryLanguage/MarkerFactory.js.map +1 -1
- package/dist/development/queryLanguage/Parser.js +18 -6
- package/dist/development/queryLanguage/Parser.js.map +1 -1
- 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/RuntimeId.js +17 -4
- package/dist/production/accessorTree/RuntimeId.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/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/core/AccessorErrorManager.js +5 -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 +24 -44
- 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/MarkerComparator.js +1 -1
- package/dist/production/core/MarkerMerger.js +3 -6
- package/dist/production/core/MarkerMerger.js.map +1 -1
- package/dist/production/core/MutationGenerator.js +180 -141
- package/dist/production/core/MutationGenerator.js.map +1 -1
- package/dist/production/core/RequestResponseNormalizer.js +93 -134
- package/dist/production/core/RequestResponseNormalizer.js.map +1 -1
- package/dist/production/core/StateInitializer.js +30 -38
- package/dist/production/core/StateInitializer.js.map +1 -1
- package/dist/production/core/TreeAugmenter.js +14 -14
- package/dist/production/core/TreeAugmenter.js.map +1 -1
- package/dist/production/core/TreeFilterGenerator.js +2 -2
- package/dist/production/core/TreeFilterGenerator.js.map +1 -1
- package/dist/production/core/TreeStore.js +12 -23
- 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/operations/EntityOperations.js +14 -13
- 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 +3 -3
- 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 +4 -33
- package/dist/production/core/requestAliases/MutationAlias.js.map +1 -1
- package/dist/production/core/schema/Schema.js +29 -2
- 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/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 +4 -6
- package/dist/production/coreComponents/HasOne.js.map +1 -1
- package/dist/production/dao/Environment.js +175 -90
- package/dist/production/dao/Environment.js.map +1 -1
- package/dist/production/dao/TreeNodeEnvironmentFactory.js +153 -0
- package/dist/production/dao/TreeNodeEnvironmentFactory.js.map +1 -0
- 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 +7 -2
- 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 +6 -5
- package/dist/production/queryLanguage/MarkerFactory.js.map +1 -1
- package/dist/production/queryLanguage/Parser.js +15 -6
- package/dist/production/queryLanguage/Parser.js.map +1 -1
- 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/MutationRequestResponse.d.ts +5 -1
- package/dist/types/accessorTree/MutationRequestResponse.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 +5 -5
- 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 +11 -10
- package/dist/types/accessorTree/QueryRequestResponse.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/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/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 +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 +5 -3
- 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/MarkerMerger.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 +8 -8
- 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 +2 -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 +14 -2
- 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/schema/index.d.ts +0 -1
- package/dist/types/core/schema/index.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/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 +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/coreComponents/ParentEntity.d.ts +1 -1
- package/dist/types/coreComponents/ParentEntity.d.ts.map +1 -1
- package/dist/types/dao/Environment.d.ts +89 -41
- 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/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/queryLanguage/MarkerFactory.d.ts.map +1 -1
- package/dist/types/queryLanguage/Parser.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/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 +11 -6
- 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/MutationRequestResponse.ts +3 -1
- package/src/accessorTree/NormalizedPersistedData.ts +5 -5
- package/src/accessorTree/PersistResult.ts +2 -1
- package/src/accessorTree/QueryRequestResponse.ts +17 -14
- package/src/accessorTree/RuntimeId.ts +27 -6
- 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/accessors/EntityAccessor.ts +2 -51
- package/src/accessors/EntityListAccessor.ts +3 -3
- package/src/core/AccessorErrorManager.ts +6 -2
- package/src/core/Config.ts +0 -1
- package/src/core/DataBinding.ts +25 -65
- package/src/core/DirtinessTracker.ts +4 -16
- package/src/core/ErrorsPreprocessor.ts +16 -18
- package/src/core/EventManager.ts +14 -8
- package/src/core/MarkerMerger.ts +1 -4
- package/src/core/MutationGenerator.ts +249 -188
- package/src/core/RequestResponseNormalizer.ts +111 -163
- package/src/core/StateInitializer.ts +46 -58
- package/src/core/TreeAugmenter.ts +16 -15
- package/src/core/TreeFilterGenerator.ts +5 -5
- package/src/core/TreeStore.ts +23 -27
- package/src/core/VariableInputTransformer.ts +9 -6
- package/src/core/index.ts +1 -0
- package/src/core/operations/EntityOperations.ts +13 -14
- package/src/core/operations/FieldOperations.ts +2 -2
- package/src/core/operations/ListOperations.ts +6 -5
- package/src/core/operations/OperationsHelpers.ts +2 -2
- package/src/core/requestAliases/MutationAlias.ts +4 -57
- package/src/core/requestAliases/index.ts +0 -3
- package/src/core/schema/RawSchemaEntity.ts +1 -2
- package/src/core/schema/Schema.ts +42 -3
- 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/schema/index.ts +0 -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/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 +260 -124
- package/src/dao/TreeNodeEnvironmentFactory.ts +224 -0
- 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/queryLanguage/MarkerFactory.ts +5 -3
- package/src/queryLanguage/Parser.ts +24 -11
- package/src/treeParameters/primitives/EntityId.ts +1 -1
- 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/development/core/schema/SchemaValidator.js +0 -116
- package/dist/development/core/schema/SchemaValidator.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/dist/types/core/schema/SchemaValidator.d.ts +0 -14
- package/dist/types/core/schema/SchemaValidator.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
- package/src/core/schema/SchemaValidator.ts +0 -238
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HasOne.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/HasOne.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"HasOne.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/HasOne.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAMpE,oBAAY,WAAW,CAAC,WAAW,GAAG,KAAK,IAAI,2BAA2B,GAAG;IAC5E,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,SAAS,CAAC,EAAE,WAAW,CAAC,oBAAoB,CAAA;CAC5C,CAAA;AAED,eAAO,MAAM,MAAM,+DAqB+C,YAAY,CAAA"}
|
|
@@ -3,5 +3,5 @@ import type { SugaredParentEntityParameters } from '../treeParameters';
|
|
|
3
3
|
export interface ParentEntityProps extends SugaredParentEntityParameters {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const ParentEntity:
|
|
6
|
+
export declare const ParentEntity: React.NamedExoticComponent<ParentEntityProps>;
|
|
7
7
|
//# sourceMappingURL=ParentEntity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParentEntity.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/ParentEntity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AAGtE,MAAM,WAAW,iBAAkB,SAAQ,6BAA6B;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"ParentEntity.d.ts","sourceRoot":"","sources":["../../../src/coreComponents/ParentEntity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,mBAAmB,CAAA;AAGtE,MAAM,WAAW,iBAAkB,SAAQ,6BAA6B;IACvE,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,YAAY,+CAOxB,CAAA"}
|
|
@@ -1,55 +1,103 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
-
import type { Filter
|
|
2
|
+
import type { Filter } from '../treeParameters';
|
|
3
|
+
import { Schema, SchemaColumn, SchemaEntity, SchemaRelation } from '../core/schema';
|
|
3
4
|
declare class Environment {
|
|
4
|
-
private readonly
|
|
5
|
-
constructor(
|
|
6
|
-
static create(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
private readonly options;
|
|
6
|
+
private constructor();
|
|
7
|
+
static create(): Environment;
|
|
8
|
+
getSubTree(): Environment.SubTreeNode;
|
|
9
|
+
getSubTreeNode(): Environment.AnyNode;
|
|
10
|
+
withSubTree(SubTree: Environment.SubTreeNode): Environment;
|
|
11
|
+
withSubTreeChild(node: Environment.InnerNode): Environment;
|
|
12
|
+
hasVariable(key: string): boolean;
|
|
13
|
+
getVariable<V extends Environment.Value = Environment.Value>(key: string): V;
|
|
14
|
+
getVariableOrElse<F, V extends Environment.Value = Environment.Value>(key: string, fallback: F): V | F;
|
|
15
|
+
/** @deprecated use getVariable or getParameter */
|
|
16
|
+
getValue<V extends Environment.Value = Environment.Value>(key: string): V;
|
|
17
|
+
/** @deprecated use getVariableOrElse or getParameterOrElse */
|
|
18
|
+
getValueOrElse<F, V extends Environment.Value = Environment.Value>(key: string, fallback: F): V | F;
|
|
19
|
+
/** @deprecated */
|
|
20
|
+
hasName(key: string): boolean;
|
|
21
|
+
withVariables(variables: Environment.ValuesMapWithFactory | undefined): Environment;
|
|
22
|
+
getAllVariables(): Environment.CustomVariables;
|
|
23
|
+
hasParameter(key: string): boolean;
|
|
24
|
+
getParameter<F>(key: string): string | number;
|
|
25
|
+
getParameterOrElse<F>(key: string, fallback: F): string | number | F;
|
|
26
|
+
getAllParameters(): Environment.Parameters;
|
|
27
|
+
withParameters(parameters: Environment.Parameters): Environment;
|
|
28
|
+
hasDimension(dimensionName: string): boolean;
|
|
29
|
+
getDimension<F>(dimensionName: string): string[];
|
|
30
|
+
getDimensionOrElse<F>(dimensionName: string, fallback: F): string[] | F;
|
|
14
31
|
getAllDimensions(): Environment.SelectedDimensions;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
32
|
+
withDimensions(dimensions: Environment.SelectedDimensions): Environment;
|
|
33
|
+
getSchema(): Schema;
|
|
34
|
+
withSchema(schema: Schema): Environment;
|
|
35
|
+
getParent(): Environment;
|
|
36
|
+
withExtension<S, R>(extension: Environment.Extension<S, R>, state: S): Environment;
|
|
37
|
+
getExtension<S, R>(extension: Environment.Extension<S, R>): R;
|
|
38
|
+
merge(other: Environment): Environment;
|
|
22
39
|
}
|
|
23
40
|
declare namespace Environment {
|
|
24
|
-
type Name = string
|
|
41
|
+
type Name = string;
|
|
25
42
|
type Value = ReactNode;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
43
|
+
type ResolvedValue = Value | Filter;
|
|
44
|
+
interface Options {
|
|
45
|
+
node?: AnyNode;
|
|
46
|
+
schema?: Schema;
|
|
47
|
+
dimensions: SelectedDimensions;
|
|
48
|
+
parameters: Parameters;
|
|
49
|
+
variables: CustomVariables;
|
|
50
|
+
parent?: Environment;
|
|
51
|
+
extensions: Map<Extension<unknown, unknown>, unknown>;
|
|
52
|
+
}
|
|
53
|
+
type SubTreeNode = SubTreeEntityNode | SubTreeEntityListNode;
|
|
54
|
+
type InnerNode = EntityNode | EntityListNode | ColumnNode;
|
|
55
|
+
type AnyNode = SubTreeNode | InnerNode;
|
|
56
|
+
interface SubTreeEntityNode {
|
|
57
|
+
type: 'subtree-entity';
|
|
58
|
+
entity: SchemaEntity;
|
|
59
|
+
expectedCardinality: 'zero' | 'one' | 'zero-or-one';
|
|
60
|
+
filter: Filter;
|
|
61
|
+
}
|
|
62
|
+
interface SubTreeEntityListNode {
|
|
63
|
+
type: 'subtree-entity-list';
|
|
64
|
+
entity: SchemaEntity;
|
|
65
|
+
expectedCardinality: 'zero-to-many' | 'zero';
|
|
66
|
+
filter: Filter;
|
|
67
|
+
}
|
|
68
|
+
interface EntityNode {
|
|
69
|
+
type: 'entity';
|
|
70
|
+
entity: SchemaEntity;
|
|
71
|
+
field: SchemaRelation;
|
|
72
|
+
}
|
|
73
|
+
interface EntityListNode {
|
|
74
|
+
type: 'entity-list';
|
|
75
|
+
entity: SchemaEntity;
|
|
76
|
+
field: SchemaRelation;
|
|
77
|
+
}
|
|
78
|
+
interface ColumnNode {
|
|
79
|
+
type: 'column';
|
|
80
|
+
entity: SchemaEntity;
|
|
81
|
+
field: SchemaColumn;
|
|
82
|
+
}
|
|
35
83
|
interface SelectedDimensions {
|
|
36
84
|
[key: string]: string[];
|
|
37
85
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
[name: string]: Value;
|
|
41
|
-
}
|
|
42
|
-
type DeltaFactory = {
|
|
43
|
-
[N in string]: ((environment: Environment) => Environment.Value) | Environment.Value;
|
|
44
|
-
} & {
|
|
45
|
-
[N in keyof SystemVariables]?: SystemVariables[N];
|
|
86
|
+
type Parameters = {
|
|
87
|
+
[K in string]?: string | number;
|
|
46
88
|
};
|
|
47
|
-
|
|
48
|
-
[
|
|
89
|
+
interface CustomVariables {
|
|
90
|
+
[key: string]: Value;
|
|
91
|
+
}
|
|
92
|
+
interface ValuesMapWithFactory {
|
|
93
|
+
[key: string]: ((environment: Environment) => Value) | Value;
|
|
94
|
+
}
|
|
95
|
+
type Extension<State, Result> = {
|
|
96
|
+
create: (state: State | undefined, environment: Environment) => Result;
|
|
49
97
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
98
|
+
const createExtension: <S, R>(create: (state: S | undefined, environment: Environment) => R, otherMethods?: Omit<Extension<S, R>, "create"> | undefined) => Extension<S, R>;
|
|
99
|
+
/** @deprecated */
|
|
100
|
+
type DeltaFactory = ValuesMapWithFactory;
|
|
53
101
|
}
|
|
54
102
|
export { Environment };
|
|
55
103
|
//# sourceMappingURL=Environment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Environment.d.ts","sourceRoot":"","sources":["../../../src/dao/Environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"Environment.d.ts","sourceRoot":"","sources":["../../../src/dao/Environment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,C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,EAAE,MAAM,GAAG,KAAK,CAAA;KACpB;IAED,UAAiB,oBAAoB;QACpC,CAAC,GAAG,EAAE,MAAM,GACT,CAAC,CAAC,WAAW,EAAE,WAAW,KAAK,KAAK,CAAC,GACrC,KAAK,CAAA;KACR;IAED,KAAY,SAAS,CAAC,KAAK,EAAE,MAAM,IAAI;QACtC,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,EAAE,WAAW,EAAE,WAAW,KAAK,MAAM,CAAA;KACtE,CAAA;IAEM,MAAM,eAAe,qDAHqB,WAAW,sFAQ3D,CAAA;IAED,kBAAkB;IAClB,KAAY,YAAY,GAAG,oBAAoB,CAAA;CAC/C;AAED,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Environment } from './Environment';
|
|
2
|
+
import { SugaredQualifiedEntityList, SugaredQualifiedSingleEntity, SugaredRelativeEntityList, SugaredRelativeSingleEntity, SugaredRelativeSingleField, SugaredUnconstrainedQualifiedEntityList, SugaredUnconstrainedQualifiedSingleEntity } from '../treeParameters';
|
|
3
|
+
export declare class TreeNodeEnvironmentFactory {
|
|
4
|
+
static createEnvironmentForEntityListSubtree(environment: Environment, sugaredEntityList: SugaredQualifiedEntityList | SugaredUnconstrainedQualifiedEntityList): Environment;
|
|
5
|
+
static createEnvironmentForEntitySubtree(environment: Environment, sugaredEntityList: SugaredQualifiedSingleEntity | SugaredUnconstrainedQualifiedSingleEntity): Environment;
|
|
6
|
+
static createEnvironmentForEntityList(environment: Environment, sugaredRelativeEntityList: SugaredRelativeEntityList): Environment;
|
|
7
|
+
static createEnvironmentForEntity(environment: Environment, sugaredRelativeSingleEntity: SugaredRelativeSingleEntity): Environment;
|
|
8
|
+
static createEnvironmentForField(environment: Environment, sugaredRelativeSingleField: SugaredRelativeSingleField): Environment;
|
|
9
|
+
private static traverseHasOnePath;
|
|
10
|
+
private static resolveHasOneRelation;
|
|
11
|
+
private static assertHasManyRelation;
|
|
12
|
+
private static resolveRelation;
|
|
13
|
+
private static resolveEntity;
|
|
14
|
+
private static resolveColumn;
|
|
15
|
+
private static resolveField;
|
|
16
|
+
private static describeLocation;
|
|
17
|
+
static recommendAlternative(original: string, possibleAlternatives: Iterable<string>): string | undefined;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=TreeNodeEnvironmentFactory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreeNodeEnvironmentFactory.d.ts","sourceRoot":"","sources":["../../../src/dao/TreeNodeEnvironmentFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAEN,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,2BAA2B,EAC3B,0BAA0B,EAC1B,uCAAuC,EACvC,yCAAyC,EACzC,MAAM,mBAAmB,CAAA;AAQ1B,qBAAa,0BAA0B;WAExB,qCAAqC,CAClD,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,0BAA0B,GAAG,uCAAuC,GACrF,WAAW;WA0BA,iCAAiC,CAC9C,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,4BAA4B,GAAG,yCAAyC,GACzF,WAAW;WA0BA,8BAA8B,CAC3C,WAAW,EAAE,WAAW,EACxB,yBAAyB,EAAE,yBAAyB,GAClD,WAAW;WAgBA,0BAA0B,CACvC,WAAW,EAAE,WAAW,EACxB,2BAA2B,EAAE,2BAA2B;WAO3C,yBAAyB,CACtC,WAAW,EAAE,WAAW,EACxB,0BAA0B,EAAE,0BAA0B;IAcvD,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAiBjC,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAOpC,OAAO,CAAC,MAAM,CAAC,qBAAqB;IAKpC,OAAO,CAAC,MAAM,CAAC,eAAe;IAM9B,OAAO,CAAC,MAAM,CAAC,aAAa;IAU5B,OAAO,CAAC,MAAM,CAAC,aAAa;IAM5B,OAAO,CAAC,MAAM,CAAC,YAAY;IAwB3B,OAAO,CAAC,MAAM,CAAC,gBAAgB;WAYjB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,EAAE,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS;CAchH"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { SugaredRelativeSingleField } from '../treeParameters';
|
|
1
|
+
import type { FieldValue, SugaredRelativeSingleField } from '../treeParameters';
|
|
2
2
|
/**
|
|
3
3
|
* Derived fields are meant for cases when the user is expected to primarily edit the `sourceField` whose optionally
|
|
4
4
|
* transformed value is then copied to the `derivedField`. This happens after each update until either the `derivedField`
|
|
5
5
|
* is touched or until it is persisted at which point the tie between the fields is automatically severed.
|
|
6
6
|
* @deprecated This is fundamentally wrong and shouldn't be used for now.
|
|
7
7
|
*/
|
|
8
|
-
export declare const useDerivedField: <SourceValue extends
|
|
8
|
+
export declare const useDerivedField: <SourceValue extends FieldValue = FieldValue>(sourceField: string | SugaredRelativeSingleField, derivedField: string | SugaredRelativeSingleField, transform?: (sourceValue: SourceValue | null) => SourceValue | null, agent?: string) => void;
|
|
9
9
|
//# sourceMappingURL=useDerivedField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDerivedField.d.ts","sourceRoot":"","sources":["../../../src/entityEvents/useDerivedField.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useDerivedField.d.ts","sourceRoot":"","sources":["../../../src/entityEvents/useDerivedField.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAO/E;;;;;GAKG;AACH,eAAO,MAAM,eAAe,6DACd,MAAM,GAAG,0BAA0B,gBAClC,MAAM,GAAG,0BAA0B,+EAE1C,MAAM,SA2Cb,CAAA"}
|
|
@@ -3,5 +3,5 @@ export interface DeferredSubTreesProps {
|
|
|
3
3
|
fallback: ReactNode;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare const DeferredSubTrees:
|
|
6
|
+
export declare const DeferredSubTrees: React.NamedExoticComponent<DeferredSubTreesProps>;
|
|
7
7
|
//# sourceMappingURL=DeferredSubTrees.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeferredSubTrees.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/DeferredSubTrees.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"DeferredSubTrees.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/DeferredSubTrees.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AAWnE,MAAM,WAAW,qBAAqB;IACrC,QAAQ,EAAE,SAAS,CAAA;IACnB,QAAQ,EAAE,SAAS,CAAA;CACnB;AAUD,eAAO,MAAM,gBAAgB,mDAkF5B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import type { FieldAccessor } from '../accessors';
|
|
3
|
-
import type { SugaredRelativeSingleField } from '../treeParameters';
|
|
3
|
+
import type { FieldValue, SugaredRelativeSingleField } from '../treeParameters';
|
|
4
4
|
interface FieldViewCommonProps {
|
|
5
5
|
fallbackIfUnpersisted?: ReactNode;
|
|
6
6
|
}
|
|
@@ -16,27 +16,27 @@ declare type CP = FieldViewCommonProps;
|
|
|
16
16
|
declare type RN = ReactNode;
|
|
17
17
|
declare type REN = ReactElement | null;
|
|
18
18
|
export declare const FieldView: {
|
|
19
|
-
<FV1 extends
|
|
19
|
+
<FV1 extends FieldValue>(props: FieldViewCommonProps & {
|
|
20
20
|
field: SRSF;
|
|
21
21
|
render: (field1: FieldAccessor<FV1>) => RN;
|
|
22
22
|
}): REN;
|
|
23
|
-
<FV1_1 extends
|
|
23
|
+
<FV1_1 extends FieldValue>(props: FieldViewCommonProps & {
|
|
24
24
|
fields: [SRSF];
|
|
25
25
|
render: (field1: FieldAccessor<FV1_1>) => RN;
|
|
26
26
|
}): REN;
|
|
27
|
-
<FV1_2 extends
|
|
27
|
+
<FV1_2 extends FieldValue, FV2 extends FieldValue>(props: FieldViewCommonProps & {
|
|
28
28
|
fields: [SRSF, SRSF];
|
|
29
29
|
render: (field1: FieldAccessor<FV1_2>, field2: FieldAccessor<FV2>) => RN;
|
|
30
30
|
}): REN;
|
|
31
|
-
<FV1_3 extends
|
|
31
|
+
<FV1_3 extends FieldValue, FV2_1 extends FieldValue, FV3 extends FieldValue>(props: FieldViewCommonProps & {
|
|
32
32
|
fields: [SRSF, SRSF, SRSF];
|
|
33
33
|
render: (field1: FieldAccessor<FV1_3>, field2: FieldAccessor<FV2_1>, field3: FieldAccessor<FV3>) => RN;
|
|
34
34
|
}): REN;
|
|
35
|
-
<FV1_4 extends
|
|
35
|
+
<FV1_4 extends FieldValue, FV2_2 extends FieldValue, FV3_1 extends FieldValue, FV4 extends FieldValue>(props: FieldViewCommonProps & {
|
|
36
36
|
fields: [SRSF, SRSF, SRSF, SRSF];
|
|
37
37
|
render: (field1: FieldAccessor<FV1_4>, field2: FieldAccessor<FV2_2>, field3: FieldAccessor<FV3_1>, field4: FieldAccessor<FV4>) => RN;
|
|
38
38
|
}): REN;
|
|
39
|
-
<FV1_5 extends
|
|
39
|
+
<FV1_5 extends FieldValue, FV2_3 extends FieldValue, FV3_2 extends FieldValue, FV4_1 extends FieldValue, FV5 extends FieldValue>(props: FieldViewCommonProps & {
|
|
40
40
|
fields: [SRSF, SRSF, SRSF, SRSF, SRSF];
|
|
41
41
|
render: (field1: FieldAccessor<FV1_5>, field2: FieldAccessor<FV2_3>, field3: FieldAccessor<FV3_2>, field4: FieldAccessor<FV4_1>, field5: FieldAccessor<FV5>) => RN;
|
|
42
42
|
}): REN;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldView.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/FieldView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAwB,MAAM,OAAO,CAAA;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAIjD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"FieldView.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/FieldView.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,SAAS,EAAwB,MAAM,OAAO,CAAA;AAErE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAIjD,OAAO,KAAK,EAAE,UAAU,EAAuB,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AAGpG,UAAU,oBAAoB;IAC7B,qBAAqB,CAAC,EAAE,SAAS,CAAA;CACjC;AAED,aAAK,cAAc,GAAG,oBAAoB,GACzC,CACG;IACA,MAAM,EAAE,CAAC,GAAG,SAAS,EAAE,aAAa,EAAE,KAAK,SAAS,CAAA;IACpD,KAAK,EAAE,MAAM,GAAG,0BAA0B,CAAA;CACzC,GACD;IACA,MAAM,EAAE,CAAC,GAAG,SAAS,EAAE,aAAa,EAAE,KAAK,SAAS,CAAA;IACpD,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,0BAA0B,CAAC,CAAA;CACjD,CACH,CAAA;AAIF,aAAK,IAAI,GAAG,MAAM,GAAG,0BAA0B,CAAA;AAC/C,aAAK,EAAE,GAAG,oBAAoB,CAAA;AAC9B,aAAK,EAAE,GAAG,SAAS,CAAA;AACnB,aAAK,GAAG,GAAG,YAAY,GAAG,IAAI,CAAA;AAE9B,eAAO,MAAM,SAAS;;eA4DiB,IAAI;gDAA0C,EAAE;QAAK,GAAG;;gBACvD,CAAC,IAAI,CAAC;kDAA0C,EAAE;QAAK,GAAG;;gBAE1E,CAAC,IAAI,EAAE,IAAI,CAAC;8EAAsE,EAAE;QACxG,GAAG;;gBAGI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;4GACsE,EAAE;QAEjG,GAAG;;gBAGI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;0IAM3B,EAAE;QAEN,GAAG;;gBAGI,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC;wKAOjC,EAAE;QAEN,GAAG;YACE,cAAc,GAAG,GAAG;CAC5B,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import { EntityAccessor } from '../accessors';
|
|
3
|
+
import { Filter } from '../treeParameters';
|
|
4
|
+
export declare type IfProps = IfFilterProps | IfCallbackProps;
|
|
5
|
+
export interface IfFilterProps {
|
|
6
|
+
condition: string | Filter;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export interface IfCallbackProps {
|
|
10
|
+
condition: (accessor: EntityAccessor) => boolean;
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const If: React.NamedExoticComponent<IfProps>;
|
|
14
|
+
//# sourceMappingURL=If.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"If.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/If.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAG7C,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAI1C,oBAAY,OAAO,GAChB,aAAa,GACb,eAAe,CAAA;AAElB,MAAM,WAAW,aAAa;IAC7B,SAAS,EAAE,MAAM,GAAG,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,MAAM,WAAW,eAAe;IAC/B,SAAS,EAAE,CAAC,QAAQ,EAAE,cAAc,KAAK,OAAO,CAAA;IAChD,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,EAAE,qCAMd,CAAA"}
|
|
@@ -2,5 +2,5 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
export interface StaticRenderProps {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare const StaticRender:
|
|
5
|
+
export declare const StaticRender: React.NamedExoticComponent<StaticRenderProps>;
|
|
6
6
|
//# sourceMappingURL=StaticRender.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticRender.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/StaticRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"StaticRender.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/StaticRender.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,MAAM,WAAW,iBAAiB;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAA;CACpB;AAED,eAAO,MAAM,YAAY,+CAIxB,CAAA"}
|
|
@@ -5,5 +5,5 @@ import { ReactElement } from 'react';
|
|
|
5
5
|
export interface SugaredFieldProps<Persisted extends FieldValue = FieldValue> extends Omit<FieldProps<Persisted>, 'field'> {
|
|
6
6
|
field: string | SugaredRelativeSingleField;
|
|
7
7
|
}
|
|
8
|
-
export declare const SugaredField: <Persisted extends
|
|
8
|
+
export declare const SugaredField: <Persisted extends FieldValue = FieldValue>(props: SugaredFieldProps<Persisted>) => ReactElement;
|
|
9
9
|
//# sourceMappingURL=SugaredField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SugaredField.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/SugaredField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,MAAM,WAAW,iBAAiB,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU,CAAE,SAAQ,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IACzH,KAAK,EAAE,MAAM,GAAG,0BAA0B,CAAA;CAC1C;AAED,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"SugaredField.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/SugaredField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AAEpC,MAAM,WAAW,iBAAiB,CAAC,SAAS,SAAS,UAAU,GAAG,UAAU,CAAE,SAAQ,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;IACzH,KAAK,EAAE,MAAM,GAAG,0BAA0B,CAAA;CAC1C;AAED,eAAO,MAAM,YAAY,sFAKiF,YAAY,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Schema } from '../../core/schema';
|
|
2
|
+
import { EntityAccessor } from '../../accessors';
|
|
3
|
+
import { Filter } from '../../treeParameters';
|
|
4
|
+
export declare class FilterEvaluator {
|
|
5
|
+
private readonly schema;
|
|
6
|
+
constructor(schema: Schema);
|
|
7
|
+
evaluateFilter(entity: EntityAccessor, filter: Filter): boolean;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=FilterEvaluator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterEvaluator.d.ts","sourceRoot":"","sources":["../../../../src/helperComponents/helpers/FilterEvaluator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE1C,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAK7C,qBAAa,eAAe;IAE1B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,MAAM;IAIhC,cAAc,CAAC,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO;CA+B/D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Schema, SchemaEntity } from '../../core/schema';
|
|
2
|
+
import { Filter } from '../../treeParameters';
|
|
3
|
+
export declare class FilterFieldsCollector {
|
|
4
|
+
private readonly schema;
|
|
5
|
+
private readonly rootFilter;
|
|
6
|
+
constructor(schema: Schema, rootFilter: Filter);
|
|
7
|
+
collectFields(entity: SchemaEntity): Set<string>;
|
|
8
|
+
private collectFieldsInternal;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=FilterFieldsCollector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterFieldsCollector.d.ts","sourceRoot":"","sources":["../../../../src/helperComponents/helpers/FilterFieldsCollector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAG7C,qBAAa,qBAAqB;IAEhC,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBADV,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM;IAKpC,aAAa,CAAC,MAAM,EAAE,YAAY,GAAG,GAAG,CAAC,MAAM,CAAC;IAMhD,OAAO,CAAC,qBAAqB;CA2B7B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GraphQlLiteral, Input } from '@contember/client';
|
|
2
|
+
import { FieldValue } from '../../treeParameters';
|
|
3
|
+
export declare const evaluateCondition: (value: FieldValue | null, condition: Input.Condition<Input.ColumnValue<GraphQlLiteral>>) => boolean;
|
|
4
|
+
//# sourceMappingURL=evaluateCondition.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"evaluateCondition.d.ts","sourceRoot":"","sources":["../../../../src/helperComponents/helpers/evaluateCondition.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAUjD,eAAO,MAAM,iBAAiB,UAAW,UAAU,GAAG,IAAI,aAAa,MAAM,SAAS,CAAC,MAAM,WAAW,CAAC,cAAc,CAAC,CAAC,YAwCvH,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/helperComponents/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,MAAM,CAAA;AACpB,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FieldName } from '../treeParameters';
|
|
1
|
+
import type { FieldName, FieldValue } from '../treeParameters';
|
|
2
2
|
/**
|
|
3
3
|
* A nonbearing field is only defined in context of create mutations. An entity will be created if and only if some
|
|
4
4
|
* other fields (not just nonbearing fields) are filled as well. This is particularly useful for programmatically
|
|
@@ -6,9 +6,9 @@ import type { FieldName } from '../treeParameters';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class FieldMarker {
|
|
8
8
|
readonly fieldName: FieldName;
|
|
9
|
-
readonly defaultValue?:
|
|
9
|
+
readonly defaultValue?: FieldValue | undefined;
|
|
10
10
|
readonly isNonbearing: boolean;
|
|
11
11
|
readonly placeholderName: string;
|
|
12
|
-
constructor(fieldName: FieldName, defaultValue?:
|
|
12
|
+
constructor(fieldName: FieldName, defaultValue?: FieldValue | undefined, isNonbearing?: boolean);
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=FieldMarker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldMarker.d.ts","sourceRoot":"","sources":["../../../src/markers/FieldMarker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"FieldMarker.d.ts","sourceRoot":"","sources":["../../../src/markers/FieldMarker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAG9D;;;;GAIG;AACH,qBAAa,WAAW;aAIN,SAAS,EAAE,SAAS;aACpB,YAAY,CAAC;aACb,YAAY,EAAE,OAAO;IALtC,SAAgB,eAAe,EAAE,MAAM,CAAA;gBAGtB,SAAS,EAAE,SAAS,EACpB,YAAY,CAAC,wBAAY,EACzB,YAAY,GAAE,OAAe;CAI9C"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { FieldName, HasManyRelation, HasOneRelation, QualifiedEntityList, QualifiedSingleEntity, UnconstrainedQualifiedEntityList, UnconstrainedQualifiedSingleEntity } from '../treeParameters';
|
|
2
|
+
import { Environment } from '../dao';
|
|
2
3
|
export declare class PlaceholderGenerator {
|
|
3
4
|
static getFieldPlaceholder(fieldName: FieldName): string;
|
|
4
5
|
static getHasOneRelationPlaceholder(relation: HasOneRelation): string;
|
|
5
6
|
static getHasManyRelationPlaceholder(relation: HasManyRelation): string;
|
|
6
|
-
static getEntitySubTreePlaceholder(subTreeParameters: QualifiedSingleEntity | UnconstrainedQualifiedSingleEntity): string;
|
|
7
|
-
static getEntityListSubTreePlaceholder(subTreeParameters: QualifiedEntityList | UnconstrainedQualifiedEntityList): string;
|
|
7
|
+
static getEntitySubTreePlaceholder(subTreeParameters: QualifiedSingleEntity | UnconstrainedQualifiedSingleEntity, environment: Environment): string;
|
|
8
|
+
static getEntityListSubTreePlaceholder(subTreeParameters: QualifiedEntityList | UnconstrainedQualifiedEntityList, environment: Environment): string;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=PlaceholderGenerator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlaceholderGenerator.d.ts","sourceRoot":"","sources":["../../../src/markers/PlaceholderGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,gCAAgC,EAChC,kCAAkC,EAClC,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"PlaceholderGenerator.d.ts","sourceRoot":"","sources":["../../../src/markers/PlaceholderGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,SAAS,EACT,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,gCAAgC,EAChC,kCAAkC,EAClC,MAAM,mBAAmB,CAAA;AAE1B,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AAEpC,qBAAa,oBAAoB;WAClB,mBAAmB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM;WAIjD,4BAA4B,CAAC,QAAQ,EAAE,cAAc,GAAG,MAAM;WAI9D,6BAA6B,CAAC,QAAQ,EAAE,eAAe,GAAG,MAAM;WAIhE,2BAA2B,CACxC,iBAAiB,EAAE,qBAAqB,GAAG,kCAAkC,EAC7E,WAAW,EAAE,WAAW,GACtB,MAAM;WAIK,+BAA+B,CAC5C,iBAAiB,EAAE,mBAAmB,GAAG,gCAAgC,EACzE,WAAW,EAAE,WAAW,GACtB,MAAM;CAGT"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkerFactory.d.ts","sourceRoot":"","sources":["../../../src/queryLanguage/MarkerFactory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EACN,iBAAiB,EACjB,2BAA2B,EAC3B,gCAAgC,EAMhC,MAAM,YAAY,CAAA;AACnB,OAAO,KAAK,EAMX,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,2BAA2B,EAC3B,0BAA0B,EAC1B,uCAAuC,EACvC,yCAAyC,EACzC,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"MarkerFactory.d.ts","sourceRoot":"","sources":["../../../src/queryLanguage/MarkerFactory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EACN,iBAAiB,EACjB,2BAA2B,EAC3B,gCAAgC,EAMhC,MAAM,YAAY,CAAA;AACnB,OAAO,KAAK,EAMX,6BAA6B,EAC7B,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,2BAA2B,EAC3B,0BAA0B,EAC1B,uCAAuC,EACvC,yCAAyC,EACzC,MAAM,mBAAmB,CAAA;AAM1B,qBAAa,aAAa;IACzB,OAAO,CAAC,M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AA2B;CAO1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Parser.d.ts","sourceRoot":"","sources":["../../../src/queryLanguage/Parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,cAAc,EAAkB,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC3F,OAAO,EAAE,qBAAqB,EAAS,MAAM,YAAY,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAyB,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC5F,OAAO,KAAK,EACX,eAAe,EAMf,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EACzB,sCAAsC,EACtC,wCAAwC,EACxC,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"Parser.d.ts","sourceRoot":"","sources":["../../../src/queryLanguage/Parser.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,cAAc,EAAkB,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAC3F,OAAO,EAAE,qBAAqB,EAAS,MAAM,YAAY,CAAA;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,EAAyB,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC5F,OAAO,KAAK,EACX,eAAe,EAMf,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,wBAAwB,EACxB,0BAA0B,EAC1B,yBAAyB,EACzB,sCAAsC,EACtC,wCAAwC,EACxC,MAAM,iBAAiB,CAAA;AAMxB;;;;;;GAMG;AACH,cAAM,MAAO,SAAQ,qBAAqB;IACzC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAa;IACpC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAuB;IAC3C,OAAO,CAAC,MAAM,CAAC,MAA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# sourceMappingURL=EntityId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityId.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/EntityId.ts"],"names":[],"mappings":"AACA,oBAAY,QAAQ,GAAG,MAAM,CAAA"}
|
|
1
|
+
{"version":3,"file":"EntityId.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/EntityId.ts"],"names":[],"mappings":"AACA,oBAAY,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { VariableFieldValue } from '../../dao';
|
|
2
|
-
import
|
|
3
|
-
export declare type FieldValue =
|
|
2
|
+
import { JsonValue } from './Json';
|
|
3
|
+
export declare type FieldValue = JsonValue;
|
|
4
4
|
export declare type OptionallyVariableFieldValue = FieldValue | VariableFieldValue;
|
|
5
5
|
//# sourceMappingURL=FieldValue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FieldValue.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/FieldValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"FieldValue.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/FieldValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAElC,oBAAY,UAAU,GAAG,SAAS,CAAA;AAElC,oBAAY,4BAA4B,GAAG,UAAU,GAAG,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface JsonObject<Ext = never> {
|
|
2
|
+
[key: string]: JsonValue<Ext>;
|
|
3
|
+
}
|
|
4
|
+
export interface JsonArray<Ext = never> extends Array<JsonValue<Ext>> {
|
|
5
|
+
}
|
|
6
|
+
export declare type JsonValue<Ext = never> = string | number | boolean | null | JsonObject<Ext> | JsonArray<Ext> | Ext;
|
|
7
|
+
//# sourceMappingURL=Json.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Json.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/Json.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU,CAAC,GAAG,GAAG,KAAK;IACtC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC,GAAG,CAAC,CAAA;CAC7B;AAED,MAAM,WAAW,SAAS,CAAC,GAAG,GAAG,KAAK,CAAE,SAAQ,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;CAAG;AAExE,oBAAY,SAAS,CAAC,GAAG,GAAG,KAAK,IAAI,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,UAAU,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC,GAAG,CAAC,GAAG,GAAG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mCAAmC,CAAA;AACjD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/treeParameters/primitives/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mCAAmC,CAAA;AACjD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,eAAe,CAAA"}
|