@adaas/a-concept 0.1.46 → 0.1.47
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/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +49 -1
- package/dist/index.d.ts +49 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/global/A-Entity/A-Entity.class.ts +2 -2
- package/src/global/A-Entity/A-Entity.error.ts +1 -1
- package/src/index.ts +16 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaas/a-concept",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"description": "A-Concept is a framework to build new Applications within or outside the ADAAS ecosystem. This framework is designed to be modular structure regardless environment and program goal.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -8,7 +8,7 @@ import { A_Scope } from "../A-Scope/A-Scope.class";
|
|
|
8
8
|
import { A_FormatterHelper } from "@adaas/a-concept/helpers/A_Formatter.helper";
|
|
9
9
|
import { ASEID } from "../ASEID/ASEID.class";
|
|
10
10
|
import { A_IdentityHelper } from "@adaas/a-concept/helpers/A_Identity.helper";
|
|
11
|
-
import {
|
|
11
|
+
import { A_EntityError } from "./A-Entity.error";
|
|
12
12
|
import { A_Feature } from "../A-Feature/A-Feature.class";
|
|
13
13
|
|
|
14
14
|
|
|
@@ -236,7 +236,7 @@ export class A_Entity<
|
|
|
236
236
|
}
|
|
237
237
|
|
|
238
238
|
// none of the above -> throw consistent error
|
|
239
|
-
throw new
|
|
239
|
+
throw new A_EntityError(A_EntityError.ValidationError, 'Unable to determine A-Entity constructor initialization method. Please check the provided parameters.');
|
|
240
240
|
}
|
|
241
241
|
|
|
242
242
|
|
package/src/index.ts
CHANGED
|
@@ -6,27 +6,35 @@ export * from './types/A_Common.types';
|
|
|
6
6
|
|
|
7
7
|
// ---------------------- Major Components ----------------------
|
|
8
8
|
export { A_Context } from './global/A-Context/A-Context.class';
|
|
9
|
+
export { A_ContextError } from './global/A-Context/A-Context.error';
|
|
9
10
|
export * from './global/A-Context/A-Context.types';
|
|
10
11
|
|
|
11
12
|
export { A_Concept } from './global/A-Concept/A-Concept.class';
|
|
12
13
|
export { A_ConceptMeta } from './global/A-Concept/A-Concept.meta';
|
|
13
14
|
export * from './global/A-Concept/A-Concept.types';
|
|
15
|
+
export * from './global/A-Concept/A-Concept.constants';
|
|
14
16
|
|
|
15
17
|
export { A_Container } from './global/A-Container/A-Container.class';
|
|
16
18
|
export { A_ContainerMeta } from './global/A-Container/A-Container.meta';
|
|
17
19
|
export * from './global/A-Container/A-Container.types';
|
|
20
|
+
export * from './global/A-Container/A-Container.constants';
|
|
18
21
|
|
|
19
22
|
export { A_Component } from './global/A-Component/A-Component.class';
|
|
20
23
|
export { A_ComponentMeta } from './global/A-Component/A-Component.meta';
|
|
21
24
|
export * from './global/A-Component/A-Component.types';
|
|
25
|
+
export * from './global/A-Component/A-Component.constants';
|
|
22
26
|
|
|
23
27
|
export { A_Entity } from './global/A-Entity/A-Entity.class';
|
|
28
|
+
export { A_EntityError } from './global/A-Entity/A-Entity.error';
|
|
29
|
+
export { A_EntityMeta } from './global/A-Entity/A-Entity.meta';
|
|
24
30
|
export * from './global/A-Entity/A-Entity.types';
|
|
31
|
+
export * from './global/A-Entity/A-Entity.constants';
|
|
25
32
|
|
|
26
33
|
|
|
27
34
|
// ---------------------- Common Components ----------------------
|
|
28
35
|
export { A_Abstraction } from './global/A-Abstraction/A-Abstraction.class';
|
|
29
36
|
export { A_AbstractionError } from './global/A-Abstraction/A-Abstraction.error';
|
|
37
|
+
export { A_Abstraction_Extend } from './global/A-Abstraction/A-Abstraction-Extend.decorator';
|
|
30
38
|
export * from './global/A-Abstraction/A-Abstraction.types';
|
|
31
39
|
|
|
32
40
|
export { A_Caller } from './global/A-Caller/A_Caller.class';
|
|
@@ -35,13 +43,17 @@ export * from './global/A-Caller/A_Caller.types';
|
|
|
35
43
|
|
|
36
44
|
export { A_Error } from './global/A-Error/A_Error.class';
|
|
37
45
|
export * from './global/A-Error/A_Error.types';
|
|
46
|
+
export * from './global/A-Error/A_Error.constants';
|
|
38
47
|
|
|
39
48
|
export { ASEID } from './global/ASEID/ASEID.class';
|
|
40
49
|
export { ASEID_Error } from './global/ASEID/ASEID.error';
|
|
41
50
|
export * from './global/ASEID/ASEID.types';
|
|
51
|
+
// export * from './global/ASEID/ASEID.constants';
|
|
42
52
|
|
|
43
53
|
export { A_Feature } from './global/A-Feature/A-Feature.class';
|
|
44
54
|
export { A_FeatureError } from './global/A-Feature/A-Feature.error';
|
|
55
|
+
export { A_Feature_Define } from './global/A-Feature/A-Feature-Define.decorator';
|
|
56
|
+
export { A_Feature_Extend } from './global/A-Feature/A-Feature-Extend.decorator';
|
|
45
57
|
export * from './global/A-Feature/A-Feature.types';
|
|
46
58
|
|
|
47
59
|
export { A_Stage } from './global/A-Stage/A-Stage.class';
|
|
@@ -60,20 +72,14 @@ export * from './global/A-Fragment/A-Fragment.types';
|
|
|
60
72
|
|
|
61
73
|
export { A_Dependency } from './global/A-Dependency/A-Dependency.class';
|
|
62
74
|
export { A_DependencyError } from './global/A-Dependency/A-Dependency.error';
|
|
75
|
+
export { A_Dependency_Require } from './global/A-Dependency/A-Dependency-Require.decorator';
|
|
76
|
+
export { A_Dependency_Load } from './global/A-Dependency/A-Dependency-Load.decorator';
|
|
77
|
+
export { A_Dependency_Default } from './global/A-Dependency/A-Dependency-Default.decorator';
|
|
63
78
|
export * from './global/A-Dependency/A-Dependency.types';
|
|
64
79
|
|
|
65
|
-
|
|
66
|
-
// =================================================================================================
|
|
67
|
-
// =============================== Export Decorators ===============================================
|
|
68
|
-
// =================================================================================================
|
|
80
|
+
export { A_InjectError } from './global/A-Inject/A-Inject.error';
|
|
69
81
|
export { A_Inject } from './global/A-Inject/A-Inject.decorator';
|
|
70
82
|
export * from './global/A-Inject/A-Inject.types';
|
|
71
|
-
export { A_Feature_Define } from './global/A-Feature/A-Feature-Define.decorator';
|
|
72
|
-
export { A_Feature_Extend } from './global/A-Feature/A-Feature-Extend.decorator';
|
|
73
|
-
export { A_Abstraction_Extend } from './global/A-Abstraction/A-Abstraction-Extend.decorator';
|
|
74
|
-
export { A_Dependency_Require } from './global/A-Dependency/A-Dependency-Require.decorator';
|
|
75
|
-
export { A_Dependency_Load } from './global/A-Dependency/A-Dependency-Load.decorator';
|
|
76
|
-
export { A_Dependency_Default } from './global/A-Dependency/A-Dependency-Default.decorator';
|
|
77
83
|
|
|
78
84
|
|
|
79
85
|
// =================================================================================================
|