vona-module-a-version 5.0.35 → 5.0.36

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.
@@ -328,7 +328,7 @@ export declare const locales: {
328
328
  /** locale: end */
329
329
  /** error: begin */
330
330
  export * from '../config/errors.ts';
331
- import type { Errors } from '../config/errors.ts';
331
+ import type { errors } from '../config/errors.ts';
332
332
  /** error: end */
333
333
  /** scope: begin */
334
334
  import { BeanScopeBase, type BeanScopeUtil, type TypeModuleErrors, type TypeModuleLocales, type TypeLocaleBase } from 'vona';
@@ -336,7 +336,7 @@ export declare class ScopeModuleAVersion extends BeanScopeBase {
336
336
  }
337
337
  export interface ScopeModuleAVersion {
338
338
  util: BeanScopeUtil;
339
- error: TypeModuleErrors<typeof Errors>;
339
+ error: TypeModuleErrors<typeof errors>;
340
340
  locale: TypeModuleLocales<(typeof locales)[TypeLocaleBase]>;
341
341
  entity: IModuleEntity;
342
342
  model: IModuleModel;
@@ -1,3 +1,3 @@
1
- export declare enum Errors {
2
- ModuleOld = 1001
3
- }
1
+ export declare const errors: {
2
+ readonly ModuleOld: 1001;
3
+ };
package/dist/index.js CHANGED
@@ -582,10 +582,9 @@ var locale_zh_cn = {
582
582
  ModuleOld: '模块 %s 过旧'
583
583
  };
584
584
 
585
- let Errors = /*#__PURE__*/function (Errors) {
586
- Errors[Errors["ModuleOld"] = 1001] = "ModuleOld";
587
- return Errors;
588
- }({});
585
+ const errors = {
586
+ ModuleOld: 1001
587
+ };
589
588
 
590
589
  var _dec, _dec2, _class;
591
590
  const locales = {
@@ -600,4 +599,4 @@ function $locale(key) {
600
599
  }
601
600
  /** scope: end */
602
601
 
603
- export { $locale, EntityVersion, EntityVersionInit, EntityViewRecord, Errors, EventVersionDone, MetaVersion, ModelVersion, ModelVersionInit, ModelViewRecord, ScopeModuleAVersion, ServiceDatabase, ServiceVersion, StartupDatabaseInit, StartupDatabaseName, StartupInstanceInit, locales };
602
+ export { $locale, EntityVersion, EntityVersionInit, EntityViewRecord, EventVersionDone, MetaVersion, ModelVersion, ModelVersionInit, ModelViewRecord, ScopeModuleAVersion, ServiceDatabase, ServiceVersion, StartupDatabaseInit, StartupDatabaseName, StartupInstanceInit, errors, locales };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-module-a-version",
3
3
  "type": "module",
4
- "version": "5.0.35",
4
+ "version": "5.0.36",
5
5
  "vonaModule": {
6
6
  "fileVersion": 1,
7
7
  "dependencies": {},