vona-module-a-orm 5.0.72 → 5.0.74

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.
@@ -13,6 +13,7 @@ declare module 'vona-module-a-orm' {
13
13
  interface AopMethodTransaction {
14
14
  get $beanFullName(): 'a-orm.aopMethod.transaction';
15
15
  get $onionName(): 'a-orm:transaction';
16
+ get $onionOptions(): IAopMethodOptionsTransaction;
16
17
  }
17
18
  }
18
19
  /** aopMethod: end */
@@ -98,6 +99,7 @@ declare module 'vona-module-a-orm' {
98
99
  interface BroadcastColumnsClear {
99
100
  get $beanFullName(): 'a-orm.broadcast.columnsClear';
100
101
  get $onionName(): 'a-orm:columnsClear';
102
+ get $onionOptions(): IDecoratorBroadcastOptions;
101
103
  }
102
104
  }
103
105
  /** broadcast: end */
@@ -161,6 +163,7 @@ declare module 'vona-module-a-orm' {
161
163
  interface QueueDoubleDelete {
162
164
  get $beanFullName(): 'a-orm.queue.doubleDelete';
163
165
  get $onionName(): 'a-orm:doubleDelete';
166
+ get $onionOptions(): IDecoratorQueueOptions;
164
167
  }
165
168
  }
166
169
  /** queue: end */
@@ -184,6 +187,7 @@ declare module 'vona-module-a-orm' {
184
187
  interface ScheduleSoftDeletionPrune {
185
188
  get $beanFullName(): 'a-orm.schedule.softDeletionPrune';
186
189
  get $onionName(): 'a-orm:softDeletionPrune';
190
+ get $onionOptions(): IDecoratorScheduleOptions;
187
191
  }
188
192
  }
189
193
  /** schedule: end */
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, Aspect } from 'vona-module-a-aspect';
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, Database, 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 };
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 };
@@ -1,5 +1,4 @@
1
1
  export * from './columns.ts';
2
- export * from './database.ts';
3
2
  export * from './databaseDialect.ts';
4
3
  export * from './dto/index.ts';
5
4
  export * from './entity.ts';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-orm",
3
3
  "type": "module",
4
- "version": "5.0.72",
4
+ "version": "5.0.74",
5
5
  "title": "a-orm",
6
6
  "vonaModule": {
7
7
  "capabilities": {
@@ -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 {};