@quatrain/core 1.1.24 → 1.1.29
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/README.md +56 -8
- package/{lib → dist}/Core.d.ts +3 -17
- package/dist/Core.d.ts.map +1 -0
- package/dist/Core.js +105 -0
- package/dist/Core.js.map +1 -0
- package/dist/common/DataGenerator.d.ts +3 -0
- package/dist/common/DataGenerator.d.ts.map +1 -0
- package/dist/common/DataGenerator.js +86 -0
- package/dist/common/DataGenerator.js.map +1 -0
- package/{lib → dist}/common/ResourcesErrors.d.ts +1 -0
- package/dist/common/ResourcesErrors.d.ts.map +1 -0
- package/{lib → dist}/common/ResourcesErrors.js +1 -0
- package/dist/common/ResourcesErrors.js.map +1 -0
- package/{lib → dist}/common/statuses.d.ts +1 -0
- package/dist/common/statuses.d.ts.map +1 -0
- package/{lib → dist}/common/statuses.js +1 -0
- package/dist/common/statuses.js.map +1 -0
- package/{lib → dist}/components/AbstractObject.d.ts +1 -5
- package/dist/components/AbstractObject.d.ts.map +1 -0
- package/{lib → dist}/components/AbstractObject.js +7 -10
- package/dist/components/AbstractObject.js.map +1 -0
- package/{lib → dist}/components/BaseObject.d.ts +4 -17
- package/dist/components/BaseObject.d.ts.map +1 -0
- package/dist/components/BaseObject.js +71 -0
- package/dist/components/BaseObject.js.map +1 -0
- package/dist/components/BaseObjectProperties.d.ts +2 -0
- package/dist/components/BaseObjectProperties.d.ts.map +1 -0
- package/{lib → dist}/components/BaseObjectProperties.js +1 -2
- package/dist/components/BaseObjectProperties.js.map +1 -0
- package/{lib → dist}/components/DataObject.d.ts +2 -51
- package/dist/components/DataObject.d.ts.map +1 -0
- package/{lib → dist}/components/DataObject.js +38 -111
- package/dist/components/DataObject.js.map +1 -0
- package/{lib → dist}/components/Entity.d.ts +1 -0
- package/dist/components/Entity.d.ts.map +1 -0
- package/dist/components/Entity.js +48 -0
- package/dist/components/Entity.js.map +1 -0
- package/{lib → dist}/components/ObjectUri.d.ts +1 -26
- package/dist/components/ObjectUri.d.ts.map +1 -0
- package/{lib → dist}/components/ObjectUri.js +13 -41
- package/dist/components/ObjectUri.js.map +1 -0
- package/{lib → dist}/components/User.d.ts +1 -0
- package/dist/components/User.d.ts.map +1 -0
- package/{lib → dist}/components/User.js +7 -26
- package/dist/components/User.js.map +1 -0
- package/dist/components/__test__/fixtures/dao.d.ts +37 -0
- package/dist/components/__test__/fixtures/dao.d.ts.map +1 -0
- package/dist/components/__test__/fixtures/dao.js +100 -0
- package/dist/components/__test__/fixtures/dao.js.map +1 -0
- package/{lib → dist}/components/index.d.ts +5 -2
- package/dist/components/index.d.ts.map +1 -0
- package/{lib → dist}/components/index.js +1 -0
- package/dist/components/index.js.map +1 -0
- package/{lib → dist}/components/types/AbstractObjectClass.d.ts +1 -0
- package/dist/components/types/AbstractObjectClass.d.ts.map +1 -0
- package/dist/components/types/AbstractObjectClass.js +3 -0
- package/dist/components/types/AbstractObjectClass.js.map +1 -0
- package/{lib → dist}/components/types/BaseObjectClass.d.ts +1 -0
- package/dist/components/types/BaseObjectClass.d.ts.map +1 -0
- package/{lib → dist}/components/types/BaseObjectClass.js +1 -0
- package/dist/components/types/BaseObjectClass.js.map +1 -0
- package/{lib → dist}/components/types/BaseObjectType.d.ts +2 -1
- package/dist/components/types/BaseObjectType.d.ts.map +1 -0
- package/{lib → dist}/components/types/BaseObjectType.js +1 -0
- package/dist/components/types/BaseObjectType.js.map +1 -0
- package/{lib → dist}/components/types/DataObjectClass.d.ts +1 -0
- package/dist/components/types/DataObjectClass.d.ts.map +1 -0
- package/{lib → dist}/components/types/DataObjectClass.js +1 -0
- package/dist/components/types/DataObjectClass.js.map +1 -0
- package/dist/components/types/DataObjectParams.d.ts +8 -0
- package/dist/components/types/DataObjectParams.d.ts.map +1 -0
- package/dist/components/types/DataObjectParams.js +3 -0
- package/dist/components/types/DataObjectParams.js.map +1 -0
- package/{lib → dist}/components/types/DataObjectType.d.ts +1 -0
- package/dist/components/types/DataObjectType.d.ts.map +1 -0
- package/{lib → dist}/components/types/DataObjectType.js +1 -0
- package/dist/components/types/DataObjectType.js.map +1 -0
- package/{lib → dist}/components/types/EntityClass.d.ts +1 -0
- package/dist/components/types/EntityClass.d.ts.map +1 -0
- package/{lib → dist}/components/types/EntityClass.js +1 -0
- package/dist/components/types/EntityClass.js.map +1 -0
- package/{lib → dist}/components/types/Payload.d.ts +1 -0
- package/dist/components/types/Payload.d.ts.map +1 -0
- package/{lib → dist}/components/types/Payload.js +1 -0
- package/dist/components/types/Payload.js.map +1 -0
- package/{lib → dist}/components/types/Persisted.d.ts +1 -0
- package/dist/components/types/Persisted.d.ts.map +1 -0
- package/{lib → dist}/components/types/Persisted.js +1 -0
- package/dist/components/types/Persisted.js.map +1 -0
- package/dist/components/types/Properties.d.ts +2 -0
- package/dist/components/types/Properties.d.ts.map +1 -0
- package/{lib/components/types/AbstractObjectClass.js → dist/components/types/Properties.js} +1 -0
- package/dist/components/types/Properties.js.map +1 -0
- package/{lib → dist}/components/types/ProxyConstructor.d.ts +1 -0
- package/dist/components/types/ProxyConstructor.d.ts.map +1 -0
- package/{lib → dist}/components/types/ProxyConstructor.js +1 -0
- package/dist/components/types/ProxyConstructor.js.map +1 -0
- package/{lib → dist}/components/types/toJSONParams.d.ts +1 -0
- package/dist/components/types/toJSONParams.d.ts.map +1 -0
- package/{lib → dist}/components/types/toJSONParams.js +1 -0
- package/dist/components/types/toJSONParams.js.map +1 -0
- package/{lib → dist}/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -0
- package/{lib → dist}/index.js +4 -1
- package/dist/index.js.map +1 -0
- package/{lib → dist}/properties/ArrayProperty.d.ts +1 -0
- package/dist/properties/ArrayProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/ArrayProperty.js +5 -4
- package/dist/properties/ArrayProperty.js.map +1 -0
- package/{lib → dist}/properties/BaseProperty.d.ts +3 -2
- package/dist/properties/BaseProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/BaseProperty.js +18 -11
- package/dist/properties/BaseProperty.js.map +1 -0
- package/{lib → dist}/properties/BooleanProperty.d.ts +1 -0
- package/dist/properties/BooleanProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/BooleanProperty.js +2 -1
- package/dist/properties/BooleanProperty.js.map +1 -0
- package/{lib → dist}/properties/CollectionProperty.d.ts +1 -0
- package/dist/properties/CollectionProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/CollectionProperty.js +6 -4
- package/dist/properties/CollectionProperty.js.map +1 -0
- package/{lib → dist}/properties/DateTimeProperty.d.ts +1 -0
- package/dist/properties/DateTimeProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/DateTimeProperty.js +12 -5
- package/dist/properties/DateTimeProperty.js.map +1 -0
- package/{lib → dist}/properties/EnumProperty.d.ts +1 -0
- package/dist/properties/EnumProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/EnumProperty.js +4 -3
- package/dist/properties/EnumProperty.js.map +1 -0
- package/{lib → dist}/properties/FileProperty.d.ts +1 -0
- package/dist/properties/FileProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/FileProperty.js +3 -2
- package/dist/properties/FileProperty.js.map +1 -0
- package/{lib → dist}/properties/HashProperty.d.ts +2 -7
- package/dist/properties/HashProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/HashProperty.js +15 -23
- package/dist/properties/HashProperty.js.map +1 -0
- package/{lib → dist}/properties/MapProperty.d.ts +1 -0
- package/dist/properties/MapProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/MapProperty.js +2 -1
- package/dist/properties/MapProperty.js.map +1 -0
- package/{lib → dist}/properties/NumberProperty.d.ts +1 -0
- package/dist/properties/NumberProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/NumberProperty.js +15 -14
- package/dist/properties/NumberProperty.js.map +1 -0
- package/{lib → dist}/properties/ObjectProperty.d.ts +1 -0
- package/dist/properties/ObjectProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/ObjectProperty.js +4 -3
- package/dist/properties/ObjectProperty.js.map +1 -0
- package/{lib → dist}/properties/Property.d.ts +1 -0
- package/dist/properties/Property.d.ts.map +1 -0
- package/{lib → dist}/properties/Property.js +12 -11
- package/dist/properties/Property.js.map +1 -0
- package/{lib → dist}/properties/StringProperty.d.ts +3 -5
- package/dist/properties/StringProperty.d.ts.map +1 -0
- package/{lib → dist}/properties/StringProperty.js +20 -28
- package/dist/properties/StringProperty.js.map +1 -0
- package/{lib → dist}/properties/index.d.ts +4 -2
- package/dist/properties/index.d.ts.map +1 -0
- package/{lib → dist}/properties/index.js +1 -0
- package/dist/properties/index.js.map +1 -0
- package/{lib → dist}/properties/types/AbstractPropertyType.d.ts +1 -0
- package/dist/properties/types/AbstractPropertyType.d.ts.map +1 -0
- package/{lib → dist}/properties/types/AbstractPropertyType.js +1 -0
- package/dist/properties/types/AbstractPropertyType.js.map +1 -0
- package/{lib → dist}/properties/types/PropertyClassType.d.ts +1 -0
- package/dist/properties/types/PropertyClassType.d.ts.map +1 -0
- package/{lib → dist}/properties/types/PropertyClassType.js +1 -0
- package/dist/properties/types/PropertyClassType.js.map +1 -0
- package/{lib → dist}/properties/types/PropertyHTMLType.d.ts +1 -0
- package/dist/properties/types/PropertyHTMLType.d.ts.map +1 -0
- package/{lib → dist}/properties/types/PropertyHTMLType.js +1 -2
- package/dist/properties/types/PropertyHTMLType.js.map +1 -0
- package/{lib → dist}/properties/types/PropertyTypes.d.ts +1 -0
- package/dist/properties/types/PropertyTypes.d.ts.map +1 -0
- package/{lib → dist}/properties/types/PropertyTypes.js +1 -0
- package/dist/properties/types/PropertyTypes.js.map +1 -0
- package/package.json +47 -46
- package/src/Core.ts +145 -0
- package/src/common/DataGenerator.ts +81 -0
- package/src/common/ResourcesErrors.ts +17 -0
- package/src/common/statuses.ts +20 -0
- package/src/components/AbstractObject.ts +71 -0
- package/src/components/BaseObject.ts +123 -0
- package/src/components/BaseObjectProperties.ts +65 -0
- package/src/components/DataObject.ts +418 -0
- package/src/components/Entity.ts +38 -0
- package/src/components/ObjectUri.test.ts +74 -0
- package/src/components/ObjectUri.ts +174 -0
- package/src/components/User.ts +111 -0
- package/src/components/index.ts +19 -0
- package/src/components/types/AbstractObjectClass.ts +7 -0
- package/src/components/types/BaseObjectClass.ts +8 -0
- package/src/components/types/BaseObjectType.ts +10 -0
- package/src/components/types/DataObjectClass.ts +27 -0
- package/src/components/types/DataObjectParams.ts +8 -0
- package/src/components/types/DataObjectType.ts +27 -0
- package/src/components/types/EntityClass.ts +3 -0
- package/src/components/types/Payload.ts +11 -0
- package/src/components/types/Persisted.ts +7 -0
- package/src/components/types/Properties.ts +1 -0
- package/src/components/types/ProxyConstructor.ts +13 -0
- package/src/components/types/toJSONParams.ts +12 -0
- package/src/index.ts +97 -0
- package/src/properties/ArrayProperty.test.ts +46 -0
- package/src/properties/ArrayProperty.ts +87 -0
- package/src/properties/BaseProperty.test.ts +79 -0
- package/src/properties/BaseProperty.ts +140 -0
- package/src/properties/BooleanProperty.ts +11 -0
- package/src/properties/CollectionProperty.test.ts +22 -0
- package/src/properties/CollectionProperty.ts +43 -0
- package/src/properties/DateTimeProperty.ts +47 -0
- package/src/properties/EnumProperty.ts +36 -0
- package/src/properties/FileProperty.ts +14 -0
- package/src/properties/HashProperty.test.ts +108 -0
- package/src/properties/HashProperty.ts +70 -0
- package/src/properties/MapProperty.ts +19 -0
- package/src/properties/NumberProperty.test.ts +38 -0
- package/src/properties/NumberProperty.ts +110 -0
- package/src/properties/ObjectProperty.ts +118 -0
- package/src/properties/Property.ts +85 -0
- package/src/properties/StringProperty.test.ts +46 -0
- package/src/properties/StringProperty.ts +121 -0
- package/src/properties/index.ts +62 -0
- package/src/properties/types/AbstractPropertyType.ts +8 -0
- package/src/properties/types/PropertyClassType.ts +11 -0
- package/src/properties/types/PropertyHTMLType.ts +23 -0
- package/src/properties/types/PropertyTypes.ts +13 -0
- package/lib/Core.js +0 -133
- package/lib/components/BaseObject.js +0 -103
- package/lib/components/BaseObjectProperties.d.ts +0 -1
- package/lib/components/Entity.js +0 -71
- package/lib/components/types/Properties.d.ts +0 -3
- package/lib/components/types/Properties.js +0 -1
|
@@ -22,15 +22,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
26
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
27
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
28
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
29
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
30
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
31
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
26
|
exports.User = exports.UserProperties = void 0;
|
|
36
27
|
const BaseObject_1 = require("./BaseObject");
|
|
@@ -39,16 +30,10 @@ const HashProperty_1 = require("../properties/HashProperty");
|
|
|
39
30
|
const StringProperty_1 = require("../properties/StringProperty");
|
|
40
31
|
const htmlType = __importStar(require("../properties/types/PropertyHTMLType"));
|
|
41
32
|
const BaseObjectProperties_1 = require("./BaseObjectProperties");
|
|
42
|
-
/**
|
|
43
|
-
* Callback function to populate the 'name' property
|
|
44
|
-
* @param dao DataObject
|
|
45
|
-
* @returns
|
|
46
|
-
*/
|
|
47
33
|
const onChange = (dao) => dao.set('name', `${dao.val('firstname')} ${dao.val('lastname')}`);
|
|
48
34
|
exports.UserProperties = [
|
|
49
35
|
...BaseObjectProperties_1.BaseObjectProperties,
|
|
50
36
|
{
|
|
51
|
-
// change name property minLength
|
|
52
37
|
name: 'name',
|
|
53
38
|
type: StringProperty_1.StringProperty.TYPE,
|
|
54
39
|
minLength: 0,
|
|
@@ -108,9 +93,9 @@ exports.UserProperties = [
|
|
|
108
93
|
mandatory: true,
|
|
109
94
|
type: HashProperty_1.HashProperty.TYPE,
|
|
110
95
|
algorithm: HashProperty_1.HashProperty.ALGORITHM_SHA256,
|
|
111
|
-
salt: '',
|
|
96
|
+
salt: '',
|
|
112
97
|
minLength: 5,
|
|
113
|
-
maxLength: 20,
|
|
98
|
+
maxLength: 20,
|
|
114
99
|
htmlType: htmlType.PASSWORD,
|
|
115
100
|
},
|
|
116
101
|
{
|
|
@@ -121,15 +106,11 @@ exports.UserProperties = [
|
|
|
121
106
|
},
|
|
122
107
|
];
|
|
123
108
|
class User extends BaseObject_1.BaseObject {
|
|
124
|
-
static
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
-
return _super.factory.call(this, src, User);
|
|
130
|
-
});
|
|
109
|
+
static PROPS_DEFINITION = exports.UserProperties;
|
|
110
|
+
static COLLECTION = 'user';
|
|
111
|
+
static async factory(src = undefined) {
|
|
112
|
+
return super.factory(src, User);
|
|
131
113
|
}
|
|
132
114
|
}
|
|
133
115
|
exports.User = User;
|
|
134
|
-
|
|
135
|
-
User.COLLECTION = 'user';
|
|
116
|
+
//# sourceMappingURL=User.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../src/components/User.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAyC;AAEzC,8CAA8E;AAC9E,6DAAyD;AACzD,iEAA6D;AAC7D,+EAAgE;AAChE,iEAA6D;AAkB7D,MAAM,QAAQ,GAAG,CAAC,GAAyB,EAAE,EAAE,CAC5C,GAAG,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,GAAG,CAAC,WAAW,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAA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QACzB,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,GAAG;QACd,QAAQ,EAAE,QAAQ,CAAC,GAAG;KACxB;IACD;QACG,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,2BAAY,CAAC,IAAI;QACvB,SAAS,EAAE,2BAAY,CAAC,gBAAgB;QACxC,IAAI,EAAE,EAAE;QACR,SAAS,EAAE,CAAC;QACZ,SAAS,EAAE,EAAE;QACb,QAAQ,EAAE,QAAQ,CAAC,QAAQ;KAC7B;IACD;QACG,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,KAAK;QAChB,IAAI,EAAE,2BAAc,CAAC,IAAI;QACzB,UAAU,EAAE,QAAQ;KACtB;CACH,CAAA;AAED,MAAa,IAAK,SAAQ,uBAAU;IACjC,MAAM,CAAC,gBAAgB,GAAG,sBAAc,CAAA;IACxC,MAAM,CAAC,UAAU,GAAG,MAAM,CAAA;IAE1B,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,MAAW,SAAS;QACtC,OAAO,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,CAAA;IAClC,CAAC;;AANJ,oBAOC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { DataObjectProperties } from '../../../properties';
|
|
2
|
+
import { BaseObjectCore } from '../../BaseObjectCore';
|
|
3
|
+
import { ObjectUri } from '../../ObjectUri';
|
|
4
|
+
export declare const fClassProperties: DataObjectProperties;
|
|
5
|
+
export declare class fClass extends BaseObjectCore {
|
|
6
|
+
static PROPS_DEFINITION: DataObjectProperties;
|
|
7
|
+
}
|
|
8
|
+
export declare const properties: DataObjectProperties;
|
|
9
|
+
export declare const fData: {
|
|
10
|
+
uid: string;
|
|
11
|
+
path: string;
|
|
12
|
+
string: string;
|
|
13
|
+
boolean: boolean;
|
|
14
|
+
enum: string;
|
|
15
|
+
object: ObjectUri;
|
|
16
|
+
};
|
|
17
|
+
export declare const baseObjectUri = "baseobject/xyz";
|
|
18
|
+
export declare const UserUri = "user/abc";
|
|
19
|
+
export declare const BaseObjectData: {
|
|
20
|
+
uid: string;
|
|
21
|
+
path: string;
|
|
22
|
+
name: string;
|
|
23
|
+
status: any;
|
|
24
|
+
};
|
|
25
|
+
export declare const UserData: {
|
|
26
|
+
uid: string;
|
|
27
|
+
path: string;
|
|
28
|
+
name: string;
|
|
29
|
+
status: any;
|
|
30
|
+
firstname: string;
|
|
31
|
+
lastname: string;
|
|
32
|
+
email: string;
|
|
33
|
+
password: string;
|
|
34
|
+
createdBy: ObjectUri;
|
|
35
|
+
createdAt: number;
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=dao.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dao.d.ts","sourceRoot":"","sources":["../../../../src/components/__test__/fixtures/dao.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAA;AAE3C,eAAO,MAAM,gBAAgB,EAAE,oBAK9B,CAAA;AACD,qBAAa,MAAO,SAAQ,cAAc;IACvC,MAAM,CAAC,gBAAgB,EAAE,oBAAoB,CAK5C;CACH;AAED,eAAO,MAAM,UAAU,EAAE,oBAsBxB,CAAA;AAED,eAAO,MAAM,KAAK;;;;;;;CAOjB,CAAA;AAED,eAAO,MAAM,aAAa,mBAAmB,CAAA;AAC7C,eAAO,MAAM,OAAO,aAAa,CAAA;AAEjC,eAAO,MAAM,cAAc;;;;;CAK1B,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;CAWpB,CAAA"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.UserData = exports.BaseObjectData = exports.UserUri = exports.baseObjectUri = exports.fData = exports.properties = exports.fClass = exports.fClassProperties = void 0;
|
|
27
|
+
const statuses = __importStar(require("../../../statuses"));
|
|
28
|
+
const BooleanProperty_1 = require("../../../properties/BooleanProperty");
|
|
29
|
+
const EnumProperty_1 = require("../../../properties/EnumProperty");
|
|
30
|
+
const ObjectProperty_1 = require("../../../properties/ObjectProperty");
|
|
31
|
+
const StringProperty_1 = require("../../../properties/StringProperty");
|
|
32
|
+
const BaseObjectCore_1 = require("../../BaseObjectCore");
|
|
33
|
+
const ObjectUri_1 = require("../../ObjectUri");
|
|
34
|
+
exports.fClassProperties = [
|
|
35
|
+
{
|
|
36
|
+
name: 'a',
|
|
37
|
+
type: StringProperty_1.StringProperty.TYPE,
|
|
38
|
+
},
|
|
39
|
+
];
|
|
40
|
+
class fClass extends BaseObjectCore_1.BaseObjectCore {
|
|
41
|
+
static PROPS_DEFINITION = [
|
|
42
|
+
{
|
|
43
|
+
name: 'a',
|
|
44
|
+
type: StringProperty_1.StringProperty.TYPE,
|
|
45
|
+
},
|
|
46
|
+
];
|
|
47
|
+
}
|
|
48
|
+
exports.fClass = fClass;
|
|
49
|
+
exports.properties = [
|
|
50
|
+
{
|
|
51
|
+
name: 'string',
|
|
52
|
+
mandatory: true,
|
|
53
|
+
type: StringProperty_1.StringProperty.TYPE,
|
|
54
|
+
defaultValue: 'nothing',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'boolean',
|
|
58
|
+
type: BooleanProperty_1.BooleanProperty.TYPE,
|
|
59
|
+
defaultValue: false,
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'enum',
|
|
63
|
+
type: EnumProperty_1.EnumProperty.TYPE,
|
|
64
|
+
values: ['Mr', 'Miss', 'Ms', 'Dr'],
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'object',
|
|
68
|
+
type: ObjectProperty_1.ObjectProperty.TYPE,
|
|
69
|
+
instanceOf: fClass.prototype,
|
|
70
|
+
},
|
|
71
|
+
];
|
|
72
|
+
exports.fData = {
|
|
73
|
+
uid: 'a/b',
|
|
74
|
+
path: 'a/b',
|
|
75
|
+
string: 'a string',
|
|
76
|
+
boolean: true,
|
|
77
|
+
enum: 'Miss',
|
|
78
|
+
object: new ObjectUri_1.ObjectUri('c/d'),
|
|
79
|
+
};
|
|
80
|
+
exports.baseObjectUri = 'baseobject/xyz';
|
|
81
|
+
exports.UserUri = 'user/abc';
|
|
82
|
+
exports.BaseObjectData = {
|
|
83
|
+
uid: exports.baseObjectUri,
|
|
84
|
+
path: exports.baseObjectUri,
|
|
85
|
+
name: 'a simple object',
|
|
86
|
+
status: statuses.PENDING,
|
|
87
|
+
};
|
|
88
|
+
exports.UserData = {
|
|
89
|
+
uid: 'abc',
|
|
90
|
+
path: exports.UserUri,
|
|
91
|
+
name: 'John Doe',
|
|
92
|
+
status: statuses.ACTIVE,
|
|
93
|
+
firstname: 'John',
|
|
94
|
+
lastname: 'Doe',
|
|
95
|
+
email: 'john@doe.com',
|
|
96
|
+
password: 'f2d81a260dea8a100dd517984e53c56a7523d96942a834b9cdc249bd4e8c7aa9',
|
|
97
|
+
createdBy: new ObjectUri_1.ObjectUri(exports.UserUri, 'John Doe'),
|
|
98
|
+
createdAt: 1,
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=dao.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dao.js","sourceRoot":"","sources":["../../../../src/components/__test__/fixtures/dao.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,4DAA6C;AAC7C,yEAAqE;AACrE,mEAA+D;AAC/D,uEAAmE;AACnE,uEAAmE;AAEnE,yDAAqD;AACrD,+CAA2C;AAE9B,QAAA,gBAAgB,GAAyB;IACnD;QACG,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,+BAAc,CAAC,IAAI;KAC3B;CACH,CAAA;AACD,MAAa,MAAO,SAAQ,+BAAc;IACvC,MAAM,CAAC,gBAAgB,GAAyB;QAC7C;YACG,IAAI,EAAE,GAAG;YACT,IAAI,EAAE,+BAAc,CAAC,IAAI;SAC3B;KACH,CAAA;;AANJ,wBAOC;AAEY,QAAA,UAAU,GAAyB;IAC7C;QACG,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,IAAI;QACf,IAAI,EAAE,+BAAc,CAAC,IAAI;QACzB,YAAY,EAAE,SAAS;KACzB;IACD;QACG,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,iCAAe,CAAC,IAAI;QAC1B,YAAY,EAAE,KAAK;KACrB;IACD;QACG,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,2BAAY,CAAC,IAAI;QACvB,MAAM,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC;KACpC;IACD;QACG,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,+BAAc,CAAC,IAAI;QACzB,UAAU,EAAE,MAAM,CAAC,SAAS;KAC9B;CACH,CAAA;AAEY,QAAA,KAAK,GAAG;IAClB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,KAAK;IACX,MAAM,EAAE,UAAU;IAClB,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,IAAI,qBAAS,CAAC,KAAK,CAAC;CAC9B,CAAA;AAEY,QAAA,aAAa,GAAG,gBAAgB,CAAA;AAChC,QAAA,OAAO,GAAG,UAAU,CAAA;AAEpB,QAAA,cAAc,GAAG;IAC3B,GAAG,EAAE,qBAAa;IAClB,IAAI,EAAE,qBAAa;IACnB,IAAI,EAAE,iBAAiB;IACvB,MAAM,EAAE,QAAQ,CAAC,OAAO;CAC1B,CAAA;AAEY,QAAA,QAAQ,GAAG;IACrB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,eAAO;IACb,IAAI,EAAE,UAAU;IAChB,MAAM,EAAE,QAAQ,CAAC,MAAM;IACvB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE,KAAK;IACf,KAAK,EAAE,cAAc;IACrB,QAAQ,EAAE,kEAAkE;IAC5E,SAAS,EAAE,IAAI,qBAAS,CAAC,eAAO,EAAE,UAAU,CAAC;IAC7C,SAAS,EAAE,CAAC;CACd,CAAA"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { DataObject
|
|
1
|
+
import { DataObject } from './DataObject';
|
|
2
2
|
import { DataObjectClass } from './types/DataObjectClass';
|
|
3
|
+
import { DataObjectParams } from './types/DataObjectParams';
|
|
3
4
|
import { ObjectUri } from './ObjectUri';
|
|
4
5
|
import { AbstractObject } from './AbstractObject';
|
|
5
6
|
import { BaseObjectProperties } from './BaseObjectProperties';
|
|
6
7
|
import { User, UserProperties } from './User';
|
|
7
8
|
import { Entity } from './Entity';
|
|
8
|
-
export { DataObject,
|
|
9
|
+
export { DataObject, ObjectUri, AbstractObject, User, Entity, BaseObjectProperties, UserProperties, };
|
|
10
|
+
export type { DataObjectParams, DataObjectClass };
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AACzD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EACJ,UAAU,EACV,SAAS,EACT,cAAc,EACd,IAAI,EACJ,MAAM,EACN,oBAAoB,EACpB,cAAc,GAChB,CAAA;AACD,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -14,3 +14,4 @@ Object.defineProperty(exports, "User", { enumerable: true, get: function () { re
|
|
|
14
14
|
Object.defineProperty(exports, "UserProperties", { enumerable: true, get: function () { return User_1.UserProperties; } });
|
|
15
15
|
const Entity_1 = require("./Entity");
|
|
16
16
|
Object.defineProperty(exports, "Entity", { enumerable: true, get: function () { return Entity_1.Entity; } });
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;AAAA,6CAAyC;AAUtC,2FAVM,uBAAU,OAUN;AAPb,2CAAuC;AAQpC,0FARM,qBAAS,OAQN;AAPZ,qDAAiD;AAQ9C,+FARM,+BAAc,OAQN;AAPjB,iEAA6D;AAU1D,qGAVM,2CAAoB,OAUN;AATvB,iCAA6C;AAO1C,qFAPM,WAAI,OAON;AAGJ,+FAVY,qBAAc,OAUZ;AATjB,qCAAiC;AAO9B,uFAPM,eAAM,OAON"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractObjectClass.d.ts","sourceRoot":"","sources":["../../../src/components/types/AbstractObjectClass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,WAAW,mBAAmB;IACjC,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAA;IAChC,WAAW,IAAI,GAAG,CAAA;IAClB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AbstractObjectClass.js","sourceRoot":"","sources":["../../../src/components/types/AbstractObjectClass.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseObjectClass.d.ts","sourceRoot":"","sources":["../../../src/components/types/BaseObjectClass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IACzD,UAAU,EAAE,eAAe,CAAC,GAAG,CAAC,CAAA;IAChC,WAAW,IAAI,GAAG,CAAA;IAClB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseObjectClass.js","sourceRoot":"","sources":["../../../src/components/types/BaseObjectClass.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface BaseObjectType {
|
|
2
2
|
name: string;
|
|
3
|
-
status
|
|
3
|
+
status?: string;
|
|
4
4
|
createdBy?: any;
|
|
5
5
|
createdAt?: number | string;
|
|
6
6
|
updatedBy?: any;
|
|
@@ -8,3 +8,4 @@ export interface BaseObjectType {
|
|
|
8
8
|
deletedBy?: any;
|
|
9
9
|
deletedAt?: number | string;
|
|
10
10
|
}
|
|
11
|
+
//# sourceMappingURL=BaseObjectType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseObjectType.d.ts","sourceRoot":"","sources":["../../../src/components/types/BaseObjectType.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAC3B,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseObjectType.js","sourceRoot":"","sources":["../../../src/components/types/BaseObjectType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataObjectClass.d.ts","sourceRoot":"","sources":["../../../src/components/types/DataObjectClass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAA;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,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|
|
1
|
+
import { DataObjectProperties } from '../../properties';
|
|
2
|
+
import { ObjectUri } from '../ObjectUri';
|
|
3
|
+
export interface DataObjectParams {
|
|
4
|
+
uri?: string | ObjectUri;
|
|
5
|
+
properties: DataObjectProperties;
|
|
6
|
+
parentProp?: string;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=DataObjectParams.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataObjectParams.d.ts","sourceRoot":"","sources":["../../../src/components/types/DataObjectParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExC,MAAM,WAAW,gBAAgB;IAC9B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,UAAU,EAAE,oBAAoB,CAAA;IAChC,UAAU,CAAC,EAAE,MAAM,CAAA;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataObjectParams.js","sourceRoot":"","sources":["../../../src/components/types/DataObjectParams.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataObjectType.d.ts","sourceRoot":"","sources":["../../../src/components/types/DataObjectType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAA;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,MAAM,WAAW,cAAc;IAC5B,GAAG,EAAE,SAAS,CAAA;IACd,GAAG,EAAE,GAAG,CAAA;IACR,IAAI,EAAE,GAAG,CAAA;IACT,KAAK,EAAE,GAAG,CAAA;IACV,UAAU,EAAE,GAAG,CAAA;IACf,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAE9B,aAAa,CAAC,UAAU,EAAE,GAAG,GAAG,IAAI,CAAA;IACpC,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,GAAG,CAAA;IAC7B,WAAW,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAA;IAC9C,QAAQ,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IAClC,WAAW,IAAI,OAAO,CAAA;IACtB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;IACzB,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IACrB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,GAAG,GAAG,CAAA;IAC/B,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;IACrB,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IAC/B,WAAW,IAAI,GAAG,CAAA;IAClB,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,YAAY,GAAG,GAAG,CAAA;IAC5C,gBAAgB,CAAC,IAAI,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,IAAI,CAAA;IACtD,OAAO,IAAI,GAAG,CAAA;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataObjectType.js","sourceRoot":"","sources":["../../../src/components/types/DataObjectType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityClass.d.ts","sourceRoot":"","sources":["../../../src/components/types/EntityClass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,MAAM,WAAW,WAAY,SAAQ,eAAe;CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityClass.js","sourceRoot":"","sources":["../../../src/components/types/EntityClass.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../../src/components/types/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC,CAAC,SAAS,cAAc;IACtD,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,IAAI,EAAE,IAAI,CAAA;CACZ;AAED,MAAM,WAAW,IAAI;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Payload.js","sourceRoot":"","sources":["../../../src/components/types/Payload.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Persisted.d.ts","sourceRoot":"","sources":["../../../src/components/types/Persisted.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAE1C,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,SAAS,CAAA;CAChB,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Persisted.js","sourceRoot":"","sources":["../../../src/components/types/Persisted.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Properties.d.ts","sourceRoot":"","sources":["../../../src/components/types/Properties.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Properties.js","sourceRoot":"","sources":["../../../src/components/types/Properties.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProxyConstructor.d.ts","sourceRoot":"","sources":["../../../src/components/types/ProxyConstructor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,UAAU,gBAAgB;IACvB,KAAK,CAAC,SAAS,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;CAC1E;AAED,eAAO,MAAM,gBAAgB,kBAA4B,CAAA;AAEzD,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,CAAC,GAAG;IACxB,QAAQ,CAAC,MAAM,EAAE,MAAM,MAAM,CAAA;IAC7B,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAA;CAEhC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProxyConstructor.js","sourceRoot":"","sources":["../../../src/components/types/ProxyConstructor.ts"],"names":[],"mappings":";;;AAMa,QAAA,gBAAgB,GAAG,KAAyB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toJSONParams.d.ts","sourceRoot":"","sources":["../../../src/components/types/toJSONParams.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IAExB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAE7B,cAAc,CAAC,EAAE,OAAO,CAAA;IAExB,eAAe,CAAC,EAAE,OAAO,CAAA;IAEzB,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB,UAAU,CAAC,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAAA;KAAE,CAAA;CAC/C,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toJSONParams.js","sourceRoot":"","sources":["../../../src/components/types/toJSONParams.ts"],"names":[],"mappings":""}
|
package/{lib → dist}/index.d.ts
RENAMED
|
@@ -3,6 +3,7 @@ import * as statuses from './common/statuses';
|
|
|
3
3
|
import { Property } from './properties/Property';
|
|
4
4
|
import { BaseProperty, BasePropertyType } from './properties/BaseProperty';
|
|
5
5
|
import { StringProperty, StringPropertyType } from './properties/StringProperty';
|
|
6
|
+
import { NumberProperty, NumberPropertyType } from './properties/NumberProperty';
|
|
6
7
|
import { EnumProperty, EnumPropertyType } from './properties/EnumProperty';
|
|
7
8
|
import { BooleanProperty, BooleanPropertyType } from './properties/BooleanProperty';
|
|
8
9
|
import { ObjectProperty, ObjectPropertyType, returnAs } from './properties/ObjectProperty';
|
|
@@ -22,4 +23,7 @@ import { Proxy } from './components/types/ProxyConstructor';
|
|
|
22
23
|
import { UserType, User, UserProperties } from './components/User';
|
|
23
24
|
import { EntityType, Entity } from './components/Entity';
|
|
24
25
|
import { BadRequestError, UnauthorizedError, ForbiddenError, NotFoundError, GoneError } from './common/ResourcesErrors';
|
|
25
|
-
|
|
26
|
+
import { DataObjectParams } from './components/types/DataObjectParams';
|
|
27
|
+
export { statuses, Core, Property, BaseProperty, BooleanProperty, DateTimeProperty, EnumProperty, HashProperty, CollectionProperty, ArrayProperty, ObjectProperty, NumberProperty, returnAs, StringProperty, ObjectUri, DataObject, AbstractObject, BaseObject, BaseObjectProperties, User, UserProperties, Entity, BadRequestError, UnauthorizedError, ForbiddenError, NotFoundError, GoneError, };
|
|
28
|
+
export type { BasePropertyType, BooleanPropertyType, DataObjectParams, DateTimePropertyType, EnumPropertyType, HashPropertyType, CollectionPropertyType, ArrayPropertyType, ObjectPropertyType, NumberPropertyType, StringPropertyType, DataObjectClass, DataObjectProperties, BaseObjectType, UserType, Proxy, EntityType, };
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,KAAK,QAAQ,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,IAAI,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAExD,OAAO,EACJ,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,SAAS,EACX,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAA;AAEtE,OAAO,EACJ,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,cAAc,EACd,QAAQ,EACR,cAAc,EACd,SAAS,EACT,UAAU,EACV,cAAc,EACd,UAAU,EACV,oBAAoB,EACpB,IAAI,EACJ,cAAc,EACd,MAAM,EACN,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,aAAa,EACb,SAAS,GACX,CAAA;AAED,YAAY,EACT,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,QAAQ,EACR,KAAK,EACL,UAAU,GACZ,CAAA"}
|
package/{lib → dist}/index.js
RENAMED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.GoneError = exports.NotFoundError = exports.ForbiddenError = exports.UnauthorizedError = exports.BadRequestError = exports.Entity = exports.UserProperties = exports.User = exports.BaseObjectProperties = exports.BaseObject = exports.AbstractObject = exports.DataObject = exports.ObjectUri = exports.StringProperty = exports.returnAs = exports.ObjectProperty = exports.ArrayProperty = exports.CollectionProperty = exports.HashProperty = exports.EnumProperty = exports.DateTimeProperty = exports.BooleanProperty = exports.BaseProperty = exports.Property = exports.Core = exports.statuses = void 0;
|
|
26
|
+
exports.GoneError = exports.NotFoundError = exports.ForbiddenError = exports.UnauthorizedError = exports.BadRequestError = exports.Entity = exports.UserProperties = exports.User = exports.BaseObjectProperties = exports.BaseObject = exports.AbstractObject = exports.DataObject = exports.ObjectUri = exports.StringProperty = exports.returnAs = exports.NumberProperty = exports.ObjectProperty = exports.ArrayProperty = exports.CollectionProperty = exports.HashProperty = exports.EnumProperty = exports.DateTimeProperty = exports.BooleanProperty = exports.BaseProperty = exports.Property = exports.Core = exports.statuses = void 0;
|
|
27
27
|
const Core_1 = require("./Core");
|
|
28
28
|
Object.defineProperty(exports, "Core", { enumerable: true, get: function () { return Core_1.Core; } });
|
|
29
29
|
const statuses = __importStar(require("./common/statuses"));
|
|
@@ -34,6 +34,8 @@ const BaseProperty_1 = require("./properties/BaseProperty");
|
|
|
34
34
|
Object.defineProperty(exports, "BaseProperty", { enumerable: true, get: function () { return BaseProperty_1.BaseProperty; } });
|
|
35
35
|
const StringProperty_1 = require("./properties/StringProperty");
|
|
36
36
|
Object.defineProperty(exports, "StringProperty", { enumerable: true, get: function () { return StringProperty_1.StringProperty; } });
|
|
37
|
+
const NumberProperty_1 = require("./properties/NumberProperty");
|
|
38
|
+
Object.defineProperty(exports, "NumberProperty", { enumerable: true, get: function () { return NumberProperty_1.NumberProperty; } });
|
|
37
39
|
const EnumProperty_1 = require("./properties/EnumProperty");
|
|
38
40
|
Object.defineProperty(exports, "EnumProperty", { enumerable: true, get: function () { return EnumProperty_1.EnumProperty; } });
|
|
39
41
|
const BooleanProperty_1 = require("./properties/BooleanProperty");
|
|
@@ -70,3 +72,4 @@ Object.defineProperty(exports, "UnauthorizedError", { enumerable: true, get: fun
|
|
|
70
72
|
Object.defineProperty(exports, "ForbiddenError", { enumerable: true, get: function () { return ResourcesErrors_1.ForbiddenError; } });
|
|
71
73
|
Object.defineProperty(exports, "NotFoundError", { enumerable: true, get: function () { return ResourcesErrors_1.NotFoundError; } });
|
|
72
74
|
Object.defineProperty(exports, "GoneError", { enumerable: true, get: function () { return ResourcesErrors_1.GoneError; } });
|
|
75
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iCAA6B;AAkD1B,qFAlDM,WAAI,OAkDN;AAjDP,4DAA6C;AAgD1C,4BAAQ;AA/CX,oDAAgD;AAiD7C,yFAjDM,mBAAQ,OAiDN;AAhDX,4DAA0E;AAiDvE,6FAjDM,2BAAY,OAiDN;AAhDf,gEAAgF;AA0D7E,+FA1DM,+BAAc,OA0DN;AAzDjB,gEAAgF;AAuD7E,+FAvDM,+BAAc,OAuDN;AAtDjB,4DAA0E;AAiDvE,6FAjDM,2BAAY,OAiDN;AAhDf,kEAGqC;AA2ClC,gGA7CA,iCAAe,OA6CA;AA1ClB,gEAIoC;AA4CjC,+FA/CA,+BAAc,OA+CA;AAEd,yFA/CA,yBAAQ,OA+CA;AA7CX,oEAGsC;AAmCnC,iGArCA,mCAAgB,OAqCA;AAlCnB,4DAA0E;AAoCvE,6FApCM,2BAAY,OAoCN;AAnCf,wEAGwC;AAiCrC,mGAnCA,uCAAkB,OAmCA;AAhCrB,8DAA6E;AAiC1E,8FAjCM,6BAAa,OAiCN;AAhChB,gEAA4D;AAuCzD,+FAvCM,+BAAc,OAuCN;AAtCjB,sDAAkD;AAoC/C,0FApCM,qBAAS,OAoCN;AAlCZ,wDAAoD;AAmCjD,2FAnCM,uBAAU,OAmCN;AAjCb,wDAAoD;AAmCjD,2FAnCM,uBAAU,OAmCN;AAlCb,4EAAwE;AAmCrE,qGAnCM,2CAAoB,OAmCN;AA/BvB,4CAAkE;AAgC/D,qFAhCgB,WAAI,OAgChB;AACJ,+FAjCsB,qBAAc,OAiCtB;AAhCjB,gDAAwD;AAiCrD,uFAjCkB,eAAM,OAiClB;AA/BT,8DAMiC;AA0B9B,gGA/BA,iCAAe,OA+BA;AACf,kGA/BA,mCAAiB,OA+BA;AACjB,+FA/BA,gCAAc,OA+BA;AACd,8FA/BA,+BAAa,OA+BA;AACb,0FA/BA,2BAAS,OA+BA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayProperty.d.ts","sourceRoot":"","sources":["../../src/properties/ArrayProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAG/D,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IACxD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,YAAY,CAAC,EAAE,OAAO,CAAA;CACxB;AAED,qBAAa,aAAc,SAAQ,YAAY;IAC5C,MAAM,CAAC,IAAI,SAAU;IACrB,SAAS,CAAC,MAAM,EAAE,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,CAAY;IAEpD,SAAS,CAAC,UAAU,EAAE,MAAM,CAAI;IAChC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAI;gBAEpB,MAAM,EAAE,iBAAiB;IAYrC,IAAI,SAAS,CAAC,GAAG,EAAE,MAAM,EAExB;IAED,IAAI,SAAS,IAJM,MAAM,CAMxB;IAED,IAAI,SAAS,CAAC,GAAG,EAAE,MAAM,EAExB;IACD,IAAI,SAAS,IAHM,MAAM,CAKxB;IAED,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,UAAU,UAAO;IAmCxC,GAAG,CAAC,SAAS,GAAE,QAAQ,GAAG,SAAqB;IAI/C,MAAM;CAGR"}
|
|
@@ -4,11 +4,12 @@ exports.ArrayProperty = void 0;
|
|
|
4
4
|
const BaseProperty_1 = require("./BaseProperty");
|
|
5
5
|
const StringProperty_1 = require("./StringProperty");
|
|
6
6
|
class ArrayProperty extends BaseProperty_1.BaseProperty {
|
|
7
|
+
static TYPE = 'array';
|
|
8
|
+
_value = undefined;
|
|
9
|
+
_minLength = 0;
|
|
10
|
+
_maxLength = 0;
|
|
7
11
|
constructor(config) {
|
|
8
12
|
super(config);
|
|
9
|
-
this._value = undefined;
|
|
10
|
-
this._minLength = 0;
|
|
11
|
-
this._maxLength = 0;
|
|
12
13
|
this.minLength = config.minLength || 0;
|
|
13
14
|
this.maxLength = config.maxLength || 0;
|
|
14
15
|
if (this._enable(config.allowNumbers)) {
|
|
@@ -62,4 +63,4 @@ class ArrayProperty extends BaseProperty_1.BaseProperty {
|
|
|
62
63
|
}
|
|
63
64
|
}
|
|
64
65
|
exports.ArrayProperty = ArrayProperty;
|
|
65
|
-
ArrayProperty.
|
|
66
|
+
//# sourceMappingURL=ArrayProperty.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArrayProperty.js","sourceRoot":"","sources":["../../src/properties/ArrayProperty.ts"],"names":[],"mappings":";;;AAAA,iDAA+D;AAC/D,qDAAiD;AASjD,MAAa,aAAc,SAAQ,2BAAY;IAC5C,MAAM,CAAC,IAAI,GAAG,OAAO,CAAA;IACX,MAAM,GAA2B,SAAS,CAAA;IAE1C,UAAU,GAAW,CAAC,CAAA;IACtB,UAAU,GAAW,CAAC,CAAA;IAEhC,YAAY,MAAyB;QAClC,KAAK,CAAC,MAAM,CAAC,CAAA;QACb,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,IAAI,CAAC,CAAA;QACtC,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,IAAI,CAAC,CAAA;QACtC,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC;YACrC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAAc,CAAC,aAAa,CAAC,CAAA;QAClD,CAAC;QACD,I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