joist-orm 1.293.0 → 2.0.0
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/{drivers/PostgresDriver.d.ts → PostgresDriver.d.ts} +1 -4
- package/build/PostgresDriver.d.ts.map +1 -0
- package/build/{drivers/PostgresDriver.js → PostgresDriver.js} +49 -58
- package/build/PostgresDriver.js.map +1 -0
- package/build/codegen.d.ts +2 -0
- package/build/codegen.d.ts.map +1 -0
- package/build/codegen.js +29 -0
- package/build/codegen.js.map +1 -0
- package/build/graphql-codegen-export.d.ts +2 -0
- package/build/graphql-codegen-export.d.ts.map +1 -0
- package/build/{drivers/index.js → graphql-codegen-export.js} +3 -5
- package/build/graphql-codegen-export.js.map +1 -0
- package/build/graphql-export.d.ts +2 -0
- package/build/graphql-export.d.ts.map +1 -0
- package/build/graphql-export.js +19 -0
- package/build/graphql-export.js.map +1 -0
- package/build/index.d.ts +3 -127
- package/build/index.d.ts.map +1 -1
- package/build/index.js +8 -282
- package/build/index.js.map +1 -1
- package/build/knex-export.d.ts +2 -0
- package/build/knex-export.d.ts.map +1 -0
- package/build/knex-export.js +19 -0
- package/build/knex-export.js.map +1 -0
- package/build/pg-migrate.d.ts +2 -0
- package/build/pg-migrate.d.ts.map +1 -0
- package/build/pg-migrate.js +30 -0
- package/build/pg-migrate.js.map +1 -0
- package/build/postgres-driver.d.ts +2 -0
- package/build/postgres-driver.d.ts.map +1 -0
- package/build/postgres-driver.js +7 -0
- package/build/postgres-driver.js.map +1 -0
- package/build/tests-export.d.ts +2 -0
- package/build/tests-export.d.ts.map +1 -0
- package/build/tests-export.js +19 -0
- package/build/tests-export.js.map +1 -0
- package/build/trusted.d.ts +5 -0
- package/build/trusted.d.ts.map +1 -0
- package/build/trusted.js +15 -0
- package/build/trusted.js.map +1 -0
- package/package.json +85 -16
- package/build/AliasAssigner.d.ts +0 -7
- package/build/AliasAssigner.d.ts.map +0 -1
- package/build/AliasAssigner.js +0 -30
- package/build/AliasAssigner.js.map +0 -1
- package/build/Aliases.d.ts +0 -110
- package/build/Aliases.d.ts.map +0 -1
- package/build/Aliases.js +0 -456
- package/build/Aliases.js.map +0 -1
- package/build/BaseEntity.d.ts +0 -66
- package/build/BaseEntity.d.ts.map +0 -1
- package/build/BaseEntity.js +0 -120
- package/build/BaseEntity.js.map +0 -1
- package/build/ConditionBuilder.d.ts +0 -50
- package/build/ConditionBuilder.d.ts.map +0 -1
- package/build/ConditionBuilder.js +0 -178
- package/build/ConditionBuilder.js.map +0 -1
- package/build/Entity.d.ts +0 -38
- package/build/Entity.d.ts.map +0 -1
- package/build/Entity.js +0 -8
- package/build/Entity.js.map +0 -1
- package/build/EntityFields.d.ts +0 -37
- package/build/EntityFields.d.ts.map +0 -1
- package/build/EntityFields.js +0 -3
- package/build/EntityFields.js.map +0 -1
- package/build/EntityFilter.d.ts +0 -113
- package/build/EntityFilter.d.ts.map +0 -1
- package/build/EntityFilter.js +0 -3
- package/build/EntityFilter.js.map +0 -1
- package/build/EntityGraphQLFilter.d.ts +0 -51
- package/build/EntityGraphQLFilter.d.ts.map +0 -1
- package/build/EntityGraphQLFilter.js +0 -54
- package/build/EntityGraphQLFilter.js.map +0 -1
- package/build/EntityManager.d.ts +0 -734
- package/build/EntityManager.d.ts.map +0 -1
- package/build/EntityManager.js +0 -2069
- package/build/EntityManager.js.map +0 -1
- package/build/EntityMetadata.d.ts +0 -185
- package/build/EntityMetadata.d.ts.map +0 -1
- package/build/EntityMetadata.js +0 -61
- package/build/EntityMetadata.js.map +0 -1
- package/build/EnumMetadata.d.ts +0 -15
- package/build/EnumMetadata.d.ts.map +0 -1
- package/build/EnumMetadata.js +0 -3
- package/build/EnumMetadata.js.map +0 -1
- package/build/FlushLock.d.ts +0 -26
- package/build/FlushLock.d.ts.map +0 -1
- package/build/FlushLock.js +0 -57
- package/build/FlushLock.js.map +0 -1
- package/build/HintTree.d.ts +0 -42
- package/build/HintTree.d.ts.map +0 -1
- package/build/HintTree.js +0 -64
- package/build/HintTree.js.map +0 -1
- package/build/IndexManager.d.ts +0 -30
- package/build/IndexManager.d.ts.map +0 -1
- package/build/IndexManager.js +0 -206
- package/build/IndexManager.js.map +0 -1
- package/build/InstanceData.d.ts +0 -59
- package/build/InstanceData.d.ts.map +0 -1
- package/build/InstanceData.js +0 -162
- package/build/InstanceData.js.map +0 -1
- package/build/IsLoadedCache.d.ts +0 -32
- package/build/IsLoadedCache.d.ts.map +0 -1
- package/build/IsLoadedCache.js +0 -80
- package/build/IsLoadedCache.js.map +0 -1
- package/build/JoinRows.d.ts +0 -75
- package/build/JoinRows.d.ts.map +0 -1
- package/build/JoinRows.js +0 -246
- package/build/JoinRows.js.map +0 -1
- package/build/PluginManager.d.ts +0 -90
- package/build/PluginManager.d.ts.map +0 -1
- package/build/PluginManager.js +0 -97
- package/build/PluginManager.js.map +0 -1
- package/build/QueryParser.d.ts +0 -271
- package/build/QueryParser.d.ts.map +0 -1
- package/build/QueryParser.js +0 -853
- package/build/QueryParser.js.map +0 -1
- package/build/QueryParser.pruning.d.ts +0 -5
- package/build/QueryParser.pruning.d.ts.map +0 -1
- package/build/QueryParser.pruning.js +0 -118
- package/build/QueryParser.pruning.js.map +0 -1
- package/build/QueryVisitor.d.ts +0 -19
- package/build/QueryVisitor.d.ts.map +0 -1
- package/build/QueryVisitor.js +0 -84
- package/build/QueryVisitor.js.map +0 -1
- package/build/ReactionsManager.d.ts +0 -84
- package/build/ReactionsManager.d.ts.map +0 -1
- package/build/ReactionsManager.js +0 -307
- package/build/ReactionsManager.js.map +0 -1
- package/build/Todo.d.ts +0 -31
- package/build/Todo.d.ts.map +0 -1
- package/build/Todo.js +0 -73
- package/build/Todo.js.map +0 -1
- package/build/caches.d.ts +0 -6
- package/build/caches.d.ts.map +0 -1
- package/build/caches.js +0 -42
- package/build/caches.js.map +0 -1
- package/build/changes.d.ts +0 -79
- package/build/changes.d.ts.map +0 -1
- package/build/changes.js +0 -251
- package/build/changes.js.map +0 -1
- package/build/config.d.ts +0 -237
- package/build/config.d.ts.map +0 -1
- package/build/config.js +0 -298
- package/build/config.js.map +0 -1
- package/build/config.test.d.ts +0 -2
- package/build/config.test.d.ts.map +0 -1
- package/build/config.test.js +0 -53
- package/build/config.test.js.map +0 -1
- package/build/configure.d.ts +0 -13
- package/build/configure.d.ts.map +0 -1
- package/build/configure.js +0 -329
- package/build/configure.js.map +0 -1
- package/build/dataloaders/findByUniqueDataLoader.d.ts +0 -7
- package/build/dataloaders/findByUniqueDataLoader.d.ts.map +0 -1
- package/build/dataloaders/findByUniqueDataLoader.js +0 -47
- package/build/dataloaders/findByUniqueDataLoader.js.map +0 -1
- package/build/dataloaders/findCountDataLoader.d.ts +0 -7
- package/build/dataloaders/findCountDataLoader.d.ts.map +0 -1
- package/build/dataloaders/findCountDataLoader.js +0 -74
- package/build/dataloaders/findCountDataLoader.js.map +0 -1
- package/build/dataloaders/findDataLoader.d.ts +0 -37
- package/build/dataloaders/findDataLoader.d.ts.map +0 -1
- package/build/dataloaders/findDataLoader.js +0 -337
- package/build/dataloaders/findDataLoader.js.map +0 -1
- package/build/dataloaders/findIdsDataLoader.d.ts +0 -7
- package/build/dataloaders/findIdsDataLoader.d.ts.map +0 -1
- package/build/dataloaders/findIdsDataLoader.js +0 -74
- package/build/dataloaders/findIdsDataLoader.js.map +0 -1
- package/build/dataloaders/findOrCreateDataLoader.d.ts +0 -13
- package/build/dataloaders/findOrCreateDataLoader.d.ts.map +0 -1
- package/build/dataloaders/findOrCreateDataLoader.js +0 -174
- package/build/dataloaders/findOrCreateDataLoader.js.map +0 -1
- package/build/dataloaders/lensDataLoader.d.ts +0 -12
- package/build/dataloaders/lensDataLoader.d.ts.map +0 -1
- package/build/dataloaders/lensDataLoader.js +0 -180
- package/build/dataloaders/lensDataLoader.js.map +0 -1
- package/build/dataloaders/loadDataLoader.d.ts +0 -11
- package/build/dataloaders/loadDataLoader.d.ts.map +0 -1
- package/build/dataloaders/loadDataLoader.js +0 -54
- package/build/dataloaders/loadDataLoader.js.map +0 -1
- package/build/dataloaders/manyToManyDataLoader.d.ts +0 -8
- package/build/dataloaders/manyToManyDataLoader.d.ts.map +0 -1
- package/build/dataloaders/manyToManyDataLoader.js +0 -74
- package/build/dataloaders/manyToManyDataLoader.js.map +0 -1
- package/build/dataloaders/manyToManyFindDataLoader.d.ts +0 -8
- package/build/dataloaders/manyToManyFindDataLoader.d.ts.map +0 -1
- package/build/dataloaders/manyToManyFindDataLoader.js +0 -70
- package/build/dataloaders/manyToManyFindDataLoader.js.map +0 -1
- package/build/dataloaders/oneToManyDataLoader.d.ts +0 -7
- package/build/dataloaders/oneToManyDataLoader.d.ts.map +0 -1
- package/build/dataloaders/oneToManyDataLoader.js +0 -60
- package/build/dataloaders/oneToManyDataLoader.js.map +0 -1
- package/build/dataloaders/oneToManyFindDataLoader.d.ts +0 -8
- package/build/dataloaders/oneToManyFindDataLoader.d.ts.map +0 -1
- package/build/dataloaders/oneToManyFindDataLoader.js +0 -71
- package/build/dataloaders/oneToManyFindDataLoader.js.map +0 -1
- package/build/dataloaders/oneToOneDataLoader.d.ts +0 -7
- package/build/dataloaders/oneToOneDataLoader.d.ts.map +0 -1
- package/build/dataloaders/oneToOneDataLoader.js +0 -59
- package/build/dataloaders/oneToOneDataLoader.js.map +0 -1
- package/build/dataloaders/populateDataLoader.d.ts +0 -13
- package/build/dataloaders/populateDataLoader.d.ts.map +0 -1
- package/build/dataloaders/populateDataLoader.js +0 -148
- package/build/dataloaders/populateDataLoader.js.map +0 -1
- package/build/dataloaders/recursiveChildrenDataLoader.d.ts +0 -7
- package/build/dataloaders/recursiveChildrenDataLoader.d.ts.map +0 -1
- package/build/dataloaders/recursiveChildrenDataLoader.js +0 -77
- package/build/dataloaders/recursiveChildrenDataLoader.js.map +0 -1
- package/build/dataloaders/recursiveParentsDataLoader.d.ts +0 -7
- package/build/dataloaders/recursiveParentsDataLoader.d.ts.map +0 -1
- package/build/dataloaders/recursiveParentsDataLoader.js +0 -59
- package/build/dataloaders/recursiveParentsDataLoader.js.map +0 -1
- package/build/defaults.d.ts +0 -54
- package/build/defaults.d.ts.map +0 -1
- package/build/defaults.js +0 -282
- package/build/defaults.js.map +0 -1
- package/build/driverApi.d.ts +0 -19
- package/build/driverApi.d.ts.map +0 -1
- package/build/driverApi.js +0 -17
- package/build/driverApi.js.map +0 -1
- package/build/drivers/Driver.d.ts +0 -26
- package/build/drivers/Driver.d.ts.map +0 -1
- package/build/drivers/Driver.js +0 -3
- package/build/drivers/Driver.js.map +0 -1
- package/build/drivers/EntityWriter.d.ts +0 -64
- package/build/drivers/EntityWriter.d.ts.map +0 -1
- package/build/drivers/EntityWriter.js +0 -237
- package/build/drivers/EntityWriter.js.map +0 -1
- package/build/drivers/IdAssigner.d.ts +0 -50
- package/build/drivers/IdAssigner.d.ts.map +0 -1
- package/build/drivers/IdAssigner.js +0 -133
- package/build/drivers/IdAssigner.js.map +0 -1
- package/build/drivers/PostgresDriver.d.ts.map +0 -1
- package/build/drivers/PostgresDriver.js.map +0 -1
- package/build/drivers/buildRawQuery.d.ts +0 -20
- package/build/drivers/buildRawQuery.d.ts.map +0 -1
- package/build/drivers/buildRawQuery.js +0 -148
- package/build/drivers/buildRawQuery.js.map +0 -1
- package/build/drivers/buildUtils.d.ts +0 -4
- package/build/drivers/buildUtils.d.ts.map +0 -1
- package/build/drivers/buildUtils.js +0 -79
- package/build/drivers/buildUtils.js.map +0 -1
- package/build/drivers/index.d.ts +0 -5
- package/build/drivers/index.d.ts.map +0 -1
- package/build/drivers/index.js.map +0 -1
- package/build/fields.d.ts +0 -24
- package/build/fields.d.ts.map +0 -1
- package/build/fields.js +0 -161
- package/build/fields.js.map +0 -1
- package/build/getProperties.d.ts +0 -28
- package/build/getProperties.d.ts.map +0 -1
- package/build/getProperties.js +0 -141
- package/build/getProperties.js.map +0 -1
- package/build/json.d.ts +0 -77
- package/build/json.d.ts.map +0 -1
- package/build/json.js +0 -116
- package/build/json.js.map +0 -1
- package/build/k.d.ts +0 -2
- package/build/k.d.ts.map +0 -1
- package/build/k.js +0 -9
- package/build/k.js.map +0 -1
- package/build/keys.d.ts +0 -49
- package/build/keys.d.ts.map +0 -1
- package/build/keys.js +0 -195
- package/build/keys.js.map +0 -1
- package/build/keywords.d.ts +0 -5
- package/build/keywords.d.ts.map +0 -1
- package/build/keywords.js +0 -124
- package/build/keywords.js.map +0 -1
- package/build/loadHints.d.ts +0 -112
- package/build/loadHints.d.ts.map +0 -1
- package/build/loadHints.js +0 -75
- package/build/loadHints.js.map +0 -1
- package/build/loadLens.d.ts +0 -66
- package/build/loadLens.d.ts.map +0 -1
- package/build/loadLens.js +0 -287
- package/build/loadLens.js.map +0 -1
- package/build/logging/FactoryLogger.d.ts +0 -24
- package/build/logging/FactoryLogger.d.ts.map +0 -1
- package/build/logging/FactoryLogger.js +0 -77
- package/build/logging/FactoryLogger.js.map +0 -1
- package/build/logging/FieldLogger.d.ts +0 -27
- package/build/logging/FieldLogger.d.ts.map +0 -1
- package/build/logging/FieldLogger.js +0 -69
- package/build/logging/FieldLogger.js.map +0 -1
- package/build/logging/ReactionLogger.d.ts +0 -23
- package/build/logging/ReactionLogger.d.ts.map +0 -1
- package/build/logging/ReactionLogger.js +0 -65
- package/build/logging/ReactionLogger.js.map +0 -1
- package/build/newEntity.d.ts +0 -45
- package/build/newEntity.d.ts.map +0 -1
- package/build/newEntity.js +0 -106
- package/build/newEntity.js.map +0 -1
- package/build/newTestInstance.d.ts +0 -193
- package/build/newTestInstance.d.ts.map +0 -1
- package/build/newTestInstance.js +0 -738
- package/build/newTestInstance.js.map +0 -1
- package/build/normalizeHints.d.ts +0 -16
- package/build/normalizeHints.d.ts.map +0 -1
- package/build/normalizeHints.js +0 -31
- package/build/normalizeHints.js.map +0 -1
- package/build/plugins/ImmutableEntitiesPlugin.d.ts +0 -9
- package/build/plugins/ImmutableEntitiesPlugin.d.ts.map +0 -1
- package/build/plugins/ImmutableEntitiesPlugin.js +0 -21
- package/build/plugins/ImmutableEntitiesPlugin.js.map +0 -1
- package/build/plugins/PreloadPlugin.d.ts +0 -69
- package/build/plugins/PreloadPlugin.d.ts.map +0 -1
- package/build/plugins/PreloadPlugin.js +0 -3
- package/build/plugins/PreloadPlugin.js.map +0 -1
- package/build/preloading/JsonAggregatePreloader.d.ts +0 -16
- package/build/preloading/JsonAggregatePreloader.d.ts.map +0 -1
- package/build/preloading/JsonAggregatePreloader.js +0 -238
- package/build/preloading/JsonAggregatePreloader.js.map +0 -1
- package/build/preloading/canPreload.d.ts +0 -3
- package/build/preloading/canPreload.d.ts.map +0 -1
- package/build/preloading/canPreload.js +0 -21
- package/build/preloading/canPreload.js.map +0 -1
- package/build/preloading/partitionHint.d.ts +0 -5
- package/build/preloading/partitionHint.d.ts.map +0 -1
- package/build/preloading/partitionHint.js +0 -56
- package/build/preloading/partitionHint.js.map +0 -1
- package/build/reactiveHints.d.ts +0 -129
- package/build/reactiveHints.d.ts.map +0 -1
- package/build/reactiveHints.js +0 -458
- package/build/reactiveHints.js.map +0 -1
- package/build/relations/AbstractPropertyImpl.d.ts +0 -8
- package/build/relations/AbstractPropertyImpl.d.ts.map +0 -1
- package/build/relations/AbstractPropertyImpl.js +0 -15
- package/build/relations/AbstractPropertyImpl.js.map +0 -1
- package/build/relations/AbstractRelationImpl.d.ts +0 -36
- package/build/relations/AbstractRelationImpl.d.ts.map +0 -1
- package/build/relations/AbstractRelationImpl.js +0 -19
- package/build/relations/AbstractRelationImpl.js.map +0 -1
- package/build/relations/Collection.d.ts +0 -28
- package/build/relations/Collection.d.ts.map +0 -1
- package/build/relations/Collection.js +0 -18
- package/build/relations/Collection.js.map +0 -1
- package/build/relations/CustomCollection.d.ts +0 -69
- package/build/relations/CustomCollection.d.ts.map +0 -1
- package/build/relations/CustomCollection.js +0 -166
- package/build/relations/CustomCollection.js.map +0 -1
- package/build/relations/CustomReference.d.ts +0 -71
- package/build/relations/CustomReference.d.ts.map +0 -1
- package/build/relations/CustomReference.js +0 -152
- package/build/relations/CustomReference.js.map +0 -1
- package/build/relations/LargeCollection.d.ts +0 -19
- package/build/relations/LargeCollection.d.ts.map +0 -1
- package/build/relations/LargeCollection.js +0 -3
- package/build/relations/LargeCollection.js.map +0 -1
- package/build/relations/ManyToManyCollection.d.ts +0 -44
- package/build/relations/ManyToManyCollection.d.ts.map +0 -1
- package/build/relations/ManyToManyCollection.js +0 -268
- package/build/relations/ManyToManyCollection.js.map +0 -1
- package/build/relations/ManyToManyLargeCollection.d.ts +0 -30
- package/build/relations/ManyToManyLargeCollection.d.ts.map +0 -1
- package/build/relations/ManyToManyLargeCollection.js +0 -119
- package/build/relations/ManyToManyLargeCollection.js.map +0 -1
- package/build/relations/ManyToOneReference.d.ts +0 -121
- package/build/relations/ManyToOneReference.d.ts.map +0 -1
- package/build/relations/ManyToOneReference.js +0 -389
- package/build/relations/ManyToOneReference.js.map +0 -1
- package/build/relations/OneToManyCollection.d.ts +0 -58
- package/build/relations/OneToManyCollection.d.ts.map +0 -1
- package/build/relations/OneToManyCollection.js +0 -347
- package/build/relations/OneToManyCollection.js.map +0 -1
- package/build/relations/OneToManyLargeCollection.d.ts +0 -26
- package/build/relations/OneToManyLargeCollection.d.ts.map +0 -1
- package/build/relations/OneToManyLargeCollection.js +0 -102
- package/build/relations/OneToManyLargeCollection.js.map +0 -1
- package/build/relations/OneToOneReference.d.ts +0 -93
- package/build/relations/OneToOneReference.d.ts.map +0 -1
- package/build/relations/OneToOneReference.js +0 -228
- package/build/relations/OneToOneReference.js.map +0 -1
- package/build/relations/PolymorphicReference.d.ts +0 -89
- package/build/relations/PolymorphicReference.d.ts.map +0 -1
- package/build/relations/PolymorphicReference.js +0 -244
- package/build/relations/PolymorphicReference.js.map +0 -1
- package/build/relations/ReactiveField.d.ts +0 -87
- package/build/relations/ReactiveField.d.ts.map +0 -1
- package/build/relations/ReactiveField.js +0 -149
- package/build/relations/ReactiveField.js.map +0 -1
- package/build/relations/ReactiveGetter.d.ts +0 -30
- package/build/relations/ReactiveGetter.d.ts.map +0 -1
- package/build/relations/ReactiveGetter.js +0 -38
- package/build/relations/ReactiveGetter.js.map +0 -1
- package/build/relations/ReactiveManyToMany.d.ts +0 -56
- package/build/relations/ReactiveManyToMany.d.ts.map +0 -1
- package/build/relations/ReactiveManyToMany.js +0 -243
- package/build/relations/ReactiveManyToMany.js.map +0 -1
- package/build/relations/ReactiveManyToManyOtherSide.d.ts +0 -47
- package/build/relations/ReactiveManyToManyOtherSide.d.ts.map +0 -1
- package/build/relations/ReactiveManyToManyOtherSide.js +0 -155
- package/build/relations/ReactiveManyToManyOtherSide.js.map +0 -1
- package/build/relations/ReactiveQueryField.d.ts +0 -41
- package/build/relations/ReactiveQueryField.d.ts.map +0 -1
- package/build/relations/ReactiveQueryField.js +0 -125
- package/build/relations/ReactiveQueryField.js.map +0 -1
- package/build/relations/ReactiveReference.d.ts +0 -119
- package/build/relations/ReactiveReference.d.ts.map +0 -1
- package/build/relations/ReactiveReference.js +0 -333
- package/build/relations/ReactiveReference.js.map +0 -1
- package/build/relations/ReadOnlyCollection.d.ts +0 -19
- package/build/relations/ReadOnlyCollection.d.ts.map +0 -1
- package/build/relations/ReadOnlyCollection.js +0 -15
- package/build/relations/ReadOnlyCollection.js.map +0 -1
- package/build/relations/RecursiveCollection.d.ts +0 -84
- package/build/relations/RecursiveCollection.d.ts.map +0 -1
- package/build/relations/RecursiveCollection.js +0 -296
- package/build/relations/RecursiveCollection.js.map +0 -1
- package/build/relations/Reference.d.ts +0 -35
- package/build/relations/Reference.d.ts.map +0 -1
- package/build/relations/Reference.js +0 -21
- package/build/relations/Reference.js.map +0 -1
- package/build/relations/Relation.d.ts +0 -14
- package/build/relations/Relation.d.ts.map +0 -1
- package/build/relations/Relation.js +0 -12
- package/build/relations/Relation.js.map +0 -1
- package/build/relations/hasAsyncMethod.d.ts +0 -27
- package/build/relations/hasAsyncMethod.d.ts.map +0 -1
- package/build/relations/hasAsyncMethod.js +0 -47
- package/build/relations/hasAsyncMethod.js.map +0 -1
- package/build/relations/hasAsyncProperty.d.ts +0 -49
- package/build/relations/hasAsyncProperty.d.ts.map +0 -1
- package/build/relations/hasAsyncProperty.js +0 -98
- package/build/relations/hasAsyncProperty.js.map +0 -1
- package/build/relations/hasManyDerived.d.ts +0 -22
- package/build/relations/hasManyDerived.d.ts.map +0 -1
- package/build/relations/hasManyDerived.js +0 -32
- package/build/relations/hasManyDerived.js.map +0 -1
- package/build/relations/hasManyThrough.d.ts +0 -10
- package/build/relations/hasManyThrough.d.ts.map +0 -1
- package/build/relations/hasManyThrough.js +0 -24
- package/build/relations/hasManyThrough.js.map +0 -1
- package/build/relations/hasOneDerived.d.ts +0 -12
- package/build/relations/hasOneDerived.d.ts.map +0 -1
- package/build/relations/hasOneDerived.js +0 -24
- package/build/relations/hasOneDerived.js.map +0 -1
- package/build/relations/hasOneThrough.d.ts +0 -10
- package/build/relations/hasOneThrough.d.ts.map +0 -1
- package/build/relations/hasOneThrough.js +0 -24
- package/build/relations/hasOneThrough.js.map +0 -1
- package/build/relations/index.d.ts +0 -28
- package/build/relations/index.d.ts.map +0 -1
- package/build/relations/index.js +0 -88
- package/build/relations/index.js.map +0 -1
- package/build/rules.d.ts +0 -123
- package/build/rules.d.ts.map +0 -1
- package/build/rules.js +0 -231
- package/build/rules.js.map +0 -1
- package/build/runtimeConfig.d.ts +0 -17
- package/build/runtimeConfig.d.ts.map +0 -1
- package/build/runtimeConfig.js +0 -18
- package/build/runtimeConfig.js.map +0 -1
- package/build/serde.d.ts +0 -277
- package/build/serde.d.ts.map +0 -1
- package/build/serde.js +0 -517
- package/build/serde.js.map +0 -1
- package/build/temporal.d.ts +0 -16
- package/build/temporal.d.ts.map +0 -1
- package/build/temporal.js +0 -48
- package/build/temporal.js.map +0 -1
- package/build/temporalMappers.d.ts +0 -25
- package/build/temporalMappers.d.ts.map +0 -1
- package/build/temporalMappers.js +0 -59
- package/build/temporalMappers.js.map +0 -1
- package/build/typeMap.d.ts +0 -68
- package/build/typeMap.d.ts.map +0 -1
- package/build/typeMap.js +0 -3
- package/build/typeMap.js.map +0 -1
- package/build/unnest.d.ts +0 -13
- package/build/unnest.d.ts.map +0 -1
- package/build/unnest.js +0 -85
- package/build/unnest.js.map +0 -1
- package/build/upsert.d.ts +0 -42
- package/build/upsert.d.ts.map +0 -1
- package/build/upsert.js +0 -265
- package/build/upsert.js.map +0 -1
- package/build/utils.d.ts +0 -58
- package/build/utils.d.ts.map +0 -1
- package/build/utils.js +0 -236
- package/build/utils.js.map +0 -1
- package/build/withLoaded.d.ts +0 -56
- package/build/withLoaded.d.ts.map +0 -1
- package/build/withLoaded.js +0 -76
- package/build/withLoaded.js.map +0 -1
package/build/index.js
CHANGED
|
@@ -14,288 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.
|
|
18
|
-
|
|
19
|
-
exports
|
|
20
|
-
|
|
21
|
-
exports.ensureNotDeleted = ensureNotDeleted;
|
|
22
|
-
exports.getRequiredKeys = getRequiredKeys;
|
|
23
|
-
exports.getRelations = getRelations;
|
|
24
|
-
exports.getRelationEntries = getRelationEntries;
|
|
25
|
-
exports.asConcreteCstr = asConcreteCstr;
|
|
26
|
-
exports.failNoIdYet = failNoIdYet;
|
|
27
|
-
exports.isNewEntity = isNewEntity;
|
|
28
|
-
const BaseEntity_1 = require("./BaseEntity");
|
|
29
|
-
const EntityMetadata_1 = require("./EntityMetadata");
|
|
30
|
-
const defaults_1 = require("./defaults");
|
|
31
|
-
const buildUtils_1 = require("./drivers/buildUtils");
|
|
32
|
-
const fields_1 = require("./fields");
|
|
33
|
-
const getProperties_1 = require("./getProperties");
|
|
34
|
-
const loadLens_1 = require("./loadLens");
|
|
35
|
-
const newTestInstance_1 = require("./newTestInstance");
|
|
36
|
-
const partitionHint_1 = require("./preloading/partitionHint");
|
|
37
|
-
const relations_1 = require("./relations");
|
|
38
|
-
const AbstractRelationImpl_1 = require("./relations/AbstractRelationImpl");
|
|
39
|
-
const ReactiveField_1 = require("./relations/ReactiveField");
|
|
40
|
-
const ReactiveQueryField_1 = require("./relations/ReactiveQueryField");
|
|
41
|
-
const utils_1 = require("./utils");
|
|
42
|
-
exports.testing = { isAllSqlPaths: loadLens_1.isAllSqlPaths, getDefaultDependencies: defaults_1.getDefaultDependencies, partitionHint: partitionHint_1.partitionHint };
|
|
43
|
-
exports.internals = { buildWhereClause: buildUtils_1.buildWhereClause };
|
|
17
|
+
exports.newPgConnectionConfig = exports.keyBy = exports.isPlainObject = exports.groupBy = exports.Deferred = void 0;
|
|
18
|
+
// Re-export everything from joist-core
|
|
19
|
+
__exportStar(require("joist-core"), exports);
|
|
20
|
+
// Re-export from joist-utils (excluding 'fail' which is already exported by joist-core)
|
|
44
21
|
var joist_utils_1 = require("joist-utils");
|
|
22
|
+
Object.defineProperty(exports, "Deferred", { enumerable: true, get: function () { return joist_utils_1.Deferred; } });
|
|
23
|
+
Object.defineProperty(exports, "groupBy", { enumerable: true, get: function () { return joist_utils_1.groupBy; } });
|
|
24
|
+
Object.defineProperty(exports, "isPlainObject", { enumerable: true, get: function () { return joist_utils_1.isPlainObject; } });
|
|
25
|
+
Object.defineProperty(exports, "keyBy", { enumerable: true, get: function () { return joist_utils_1.keyBy; } });
|
|
45
26
|
Object.defineProperty(exports, "newPgConnectionConfig", { enumerable: true, get: function () { return joist_utils_1.newPgConnectionConfig; } });
|
|
46
|
-
var AliasAssigner_1 = require("./AliasAssigner");
|
|
47
|
-
Object.defineProperty(exports, "AliasAssigner", { enumerable: true, get: function () { return AliasAssigner_1.AliasAssigner; } });
|
|
48
|
-
__exportStar(require("./Aliases"), exports);
|
|
49
|
-
var BaseEntity_2 = require("./BaseEntity");
|
|
50
|
-
Object.defineProperty(exports, "BaseEntity", { enumerable: true, get: function () { return BaseEntity_2.BaseEntity; } });
|
|
51
|
-
Object.defineProperty(exports, "getInstanceData", { enumerable: true, get: function () { return BaseEntity_2.getInstanceData; } });
|
|
52
|
-
var ConditionBuilder_1 = require("./ConditionBuilder");
|
|
53
|
-
Object.defineProperty(exports, "ConditionBuilder", { enumerable: true, get: function () { return ConditionBuilder_1.ConditionBuilder; } });
|
|
54
|
-
var Entity_1 = require("./Entity");
|
|
55
|
-
Object.defineProperty(exports, "isEntity", { enumerable: true, get: function () { return Entity_1.isEntity; } });
|
|
56
|
-
__exportStar(require("./EntityFields"), exports);
|
|
57
|
-
__exportStar(require("./EntityFilter"), exports);
|
|
58
|
-
__exportStar(require("./EntityGraphQLFilter"), exports);
|
|
59
|
-
__exportStar(require("./EntityManager"), exports);
|
|
60
|
-
__exportStar(require("./EntityMetadata"), exports);
|
|
61
|
-
var InstanceData_1 = require("./InstanceData");
|
|
62
|
-
Object.defineProperty(exports, "InstanceData", { enumerable: true, get: function () { return InstanceData_1.InstanceData; } });
|
|
63
|
-
var PluginManager_1 = require("./PluginManager");
|
|
64
|
-
Object.defineProperty(exports, "Plugin", { enumerable: true, get: function () { return PluginManager_1.Plugin; } });
|
|
65
|
-
__exportStar(require("./QueryParser"), exports);
|
|
66
|
-
var QueryVisitor_1 = require("./QueryVisitor");
|
|
67
|
-
Object.defineProperty(exports, "visitConditions", { enumerable: true, get: function () { return QueryVisitor_1.visitConditions; } });
|
|
68
|
-
var Todo_1 = require("./Todo");
|
|
69
|
-
Object.defineProperty(exports, "Todo", { enumerable: true, get: function () { return Todo_1.Todo; } });
|
|
70
|
-
__exportStar(require("./changes"), exports);
|
|
71
|
-
var config_1 = require("./config");
|
|
72
|
-
Object.defineProperty(exports, "ConfigApi", { enumerable: true, get: function () { return config_1.ConfigApi; } });
|
|
73
|
-
Object.defineProperty(exports, "resetBootFlag", { enumerable: true, get: function () { return config_1.resetBootFlag; } });
|
|
74
|
-
var configure_1 = require("./configure");
|
|
75
|
-
Object.defineProperty(exports, "configureMetadata", { enumerable: true, get: function () { return configure_1.configureMetadata; } });
|
|
76
|
-
Object.defineProperty(exports, "getConstructorFromTaggedId", { enumerable: true, get: function () { return configure_1.getConstructorFromTaggedId; } });
|
|
77
|
-
Object.defineProperty(exports, "getMetadataForTable", { enumerable: true, get: function () { return configure_1.getMetadataForTable; } });
|
|
78
|
-
Object.defineProperty(exports, "getMetadataForType", { enumerable: true, get: function () { return configure_1.getMetadataForType; } });
|
|
79
|
-
Object.defineProperty(exports, "maybeGetConstructorFromReference", { enumerable: true, get: function () { return configure_1.maybeGetConstructorFromReference; } });
|
|
80
|
-
var driverApi_1 = require("./driverApi");
|
|
81
|
-
Object.defineProperty(exports, "driverApi", { enumerable: true, get: function () { return driverApi_1.driverApi; } });
|
|
82
|
-
__exportStar(require("./drivers"), exports);
|
|
83
|
-
var fields_2 = require("./fields");
|
|
84
|
-
Object.defineProperty(exports, "getField", { enumerable: true, get: function () { return fields_2.getField; } });
|
|
85
|
-
Object.defineProperty(exports, "isChangeableField", { enumerable: true, get: function () { return fields_2.isChangeableField; } });
|
|
86
|
-
Object.defineProperty(exports, "isFieldSet", { enumerable: true, get: function () { return fields_2.isFieldSet; } });
|
|
87
|
-
Object.defineProperty(exports, "setField", { enumerable: true, get: function () { return fields_2.setField; } });
|
|
88
|
-
__exportStar(require("./getProperties"), exports);
|
|
89
|
-
__exportStar(require("./json"), exports);
|
|
90
|
-
__exportStar(require("./keys"), exports);
|
|
91
|
-
var keywords_1 = require("./keywords");
|
|
92
|
-
Object.defineProperty(exports, "kq", { enumerable: true, get: function () { return keywords_1.kq; } });
|
|
93
|
-
Object.defineProperty(exports, "kqDot", { enumerable: true, get: function () { return keywords_1.kqDot; } });
|
|
94
|
-
Object.defineProperty(exports, "kqStar", { enumerable: true, get: function () { return keywords_1.kqStar; } });
|
|
95
|
-
var loadHints_1 = require("./loadHints");
|
|
96
|
-
Object.defineProperty(exports, "assertLoaded", { enumerable: true, get: function () { return loadHints_1.assertLoaded; } });
|
|
97
|
-
Object.defineProperty(exports, "ensureLoaded", { enumerable: true, get: function () { return loadHints_1.ensureLoaded; } });
|
|
98
|
-
Object.defineProperty(exports, "isLoaded", { enumerable: true, get: function () { return loadHints_1.isLoaded; } });
|
|
99
|
-
Object.defineProperty(exports, "isNew", { enumerable: true, get: function () { return loadHints_1.isNew; } });
|
|
100
|
-
Object.defineProperty(exports, "maybePopulateThen", { enumerable: true, get: function () { return loadHints_1.maybePopulateThen; } });
|
|
101
|
-
Object.defineProperty(exports, "unsafeLoaded", { enumerable: true, get: function () { return loadHints_1.unsafeLoaded; } });
|
|
102
|
-
__exportStar(require("./loadLens"), exports);
|
|
103
|
-
var FactoryLogger_1 = require("./logging/FactoryLogger");
|
|
104
|
-
Object.defineProperty(exports, "setFactoryWriter", { enumerable: true, get: function () { return FactoryLogger_1.setFactoryWriter; } });
|
|
105
|
-
__exportStar(require("./logging/FieldLogger"), exports);
|
|
106
|
-
var ReactionLogger_1 = require("./logging/ReactionLogger");
|
|
107
|
-
Object.defineProperty(exports, "ReactionLogger", { enumerable: true, get: function () { return ReactionLogger_1.ReactionLogger; } });
|
|
108
|
-
Object.defineProperty(exports, "setReactionLogging", { enumerable: true, get: function () { return ReactionLogger_1.setReactionLogging; } });
|
|
109
|
-
var newEntity_1 = require("./newEntity");
|
|
110
|
-
Object.defineProperty(exports, "lazyField", { enumerable: true, get: function () { return newEntity_1.lazyField; } });
|
|
111
|
-
var newTestInstance_2 = require("./newTestInstance");
|
|
112
|
-
Object.defineProperty(exports, "defaultValue", { enumerable: true, get: function () { return newTestInstance_2.defaultValue; } });
|
|
113
|
-
Object.defineProperty(exports, "getTestIndex", { enumerable: true, get: function () { return newTestInstance_2.getTestIndex; } });
|
|
114
|
-
Object.defineProperty(exports, "isFactoryCreation", { enumerable: true, get: function () { return newTestInstance_2.isFactoryCreation; } });
|
|
115
|
-
Object.defineProperty(exports, "maybeBranchValue", { enumerable: true, get: function () { return newTestInstance_2.maybeBranchValue; } });
|
|
116
|
-
Object.defineProperty(exports, "maybeNew", { enumerable: true, get: function () { return newTestInstance_2.maybeNew; } });
|
|
117
|
-
Object.defineProperty(exports, "maybeNewPoly", { enumerable: true, get: function () { return newTestInstance_2.maybeNewPoly; } });
|
|
118
|
-
Object.defineProperty(exports, "newTestInstance", { enumerable: true, get: function () { return newTestInstance_2.newTestInstance; } });
|
|
119
|
-
Object.defineProperty(exports, "noValue", { enumerable: true, get: function () { return newTestInstance_2.noValue; } });
|
|
120
|
-
Object.defineProperty(exports, "setFactoryLogging", { enumerable: true, get: function () { return newTestInstance_2.setFactoryLogging; } });
|
|
121
|
-
Object.defineProperty(exports, "testIndex", { enumerable: true, get: function () { return newTestInstance_2.testIndex; } });
|
|
122
|
-
var normalizeHints_1 = require("./normalizeHints");
|
|
123
|
-
Object.defineProperty(exports, "deepNormalizeHint", { enumerable: true, get: function () { return normalizeHints_1.deepNormalizeHint; } });
|
|
124
|
-
Object.defineProperty(exports, "normalizeHint", { enumerable: true, get: function () { return normalizeHints_1.normalizeHint; } });
|
|
125
|
-
var ImmutableEntitiesPlugin_1 = require("./plugins/ImmutableEntitiesPlugin");
|
|
126
|
-
Object.defineProperty(exports, "ImmutableEntitiesPlugin", { enumerable: true, get: function () { return ImmutableEntitiesPlugin_1.ImmutableEntitiesPlugin; } });
|
|
127
|
-
var JsonAggregatePreloader_1 = require("./preloading/JsonAggregatePreloader");
|
|
128
|
-
Object.defineProperty(exports, "JsonAggregatePreloader", { enumerable: true, get: function () { return JsonAggregatePreloader_1.JsonAggregatePreloader; } });
|
|
129
|
-
var reactiveHints_1 = require("./reactiveHints");
|
|
130
|
-
Object.defineProperty(exports, "convertToLoadHint", { enumerable: true, get: function () { return reactiveHints_1.convertToLoadHint; } });
|
|
131
|
-
Object.defineProperty(exports, "reverseReactiveHint", { enumerable: true, get: function () { return reactiveHints_1.reverseReactiveHint; } });
|
|
132
|
-
__exportStar(require("./relations"), exports);
|
|
133
|
-
var rules_1 = require("./rules");
|
|
134
|
-
Object.defineProperty(exports, "cannotBeChanged", { enumerable: true, get: function () { return rules_1.cannotBeChanged; } });
|
|
135
|
-
Object.defineProperty(exports, "cannotBeUpdated", { enumerable: true, get: function () { return rules_1.cannotBeUpdated; } });
|
|
136
|
-
Object.defineProperty(exports, "maxValueRule", { enumerable: true, get: function () { return rules_1.maxValueRule; } });
|
|
137
|
-
Object.defineProperty(exports, "minValueRule", { enumerable: true, get: function () { return rules_1.minValueRule; } });
|
|
138
|
-
Object.defineProperty(exports, "mustBeSubType", { enumerable: true, get: function () { return rules_1.mustBeSubType; } });
|
|
139
|
-
Object.defineProperty(exports, "newRequiredRule", { enumerable: true, get: function () { return rules_1.newRequiredRule; } });
|
|
140
|
-
Object.defineProperty(exports, "rangeValueRule", { enumerable: true, get: function () { return rules_1.rangeValueRule; } });
|
|
141
|
-
Object.defineProperty(exports, "ValidationCode", { enumerable: true, get: function () { return rules_1.ValidationCode; } });
|
|
142
|
-
Object.defineProperty(exports, "ValidationErrors", { enumerable: true, get: function () { return rules_1.ValidationErrors; } });
|
|
143
|
-
var runtimeConfig_1 = require("./runtimeConfig");
|
|
144
|
-
Object.defineProperty(exports, "setRuntimeConfig", { enumerable: true, get: function () { return runtimeConfig_1.setRuntimeConfig; } });
|
|
145
|
-
__exportStar(require("./serde"), exports);
|
|
146
|
-
__exportStar(require("./temporalMappers"), exports);
|
|
147
|
-
__exportStar(require("./typeMap"), exports);
|
|
148
|
-
var unnest_1 = require("./unnest");
|
|
149
|
-
Object.defineProperty(exports, "buildUnnestCte", { enumerable: true, get: function () { return unnest_1.buildUnnestCte; } });
|
|
150
|
-
var upsert_1 = require("./upsert");
|
|
151
|
-
Object.defineProperty(exports, "updatePartial", { enumerable: true, get: function () { return upsert_1.updatePartial; } });
|
|
152
|
-
Object.defineProperty(exports, "upsert", { enumerable: true, get: function () { return upsert_1.upsert; } });
|
|
153
|
-
var utils_2 = require("./utils");
|
|
154
|
-
Object.defineProperty(exports, "abbreviation", { enumerable: true, get: function () { return utils_2.abbreviation; } });
|
|
155
|
-
Object.defineProperty(exports, "asNew", { enumerable: true, get: function () { return utils_2.asNew; } });
|
|
156
|
-
Object.defineProperty(exports, "assertNever", { enumerable: true, get: function () { return utils_2.assertNever; } });
|
|
157
|
-
Object.defineProperty(exports, "cleanStringValue", { enumerable: true, get: function () { return utils_2.cleanStringValue; } });
|
|
158
|
-
Object.defineProperty(exports, "fail", { enumerable: true, get: function () { return utils_2.fail; } });
|
|
159
|
-
Object.defineProperty(exports, "failIfAnyRejected", { enumerable: true, get: function () { return utils_2.failIfAnyRejected; } });
|
|
160
|
-
Object.defineProperty(exports, "indexBy", { enumerable: true, get: function () { return utils_2.indexBy; } });
|
|
161
|
-
var withLoaded_1 = require("./withLoaded");
|
|
162
|
-
Object.defineProperty(exports, "ensureWithLoaded", { enumerable: true, get: function () { return withLoaded_1.ensureWithLoaded; } });
|
|
163
|
-
Object.defineProperty(exports, "StubbedRelation", { enumerable: true, get: function () { return withLoaded_1.StubbedRelation; } });
|
|
164
|
-
Object.defineProperty(exports, "withLoaded", { enumerable: true, get: function () { return withLoaded_1.withLoaded; } });
|
|
165
|
-
/**
|
|
166
|
-
* Sets each value in `values` on the current entity.
|
|
167
|
-
*
|
|
168
|
-
* The default behavior is that passing a value as either `null` or `undefined` will set
|
|
169
|
-
* the field as `undefined`, i.e. automatic `null` to `undefined` conversion.
|
|
170
|
-
*
|
|
171
|
-
* However, if you pass `ignoreUndefined: true`, then any opt that is `undefined` will be treated
|
|
172
|
-
* as "do not set", and `null` will still mean "set to `undefined`". This is useful for implementing
|
|
173
|
-
* APIs were an input of `undefined` means "do not set / noop" and `null` means "unset".
|
|
174
|
-
*
|
|
175
|
-
* Note that constructors _always_ call this method, but if the call is coming from `em.hydrate`, we
|
|
176
|
-
* use `values` being a primary key to short-circuit and let `hydrate` set the fields via the serde
|
|
177
|
-
* `setOnEntity` methods.
|
|
178
|
-
*/
|
|
179
|
-
function setOpts(entity, values, opts) {
|
|
180
|
-
const { calledFromConstructor = false, partial } = opts || {};
|
|
181
|
-
// If `values` is undefined, we're being called by `createPartial` that will do its
|
|
182
|
-
// own opt handling, but we still want the sync defaults applied after this opts handling.
|
|
183
|
-
if (values !== undefined) {
|
|
184
|
-
const meta = (0, EntityMetadata_1.getMetadata)(entity);
|
|
185
|
-
for (const [key, _value] of Object.entries(values)) {
|
|
186
|
-
setOpt(meta, entity, key, _value, partial, calledFromConstructor);
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* Applies some standard behavior & protections to `entity[key] = value`. I.e.
|
|
192
|
-
*
|
|
193
|
-
* - We don't set over AsyncProperties/relations/etc., and instead call current.set(value)
|
|
194
|
-
* - We catch missing/invalid field names
|
|
195
|
-
* - We handle FactoryInitialValues
|
|
196
|
-
*/
|
|
197
|
-
function setOpt(meta, entity, key, _value, partial = false, calledFromConstructor = false) {
|
|
198
|
-
const field = meta.allFields[key];
|
|
199
|
-
if (!field) {
|
|
200
|
-
// Allow setting non-field properties like fullName setters
|
|
201
|
-
const prop = (0, getProperties_1.getProperties)(meta)[key];
|
|
202
|
-
if (!prop) {
|
|
203
|
-
throw new Error(`Unknown field ${key}`);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
// If partial is set, we treat undefined as a noop
|
|
207
|
-
if (partial && _value === undefined)
|
|
208
|
-
return;
|
|
209
|
-
// Ignore the STI discriminator, em.register will set this accordingly
|
|
210
|
-
if (meta.inheritanceType === "sti" && (0, EntityMetadata_1.getBaseMeta)(meta).stiDiscriminatorField === key)
|
|
211
|
-
return;
|
|
212
|
-
// We let optional opts fields be `| null` for convenience, and convert to undefined.
|
|
213
|
-
const value = _value === null ? undefined : _value;
|
|
214
|
-
// Use `getField` to side-step `id` blowing up on new entities that are setting an
|
|
215
|
-
// explicit id; otherwise use `entity[key]` to get back the relation.
|
|
216
|
-
const current = key === "id" ? (0, fields_1.getField)(entity, key) : entity[key];
|
|
217
|
-
if (current instanceof AbstractRelationImpl_1.AbstractRelationImpl) {
|
|
218
|
-
if (calledFromConstructor) {
|
|
219
|
-
current.setFromOpts(value);
|
|
220
|
-
}
|
|
221
|
-
else {
|
|
222
|
-
current.set(value);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
else if ((0, relations_1.isAsyncProperty)(current) || (0, relations_1.isReactiveGetter)(current)) {
|
|
226
|
-
throw new Error(`Invalid argument, cannot set over ${key} ${current.constructor.name}`);
|
|
227
|
-
}
|
|
228
|
-
else if ((0, relations_1.isReactiveField)(current) || (0, relations_1.isReactiveQueryField)(current)) {
|
|
229
|
-
if (value instanceof newTestInstance_1.FactoryInitialValue) {
|
|
230
|
-
if (current instanceof ReactiveField_1.ReactiveFieldImpl) {
|
|
231
|
-
current.setFactoryValue(value.value);
|
|
232
|
-
}
|
|
233
|
-
else if (current instanceof ReactiveQueryField_1.ReactiveQueryFieldImpl) {
|
|
234
|
-
current.setFactoryValue(value.value);
|
|
235
|
-
}
|
|
236
|
-
else {
|
|
237
|
-
throw new Error(`Unhandled case ${current.constructor.name}`);
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
else {
|
|
241
|
-
throw new Error(`Invalid argument, cannot set over ${key} ${current.constructor.name}`);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
else {
|
|
245
|
-
// If setting an explicit id, go through setField, otherwise use
|
|
246
|
-
// `entity[key]` to set the value directly to that we go through setters.
|
|
247
|
-
if (key === "id" && entity.isNewEntity) {
|
|
248
|
-
(0, fields_1.setField)(entity, key, value);
|
|
249
|
-
}
|
|
250
|
-
else {
|
|
251
|
-
entity[key] = value;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
function ensureNotDeleted(entity, ignore) {
|
|
256
|
-
if (entity.isDeletedEntity && (ignore === undefined || (0, BaseEntity_1.getInstanceData)(entity).isDeletedAndFlushed)) {
|
|
257
|
-
(0, utils_1.fail)(`${entity} is marked as deleted`);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
function getRequiredKeys(entityOrType) {
|
|
261
|
-
return Object.values((0, EntityMetadata_1.getMetadata)(entityOrType).fields)
|
|
262
|
-
.filter((f) => f.required)
|
|
263
|
-
.map((f) => f.fieldName);
|
|
264
|
-
}
|
|
265
|
-
function getRelations(entity) {
|
|
266
|
-
return Object.entries((0, getProperties_1.getProperties)((0, EntityMetadata_1.getMetadata)(entity)))
|
|
267
|
-
.filter(([, v]) => v instanceof AbstractRelationImpl_1.AbstractRelationImpl)
|
|
268
|
-
.map(([name]) => entity[name]);
|
|
269
|
-
}
|
|
270
|
-
function getRelationEntries(entity) {
|
|
271
|
-
return Object.entries((0, getProperties_1.getProperties)((0, EntityMetadata_1.getMetadata)(entity)))
|
|
272
|
-
.filter(([, v]) => v instanceof AbstractRelationImpl_1.AbstractRelationImpl)
|
|
273
|
-
.map(([name]) => [name, entity[name]]);
|
|
274
|
-
}
|
|
275
|
-
/** Casts a "maybe abstract" cstr to a concrete cstr when the calling code knows it's safe. */
|
|
276
|
-
function asConcreteCstr(cstr) {
|
|
277
|
-
return cstr;
|
|
278
|
-
}
|
|
279
|
-
/**
|
|
280
|
-
* Thrown when `.id` is accessed on an entity that does not have an id yet.
|
|
281
|
-
*
|
|
282
|
-
* For Postgres, entities are actually allowed to have ids pre-INSERT, if you call
|
|
283
|
-
* `em.assignNewIds()`. Other databases typically require INSERTs to trigger the auto
|
|
284
|
-
* id assignment.
|
|
285
|
-
*/
|
|
286
|
-
class NoIdError extends Error {
|
|
287
|
-
}
|
|
288
|
-
exports.NoIdError = NoIdError;
|
|
289
|
-
/** Throws a `NoIdError` for `entity`, i.e. because `id` was called before being saved. */
|
|
290
|
-
function failNoIdYet(entity) {
|
|
291
|
-
throw new NoIdError(`${entity} has no id yet`);
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
* Add a static function since getters can't have type guards.
|
|
295
|
-
*
|
|
296
|
-
* See https://github.com/microsoft/TypeScript/issues/43368
|
|
297
|
-
*/
|
|
298
|
-
function isNewEntity(entity) {
|
|
299
|
-
return entity.isNewEntity;
|
|
300
|
-
}
|
|
301
27
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uCAAuC;AACvC,6CAA2B;AAE3B,wFAAwF;AACxF,2CAA+G;AAApF,uGAAA,QAAQ,OAAA;AAAE,sGAAA,OAAO,OAAA;AAAE,4GAAA,aAAa,OAAA;AAAE,oGAAA,KAAK,OAAA;AAAE,oHAAA,qBAAqB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knex-export.d.ts","sourceRoot":"","sources":["../src/knex-export.ts"],"names":[],"mappings":"AACA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Re-export everything from joist-knex
|
|
18
|
+
__exportStar(require("joist-knex"), exports);
|
|
19
|
+
//# sourceMappingURL=knex-export.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"knex-export.js","sourceRoot":"","sources":["../src/knex-export.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAuC;AACvC,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pg-migrate.d.ts","sourceRoot":"","sources":["../src/pg-migrate.ts"],"names":[],"mappings":"AAGA,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
const joist_migration_utils_1 = require("joist-migration-utils");
|
|
18
|
+
// Re-export everything from joist-migration-utils
|
|
19
|
+
__exportStar(require("joist-migration-utils"), exports);
|
|
20
|
+
// If we're being run locally.
|
|
21
|
+
if (require.main === module) {
|
|
22
|
+
if (Object.fromEntries === undefined) {
|
|
23
|
+
throw new Error("Joist requires Node v12.4.0+");
|
|
24
|
+
}
|
|
25
|
+
(0, joist_migration_utils_1.joistMigrate)().catch((err) => {
|
|
26
|
+
console.error(err);
|
|
27
|
+
process.exit(1);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=pg-migrate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pg-migrate.js","sourceRoot":"","sources":["../src/pg-migrate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAAqD;AAErD,kDAAkD;AAClD,wDAAsC;AAEtC,8BAA8B;AAC9B,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,IAAI,MAAM,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;QACrC,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;IAClD,CAAC;IACD,IAAA,oCAAY,GAAE,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;QAC3B,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACnB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgres-driver.d.ts","sourceRoot":"","sources":["../src/postgres-driver.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setupLatestPgTypes = exports.PostgresDriver = void 0;
|
|
4
|
+
var PostgresDriver_1 = require("./PostgresDriver");
|
|
5
|
+
Object.defineProperty(exports, "PostgresDriver", { enumerable: true, get: function () { return PostgresDriver_1.PostgresDriver; } });
|
|
6
|
+
Object.defineProperty(exports, "setupLatestPgTypes", { enumerable: true, get: function () { return PostgresDriver_1.setupLatestPgTypes; } });
|
|
7
|
+
//# sourceMappingURL=postgres-driver.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgres-driver.js","sourceRoot":"","sources":["../src/postgres-driver.ts"],"names":[],"mappings":";;;AAAA,mDAA0F;AAAjF,gHAAA,cAAc,OAAA;AAAsB,oHAAA,kBAAkB,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tests-export.d.ts","sourceRoot":"","sources":["../src/tests-export.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Re-export everything from joist-test-utils
|
|
18
|
+
__exportStar(require("joist-test-utils"), exports);
|
|
19
|
+
//# sourceMappingURL=tests-export.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tests-export.js","sourceRoot":"","sources":["../src/tests-export.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,mDAAiC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/** Returns true if we're inside a trusted context (reactive field recalculation or validation). */
|
|
2
|
+
export declare function isInTrustedContext(): boolean;
|
|
3
|
+
/** Runs the given function within a trusted context. */
|
|
4
|
+
export declare function runInTrustedContext<T>(fn: () => T): T;
|
|
5
|
+
//# sourceMappingURL=trusted.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trusted.d.ts","sourceRoot":"","sources":["../src/trusted.ts"],"names":[],"mappings":"AAIA,mGAAmG;AACnG,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C;AAED,wDAAwD;AACxD,wBAAgB,mBAAmB,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC,CAErD"}
|
package/build/trusted.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isInTrustedContext = isInTrustedContext;
|
|
4
|
+
exports.runInTrustedContext = runInTrustedContext;
|
|
5
|
+
const async_hooks_1 = require("async_hooks");
|
|
6
|
+
const trustedContext = new async_hooks_1.AsyncLocalStorage();
|
|
7
|
+
/** Returns true if we're inside a trusted context (reactive field recalculation or validation). */
|
|
8
|
+
function isInTrustedContext() {
|
|
9
|
+
return trustedContext.getStore() === true;
|
|
10
|
+
}
|
|
11
|
+
/** Runs the given function within a trusted context. */
|
|
12
|
+
function runInTrustedContext(fn) {
|
|
13
|
+
return trustedContext.run(true, fn);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=trusted.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trusted.js","sourceRoot":"","sources":["../src/trusted.ts"],"names":[],"mappings":";;AAKA,gDAEC;AAGD,kDAEC;AAZD,6CAAgD;AAEhD,MAAM,cAAc,GAAG,IAAI,+BAAiB,EAAW,CAAC;AAExD,mGAAmG;AACnG,SAAgB,kBAAkB;IAChC,OAAO,cAAc,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC;AAC5C,CAAC;AAED,wDAAwD;AACxD,SAAgB,mBAAmB,CAAI,EAAW;IAChD,OAAO,cAAc,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACtC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,45 +1,114 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "joist-orm",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/joist-orm/joist-orm.git",
|
|
8
|
-
"directory": "packages/
|
|
8
|
+
"directory": "packages/orm"
|
|
9
9
|
},
|
|
10
10
|
"engines": {
|
|
11
11
|
"node": "^12.17.0 || ^13.10.0 || ^14 || >= 16.0.0 < 16.2.0 || >= 16.3.0"
|
|
12
12
|
},
|
|
13
13
|
"main": "build/index.js",
|
|
14
14
|
"types": "build/index.d.ts",
|
|
15
|
+
"typesVersions": {
|
|
16
|
+
"*": {
|
|
17
|
+
"pg": [
|
|
18
|
+
"build/postgres-driver.d.ts"
|
|
19
|
+
],
|
|
20
|
+
"codegen": [
|
|
21
|
+
"build/codegen.d.ts"
|
|
22
|
+
],
|
|
23
|
+
"pg-migrate": [
|
|
24
|
+
"build/pg-migrate.d.ts"
|
|
25
|
+
],
|
|
26
|
+
"graphql": [
|
|
27
|
+
"build/graphql-export.d.ts"
|
|
28
|
+
],
|
|
29
|
+
"graphql-codegen": [
|
|
30
|
+
"build/graphql-codegen-export.d.ts"
|
|
31
|
+
],
|
|
32
|
+
"tests": [
|
|
33
|
+
"build/tests-export.d.ts"
|
|
34
|
+
],
|
|
35
|
+
"knex": [
|
|
36
|
+
"build/knex-export.d.ts"
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"bin": {
|
|
41
|
+
"joist-codegen": "./build/codegen.js",
|
|
42
|
+
"joist-pg-migrate": "./build/pg-migrate.js"
|
|
43
|
+
},
|
|
44
|
+
"exports": {
|
|
45
|
+
".": {
|
|
46
|
+
"types": "./build/index.d.ts",
|
|
47
|
+
"default": "./build/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./codegen": {
|
|
50
|
+
"types": "./build/codegen.d.ts",
|
|
51
|
+
"default": "./build/codegen.js"
|
|
52
|
+
},
|
|
53
|
+
"./pg-migrate": {
|
|
54
|
+
"types": "./build/pg-migrate.d.ts",
|
|
55
|
+
"default": "./build/pg-migrate.js"
|
|
56
|
+
},
|
|
57
|
+
"./graphql": {
|
|
58
|
+
"types": "./build/graphql-export.d.ts",
|
|
59
|
+
"default": "./build/graphql-export.js"
|
|
60
|
+
},
|
|
61
|
+
"./graphql-codegen": {
|
|
62
|
+
"types": "./build/graphql-codegen-export.d.ts",
|
|
63
|
+
"default": "./build/graphql-codegen-export.js"
|
|
64
|
+
},
|
|
65
|
+
"./tests": {
|
|
66
|
+
"types": "./build/tests-export.d.ts",
|
|
67
|
+
"default": "./build/tests-export.js"
|
|
68
|
+
},
|
|
69
|
+
"./knex": {
|
|
70
|
+
"types": "./build/knex-export.d.ts",
|
|
71
|
+
"default": "./build/knex-export.js"
|
|
72
|
+
},
|
|
73
|
+
"./pg": {
|
|
74
|
+
"types": "./build/postgres-driver.d.ts",
|
|
75
|
+
"default": "./build/postgres-driver.js"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
15
78
|
"scripts": {
|
|
16
|
-
"
|
|
79
|
+
"build": "tsc",
|
|
17
80
|
"format": "prettier --ignore-path ../../.prettierignore --write '{schema,migrations,src}/**/*.{ts,js,tsx,jsx,graphql}'"
|
|
18
81
|
},
|
|
19
82
|
"files": [
|
|
20
83
|
"build"
|
|
21
84
|
],
|
|
22
85
|
"dependencies": {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"joist-
|
|
86
|
+
"joist-codegen": "2.0.0",
|
|
87
|
+
"joist-core": "2.0.0",
|
|
88
|
+
"joist-graphql-codegen": "2.0.0",
|
|
89
|
+
"joist-graphql-resolver-utils": "2.0.0",
|
|
90
|
+
"joist-knex": "2.0.0",
|
|
91
|
+
"joist-migration-utils": "2.0.0",
|
|
92
|
+
"joist-test-utils": "2.0.0",
|
|
93
|
+
"joist-utils": "2.0.0",
|
|
28
94
|
"knex": "^3.1.0",
|
|
29
|
-
"object-hash": "^3.0.0",
|
|
30
95
|
"pg": "^8.16.3",
|
|
31
|
-
"pg-types": "^4.1.0"
|
|
96
|
+
"pg-types": "^4.1.0",
|
|
97
|
+
"postgres-array": "^3.0.4"
|
|
98
|
+
},
|
|
99
|
+
"peerDependencies": {
|
|
100
|
+
"node-pg-migrate": "^8.0.4"
|
|
101
|
+
},
|
|
102
|
+
"peerDependenciesMeta": {
|
|
103
|
+
"node-pg-migrate": {
|
|
104
|
+
"optional": true
|
|
105
|
+
}
|
|
32
106
|
},
|
|
33
107
|
"devDependencies": {
|
|
34
|
-
"@swc/core": "^1.13.20",
|
|
35
|
-
"@swc/jest": "^0.2.39",
|
|
36
|
-
"@types/jest": "^30.0.0",
|
|
37
108
|
"@types/node": "^24.6.0",
|
|
38
|
-
"
|
|
109
|
+
"@types/pg": "^8.15.5",
|
|
39
110
|
"prettier": "^3.6.2",
|
|
40
111
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
41
|
-
"temporal-polyfill": "^0.3.0",
|
|
42
|
-
"ts-node-dev": "^2.0.0",
|
|
43
112
|
"tsconfig-paths": "^4.2.0",
|
|
44
113
|
"typescript": "5.9.2"
|
|
45
114
|
}
|
package/build/AliasAssigner.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AliasAssigner.d.ts","sourceRoot":"","sources":["../src/AliasAssigner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGhD,qBAAa,aAAa;;gBAGZ,KAAK,CAAC,EAAE,eAAe;IAenC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;CAMpC"}
|