vona-module-a-orm 5.0.72 → 5.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -9
- package/dist/lib/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/lib/database.d.ts +0 -6
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
|
2
2
|
import { BeanInfo, BeanAopMethodBase, BeanBase, deepExtend, appResource, Virtual, beanFullNameFromOnionName, cast, useApp, BeanSimple, combineConfigDefault, BeanScopeBase, createBeanDecorator, PickClassInner, $Class } from 'vona';
|
|
3
|
-
import { AopMethod
|
|
3
|
+
import { AopMethod } from 'vona-module-a-aspect';
|
|
4
4
|
import { Service, Bean, Scope } from 'vona-module-a-bean';
|
|
5
5
|
import { AsyncLocalStorage, AsyncResource } from 'node:async_hooks';
|
|
6
6
|
import knex from 'knex';
|
|
@@ -3921,13 +3921,6 @@ function $locale(key) {
|
|
|
3921
3921
|
}
|
|
3922
3922
|
/** scope: end */
|
|
3923
3923
|
|
|
3924
|
-
function Transaction(options) {
|
|
3925
|
-
return Aspect.aopMethod('a-orm:transaction', options);
|
|
3926
|
-
}
|
|
3927
|
-
const Database = {
|
|
3928
|
-
transaction: Transaction
|
|
3929
|
-
};
|
|
3930
|
-
|
|
3931
3924
|
function DatabaseDialect() {
|
|
3932
3925
|
return createBeanDecorator('databaseDialect');
|
|
3933
3926
|
}
|
|
@@ -4401,4 +4394,4 @@ const $relationMutate = {
|
|
|
4401
4394
|
belongsToMany
|
|
4402
4395
|
};
|
|
4403
4396
|
|
|
4404
|
-
export { $Dto, $column, $columns, $columnsAll, $locale, $relation, $relationDynamic, $relationMutate, $tableColumns, $tableComments, $tableDefaults, $tableName, AopMethodTransaction, BeanDatabase, BeanDatabaseDialectBase, BeanModel, BeanModelBase, BeanModelMeta, BroadcastColumnsClear,
|
|
4397
|
+
export { $Dto, $column, $columns, $columnsAll, $locale, $relation, $relationDynamic, $relationMutate, $tableColumns, $tableComments, $tableDefaults, $tableName, AopMethodTransaction, BeanDatabase, BeanDatabaseDialectBase, BeanModel, BeanModelBase, BeanModelMeta, BroadcastColumnsClear, DatabaseDialect, DtoQueryBase, DtoQueryPageBase, Entity, EntityBase, EntityBaseEmpty, EntityBaseInner, EntityBaseSimple, EventClientNameReal, EventColumnsClear, ExtendKnex, ExtendSchemaBuilder, ExtendTableBuilder, Main, Model, Op, OpAggrs, OpJoint, OpJointValues, OpNormal, OpNormalValues, OpValues, QueueDoubleDelete, ScheduleSoftDeletionPrune, ScopeModuleAOrm, ServiceCacheEntity, ServiceCacheQuery, ServiceColumns, ServiceColumnsCache, ServiceDatabase, ServiceDatabaseAsyncLocalStorage, ServiceDatabaseClient, ServiceDb, ServiceEntityResolver, ServiceModelResolver, ServiceRelations, ServiceTransaction, ServiceTransactionAsyncLocalStorage, ServiceTransactionConsistency, ServiceTransactionFiber, ServiceTransactionState, SymbolKeyEntity, SymbolKeyEntityMeta, SymbolKeyFieldsMore, SymbolKeyModelOptions, TransactionIsolationLevelsMap, buildWhere, config, configDefault, errors, getClassEntityFromClassModel, getTableOrTableAlias, getTargetColumnName, isRaw, isRef, locales, prepareClassModel, prepareColumns };
|
package/dist/lib/index.d.ts
CHANGED
package/package.json
CHANGED
package/dist/lib/database.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { IAopMethodOptionsTransaction } from '../bean/aopMethod.transaction.ts';
|
|
2
|
-
declare function Transaction(options?: Partial<IAopMethodOptionsTransaction>): MethodDecorator;
|
|
3
|
-
export declare const Database: {
|
|
4
|
-
transaction: typeof Transaction;
|
|
5
|
-
};
|
|
6
|
-
export {};
|