@my-devkit/core 1.0.20 → 1.0.24
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/my-devkit-core-1.0.24.tgz +0 -0
- package/package.json +1 -1
- package/serialize/index.d.ts +1 -0
- package/serialize/index.js +1 -0
- package/serialize/index.js.map +1 -1
- package/serialize/serializable.js +1 -1
- package/serialize/serializable.js.map +1 -1
- package/serialize/type-helper.d.ts +44 -0
- package/serialize/type-helper.js +171 -0
- package/serialize/type-helper.js.map +1 -0
- package/my-devkit-core-1.0.20.tgz +0 -0
|
Binary file
|
package/package.json
CHANGED
package/serialize/index.d.ts
CHANGED
package/serialize/index.js
CHANGED
|
@@ -14,6 +14,7 @@ exports.inheritSerialization = exports.autoserializeAs = void 0;
|
|
|
14
14
|
__exportStar(require("./deserialize"), exports);
|
|
15
15
|
__exportStar(require("./serialize"), exports);
|
|
16
16
|
__exportStar(require("./serializable"), exports);
|
|
17
|
+
__exportStar(require("./type-helper"), exports);
|
|
17
18
|
var cerialize_1 = require("cerialize");
|
|
18
19
|
Object.defineProperty(exports, "autoserializeAs", { enumerable: true, get: function () { return cerialize_1.autoserializeAs; } });
|
|
19
20
|
Object.defineProperty(exports, "inheritSerialization", { enumerable: true, get: function () { return cerialize_1.inheritSerialization; } });
|
package/serialize/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/serialize/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,8CAA4B;AAC5B,iDAA+B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/serialize/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,8CAA4B;AAC5B,iDAA+B;AAC/B,gDAA8B;AAE9B,uCAAkE;AAAzD,4GAAA,eAAe,OAAA;AAAE,iHAAA,oBAAoB,OAAA"}
|
|
@@ -16,7 +16,7 @@ exports.serializable = serializable;
|
|
|
16
16
|
return null;
|
|
17
17
|
}
|
|
18
18
|
if (!object._type) {
|
|
19
|
-
throw new Error("SerializeHelper: property
|
|
19
|
+
throw new Error("SerializeHelper: property _type is missing in " + JSON.stringify(object));
|
|
20
20
|
}
|
|
21
21
|
var type = types.get(object._type);
|
|
22
22
|
if (!type) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serializable.js","sourceRoot":"","sources":["../../src/serialize/serializable.ts"],"names":[],"mappings":";;;AAAA,SAAgB,YAAY,CAAI,IAA+B;IAC3D,YAAY,CAAC,QAAQ,CAAC,IAAW,CAAC,CAAC;AACvC,CAAC;AAFD,oCAEC;AAED,WAAiB,YAAY;IAEzB,IAAM,KAAK,GAAG,IAAI,GAAG,EAAyB,CAAC;IAE/C,SAAgB,QAAQ,CAA+B,IAA+B;QAClF,KAAK,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IAFe,qBAAQ,WAEvB,CAAA;IAED,SAAgB,cAAc,CAA+B,MAAS;QAClE,IAAI,CAAC,MAAM,EAAE;YACT,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"serializable.js","sourceRoot":"","sources":["../../src/serialize/serializable.ts"],"names":[],"mappings":";;;AAAA,SAAgB,YAAY,CAAI,IAA+B;IAC3D,YAAY,CAAC,QAAQ,CAAC,IAAW,CAAC,CAAC;AACvC,CAAC;AAFD,oCAEC;AAED,WAAiB,YAAY;IAEzB,IAAM,KAAK,GAAG,IAAI,GAAG,EAAyB,CAAC;IAE/C,SAAgB,QAAQ,CAA+B,IAA+B;QAClF,KAAK,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IACtC,CAAC;IAFe,qBAAQ,WAEvB,CAAA;IAED,SAAgB,cAAc,CAA+B,MAAS;QAClE,IAAI,CAAC,MAAM,EAAE;YACT,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE;YACf,MAAM,IAAI,KAAK,CAAC,mDAAiD,IAAI,CAAC,SAAS,CAAC,MAAM,CAAG,CAAC,CAAC;SAC9F;QACD,IAAM,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QACrC,IAAI,CAAC,IAAI,EAAE;YACP,MAAM,IAAI,KAAK,CAAC,6CAA2C,MAAM,CAAC,KAAO,CAAC,CAAC;SAC9E;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAZe,2BAAc,iBAY7B,CAAA;AAKL,CAAC,EAzBgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAyB5B"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare class TypeHelper {
|
|
2
|
+
static getProperties<T>(type: new () => T): TypeHelper.Property[];
|
|
3
|
+
static getMetaData<T>(type: new () => T): TypeHelper.MetaData[];
|
|
4
|
+
private static getMetaDataType;
|
|
5
|
+
private static getEnumValues;
|
|
6
|
+
private static getEnumName;
|
|
7
|
+
private static isEnum;
|
|
8
|
+
private static isDate;
|
|
9
|
+
private static isString;
|
|
10
|
+
private static isBoolean;
|
|
11
|
+
private static isNumber;
|
|
12
|
+
private static isAny;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace TypeHelper {
|
|
15
|
+
class Property {
|
|
16
|
+
path: string;
|
|
17
|
+
parent: string;
|
|
18
|
+
name: string;
|
|
19
|
+
type: Type;
|
|
20
|
+
enumName: string;
|
|
21
|
+
isArray: boolean;
|
|
22
|
+
}
|
|
23
|
+
class MetaData {
|
|
24
|
+
name: string;
|
|
25
|
+
serializedKey: string;
|
|
26
|
+
deserializedKey: string;
|
|
27
|
+
type: Type;
|
|
28
|
+
enumName: string;
|
|
29
|
+
isArray: boolean;
|
|
30
|
+
arrayLength: number;
|
|
31
|
+
objectName: string;
|
|
32
|
+
objectMetadata: MetaData[];
|
|
33
|
+
enumValues: string[];
|
|
34
|
+
}
|
|
35
|
+
enum Type {
|
|
36
|
+
String,
|
|
37
|
+
Number,
|
|
38
|
+
Date,
|
|
39
|
+
Boolean,
|
|
40
|
+
Enum,
|
|
41
|
+
Object,
|
|
42
|
+
Any
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TypeHelper = void 0;
|
|
4
|
+
var cerialize_1 = require("cerialize");
|
|
5
|
+
var TypeHelper = /** @class */ (function () {
|
|
6
|
+
function TypeHelper() {
|
|
7
|
+
}
|
|
8
|
+
TypeHelper.getProperties = function (type) {
|
|
9
|
+
var metaData = this.getMetaData(type);
|
|
10
|
+
var result = [];
|
|
11
|
+
var remaining = metaData.map(function (m) { return ({ parent: null, m: m }); });
|
|
12
|
+
var _loop_1 = function () {
|
|
13
|
+
var property = remaining.shift();
|
|
14
|
+
var path = property.parent ? property.parent + "." + property.m.name : property.m.name;
|
|
15
|
+
result.push({
|
|
16
|
+
parent: property.parent,
|
|
17
|
+
path: path,
|
|
18
|
+
name: property.m.name,
|
|
19
|
+
isArray: property.m.isArray,
|
|
20
|
+
type: property.m.type,
|
|
21
|
+
enumName: property.m.enumName
|
|
22
|
+
});
|
|
23
|
+
if (property.m.type === TypeHelper.Type.Object) {
|
|
24
|
+
var parent_1 = property.m.isArray ? path + "[]" : path;
|
|
25
|
+
remaining.push.apply(remaining, property.m.objectMetadata.map(function (m) { return ({ parent: parent_1, m: m }); }));
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
while (remaining.length > 0) {
|
|
29
|
+
_loop_1();
|
|
30
|
+
}
|
|
31
|
+
return result;
|
|
32
|
+
};
|
|
33
|
+
TypeHelper.getMetaData = function (type) {
|
|
34
|
+
var _this = this;
|
|
35
|
+
var metaDataList = cerialize_1.__TypeMap.get(type);
|
|
36
|
+
if (!metaDataList) {
|
|
37
|
+
return [];
|
|
38
|
+
}
|
|
39
|
+
var instance = cerialize_1.Deserialize({}, type);
|
|
40
|
+
return metaDataList.map(function (m) {
|
|
41
|
+
var metaDataType = TypeHelper.getMetaDataType(m.deserializedType);
|
|
42
|
+
var metadata = {
|
|
43
|
+
name: m.keyName,
|
|
44
|
+
serializedKey: (m.serializedKey ? m.serializedKey : m.keyName),
|
|
45
|
+
deserializedKey: (m.deserializedKey ? m.deserializedKey : m.keyName),
|
|
46
|
+
type: metaDataType,
|
|
47
|
+
enumName: metaDataType === TypeHelper.Type.Enum ? _this.getEnumName(m.deserializedType) : null,
|
|
48
|
+
isArray: Array.isArray(instance[m.keyName]),
|
|
49
|
+
arrayLength: Array.isArray(instance[m.keyName]) ? instance[m.keyName].length : null,
|
|
50
|
+
objectName: metaDataType === TypeHelper.Type.Object ? m.deserializedType.name : [],
|
|
51
|
+
objectMetadata: metaDataType === TypeHelper.Type.Object ? _this.getMetaData(m.deserializedType) : [],
|
|
52
|
+
enumValues: metaDataType === TypeHelper.Type.Enum ? _this.getEnumValues(m.deserializedType) : []
|
|
53
|
+
};
|
|
54
|
+
return metadata;
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
TypeHelper.getMetaDataType = function (propType) {
|
|
58
|
+
if (this.isString(propType)) {
|
|
59
|
+
return TypeHelper.Type.String;
|
|
60
|
+
}
|
|
61
|
+
if (this.isNumber(propType)) {
|
|
62
|
+
return TypeHelper.Type.Number;
|
|
63
|
+
}
|
|
64
|
+
if (this.isBoolean(propType)) {
|
|
65
|
+
return TypeHelper.Type.Boolean;
|
|
66
|
+
}
|
|
67
|
+
if (this.isDate(propType)) {
|
|
68
|
+
return TypeHelper.Type.Date;
|
|
69
|
+
}
|
|
70
|
+
if (this.isEnum(propType)) {
|
|
71
|
+
return TypeHelper.Type.Enum;
|
|
72
|
+
}
|
|
73
|
+
if (this.isAny(propType)) {
|
|
74
|
+
return TypeHelper.Type.Any;
|
|
75
|
+
}
|
|
76
|
+
return TypeHelper.Type.Object;
|
|
77
|
+
};
|
|
78
|
+
TypeHelper.getEnumValues = function (type) {
|
|
79
|
+
return type.helper ? type.helper.members : [];
|
|
80
|
+
};
|
|
81
|
+
TypeHelper.getEnumName = function (type) {
|
|
82
|
+
return type.helper ? type.helper.name : 'UnkownEnum';
|
|
83
|
+
};
|
|
84
|
+
TypeHelper.isEnum = function (propType) {
|
|
85
|
+
if (!propType) {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
else if (propType.Deserialize) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
else if (!propType.prototype) {
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
TypeHelper.isDate = function (propType) {
|
|
96
|
+
if (propType === Date) {
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
99
|
+
else if (propType === Date.prototype.constructor) {
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
else if (propType && propType.Deserialize && propType.Deserialize.name === 'Date') {
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
return false;
|
|
106
|
+
};
|
|
107
|
+
TypeHelper.isString = function (propType) {
|
|
108
|
+
if (propType && propType.Deserialize && propType.Deserialize.name.replace('deserialize', '') === 'String') {
|
|
109
|
+
return true;
|
|
110
|
+
}
|
|
111
|
+
return false;
|
|
112
|
+
};
|
|
113
|
+
TypeHelper.isBoolean = function (propType) {
|
|
114
|
+
if (propType && propType.Deserialize && propType.Deserialize.name.replace('deserialize', '') === 'Boolean') {
|
|
115
|
+
return true;
|
|
116
|
+
}
|
|
117
|
+
return false;
|
|
118
|
+
};
|
|
119
|
+
TypeHelper.isNumber = function (propType) {
|
|
120
|
+
if (propType && propType.Deserialize && propType.Deserialize.name.replace('deserialize', '') === 'Number') {
|
|
121
|
+
return true;
|
|
122
|
+
}
|
|
123
|
+
return false;
|
|
124
|
+
};
|
|
125
|
+
TypeHelper.isAny = function (propType) {
|
|
126
|
+
if (!propType) {
|
|
127
|
+
return true;
|
|
128
|
+
}
|
|
129
|
+
return false;
|
|
130
|
+
};
|
|
131
|
+
return TypeHelper;
|
|
132
|
+
}());
|
|
133
|
+
exports.TypeHelper = TypeHelper;
|
|
134
|
+
(function (TypeHelper) {
|
|
135
|
+
var Property = /** @class */ (function () {
|
|
136
|
+
function Property() {
|
|
137
|
+
this.enumName = null;
|
|
138
|
+
this.isArray = null;
|
|
139
|
+
}
|
|
140
|
+
return Property;
|
|
141
|
+
}());
|
|
142
|
+
TypeHelper.Property = Property;
|
|
143
|
+
var MetaData = /** @class */ (function () {
|
|
144
|
+
function MetaData() {
|
|
145
|
+
this.name = null;
|
|
146
|
+
this.serializedKey = null;
|
|
147
|
+
this.deserializedKey = null;
|
|
148
|
+
this.type = null;
|
|
149
|
+
this.enumName = null;
|
|
150
|
+
this.isArray = null;
|
|
151
|
+
this.arrayLength = null;
|
|
152
|
+
this.objectName = null;
|
|
153
|
+
this.objectMetadata = null;
|
|
154
|
+
this.enumValues = null;
|
|
155
|
+
}
|
|
156
|
+
return MetaData;
|
|
157
|
+
}());
|
|
158
|
+
TypeHelper.MetaData = MetaData;
|
|
159
|
+
var Type;
|
|
160
|
+
(function (Type) {
|
|
161
|
+
Type[Type["String"] = 'String'] = "String";
|
|
162
|
+
Type[Type["Number"] = 'Number'] = "Number";
|
|
163
|
+
Type[Type["Date"] = 'Date'] = "Date";
|
|
164
|
+
Type[Type["Boolean"] = 'Boolean'] = "Boolean";
|
|
165
|
+
Type[Type["Enum"] = 'Enum'] = "Enum";
|
|
166
|
+
Type[Type["Object"] = 'Object'] = "Object";
|
|
167
|
+
Type[Type["Any"] = 'Any'] = "Any";
|
|
168
|
+
})(Type = TypeHelper.Type || (TypeHelper.Type = {}));
|
|
169
|
+
})(TypeHelper = exports.TypeHelper || (exports.TypeHelper = {}));
|
|
170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