@adaas/a-concept 0.1.1 → 0.1.2
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.
|
@@ -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,KAAK,MAAM;QACb,OAAO,sCAAiB,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD;;;OAGG;IACH,MAAM,KAAK,OAAO;QACd,OAAO,2BAAS,CAAC,OAAO,CAAC;IAC7B,CAAC;IACD;;;;;OAKG;IACH,MAAM,KAAK,KAAK;QACZ,OAAO,2BAAS,CAAC,IAAI,CAAC,IAAI,CAAC;IAC/B,CAAC;IA2ED,YAAY,KAA2D;QAEnE,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC/C,6EAA6E;QAC7E,iEAAiE;QACjE,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAClC,CAAC;IACD,uEAAuE;IACvE,uEAAuE;IACvE,uEAAuE;IAEvE;;;OAGG;IACH,IAAI,EAAE;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACzB,CAAC;IAED
|
|
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,KAAK,MAAM;QACb,OAAO,sCAAiB,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACpD,CAAC;IACD;;;OAGG;IACH,MAAM,KAAK,OAAO;QACd,OAAO,2BAAS,CAAC,OAAO,CAAC;IAC7B,CAAC;IACD;;;;;OAKG;IACH,MAAM,KAAK,KAAK;QACZ,OAAO,2BAAS,CAAC,IAAI,CAAC,IAAI,CAAC;IAC/B,CAAC;IA2ED,YAAY,KAA2D;QAEnE,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;QAC/C,6EAA6E;QAC7E,iEAAiE;QACjE,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAClC,CAAC;IACD,uEAAuE;IACvE,uEAAuE;IACvE,uEAAuE;IAEvE;;;OAGG;IACH,IAAI,EAAE;QACF,OAAO,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACzB,CAAC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,CAAC,cAAc,EAAE;SACxC,CAAC,CAAC;QACH,OAAO;IACX,CAAC;IAED;;;;;;;OAOG;IACH,OAAO,CAAC,SAA2B;QAC/B,IAAI,CAAC,KAAK,GAAG,IAAI,mBAAK,CAAC;YACnB,OAAO,EAAG,IAAI,CAAC,WAA+B,CAAC,OAAO;YACtD,KAAK,EAAG,IAAI,CAAC,WAA+B,CAAC,KAAK;YAClD,MAAM,EAAG,IAAI,CAAC,WAA+B,CAAC,MAAM;YACpD,EAAE,EAAE,oCAAgB,CAAC,cAAc,EAAE;SACxC,CAAC,CAAC;QAEH,OAAO;IACX,CAAC;IAGD;;;;;;;;;OASG;IACH,QAAQ,CAAC,UAA2B;QAChC,IAAI,CAAC,KAAK,GAAG,IAAI,mBAAK,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;QACzC,OAAO;IACX,CAAC;IAID;;;;;;;OAOG;IACH,MAAM;QACF,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE;SACZ,CAAC;IACzB,CAAC;IAGD;;;;;OAKG;IACH,QAAQ;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC;IACtE,CAAC;CACJ;AAhXD,4BAgXC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaas/a-concept",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
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
|
// ====================================================================
|