vona-module-a-orm 5.0.68 → 5.0.69

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.
@@ -211,7 +211,7 @@ export declare const locales: {
211
211
  /** locale: end */
212
212
  /** error: begin */
213
213
  export * from '../config/errors.ts';
214
- import type { Errors } from '../config/errors.ts';
214
+ import type { errors } from '../config/errors.ts';
215
215
  /** error: end */
216
216
  /** main: begin */
217
217
  export * from '../main.ts';
@@ -223,7 +223,7 @@ export declare class ScopeModuleAOrm extends BeanScopeBase {
223
223
  export interface ScopeModuleAOrm {
224
224
  util: BeanScopeUtil;
225
225
  config: TypeModuleConfig<typeof config>;
226
- error: TypeModuleErrors<typeof Errors>;
226
+ error: TypeModuleErrors<typeof errors>;
227
227
  locale: TypeModuleLocales<(typeof locales)[TypeLocaleBase]>;
228
228
  service: IModuleService;
229
229
  broadcast: IModuleBroadcast;
@@ -1,3 +1,3 @@
1
- export declare enum Errors {
2
- ShouldSpecifyTable = 1001
3
- }
1
+ export declare const errors: {
2
+ readonly ShouldSpecifyTable: 1001;
3
+ };
package/dist/index.js CHANGED
@@ -3765,10 +3765,9 @@ var locale_zh_cn = {
3765
3765
  ShouldSpecifyTable: '应该指定表名'
3766
3766
  };
3767
3767
 
3768
- let Errors = /*#__PURE__*/function (Errors) {
3769
- Errors[Errors["ShouldSpecifyTable"] = 1001] = "ShouldSpecifyTable";
3770
- return Errors;
3771
- }({});
3768
+ const errors = {
3769
+ ShouldSpecifyTable: 1001
3770
+ };
3772
3771
 
3773
3772
  function ExtendSchemaBuilder(app) {
3774
3773
  ['fetchDatabases', 'createDatabase', 'dropDatabase', 'fetchIndexes'].forEach(method => {
@@ -4402,4 +4401,4 @@ const $relationMutate = {
4402
4401
  belongsToMany
4403
4402
  };
4404
4403
 
4405
- 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, Errors, 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, getClassEntityFromClassModel, getTableOrTableAlias, getTargetColumnName, isRaw, isRef, locales, prepareClassModel, prepareColumns };
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 };
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.68",
4
+ "version": "5.0.69",
5
5
  "title": "a-orm",
6
6
  "vonaModule": {
7
7
  "capabilities": {