@futdevpro/fsm-dynamo 1.0.14 → 1.0.16
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/BuildPackage.bat +1 -0
- package/HOWTO.md +15 -0
- package/LICENSE +21 -0
- package/README.md +17 -24
- package/lib/_constants/module-settings/test-module-settings.d.ts +1 -0
- package/lib/_constants/module-settings/test-module-settings.d.ts.map +1 -0
- package/lib/_constants/module-settings/test-module-settings.js +16 -0
- package/lib/_constants/module-settings/test-module-settings.js.map +1 -0
- package/lib/_constants/module-settings/usage-module-settings.d.ts +1 -0
- package/lib/_constants/module-settings/usage-module-settings.d.ts.map +1 -0
- package/lib/_constants/module-settings/usage-module-settings.js +13 -0
- package/lib/_constants/module-settings/usage-module-settings.js.map +1 -0
- package/lib/_constants/times.d.ts +1 -0
- package/lib/_constants/times.d.ts.map +1 -0
- package/lib/_constants/times.js +11 -0
- package/lib/_constants/times.js.map +1 -0
- package/lib/_models/control-models/daily-usage-data.d.ts +1 -0
- package/lib/_models/control-models/daily-usage-data.d.ts.map +1 -0
- package/lib/_models/control-models/daily-usage-data.js +22 -0
- package/lib/_models/control-models/daily-usage-data.js.map +1 -0
- package/lib/_models/control-models/dynamo-module-settings.d.ts +1 -0
- package/lib/_models/control-models/dynamo-module-settings.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-module-settings.js +3 -0
- package/lib/_models/control-models/dynamo-module-settings.js.map +1 -0
- package/lib/_models/control-models/dynamobe-data-params.d.ts +1 -0
- package/lib/_models/control-models/dynamobe-data-params.d.ts.map +1 -0
- package/lib/_models/control-models/dynamobe-data-params.js +12 -0
- package/lib/_models/control-models/dynamobe-data-params.js.map +1 -0
- package/lib/_models/control-models/dynamobe-data-property-params.d.ts +1 -0
- package/lib/_models/control-models/dynamobe-data-property-params.d.ts.map +1 -0
- package/lib/_models/control-models/dynamobe-data-property-params.js +68 -0
- package/lib/_models/control-models/dynamobe-data-property-params.js.map +1 -0
- package/lib/_models/control-models/dynamobe-error.d.ts +1 -0
- package/lib/_models/control-models/dynamobe-error.d.ts.map +1 -0
- package/lib/_models/control-models/dynamobe-error.js +188 -0
- package/lib/_models/control-models/dynamobe-error.js.map +1 -0
- package/lib/_models/control-models/geo-ip-location.d.ts +1 -0
- package/lib/_models/control-models/geo-ip-location.d.ts.map +1 -0
- package/lib/_models/control-models/geo-ip-location.js +3 -0
- package/lib/_models/control-models/geo-ip-location.js.map +1 -0
- package/lib/_models/control-models/location-coordinates.d.ts +1 -0
- package/lib/_models/control-models/location-coordinates.d.ts.map +1 -0
- package/lib/_models/control-models/location-coordinates.js +3 -0
- package/lib/_models/control-models/location-coordinates.js.map +1 -0
- package/lib/_models/control-models/usage-action.d.ts +1 -0
- package/lib/_models/control-models/usage-action.d.ts.map +1 -0
- package/lib/_models/control-models/usage-action.js +13 -0
- package/lib/_models/control-models/usage-action.js.map +1 -0
- package/lib/_models/control-models/usage-data.d.ts +1 -0
- package/lib/_models/control-models/usage-data.d.ts.map +1 -0
- package/lib/_models/control-models/usage-data.js +16 -0
- package/lib/_models/control-models/usage-data.js.map +1 -0
- package/lib/_models/data-models/custom-data.d.ts +1 -0
- package/lib/_models/data-models/custom-data.d.ts.map +1 -0
- package/lib/_models/data-models/custom-data.js +28 -0
- package/lib/_models/data-models/custom-data.js.map +1 -0
- package/lib/_models/data-models/metadata.d.ts +1 -0
- package/lib/_models/data-models/metadata.d.ts.map +1 -0
- package/lib/_models/data-models/metadata.js +17 -0
- package/lib/_models/data-models/metadata.js.map +1 -0
- package/lib/_models/data-models/usage-session.d.ts +1 -0
- package/lib/_models/data-models/usage-session.d.ts.map +1 -0
- package/lib/_models/data-models/usage-session.js +53 -0
- package/lib/_models/data-models/usage-session.js.map +1 -0
- package/lib/data-models.d.ts +3 -0
- package/lib/data-models.d.ts.map +1 -0
- package/lib/data-models.js +7 -0
- package/lib/data-models.js.map +1 -0
- package/lib/index.d.ts +15 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +23 -0
- package/lib/index.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +2515 -0
- package/nodemon.json +6 -0
- package/package.json +45 -48
- package/src/_constants/module-settings/test-module-settings.ts +15 -0
- package/src/_constants/module-settings/usage-module-settings.ts +12 -0
- package/src/_constants/times.ts +8 -0
- package/src/_models/control-models/daily-usage-data.ts +34 -0
- package/src/_models/control-models/dynamo-module-settings.ts +8 -0
- package/src/_models/control-models/dynamobe-data-params.ts +19 -0
- package/src/_models/control-models/dynamobe-data-property-params.ts +97 -0
- package/src/_models/control-models/dynamobe-error.ts +200 -0
- package/src/_models/control-models/geo-ip-location.ts +26 -0
- package/src/_models/control-models/location-coordinates.ts +5 -0
- package/src/_models/control-models/usage-action.ts +18 -0
- package/src/_models/control-models/usage-data.ts +26 -0
- package/src/_models/data-models/custom-data.ts +41 -0
- package/src/_models/data-models/metadata.ts +30 -0
- package/src/_models/data-models/usage-session.ts +85 -0
- package/src/data-models.ts +6 -0
- package/src/index.ts +22 -0
- package/src/sync.ffs_db +0 -0
- package/src/version.json +2 -0
- package/tsconfig.app.json +12 -0
- package/tsconfig.json +27 -0
- package/esm2020/futdevpro-fsm-dynamo.mjs +0 -8
- package/esm2020/lib/_constants/module-settings/test-module-settings.mjs +0 -16
- package/esm2020/lib/_constants/module-settings/usage-module-settings.mjs +0 -13
- package/esm2020/lib/_constants/times.mjs +0 -11
- package/esm2020/lib/_models/control-models/daily-usage-data.mjs +0 -22
- package/esm2020/lib/_models/control-models/dynamo-module-settings.mjs +0 -3
- package/esm2020/lib/_models/control-models/dynamobe-data-params.mjs +0 -12
- package/esm2020/lib/_models/control-models/dynamobe-data-property-params.mjs +0 -67
- package/esm2020/lib/_models/control-models/dynamobe-error.mjs +0 -187
- package/esm2020/lib/_models/control-models/geo-ip-location.mjs +0 -3
- package/esm2020/lib/_models/control-models/location-coordinates.mjs +0 -3
- package/esm2020/lib/_models/control-models/usage-action.mjs +0 -13
- package/esm2020/lib/_models/control-models/usage-data.mjs +0 -16
- package/esm2020/lib/_models/data-models/custom-data.mjs +0 -28
- package/esm2020/lib/_models/data-models/metadata.mjs +0 -17
- package/esm2020/lib/_models/data-models/usage-session.mjs +0 -53
- package/esm2020/public-api.mjs +0 -23
- package/fesm2015/futdevpro-fsm-dynamo.mjs +0 -8
- package/fesm2015/futdevpro-fsm-dynamo.mjs.map +0 -1
- package/fesm2020/futdevpro-fsm-dynamo.mjs +0 -8
- package/fesm2020/futdevpro-fsm-dynamo.mjs.map +0 -1
- package/futdevpro-fsm-dynamo-01.00.14.tgz +0 -0
- package/futdevpro-fsm-dynamo.d.ts +0 -5
- package/public-api.d.ts +0 -14
package/BuildPackage.bat
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cmd /k npm run build*
|
package/HOWTO.md
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Future Development Program Ltd. (HU)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE
|
package/README.md
CHANGED
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test fsm-dynamo` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
Dynamo is a framework developed by FDP that allows you to perform software development tasks easily, efficiently, quickly, and simply. As well as creating a unified system, the development of which will increase the stability of all our projects. Dynamo is easy to use, with the goal of creating complete systems with the right energy investment for the design process so that it can be easily upgraded in any form later.
|
|
4
|
+
|
|
5
|
+
Using dynamo can reduce software development costs by a fraction.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Part of this project is also a builder or editor interface, through which even those who are not software developers or have no development experience, can perform the development.
|
|
9
|
+
|
|
10
|
+
This interface can help juniors and people unfamiliar with development to easily make minor modifications and repairs to the system. Or they can easily get to know and understand the operation and structure of even a more complex project.
|
|
11
|
+
|
|
12
|
+
...
|
|
13
|
+
|
|
14
|
+
more documentation and description soon...
|
|
15
|
+
|
|
16
|
+
support out projects to make it happen sooner!
|
|
17
|
+
https://futdevpro.hu/support/dynamo
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-module-settings.d.ts","sourceRoot":"","sources":["../../../src/_constants/module-settings/test-module-settings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAE3F,eAAO,MAAM,kBAAkB,EAAE,oBAWhC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.testModuleSettings = void 0;
|
|
4
|
+
exports.testModuleSettings = {
|
|
5
|
+
mainRoute: '/test',
|
|
6
|
+
endPoints: {
|
|
7
|
+
testGet: '/test-get',
|
|
8
|
+
testPost: '/test-post',
|
|
9
|
+
testPut: '/test-put',
|
|
10
|
+
testPatch: '/test-patch',
|
|
11
|
+
testDelete: '/test-delete',
|
|
12
|
+
getCustomData: '/custom/get/:customId',
|
|
13
|
+
modifyCustomData: '/custom/post'
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=test-module-settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test-module-settings.js","sourceRoot":"","sources":["../../../src/_constants/module-settings/test-module-settings.ts"],"names":[],"mappings":";;;AAGa,QAAA,kBAAkB,GAAyB;IACtD,SAAS,EAAE,OAAO;IAClB,SAAS,EAAE;QACT,OAAO,EAAE,WAAW;QACpB,QAAQ,EAAE,YAAY;QACtB,OAAO,EAAE,WAAW;QACpB,SAAS,EAAE,aAAa;QACxB,UAAU,EAAE,cAAc;QAC1B,aAAa,EAAE,uBAAuB;QACtC,gBAAgB,EAAE,cAAc;KACjC;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage-module-settings.d.ts","sourceRoot":"","sources":["../../../src/_constants/module-settings/usage-module-settings.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qDAAqD,CAAC;AAE3F,eAAO,MAAM,mBAAmB,EAAE,oBAQjC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.usageModuleSettings = void 0;
|
|
4
|
+
exports.usageModuleSettings = {
|
|
5
|
+
mainRoute: '/usage',
|
|
6
|
+
endPoints: {
|
|
7
|
+
newSession: '/new-session',
|
|
8
|
+
closeSession: '/close-session/:sessionId',
|
|
9
|
+
updateUsage: '/update/:sessionId',
|
|
10
|
+
getAllUsageData: '/get/all',
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=usage-module-settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage-module-settings.js","sourceRoot":"","sources":["../../../src/_constants/module-settings/usage-module-settings.ts"],"names":[],"mappings":";;;AAGa,QAAA,mBAAmB,GAAyB;IACvD,SAAS,EAAE,QAAQ;IACnB,SAAS,EAAE;QACT,UAAU,EAAE,cAAc;QAC1B,YAAY,EAAE,2BAA2B;QACzC,WAAW,EAAG,oBAAoB;QAClC,eAAe,EAAE,UAAU;KAC5B;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"times.d.ts","sourceRoot":"","sources":["../../src/_constants/times.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,MAAM,OAAO,CAAC;AAC3B,eAAO,MAAM,MAAM,QAAc,CAAC;AAClC,eAAO,MAAM,IAAI,QAAc,CAAC;AAChC,eAAO,MAAM,GAAG,QAAY,CAAC;AAC7B,eAAO,MAAM,IAAI,QAAU,CAAC;AAC5B,eAAO,MAAM,KAAK,QAAmB,CAAC;AACtC,eAAO,MAAM,IAAI,QAAmB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.year = exports.month = exports.week = exports.day = exports.hour = exports.minute = exports.second = void 0;
|
|
4
|
+
exports.second = 1000;
|
|
5
|
+
exports.minute = exports.second * 60;
|
|
6
|
+
exports.hour = exports.minute * 60;
|
|
7
|
+
exports.day = exports.hour * 24;
|
|
8
|
+
exports.week = exports.day * 7;
|
|
9
|
+
exports.month = exports.day * 30.4368499;
|
|
10
|
+
exports.year = exports.day * 365.242199;
|
|
11
|
+
//# sourceMappingURL=times.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"times.js","sourceRoot":"","sources":["../../src/_constants/times.ts"],"names":[],"mappings":";;;AACa,QAAA,MAAM,GAAG,IAAI,CAAC;AACd,QAAA,MAAM,GAAG,cAAM,GAAG,EAAE,CAAC;AACrB,QAAA,IAAI,GAAG,cAAM,GAAG,EAAE,CAAC;AACnB,QAAA,GAAG,GAAG,YAAI,GAAG,EAAE,CAAC;AAChB,QAAA,IAAI,GAAG,WAAG,GAAG,CAAC,CAAC;AACf,QAAA,KAAK,GAAG,WAAG,GAAG,UAAU,CAAC;AACzB,QAAA,IAAI,GAAG,WAAG,GAAG,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daily-usage-data.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/daily-usage-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,qBAAa,cAAc;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAK;IAC5B,gBAAgB,CAAC,EAAE,MAAM,CAAK;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAK;IACzB,YAAY,CAAC,EAAE,MAAM,CAAK;IAE1B,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAM;gBAGtC,GAAG,CAAC,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QAEtB,WAAW,CAAC,EAAE,kBAAkB,EAAE,CAAC;KACpC;CAYJ"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DailyUsageData = void 0;
|
|
4
|
+
class DailyUsageData {
|
|
5
|
+
constructor(set) {
|
|
6
|
+
this.totalVisitTime = 0;
|
|
7
|
+
this.averageVisitTime = 0;
|
|
8
|
+
this.visitorsHun = 0;
|
|
9
|
+
this.visitorsElse = 0;
|
|
10
|
+
this.visitations = [];
|
|
11
|
+
if (set) {
|
|
12
|
+
this.date = set.date;
|
|
13
|
+
this.totalVisitTime = set.totalVisitTime ? set.totalVisitTime : 0;
|
|
14
|
+
this.averageVisitTime = set.averageVisitTime ? set.averageVisitTime : 0;
|
|
15
|
+
this.visitorsHun = set.visitorsHun ? set.visitorsHun : 0;
|
|
16
|
+
this.visitorsElse = set.visitorsElse ? set.visitorsElse : 0;
|
|
17
|
+
this.visitations = set.visitations ? set.visitations : [];
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.DailyUsageData = DailyUsageData;
|
|
22
|
+
//# sourceMappingURL=daily-usage-data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daily-usage-data.js","sourceRoot":"","sources":["../../../src/_models/control-models/daily-usage-data.ts"],"names":[],"mappings":";;;AAGA,MAAa,cAAc;IASzB,YACE,GAQC;QAhBH,mBAAc,GAAY,CAAC,CAAC;QAC5B,qBAAgB,GAAY,CAAC,CAAC;QAC9B,gBAAW,GAAY,CAAC,CAAC;QACzB,iBAAY,GAAY,CAAC,CAAC;QAE1B,gBAAW,GAA0B,EAAE,CAAC;QAatC,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YACrB,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;YAClE,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC;YACxE,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;YACzD,IAAI,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;YAE5D,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;SAC3D;IACH,CAAC;CACF;AA9BD,wCA8BC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamo-module-settings.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/dynamo-module-settings.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAElB,SAAS,EAAE;QACT,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;KAC3B,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamo-module-settings.js","sourceRoot":"","sources":["../../../src/_models/control-models/dynamo-module-settings.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamobe-data-params.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/dynamobe-data-params.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAE7E,qBAAa,kBAAkB;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,0BAA0B,EAAE,CAAC;gBAGxC,GAAG,EAAE;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB,WAAW,EAAE,0BAA0B,EAAE,CAAC;KAC3C;CAMJ"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamoBEDataParams = void 0;
|
|
4
|
+
class DynamoBEDataParams {
|
|
5
|
+
constructor(set) {
|
|
6
|
+
this.dataName = set.dataName;
|
|
7
|
+
this.dbName = set.dataName.charAt(0).toUpperCase() + set.dataName.slice(1);
|
|
8
|
+
this.modelParams = set.modelParams ? set.modelParams : [];
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.DynamoBEDataParams = DynamoBEDataParams;
|
|
12
|
+
//# sourceMappingURL=dynamobe-data-params.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamobe-data-params.js","sourceRoot":"","sources":["../../../src/_models/control-models/dynamobe-data-params.ts"],"names":[],"mappings":";;;AAGA,MAAa,kBAAkB;IAK7B,YACE,GAGC;QAED,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC7B,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3E,IAAI,CAAC,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5D,CAAC;CACF;AAfD,gDAeC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamobe-data-property-params.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/dynamobe-data-property-params.ts"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;CAqBhF"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamoBEDataPropertyParams = void 0;
|
|
4
|
+
const dynamobe_error_1 = require("./dynamobe-error");
|
|
5
|
+
class DynamoBEDataPropertyParams {
|
|
6
|
+
constructor(set) {
|
|
7
|
+
this.subObjectParams = [];
|
|
8
|
+
if (set) {
|
|
9
|
+
this.key = set.key;
|
|
10
|
+
this.type = set.type;
|
|
11
|
+
if (this.getBEType) {
|
|
12
|
+
if (set === null || set === void 0 ? void 0 : set.subObjectParams) {
|
|
13
|
+
this.subObjectParams = set.subObjectParams;
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
console.log('DYNAMO ERROR: \n subObjectParams missing', '\n\n', new Error());
|
|
17
|
+
throw new dynamobe_error_1.DynamoBEError({ message: 'subObjectParams missing' });
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
if (set.isDependencyHook) {
|
|
21
|
+
if (set.dependencyDBServiceName) {
|
|
22
|
+
this.isDependencyHook = set.isDependencyHook;
|
|
23
|
+
this.dependencyName = set.dependencyDBServiceName;
|
|
24
|
+
}
|
|
25
|
+
else {
|
|
26
|
+
this.isDependencyHook = set.isDependencyHook;
|
|
27
|
+
console.log('DYNAMO ERROR: \n dependencyDBServiceName missing for dependencyHook', '\n\n', new Error());
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
this.unique = set.unique;
|
|
31
|
+
this.required = set.required;
|
|
32
|
+
this.index = set.index;
|
|
33
|
+
this.minlength = set.minlength;
|
|
34
|
+
this.maxlength = set.maxlength;
|
|
35
|
+
this.additionalValidators = set.additionalValidators;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
console.log('DYNAMO ERROR: \nMISSING DynamoBEDataPropertyParams constructor input', '\n\n', new Error());
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
// tslint:disable-next-line: ban-types
|
|
42
|
+
getBEType() {
|
|
43
|
+
var _a, _b, _c;
|
|
44
|
+
switch (this.type) {
|
|
45
|
+
case 'string':
|
|
46
|
+
return String;
|
|
47
|
+
case 'number':
|
|
48
|
+
return Number;
|
|
49
|
+
case 'boolean':
|
|
50
|
+
return Boolean;
|
|
51
|
+
case 'Date':
|
|
52
|
+
return Date;
|
|
53
|
+
case 'object':
|
|
54
|
+
default:
|
|
55
|
+
if ((_a = this.type) === null || _a === void 0 ? void 0 : _a.includes('[]')) {
|
|
56
|
+
return Array;
|
|
57
|
+
}
|
|
58
|
+
else if (((_b = this.type) === null || _b === void 0 ? void 0 : _b.includes('=>')) || ((_c = this.type) === null || _c === void 0 ? void 0 : _c.includes('function'))) {
|
|
59
|
+
return Function;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
return Object;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.DynamoBEDataPropertyParams = DynamoBEDataPropertyParams;
|
|
68
|
+
//# sourceMappingURL=dynamobe-data-property-params.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamobe-data-property-params.js","sourceRoot":"","sources":["../../../src/_models/control-models/dynamobe-data-property-params.ts"],"names":[],"mappings":";;;AACA,qDAAiD;AAEjD,MAAa,0BAA0B;IAkBrC,YACE,GAiBC;QAtBH,oBAAe,GAAkC,EAAE,CAAC;QAwBlD,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC;YACnB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YAErB,IAAI,IAAI,CAAC,SAAS,EAAE;gBAClB,IAAI,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,eAAe,EAAE;oBACxB,IAAI,CAAC,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;iBAC5C;qBAAM;oBACL,OAAO,CAAC,GAAG,CAAC,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gBACE,UAAI,IAAI,CAAC,IAAI,0CAAE,QAAQ,CAAC,IAAI,GAAG;oBAC7B,OAAO,KAAK,CAAC;iBACd;qBAAM,IAAI,OAAA,IAAI,CAAC,IAAI,0CAAE,QAAQ,CAAC,IAAI,aAAK,IAAI,CAAC,IAAI,0CAAE,QAAQ,CAAC,UAAU,EAAC,EAAE;oBACvE,OAAO,QAAQ,CAAC;iBACjB;qBAAM;oBACL,OAAO,MAAM,CAAC;iBACf;SACJ;IACH,CAAC;CACF;AA7FD,gEA6FC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamobe-error.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/dynamobe-error.ts"],"names":[],"mappings":"AAEA,qBAAa,aAAa;IACxB,IAAI,SAA4B;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,GAAG,EAAE,CAAM;IACnB,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,MAAM,EAAE,CAAM;IACxB,YAAY,EAAE,MAAM,EAAE,CAAM;gBAG1B,GAAG,EAAE;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,GAAG,CAAC;QACZ,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB;CA+CJ"}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamoBEError = void 0;
|
|
4
|
+
class DynamoBEError {
|
|
5
|
+
constructor(set) {
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
7
|
+
this.flag = 'DYNAMO-BE ERROR OBJECT';
|
|
8
|
+
this.errors = [];
|
|
9
|
+
this.messages = [];
|
|
10
|
+
this.userMessages = [];
|
|
11
|
+
this.handled = !!set.handled;
|
|
12
|
+
if (set.status) {
|
|
13
|
+
this.status = set.status;
|
|
14
|
+
}
|
|
15
|
+
this.status = ((_a = set === null || set === void 0 ? void 0 : set.error) === null || _a === void 0 ? void 0 : _a.status) ? set.error.status : set.status;
|
|
16
|
+
if ((_b = set === null || set === void 0 ? void 0 : set.error) === null || _b === void 0 ? void 0 : _b.errors) {
|
|
17
|
+
this.errors = this.errors.concat((_c = set === null || set === void 0 ? void 0 : set.error) === null || _c === void 0 ? void 0 : _c.errors);
|
|
18
|
+
}
|
|
19
|
+
if ((_d = set === null || set === void 0 ? void 0 : set.error) === null || _d === void 0 ? void 0 : _d.messages) {
|
|
20
|
+
this.messages = this.messages.concat((_e = set === null || set === void 0 ? void 0 : set.error) === null || _e === void 0 ? void 0 : _e.messages);
|
|
21
|
+
}
|
|
22
|
+
if ((_f = set === null || set === void 0 ? void 0 : set.error) === null || _f === void 0 ? void 0 : _f.userMessages) {
|
|
23
|
+
this.userMessages = this.userMessages.concat((_g = set === null || set === void 0 ? void 0 : set.error) === null || _g === void 0 ? void 0 : _g.userMessages);
|
|
24
|
+
}
|
|
25
|
+
if (set.error) {
|
|
26
|
+
if (set.error instanceof DynamoBEError) {
|
|
27
|
+
this.errors.push(set.error.error);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
if (set.error.error) {
|
|
31
|
+
this.errors.push(set.error.error);
|
|
32
|
+
}
|
|
33
|
+
this.errors.push(set.error);
|
|
34
|
+
}
|
|
35
|
+
if (set.error.message) {
|
|
36
|
+
this.messages.push(set.error.message);
|
|
37
|
+
}
|
|
38
|
+
if (set.error.status) {
|
|
39
|
+
this.status = set.error.status;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
if (set.message) {
|
|
43
|
+
this.messages.push(set.message);
|
|
44
|
+
}
|
|
45
|
+
if (set.messages) {
|
|
46
|
+
this.messages.push(...set.messages);
|
|
47
|
+
}
|
|
48
|
+
if (set.userMessage) {
|
|
49
|
+
this.userMessages.push(set.userMessage);
|
|
50
|
+
}
|
|
51
|
+
if (set.consoleLog) {
|
|
52
|
+
console.log(this);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.DynamoBEError = DynamoBEError;
|
|
57
|
+
/*
|
|
58
|
+
|
|
59
|
+
// //
|
|
60
|
+
// RESPONSE STATUS //
|
|
61
|
+
// //
|
|
62
|
+
|
|
63
|
+
1XX informational response
|
|
64
|
+
|
|
65
|
+
100 Continue
|
|
66
|
+
101 Switching Protocols
|
|
67
|
+
102 Processing
|
|
68
|
+
103 Early Hints
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
2XX success
|
|
72
|
+
|
|
73
|
+
200 OK
|
|
74
|
+
201 Created
|
|
75
|
+
202 Accepted
|
|
76
|
+
203 Non-Authoritative Information
|
|
77
|
+
204 No Content
|
|
78
|
+
205 Reset Content
|
|
79
|
+
206 Partial Content
|
|
80
|
+
207 Multi-Status
|
|
81
|
+
208 Already Reported
|
|
82
|
+
226 IM Used
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
3XX redirection
|
|
86
|
+
|
|
87
|
+
300 Multiple Choices
|
|
88
|
+
301 Moved Permanently
|
|
89
|
+
302 Found
|
|
90
|
+
303 See Other
|
|
91
|
+
304 Not Modified
|
|
92
|
+
305 Use Proxy
|
|
93
|
+
306 Switch Proxy
|
|
94
|
+
307 Temporary Redirect
|
|
95
|
+
308 Permanent Redirect
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
4XX client errors
|
|
99
|
+
|
|
100
|
+
400 Bad Request
|
|
101
|
+
401 Unauthorized
|
|
102
|
+
402 Payment Required
|
|
103
|
+
403 Forbidden
|
|
104
|
+
404 Not Found
|
|
105
|
+
405 Method Not Allowed
|
|
106
|
+
406 Not Acceptable
|
|
107
|
+
407 Proxy Authentication Required
|
|
108
|
+
408 Request Timeout
|
|
109
|
+
409 Conflict
|
|
110
|
+
410 Gone
|
|
111
|
+
411 Length Required
|
|
112
|
+
412 Precondition Failed
|
|
113
|
+
413 Payload Too Large
|
|
114
|
+
414 URI Too Long
|
|
115
|
+
415 Unsupported Media Type
|
|
116
|
+
416 Range Not Satisfiable
|
|
117
|
+
417 Expectation Failed
|
|
118
|
+
418 I'm a teapot
|
|
119
|
+
421 Misdirected Request
|
|
120
|
+
422 Unprocessable Entity
|
|
121
|
+
423 Locked
|
|
122
|
+
424 Failed Dependency
|
|
123
|
+
425 Too Early
|
|
124
|
+
426 Upgrade Required
|
|
125
|
+
428 Precondition Required
|
|
126
|
+
429 Too Many Requests
|
|
127
|
+
431 Request Header Fields Too Large
|
|
128
|
+
451 Unavailable For Legal Reasons
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
5XX server errors
|
|
132
|
+
|
|
133
|
+
500 Internal Server Error
|
|
134
|
+
501 Not Implemented
|
|
135
|
+
502 Bad Gateway
|
|
136
|
+
503 Service Unavailable
|
|
137
|
+
504 Gateway Timeout
|
|
138
|
+
505 HTTP Version Not Supported
|
|
139
|
+
506 Variant Also Negotiates
|
|
140
|
+
507 Insufficient Storage
|
|
141
|
+
508 Loop Detected
|
|
142
|
+
510 Not Extended
|
|
143
|
+
511 Network Authentication Required
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
Unofficial codes
|
|
147
|
+
|
|
148
|
+
103 Checkpoint
|
|
149
|
+
218 This is fine (Apache Web Server)
|
|
150
|
+
419 Page Expired (Laravel Framework)
|
|
151
|
+
420 Enhance Your Calm (Twitter)
|
|
152
|
+
430 Request Header Fields Too Large (Shopify)
|
|
153
|
+
450 Blocked by Windows Parental Controls (Microsoft)
|
|
154
|
+
498 Invalid Token (Esri)
|
|
155
|
+
499 Token Required (Esri)
|
|
156
|
+
509 Bandwidth Limit Exceeded (Apache Web Server/cPanel)
|
|
157
|
+
526 Invalid SSL Certificate
|
|
158
|
+
529 Site is overloaded
|
|
159
|
+
530 Site is frozen
|
|
160
|
+
598 (Informal convention) Network read timeout error
|
|
161
|
+
|
|
162
|
+
440 Login Time-out
|
|
163
|
+
449 Retry With
|
|
164
|
+
451 Redirect
|
|
165
|
+
|
|
166
|
+
444 No Response
|
|
167
|
+
494 Request header too large
|
|
168
|
+
495 SSL Certificate Error
|
|
169
|
+
496 SSL Certificate Required
|
|
170
|
+
497 HTTP Request Sent to HTTPS Port
|
|
171
|
+
499 Client Closed Request
|
|
172
|
+
|
|
173
|
+
520 Web Server Returned an Unknown Error
|
|
174
|
+
521 Web Server Is Down
|
|
175
|
+
522 Connection Timed Out
|
|
176
|
+
523 Origin Is Unreachable
|
|
177
|
+
524 A Timeout Occurred
|
|
178
|
+
525 SSL Handshake Failed
|
|
179
|
+
526 Invalid SSL Certificate
|
|
180
|
+
527 Railgun Error
|
|
181
|
+
|
|
182
|
+
530
|
|
183
|
+
|
|
184
|
+
460
|
|
185
|
+
463
|
|
186
|
+
|
|
187
|
+
*/
|
|
188
|
+
//# sourceMappingURL=dynamobe-error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dynamobe-error.js","sourceRoot":"","sources":["../../../src/_models/control-models/dynamobe-error.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;IASxB,YACE,GAQC;;QAjBH,SAAI,GAAG,wBAAwB,CAAC;QAGhC,WAAM,GAAU,EAAE,CAAC;QAEnB,aAAQ,GAAa,EAAE,CAAC;QACxB,iBAAY,GAAa,EAAE,CAAC;QAa1B,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC;QAC7B,IAAI,GAAG,CAAC,MAAM,EAAE;YACd,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;SAC1B;QACD,IAAI,CAAC,MAAM,GAAG,OAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,KAAK,0CAAE,MAAM,EAAC,CAAC,CAAC,GAAG,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C,OAAO,CAAC,CAAC;aACvC;YACD,IAAI,GAAG,CAAC,KAAK,CAAC,MAAM,EAAE;gBACpB,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC;aAChC;SACF;QACD,IAAI,GAAG,CAAC,OAAO,EAAE;YACf,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;SAChC;QACD,IAAI,GAAG,CAAC,QAAQ,EAAE;YAChB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,GAAG,GAAG,CAAC,QAAQ,CAAC,CAAA;SACpC;QACD,IAAI,GAAG,CAAC,WAAW,EAAE;YACnB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAA;SACxC;QACD,IAAI,GAAG,CAAC,UAAU,EAAE;YAClB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SACnB;IACH,CAAC;CACF;AAjED,sCAiEC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkIE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geo-ip-location.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/geo-ip-location.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,aAAa;IAC5B,4DAA4D;IAC5D,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACxB,0EAA0E;IAC1E,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,6EAA6E;IAC7E,EAAE,EAAE,GAAG,GAAG,GAAG,CAAC;IACd,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrB,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geo-ip-location.js","sourceRoot":"","sources":["../../../src/_models/control-models/geo-ip-location.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location-coordinates.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/location-coordinates.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location-coordinates.js","sourceRoot":"","sources":["../../../src/_models/control-models/location-coordinates.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage-action.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/usage-action.ts"],"names":[],"mappings":"AACA,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,CAAC;gBAGV,GAAG,CAAC,EAAE;QACJ,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,IAAI,CAAC;KACb;CAOJ"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamoUsageAction = void 0;
|
|
4
|
+
class DynamoUsageAction {
|
|
5
|
+
constructor(set) {
|
|
6
|
+
if (set) {
|
|
7
|
+
this.action = set.action;
|
|
8
|
+
this.time = set.time;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.DynamoUsageAction = DynamoUsageAction;
|
|
13
|
+
//# sourceMappingURL=usage-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage-action.js","sourceRoot":"","sources":["../../../src/_models/control-models/usage-action.ts"],"names":[],"mappings":";;;AACA,MAAa,iBAAiB;IAI5B,YACE,GAGC;QAED,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;YACzB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;SACtB;IACH,CAAC;CACF;AAfD,8CAeC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage-data.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/usage-data.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,qBAAa,eAAe;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,IAAI,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAM;gBAGjC,GAAG,CAAC,EAAE;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,IAAI,CAAC;QACd,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,OAAO,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC/B;CASJ"}
|