joist-core 2.5.0-next.8 → 2.5.0-next.9
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/build/BaseEntity.cjs +2 -3
- package/build/BaseEntity.d.cts +2 -4
- package/build/BaseEntity.d.cts.map +1 -1
- package/build/BaseEntity.d.mts +2 -4
- package/build/BaseEntity.d.mts.map +1 -1
- package/build/BaseEntity.js +2 -3
- package/build/Entity.cjs +2 -3
- package/build/Entity.d.cts +0 -2
- package/build/Entity.d.cts.map +1 -1
- package/build/Entity.d.mts +0 -2
- package/build/Entity.d.mts.map +1 -1
- package/build/Entity.js +2 -3
- package/build/EntityFields.d.cts +0 -2
- package/build/EntityFields.d.cts.map +1 -1
- package/build/EntityFields.d.mts +0 -2
- package/build/EntityFields.d.mts.map +1 -1
- package/build/EntityManager.cjs +48 -49
- package/build/EntityManager.d.cts +32 -34
- package/build/EntityManager.d.cts.map +1 -1
- package/build/EntityManager.d.mts +32 -34
- package/build/EntityManager.d.mts.map +1 -1
- package/build/EntityManager.js +48 -49
- package/build/EntityMetadata.cjs +3 -4
- package/build/EntityMetadata.d.cts +4 -6
- package/build/EntityMetadata.d.cts.map +1 -1
- package/build/EntityMetadata.d.mts +4 -6
- package/build/EntityMetadata.d.mts.map +1 -1
- package/build/EntityMetadata.js +3 -4
- package/build/EnumMetadata.d.cts +0 -2
- package/build/EnumMetadata.d.cts.map +1 -1
- package/build/EnumMetadata.d.mts +0 -2
- package/build/EnumMetadata.d.mts.map +1 -1
- package/build/IndexManager.cjs +4 -5
- package/build/IndexManager.d.cts +1 -3
- package/build/IndexManager.d.cts.map +1 -1
- package/build/IndexManager.d.mts +1 -3
- package/build/IndexManager.d.mts.map +1 -1
- package/build/IndexManager.js +4 -5
- package/build/InstanceData.cjs +4 -5
- package/build/InstanceData.d.cts +3 -5
- package/build/InstanceData.d.cts.map +1 -1
- package/build/InstanceData.d.mts +3 -5
- package/build/InstanceData.d.mts.map +1 -1
- package/build/InstanceData.js +4 -5
- package/build/PluginManager.cjs +3 -4
- package/build/PluginManager.d.cts +3 -5
- package/build/PluginManager.d.cts.map +1 -1
- package/build/PluginManager.d.mts +3 -5
- package/build/PluginManager.d.mts.map +1 -1
- package/build/PluginManager.js +3 -4
- package/build/RowData.cjs +1 -2
- package/build/RowData.d.cts +0 -2
- package/build/RowData.d.cts.map +1 -1
- package/build/RowData.d.mts +0 -2
- package/build/RowData.d.mts.map +1 -1
- package/build/RowData.js +1 -2
- package/build/_virtual/_rolldown/runtime.cjs +1 -2
- package/build/batchloaders/BatchLoader.cjs +1 -2
- package/build/batchloaders/BatchLoader.d.cts +0 -2
- package/build/batchloaders/BatchLoader.d.cts.map +1 -1
- package/build/batchloaders/BatchLoader.d.mts +0 -2
- package/build/batchloaders/BatchLoader.d.mts.map +1 -1
- package/build/batchloaders/BatchLoader.js +1 -2
- package/build/batchloaders/enumCollectionBatchLoader.cjs +3 -4
- package/build/batchloaders/enumCollectionBatchLoader.d.cts +1 -3
- package/build/batchloaders/enumCollectionBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/enumCollectionBatchLoader.d.mts +1 -3
- package/build/batchloaders/enumCollectionBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/enumCollectionBatchLoader.js +3 -4
- package/build/batchloaders/loadBatchLoader.cjs +5 -6
- package/build/batchloaders/loadBatchLoader.d.cts +2 -4
- package/build/batchloaders/loadBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/loadBatchLoader.d.mts +2 -4
- package/build/batchloaders/loadBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/loadBatchLoader.js +5 -6
- package/build/batchloaders/manyToManyBatchLoader.cjs +4 -5
- package/build/batchloaders/manyToManyBatchLoader.d.cts +1 -3
- package/build/batchloaders/manyToManyBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/manyToManyBatchLoader.d.mts +1 -3
- package/build/batchloaders/manyToManyBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/manyToManyBatchLoader.js +4 -5
- package/build/batchloaders/oneToManyBatchLoader.cjs +4 -5
- package/build/batchloaders/oneToManyBatchLoader.d.cts +2 -4
- package/build/batchloaders/oneToManyBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/oneToManyBatchLoader.d.mts +2 -4
- package/build/batchloaders/oneToManyBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/oneToManyBatchLoader.js +4 -5
- package/build/batchloaders/oneToOneBatchLoader.cjs +6 -7
- package/build/batchloaders/oneToOneBatchLoader.d.cts +2 -4
- package/build/batchloaders/oneToOneBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/oneToOneBatchLoader.d.mts +2 -4
- package/build/batchloaders/oneToOneBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/oneToOneBatchLoader.js +6 -7
- package/build/batchloaders/populateBatchLoader.cjs +11 -12
- package/build/batchloaders/populateBatchLoader.d.cts +2 -4
- package/build/batchloaders/populateBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/populateBatchLoader.d.mts +2 -4
- package/build/batchloaders/populateBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/populateBatchLoader.js +11 -12
- package/build/batchloaders/recursiveChildrenBatchLoader.cjs +6 -7
- package/build/batchloaders/recursiveChildrenBatchLoader.d.cts +2 -4
- package/build/batchloaders/recursiveChildrenBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/recursiveChildrenBatchLoader.d.mts +2 -4
- package/build/batchloaders/recursiveChildrenBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/recursiveChildrenBatchLoader.js +6 -7
- package/build/batchloaders/recursiveM2mBatchLoader.cjs +5 -6
- package/build/batchloaders/recursiveM2mBatchLoader.d.cts +2 -4
- package/build/batchloaders/recursiveM2mBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/recursiveM2mBatchLoader.d.mts +2 -4
- package/build/batchloaders/recursiveM2mBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/recursiveM2mBatchLoader.js +5 -6
- package/build/batchloaders/recursiveParentsBatchLoader.cjs +6 -7
- package/build/batchloaders/recursiveParentsBatchLoader.d.cts +2 -4
- package/build/batchloaders/recursiveParentsBatchLoader.d.cts.map +1 -1
- package/build/batchloaders/recursiveParentsBatchLoader.d.mts +2 -4
- package/build/batchloaders/recursiveParentsBatchLoader.d.mts.map +1 -1
- package/build/batchloaders/recursiveParentsBatchLoader.js +6 -7
- package/build/changes.cjs +7 -8
- package/build/changes.d.cts +3 -5
- package/build/changes.d.cts.map +1 -1
- package/build/changes.d.mts +3 -5
- package/build/changes.d.mts.map +1 -1
- package/build/changes.js +7 -8
- package/build/config.cjs +9 -10
- package/build/config.d.cts +6 -8
- package/build/config.d.cts.map +1 -1
- package/build/config.d.mts +6 -8
- package/build/config.d.mts.map +1 -1
- package/build/config.js +9 -10
- package/build/configure.cjs +11 -12
- package/build/configure.d.cts +3 -5
- package/build/configure.d.cts.map +1 -1
- package/build/configure.d.mts +3 -5
- package/build/configure.d.mts.map +1 -1
- package/build/configure.js +11 -12
- package/build/dataloaders/buildCandidateBatchQuery.cjs +4 -5
- package/build/dataloaders/buildCandidateBatchQuery.d.cts +0 -2
- package/build/dataloaders/buildCandidateBatchQuery.d.cts.map +1 -1
- package/build/dataloaders/buildCandidateBatchQuery.d.mts +0 -2
- package/build/dataloaders/buildCandidateBatchQuery.d.mts.map +1 -1
- package/build/dataloaders/buildCandidateBatchQuery.js +4 -5
- package/build/dataloaders/collectFindArguments.cjs +1 -2
- package/build/dataloaders/collectFindArguments.d.cts +1 -3
- package/build/dataloaders/collectFindArguments.d.cts.map +1 -1
- package/build/dataloaders/collectFindArguments.d.mts +1 -3
- package/build/dataloaders/collectFindArguments.d.mts.map +1 -1
- package/build/dataloaders/collectFindArguments.js +1 -2
- package/build/dataloaders/fastWhereFilterHash.cjs +3 -4
- package/build/dataloaders/fastWhereFilterHash.d.cts +0 -2
- package/build/dataloaders/fastWhereFilterHash.d.cts.map +1 -1
- package/build/dataloaders/fastWhereFilterHash.d.mts +0 -2
- package/build/dataloaders/fastWhereFilterHash.d.mts.map +1 -1
- package/build/dataloaders/fastWhereFilterHash.js +3 -4
- package/build/dataloaders/findByUniqueDataLoader.cjs +2 -3
- package/build/dataloaders/findByUniqueDataLoader.d.cts +2 -4
- package/build/dataloaders/findByUniqueDataLoader.d.cts.map +1 -1
- package/build/dataloaders/findByUniqueDataLoader.d.mts +2 -4
- package/build/dataloaders/findByUniqueDataLoader.d.mts.map +1 -1
- package/build/dataloaders/findByUniqueDataLoader.js +2 -3
- package/build/dataloaders/findCountDataLoader.cjs +8 -9
- package/build/dataloaders/findCountDataLoader.d.cts +3 -5
- package/build/dataloaders/findCountDataLoader.d.cts.map +1 -1
- package/build/dataloaders/findCountDataLoader.d.mts +3 -5
- package/build/dataloaders/findCountDataLoader.d.mts.map +1 -1
- package/build/dataloaders/findCountDataLoader.js +8 -9
- package/build/dataloaders/findDataLoader.cjs +12 -13
- package/build/dataloaders/findDataLoader.d.cts +5 -7
- package/build/dataloaders/findDataLoader.d.cts.map +1 -1
- package/build/dataloaders/findDataLoader.d.mts +5 -7
- package/build/dataloaders/findDataLoader.d.mts.map +1 -1
- package/build/dataloaders/findDataLoader.js +12 -13
- package/build/dataloaders/findIdsDataLoader.cjs +6 -7
- package/build/dataloaders/findIdsDataLoader.d.cts +2 -4
- package/build/dataloaders/findIdsDataLoader.d.cts.map +1 -1
- package/build/dataloaders/findIdsDataLoader.d.mts +2 -4
- package/build/dataloaders/findIdsDataLoader.d.mts.map +1 -1
- package/build/dataloaders/findIdsDataLoader.js +6 -7
- package/build/dataloaders/findOrCreateDataLoader.cjs +7 -8
- package/build/dataloaders/findOrCreateDataLoader.d.cts +2 -4
- package/build/dataloaders/findOrCreateDataLoader.d.cts.map +1 -1
- package/build/dataloaders/findOrCreateDataLoader.d.mts +2 -4
- package/build/dataloaders/findOrCreateDataLoader.d.mts.map +1 -1
- package/build/dataloaders/findOrCreateDataLoader.js +7 -8
- package/build/dataloaders/findPaginatedDataLoader.cjs +6 -7
- package/build/dataloaders/findPaginatedDataLoader.d.cts +3 -5
- package/build/dataloaders/findPaginatedDataLoader.d.cts.map +1 -1
- package/build/dataloaders/findPaginatedDataLoader.d.mts +3 -5
- package/build/dataloaders/findPaginatedDataLoader.d.mts.map +1 -1
- package/build/dataloaders/findPaginatedDataLoader.js +6 -7
- package/build/dataloaders/lensDataLoader.cjs +5 -6
- package/build/dataloaders/lensDataLoader.d.cts +1 -3
- package/build/dataloaders/lensDataLoader.d.cts.map +1 -1
- package/build/dataloaders/lensDataLoader.d.mts +1 -3
- package/build/dataloaders/lensDataLoader.d.mts.map +1 -1
- package/build/dataloaders/lensDataLoader.js +5 -6
- package/build/dataloaders/manyToManyFindDataLoader.cjs +1 -2
- package/build/dataloaders/manyToManyFindDataLoader.d.cts +2 -4
- package/build/dataloaders/manyToManyFindDataLoader.d.cts.map +1 -1
- package/build/dataloaders/manyToManyFindDataLoader.d.mts +2 -4
- package/build/dataloaders/manyToManyFindDataLoader.d.mts.map +1 -1
- package/build/dataloaders/manyToManyFindDataLoader.js +1 -2
- package/build/dataloaders/oneToManyFindDataLoader.cjs +1 -2
- package/build/dataloaders/oneToManyFindDataLoader.d.cts +2 -4
- package/build/dataloaders/oneToManyFindDataLoader.d.cts.map +1 -1
- package/build/dataloaders/oneToManyFindDataLoader.d.mts +2 -4
- package/build/dataloaders/oneToManyFindDataLoader.d.mts.map +1 -1
- package/build/dataloaders/oneToManyFindDataLoader.js +1 -2
- package/build/defaults.cjs +7 -8
- package/build/defaults.d.cts +2 -4
- package/build/defaults.d.cts.map +1 -1
- package/build/defaults.d.mts +2 -4
- package/build/defaults.d.mts.map +1 -1
- package/build/defaults.js +7 -8
- package/build/drivers/Driver.cjs +1 -1
- package/build/drivers/Driver.d.cts +2 -4
- package/build/drivers/Driver.d.cts.map +1 -1
- package/build/drivers/Driver.d.mts +2 -4
- package/build/drivers/Driver.d.mts.map +1 -1
- package/build/drivers/Driver.js +1 -1
- package/build/drivers/EntityWriter.cjs +6 -7
- package/build/drivers/EntityWriter.d.cts +1 -3
- package/build/drivers/EntityWriter.d.cts.map +1 -1
- package/build/drivers/EntityWriter.d.mts +1 -3
- package/build/drivers/EntityWriter.d.mts.map +1 -1
- package/build/drivers/EntityWriter.js +6 -7
- package/build/drivers/IdAssigner.cjs +2 -3
- package/build/drivers/IdAssigner.d.cts +0 -2
- package/build/drivers/IdAssigner.d.cts.map +1 -1
- package/build/drivers/IdAssigner.d.mts +0 -2
- package/build/drivers/IdAssigner.d.mts.map +1 -1
- package/build/drivers/IdAssigner.js +2 -3
- package/build/drivers/driverApi.cjs +4 -5
- package/build/drivers/driverApi.d.cts +2 -4
- package/build/drivers/driverApi.d.cts.map +1 -1
- package/build/drivers/driverApi.d.mts +2 -4
- package/build/drivers/driverApi.d.mts.map +1 -1
- package/build/drivers/driverApi.js +4 -5
- package/build/drivers/index.d.cts +1 -1
- package/build/drivers/index.d.mts +1 -1
- package/build/fields.cjs +6 -7
- package/build/fields.d.cts +0 -2
- package/build/fields.d.cts.map +1 -1
- package/build/fields.d.mts +0 -2
- package/build/fields.d.mts.map +1 -1
- package/build/fields.js +6 -7
- package/build/flush/FlushLock.cjs +1 -2
- package/build/flush/FlushLock.cjs.map +1 -1
- package/build/flush/FlushLock.d.cts +0 -2
- package/build/flush/FlushLock.d.cts.map +1 -1
- package/build/flush/FlushLock.d.mts +0 -2
- package/build/flush/FlushLock.d.mts.map +1 -1
- package/build/flush/FlushLock.js +1 -2
- package/build/flush/JoinRows.cjs +3 -4
- package/build/flush/JoinRows.d.cts +2 -4
- package/build/flush/JoinRows.d.cts.map +1 -1
- package/build/flush/JoinRows.d.mts +2 -4
- package/build/flush/JoinRows.d.mts.map +1 -1
- package/build/flush/JoinRows.js +3 -4
- package/build/flush/PendingChanges.d.cts +0 -2
- package/build/flush/PendingChanges.d.cts.map +1 -1
- package/build/flush/PendingChanges.d.mts +0 -2
- package/build/flush/PendingChanges.d.mts.map +1 -1
- package/build/flush/ReadDrift.cjs +6 -7
- package/build/flush/ReadDrift.d.cts +2 -4
- package/build/flush/ReadDrift.d.cts.map +1 -1
- package/build/flush/ReadDrift.d.mts +2 -4
- package/build/flush/ReadDrift.d.mts.map +1 -1
- package/build/flush/ReadDrift.js +6 -7
- package/build/flush/Todo.cjs +3 -4
- package/build/flush/Todo.d.cts +2 -4
- package/build/flush/Todo.d.cts.map +1 -1
- package/build/flush/Todo.d.mts +2 -4
- package/build/flush/Todo.d.mts.map +1 -1
- package/build/flush/Todo.js +3 -4
- package/build/getProperties.cjs +3 -4
- package/build/getProperties.d.cts +0 -2
- package/build/getProperties.d.cts.map +1 -1
- package/build/getProperties.d.mts +0 -2
- package/build/getProperties.d.mts.map +1 -1
- package/build/getProperties.js +3 -4
- package/build/index.cjs +54 -55
- package/build/index.d.cts +50 -52
- package/build/index.d.cts.map +1 -1
- package/build/index.d.mts +50 -52
- package/build/index.d.mts.map +1 -1
- package/build/index.js +54 -55
- package/build/json.cjs +8 -9
- package/build/json.d.cts +2 -4
- package/build/json.d.cts.map +1 -1
- package/build/json.d.mts +2 -4
- package/build/json.d.mts.map +1 -1
- package/build/json.js +8 -9
- package/build/k.cjs +1 -2
- package/build/k.js +1 -2
- package/build/keys.cjs +5 -6
- package/build/keys.d.cts +3 -5
- package/build/keys.d.cts.map +1 -1
- package/build/keys.d.mts +3 -5
- package/build/keys.d.mts.map +1 -1
- package/build/keys.js +5 -6
- package/build/loading/HintTree.cjs +1 -2
- package/build/loading/HintTree.d.cts +2 -4
- package/build/loading/HintTree.d.cts.map +1 -1
- package/build/loading/HintTree.d.mts +2 -4
- package/build/loading/HintTree.d.mts.map +1 -1
- package/build/loading/HintTree.js +1 -2
- package/build/loading/IsLoadedCache.cjs +1 -2
- package/build/loading/IsLoadedCache.d.cts +0 -2
- package/build/loading/IsLoadedCache.d.cts.map +1 -1
- package/build/loading/IsLoadedCache.d.mts +0 -2
- package/build/loading/IsLoadedCache.d.mts.map +1 -1
- package/build/loading/IsLoadedCache.js +1 -2
- package/build/loading/loadHints.cjs +1 -2
- package/build/loading/loadHints.d.cts +4 -6
- package/build/loading/loadHints.d.cts.map +1 -1
- package/build/loading/loadHints.d.mts +4 -6
- package/build/loading/loadHints.d.mts.map +1 -1
- package/build/loading/loadHints.js +1 -2
- package/build/loading/loadLens.cjs +6 -7
- package/build/loading/loadLens.d.cts +2 -4
- package/build/loading/loadLens.d.cts.map +1 -1
- package/build/loading/loadLens.d.mts +2 -4
- package/build/loading/loadLens.d.mts.map +1 -1
- package/build/loading/loadLens.js +6 -7
- package/build/loading/withLoaded.cjs +1 -2
- package/build/loading/withLoaded.d.cts +2 -4
- package/build/loading/withLoaded.d.cts.map +1 -1
- package/build/loading/withLoaded.d.mts +2 -4
- package/build/loading/withLoaded.d.mts.map +1 -1
- package/build/loading/withLoaded.js +1 -2
- package/build/logging/FactoryLogger.cjs +2 -3
- package/build/logging/FactoryLogger.d.cts +1 -3
- package/build/logging/FactoryLogger.d.cts.map +1 -1
- package/build/logging/FactoryLogger.d.mts +1 -3
- package/build/logging/FactoryLogger.d.mts.map +1 -1
- package/build/logging/FactoryLogger.js +2 -3
- package/build/logging/FieldLogger.cjs +1 -2
- package/build/logging/FieldLogger.d.cts +0 -2
- package/build/logging/FieldLogger.d.cts.map +1 -1
- package/build/logging/FieldLogger.d.mts +0 -2
- package/build/logging/FieldLogger.d.mts.map +1 -1
- package/build/logging/FieldLogger.js +1 -2
- package/build/logging/ReactionLogger.cjs +3 -4
- package/build/logging/ReactionLogger.d.cts +3 -5
- package/build/logging/ReactionLogger.d.cts.map +1 -1
- package/build/logging/ReactionLogger.d.mts +3 -5
- package/build/logging/ReactionLogger.d.mts.map +1 -1
- package/build/logging/ReactionLogger.js +3 -4
- package/build/metrics/EntityMetrics.cjs +1 -2
- package/build/metrics/EntityMetrics.d.cts +0 -2
- package/build/metrics/EntityMetrics.d.cts.map +1 -1
- package/build/metrics/EntityMetrics.d.mts +0 -2
- package/build/metrics/EntityMetrics.d.mts.map +1 -1
- package/build/metrics/EntityMetrics.js +1 -2
- package/build/newEntity.cjs +5 -6
- package/build/newEntity.d.cts +2 -4
- package/build/newEntity.d.cts.map +1 -1
- package/build/newEntity.d.mts +2 -4
- package/build/newEntity.d.mts.map +1 -1
- package/build/newEntity.js +5 -6
- package/build/newTestInstance.cjs +9 -10
- package/build/newTestInstance.d.cts +3 -5
- package/build/newTestInstance.d.cts.map +1 -1
- package/build/newTestInstance.d.mts +3 -5
- package/build/newTestInstance.d.mts.map +1 -1
- package/build/newTestInstance.js +9 -10
- package/build/normalizeHints.cjs +1 -2
- package/build/normalizeHints.d.cts +1 -3
- package/build/normalizeHints.d.cts.map +1 -1
- package/build/normalizeHints.d.mts +1 -3
- package/build/normalizeHints.d.mts.map +1 -1
- package/build/normalizeHints.js +1 -2
- package/build/nowUTC.cjs +1 -2
- package/build/nowUTC.d.cts +0 -2
- package/build/nowUTC.d.cts.map +1 -1
- package/build/nowUTC.d.mts +0 -2
- package/build/nowUTC.d.mts.map +1 -1
- package/build/nowUTC.js +1 -2
- package/build/plugins/ImmutableEntitiesPlugin.cjs +3 -4
- package/build/plugins/ImmutableEntitiesPlugin.d.cts +1 -3
- package/build/plugins/ImmutableEntitiesPlugin.d.cts.map +1 -1
- package/build/plugins/ImmutableEntitiesPlugin.d.mts +1 -3
- package/build/plugins/ImmutableEntitiesPlugin.d.mts.map +1 -1
- package/build/plugins/ImmutableEntitiesPlugin.js +3 -4
- package/build/plugins/PreloadPlugin.cjs +1 -1
- package/build/plugins/PreloadPlugin.d.cts +4 -6
- package/build/plugins/PreloadPlugin.d.cts.map +1 -1
- package/build/plugins/PreloadPlugin.d.mts +4 -6
- package/build/plugins/PreloadPlugin.d.mts.map +1 -1
- package/build/plugins/PreloadPlugin.js +1 -1
- package/build/preloading/JsonAggregatePreloader.cjs +9 -10
- package/build/preloading/JsonAggregatePreloader.d.cts +3 -5
- package/build/preloading/JsonAggregatePreloader.d.cts.map +1 -1
- package/build/preloading/JsonAggregatePreloader.d.mts +3 -5
- package/build/preloading/JsonAggregatePreloader.d.mts.map +1 -1
- package/build/preloading/JsonAggregatePreloader.js +9 -10
- package/build/preloading/canPreload.cjs +1 -2
- package/build/preloading/canPreload.d.cts +0 -2
- package/build/preloading/canPreload.d.cts.map +1 -1
- package/build/preloading/canPreload.d.mts +0 -2
- package/build/preloading/canPreload.d.mts.map +1 -1
- package/build/preloading/canPreload.js +1 -2
- package/build/preloading/partitionHint.cjs +4 -5
- package/build/preloading/partitionHint.d.cts +1 -3
- package/build/preloading/partitionHint.d.cts.map +1 -1
- package/build/preloading/partitionHint.d.mts +1 -3
- package/build/preloading/partitionHint.d.mts.map +1 -1
- package/build/preloading/partitionHint.js +4 -5
- package/build/queries/ConditionBuilder.cjs +2 -3
- package/build/queries/ConditionBuilder.d.cts +1 -3
- package/build/queries/ConditionBuilder.d.cts.map +1 -1
- package/build/queries/ConditionBuilder.d.mts +1 -3
- package/build/queries/ConditionBuilder.d.mts.map +1 -1
- package/build/queries/ConditionBuilder.js +2 -3
- package/build/queries/conditions.cjs +1 -2
- package/build/queries/conditions.d.cts +0 -2
- package/build/queries/conditions.d.cts.map +1 -1
- package/build/queries/conditions.d.mts +0 -2
- package/build/queries/conditions.d.mts.map +1 -1
- package/build/queries/conditions.js +1 -2
- package/build/queries/entityQueryUtils.cjs +2 -3
- package/build/queries/entityQueryUtils.d.cts +1 -3
- package/build/queries/entityQueryUtils.d.cts.map +1 -1
- package/build/queries/entityQueryUtils.d.mts +1 -3
- package/build/queries/entityQueryUtils.d.mts.map +1 -1
- package/build/queries/entityQueryUtils.js +2 -3
- package/build/queries/find/Aliases.cjs +4 -5
- package/build/queries/find/Aliases.d.cts +5 -7
- package/build/queries/find/Aliases.d.cts.map +1 -1
- package/build/queries/find/Aliases.d.mts +5 -7
- package/build/queries/find/Aliases.d.mts.map +1 -1
- package/build/queries/find/Aliases.js +4 -5
- package/build/queries/find/DeferredAlias.cjs +1 -2
- package/build/queries/find/DeferredAlias.d.cts +2 -4
- package/build/queries/find/DeferredAlias.d.cts.map +1 -1
- package/build/queries/find/DeferredAlias.d.mts +2 -4
- package/build/queries/find/DeferredAlias.d.mts.map +1 -1
- package/build/queries/find/DeferredAlias.js +1 -2
- package/build/queries/find/EntityFilter.cjs +1 -2
- package/build/queries/find/EntityFilter.d.cts +3 -5
- package/build/queries/find/EntityFilter.d.cts.map +1 -1
- package/build/queries/find/EntityFilter.d.mts +3 -5
- package/build/queries/find/EntityFilter.d.mts.map +1 -1
- package/build/queries/find/EntityFilter.js +1 -2
- package/build/queries/find/EntityGraphQLFilter.cjs +1 -2
- package/build/queries/find/EntityGraphQLFilter.d.cts +2 -4
- package/build/queries/find/EntityGraphQLFilter.d.cts.map +1 -1
- package/build/queries/find/EntityGraphQLFilter.d.mts +2 -4
- package/build/queries/find/EntityGraphQLFilter.d.mts.map +1 -1
- package/build/queries/find/EntityGraphQLFilter.js +1 -2
- package/build/queries/find/QueryParser.cjs +9 -10
- package/build/queries/find/QueryParser.collectionJoins.cjs +1 -2
- package/build/queries/find/QueryParser.collectionJoins.d.cts +0 -2
- package/build/queries/find/QueryParser.collectionJoins.d.cts.map +1 -1
- package/build/queries/find/QueryParser.collectionJoins.d.mts +0 -2
- package/build/queries/find/QueryParser.collectionJoins.d.mts.map +1 -1
- package/build/queries/find/QueryParser.collectionJoins.js +1 -2
- package/build/queries/find/QueryParser.d.cts +2 -4
- package/build/queries/find/QueryParser.d.cts.map +1 -1
- package/build/queries/find/QueryParser.d.mts +2 -4
- package/build/queries/find/QueryParser.d.mts.map +1 -1
- package/build/queries/find/QueryParser.js +9 -10
- package/build/queries/find/QueryParser.pruning.cjs +2 -3
- package/build/queries/find/QueryParser.pruning.d.cts +0 -2
- package/build/queries/find/QueryParser.pruning.d.cts.map +1 -1
- package/build/queries/find/QueryParser.pruning.d.mts +0 -2
- package/build/queries/find/QueryParser.pruning.d.mts.map +1 -1
- package/build/queries/find/QueryParser.pruning.js +2 -3
- package/build/queries/find/QueryVisitor.cjs +1 -2
- package/build/queries/find/QueryVisitor.d.cts +0 -2
- package/build/queries/find/QueryVisitor.d.cts.map +1 -1
- package/build/queries/find/QueryVisitor.d.mts +0 -2
- package/build/queries/find/QueryVisitor.d.mts.map +1 -1
- package/build/queries/find/QueryVisitor.js +1 -2
- package/build/queries/find/buildFindQuery.cjs +2 -3
- package/build/queries/find/buildFindQuery.d.cts +0 -2
- package/build/queries/find/buildFindQuery.d.cts.map +1 -1
- package/build/queries/find/buildFindQuery.d.mts +0 -2
- package/build/queries/find/buildFindQuery.d.mts.map +1 -1
- package/build/queries/find/buildFindQuery.js +2 -3
- package/build/queries/find/scopes.cjs +1 -2
- package/build/queries/find/scopes.d.cts +5 -7
- package/build/queries/find/scopes.d.cts.map +1 -1
- package/build/queries/find/scopes.d.mts +5 -7
- package/build/queries/find/scopes.d.mts.map +1 -1
- package/build/queries/find/scopes.js +1 -2
- package/build/queries/parsedConditions.cjs +1 -2
- package/build/queries/parsedConditions.d.cts +0 -2
- package/build/queries/parsedConditions.d.cts.map +1 -1
- package/build/queries/parsedConditions.d.mts +0 -2
- package/build/queries/parsedConditions.d.mts.map +1 -1
- package/build/queries/parsedConditions.js +1 -2
- package/build/queries/renderConditions.cjs +3 -4
- package/build/queries/renderConditions.d.cts +0 -2
- package/build/queries/renderConditions.d.cts.map +1 -1
- package/build/queries/renderConditions.d.mts +0 -2
- package/build/queries/renderConditions.d.mts.map +1 -1
- package/build/queries/renderConditions.js +3 -4
- package/build/queries/skipCondition.cjs +1 -2
- package/build/queries/skipCondition.d.cts +0 -2
- package/build/queries/skipCondition.d.cts.map +1 -1
- package/build/queries/skipCondition.d.mts +0 -2
- package/build/queries/skipCondition.d.mts.map +1 -1
- package/build/queries/skipCondition.js +1 -2
- package/build/queries/sql/AliasAssigner.cjs +1 -2
- package/build/queries/sql/AliasAssigner.d.cts +0 -2
- package/build/queries/sql/AliasAssigner.d.cts.map +1 -1
- package/build/queries/sql/AliasAssigner.d.mts +0 -2
- package/build/queries/sql/AliasAssigner.d.mts.map +1 -1
- package/build/queries/sql/AliasAssigner.js +1 -2
- package/build/queries/sql/Expr.cjs +3 -4
- package/build/queries/sql/Expr.d.cts +2 -4
- package/build/queries/sql/Expr.d.cts.map +1 -1
- package/build/queries/sql/Expr.d.mts +2 -4
- package/build/queries/sql/Expr.d.mts.map +1 -1
- package/build/queries/sql/Expr.js +3 -4
- package/build/queries/sql/JoinTree.cjs +3 -4
- package/build/queries/sql/JoinTree.d.cts +5 -7
- package/build/queries/sql/JoinTree.d.cts.map +1 -1
- package/build/queries/sql/JoinTree.d.mts +5 -7
- package/build/queries/sql/JoinTree.d.mts.map +1 -1
- package/build/queries/sql/JoinTree.js +3 -4
- package/build/queries/sql/Tables.cjs +8 -9
- package/build/queries/sql/Tables.d.cts +5 -7
- package/build/queries/sql/Tables.d.cts.map +1 -1
- package/build/queries/sql/Tables.d.mts +5 -7
- package/build/queries/sql/Tables.d.mts.map +1 -1
- package/build/queries/sql/Tables.js +8 -9
- package/build/queries/sql/custom.cjs +1 -2
- package/build/queries/sql/custom.d.cts +2 -4
- package/build/queries/sql/custom.d.cts.map +1 -1
- package/build/queries/sql/custom.d.mts +2 -4
- package/build/queries/sql/custom.d.mts.map +1 -1
- package/build/queries/sql/custom.js +1 -2
- package/build/queries/sql/execute.cjs +6 -7
- package/build/queries/sql/execute.d.cts +6 -8
- package/build/queries/sql/execute.d.cts.map +1 -1
- package/build/queries/sql/execute.d.mts +6 -8
- package/build/queries/sql/execute.d.mts.map +1 -1
- package/build/queries/sql/execute.js +6 -7
- package/build/queries/sql/expressions/arrayAgg.cjs +2 -3
- package/build/queries/sql/expressions/arrayAgg.d.cts +1 -3
- package/build/queries/sql/expressions/arrayAgg.d.cts.map +1 -1
- package/build/queries/sql/expressions/arrayAgg.d.mts +1 -3
- package/build/queries/sql/expressions/arrayAgg.d.mts.map +1 -1
- package/build/queries/sql/expressions/arrayAgg.js +2 -3
- package/build/queries/sql/expressions/case.cjs +2 -3
- package/build/queries/sql/expressions/case.d.cts +1 -3
- package/build/queries/sql/expressions/case.d.cts.map +1 -1
- package/build/queries/sql/expressions/case.d.mts +1 -3
- package/build/queries/sql/expressions/case.d.mts.map +1 -1
- package/build/queries/sql/expressions/case.js +2 -3
- package/build/queries/sql/expressions/coalesce.cjs +2 -3
- package/build/queries/sql/expressions/coalesce.d.cts +1 -3
- package/build/queries/sql/expressions/coalesce.d.cts.map +1 -1
- package/build/queries/sql/expressions/coalesce.d.mts +1 -3
- package/build/queries/sql/expressions/coalesce.d.mts.map +1 -1
- package/build/queries/sql/expressions/coalesce.js +2 -3
- package/build/queries/sql/expressions/codecs.cjs +2 -3
- package/build/queries/sql/expressions/codecs.d.cts +0 -2
- package/build/queries/sql/expressions/codecs.d.cts.map +1 -1
- package/build/queries/sql/expressions/codecs.d.mts +0 -2
- package/build/queries/sql/expressions/codecs.d.mts.map +1 -1
- package/build/queries/sql/expressions/codecs.js +2 -3
- package/build/queries/sql/expressions/expression.cjs +4 -5
- package/build/queries/sql/expressions/expression.d.cts +2 -4
- package/build/queries/sql/expressions/expression.d.cts.map +1 -1
- package/build/queries/sql/expressions/expression.d.mts +2 -4
- package/build/queries/sql/expressions/expression.d.mts.map +1 -1
- package/build/queries/sql/expressions/expression.js +4 -5
- package/build/queries/sql/expressions/greatest.cjs +2 -3
- package/build/queries/sql/expressions/greatest.d.cts +1 -3
- package/build/queries/sql/expressions/greatest.d.cts.map +1 -1
- package/build/queries/sql/expressions/greatest.d.mts +1 -3
- package/build/queries/sql/expressions/greatest.d.mts.map +1 -1
- package/build/queries/sql/expressions/greatest.js +2 -3
- package/build/queries/sql/expressions/least.cjs +2 -3
- package/build/queries/sql/expressions/least.d.cts +1 -3
- package/build/queries/sql/expressions/least.d.cts.map +1 -1
- package/build/queries/sql/expressions/least.d.mts +1 -3
- package/build/queries/sql/expressions/least.d.mts.map +1 -1
- package/build/queries/sql/expressions/least.js +2 -3
- package/build/queries/sql/expressions/nullIf.cjs +2 -3
- package/build/queries/sql/expressions/nullIf.d.cts +1 -3
- package/build/queries/sql/expressions/nullIf.d.cts.map +1 -1
- package/build/queries/sql/expressions/nullIf.d.mts +1 -3
- package/build/queries/sql/expressions/nullIf.d.mts.map +1 -1
- package/build/queries/sql/expressions/nullIf.js +2 -3
- package/build/queries/sql/expressions/parseExpression.cjs +3 -4
- package/build/queries/sql/expressions/parseExpression.d.cts +0 -2
- package/build/queries/sql/expressions/parseExpression.d.cts.map +1 -1
- package/build/queries/sql/expressions/parseExpression.d.mts +0 -2
- package/build/queries/sql/expressions/parseExpression.d.mts.map +1 -1
- package/build/queries/sql/expressions/parseExpression.js +3 -4
- package/build/queries/sql/expressions/types.d.cts +1 -3
- package/build/queries/sql/expressions/types.d.cts.map +1 -1
- package/build/queries/sql/expressions/types.d.mts +1 -3
- package/build/queries/sql/expressions/types.d.mts.map +1 -1
- package/build/queries/sql/keywords.cjs +1 -2
- package/build/queries/sql/keywords.d.cts +0 -2
- package/build/queries/sql/keywords.d.cts.map +1 -1
- package/build/queries/sql/keywords.d.mts +0 -2
- package/build/queries/sql/keywords.d.mts.map +1 -1
- package/build/queries/sql/keywords.js +1 -2
- package/build/queries/sql/query.cjs +9 -10
- package/build/queries/sql/query.d.cts +6 -8
- package/build/queries/sql/query.d.cts.map +1 -1
- package/build/queries/sql/query.d.mts +6 -8
- package/build/queries/sql/query.d.mts.map +1 -1
- package/build/queries/sql/query.js +9 -10
- package/build/queries/unnest.cjs +1 -2
- package/build/queries/unnest.d.cts +1 -3
- package/build/queries/unnest.d.cts.map +1 -1
- package/build/queries/unnest.d.mts +1 -3
- package/build/queries/unnest.d.mts.map +1 -1
- package/build/queries/unnest.js +1 -2
- package/build/queries/valueFilters.cjs +3 -4
- package/build/queries/valueFilters.d.cts +2 -4
- package/build/queries/valueFilters.d.cts.map +1 -1
- package/build/queries/valueFilters.d.mts +2 -4
- package/build/queries/valueFilters.d.mts.map +1 -1
- package/build/queries/valueFilters.js +3 -4
- package/build/reactivity/ReactionsManager.cjs +6 -7
- package/build/reactivity/ReactionsManager.d.cts +2 -4
- package/build/reactivity/ReactionsManager.d.cts.map +1 -1
- package/build/reactivity/ReactionsManager.d.mts +2 -4
- package/build/reactivity/ReactionsManager.d.mts.map +1 -1
- package/build/reactivity/ReactionsManager.js +6 -7
- package/build/reactivity/reactiveHints.cjs +8 -9
- package/build/reactivity/reactiveHints.d.cts +8 -10
- package/build/reactivity/reactiveHints.d.cts.map +1 -1
- package/build/reactivity/reactiveHints.d.mts +8 -10
- package/build/reactivity/reactiveHints.d.mts.map +1 -1
- package/build/reactivity/reactiveHints.js +8 -9
- package/build/relations/AbstractPropertyImpl.cjs +1 -2
- package/build/relations/AbstractPropertyImpl.d.cts +0 -2
- package/build/relations/AbstractPropertyImpl.d.cts.map +1 -1
- package/build/relations/AbstractPropertyImpl.d.mts +0 -2
- package/build/relations/AbstractPropertyImpl.d.mts.map +1 -1
- package/build/relations/AbstractPropertyImpl.js +1 -2
- package/build/relations/AbstractRelationImpl.cjs +1 -2
- package/build/relations/AbstractRelationImpl.d.cts +0 -2
- package/build/relations/AbstractRelationImpl.d.cts.map +1 -1
- package/build/relations/AbstractRelationImpl.d.mts +0 -2
- package/build/relations/AbstractRelationImpl.d.mts.map +1 -1
- package/build/relations/AbstractRelationImpl.js +1 -2
- package/build/relations/AsyncProperty.cjs +3 -4
- package/build/relations/AsyncProperty.d.cts +2 -4
- package/build/relations/AsyncProperty.d.cts.map +1 -1
- package/build/relations/AsyncProperty.d.mts +2 -4
- package/build/relations/AsyncProperty.d.mts.map +1 -1
- package/build/relations/AsyncProperty.js +3 -4
- package/build/relations/AsyncReactiveField.cjs +10 -11
- package/build/relations/AsyncReactiveField.d.cts +4 -6
- package/build/relations/AsyncReactiveField.d.cts.map +1 -1
- package/build/relations/AsyncReactiveField.d.mts +4 -6
- package/build/relations/AsyncReactiveField.d.mts.map +1 -1
- package/build/relations/AsyncReactiveField.js +10 -11
- package/build/relations/Collection.cjs +3 -4
- package/build/relations/Collection.d.cts +2 -4
- package/build/relations/Collection.d.cts.map +1 -1
- package/build/relations/Collection.d.mts +2 -4
- package/build/relations/Collection.d.mts.map +1 -1
- package/build/relations/Collection.js +3 -4
- package/build/relations/CustomCollection.cjs +5 -6
- package/build/relations/CustomCollection.d.cts +4 -6
- package/build/relations/CustomCollection.d.cts.map +1 -1
- package/build/relations/CustomCollection.d.mts +4 -6
- package/build/relations/CustomCollection.d.mts.map +1 -1
- package/build/relations/CustomCollection.js +5 -6
- package/build/relations/CustomReference.cjs +7 -8
- package/build/relations/CustomReference.d.cts +6 -8
- package/build/relations/CustomReference.d.cts.map +1 -1
- package/build/relations/CustomReference.d.mts +6 -8
- package/build/relations/CustomReference.d.mts.map +1 -1
- package/build/relations/CustomReference.js +7 -8
- package/build/relations/EnumCollection.cjs +4 -5
- package/build/relations/EnumCollection.d.cts +3 -5
- package/build/relations/EnumCollection.d.cts.map +1 -1
- package/build/relations/EnumCollection.d.mts +3 -5
- package/build/relations/EnumCollection.d.mts.map +1 -1
- package/build/relations/EnumCollection.js +4 -5
- package/build/relations/LargeCollection.cjs +2 -2
- package/build/relations/LargeCollection.d.cts +2 -4
- package/build/relations/LargeCollection.d.cts.map +1 -1
- package/build/relations/LargeCollection.d.mts +2 -4
- package/build/relations/LargeCollection.d.mts.map +1 -1
- package/build/relations/LargeCollection.js +2 -2
- package/build/relations/LazyField.cjs +9 -10
- package/build/relations/LazyField.d.cts +2 -4
- package/build/relations/LazyField.d.cts.map +1 -1
- package/build/relations/LazyField.d.mts +2 -4
- package/build/relations/LazyField.d.mts.map +1 -1
- package/build/relations/LazyField.js +9 -10
- package/build/relations/ManyToManyCollection.cjs +7 -8
- package/build/relations/ManyToManyCollection.d.cts +2 -4
- package/build/relations/ManyToManyCollection.d.cts.map +1 -1
- package/build/relations/ManyToManyCollection.d.mts +2 -4
- package/build/relations/ManyToManyCollection.d.mts.map +1 -1
- package/build/relations/ManyToManyCollection.js +7 -8
- package/build/relations/ManyToManyLargeCollection.cjs +8 -9
- package/build/relations/ManyToManyLargeCollection.d.cts +4 -6
- package/build/relations/ManyToManyLargeCollection.d.cts.map +1 -1
- package/build/relations/ManyToManyLargeCollection.d.mts +4 -6
- package/build/relations/ManyToManyLargeCollection.d.mts.map +1 -1
- package/build/relations/ManyToManyLargeCollection.js +8 -9
- package/build/relations/ManyToOneReference.cjs +11 -12
- package/build/relations/ManyToOneReference.d.cts +6 -8
- package/build/relations/ManyToOneReference.d.cts.map +1 -1
- package/build/relations/ManyToOneReference.d.mts +6 -8
- package/build/relations/ManyToOneReference.d.mts.map +1 -1
- package/build/relations/ManyToOneReference.js +11 -12
- package/build/relations/OneToManyCollection.cjs +7 -8
- package/build/relations/OneToManyCollection.d.cts +3 -5
- package/build/relations/OneToManyCollection.d.cts.map +1 -1
- package/build/relations/OneToManyCollection.d.mts +3 -5
- package/build/relations/OneToManyCollection.d.mts.map +1 -1
- package/build/relations/OneToManyCollection.js +7 -8
- package/build/relations/OneToManyLargeCollection.cjs +7 -8
- package/build/relations/OneToManyLargeCollection.d.cts +4 -6
- package/build/relations/OneToManyLargeCollection.d.cts.map +1 -1
- package/build/relations/OneToManyLargeCollection.d.mts +4 -6
- package/build/relations/OneToManyLargeCollection.d.mts.map +1 -1
- package/build/relations/OneToManyLargeCollection.js +7 -8
- package/build/relations/OneToOneReference.cjs +10 -11
- package/build/relations/OneToOneReference.d.cts +5 -7
- package/build/relations/OneToOneReference.d.cts.map +1 -1
- package/build/relations/OneToOneReference.d.mts +5 -7
- package/build/relations/OneToOneReference.d.mts.map +1 -1
- package/build/relations/OneToOneReference.js +10 -11
- package/build/relations/PolymorphicReference.cjs +12 -13
- package/build/relations/PolymorphicReference.d.cts +5 -7
- package/build/relations/PolymorphicReference.d.cts.map +1 -1
- package/build/relations/PolymorphicReference.d.mts +5 -7
- package/build/relations/PolymorphicReference.d.mts.map +1 -1
- package/build/relations/PolymorphicReference.js +12 -13
- package/build/relations/PropertySymbols.cjs +1 -2
- package/build/relations/PropertySymbols.d.cts +0 -2
- package/build/relations/PropertySymbols.d.cts.map +1 -1
- package/build/relations/PropertySymbols.d.mts +0 -2
- package/build/relations/PropertySymbols.d.mts.map +1 -1
- package/build/relations/PropertySymbols.js +1 -2
- package/build/relations/ReactiveField.cjs +9 -10
- package/build/relations/ReactiveField.d.cts +4 -6
- package/build/relations/ReactiveField.d.cts.map +1 -1
- package/build/relations/ReactiveField.d.mts +4 -6
- package/build/relations/ReactiveField.d.mts.map +1 -1
- package/build/relations/ReactiveField.js +9 -10
- package/build/relations/ReactiveGetter.cjs +2 -3
- package/build/relations/ReactiveGetter.d.cts +2 -4
- package/build/relations/ReactiveGetter.d.cts.map +1 -1
- package/build/relations/ReactiveGetter.d.mts +2 -4
- package/build/relations/ReactiveGetter.d.mts.map +1 -1
- package/build/relations/ReactiveGetter.js +2 -3
- package/build/relations/ReactiveManyToMany.cjs +5 -6
- package/build/relations/ReactiveManyToMany.d.cts +4 -6
- package/build/relations/ReactiveManyToMany.d.cts.map +1 -1
- package/build/relations/ReactiveManyToMany.d.mts +4 -6
- package/build/relations/ReactiveManyToMany.d.mts.map +1 -1
- package/build/relations/ReactiveManyToMany.js +5 -6
- package/build/relations/ReactiveManyToManyOtherSide.cjs +4 -5
- package/build/relations/ReactiveManyToManyOtherSide.d.cts +4 -6
- package/build/relations/ReactiveManyToManyOtherSide.d.cts.map +1 -1
- package/build/relations/ReactiveManyToManyOtherSide.d.mts +4 -6
- package/build/relations/ReactiveManyToManyOtherSide.d.mts.map +1 -1
- package/build/relations/ReactiveManyToManyOtherSide.js +4 -5
- package/build/relations/ReactiveReference.cjs +11 -12
- package/build/relations/ReactiveReference.d.cts +7 -9
- package/build/relations/ReactiveReference.d.cts.map +1 -1
- package/build/relations/ReactiveReference.d.mts +7 -9
- package/build/relations/ReactiveReference.d.mts.map +1 -1
- package/build/relations/ReactiveReference.js +11 -12
- package/build/relations/ReadOnlyCollection.cjs +3 -4
- package/build/relations/ReadOnlyCollection.d.cts +1 -3
- package/build/relations/ReadOnlyCollection.d.cts.map +1 -1
- package/build/relations/ReadOnlyCollection.d.mts +1 -3
- package/build/relations/ReadOnlyCollection.d.mts.map +1 -1
- package/build/relations/ReadOnlyCollection.js +3 -4
- package/build/relations/RecursiveCollection.cjs +5 -6
- package/build/relations/RecursiveCollection.d.cts +3 -5
- package/build/relations/RecursiveCollection.d.cts.map +1 -1
- package/build/relations/RecursiveCollection.d.mts +3 -5
- package/build/relations/RecursiveCollection.d.mts.map +1 -1
- package/build/relations/RecursiveCollection.js +5 -6
- package/build/relations/RecursiveCycleError.cjs +1 -2
- package/build/relations/RecursiveCycleError.d.cts +0 -2
- package/build/relations/RecursiveCycleError.d.cts.map +1 -1
- package/build/relations/RecursiveCycleError.d.mts +0 -2
- package/build/relations/RecursiveCycleError.d.mts.map +1 -1
- package/build/relations/RecursiveCycleError.js +1 -2
- package/build/relations/Reference.cjs +4 -5
- package/build/relations/Reference.d.cts +3 -5
- package/build/relations/Reference.d.cts.map +1 -1
- package/build/relations/Reference.d.mts +3 -5
- package/build/relations/Reference.d.mts.map +1 -1
- package/build/relations/Reference.js +4 -5
- package/build/relations/ReferenceSymbols.cjs +1 -2
- package/build/relations/ReferenceSymbols.d.cts +0 -2
- package/build/relations/ReferenceSymbols.d.cts.map +1 -1
- package/build/relations/ReferenceSymbols.d.mts +0 -2
- package/build/relations/ReferenceSymbols.d.mts.map +1 -1
- package/build/relations/ReferenceSymbols.js +1 -2
- package/build/relations/Relation.cjs +3 -4
- package/build/relations/Relation.d.cts +1 -3
- package/build/relations/Relation.d.cts.map +1 -1
- package/build/relations/Relation.d.mts +1 -3
- package/build/relations/Relation.d.mts.map +1 -1
- package/build/relations/Relation.js +3 -4
- package/build/relations/RelationSymbols.cjs +1 -2
- package/build/relations/RelationSymbols.d.cts +0 -2
- package/build/relations/RelationSymbols.d.cts.map +1 -1
- package/build/relations/RelationSymbols.d.mts +0 -2
- package/build/relations/RelationSymbols.d.mts.map +1 -1
- package/build/relations/RelationSymbols.js +1 -2
- package/build/relations/hasAsyncMethod.cjs +6 -7
- package/build/relations/hasAsyncMethod.d.cts +2 -4
- package/build/relations/hasAsyncMethod.d.cts.map +1 -1
- package/build/relations/hasAsyncMethod.d.mts +2 -4
- package/build/relations/hasAsyncMethod.d.mts.map +1 -1
- package/build/relations/hasAsyncMethod.js +6 -7
- package/build/relations/hasManyDerived.cjs +4 -5
- package/build/relations/hasManyDerived.d.cts +2 -4
- package/build/relations/hasManyDerived.d.cts.map +1 -1
- package/build/relations/hasManyDerived.d.mts +2 -4
- package/build/relations/hasManyDerived.d.mts.map +1 -1
- package/build/relations/hasManyDerived.js +4 -5
- package/build/relations/hasManyThrough.cjs +3 -4
- package/build/relations/hasManyThrough.d.cts +0 -2
- package/build/relations/hasManyThrough.d.cts.map +1 -1
- package/build/relations/hasManyThrough.d.mts +0 -2
- package/build/relations/hasManyThrough.d.mts.map +1 -1
- package/build/relations/hasManyThrough.js +3 -4
- package/build/relations/hasOneDerived.cjs +4 -5
- package/build/relations/hasOneDerived.d.cts +2 -4
- package/build/relations/hasOneDerived.d.cts.map +1 -1
- package/build/relations/hasOneDerived.d.mts +2 -4
- package/build/relations/hasOneDerived.d.mts.map +1 -1
- package/build/relations/hasOneDerived.js +4 -5
- package/build/relations/hasOneThrough.cjs +3 -4
- package/build/relations/hasOneThrough.d.cts +0 -2
- package/build/relations/hasOneThrough.d.cts.map +1 -1
- package/build/relations/hasOneThrough.d.mts +0 -2
- package/build/relations/hasOneThrough.d.mts.map +1 -1
- package/build/relations/hasOneThrough.js +3 -4
- package/build/relations/hasProperty.cjs +5 -6
- package/build/relations/hasProperty.d.cts +2 -4
- package/build/relations/hasProperty.d.cts.map +1 -1
- package/build/relations/hasProperty.d.mts +2 -4
- package/build/relations/hasProperty.d.mts.map +1 -1
- package/build/relations/hasProperty.js +5 -6
- package/build/relations/hasReactiveAsyncMethod.cjs +5 -6
- package/build/relations/hasReactiveAsyncMethod.d.cts +3 -5
- package/build/relations/hasReactiveAsyncMethod.d.cts.map +1 -1
- package/build/relations/hasReactiveAsyncMethod.d.mts +3 -5
- package/build/relations/hasReactiveAsyncMethod.d.mts.map +1 -1
- package/build/relations/hasReactiveAsyncMethod.js +5 -6
- package/build/relations/index.cjs +9 -9
- package/build/relations/index.d.cts +3 -3
- package/build/relations/index.d.mts +3 -3
- package/build/relations/index.js +9 -9
- package/build/relations/isCascadeDelete.cjs +1 -2
- package/build/relations/isCascadeDelete.d.cts +0 -2
- package/build/relations/isCascadeDelete.d.cts.map +1 -1
- package/build/relations/isCascadeDelete.d.mts +0 -2
- package/build/relations/isCascadeDelete.d.mts.map +1 -1
- package/build/relations/isCascadeDelete.js +1 -2
- package/build/resurrection.cjs +4 -5
- package/build/resurrection.d.cts +2 -4
- package/build/resurrection.d.cts.map +1 -1
- package/build/resurrection.d.mts +2 -4
- package/build/resurrection.d.mts.map +1 -1
- package/build/resurrection.js +4 -5
- package/build/rules.cjs +6 -7
- package/build/rules.d.cts +3 -5
- package/build/rules.d.cts.map +1 -1
- package/build/rules.d.mts +3 -5
- package/build/rules.d.mts.map +1 -1
- package/build/rules.js +6 -7
- package/build/runtimeConfig.cjs +1 -2
- package/build/runtimeConfig.d.cts +0 -2
- package/build/runtimeConfig.d.cts.map +1 -1
- package/build/runtimeConfig.d.mts +0 -2
- package/build/runtimeConfig.d.mts.map +1 -1
- package/build/runtimeConfig.js +1 -2
- package/build/serde/TypeInfo.cjs +1 -2
- package/build/serde/TypeInfo.d.cts +0 -2
- package/build/serde/TypeInfo.d.cts.map +1 -1
- package/build/serde/TypeInfo.d.mts +0 -2
- package/build/serde/TypeInfo.d.mts.map +1 -1
- package/build/serde/TypeInfo.js +1 -2
- package/build/serde/columns.cjs +1 -2
- package/build/serde/columns.d.cts +2 -4
- package/build/serde/columns.d.cts.map +1 -1
- package/build/serde/columns.d.mts +2 -4
- package/build/serde/columns.d.mts.map +1 -1
- package/build/serde/columns.js +1 -2
- package/build/serde/fieldSerde.cjs +4 -5
- package/build/serde/fieldSerde.d.cts +4 -6
- package/build/serde/fieldSerde.d.cts.map +1 -1
- package/build/serde/fieldSerde.d.mts +4 -6
- package/build/serde/fieldSerde.d.mts.map +1 -1
- package/build/serde/fieldSerde.js +4 -5
- package/build/serde/serde.cjs +4 -5
- package/build/serde/serde.cjs.map +1 -1
- package/build/serde/serde.d.cts +0 -2
- package/build/serde/serde.d.cts.map +1 -1
- package/build/serde/serde.d.mts +0 -2
- package/build/serde/serde.d.mts.map +1 -1
- package/build/serde/serde.js +4 -5
- package/build/serde/temporal.cjs +1 -2
- package/build/serde/temporal.cjs.map +1 -1
- package/build/serde/temporal.d.cts +0 -2
- package/build/serde/temporal.d.cts.map +1 -1
- package/build/serde/temporal.d.mts +0 -2
- package/build/serde/temporal.d.mts.map +1 -1
- package/build/serde/temporal.js +1 -2
- package/build/serde/temporalMappers.cjs +1 -2
- package/build/serde/temporalMappers.d.cts +1 -3
- package/build/serde/temporalMappers.d.cts.map +1 -1
- package/build/serde/temporalMappers.d.mts +1 -3
- package/build/serde/temporalMappers.d.mts.map +1 -1
- package/build/serde/temporalMappers.js +1 -2
- package/build/transitions.cjs +2 -3
- package/build/transitions.d.cts +3 -5
- package/build/transitions.d.cts.map +1 -1
- package/build/transitions.d.mts +3 -5
- package/build/transitions.d.mts.map +1 -1
- package/build/transitions.js +2 -3
- package/build/trusted.cjs +1 -2
- package/build/trusted.cjs.map +1 -1
- package/build/trusted.d.cts +0 -2
- package/build/trusted.d.cts.map +1 -1
- package/build/trusted.d.mts +0 -2
- package/build/trusted.d.mts.map +1 -1
- package/build/trusted.js +1 -2
- package/build/typeMap.cjs +1 -1
- package/build/typeMap.d.cts +1 -3
- package/build/typeMap.d.cts.map +1 -1
- package/build/typeMap.d.mts +1 -3
- package/build/typeMap.d.mts.map +1 -1
- package/build/typeMap.js +1 -1
- package/build/upsert.cjs +7 -8
- package/build/upsert.d.cts +3 -5
- package/build/upsert.d.cts.map +1 -1
- package/build/upsert.d.mts +3 -5
- package/build/upsert.d.mts.map +1 -1
- package/build/upsert.js +7 -8
- package/build/utils.cjs +3 -4
- package/build/utils.d.cts +2 -4
- package/build/utils.d.cts.map +1 -1
- package/build/utils.d.mts +2 -4
- package/build/utils.d.mts.map +1 -1
- package/build/utils.js +3 -4
- package/package.json +4 -4
package/build/EntityManager.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
+
import { getInstanceData } from "./BaseEntity.js";
|
|
1
2
|
import { BatchLoader } from "./batchloaders/BatchLoader.js";
|
|
2
|
-
import "./
|
|
3
|
-
import { newEntity } from "./newEntity.js";
|
|
3
|
+
import "./batchloaders/enumCollectionBatchLoader.js";
|
|
4
4
|
import { CustomCollection } from "./relations/CustomCollection.js";
|
|
5
5
|
import { CustomReference } from "./relations/CustomReference.js";
|
|
6
6
|
import { deepNormalizeHint } from "./normalizeHints.js";
|
|
7
|
+
import { loadBatchLoader } from "./batchloaders/loadBatchLoader.js";
|
|
8
|
+
import "./batchloaders/manyToManyBatchLoader.js";
|
|
9
|
+
import "./batchloaders/oneToManyBatchLoader.js";
|
|
10
|
+
import { RecursiveCycleError } from "./relations/RecursiveCycleError.js";
|
|
11
|
+
import "./batchloaders/oneToOneBatchLoader.js";
|
|
12
|
+
import { populateBatchLoader } from "./batchloaders/populateBatchLoader.js";
|
|
7
13
|
import "./batchloaders/recursiveChildrenBatchLoader.js";
|
|
8
14
|
import "./batchloaders/recursiveM2mBatchLoader.js";
|
|
9
15
|
import "./batchloaders/recursiveParentsBatchLoader.js";
|
|
10
|
-
import { RecursiveCycleError } from "./relations/RecursiveCycleError.js";
|
|
11
|
-
import "./relations/RecursiveCollection.js";
|
|
12
|
-
import { followReverseHint } from "./reactivity/reactiveHints.js";
|
|
13
|
-
import { assertLoaded, isLoadedForPopulate } from "./loading/loadHints.js";
|
|
14
|
-
import { AsyncMethodPopulateSecret } from "./relations/hasAsyncMethod.js";
|
|
15
|
-
import { AsyncPropertyImpl } from "./relations/AsyncProperty.js";
|
|
16
16
|
import { keyToNumber, keyToTaggedId, tagId, toTaggedId } from "./keys.js";
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
17
|
+
import { constraintNameToValidationError } from "./config.js";
|
|
18
|
+
import { getConstructorFromTag, getConstructorFromTaggedId, getMetadataForType } from "./configure.js";
|
|
19
19
|
import { isLoadedReference } from "./relations/Reference.js";
|
|
20
|
-
import "./
|
|
21
|
-
import "./
|
|
22
|
-
import {
|
|
20
|
+
import { findByUniqueDataLoader } from "./dataloaders/findByUniqueDataLoader.js";
|
|
21
|
+
import { findCountDataLoader, mergeCountOptions } from "./dataloaders/findCountDataLoader.js";
|
|
22
|
+
import { findDataLoader } from "./dataloaders/findDataLoader.js";
|
|
23
23
|
import { OneToManyCollection } from "./relations/OneToManyCollection.js";
|
|
24
24
|
import { ManyToOneReferenceImpl } from "./relations/ManyToOneReference.js";
|
|
25
|
-
import "./
|
|
25
|
+
import { findIdsDataLoader } from "./dataloaders/findIdsDataLoader.js";
|
|
26
26
|
import { ReactiveReferenceImpl } from "./relations/ReactiveReference.js";
|
|
27
27
|
import { OneToOneReferenceImpl } from "./relations/OneToOneReference.js";
|
|
28
28
|
import { PolymorphicReferenceImpl } from "./relations/PolymorphicReference.js";
|
|
29
|
-
import "./
|
|
30
|
-
import {
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
33
|
-
import "./
|
|
29
|
+
import { entityMatches, findOrCreateDataLoader } from "./dataloaders/findOrCreateDataLoader.js";
|
|
30
|
+
import { findPaginatedDataLoader } from "./dataloaders/findPaginatedDataLoader.js";
|
|
31
|
+
import "./dataloaders/lensDataLoader.js";
|
|
32
|
+
import { setAsyncDefaults, setSyncDefaults } from "./defaults.js";
|
|
33
|
+
import "./drivers/index.js";
|
|
34
34
|
import { ValidationErrors } from "./rules.js";
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
35
|
+
import { isEntity } from "./Entity.js";
|
|
36
|
+
import { getField, setField } from "./fields.js";
|
|
37
37
|
import { getBaseAndSelfMetas, getBaseMeta, getBaseSelfAndSubMetas, getMetadata } from "./EntityMetadata.js";
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import "./
|
|
38
|
+
import { FlushLock } from "./flush/FlushLock.js";
|
|
39
|
+
import { JoinRows } from "./flush/JoinRows.js";
|
|
40
|
+
import { checkReadDrift } from "./flush/ReadDrift.js";
|
|
41
41
|
import { loadLens } from "./loading/loadLens.js";
|
|
42
|
-
import "./
|
|
43
|
-
import {
|
|
42
|
+
import { Todo, combineJoinRows, createTodos, getTodo } from "./flush/Todo.js";
|
|
43
|
+
import { NoIdError, asConcreteCstr, getRelationEntries, getRelations, setOpts } from "./index.js";
|
|
44
44
|
import { mergeFindOptions } from "./queries/find/EntityFilter.js";
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
45
|
+
import { IndexManager } from "./IndexManager.js";
|
|
46
|
+
import { IsLoadedCache } from "./loading/IsLoadedCache.js";
|
|
47
47
|
import { optimizeCollectionJoins } from "./queries/find/QueryParser.collectionJoins.js";
|
|
48
|
-
import {
|
|
49
|
-
import
|
|
50
|
-
import "./drivers/index.js";
|
|
48
|
+
import { assertLoaded, isLoadedForPopulate } from "./loading/loadHints.js";
|
|
49
|
+
import "./logging/FactoryLogger.js";
|
|
51
50
|
import { FieldLogger, noopFieldLogger } from "./logging/FieldLogger.js";
|
|
52
51
|
import { ReactionLogger } from "./logging/ReactionLogger.js";
|
|
52
|
+
import { newEntity } from "./newEntity.js";
|
|
53
|
+
import { resetFactoryCreated } from "./newTestInstance.js";
|
|
54
|
+
import { PluginManager } from "./PluginManager.js";
|
|
53
55
|
import "./plugins/PreloadPlugin.js";
|
|
54
|
-
import {
|
|
55
|
-
import { upsert } from "./upsert.js";
|
|
56
|
-
import { NoIdError, asConcreteCstr, getRelationEntries, getRelations, setOpts } from "./index.js";
|
|
57
|
-
import "./batchloaders/enumCollectionBatchLoader.js";
|
|
58
|
-
import { loadBatchLoader } from "./batchloaders/loadBatchLoader.js";
|
|
59
|
-
import { populateBatchLoader } from "./batchloaders/populateBatchLoader.js";
|
|
60
|
-
import { findByUniqueDataLoader } from "./dataloaders/findByUniqueDataLoader.js";
|
|
61
|
-
import { findCountDataLoader, mergeCountOptions } from "./dataloaders/findCountDataLoader.js";
|
|
62
|
-
import { findIdsDataLoader } from "./dataloaders/findIdsDataLoader.js";
|
|
63
|
-
import { entityMatches, findOrCreateDataLoader } from "./dataloaders/findOrCreateDataLoader.js";
|
|
64
|
-
import { findPaginatedDataLoader } from "./dataloaders/findPaginatedDataLoader.js";
|
|
65
|
-
import { FlushLock } from "./flush/FlushLock.js";
|
|
66
|
-
import { IndexManager } from "./IndexManager.js";
|
|
67
|
-
import { IsLoadedCache } from "./loading/IsLoadedCache.js";
|
|
56
|
+
import { isSelectAllFilter } from "./queries/find/scopes.js";
|
|
68
57
|
import { decodeStatementResult, isMutation, parseStatement } from "./queries/sql/execute.js";
|
|
58
|
+
import { parseRootQuery } from "./queries/sql/query.js";
|
|
69
59
|
import { ReactionsManager } from "./reactivity/ReactionsManager.js";
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
60
|
+
import { followReverseHint } from "./reactivity/reactiveHints.js";
|
|
61
|
+
import { AsyncPropertyImpl } from "./relations/AsyncProperty.js";
|
|
62
|
+
import "./relations/Collection.js";
|
|
63
|
+
import { AsyncMethodPopulateSecret } from "./relations/hasAsyncMethod.js";
|
|
64
|
+
import "./relations/index.js";
|
|
65
|
+
import { LazyFieldImpl } from "./relations/LazyField.js";
|
|
66
|
+
import "./relations/RecursiveCollection.js";
|
|
67
|
+
import { PojoRowData } from "./RowData.js";
|
|
68
|
+
import { runInTrustedContext } from "./trusted.js";
|
|
69
|
+
import "./typeMap.js";
|
|
70
|
+
import { upsert } from "./upsert.js";
|
|
71
|
+
import { assertNever, fail, failIfAnyRejected, getOrSet, groupBy, hasAnyKey, partition, toArray } from "./utils.js";
|
|
72
72
|
import DataLoader from "dataloader";
|
|
73
|
-
|
|
73
|
+
// src/EntityManager.ts
|
|
74
74
|
Symbol.asyncDispose ??= Symbol("Symbol.asyncDispose");
|
|
75
75
|
function isId(value) {
|
|
76
76
|
return value && typeof value === "string";
|
|
@@ -1988,7 +1988,6 @@ function createRowFromEntityData(e, opts = {}) {
|
|
|
1988
1988
|
}
|
|
1989
1989
|
return row;
|
|
1990
1990
|
}
|
|
1991
|
-
//#endregion
|
|
1992
1991
|
export { EntityManager, FailedFlushError, NotFoundError, ReadOnlyError, TooManyError, appendStack, createRowFromEntityData, driverAfterBegin, driverAfterCommit, driverBeforeBegin, driverBeforeCommit, getDefaultEntityLimit, getEmInternalApi, invokeRule, isDefined, isId, isKey, resetDefaultEntityLimit, sameEntity, sameReference, setDefaultEntityLimit, setLastNow };
|
|
1993
1992
|
|
|
1994
1993
|
//# sourceMappingURL=EntityManager.js.map
|
package/build/EntityMetadata.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_BaseEntity = require("./BaseEntity.cjs");
|
|
2
3
|
const require_configure = require("./configure.cjs");
|
|
3
|
-
require("./EntityManager.cjs");
|
|
4
4
|
const require_Entity = require("./Entity.cjs");
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
require("./EntityManager.cjs");
|
|
6
|
+
// src/EntityMetadata.ts
|
|
7
7
|
function getMetadata(param) {
|
|
8
8
|
if (!param) throw new Error(`Cannot getMetadata of ${param}`);
|
|
9
9
|
return typeof param === "function" ? param.metadata : "cstr" in param ? param : require_BaseEntity.getInstanceData(param).metadata;
|
|
@@ -55,7 +55,6 @@ function getBaseMeta(meta) {
|
|
|
55
55
|
if (!meta.baseType) return meta;
|
|
56
56
|
else return meta.baseTypes[0];
|
|
57
57
|
}
|
|
58
|
-
//#endregion
|
|
59
58
|
exports.getBaseAndSelfMetas = getBaseAndSelfMetas;
|
|
60
59
|
exports.getBaseMeta = getBaseMeta;
|
|
61
60
|
exports.getBaseSelfAndSubMetas = getBaseSelfAndSubMetas;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
+
import { ConfigApi, Reactable, ReactiveRule } from "./config.cjs";
|
|
2
|
+
import { Entity } from "./Entity.cjs";
|
|
3
|
+
import { EntityManager, MaybeAbstractEntityConstructor, TimestampFields } from "./EntityManager.cjs";
|
|
1
4
|
import { EnumMetadata } from "./EnumMetadata.cjs";
|
|
2
5
|
import { DeepNew } from "./loading/loadHints.cjs";
|
|
3
6
|
import { SimpleRule } from "./rules.cjs";
|
|
4
|
-
import { FieldTransitions } from "./transitions.cjs";
|
|
5
|
-
import { ConfigApi, Reactable, ReactiveRule } from "./config.cjs";
|
|
6
7
|
import { Column, ColumnDescriptors } from "./serde/columns.cjs";
|
|
7
8
|
import { FieldSerde, PolymorphicKeySerde } from "./serde/fieldSerde.cjs";
|
|
8
|
-
import {
|
|
9
|
-
import { Entity } from "./Entity.cjs";
|
|
10
|
-
//#region src/EntityMetadata.d.ts
|
|
9
|
+
import { FieldTransitions } from "./transitions.cjs";
|
|
11
10
|
export declare function getMetadata<T extends Entity>(entity: T): EntityMetadata<T>;
|
|
12
11
|
export declare function getMetadata<T extends Entity>(type: MaybeAbstractEntityConstructor<T>): EntityMetadata<T>;
|
|
13
12
|
export declare function getMetadata<T extends Entity>(meta: EntityMetadata): EntityMetadata;
|
|
@@ -273,5 +272,4 @@ export declare function getBaseAndSelfMetas(entity: Entity): EntityMetadata[];
|
|
|
273
272
|
export declare function getBaseSelfAndSubMetas(meta: EntityMetadata): EntityMetadata[];
|
|
274
273
|
export declare function getSubMetas(meta: EntityMetadata): EntityMetadata[];
|
|
275
274
|
export declare function getBaseMeta(meta: EntityMetadata): EntityMetadata;
|
|
276
|
-
//#endregion
|
|
277
275
|
//# sourceMappingURL=EntityMetadata.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityMetadata.d.cts","names":[],"sources":["../src/EntityMetadata.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"EntityMetadata.d.cts","names":[],"sources":["../src/EntityMetadata.ts"],"mappings":";;;;;;;;;wBAYgB,YAAY,UAAU,QAAQ,QAAQ,IAAI,eAAe;wBACzD,YAAY,UAAU,QAAQ,MAAM,+BAA+B,KAAK,eAAe;wBACvF,YAAY,UAAU,QAAQ,MAAM,iBAAiB;;wBAWrD,oBAAoB,MAAM,gBAAgB,oBAAoB;;;;;;;;;;;iBAoB7D,eAAe,UAAU;EACxC,MAAM,+BAA+B;EACrC;;EAEA;;EAEA;EACA;;EAEA;;EAEA;EACA;;EAEA;;EAEA;;EAEA;EACA;EACA,QAAQ,eAAe;;EAEvB,SAAS;EACT,WAAW,eAAe;IAAU;IAAqB;;;EAEzD,sBAAsB,eAAe;IAAU;;EAE/C,QAAQ;;EAER,cAAc,oBAAoB;;EAElC,aAAa;;EAEb,oBAAoB,oBAAoB;;EAExC,8BAA8B;;EAE9B,qCAAqC,oBAAoB;;EAEzD,gBAAgB;;EAEhB,sBAAsB;;EAEtB,cAAc;;EAEd,oBAAoB;;EAEpB;;EAEA,iBAAiB;;EAEjB;;EAEA;EACA;;EAEA;EACA,iBAAiB;EAEjB,UAAU,IAAI,8BAA8B,eAAe,QAAQ;;EAEnE,WAAW;;EAEX,UAAU;;EAEV,gBAAgB;;EAEhB,sBAAsB;;EAEtB,iBAAiB,oBAAoB;;EAErC,qBAAqB,qBAAqB;;WAEjC,kBAAkB,SAAS;;WAE3B;;EAET;;EAEA;;YAGU,SACR,kBACA,iBACA,YACA,iBACA,sBACA,iBACA,kBACA,sBACA,gBACA;;EAGF;;YAIU,aAAa,kBAAkB,iBAAiB,YAAY,iBAAiB;YAE7E;EACV;EACA;EACA;EACA;EACA,OAAO;EACP;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf,OAAO;EACP;EACA;EACA;EACA;;EAEA;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA,gBAAgB;IAAoB;;;EAEpC,UAAU;EACV,OAAO;EACP;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA,qBAAqB;EACrB;;EAEA;EACA;EACA;EACA;IAAY;IAAe;;;EAE3B;;YAGU;EACV;EACA;EACA;EACA;EACA,qBAAqB;EACrB;;EAEA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA,qBAAqB;EACrB;EACA,OAAO;EACP;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA,qBAAqB;EACrB;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;;;;;;;;YAUU;EACV;EACA;EACA;EACA;EACA;;EAEA,gBAAgB;EAChB;EACA;EACA;;EAEA;;EAEA;;YAGU;EACV;EACA;EACA;EACA;EACA,qBAAqB;EACrB;;EAEA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA,YAAY;EACZ,OAAO;EACP;;YAGU;EACV,qBAAqB;EACrB;EACA;EACA,QAAQ;;wBAGM,iBAAiB,UAAU,QAAQ,YAAY;wBAI/C,iBAAiB,UAAU,QAAQ,YAAY;wBAI/C,kBAAkB,UAAU,QAAQ,YAAY;wBAIhD,sBAAsB,UAAU,QAAQ,YAAY;wBAIpD,gBAAgB,UAAU,QAAQ,YAAY;wBAI9C,mBAAmB,UAAU,QAAQ,YAAY;wBAIjD,iBAAiB,UAAU,QAAQ,YAAY,iBAAiB,gBAAgB;wBAIhF,kBAAkB,UAAU,QAAQ,YAAY,iBAAiB;wBAIjE,oBAAoB,MAAM,iBAAiB;wBAC3C,oBAAoB,QAAQ,SAAS;wBAOrC,uBAAuB,MAAM,iBAAiB;wBAI9C,YAAY,MAAM,iBAAiB;wBAKnC,YAAY,MAAM,iBAAiB"}
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
+
import { ConfigApi, Reactable, ReactiveRule } from "./config.mjs";
|
|
2
|
+
import { Entity } from "./Entity.mjs";
|
|
3
|
+
import { EntityManager, MaybeAbstractEntityConstructor, TimestampFields } from "./EntityManager.mjs";
|
|
1
4
|
import { EnumMetadata } from "./EnumMetadata.mjs";
|
|
2
5
|
import { DeepNew } from "./loading/loadHints.mjs";
|
|
3
6
|
import { SimpleRule } from "./rules.mjs";
|
|
4
|
-
import { FieldTransitions } from "./transitions.mjs";
|
|
5
|
-
import { ConfigApi, Reactable, ReactiveRule } from "./config.mjs";
|
|
6
7
|
import { Column, ColumnDescriptors } from "./serde/columns.mjs";
|
|
7
8
|
import { FieldSerde, PolymorphicKeySerde } from "./serde/fieldSerde.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { Entity } from "./Entity.mjs";
|
|
10
|
-
//#region src/EntityMetadata.d.ts
|
|
9
|
+
import { FieldTransitions } from "./transitions.mjs";
|
|
11
10
|
export declare function getMetadata<T extends Entity>(entity: T): EntityMetadata<T>;
|
|
12
11
|
export declare function getMetadata<T extends Entity>(type: MaybeAbstractEntityConstructor<T>): EntityMetadata<T>;
|
|
13
12
|
export declare function getMetadata<T extends Entity>(meta: EntityMetadata): EntityMetadata;
|
|
@@ -273,5 +272,4 @@ export declare function getBaseAndSelfMetas(entity: Entity): EntityMetadata[];
|
|
|
273
272
|
export declare function getBaseSelfAndSubMetas(meta: EntityMetadata): EntityMetadata[];
|
|
274
273
|
export declare function getSubMetas(meta: EntityMetadata): EntityMetadata[];
|
|
275
274
|
export declare function getBaseMeta(meta: EntityMetadata): EntityMetadata;
|
|
276
|
-
//#endregion
|
|
277
275
|
//# sourceMappingURL=EntityMetadata.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityMetadata.d.mts","names":[],"sources":["../src/EntityMetadata.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"EntityMetadata.d.mts","names":[],"sources":["../src/EntityMetadata.ts"],"mappings":";;;;;;;;;wBAYgB,YAAY,UAAU,QAAQ,QAAQ,IAAI,eAAe;wBACzD,YAAY,UAAU,QAAQ,MAAM,+BAA+B,KAAK,eAAe;wBACvF,YAAY,UAAU,QAAQ,MAAM,iBAAiB;;wBAWrD,oBAAoB,MAAM,gBAAgB,oBAAoB;;;;;;;;;;;iBAoB7D,eAAe,UAAU;EACxC,MAAM,+BAA+B;EACrC;;EAEA;;EAEA;EACA;;EAEA;;EAEA;EACA;;EAEA;;EAEA;;EAEA;EACA;EACA,QAAQ,eAAe;;EAEvB,SAAS;EACT,WAAW,eAAe;IAAU;IAAqB;;;EAEzD,sBAAsB,eAAe;IAAU;;EAE/C,QAAQ;;EAER,cAAc,oBAAoB;;EAElC,aAAa;;EAEb,oBAAoB,oBAAoB;;EAExC,8BAA8B;;EAE9B,qCAAqC,oBAAoB;;EAEzD,gBAAgB;;EAEhB,sBAAsB;;EAEtB,cAAc;;EAEd,oBAAoB;;EAEpB;;EAEA,iBAAiB;;EAEjB;;EAEA;EACA;;EAEA;EACA,iBAAiB;EAEjB,UAAU,IAAI,8BAA8B,eAAe,QAAQ;;EAEnE,WAAW;;EAEX,UAAU;;EAEV,gBAAgB;;EAEhB,sBAAsB;;EAEtB,iBAAiB,oBAAoB;;EAErC,qBAAqB,qBAAqB;;WAEjC,kBAAkB,SAAS;;WAE3B;;EAET;;EAEA;;YAGU,SACR,kBACA,iBACA,YACA,iBACA,sBACA,iBACA,kBACA,sBACA,gBACA;;EAGF;;YAIU,aAAa,kBAAkB,iBAAiB,YAAY,iBAAiB;YAE7E;EACV;EACA;EACA;EACA;EACA,OAAO;EACP;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA;EACA,eAAe;EACf,OAAO;EACP;EACA;EACA;EACA;;EAEA;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA,gBAAgB;IAAoB;;;EAEpC,UAAU;EACV,OAAO;EACP;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA,qBAAqB;EACrB;;EAEA;EACA;EACA;EACA;IAAY;IAAe;;;EAE3B;;YAGU;EACV;EACA;EACA;EACA;EACA,qBAAqB;EACrB;;EAEA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA,qBAAqB;EACrB;EACA,OAAO;EACP;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA;EACA,qBAAqB;EACrB;EACA;EACA;EACA;EACA;;EAEA;;EAEA;;;;;;;;;YAUU;EACV;EACA;EACA;EACA;EACA;;EAEA,gBAAgB;EAChB;EACA;EACA;;EAEA;;EAEA;;YAGU;EACV;EACA;EACA;EACA;EACA,qBAAqB;EACrB;;EAEA;EACA;EACA;;YAGU;EACV;EACA;EACA;EACA;EACA,YAAY;EACZ,OAAO;EACP;;YAGU;EACV,qBAAqB;EACrB;EACA;EACA,QAAQ;;wBAGM,iBAAiB,UAAU,QAAQ,YAAY;wBAI/C,iBAAiB,UAAU,QAAQ,YAAY;wBAI/C,kBAAkB,UAAU,QAAQ,YAAY;wBAIhD,sBAAsB,UAAU,QAAQ,YAAY;wBAIpD,gBAAgB,UAAU,QAAQ,YAAY;wBAI9C,mBAAmB,UAAU,QAAQ,YAAY;wBAIjD,iBAAiB,UAAU,QAAQ,YAAY,iBAAiB,gBAAgB;wBAIhF,kBAAkB,UAAU,QAAQ,YAAY,iBAAiB;wBAIjE,oBAAoB,MAAM,iBAAiB;wBAC3C,oBAAoB,QAAQ,SAAS;wBAOrC,uBAAuB,MAAM,iBAAiB;wBAI9C,YAAY,MAAM,iBAAiB;wBAKnC,YAAY,MAAM,iBAAiB"}
|
package/build/EntityMetadata.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { getInstanceData } from "./BaseEntity.js";
|
|
1
2
|
import { getMetadataForType } from "./configure.js";
|
|
2
|
-
import "./EntityManager.js";
|
|
3
3
|
import { isEntity } from "./Entity.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
4
|
+
import "./EntityManager.js";
|
|
5
|
+
// src/EntityMetadata.ts
|
|
6
6
|
function getMetadata(param) {
|
|
7
7
|
if (!param) throw new Error(`Cannot getMetadata of ${param}`);
|
|
8
8
|
return typeof param === "function" ? param.metadata : "cstr" in param ? param : getInstanceData(param).metadata;
|
|
@@ -54,7 +54,6 @@ function getBaseMeta(meta) {
|
|
|
54
54
|
if (!meta.baseType) return meta;
|
|
55
55
|
else return meta.baseTypes[0];
|
|
56
56
|
}
|
|
57
|
-
//#endregion
|
|
58
57
|
export { getBaseAndSelfMetas, getBaseMeta, getBaseSelfAndSubMetas, getMetadata, getMetadataForField, getSubMetas, isCollectionField, isManyToManyEnumField, isManyToManyField, isManyToOneField, isOneToManyField, isOneToOneField, isPolymorphicField, isReferenceField };
|
|
59
58
|
|
|
60
59
|
//# sourceMappingURL=EntityMetadata.js.map
|
package/build/EnumMetadata.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/EnumMetadata.d.ts
|
|
2
1
|
export interface EnumMetadata<C, D, I extends number | string = number | string> {
|
|
3
2
|
/** Returns the enum type's name, i.e. `AuthorStatus`. */
|
|
4
3
|
name: string;
|
|
@@ -13,5 +12,4 @@ export interface EnumMetadata<C, D, I extends number | string = number | string>
|
|
|
13
12
|
/** Returns all the details. */
|
|
14
13
|
getDetails(): ReadonlyArray<D>;
|
|
15
14
|
}
|
|
16
|
-
//#endregion
|
|
17
15
|
//# sourceMappingURL=EnumMetadata.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumMetadata.d.cts","names":[],"sources":["../src/EnumMetadata.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnumMetadata.d.cts","names":[],"sources":["../src/EnumMetadata.ts"],"mappings":"A,iBAAiB,aAAa,GAAG,GAAG;;EAElC;;EAGA,UAAU,MAAM,IAAI;;EAGpB,WAAW,eAAe;;EAG1B,SAAS,IAAI,IAAI;;EAGjB,aAAa,cAAc;;EAG3B,cAAc,cAAc"}
|
package/build/EnumMetadata.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/EnumMetadata.d.ts
|
|
2
1
|
export interface EnumMetadata<C, D, I extends number | string = number | string> {
|
|
3
2
|
/** Returns the enum type's name, i.e. `AuthorStatus`. */
|
|
4
3
|
name: string;
|
|
@@ -13,5 +12,4 @@ export interface EnumMetadata<C, D, I extends number | string = number | string>
|
|
|
13
12
|
/** Returns all the details. */
|
|
14
13
|
getDetails(): ReadonlyArray<D>;
|
|
15
14
|
}
|
|
16
|
-
//#endregion
|
|
17
15
|
//# sourceMappingURL=EnumMetadata.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumMetadata.d.mts","names":[],"sources":["../src/EnumMetadata.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"EnumMetadata.d.mts","names":[],"sources":["../src/EnumMetadata.ts"],"mappings":"A,iBAAiB,aAAa,GAAG,GAAG;;EAElC;;EAGA,UAAU,MAAM,IAAI;;EAGpB,WAAW,eAAe;;EAG1B,SAAS,IAAI,IAAI;;EAGjB,aAAa,cAAc;;EAG3B,cAAc,cAAc"}
|
package/build/IndexManager.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_relations_Reference = require("./relations/Reference.cjs");
|
|
3
|
-
require("./relations/index.cjs");
|
|
4
|
-
const require_utils = require("./utils.cjs");
|
|
5
|
-
const require_EntityMetadata = require("./EntityMetadata.cjs");
|
|
6
3
|
const require_dataloaders_fastWhereFilterHash = require("./dataloaders/fastWhereFilterHash.cjs");
|
|
7
4
|
const require_Entity = require("./Entity.cjs");
|
|
8
|
-
|
|
5
|
+
const require_EntityMetadata = require("./EntityMetadata.cjs");
|
|
6
|
+
require("./relations/index.cjs");
|
|
7
|
+
const require_utils = require("./utils.cjs");
|
|
8
|
+
// src/IndexManager.ts
|
|
9
9
|
const emptySet = /* @__PURE__ */ new Set();
|
|
10
10
|
const indexThreshold = 500;
|
|
11
11
|
/**
|
|
@@ -189,7 +189,6 @@ function intersectSets(set1, set2) {
|
|
|
189
189
|
for (const item of smaller) if (larger.has(item)) result.add(item);
|
|
190
190
|
return result;
|
|
191
191
|
}
|
|
192
|
-
//#endregion
|
|
193
192
|
exports.IndexManager = IndexManager;
|
|
194
193
|
exports.indexThreshold = indexThreshold;
|
|
195
194
|
|
package/build/IndexManager.d.cts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EntityMetadata } from "./EntityMetadata.cjs";
|
|
2
1
|
import { Entity } from "./Entity.cjs";
|
|
3
|
-
|
|
2
|
+
import { EntityMetadata } from "./EntityMetadata.cjs";
|
|
4
3
|
export declare const indexThreshold = 500;
|
|
5
4
|
/**
|
|
6
5
|
* IndexManager provides field-based indexing for entity queries to avoid O(n) linear scans of `em.entities`.
|
|
@@ -31,5 +30,4 @@ export declare class IndexManager {
|
|
|
31
30
|
/** Lazily indexes newly-registered entities only for fields that are queried. */
|
|
32
31
|
private indexUnindexedEntities;
|
|
33
32
|
}
|
|
34
|
-
//#endregion
|
|
35
33
|
//# sourceMappingURL=IndexManager.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndexManager.d.cts","names":[],"sources":["../src/IndexManager.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"IndexManager.d.cts","names":[],"sources":["../src/IndexManager.ts"],"mappings":";;qBAkBa;;;;;;;;;qBAUA;;;EAIX,gBAAgB;;EAKhB,UAAU;;EAKV,sBAAsB,UAAU,QAAQ,MAAM,eAAe,IAAI,UAAU,KAAK;;EAsBhF,sBAAsB,QAAQ,QAAQ,mBAAmB,eAAe;;;;;;;EAqBxE,aAAa,UAAU,QAAQ,MAAM,eAAe,IAAI,UAAU,KAAK,aAAa,YAAY;UA0BxF;;UAuBA"}
|
package/build/IndexManager.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EntityMetadata } from "./EntityMetadata.mjs";
|
|
2
1
|
import { Entity } from "./Entity.mjs";
|
|
3
|
-
|
|
2
|
+
import { EntityMetadata } from "./EntityMetadata.mjs";
|
|
4
3
|
export declare const indexThreshold = 500;
|
|
5
4
|
/**
|
|
6
5
|
* IndexManager provides field-based indexing for entity queries to avoid O(n) linear scans of `em.entities`.
|
|
@@ -31,5 +30,4 @@ export declare class IndexManager {
|
|
|
31
30
|
/** Lazily indexes newly-registered entities only for fields that are queried. */
|
|
32
31
|
private indexUnindexedEntities;
|
|
33
32
|
}
|
|
34
|
-
//#endregion
|
|
35
33
|
//# sourceMappingURL=IndexManager.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IndexManager.d.mts","names":[],"sources":["../src/IndexManager.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"IndexManager.d.mts","names":[],"sources":["../src/IndexManager.ts"],"mappings":";;qBAkBa;;;;;;;;;qBAUA;;;EAIX,gBAAgB;;EAKhB,UAAU;;EAKV,sBAAsB,UAAU,QAAQ,MAAM,eAAe,IAAI,UAAU,KAAK;;EAsBhF,sBAAsB,QAAQ,QAAQ,mBAAmB,eAAe;;;;;;;EAqBxE,aAAa,UAAU,QAAQ,MAAM,eAAe,IAAI,UAAU,KAAK,aAAa,YAAY;UA0BxF;;UAuBA"}
|
package/build/IndexManager.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { isLoadedReference } from "./relations/Reference.js";
|
|
2
|
-
import "./relations/index.js";
|
|
3
|
-
import { groupBy } from "./utils.js";
|
|
4
|
-
import { getMetadata } from "./EntityMetadata.js";
|
|
5
2
|
import { fastWhereFilterHash } from "./dataloaders/fastWhereFilterHash.js";
|
|
6
3
|
import { isEntity } from "./Entity.js";
|
|
7
|
-
|
|
4
|
+
import { getMetadata } from "./EntityMetadata.js";
|
|
5
|
+
import "./relations/index.js";
|
|
6
|
+
import { groupBy } from "./utils.js";
|
|
7
|
+
// src/IndexManager.ts
|
|
8
8
|
const emptySet = /* @__PURE__ */ new Set();
|
|
9
9
|
const indexThreshold = 500;
|
|
10
10
|
/**
|
|
@@ -188,7 +188,6 @@ function intersectSets(set1, set2) {
|
|
|
188
188
|
for (const item of smaller) if (larger.has(item)) result.add(item);
|
|
189
189
|
return result;
|
|
190
190
|
}
|
|
191
|
-
//#endregion
|
|
192
191
|
export { IndexManager, indexThreshold };
|
|
193
192
|
|
|
194
193
|
//# sourceMappingURL=IndexManager.js.map
|
package/build/InstanceData.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
require("./Entity.cjs");
|
|
3
|
+
const require_EntityManager = require("./EntityManager.cjs");
|
|
4
|
+
require("./EntityMetadata.cjs");
|
|
2
5
|
const require_RowData = require("./RowData.cjs");
|
|
3
6
|
const require_utils = require("./utils.cjs");
|
|
4
|
-
|
|
5
|
-
const require_EntityManager = require("./EntityManager.cjs");
|
|
6
|
-
require("./Entity.cjs");
|
|
7
|
-
//#region src/InstanceData.ts
|
|
7
|
+
// src/InstanceData.ts
|
|
8
8
|
/** The `#orm` metadata field we track on each instance. */
|
|
9
9
|
var InstanceData = class {
|
|
10
10
|
/** The entity this instance data belongs to. */
|
|
@@ -217,7 +217,6 @@ var InstanceData = class {
|
|
|
217
217
|
const emptyObject = Object.freeze({});
|
|
218
218
|
/** A shared frozen array for fields with no remembered reference values. */
|
|
219
219
|
const emptyArray = Object.freeze([]);
|
|
220
|
-
//#endregion
|
|
221
220
|
exports.InstanceData = InstanceData;
|
|
222
221
|
|
|
223
222
|
//# sourceMappingURL=InstanceData.cjs.map
|
package/build/InstanceData.d.cts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RowData } from "./RowData.cjs";
|
|
2
|
-
import { EntityMetadata } from "./EntityMetadata.cjs";
|
|
3
|
-
import { EntityManager } from "./EntityManager.cjs";
|
|
4
1
|
import { Entity } from "./Entity.cjs";
|
|
5
|
-
|
|
2
|
+
import { EntityManager } from "./EntityManager.cjs";
|
|
3
|
+
import { EntityMetadata } from "./EntityMetadata.cjs";
|
|
4
|
+
import { RowData } from "./RowData.cjs";
|
|
6
5
|
/** The `#orm` metadata field we track on each instance. */
|
|
7
6
|
export declare class InstanceData {
|
|
8
7
|
#private;
|
|
@@ -98,5 +97,4 @@ export declare class InstanceData {
|
|
|
98
97
|
*/
|
|
99
98
|
get isOrWasNew(): boolean;
|
|
100
99
|
}
|
|
101
|
-
//#endregion
|
|
102
100
|
//# sourceMappingURL=InstanceData.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstanceData.d.cts","names":[],"sources":["../src/InstanceData.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"InstanceData.d.cts","names":[],"sources":["../src/InstanceData.ts"],"mappings":";;;;;qBAOa;;;WAEF,QAAQ;;WAER,IAAI;;WAEJ,UAAU;;EAEnB,WAAW;;EAEX,SAAS;;EAET;;EAEA,MAAM;;EAEN;EACA;;EAEA;;EAMA,aAAa;;EAIb;;EAEA;;MA6BI;MAIA,UAAU;;EAKd,YAAY,IAAI,eAAe,QAAQ,QAAQ,UAAU,gBAAgB;;;;;;;;;;;;EA2BzE,UAAU;;EAKV;EAMA;;MAeI;;MAKA;;MAKA,gBAAgB;;MAKhB;;MAKA;MAqBA;;MAKA,eAAe;;EAKnB;;EAKA;EA2BA;;EAOA;;EAMA,eAAe,mBAAmB;;EAMlC,eAAe;;EAMf;;UAKQ;;EAKR,uBAAuB,mBAAmB;;EAO1C,oBAAoB;MAIhB;;;;;;;;;;;;;MAgBA"}
|
package/build/InstanceData.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RowData } from "./RowData.mjs";
|
|
2
|
-
import { EntityMetadata } from "./EntityMetadata.mjs";
|
|
3
|
-
import { EntityManager } from "./EntityManager.mjs";
|
|
4
1
|
import { Entity } from "./Entity.mjs";
|
|
5
|
-
|
|
2
|
+
import { EntityManager } from "./EntityManager.mjs";
|
|
3
|
+
import { EntityMetadata } from "./EntityMetadata.mjs";
|
|
4
|
+
import { RowData } from "./RowData.mjs";
|
|
6
5
|
/** The `#orm` metadata field we track on each instance. */
|
|
7
6
|
export declare class InstanceData {
|
|
8
7
|
#private;
|
|
@@ -98,5 +97,4 @@ export declare class InstanceData {
|
|
|
98
97
|
*/
|
|
99
98
|
get isOrWasNew(): boolean;
|
|
100
99
|
}
|
|
101
|
-
//#endregion
|
|
102
100
|
//# sourceMappingURL=InstanceData.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstanceData.d.mts","names":[],"sources":["../src/InstanceData.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"InstanceData.d.mts","names":[],"sources":["../src/InstanceData.ts"],"mappings":";;;;;qBAOa;;;WAEF,QAAQ;;WAER,IAAI;;WAEJ,UAAU;;EAEnB,WAAW;;EAEX,SAAS;;EAET;;EAEA,MAAM;;EAEN;EACA;;EAEA;;EAMA,aAAa;;EAIb;;EAEA;;MA6BI;MAIA,UAAU;;EAKd,YAAY,IAAI,eAAe,QAAQ,QAAQ,UAAU,gBAAgB;;;;;;;;;;;;EA2BzE,UAAU;;EAKV;EAMA;;MAeI;;MAKA;;MAKA,gBAAgB;;MAKhB;;MAKA;MAqBA;;MAKA,eAAe;;EAKnB;;EAKA;EA2BA;;EAOA;;EAMA,eAAe,mBAAmB;;EAMlC,eAAe;;EAMf;;UAKQ;;EAKR,uBAAuB,mBAAmB;;EAO1C,oBAAoB;MAIhB;;;;;;;;;;;;;MAgBA"}
|
package/build/InstanceData.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import "./Entity.js";
|
|
2
|
+
import { getEmInternalApi } from "./EntityManager.js";
|
|
3
|
+
import "./EntityMetadata.js";
|
|
1
4
|
import { emptyRowData } from "./RowData.js";
|
|
2
5
|
import { hasAnyKey } from "./utils.js";
|
|
3
|
-
|
|
4
|
-
import { getEmInternalApi } from "./EntityManager.js";
|
|
5
|
-
import "./Entity.js";
|
|
6
|
-
//#region src/InstanceData.ts
|
|
6
|
+
// src/InstanceData.ts
|
|
7
7
|
/** The `#orm` metadata field we track on each instance. */
|
|
8
8
|
var InstanceData = class {
|
|
9
9
|
/** The entity this instance data belongs to. */
|
|
@@ -216,7 +216,6 @@ var InstanceData = class {
|
|
|
216
216
|
const emptyObject = Object.freeze({});
|
|
217
217
|
/** A shared frozen array for fields with no remembered reference values. */
|
|
218
218
|
const emptyArray = Object.freeze([]);
|
|
219
|
-
//#endregion
|
|
220
219
|
export { InstanceData };
|
|
221
220
|
|
|
222
221
|
//# sourceMappingURL=InstanceData.js.map
|
package/build/PluginManager.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
require("./EntityMetadata.cjs");
|
|
3
|
-
const require_EntityManager = require("./EntityManager.cjs");
|
|
4
2
|
require("./Entity.cjs");
|
|
5
|
-
|
|
3
|
+
const require_EntityManager = require("./EntityManager.cjs");
|
|
4
|
+
require("./EntityMetadata.cjs");
|
|
5
|
+
// src/PluginManager.ts
|
|
6
6
|
const syncPluginMethods = [
|
|
7
7
|
"beforeGetField",
|
|
8
8
|
"beforeSetField",
|
|
@@ -82,7 +82,6 @@ var PluginManager = class {
|
|
|
82
82
|
afterValidate(entities) {}
|
|
83
83
|
afterWrite(entityTodos, joinRowTodos) {}
|
|
84
84
|
};
|
|
85
|
-
//#endregion
|
|
86
85
|
exports.Plugin = Plugin;
|
|
87
86
|
exports.PluginManager = PluginManager;
|
|
88
87
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
+
import { Entity } from "./Entity.cjs";
|
|
2
|
+
import { EntityManager, FindOperation } from "./EntityManager.cjs";
|
|
3
|
+
import { EntityMetadata } from "./EntityMetadata.cjs";
|
|
1
4
|
import { JoinRowTodo, Todo } from "./flush/Todo.cjs";
|
|
2
5
|
import { ParsedFindQuery } from "./queries/find/QueryParser.cjs";
|
|
3
6
|
import { RowData } from "./RowData.cjs";
|
|
4
|
-
import { EntityMetadata } from "./EntityMetadata.cjs";
|
|
5
|
-
import { EntityManager, FindOperation } from "./EntityManager.cjs";
|
|
6
|
-
import { Entity } from "./Entity.cjs";
|
|
7
|
-
//#region src/PluginManager.d.ts
|
|
8
7
|
interface PluginMethods {
|
|
9
8
|
/**
|
|
10
9
|
* Called on the first read of each entity field, including ORM-internal reads.
|
|
@@ -110,6 +109,5 @@ export declare class PluginManager implements Required<PluginMethods> {
|
|
|
110
109
|
afterValidate(entities: readonly Entity[]): Promise<void> | void;
|
|
111
110
|
afterWrite(entityTodos: Record<string, Todo>, joinRowTodos: Record<string, JoinRowTodo>): void;
|
|
112
111
|
}
|
|
113
|
-
//#endregion
|
|
114
112
|
export {};
|
|
115
113
|
//# sourceMappingURL=PluginManager.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginManager.d.cts","names":[],"sources":["../src/PluginManager.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PluginManager.d.cts","names":[],"sources":["../src/PluginManager.ts"],"mappings":";;;;;;UAOU;;;;;;;;;;EAUR,gBAAgB,QAAQ,QAAQ;;;;;;;;EAQhC,gBAAgB,QAAQ,QAAQ,eAAe;;;;;;;;;EAS/C,YACE,MAAM,gBACN,WAAW,eACX,OAAO,iBACP;IACE;IACA;IACA;IACA;IACA;IACA;;;;;;;;;;;;;;;EAgBJ,WAAW,MAAM,gBAAgB,WAAW,eAAe,MAAM;EAEjE,gBAAgB,mBAAmB,WAAW;EAE9C,eAAe,mBAAmB,WAAW;EAE7C,WAAW,aAAa,eAAe,OAAO,cAAc,eAAe;;cAWvE;;;;;;;8BAOgB;GAGnB,YAAY,QAAQ;EAErB;MAII,gBAAgB;;iBASL,eAAe;;;;;;;;qBASnB,yBAAyB,SAAS;;WAGjB,IAAI;EAAhC,YAA4B,IAAI;;EAGhC,QAAQ,cAAc;;;;;;;;;EAYtB,UAAU,QAAQ;MAkCd,oBAAoB;EAIxB,QAAQ,OAAO;EAWf,eAAe,QAAQ,QAAQ;EAC/B,eAAe,QAAQ,QAAQ,eAAe;EAC9C,WACE,MAAM,gBACN,WAAW,eACX,OAAO,iBACP;IACE;IACA;IACA;IACA;IACA;IACA;;EAGJ,UAAU,MAAM,gBAAgB,WAAW,eAAe,MAAM;EAChE,eAAe,mBAAmB,WAAW;EAC7C,cAAc,mBAAmB,WAAW;EAC5C,WAAW,aAAa,eAAe,OAAO,cAAc,eAAe"}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
+
import { Entity } from "./Entity.mjs";
|
|
2
|
+
import { EntityManager, FindOperation } from "./EntityManager.mjs";
|
|
3
|
+
import { EntityMetadata } from "./EntityMetadata.mjs";
|
|
1
4
|
import { JoinRowTodo, Todo } from "./flush/Todo.mjs";
|
|
2
5
|
import { ParsedFindQuery } from "./queries/find/QueryParser.mjs";
|
|
3
6
|
import { RowData } from "./RowData.mjs";
|
|
4
|
-
import { EntityMetadata } from "./EntityMetadata.mjs";
|
|
5
|
-
import { EntityManager, FindOperation } from "./EntityManager.mjs";
|
|
6
|
-
import { Entity } from "./Entity.mjs";
|
|
7
|
-
//#region src/PluginManager.d.ts
|
|
8
7
|
interface PluginMethods {
|
|
9
8
|
/**
|
|
10
9
|
* Called on the first read of each entity field, including ORM-internal reads.
|
|
@@ -110,6 +109,5 @@ export declare class PluginManager implements Required<PluginMethods> {
|
|
|
110
109
|
afterValidate(entities: readonly Entity[]): Promise<void> | void;
|
|
111
110
|
afterWrite(entityTodos: Record<string, Todo>, joinRowTodos: Record<string, JoinRowTodo>): void;
|
|
112
111
|
}
|
|
113
|
-
//#endregion
|
|
114
112
|
export {};
|
|
115
113
|
//# sourceMappingURL=PluginManager.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginManager.d.mts","names":[],"sources":["../src/PluginManager.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PluginManager.d.mts","names":[],"sources":["../src/PluginManager.ts"],"mappings":";;;;;;UAOU;;;;;;;;;;EAUR,gBAAgB,QAAQ,QAAQ;;;;;;;;EAQhC,gBAAgB,QAAQ,QAAQ,eAAe;;;;;;;;;EAS/C,YACE,MAAM,gBACN,WAAW,eACX,OAAO,iBACP;IACE;IACA;IACA;IACA;IACA;IACA;;;;;;;;;;;;;;;EAgBJ,WAAW,MAAM,gBAAgB,WAAW,eAAe,MAAM;EAEjE,gBAAgB,mBAAmB,WAAW;EAE9C,eAAe,mBAAmB,WAAW;EAE7C,WAAW,aAAa,eAAe,OAAO,cAAc,eAAe;;cAWvE;;;;;;;8BAOgB;GAGnB,YAAY,QAAQ;EAErB;MAII,gBAAgB;;iBASL,eAAe;;;;;;;;qBASnB,yBAAyB,SAAS;;WAGjB,IAAI;EAAhC,YAA4B,IAAI;;EAGhC,QAAQ,cAAc;;;;;;;;;EAYtB,UAAU,QAAQ;MAkCd,oBAAoB;EAIxB,QAAQ,OAAO;EAWf,eAAe,QAAQ,QAAQ;EAC/B,eAAe,QAAQ,QAAQ,eAAe;EAC9C,WACE,MAAM,gBACN,WAAW,eACX,OAAO,iBACP;IACE;IACA;IACA;IACA;IACA;IACA;;EAGJ,UAAU,MAAM,gBAAgB,WAAW,eAAe,MAAM;EAChE,eAAe,mBAAmB,WAAW;EAC7C,cAAc,mBAAmB,WAAW;EAC5C,WAAW,aAAa,eAAe,OAAO,cAAc,eAAe"}
|
package/build/PluginManager.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./EntityMetadata.js";
|
|
2
|
-
import { isDefined } from "./EntityManager.js";
|
|
3
1
|
import "./Entity.js";
|
|
4
|
-
|
|
2
|
+
import { isDefined } from "./EntityManager.js";
|
|
3
|
+
import "./EntityMetadata.js";
|
|
4
|
+
// src/PluginManager.ts
|
|
5
5
|
const syncPluginMethods = [
|
|
6
6
|
"beforeGetField",
|
|
7
7
|
"beforeSetField",
|
|
@@ -81,7 +81,6 @@ var PluginManager = class {
|
|
|
81
81
|
afterValidate(entities) {}
|
|
82
82
|
afterWrite(entityTodos, joinRowTodos) {}
|
|
83
83
|
};
|
|
84
|
-
//#endregion
|
|
85
84
|
export { Plugin, PluginManager };
|
|
86
85
|
|
|
87
86
|
//# sourceMappingURL=PluginManager.js.map
|
package/build/RowData.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
|
|
2
|
+
// src/RowData.ts
|
|
3
3
|
/** Wraps classic materialized POJO rows, i.e. from node-pg results or hand-built test rows. */
|
|
4
4
|
var PojoRowData = class {
|
|
5
5
|
rows;
|
|
@@ -30,7 +30,6 @@ const emptyRowData = {
|
|
|
30
30
|
return [];
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
|
-
//#endregion
|
|
34
33
|
exports.PojoRowData = PojoRowData;
|
|
35
34
|
exports.emptyRowData = emptyRowData;
|
|
36
35
|
|
package/build/RowData.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/RowData.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* A read-only view of one query's result rows; each entity references its as-loaded row as a
|
|
4
3
|
* `(rowData, rowIndex)` pair on its `InstanceData`.
|
|
@@ -48,5 +47,4 @@ export declare class PojoRowData implements RowData {
|
|
|
48
47
|
}
|
|
49
48
|
/** A shared `RowData` for new entities, which have no database row yet (all columns undefined). */
|
|
50
49
|
export declare const emptyRowData: RowData;
|
|
51
|
-
//#endregion
|
|
52
50
|
//# sourceMappingURL=RowData.d.cts.map
|
package/build/RowData.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowData.d.cts","names":[],"sources":["../src/RowData.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"RowData.d.cts","names":[],"sources":["../src/RowData.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBAqBiB;;WAEN;;EAET,IAAI,kBAAkB;;EAEtB,MAAM;;EAEN;;EAEA,QAAQ;;;;;EAKR;;;qBAIW,uBAAuB;UACd;EAApB,YAAoB;MAEhB;EAIJ,IAAI,kBAAkB;EAItB,MAAM;EAIN;;;qBAMW,cAAc"}
|
package/build/RowData.d.mts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/RowData.d.ts
|
|
2
1
|
/**
|
|
3
2
|
* A read-only view of one query's result rows; each entity references its as-loaded row as a
|
|
4
3
|
* `(rowData, rowIndex)` pair on its `InstanceData`.
|
|
@@ -48,5 +47,4 @@ export declare class PojoRowData implements RowData {
|
|
|
48
47
|
}
|
|
49
48
|
/** A shared `RowData` for new entities, which have no database row yet (all columns undefined). */
|
|
50
49
|
export declare const emptyRowData: RowData;
|
|
51
|
-
//#endregion
|
|
52
50
|
//# sourceMappingURL=RowData.d.mts.map
|
package/build/RowData.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RowData.d.mts","names":[],"sources":["../src/RowData.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"RowData.d.mts","names":[],"sources":["../src/RowData.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;iBAqBiB;;WAEN;;EAET,IAAI,kBAAkB;;EAEtB,MAAM;;EAEN;;EAEA,QAAQ;;;;;EAKR;;;qBAIW,uBAAuB;UACd;EAApB,YAAoB;MAEhB;EAIJ,IAAI,kBAAkB;EAItB,MAAM;EAIN;;;qBAMW,cAAc"}
|