@adaas/a-concept 0.1.1 → 0.1.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.
- package/dist/index.d.ts +4 -0
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/src/global/A-Entity/A-Entity.class.d.ts +0 -26
- package/dist/src/global/A-Entity/A-Entity.class.js +0 -36
- package/dist/src/global/A-Entity/A-Entity.class.js.map +1 -1
- package/index.ts +11 -1
- package/package.json +1 -1
- package/src/global/A-Entity/A-Entity.class.ts +0 -42
package/dist/index.d.ts
CHANGED
|
@@ -41,3 +41,7 @@ export * from './src/global/A-Inject/A-Inject.types';
|
|
|
41
41
|
export { A_Feature_Define } from './src/global/A-Feature/A-Feature-Define.decorator';
|
|
42
42
|
export { A_Feature_Extend } from './src/global/A-Feature/A-Feature-Extend.decorator';
|
|
43
43
|
export { A_Abstraction_Extend } from './src/global/A-Abstraction/A-Abstraction-Extend.decorator';
|
|
44
|
+
export { A_CommonHelper } from './src/helpers/A_Common.helper';
|
|
45
|
+
export { A_FormatterHelper } from './src/helpers/A_Formatter.helper';
|
|
46
|
+
export { A_IdentityHelper, A_ID_TYPES__TimeId_Parts } from './src/helpers/A_Identity.helper';
|
|
47
|
+
export { A_TypeGuards } from './src/helpers/A_TypeGuards.helper';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.A_Abstraction_Extend = exports.A_Feature_Extend = exports.A_Feature_Define = exports.A_Inject = exports.A_Fragment = exports.A_Meta = exports.A_ScopeError = exports.A_Scope = exports.A_StageError = exports.A_Stage = exports.A_FeatureError = exports.A_Feature = exports.ASEID_Error = exports.ASEID = exports.A_Error = exports.A_CallerError = exports.A_Caller = exports.A_AbstractionError = exports.A_Abstraction = exports.A_Entity = exports.A_ComponentMeta = exports.A_Component = exports.A_ContainerMeta = exports.A_Container = exports.A_ConceptMeta = exports.A_Concept = exports.A_Context = void 0;
|
|
17
|
+
exports.A_TypeGuards = exports.A_IdentityHelper = exports.A_FormatterHelper = exports.A_CommonHelper = exports.A_Abstraction_Extend = exports.A_Feature_Extend = exports.A_Feature_Define = exports.A_Inject = exports.A_Fragment = exports.A_Meta = exports.A_ScopeError = exports.A_Scope = exports.A_StageError = exports.A_Stage = exports.A_FeatureError = exports.A_Feature = exports.ASEID_Error = exports.ASEID = exports.A_Error = exports.A_CallerError = exports.A_Caller = exports.A_AbstractionError = exports.A_Abstraction = exports.A_Entity = exports.A_ComponentMeta = exports.A_Component = exports.A_ContainerMeta = exports.A_Container = exports.A_ConceptMeta = exports.A_Concept = exports.A_Context = void 0;
|
|
18
18
|
// =================================================================================================
|
|
19
19
|
// ============================= Export Framework Components =======================================
|
|
20
20
|
// =================================================================================================
|
|
@@ -82,7 +82,7 @@ var A_Fragment_class_1 = require("./src/global/A-Fragment/A-Fragment.class");
|
|
|
82
82
|
Object.defineProperty(exports, "A_Fragment", { enumerable: true, get: function () { return A_Fragment_class_1.A_Fragment; } });
|
|
83
83
|
__exportStar(require("./src/global/A-Fragment/A-Fragment.types"), exports);
|
|
84
84
|
// =================================================================================================
|
|
85
|
-
// =============================== Export Decorators
|
|
85
|
+
// =============================== Export Decorators ===============================================
|
|
86
86
|
// =================================================================================================
|
|
87
87
|
var A_Inject_decorator_1 = require("./src/global/A-Inject/A-Inject.decorator");
|
|
88
88
|
Object.defineProperty(exports, "A_Inject", { enumerable: true, get: function () { return A_Inject_decorator_1.A_Inject; } });
|
|
@@ -93,4 +93,16 @@ var A_Feature_Extend_decorator_1 = require("./src/global/A-Feature/A-Feature-Ext
|
|
|
93
93
|
Object.defineProperty(exports, "A_Feature_Extend", { enumerable: true, get: function () { return A_Feature_Extend_decorator_1.A_Feature_Extend; } });
|
|
94
94
|
var A_Abstraction_Extend_decorator_1 = require("./src/global/A-Abstraction/A-Abstraction-Extend.decorator");
|
|
95
95
|
Object.defineProperty(exports, "A_Abstraction_Extend", { enumerable: true, get: function () { return A_Abstraction_Extend_decorator_1.A_Abstraction_Extend; } });
|
|
96
|
+
// =================================================================================================
|
|
97
|
+
// =============================== Export Helpers ================================================
|
|
98
|
+
// =================================================================================================
|
|
99
|
+
var A_Common_helper_1 = require("./src/helpers/A_Common.helper");
|
|
100
|
+
Object.defineProperty(exports, "A_CommonHelper", { enumerable: true, get: function () { return A_Common_helper_1.A_CommonHelper; } });
|
|
101
|
+
var A_Formatter_helper_1 = require("./src/helpers/A_Formatter.helper");
|
|
102
|
+
Object.defineProperty(exports, "A_FormatterHelper", { enumerable: true, get: function () { return A_Formatter_helper_1.A_FormatterHelper; } });
|
|
103
|
+
var A_Identity_helper_1 = require("./src/helpers/A_Identity.helper");
|
|
104
|
+
Object.defineProperty(exports, "A_IdentityHelper", { enumerable: true, get: function () { return A_Identity_helper_1.A_IdentityHelper; } });
|
|
105
|
+
// export { A_StepsManager } from './src/helpers/A_StepsManager.class';
|
|
106
|
+
var A_TypeGuards_helper_1 = require("./src/helpers/A_TypeGuards.helper");
|
|
107
|
+
Object.defineProperty(exports, "A_TypeGuards", { enumerable: true, get: function () { return A_TypeGuards_helper_1.A_TypeGuards; } });
|
|
96
108
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,oGAAoG;AACpG,oGAAoG;AACpG,oGAAoG;AACpG,gEAA8C;AAE9C,iEAAiE;AACjE,0EAAmE;AAA1D,4GAAA,SAAS,OAAA;AAClB,yEAAuD;AAEvD,0EAAmE;AAA1D,4GAAA,SAAS,OAAA;AAClB,wEAAsE;AAA7D,+GAAA,aA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AA,QAAQ,OAAA;AACjB,uEAAqD;AACrD,gGAAqF;AAA5E,8HAAA,gBAAgB,OAAA;AACzB,gGAAqF;AAA5E,8HAAA,gBAAgB,OAAA;AACzB,4GAAiG;AAAxF,sIAAA,oBAAoB,OAAA;AAG7B,oGAAoG;AACpG,kGAAkG;AAClG,oGAAoG;AACpG,iEAA+D;AAAtD,iHAAA,cAAc,OAAA;AACvB,uEAAqE;AAA5D,uHAAA,iBAAiB,OAAA;AAC1B,qEAA6F;AAApF,qHAAA,gBAAgB,OAAA;AACzB,uEAAuE;AACvE,yEAAiE;AAAxD,mHAAA,YAAY,OAAA"}
|
|
@@ -90,32 +90,6 @@ export declare class A_Entity<_ConstructorType extends A_TYPES__Entity_Init = A_
|
|
|
90
90
|
* ID is the unique identifier of the entity
|
|
91
91
|
*/
|
|
92
92
|
get id(): string | number;
|
|
93
|
-
/**
|
|
94
|
-
* Extracts the concept from the ASEID
|
|
95
|
-
* concept is an application specific identifier from where the entity is coming from
|
|
96
|
-
*/
|
|
97
|
-
get concept(): string;
|
|
98
|
-
/**
|
|
99
|
-
* Extracts the scope from the ASEID
|
|
100
|
-
* scope is the scope of the entity from concept
|
|
101
|
-
*/
|
|
102
|
-
get scope(): string;
|
|
103
|
-
/**
|
|
104
|
-
* Extracts the entity from the ASEID
|
|
105
|
-
* entity is the name of the entity from concept
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
get entity(): string;
|
|
109
|
-
/**
|
|
110
|
-
* Extracts the version from the ASEID
|
|
111
|
-
* version is the version of the entity
|
|
112
|
-
*/
|
|
113
|
-
get version(): string | undefined;
|
|
114
|
-
/**
|
|
115
|
-
* Extracts the shard from the ASEID
|
|
116
|
-
* shard is the shard of the entity
|
|
117
|
-
*/
|
|
118
|
-
get shard(): string | undefined;
|
|
119
93
|
protected isStringASEID(x: unknown): x is string;
|
|
120
94
|
protected isASEIDInstance(x: unknown): x is ASEID;
|
|
121
95
|
/**
|
|
@@ -65,42 +65,6 @@ class A_Entity {
|
|
|
65
65
|
get id() {
|
|
66
66
|
return this.aseid.id;
|
|
67
67
|
}
|
|
68
|
-
/**
|
|
69
|
-
* Extracts the concept from the ASEID
|
|
70
|
-
* concept is an application specific identifier from where the entity is coming from
|
|
71
|
-
*/
|
|
72
|
-
get concept() {
|
|
73
|
-
return this.aseid.concept;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Extracts the scope from the ASEID
|
|
77
|
-
* scope is the scope of the entity from concept
|
|
78
|
-
*/
|
|
79
|
-
get scope() {
|
|
80
|
-
return this.aseid.scope;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* Extracts the entity from the ASEID
|
|
84
|
-
* entity is the name of the entity from concept
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
get entity() {
|
|
88
|
-
return this.aseid.entity;
|
|
89
|
-
}
|
|
90
|
-
/**
|
|
91
|
-
* Extracts the version from the ASEID
|
|
92
|
-
* version is the version of the entity
|
|
93
|
-
*/
|
|
94
|
-
get version() {
|
|
95
|
-
return this.aseid.version;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Extracts the shard from the ASEID
|
|
99
|
-
* shard is the shard of the entity
|
|
100
|
-
*/
|
|
101
|
-
get shard() {
|
|
102
|
-
return this.aseid.shard;
|
|
103
|
-
}
|
|
104
68
|
// ====================================================================
|
|
105
69
|
// ================== Constructor Helpers =============================
|
|
106
70
|
// ====================================================================
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"A-Entity.class.js","sourceRoot":"","sources":["../../../../src/global/A-Entity/A-Entity.class.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,kEAAyD;AAEzD,oFAAgF;AAChF,sDAA6C;AAC7C,kFAA8E;AAC9E,qDAAkD;AAClD,kEAAyD;AAGzD;;;;;;GAMG;AACH,MAAa,QAAQ;IAMjB,uEAAuE;IACvE,8EAA8E;IAC9E,uEAAuE;IACvE;;OAEG;IACH,MAAM,KA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
|
|
61
61
|
// =================================================================================================
|
|
62
|
-
// =============================== Export Decorators
|
|
62
|
+
// =============================== Export Decorators ===============================================
|
|
63
63
|
// =================================================================================================
|
|
64
64
|
export { A_Inject } from './src/global/A-Inject/A-Inject.decorator';
|
|
65
65
|
export * from './src/global/A-Inject/A-Inject.types';
|
|
66
66
|
export { A_Feature_Define } from './src/global/A-Feature/A-Feature-Define.decorator';
|
|
67
67
|
export { A_Feature_Extend } from './src/global/A-Feature/A-Feature-Extend.decorator';
|
|
68
68
|
export { A_Abstraction_Extend } from './src/global/A-Abstraction/A-Abstraction-Extend.decorator';
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
// =================================================================================================
|
|
72
|
+
// =============================== Export Helpers ================================================
|
|
73
|
+
// =================================================================================================
|
|
74
|
+
export { A_CommonHelper } from './src/helpers/A_Common.helper';
|
|
75
|
+
export { A_FormatterHelper } from './src/helpers/A_Formatter.helper';
|
|
76
|
+
export { A_IdentityHelper, A_ID_TYPES__TimeId_Parts } from './src/helpers/A_Identity.helper';
|
|
77
|
+
// export { A_StepsManager } from './src/helpers/A_StepsManager.class';
|
|
78
|
+
export { A_TypeGuards } from './src/helpers/A_TypeGuards.helper';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaas/a-concept",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
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
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -143,48 +143,6 @@ export class A_Entity<
|
|
|
143
143
|
return this.aseid.id;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
/**
|
|
147
|
-
* Extracts the concept from the ASEID
|
|
148
|
-
* concept is an application specific identifier from where the entity is coming from
|
|
149
|
-
*/
|
|
150
|
-
get concept(): string {
|
|
151
|
-
return this.aseid.concept
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Extracts the scope from the ASEID
|
|
156
|
-
* scope is the scope of the entity from concept
|
|
157
|
-
*/
|
|
158
|
-
get scope(): string {
|
|
159
|
-
return this.aseid.scope;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Extracts the entity from the ASEID
|
|
164
|
-
* entity is the name of the entity from concept
|
|
165
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
get entity(): string {
|
|
168
|
-
return this.aseid.entity;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Extracts the version from the ASEID
|
|
173
|
-
* version is the version of the entity
|
|
174
|
-
*/
|
|
175
|
-
|
|
176
|
-
get version(): string | undefined {
|
|
177
|
-
return this.aseid.version;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Extracts the shard from the ASEID
|
|
182
|
-
* shard is the shard of the entity
|
|
183
|
-
*/
|
|
184
|
-
get shard(): string | undefined {
|
|
185
|
-
return this.aseid.shard;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
146
|
// ====================================================================
|
|
189
147
|
// ================== Constructor Helpers =============================
|
|
190
148
|
// ====================================================================
|