vona-module-a-orm 5.0.68 → 5.0.70
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/.metadata/index.d.ts +5 -2
- package/dist/config/errors.d.ts +3 -3
- package/dist/index.js +4 -5
- package/package.json +1 -1
|
@@ -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 {
|
|
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
|
|
226
|
+
error: TypeModuleErrors<typeof errors>;
|
|
227
227
|
locale: TypeModuleLocales<(typeof locales)[TypeLocaleBase]>;
|
|
228
228
|
service: IModuleService;
|
|
229
229
|
broadcast: IModuleBroadcast;
|
|
@@ -244,6 +244,9 @@ declare module 'vona' {
|
|
|
244
244
|
interface IBeanScopeLocale {
|
|
245
245
|
'a-orm': (typeof locales)[TypeLocaleBase];
|
|
246
246
|
}
|
|
247
|
+
interface IBeanScopeErrors {
|
|
248
|
+
'a-orm': typeof errors;
|
|
249
|
+
}
|
|
247
250
|
}
|
|
248
251
|
export declare function $locale<K extends keyof (typeof locales)[TypeLocaleBase]>(key: K): `a-orm::${K}`;
|
|
249
252
|
/** scope: end */
|
package/dist/config/errors.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare
|
|
2
|
-
ShouldSpecifyTable
|
|
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
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
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,
|
|
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 };
|