@samet-it/be-base-common 1.3.2 → 1.3.3

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.
@@ -1,3 +1,7 @@
1
1
  export * from './index.types.js';
2
2
  export * from './error.handler.js';
3
- export * from './items/index.js';
3
+ export * from './page-not-found.error.js';
4
+ export * from './record-duplicated.error.js';
5
+ export * from './record-not-found.error.js';
6
+ export * from './samet.error.js';
7
+ export * from './validation.error.js';
@@ -1,3 +1,7 @@
1
1
  export * from './index.types.js';
2
2
  export * from './error.handler.js';
3
- export * from './items/index.js';
3
+ export * from './page-not-found.error.js';
4
+ export * from './record-duplicated.error.js';
5
+ export * from './record-not-found.error.js';
6
+ export * from './samet.error.js';
7
+ export * from './validation.error.js';
package/dist/index.d.ts CHANGED
@@ -4,6 +4,8 @@ export * from './exit/index.js';
4
4
  export * from './generator/index.js';
5
5
  export * from './logger/index.js';
6
6
  export * from './model/index.js';
7
+ export * from './index.foretell.js';
8
+ export * from './index.loader.js';
7
9
  export * from '@leyyo/asl';
8
10
  export * from '@leyyo/assert';
9
11
  export * from '@leyyo/builder';
@@ -0,0 +1 @@
1
+ export declare const foretell_sametBaseCommon: (() => void)[];
@@ -0,0 +1,11 @@
1
+ import { leyyo } from "@leyyo/common";
2
+ import { FQN } from "./internal.js";
3
+ // noinspection JSUnusedGlobalSymbols
4
+ export const foretell_sametBaseCommon = [
5
+ // errors
6
+ () => leyyo.errorPool.lazy(FQN, 'PageNotFoundError', import('./error/page-not-found.error.js').then(m => m.PageNotFoundError), { i18n: true, emit: true }),
7
+ () => leyyo.errorPool.lazy(FQN, 'RecordDuplicatedError', import('./error/record-duplicated.error.js').then(m => m.RecordDuplicatedError), { i18n: true, emit: true }),
8
+ () => leyyo.errorPool.lazy(FQN, 'RecordNotFoundError', import('./error/record-not-found.error.js').then(m => m.RecordNotFoundError), { i18n: true, emit: true }),
9
+ () => leyyo.errorPool.lazy(FQN, 'SametError', import('./error/samet.error.js').then(m => m.SametError), { i18n: true, emit: true }),
10
+ () => leyyo.errorPool.lazy(FQN, 'ValidationError', import('./error/validation.error.js').then(m => m.ValidationError), { i18n: true, emit: true }),
11
+ ];
package/dist/index.js CHANGED
@@ -4,6 +4,8 @@ export * from './exit/index.js';
4
4
  export * from './generator/index.js';
5
5
  export * from './logger/index.js';
6
6
  export * from './model/index.js';
7
+ export * from './index.foretell.js';
8
+ export * from './index.loader.js';
7
9
  export * from '@leyyo/asl';
8
10
  export * from '@leyyo/assert';
9
11
  export * from '@leyyo/builder';
@@ -0,0 +1 @@
1
+ export declare const loader_sametBaseCommon: import("@leyyo/common").LoaderLike;
@@ -0,0 +1,8 @@
1
+ import { defineLoader } from "@leyyo/common";
2
+ import { FQN } from "./internal.js";
3
+ // noinspection JSUnusedGlobalSymbols
4
+ export const loader_sametBaseCommon = defineLoader(FQN,
5
+ // errors
6
+ () => import('./error/page-not-found.error.js').then(m => m.PageNotFoundError), () => import('./error/record-duplicated.error.js').then(m => m.RecordDuplicatedError), () => import('./error/record-not-found.error.js').then(m => m.RecordNotFoundError), () => import('./error/samet.error.js').then(m => m.SametError), () => import('./error/validation.error.js').then(m => m.ValidationError),
7
+ // instances
8
+ () => import('./config/base-common.config.js').then(m => m.baseCommonConfig), () => import('./error/error.handler.js').then(m => m.errorHandler), () => import('./exit/exit-handler.impl.js').then(m => m.exitHandler), () => import('./generator/generator.js').then(m => m.generator), () => import('./logger/logger.impl.js').then(m => m.logger));
@@ -0,0 +1 @@
1
+ export declare const FQN = "samet-it.be-base-common";
@@ -0,0 +1 @@
1
+ export const FQN = 'samet-it.be-base-common';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samet-it/be-base-common",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Backend Base Common",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,5 +0,0 @@
1
- export * from './page-not-found.error.js';
2
- export * from './record-duplicated.error.js';
3
- export * from './record-not-found.error.js';
4
- export * from './samet.error.js';
5
- export * from './validation.error.js';
@@ -1,5 +0,0 @@
1
- export * from './page-not-found.error.js';
2
- export * from './record-duplicated.error.js';
3
- export * from './record-not-found.error.js';
4
- export * from './samet.error.js';
5
- export * from './validation.error.js';