@contember/binding-legacy 2.1.0-alpha.30 → 2.1.0-alpha.35
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/package.json +10 -5
- package/src/accessorTree/NormalizedPersistedData.ts +1 -1
- package/src/accessors/EntityAccessorImpl.ts +13 -11
- package/src/accessors/EntityListAccessorImpl.ts +16 -7
- package/src/core/AccessorErrorManager.ts +2 -2
- package/src/core/DataBinding.ts +24 -15
- package/src/core/ErrorsPreprocessor.ts +4 -5
- package/src/core/EventManager.ts +34 -46
- package/src/core/MutationGenerator.ts +23 -27
- package/src/core/QueryGenerator.ts +4 -5
- package/src/core/RealmKeyGenerator.ts +5 -3
- package/src/core/RequestResponseNormalizer.ts +3 -8
- package/src/core/StateInitializer.ts +10 -18
- package/src/core/TreeAugmenter.ts +8 -15
- package/src/core/TreeStore.ts +5 -4
- package/src/core/operations/EntityOperations.ts +25 -25
- package/src/core/operations/FieldOperations.ts +15 -17
- package/src/core/operations/ListOperations.ts +15 -15
- package/src/core/operations/OperationsHelpers.ts +2 -2
- package/src/core/state/EntityListState.ts +3 -9
- package/src/fieldHelpers/helpers/TemporalFieldHelper.ts +3 -3
- package/src/utils/assertNever.ts +4 -4
- package/tests/example.test.ts +2 -2
- package/dist/development/index.cjs +0 -34
- package/dist/development/index.cjs.map +0 -1
- package/dist/development/index.js +0 -28
- package/dist/development/index.js.map +0 -1
- package/dist/development/src/accessorTree/NormalizedPersistedData.cjs +0 -10
- package/dist/development/src/accessorTree/NormalizedPersistedData.cjs.map +0 -1
- package/dist/development/src/accessorTree/NormalizedPersistedData.js +0 -10
- package/dist/development/src/accessorTree/NormalizedPersistedData.js.map +0 -1
- package/dist/development/src/accessors/EntityAccessorImpl.cjs +0 -179
- package/dist/development/src/accessors/EntityAccessorImpl.cjs.map +0 -1
- package/dist/development/src/accessors/EntityAccessorImpl.js +0 -179
- package/dist/development/src/accessors/EntityAccessorImpl.js.map +0 -1
- package/dist/development/src/accessors/EntityListAccessorImpl.cjs +0 -112
- package/dist/development/src/accessors/EntityListAccessorImpl.cjs.map +0 -1
- package/dist/development/src/accessors/EntityListAccessorImpl.js +0 -112
- package/dist/development/src/accessors/EntityListAccessorImpl.js.map +0 -1
- package/dist/development/src/accessors/FieldAccessorImpl.cjs +0 -54
- package/dist/development/src/accessors/FieldAccessorImpl.cjs.map +0 -1
- package/dist/development/src/accessors/FieldAccessorImpl.js +0 -54
- package/dist/development/src/accessors/FieldAccessorImpl.js.map +0 -1
- package/dist/development/src/core/AccessorErrorManager.cjs +0 -200
- package/dist/development/src/core/AccessorErrorManager.cjs.map +0 -1
- package/dist/development/src/core/AccessorErrorManager.js +0 -200
- package/dist/development/src/core/AccessorErrorManager.js.map +0 -1
- package/dist/development/src/core/Config.cjs +0 -29
- package/dist/development/src/core/Config.cjs.map +0 -1
- package/dist/development/src/core/Config.js +0 -29
- package/dist/development/src/core/Config.js.map +0 -1
- package/dist/development/src/core/DataBinding.cjs +0 -354
- package/dist/development/src/core/DataBinding.cjs.map +0 -1
- package/dist/development/src/core/DataBinding.js +0 -354
- package/dist/development/src/core/DataBinding.js.map +0 -1
- package/dist/development/src/core/DirtinessTracker.cjs +0 -26
- package/dist/development/src/core/DirtinessTracker.cjs.map +0 -1
- package/dist/development/src/core/DirtinessTracker.js +0 -26
- package/dist/development/src/core/DirtinessTracker.js.map +0 -1
- package/dist/development/src/core/ErrorsPreprocessor.cjs +0 -180
- package/dist/development/src/core/ErrorsPreprocessor.cjs.map +0 -1
- package/dist/development/src/core/ErrorsPreprocessor.js +0 -180
- package/dist/development/src/core/ErrorsPreprocessor.js.map +0 -1
- package/dist/development/src/core/EventManager.cjs +0 -439
- package/dist/development/src/core/EventManager.cjs.map +0 -1
- package/dist/development/src/core/EventManager.js +0 -439
- package/dist/development/src/core/EventManager.js.map +0 -1
- package/dist/development/src/core/MutationGenerator.cjs +0 -670
- package/dist/development/src/core/MutationGenerator.cjs.map +0 -1
- package/dist/development/src/core/MutationGenerator.js +0 -670
- package/dist/development/src/core/MutationGenerator.js.map +0 -1
- package/dist/development/src/core/QueryGenerator.cjs +0 -110
- package/dist/development/src/core/QueryGenerator.cjs.map +0 -1
- package/dist/development/src/core/QueryGenerator.js +0 -110
- package/dist/development/src/core/QueryGenerator.js.map +0 -1
- package/dist/development/src/core/RealmKeyGenerator.cjs +0 -42
- package/dist/development/src/core/RealmKeyGenerator.cjs.map +0 -1
- package/dist/development/src/core/RealmKeyGenerator.js +0 -42
- package/dist/development/src/core/RealmKeyGenerator.js.map +0 -1
- package/dist/development/src/core/RequestResponseNormalizer.cjs +0 -136
- package/dist/development/src/core/RequestResponseNormalizer.cjs.map +0 -1
- package/dist/development/src/core/RequestResponseNormalizer.js +0 -136
- package/dist/development/src/core/RequestResponseNormalizer.js.map +0 -1
- package/dist/development/src/core/StateInitializer.cjs +0 -379
- package/dist/development/src/core/StateInitializer.cjs.map +0 -1
- package/dist/development/src/core/StateInitializer.js +0 -379
- package/dist/development/src/core/StateInitializer.js.map +0 -1
- package/dist/development/src/core/TreeAugmenter.cjs +0 -354
- package/dist/development/src/core/TreeAugmenter.cjs.map +0 -1
- package/dist/development/src/core/TreeAugmenter.js +0 -354
- package/dist/development/src/core/TreeAugmenter.js.map +0 -1
- package/dist/development/src/core/TreeStore.cjs +0 -172
- package/dist/development/src/core/TreeStore.cjs.map +0 -1
- package/dist/development/src/core/TreeStore.js +0 -172
- package/dist/development/src/core/TreeStore.js.map +0 -1
- package/dist/development/src/core/exceptions/ErrorLocator.cjs +0 -59
- package/dist/development/src/core/exceptions/ErrorLocator.cjs.map +0 -1
- package/dist/development/src/core/exceptions/ErrorLocator.js +0 -59
- package/dist/development/src/core/exceptions/ErrorLocator.js.map +0 -1
- package/dist/development/src/core/exceptions/MarkerSugarer.cjs +0 -51
- package/dist/development/src/core/exceptions/MarkerSugarer.cjs.map +0 -1
- package/dist/development/src/core/exceptions/MarkerSugarer.js +0 -51
- package/dist/development/src/core/exceptions/MarkerSugarer.js.map +0 -1
- package/dist/development/src/core/exceptions/TreeParameterSugarer.cjs +0 -33
- package/dist/development/src/core/exceptions/TreeParameterSugarer.cjs.map +0 -1
- package/dist/development/src/core/exceptions/TreeParameterSugarer.js +0 -33
- package/dist/development/src/core/exceptions/TreeParameterSugarer.js.map +0 -1
- package/dist/development/src/core/factories/createBatchUpdatesOptions.cjs +0 -23
- package/dist/development/src/core/factories/createBatchUpdatesOptions.cjs.map +0 -1
- package/dist/development/src/core/factories/createBatchUpdatesOptions.js +0 -23
- package/dist/development/src/core/factories/createBatchUpdatesOptions.js.map +0 -1
- package/dist/development/src/core/operations/EntityOperations.cjs +0 -226
- package/dist/development/src/core/operations/EntityOperations.cjs.map +0 -1
- package/dist/development/src/core/operations/EntityOperations.js +0 -226
- package/dist/development/src/core/operations/EntityOperations.js.map +0 -1
- package/dist/development/src/core/operations/FieldOperations.cjs +0 -92
- package/dist/development/src/core/operations/FieldOperations.cjs.map +0 -1
- package/dist/development/src/core/operations/FieldOperations.js +0 -92
- package/dist/development/src/core/operations/FieldOperations.js.map +0 -1
- package/dist/development/src/core/operations/ListOperations.cjs +0 -158
- package/dist/development/src/core/operations/ListOperations.cjs.map +0 -1
- package/dist/development/src/core/operations/ListOperations.js +0 -158
- package/dist/development/src/core/operations/ListOperations.js.map +0 -1
- package/dist/development/src/core/operations/OperationsHelpers.cjs +0 -87
- package/dist/development/src/core/operations/OperationsHelpers.cjs.map +0 -1
- package/dist/development/src/core/operations/OperationsHelpers.js +0 -87
- package/dist/development/src/core/operations/OperationsHelpers.js.map +0 -1
- package/dist/development/src/core/requestAliases/MutationAlias.cjs +0 -14
- package/dist/development/src/core/requestAliases/MutationAlias.cjs.map +0 -1
- package/dist/development/src/core/requestAliases/MutationAlias.js +0 -14
- package/dist/development/src/core/requestAliases/MutationAlias.js.map +0 -1
- package/dist/development/src/core/state/StateIterator.cjs +0 -100
- package/dist/development/src/core/state/StateIterator.cjs.map +0 -1
- package/dist/development/src/core/state/StateIterator.js +0 -100
- package/dist/development/src/core/state/StateIterator.js.map +0 -1
- package/dist/development/src/core/state/getEntityMarker.cjs +0 -5
- package/dist/development/src/core/state/getEntityMarker.cjs.map +0 -1
- package/dist/development/src/core/state/getEntityMarker.js +0 -5
- package/dist/development/src/core/state/getEntityMarker.js.map +0 -1
- package/dist/development/src/core/utils/getCombinedSignal.cjs +0 -33
- package/dist/development/src/core/utils/getCombinedSignal.cjs.map +0 -1
- package/dist/development/src/core/utils/getCombinedSignal.js +0 -33
- package/dist/development/src/core/utils/getCombinedSignal.js.map +0 -1
- package/dist/development/src/fieldHelpers/helpers/FieldHelper.cjs +0 -13
- package/dist/development/src/fieldHelpers/helpers/FieldHelper.cjs.map +0 -1
- package/dist/development/src/fieldHelpers/helpers/FieldHelper.js +0 -13
- package/dist/development/src/fieldHelpers/helpers/FieldHelper.js.map +0 -1
- package/dist/development/src/fieldHelpers/helpers/TemporalFieldHelper.cjs +0 -18
- package/dist/development/src/fieldHelpers/helpers/TemporalFieldHelper.cjs.map +0 -1
- package/dist/development/src/fieldHelpers/helpers/TemporalFieldHelper.js +0 -18
- package/dist/development/src/fieldHelpers/helpers/TemporalFieldHelper.js.map +0 -1
- package/dist/development/src/fieldHelpers/helpers/UuidFieldHelper.cjs +0 -16
- package/dist/development/src/fieldHelpers/helpers/UuidFieldHelper.cjs.map +0 -1
- package/dist/development/src/fieldHelpers/helpers/UuidFieldHelper.js +0 -16
- package/dist/development/src/fieldHelpers/helpers/UuidFieldHelper.js.map +0 -1
- package/dist/development/src/utils/generateEnumerabilityPreventingEntropy.cjs +0 -7
- package/dist/development/src/utils/generateEnumerabilityPreventingEntropy.cjs.map +0 -1
- package/dist/development/src/utils/generateEnumerabilityPreventingEntropy.js +0 -7
- package/dist/development/src/utils/generateEnumerabilityPreventingEntropy.js.map +0 -1
- package/dist/development/src/utils/isEmptyObject.cjs +0 -12
- package/dist/development/src/utils/isEmptyObject.cjs.map +0 -1
- package/dist/development/src/utils/isEmptyObject.js +0 -12
- package/dist/development/src/utils/isEmptyObject.js.map +0 -1
- package/dist/production/index.cjs +0 -34
- package/dist/production/index.cjs.map +0 -1
- package/dist/production/index.js +0 -28
- package/dist/production/index.js.map +0 -1
- package/dist/production/src/accessorTree/NormalizedPersistedData.cjs +0 -10
- package/dist/production/src/accessorTree/NormalizedPersistedData.cjs.map +0 -1
- package/dist/production/src/accessorTree/NormalizedPersistedData.js +0 -10
- package/dist/production/src/accessorTree/NormalizedPersistedData.js.map +0 -1
- package/dist/production/src/accessors/EntityAccessorImpl.cjs +0 -179
- package/dist/production/src/accessors/EntityAccessorImpl.cjs.map +0 -1
- package/dist/production/src/accessors/EntityAccessorImpl.js +0 -179
- package/dist/production/src/accessors/EntityAccessorImpl.js.map +0 -1
- package/dist/production/src/accessors/EntityListAccessorImpl.cjs +0 -112
- package/dist/production/src/accessors/EntityListAccessorImpl.cjs.map +0 -1
- package/dist/production/src/accessors/EntityListAccessorImpl.js +0 -112
- package/dist/production/src/accessors/EntityListAccessorImpl.js.map +0 -1
- package/dist/production/src/accessors/FieldAccessorImpl.cjs +0 -54
- package/dist/production/src/accessors/FieldAccessorImpl.cjs.map +0 -1
- package/dist/production/src/accessors/FieldAccessorImpl.js +0 -54
- package/dist/production/src/accessors/FieldAccessorImpl.js.map +0 -1
- package/dist/production/src/core/AccessorErrorManager.cjs +0 -200
- package/dist/production/src/core/AccessorErrorManager.cjs.map +0 -1
- package/dist/production/src/core/AccessorErrorManager.js +0 -200
- package/dist/production/src/core/AccessorErrorManager.js.map +0 -1
- package/dist/production/src/core/Config.cjs +0 -29
- package/dist/production/src/core/Config.cjs.map +0 -1
- package/dist/production/src/core/Config.js +0 -29
- package/dist/production/src/core/Config.js.map +0 -1
- package/dist/production/src/core/DataBinding.cjs +0 -354
- package/dist/production/src/core/DataBinding.cjs.map +0 -1
- package/dist/production/src/core/DataBinding.js +0 -354
- package/dist/production/src/core/DataBinding.js.map +0 -1
- package/dist/production/src/core/DirtinessTracker.cjs +0 -26
- package/dist/production/src/core/DirtinessTracker.cjs.map +0 -1
- package/dist/production/src/core/DirtinessTracker.js +0 -26
- package/dist/production/src/core/DirtinessTracker.js.map +0 -1
- package/dist/production/src/core/ErrorsPreprocessor.cjs +0 -180
- package/dist/production/src/core/ErrorsPreprocessor.cjs.map +0 -1
- package/dist/production/src/core/ErrorsPreprocessor.js +0 -180
- package/dist/production/src/core/ErrorsPreprocessor.js.map +0 -1
- package/dist/production/src/core/EventManager.cjs +0 -413
- package/dist/production/src/core/EventManager.cjs.map +0 -1
- package/dist/production/src/core/EventManager.js +0 -413
- package/dist/production/src/core/EventManager.js.map +0 -1
- package/dist/production/src/core/MutationGenerator.cjs +0 -670
- package/dist/production/src/core/MutationGenerator.cjs.map +0 -1
- package/dist/production/src/core/MutationGenerator.js +0 -670
- package/dist/production/src/core/MutationGenerator.js.map +0 -1
- package/dist/production/src/core/QueryGenerator.cjs +0 -110
- package/dist/production/src/core/QueryGenerator.cjs.map +0 -1
- package/dist/production/src/core/QueryGenerator.js +0 -110
- package/dist/production/src/core/QueryGenerator.js.map +0 -1
- package/dist/production/src/core/RealmKeyGenerator.cjs +0 -42
- package/dist/production/src/core/RealmKeyGenerator.cjs.map +0 -1
- package/dist/production/src/core/RealmKeyGenerator.js +0 -42
- package/dist/production/src/core/RealmKeyGenerator.js.map +0 -1
- package/dist/production/src/core/RequestResponseNormalizer.cjs +0 -136
- package/dist/production/src/core/RequestResponseNormalizer.cjs.map +0 -1
- package/dist/production/src/core/RequestResponseNormalizer.js +0 -136
- package/dist/production/src/core/RequestResponseNormalizer.js.map +0 -1
- package/dist/production/src/core/StateInitializer.cjs +0 -379
- package/dist/production/src/core/StateInitializer.cjs.map +0 -1
- package/dist/production/src/core/StateInitializer.js +0 -379
- package/dist/production/src/core/StateInitializer.js.map +0 -1
- package/dist/production/src/core/TreeAugmenter.cjs +0 -354
- package/dist/production/src/core/TreeAugmenter.cjs.map +0 -1
- package/dist/production/src/core/TreeAugmenter.js +0 -354
- package/dist/production/src/core/TreeAugmenter.js.map +0 -1
- package/dist/production/src/core/TreeStore.cjs +0 -172
- package/dist/production/src/core/TreeStore.cjs.map +0 -1
- package/dist/production/src/core/TreeStore.js +0 -172
- package/dist/production/src/core/TreeStore.js.map +0 -1
- package/dist/production/src/core/exceptions/ErrorLocator.cjs +0 -59
- package/dist/production/src/core/exceptions/ErrorLocator.cjs.map +0 -1
- package/dist/production/src/core/exceptions/ErrorLocator.js +0 -59
- package/dist/production/src/core/exceptions/ErrorLocator.js.map +0 -1
- package/dist/production/src/core/exceptions/MarkerSugarer.cjs +0 -51
- package/dist/production/src/core/exceptions/MarkerSugarer.cjs.map +0 -1
- package/dist/production/src/core/exceptions/MarkerSugarer.js +0 -51
- package/dist/production/src/core/exceptions/MarkerSugarer.js.map +0 -1
- package/dist/production/src/core/exceptions/TreeParameterSugarer.cjs +0 -33
- package/dist/production/src/core/exceptions/TreeParameterSugarer.cjs.map +0 -1
- package/dist/production/src/core/exceptions/TreeParameterSugarer.js +0 -33
- package/dist/production/src/core/exceptions/TreeParameterSugarer.js.map +0 -1
- package/dist/production/src/core/factories/createBatchUpdatesOptions.cjs +0 -23
- package/dist/production/src/core/factories/createBatchUpdatesOptions.cjs.map +0 -1
- package/dist/production/src/core/factories/createBatchUpdatesOptions.js +0 -23
- package/dist/production/src/core/factories/createBatchUpdatesOptions.js.map +0 -1
- package/dist/production/src/core/operations/EntityOperations.cjs +0 -226
- package/dist/production/src/core/operations/EntityOperations.cjs.map +0 -1
- package/dist/production/src/core/operations/EntityOperations.js +0 -226
- package/dist/production/src/core/operations/EntityOperations.js.map +0 -1
- package/dist/production/src/core/operations/FieldOperations.cjs +0 -73
- package/dist/production/src/core/operations/FieldOperations.cjs.map +0 -1
- package/dist/production/src/core/operations/FieldOperations.js +0 -73
- package/dist/production/src/core/operations/FieldOperations.js.map +0 -1
- package/dist/production/src/core/operations/ListOperations.cjs +0 -158
- package/dist/production/src/core/operations/ListOperations.cjs.map +0 -1
- package/dist/production/src/core/operations/ListOperations.js +0 -158
- package/dist/production/src/core/operations/ListOperations.js.map +0 -1
- package/dist/production/src/core/operations/OperationsHelpers.cjs +0 -87
- package/dist/production/src/core/operations/OperationsHelpers.cjs.map +0 -1
- package/dist/production/src/core/operations/OperationsHelpers.js +0 -87
- package/dist/production/src/core/operations/OperationsHelpers.js.map +0 -1
- package/dist/production/src/core/requestAliases/MutationAlias.cjs +0 -14
- package/dist/production/src/core/requestAliases/MutationAlias.cjs.map +0 -1
- package/dist/production/src/core/requestAliases/MutationAlias.js +0 -14
- package/dist/production/src/core/requestAliases/MutationAlias.js.map +0 -1
- package/dist/production/src/core/state/StateIterator.cjs +0 -100
- package/dist/production/src/core/state/StateIterator.cjs.map +0 -1
- package/dist/production/src/core/state/StateIterator.js +0 -100
- package/dist/production/src/core/state/StateIterator.js.map +0 -1
- package/dist/production/src/core/state/getEntityMarker.cjs +0 -5
- package/dist/production/src/core/state/getEntityMarker.cjs.map +0 -1
- package/dist/production/src/core/state/getEntityMarker.js +0 -5
- package/dist/production/src/core/state/getEntityMarker.js.map +0 -1
- package/dist/production/src/core/utils/getCombinedSignal.cjs +0 -33
- package/dist/production/src/core/utils/getCombinedSignal.cjs.map +0 -1
- package/dist/production/src/core/utils/getCombinedSignal.js +0 -33
- package/dist/production/src/core/utils/getCombinedSignal.js.map +0 -1
- package/dist/production/src/fieldHelpers/helpers/FieldHelper.cjs +0 -13
- package/dist/production/src/fieldHelpers/helpers/FieldHelper.cjs.map +0 -1
- package/dist/production/src/fieldHelpers/helpers/FieldHelper.js +0 -13
- package/dist/production/src/fieldHelpers/helpers/FieldHelper.js.map +0 -1
- package/dist/production/src/fieldHelpers/helpers/TemporalFieldHelper.cjs +0 -18
- package/dist/production/src/fieldHelpers/helpers/TemporalFieldHelper.cjs.map +0 -1
- package/dist/production/src/fieldHelpers/helpers/TemporalFieldHelper.js +0 -18
- package/dist/production/src/fieldHelpers/helpers/TemporalFieldHelper.js.map +0 -1
- package/dist/production/src/fieldHelpers/helpers/UuidFieldHelper.cjs +0 -16
- package/dist/production/src/fieldHelpers/helpers/UuidFieldHelper.cjs.map +0 -1
- package/dist/production/src/fieldHelpers/helpers/UuidFieldHelper.js +0 -16
- package/dist/production/src/fieldHelpers/helpers/UuidFieldHelper.js.map +0 -1
- package/dist/production/src/utils/generateEnumerabilityPreventingEntropy.cjs +0 -7
- package/dist/production/src/utils/generateEnumerabilityPreventingEntropy.cjs.map +0 -1
- package/dist/production/src/utils/generateEnumerabilityPreventingEntropy.js +0 -7
- package/dist/production/src/utils/generateEnumerabilityPreventingEntropy.js.map +0 -1
- package/dist/production/src/utils/isEmptyObject.cjs +0 -12
- package/dist/production/src/utils/isEmptyObject.cjs.map +0 -1
- package/dist/production/src/utils/isEmptyObject.js +0 -12
- package/dist/production/src/utils/isEmptyObject.js.map +0 -1
- package/dist/types/accessorTree/NormalizedPersistedData.d.ts +0 -18
- package/dist/types/accessorTree/NormalizedPersistedData.d.ts.map +0 -1
- package/dist/types/accessorTree/index.d.ts +0 -2
- package/dist/types/accessorTree/index.d.ts.map +0 -1
- package/dist/types/accessors/BindingConfig.d.ts +0 -6
- package/dist/types/accessors/BindingConfig.d.ts.map +0 -1
- package/dist/types/accessors/EntityAccessorImpl.d.ts +0 -56
- package/dist/types/accessors/EntityAccessorImpl.d.ts.map +0 -1
- package/dist/types/accessors/EntityListAccessorImpl.d.ts +0 -57
- package/dist/types/accessors/EntityListAccessorImpl.d.ts.map +0 -1
- package/dist/types/accessors/FieldAccessorImpl.d.ts +0 -32
- package/dist/types/accessors/FieldAccessorImpl.d.ts.map +0 -1
- package/dist/types/accessors/index.d.ts +0 -5
- package/dist/types/accessors/index.d.ts.map +0 -1
- package/dist/types/core/AccessorErrorManager.d.ts +0 -25
- package/dist/types/core/AccessorErrorManager.d.ts.map +0 -1
- package/dist/types/core/Config.d.ts +0 -9
- package/dist/types/core/Config.d.ts.map +0 -1
- package/dist/types/core/DataBinding.d.ts +0 -54
- package/dist/types/core/DataBinding.d.ts.map +0 -1
- package/dist/types/core/DirtinessTracker.d.ts +0 -9
- package/dist/types/core/DirtinessTracker.d.ts.map +0 -1
- package/dist/types/core/ErrorsPreprocessor.d.ts +0 -34
- package/dist/types/core/ErrorsPreprocessor.d.ts.map +0 -1
- package/dist/types/core/EventManager.d.ts +0 -57
- package/dist/types/core/EventManager.d.ts.map +0 -1
- package/dist/types/core/MutationGenerator.d.ts +0 -49
- package/dist/types/core/MutationGenerator.d.ts.map +0 -1
- package/dist/types/core/QueryGenerator.d.ts +0 -13
- package/dist/types/core/QueryGenerator.d.ts.map +0 -1
- package/dist/types/core/RealmKeyGenerator.d.ts +0 -10
- package/dist/types/core/RealmKeyGenerator.d.ts.map +0 -1
- package/dist/types/core/RequestResponseNormalizer.d.ts +0 -11
- package/dist/types/core/RequestResponseNormalizer.d.ts.map +0 -1
- package/dist/types/core/StateInitializer.d.ts +0 -34
- package/dist/types/core/StateInitializer.d.ts.map +0 -1
- package/dist/types/core/TreeAugmenter.d.ts +0 -25
- package/dist/types/core/TreeAugmenter.d.ts.map +0 -1
- package/dist/types/core/TreeStore.d.ts +0 -30
- package/dist/types/core/TreeStore.d.ts.map +0 -1
- package/dist/types/core/UpdateMetadata.d.ts +0 -4
- package/dist/types/core/UpdateMetadata.d.ts.map +0 -1
- package/dist/types/core/exceptions/ErrorLocator.d.ts +0 -8
- package/dist/types/core/exceptions/ErrorLocator.d.ts.map +0 -1
- package/dist/types/core/exceptions/MarkerSugarer.d.ts +0 -10
- package/dist/types/core/exceptions/MarkerSugarer.d.ts.map +0 -1
- package/dist/types/core/exceptions/TreeParameterSugarer.d.ts +0 -11
- package/dist/types/core/exceptions/TreeParameterSugarer.d.ts.map +0 -1
- package/dist/types/core/factories/createBatchUpdatesOptions.d.ts +0 -5
- package/dist/types/core/factories/createBatchUpdatesOptions.d.ts.map +0 -1
- package/dist/types/core/factories/index.d.ts +0 -2
- package/dist/types/core/factories/index.d.ts.map +0 -1
- package/dist/types/core/index.d.ts +0 -9
- package/dist/types/core/index.d.ts.map +0 -1
- package/dist/types/core/operations/EntityOperations.d.ts +0 -26
- package/dist/types/core/operations/EntityOperations.d.ts.map +0 -1
- package/dist/types/core/operations/FieldOperations.d.ts +0 -22
- package/dist/types/core/operations/FieldOperations.d.ts.map +0 -1
- package/dist/types/core/operations/ListOperations.d.ts +0 -32
- package/dist/types/core/operations/ListOperations.d.ts.map +0 -1
- package/dist/types/core/operations/OperationsHelpers.d.ts +0 -14
- package/dist/types/core/operations/OperationsHelpers.d.ts.map +0 -1
- package/dist/types/core/operations/index.d.ts +0 -4
- package/dist/types/core/operations/index.d.ts.map +0 -1
- package/dist/types/core/requestAliases/MutationAlias.d.ts +0 -6
- package/dist/types/core/requestAliases/MutationAlias.d.ts.map +0 -1
- package/dist/types/core/requestAliases/index.d.ts +0 -2
- package/dist/types/core/requestAliases/index.d.ts.map +0 -1
- package/dist/types/core/state/EntityListState.d.ts +0 -29
- package/dist/types/core/state/EntityListState.d.ts.map +0 -1
- package/dist/types/core/state/EntityRealmState.d.ts +0 -44
- package/dist/types/core/state/EntityRealmState.d.ts.map +0 -1
- package/dist/types/core/state/EntityState.d.ts +0 -11
- package/dist/types/core/state/EntityState.d.ts.map +0 -1
- package/dist/types/core/state/FieldState.d.ts +0 -19
- package/dist/types/core/state/FieldState.d.ts.map +0 -1
- package/dist/types/core/state/StateIterator.d.ts +0 -14
- package/dist/types/core/state/StateIterator.d.ts.map +0 -1
- package/dist/types/core/state/StateNode.d.ts +0 -8
- package/dist/types/core/state/StateNode.d.ts.map +0 -1
- package/dist/types/core/state/getEntityMarker.d.ts +0 -3
- package/dist/types/core/state/getEntityMarker.d.ts.map +0 -1
- package/dist/types/core/state/index.d.ts +0 -8
- package/dist/types/core/state/index.d.ts.map +0 -1
- package/dist/types/core/utils/getCombinedSignal.d.ts +0 -2
- package/dist/types/core/utils/getCombinedSignal.d.ts.map +0 -1
- package/dist/types/core/utils/index.d.ts +0 -2
- package/dist/types/core/utils/index.d.ts.map +0 -1
- package/dist/types/fieldHelpers/helpers/FieldHelper.d.ts +0 -7
- package/dist/types/fieldHelpers/helpers/FieldHelper.d.ts.map +0 -1
- package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts +0 -10
- package/dist/types/fieldHelpers/helpers/TemporalFieldHelper.d.ts.map +0 -1
- package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts +0 -10
- package/dist/types/fieldHelpers/helpers/UuidFieldHelper.d.ts.map +0 -1
- package/dist/types/fieldHelpers/helpers/index.d.ts +0 -3
- package/dist/types/fieldHelpers/helpers/index.d.ts.map +0 -1
- package/dist/types/fieldHelpers/index.d.ts +0 -2
- package/dist/types/fieldHelpers/index.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -5
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/tsconfig.tsbuildinfo +0 -1
- package/dist/types/utils/assertNever.d.ts +0 -2
- package/dist/types/utils/assertNever.d.ts.map +0 -1
- package/dist/types/utils/generateEnumerabilityPreventingEntropy.d.ts +0 -2
- package/dist/types/utils/generateEnumerabilityPreventingEntropy.d.ts.map +0 -1
- package/dist/types/utils/index.d.ts +0 -4
- package/dist/types/utils/index.d.ts.map +0 -1
- package/dist/types/utils/isEmptyObject.d.ts +0 -2
- package/dist/types/utils/isEmptyObject.d.ts.map +0 -1
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { BatchUpdatesOptions, EntityAccessor } from '@contember/binding-common';
|
|
2
|
-
import { RuntimeId } from '@contember/binding-common';
|
|
3
|
-
import { EntityListSubTreeMarker, EntitySubTreeMarker } from '@contember/binding-common';
|
|
4
|
-
import type { EntityEventListenerStore, EntityName } from '@contember/binding-common';
|
|
5
|
-
import type { AccessorErrorManager } from './AccessorErrorManager';
|
|
6
|
-
import type { EventManager } from './EventManager';
|
|
7
|
-
import { EntityRealmBlueprint, EntityRealmState, EntityRealmStateStub, EntityState, RootStateNode } from './state';
|
|
8
|
-
import type { TreeStore } from './TreeStore';
|
|
9
|
-
export declare class StateInitializer {
|
|
10
|
-
private readonly eventManager;
|
|
11
|
-
private readonly treeStore;
|
|
12
|
-
private readonly fieldOperations;
|
|
13
|
-
private readonly entityOperations;
|
|
14
|
-
private readonly listOperations;
|
|
15
|
-
constructor(accessorErrorManager: AccessorErrorManager, batchUpdatesOptions: BatchUpdatesOptions, eventManager: EventManager, treeStore: TreeStore);
|
|
16
|
-
initializeSubTree(tree: EntitySubTreeMarker | EntityListSubTreeMarker): RootStateNode;
|
|
17
|
-
initializeEntityRealm(id: RuntimeId, entityName: EntityName, blueprint: EntityRealmBlueprint, copyFrom?: EntityRealmState | EntityRealmStateStub): EntityRealmState | EntityRealmStateStub;
|
|
18
|
-
private createEntityRealm;
|
|
19
|
-
private materializeEntityRealm;
|
|
20
|
-
private registerEntityRealm;
|
|
21
|
-
initializeEntityState(id: RuntimeId, entityName: EntityName): EntityState;
|
|
22
|
-
private initializeEntityListState;
|
|
23
|
-
private initializeFieldState;
|
|
24
|
-
private initializeFromFieldMarker;
|
|
25
|
-
private initializeFromHasOneRelationMarker;
|
|
26
|
-
private initializeFromHasManyRelationMarker;
|
|
27
|
-
private getRelationTargetEntityName;
|
|
28
|
-
runImmediateUserInitialization(realm: EntityRealmState | EntityRealmStateStub, initialize: EntityAccessor.BatchUpdatesHandler | undefined): void;
|
|
29
|
-
initializeEntityEventListenerStore(blueprint: EntityRealmBlueprint): EntityEventListenerStore | undefined;
|
|
30
|
-
private initializeEntityListEventListenerStore;
|
|
31
|
-
private initializeEntityListChildEventListenerStore;
|
|
32
|
-
private initializeFieldEventListenerStore;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=StateInitializer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StateInitializer.d.ts","sourceRoot":"","sources":["../../../src/core/StateInitializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAiB,MAAM,2BAA2B,CAAA;AAC9F,OAAO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IAwDjC,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;CAGzC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ReceivedDataTree } from '@contember/binding-common';
|
|
2
|
-
import type { MarkerTreeRoot } from '@contember/binding-common';
|
|
3
|
-
import type { TreeRootId } from '@contember/binding-common';
|
|
4
|
-
import { EventManager } from './EventManager';
|
|
5
|
-
import type { StateInitializer } from './StateInitializer';
|
|
6
|
-
import type { TreeStore } from './TreeStore';
|
|
7
|
-
import { SubMutationOperation } from './MutationGenerator';
|
|
8
|
-
export declare class TreeAugmenter {
|
|
9
|
-
private readonly eventManager;
|
|
10
|
-
private readonly stateInitializer;
|
|
11
|
-
private readonly treeStore;
|
|
12
|
-
private readonly skipStateUpdateAfterPersist;
|
|
13
|
-
constructor(eventManager: EventManager, stateInitializer: StateInitializer, treeStore: TreeStore, skipStateUpdateAfterPersist?: boolean);
|
|
14
|
-
extendPersistedData(newPersistedData: ReceivedDataTree, markerTree: MarkerTreeRoot): void;
|
|
15
|
-
extendTreeStates(newTreeId: TreeRootId | undefined, newMarkerTree: MarkerTreeRoot): void;
|
|
16
|
-
updatePersistedData(response: ReceivedDataTree, operations: SubMutationOperation[]): void;
|
|
17
|
-
resetCreatingSubTrees(): void;
|
|
18
|
-
private updateRealmIdIfNecessary;
|
|
19
|
-
private updateEntityRealmPersistedData;
|
|
20
|
-
private updateEntityListPersistedData;
|
|
21
|
-
private tryAssignIdToMatching;
|
|
22
|
-
private isEntityMatching;
|
|
23
|
-
private isEmptyEntity;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=TreeAugmenter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TreeAugmenter.d.ts","sourceRoot":"","sources":["../../../src/core/TreeAugmenter.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,gBAAgB,EAIhB,MAAM,2BAA2B,CAAA;AAElC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAA6B,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAEtF,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;AAG1D,qBAAa,aAAa;IAExB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,SAAS;IAC1B,OAAO,CAAC,QAAQ,CAAC,2BAA2B;gBAH3B,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,SAAS,EACpB,2BAA2B,GAAE,OAAe;IAGvD,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;IAsClF,qBAAqB;IAwD5B,OAAO,CAAC,wBAAwB;IA2BhC,OAAO,CAAC,8BAA8B;IAiDtC,OAAO,CAAC,6BAA6B;IAiDrC,OAAO,CAAC,qBAAqB;IAiB7B,OAAO,CAAC,gBAAgB;IAmGxB,OAAO,CAAC,aAAa;CAuCrB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { NormalizedPersistedData, PersistedEntityDataStore, SubTreeDataStore } from '../accessorTree';
|
|
2
|
-
import type { Alias, EntityId, EntityRealmKey, Environment, FieldName, PlaceholderName, ReceivedDataTree, Schema, SugaredQualifiedEntityList, SugaredQualifiedSingleEntity, SugaredUnconstrainedQualifiedEntityList, SugaredUnconstrainedQualifiedSingleEntity, TreeRootId, UniqueEntityId } from '@contember/binding-common';
|
|
3
|
-
import { MarkerTreeRoot } from '@contember/binding-common';
|
|
4
|
-
import type { EntityListState, EntityRealmState, EntityRealmStateStub, EntityState, RootStateNode } from './state';
|
|
5
|
-
import { SubMutationOperation } from './MutationGenerator';
|
|
6
|
-
export declare class TreeStore {
|
|
7
|
-
private readonly _schema;
|
|
8
|
-
readonly entityStore: Map<UniqueEntityId, EntityState>;
|
|
9
|
-
readonly entityRealmStore: Map<EntityRealmKey, EntityRealmState | EntityRealmStateStub>;
|
|
10
|
-
readonly markerTrees: Map<TreeRootId | undefined, MarkerTreeRoot>;
|
|
11
|
-
readonly subTreeStatesByRoot: Map<TreeRootId | undefined, Map<PlaceholderName, RootStateNode>>;
|
|
12
|
-
readonly persistedData: NormalizedPersistedData;
|
|
13
|
-
constructor(_schema: Schema);
|
|
14
|
-
mergeInQueryResponse(response: ReceivedDataTree, markerTree: MarkerTreeRoot): void;
|
|
15
|
-
mergeInMutationResponse(response: ReceivedDataTree, operations: SubMutationOperation[]): void;
|
|
16
|
-
get persistedEntityData(): PersistedEntityDataStore;
|
|
17
|
-
get subTreePersistedData(): SubTreeDataStore;
|
|
18
|
-
get schema(): Schema;
|
|
19
|
-
getPathBackToParent(entityRealm: EntityRealmState | EntityRealmStateStub): {
|
|
20
|
-
fieldBackToParent: FieldName;
|
|
21
|
-
parent: EntityRealmState;
|
|
22
|
-
} | undefined;
|
|
23
|
-
getSubTreeState(mode: 'entity', treeRootId: TreeRootId | undefined, aliasOrParameters: Alias | SugaredQualifiedSingleEntity | SugaredUnconstrainedQualifiedSingleEntity, environment: Environment): EntityRealmState;
|
|
24
|
-
getSubTreeState(mode: 'entityList', treeRootId: TreeRootId | undefined, aliasOrParameters: Alias | SugaredQualifiedEntityList | SugaredUnconstrainedQualifiedEntityList, environment: Environment): EntityListState;
|
|
25
|
-
getEntityListPersistedIds(state: EntityListState): ReadonlySet<EntityId>;
|
|
26
|
-
disposeOfRealm(realmToDisposeOf: EntityRealmState | EntityRealmStateStub): void;
|
|
27
|
-
disposeOfEntity(entity: EntityState): void;
|
|
28
|
-
effectivelyHasTreeRoot(candidateRoot: MarkerTreeRoot): boolean;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=TreeStore.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TreeStore.d.ts","sourceRoot":"","sources":["../../../src/core/TreeStore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACrG,OAAO,KAAK,EACX,KAAK,EACL,QAAQ,EAER,cAAc,EACd,WAAW,EACX,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,MAAM,EACN,0BAA0B,EAC1B,4BAA4B,EAC5B,uCAAuC,EACvC,yCAAyC,EACzC,UAAU,EACV,cAAc,EACd,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAkC,cAAc,EAAuC,MAAM,2BAA2B,CAAA;AAG/H,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAClH,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAI1D,qBAAa,SAAS;IAYpB,OAAO,CAAC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,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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateMetadata.d.ts","sourceRoot":"","sources":["../../../src/core/UpdateMetadata.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC9B,UAAU,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { StateNode } from '../state';
|
|
2
|
-
import type { MeaningfulMarker } from '@contember/binding-common';
|
|
3
|
-
export declare class ErrorLocator {
|
|
4
|
-
private static readonly GLUE;
|
|
5
|
-
static locateMarkerPath(path: MeaningfulMarker[]): string;
|
|
6
|
-
static locateInternalState(state: StateNode): string;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=ErrorLocator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorLocator.d.ts","sourceRoot":"","sources":["../../../../src/core/exceptions/ErrorLocator.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAIjE,qBAAa,YAAY;IACxB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAM;WAEpB,gBAAgB,CAAC,IAAI,EAAE,gBAAgB,EAAE,GAAG,MAAM;WAIlD,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM;CA4C3D"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EntityListSubTreeMarker, EntitySubTreeMarker, FieldMarker, HasManyRelationMarker, HasOneRelationMarker, MeaningfulMarker } from '@contember/binding-common';
|
|
2
|
-
export declare class MarkerSugarer {
|
|
3
|
-
static sugarMarker(marker: MeaningfulMarker): string;
|
|
4
|
-
static sugarFieldMarker(field: FieldMarker): string;
|
|
5
|
-
static sugarHasOneRelationMarker(hasOne: HasOneRelationMarker): string;
|
|
6
|
-
static sugarHasManyRelationMarker(hasMany: HasManyRelationMarker): string;
|
|
7
|
-
static sugarEntitySubTreeMarker(subTree: EntitySubTreeMarker): string;
|
|
8
|
-
static sugarEntityListSubTreeMarker(subTree: EntityListSubTreeMarker): string;
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=MarkerSugarer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MarkerSugarer.d.ts","sourceRoot":"","sources":["../../../../src/core/exceptions/MarkerSugarer.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,uBAAuB,EACvB,mBAAmB,EACnB,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,gBAAgB,EAChB,MAAM,2BAA2B,CAAA;AAIlC,qBAAa,aAAa;WACX,WAAW,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM;WAmB7C,gBAAgB,CAAC,KAAK,EAAE,WAAW;WAInC,yBAAyB,CAAC,MAAM,EAAE,oBAAoB;WAQtD,0BAA0B,CAAC,OAAO,EAAE,qBAAqB;WAIzD,wBAAwB,CAAC,OAAO,EAAE,mBAAmB;WAOrD,4BAA4B,CAAC,OAAO,EAAE,uBAAuB;CAM3E"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { EntityName, FieldName, Filter, UniqueWhere } from '@contember/binding-common';
|
|
2
|
-
export declare class TreeParameterSugarer {
|
|
3
|
-
static sugarField(fieldName: FieldName): string;
|
|
4
|
-
static sugarHasOneRelation(fieldName: FieldName, reducedBy: UniqueWhere | undefined, filter: Filter | undefined): string;
|
|
5
|
-
static sugarHasManyRelation(fieldName: FieldName, filter: Filter | undefined): string;
|
|
6
|
-
static sugarRootEntity(entityName: EntityName, where: UniqueWhere | undefined): string;
|
|
7
|
-
static sugarRootEntityList(entityName: EntityName, filter: Filter | undefined): string;
|
|
8
|
-
static sugarUniqueWhere(where: UniqueWhere | undefined): string;
|
|
9
|
-
static sugarFilter(filter: Filter | undefined): string;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=TreeParameterSugarer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TreeParameterSugarer.d.ts","sourceRoot":"","sources":["../../../../src/core/exceptions/TreeParameterSugarer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAE3F,qBAAa,oBAAoB;WAClB,UAAU,CAAC,SAAS,EAAE,SAAS;WAI/B,mBAAmB,CAChC,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,WAAW,GAAG,SAAS,EAClC,MAAM,EAAE,MAAM,GAAG,SAAS;WAKb,oBAAoB,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS;WAIrE,eAAe,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,GAAG,SAAS;WAItE,mBAAmB,CAAC,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS;WAItE,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,GAAG,MAAM;WAOxD,WAAW,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM;CAM7D"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BatchUpdatesOptions } from '@contember/binding-common';
|
|
2
|
-
import type { Environment } from '@contember/binding-common';
|
|
3
|
-
import type { TreeStore } from '../TreeStore';
|
|
4
|
-
export declare const createBatchUpdatesOptions: (rootEnvironment: Environment, treeStore: TreeStore) => BatchUpdatesOptions;
|
|
5
|
-
//# sourceMappingURL=createBatchUpdatesOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createBatchUpdatesOptions.d.ts","sourceRoot":"","sources":["../../../../src/core/factories/createBatchUpdatesOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAsC,MAAM,2BAA2B,CAAA;AAExG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAS5D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,eAAO,MAAM,yBAAyB,GAAI,iBAAiB,WAAW,EAAE,WAAW,SAAS,KAAG,mBA2B5F,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/factories/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './Config';
|
|
2
|
-
export * from './DataBinding';
|
|
3
|
-
export * from './DirtinessTracker';
|
|
4
|
-
export * from './EventManager';
|
|
5
|
-
export * from './QueryGenerator';
|
|
6
|
-
export * from './StateInitializer';
|
|
7
|
-
export * from './TreeAugmenter';
|
|
8
|
-
export * from './TreeStore';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,oBAAoB,CAAA;AAClC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { BatchUpdatesOptions, EntityAccessor, ErrorAccessor } from '@contember/binding-common';
|
|
2
|
-
import type { FieldName } from '@contember/binding-common';
|
|
3
|
-
import type { AccessorErrorManager } from '../AccessorErrorManager';
|
|
4
|
-
import type { EventManager } from '../EventManager';
|
|
5
|
-
import { EntityRealmState } from '../state';
|
|
6
|
-
import type { StateInitializer } from '../StateInitializer';
|
|
7
|
-
import type { TreeStore } from '../TreeStore';
|
|
8
|
-
export declare class EntityOperations {
|
|
9
|
-
private readonly accessorErrorManager;
|
|
10
|
-
private readonly batchUpdatesOptions;
|
|
11
|
-
private readonly eventManager;
|
|
12
|
-
private readonly stateInitializer;
|
|
13
|
-
private readonly treeStore;
|
|
14
|
-
constructor(accessorErrorManager: AccessorErrorManager, batchUpdatesOptions: BatchUpdatesOptions, eventManager: EventManager, stateInitializer: StateInitializer, treeStore: TreeStore);
|
|
15
|
-
addError(entityRealm: EntityRealmState, error: ErrorAccessor.Error): () => void;
|
|
16
|
-
addEventListener<Type extends keyof EntityAccessor.RuntimeEntityEventListenerMap>(state: EntityRealmState, event: {
|
|
17
|
-
type: Type;
|
|
18
|
-
key?: string;
|
|
19
|
-
}, listener: EntityAccessor.EntityEventListenerMap[Type]): () => void;
|
|
20
|
-
batchUpdates(state: EntityRealmState, performUpdates: EntityAccessor.BatchUpdatesHandler): void;
|
|
21
|
-
connectEntityAtField(outerState: EntityRealmState, fieldName: FieldName, entityToConnect: EntityAccessor): void;
|
|
22
|
-
disconnectEntityAtField(outerState: EntityRealmState, fieldName: FieldName, initializeReplacement: EntityAccessor.BatchUpdatesHandler | undefined): void;
|
|
23
|
-
deleteEntity(realm: EntityRealmState): void;
|
|
24
|
-
private resolveHasOneRelationMarkers;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=EntityOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,2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7B,UAAU,EAAE,gBAAgB,EAC5B,SAAS,EAAE,SAAS,EACpB,qBAAqB,EAAE,cAAc,CAAC,mBAAmB,GAAG,SAAS;IAyD/D,YAAY,CAAC,KAAK,EAAE,gBAAgB;IAkE3C,OAAO,CAAE,4BAA4B;CAyBrC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { FieldValue } from '@contember/binding-common';
|
|
2
|
-
import { ErrorAccessor, FieldAccessor } from '@contember/binding-common';
|
|
3
|
-
import type { AccessorErrorManager } from '../AccessorErrorManager';
|
|
4
|
-
import { EventManager } from '../EventManager';
|
|
5
|
-
import { FieldState } from '../state';
|
|
6
|
-
import type { StateInitializer } from '../StateInitializer';
|
|
7
|
-
import type { TreeStore } from '../TreeStore';
|
|
8
|
-
export declare class FieldOperations {
|
|
9
|
-
private readonly accessorErrorManager;
|
|
10
|
-
private readonly eventManager;
|
|
11
|
-
private readonly stateInitializer;
|
|
12
|
-
private readonly treeStore;
|
|
13
|
-
constructor(accessorErrorManager: AccessorErrorManager, eventManager: EventManager, stateInitializer: StateInitializer, treeStore: TreeStore);
|
|
14
|
-
addError(fieldState: FieldState<any>, error: ErrorAccessor.Error): () => void;
|
|
15
|
-
clearErrors(fieldState: FieldState<any>): void;
|
|
16
|
-
addEventListener<Type extends keyof FieldAccessor.FieldEventListenerMap, Value extends FieldValue = FieldValue>(state: FieldState<Value>, event: {
|
|
17
|
-
type: Type;
|
|
18
|
-
key?: string;
|
|
19
|
-
}, listener: FieldAccessor.FieldEventListenerMap<Value>[Type]): () => void;
|
|
20
|
-
updateValue<Value extends FieldValue = FieldValue>(fieldState: FieldState<Value>, newValue: Value | null, { agent }?: FieldAccessor.UpdateOptions): void;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=FieldOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldOperations.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/FieldOperations.ts"],"names":[],"mappings":"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,UAAU,EAAE,UAAU,CAAC,KAAK,CAAC,EAC7B,QAAQ,EAAE,KAAK,GAAG,IAAI,EACtB,EAAE,KAAc,EAAE,GAAE,aAAa,CAAC,aAAkB;CA+ErD"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { BatchUpdatesOptions, EntityAccessor, EntityListAccessor, ErrorAccessor } from '@contember/binding-common';
|
|
2
|
-
import { EntityId, RuntimeId } from '@contember/binding-common';
|
|
3
|
-
import type { AccessorErrorManager } from '../AccessorErrorManager';
|
|
4
|
-
import { EventManager } from '../EventManager';
|
|
5
|
-
import { EntityListState } from '../state';
|
|
6
|
-
import type { StateInitializer } from '../StateInitializer';
|
|
7
|
-
import type { TreeStore } from '../TreeStore';
|
|
8
|
-
export declare class ListOperations {
|
|
9
|
-
private readonly accessorErrorManager;
|
|
10
|
-
private readonly batchUpdatesOptions;
|
|
11
|
-
private readonly eventManager;
|
|
12
|
-
private readonly stateInitializer;
|
|
13
|
-
private readonly treeStore;
|
|
14
|
-
constructor(accessorErrorManager: AccessorErrorManager, batchUpdatesOptions: BatchUpdatesOptions, eventManager: EventManager, stateInitializer: StateInitializer, treeStore: TreeStore);
|
|
15
|
-
addError(listState: EntityListState, error: ErrorAccessor.Error): () => void;
|
|
16
|
-
addEventListener<Type extends keyof EntityListAccessor.RuntimeEntityListEventListenerMap>(state: EntityListState, event: {
|
|
17
|
-
type: Type;
|
|
18
|
-
key?: string;
|
|
19
|
-
}, listener: EntityListAccessor.EntityListEventListenerMap[Type]): () => void;
|
|
20
|
-
addChildEventListener<Type extends keyof EntityAccessor.EntityEventListenerMap>(state: EntityListState, event: {
|
|
21
|
-
type: Type;
|
|
22
|
-
key?: string;
|
|
23
|
-
}, listener: EntityAccessor.EntityEventListenerMap[Type]): () => void;
|
|
24
|
-
batchUpdates(state: EntityListState, performUpdates: EntityListAccessor.BatchUpdatesHandler): void;
|
|
25
|
-
connectEntity(outerState: EntityListState, entityToConnect: EntityAccessor): void;
|
|
26
|
-
disconnectEntity(listState: EntityListState, childEntity: EntityAccessor, options: {
|
|
27
|
-
noPersist?: boolean;
|
|
28
|
-
}): void;
|
|
29
|
-
createNewEntity(outerState: EntityListState, initialize: EntityAccessor.BatchUpdatesHandler | undefined): RuntimeId;
|
|
30
|
-
getChildEntityById(state: EntityListState, id: EntityId): EntityAccessor;
|
|
31
|
-
}
|
|
32
|
-
//# sourceMappingURL=ListOperations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListOperations.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/ListOperations.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AACvH,OAAO,EAEN,QAAQ,EAIR,SAAS,EAET,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAA;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,OAAO,EAAE,eAAe,EAAkC,MAAM,UAAU,CAAA;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAI7C,qBAAa,cAAc;IAEzB,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,SAAS;gBAJT,oBAAoB,EAAE,oBAAoB,EAC1C,mBAAmB,EAAE,mBAAmB,EACxC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,SAAS;IAG/B,QAAQ,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,EAAE,aAAa,CAAC,KAAK,GAAG,MAAM,IAAI;IAI5E,gBAAgB,CAAC,IAAI,SAAS,MAAM,kBAAkB,CAAC,iCAAiC,EAC9F,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,EACnC,QAAQ,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,IAAI,CAAC;IAQvD,qBAAqB,CAAC,IAAI,SAAS,MAAM,cAAc,CAAC,sBAAsB,EACpF,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE;QAAE,IAAI,EAAE,IAAI,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,EACnC,QAAQ,EAAE,cAAc,CAAC,sBAAsB,CAAC,IAAI,CAAC;IAQ/C,YAAY,CAAC,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,kBAAkB,CAAC,mBAAmB;IAM3F,aAAa,CAAC,UAAU,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc;IAiE1E,gBAAgB,CAAC,SAAS,EAAE,eAAe,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE;QAAC,SAAS,CAAC,EAAE,OAAO,CAAA;KAAC;IAkDxG,eAAe,CAAC,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,cAAc,CAAC,mBAAmB,GAAG,SAAS,GAAG,SAAS;IAsBnH,kBAAkB,CAAC,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,QAAQ;CAmB9D"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { EntityAccessor } from '@contember/binding-common';
|
|
2
|
-
import type { RuntimeId } from '@contember/binding-common';
|
|
3
|
-
import { EventManager } from '../EventManager';
|
|
4
|
-
import type { EntityRealmState, EntityRealmStateStub, EntityState } from '../state';
|
|
5
|
-
import type { StateInitializer } from '../StateInitializer';
|
|
6
|
-
import type { TreeStore } from '../TreeStore';
|
|
7
|
-
export declare class OperationsHelpers {
|
|
8
|
-
static rejectInvalidAccessorTree(): never;
|
|
9
|
-
static resolveAndPrepareEntityToConnect(treeStore: TreeStore, entityToConnect: EntityAccessor): EntityRealmState | EntityRealmStateStub;
|
|
10
|
-
static changeEntityId(treeStore: TreeStore, eventManager: EventManager, stateInitializer: StateInitializer, entity: EntityState, newId: RuntimeId): void;
|
|
11
|
-
static changeRealmId(treeStore: TreeStore, eventManager: EventManager, stateInitializer: StateInitializer, realm: EntityRealmState | EntityRealmStateStub, newId: RuntimeId): void;
|
|
12
|
-
static purgeStaleListenersAfterIdChange(realm: EntityRealmState): void;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=OperationsHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OperationsHelpers.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/OperationsHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AACnF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAE7C,qBAAa,iBAAiB;WACf,yBAAyB,IAAI,KAAK;WAMlC,gCAAgC,CAC7C,SAAS,EAAE,SAAS,EACpB,eAAe,EAAE,cAAc,GAC7B,gBAAgB,GAAG,oBAAoB;WA8B5B,cAAc,CAC3B,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,WAAW,EACnB,KAAK,EAAE,SAAS;WAoBH,aAAa,CAC1B,SAAS,EAAE,SAAS,EACpB,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,KAAK,EAAE,gBAAgB,GAAG,oBAAoB,EAC9C,KAAK,EAAE,SAAS;WAoDH,gCAAgC,CAAC,KAAK,EAAE,gBAAgB;CAoBtE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/operations/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MutationAlias.d.ts","sourceRoot":"","sources":["../../../../src/core/requestAliases/MutationAlias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAE1D,qBAAa,aAAa;WACX,cAAc,CAAC,QAAQ,EAAE,SAAS,GAAG,MAAM;WAI3C,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC;CAK/D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/requestAliases/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { EntityListAccessor, ErrorAccessor } from '@contember/binding-common';
|
|
2
|
-
import type { EntityListSubTreeMarker, HasManyRelationMarker } from '@contember/binding-common';
|
|
3
|
-
import type { EntityEventListenerStore, EntityId, EntityListEventListenerStore, EntityName, RemovalType } from '@contember/binding-common';
|
|
4
|
-
import type { BijectiveIndexedMap } from '@contember/utilities';
|
|
5
|
-
import type { EntityRealmState, EntityRealmStateStub } from './EntityRealmState';
|
|
6
|
-
export type EntityListBlueprint = {
|
|
7
|
-
readonly type: 'hasMany';
|
|
8
|
-
readonly marker: HasManyRelationMarker;
|
|
9
|
-
readonly parent: EntityRealmState;
|
|
10
|
-
} | {
|
|
11
|
-
readonly type: 'subTree';
|
|
12
|
-
readonly marker: EntityListSubTreeMarker;
|
|
13
|
-
readonly parent: undefined;
|
|
14
|
-
};
|
|
15
|
-
export interface EntityListState {
|
|
16
|
-
type: 'entityList';
|
|
17
|
-
accessor: EntityListAccessor | undefined;
|
|
18
|
-
blueprint: EntityListBlueprint;
|
|
19
|
-
children: BijectiveIndexedMap<EntityId, EntityRealmState | EntityRealmStateStub>;
|
|
20
|
-
childrenWithPendingUpdates: Set<EntityRealmState> | undefined;
|
|
21
|
-
entityName: EntityName;
|
|
22
|
-
errors: ErrorAccessor | undefined;
|
|
23
|
-
eventListeners: EntityListEventListenerStore | undefined;
|
|
24
|
-
childEventListeners: EntityEventListenerStore | undefined;
|
|
25
|
-
readonly getAccessor: () => EntityListAccessor;
|
|
26
|
-
plannedRemovals: Map<EntityId, RemovalType> | undefined;
|
|
27
|
-
unpersistedChangesCount: number;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=EntityListState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EntityListState.d.ts","sourceRoot":"","sources":["../../../../src/core/state/EntityListState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAClF,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAA;AAC/F,OAAO,KAAK,EACX,wBAAwB,EACxB,QAAQ,EACR,4BAA4B,EAC5B,UAAU,EACV,WAAW,EACX,MAAM,2BAA2B,CAAA;AAClC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAEhF,MAAM,MAAM,mBAAmB,GAC5B;IACD,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;IACxB,QAAQ,CAAC,MAAM,EAAE,qBAAqB,CAAA;IACtC,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAA;CAC/B,GACD;IACD,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAA;IACxB,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAA;IACxC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAA;CACxB,CAAA;AAEJ,MAAM,WAAW,eAAe;IAC/B,IAAI,EAAE,YAAY,CAAA;IAElB,QAAQ,EAAE,kBAAkB,GAAG,SAAS,CAAA;IACxC,SAAS,EAAE,mBAAmB,CAAA;IAC9B,QAAQ,EAAE,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,oBAAoB,CAAC,CAAA;IAChF,0BAA0B,EAAE,GAAG,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAA;IAC7D,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,aAAa,GAAG,SAAS,CAAA;IACjC,cAAc,EAAE,4BAA4B,GAAG,SAAS,CAAA;IACxD,mBAAmB,EAAE,wBAAwB,GAAG,SAAS,CAAA;IACzD,QAAQ,CAAC,WAAW,EAAE,MAAM,kBAAkB,CAAA;IAC9C,eAAe,EAAE,GAAG,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,SAAS,CAAA;IACvD,uBAAuB,EAAE,MAAM,CAAA;CAC/B"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { EntityAccessor, ErrorAccessor } from '@contember/binding-common';
|
|
2
|
-
import type { EntitySubTreeMarker, HasOneRelationMarker } from '@contember/binding-common';
|
|
3
|
-
import type { EntityEventListenerStore, EntityRealmKey, FieldName, PlaceholderName } from '@contember/binding-common';
|
|
4
|
-
import type { EntityListState } from './EntityListState';
|
|
5
|
-
import type { EntityState } from './EntityState';
|
|
6
|
-
import type { StateNode } from './StateNode';
|
|
7
|
-
export interface HasOneEntityRealmBlueprint {
|
|
8
|
-
readonly type: 'hasOne';
|
|
9
|
-
readonly marker: HasOneRelationMarker;
|
|
10
|
-
readonly parent: EntityRealmState;
|
|
11
|
-
}
|
|
12
|
-
export interface ListEntityEntityRealmBlueprint {
|
|
13
|
-
readonly type: 'listEntity';
|
|
14
|
-
readonly parent: EntityListState;
|
|
15
|
-
}
|
|
16
|
-
export interface SubTreeEntityRealmBlueprint {
|
|
17
|
-
readonly type: 'subTree';
|
|
18
|
-
readonly marker: EntitySubTreeMarker;
|
|
19
|
-
readonly parent: undefined;
|
|
20
|
-
}
|
|
21
|
-
export type EntityRealmBlueprint = HasOneEntityRealmBlueprint | ListEntityEntityRealmBlueprint | SubTreeEntityRealmBlueprint;
|
|
22
|
-
export interface EntityRealmStateStub {
|
|
23
|
-
readonly type: 'entityRealmStub';
|
|
24
|
-
readonly blueprint: EntityRealmBlueprint;
|
|
25
|
-
entity: EntityState;
|
|
26
|
-
realmKey: EntityRealmKey;
|
|
27
|
-
readonly getAccessor: EntityAccessor.GetEntityAccessor;
|
|
28
|
-
}
|
|
29
|
-
export interface EntityRealmState {
|
|
30
|
-
readonly type: 'entityRealm';
|
|
31
|
-
readonly blueprint: EntityRealmBlueprint;
|
|
32
|
-
entity: EntityState;
|
|
33
|
-
realmKey: EntityRealmKey;
|
|
34
|
-
accessor: EntityAccessor | undefined;
|
|
35
|
-
readonly children: Map<PlaceholderName, StateNode | EntityRealmStateStub>;
|
|
36
|
-
childrenWithPendingUpdates: Set<StateNode> | undefined;
|
|
37
|
-
errors: ErrorAccessor | undefined;
|
|
38
|
-
eventListeners: EntityEventListenerStore | undefined;
|
|
39
|
-
fieldsWithPendingConnectionUpdates: Set<FieldName> | undefined;
|
|
40
|
-
plannedHasOneDeletions: Map<PlaceholderName, EntityRealmState | EntityRealmStateStub> | undefined;
|
|
41
|
-
unpersistedChangesCount: number;
|
|
42
|
-
readonly getAccessor: EntityAccessor.GetEntityAccessor;
|
|
43
|
-
}
|
|
44
|
-
//# sourceMappingURL=EntityRealmState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EAAE,cAAc,CAAA;IAExB,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC,iBAAiB,CAAA;CACtD;AAMD,MAAM,WAAW,gBAAgB;IAChC,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAA;IAE5B,QAAQ,CAAC,SAAS,EAAE,oBAAoB,CAAA;IACxC,MAAM,EAAE,WAAW,CAAA;IACnB,QAAQ,EAAE,cAAc,CAAA;IAExB,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,QAAQ,CAAC,QAAQ,EAAE,GAAG,CAAC,eAAe,EAAE,SAAS,GAAG,oBAAoB,CAAC,CAAA;IACzE,0BAA0B,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,SAAS,CAAA;IACtD,MAAM,EAAE,aAAa,GAAG,SAAS,CAAA;IACjC,cAAc,EAAE,wBAAwB,GAAG,SAAS,CAAA;IACpD,kCAAkC,EAAE,GAAG,CAAC,SAAS,CAAC,GAAG,SAAS,CAAA;IAG9D,sBAAsB,EAAE,GAAG,CAAC,eAAe,EAAE,gBAAgB,GAAG,oBAAoB,CAAC,GAAG,SAAS,CAAA;IACjG,uBAAuB,EAAE,MAAM,CAAA;IAE/B,QAAQ,CAAC,WAAW,EAAE,cAAc,CAAC,iBAAiB,CAAA;CACtD"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { EntityName, EntityRealmKey, RuntimeId, UnpersistedEntityDummyId } from '@contember/binding-common';
|
|
2
|
-
import type { EntityRealmState, EntityRealmStateStub } from './EntityRealmState';
|
|
3
|
-
export interface EntityState {
|
|
4
|
-
entityName: EntityName;
|
|
5
|
-
hasIdSetInStone: boolean;
|
|
6
|
-
id: RuntimeId;
|
|
7
|
-
isScheduledForDeletion: boolean;
|
|
8
|
-
maidenId: UnpersistedEntityDummyId | undefined;
|
|
9
|
-
realms: Map<EntityRealmKey, EntityRealmState | EntityRealmStateStub>;
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=EntityState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EntityState.d.ts","sourceRoot":"","sources":["../../../../src/core/state/EntityState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAChH,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAEhF,MAAM,WAAW,WAAW;IAC3B,UAAU,EAAE,UAAU,CAAA;IACtB,eAAe,EAAE,OAAO,CAAA;IACxB,EAAE,EAAE,SAAS,CAAA;IACb,sBAAsB,EAAE,OAAO,CAAA;IAC/B,QAAQ,EAAE,wBAAwB,GAAG,SAAS,CAAA;IAC9C,MAAM,EAAE,GAAG,CAAC,cAAc,EAAE,gBAAgB,GAAG,oBAAoB,CAAC,CAAA;CACpE"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { ErrorAccessor, FieldAccessor } from '@contember/binding-common';
|
|
2
|
-
import type { FieldMarker } from '@contember/binding-common';
|
|
3
|
-
import type { FieldEventListenerStore, FieldName, FieldValue } from '@contember/binding-common';
|
|
4
|
-
import type { EntityRealmState } from './EntityRealmState';
|
|
5
|
-
export interface FieldState<Value extends FieldValue = FieldValue> {
|
|
6
|
-
type: 'field';
|
|
7
|
-
accessor: FieldAccessor<Value> | undefined;
|
|
8
|
-
errors: ErrorAccessor | undefined;
|
|
9
|
-
eventListeners: FieldEventListenerStore<Value> | undefined;
|
|
10
|
-
fieldMarker: FieldMarker;
|
|
11
|
-
readonly getAccessor: () => FieldAccessor;
|
|
12
|
-
hasUnpersistedChanges: boolean;
|
|
13
|
-
parent: EntityRealmState;
|
|
14
|
-
persistedValue: Value | undefined;
|
|
15
|
-
placeholderName: FieldName;
|
|
16
|
-
touchLog: Set<string> | undefined;
|
|
17
|
-
value: Value | null;
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=FieldState.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,2BAA2B,CAAA;AAC7E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AAC5D,OAAO,KAAK,EAAE,uBAAuB,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAC/F,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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { FieldValue, PlaceholderName } from '@contember/binding-common';
|
|
2
|
-
import type { TreeStore } from '../TreeStore';
|
|
3
|
-
import type { EntityListState } from './EntityListState';
|
|
4
|
-
import type { EntityRealmState } from './EntityRealmState';
|
|
5
|
-
import type { FieldState } from './FieldState';
|
|
6
|
-
import type { RootStateNode, StateINode, StateNode } from './StateNode';
|
|
7
|
-
export declare class StateIterator {
|
|
8
|
-
static eachSiblingRealm(state: EntityRealmState, relevantPlaceholder?: PlaceholderName): IterableIterator<EntityRealmState>;
|
|
9
|
-
static eachSiblingRealmChild<Value extends FieldValue, S extends EntityListState | FieldState<Value>>(treeStore: TreeStore, state: S & StateNode<Value>): IterableIterator<S>;
|
|
10
|
-
static depthFirstAllNodes(root: StateNode): IterableIterator<StateNode>;
|
|
11
|
-
static depthFirstINodes(root: StateINode, match?: (iNode: StateINode) => boolean): IterableIterator<StateINode>;
|
|
12
|
-
static eachRootState(treeStore: TreeStore): IterableIterator<[PlaceholderName, RootStateNode]>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=StateIterator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StateIterator.d.ts","sourceRoot":"","sources":["../../../../src/core/state/StateIterator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAE9C,OAAO,KAAK,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvE,qBAAa,aAAa;WACV,gBAAgB,CAC9B,KAAK,EAAE,gBAAgB,EACvB,mBAAmB,CAAC,EAAE,eAAe,GACnC,gBAAgB,CAAC,gBAAgB,CAAC;WAgBtB,qBAAqB,CAAC,KAAK,SAAS,UAAU,EAAE,CAAC,SAAS,eAAe,GAAG,UAAU,CAAC,KAAK,CAAC,EAC3G,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,GACzB,gBAAgB,CAAC,CAAC,CAAC;WAoCP,kBAAkB,CAAC,IAAI,EAAE,SAAS,GAAG,gBAAgB,CAAC,SAAS,CAAC;WA0BhE,gBAAgB,CAC9B,IAAI,EAAE,UAAU,EAChB,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,GACpC,gBAAgB,CAAC,UAAU,CAAC;WAkBhB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,gBAAgB,CAAC,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;CAKtG"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { EntityListState } from './EntityListState';
|
|
2
|
-
import type { EntityRealmState } from './EntityRealmState';
|
|
3
|
-
import type { FieldState } from './FieldState';
|
|
4
|
-
import type { FieldValue } from '@contember/binding-common';
|
|
5
|
-
export type RootStateNode = EntityRealmState | EntityListState;
|
|
6
|
-
export type StateINode = RootStateNode;
|
|
7
|
-
export type StateNode<Value extends FieldValue = any> = EntityRealmState | EntityListState | FieldState<Value>;
|
|
8
|
-
//# sourceMappingURL=StateNode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StateNode.d.ts","sourceRoot":"","sources":["../../../../src/core/state/StateNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAE3D,MAAM,MAAM,aAAa,GAAG,gBAAgB,GAAG,eAAe,CAAA;AAC9D,MAAM,MAAM,UAAU,GAAG,aAAa,CAAA;AACtC,MAAM,MAAM,SAAS,CAAC,KAAK,SAAS,UAAU,GAAG,GAAG,IAAI,gBAAgB,GAAG,eAAe,GAAG,UAAU,CAAC,KAAK,CAAC,CAAA"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { EntityRealmState, EntityRealmStateStub } from './EntityRealmState';
|
|
2
|
-
export declare const getEntityMarker: (realm: EntityRealmState | EntityRealmStateStub) => import("@contember/binding-common").HasOneRelationMarker | import("@contember/binding-common").EntitySubTreeMarker | import("@contember/binding-common").HasManyRelationMarker | import("@contember/binding-common").EntityListSubTreeMarker;
|
|
3
|
-
//# sourceMappingURL=getEntityMarker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getEntityMarker.d.ts","sourceRoot":"","sources":["../../../../src/core/state/getEntityMarker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAEhF,eAAO,MAAM,eAAe,GAAI,OAAO,gBAAgB,GAAG,oBAAoB,iPAC2B,CAAA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './EntityListState';
|
|
2
|
-
export * from './EntityRealmState';
|
|
3
|
-
export * from './EntityState';
|
|
4
|
-
export * from './FieldState';
|
|
5
|
-
export * from './getEntityMarker';
|
|
6
|
-
export * from './StateIterator';
|
|
7
|
-
export * from './StateNode';
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getCombinedSignal.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/getCombinedSignal.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,iBAAiB,GAAI,YAAY,QAAQ,CAAC,WAAW,GAAG,SAAS,CAAC,KAAG,WAkCjF,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { FieldValue } from '@contember/binding-common';
|
|
2
|
-
import { FieldAccessor } from '@contember/binding-common';
|
|
3
|
-
export declare class FieldHelper<Value extends FieldValue = FieldValue> {
|
|
4
|
-
protected readonly getAccessor: FieldAccessor.GetFieldAccessor<Value>;
|
|
5
|
-
constructor(field: FieldAccessor<Value> | FieldAccessor.GetFieldAccessor<Value>);
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=FieldHelper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FieldHelper.d.ts","sourceRoot":"","sources":["../../../../src/fieldHelpers/helpers/FieldHelper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,qBAAa,WAAW,CAAC,KAAK,SAAS,UAAU,GAAG,UAAU;IAC7D,SAAS,CAAC,QAAQ,CAAC,WAAW,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAA;gBAElD,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG,aAAa,CAAC,gBAAgB,CAAC,KAAK,CAAC;CAGtF"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FieldAccessor } from '@contember/binding-common';
|
|
2
|
-
import { FieldHelper } from './FieldHelper';
|
|
3
|
-
declare class TemporalFieldHelper extends FieldHelper<string> {
|
|
4
|
-
setToNow(options?: FieldAccessor.UpdateOptions): void;
|
|
5
|
-
}
|
|
6
|
-
declare namespace TemporalFieldHelper {
|
|
7
|
-
const setToNow: (field: FieldAccessor<string> | FieldAccessor.GetFieldAccessor<string>, options?: FieldAccessor.UpdateOptions) => void;
|
|
8
|
-
}
|
|
9
|
-
export { TemporalFieldHelper };
|
|
10
|
-
//# sourceMappingURL=TemporalFieldHelper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TemporalFieldHelper.d.ts","sourceRoot":"","sources":["../../../../src/fieldHelpers/helpers/TemporalFieldHelper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAE3C,cAAM,mBAAoB,SAAQ,WAAW,CAAC,MAAM,CAAC;IAC7C,QAAQ,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC,aAAa;CAOrD;AACD,kBAAU,mBAAmB,CAAC;IACtB,MAAM,QAAQ,GACpB,OAAO,aAAa,CAAC,MAAM,CAAC,GAAG,aAAa,CAAC,gBAAgB,CAAC,MAAM,CAAC,EACrE,UAAU,aAAa,CAAC,aAAa,SAGrC,CAAA;CACD;AACD,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|