@futdevpro/fsm-dynamo 1.5.42 → 1.5.44
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/lib/_collections/_constants/country-codes-ISO-3166.json +3239 -0
- package/lib/_collections/_constants/country-iso.d.ts +67 -0
- package/lib/_collections/_constants/country-iso.d.ts.map +1 -0
- package/lib/_collections/_constants/country-iso.js +47 -0
- package/lib/_collections/_constants/country-iso.js.map +1 -0
- package/lib/_collections/_constants/country-phone-code.d.ts +6 -0
- package/lib/_collections/_constants/country-phone-code.d.ts.map +1 -0
- package/lib/_collections/_constants/country-phone-code.js +3 -0
- package/lib/_collections/_constants/country-phone-code.js.map +1 -0
- package/lib/_collections/_constants/country-phone-codes.json +1202 -0
- package/lib/_collections/_constants/country-sub-divisions-ISO-3166.json +4994 -0
- package/lib/_collections/_tools/dynamo-location.d.ts +6 -0
- package/lib/_collections/_tools/dynamo-location.d.ts.map +1 -0
- package/lib/_collections/_tools/dynamo-location.js +40 -0
- package/lib/_collections/_tools/dynamo-location.js.map +1 -0
- package/lib/_collections/_tools/dynamo-log.d.ts +11 -0
- package/lib/_collections/_tools/dynamo-log.d.ts.map +1 -0
- package/lib/_collections/_tools/dynamo-log.js +59 -0
- package/lib/_collections/_tools/dynamo-log.js.map +1 -0
- package/lib/_collections/_tools/dynamo-random.d.ts +8 -0
- package/lib/_collections/_tools/dynamo-random.d.ts.map +1 -0
- package/lib/_collections/_tools/dynamo-random.js +60 -0
- package/lib/_collections/_tools/dynamo-random.js.map +1 -0
- package/lib/_collections/_tools/dynamo-regions.d.ts +16 -0
- package/lib/_collections/_tools/dynamo-regions.d.ts.map +1 -0
- package/lib/_collections/_tools/dynamo-regions.js +58 -0
- package/lib/_collections/_tools/dynamo-regions.js.map +1 -0
- package/lib/_collections/_tools/dynamo-round-list.d.ts +8 -0
- package/lib/_collections/_tools/dynamo-round-list.d.ts.map +1 -0
- package/lib/_collections/_tools/dynamo-round-list.js +39 -0
- package/lib/_collections/_tools/dynamo-round-list.js.map +1 -0
- package/lib/_collections/_tools/dynamo-shared.service.d.ts +73 -0
- package/lib/_collections/_tools/dynamo-shared.service.d.ts.map +1 -0
- package/lib/_collections/_tools/dynamo-shared.service.js +151 -0
- package/lib/_collections/_tools/dynamo-shared.service.js.map +1 -0
- package/lib/_collections/_tools/dynamo-time.d.ts +12 -0
- package/lib/_collections/_tools/dynamo-time.d.ts.map +1 -0
- package/lib/_collections/_tools/dynamo-time.js +41 -0
- package/lib/_collections/_tools/dynamo-time.js.map +1 -0
- package/lib/_collections/_tools/dynamo-trigonometry.d.ts +43 -0
- package/lib/_collections/_tools/dynamo-trigonometry.d.ts.map +1 -0
- package/lib/_collections/_tools/dynamo-trigonometry.js +62 -0
- package/lib/_collections/_tools/dynamo-trigonometry.js.map +1 -0
- package/lib/_collections/_tools/location.d.ts +6 -0
- package/lib/_collections/_tools/location.d.ts.map +1 -0
- package/lib/_collections/_tools/location.js +40 -0
- package/lib/_collections/_tools/location.js.map +1 -0
- package/lib/_collections/_tools/log.d.ts +10 -0
- package/lib/_collections/_tools/log.d.ts.map +1 -0
- package/lib/_collections/_tools/log.js +53 -0
- package/lib/_collections/_tools/log.js.map +1 -0
- package/lib/_collections/_tools/random.d.ts +8 -0
- package/lib/_collections/_tools/random.d.ts.map +1 -0
- package/lib/_collections/_tools/random.js +60 -0
- package/lib/_collections/_tools/random.js.map +1 -0
- package/lib/_collections/_tools/region-translator.d.ts +12 -0
- package/lib/_collections/_tools/region-translator.d.ts.map +1 -0
- package/lib/_collections/_tools/region-translator.js +48 -0
- package/lib/_collections/_tools/region-translator.js.map +1 -0
- package/lib/_collections/_tools/round-list.d.ts +8 -0
- package/lib/_collections/_tools/round-list.d.ts.map +1 -0
- package/lib/_collections/_tools/round-list.js +39 -0
- package/lib/_collections/_tools/round-list.js.map +1 -0
- package/lib/_collections/_tools/time.d.ts +12 -0
- package/lib/_collections/_tools/time.d.ts.map +1 -0
- package/lib/_collections/_tools/time.js +41 -0
- package/lib/_collections/_tools/time.js.map +1 -0
- package/lib/_collections/_tools/trigonometry.d.ts +43 -0
- package/lib/_collections/_tools/trigonometry.d.ts.map +1 -0
- package/lib/_collections/_tools/trigonometry.js +62 -0
- package/lib/_collections/_tools/trigonometry.js.map +1 -0
- package/lib/_collections/_tools/utilities.d.ts +32 -0
- package/lib/_collections/_tools/utilities.d.ts.map +1 -0
- package/lib/_collections/_tools/utilities.js +71 -0
- package/lib/_collections/_tools/utilities.js.map +1 -0
- package/lib/_collections/_tools/vector.d.ts +38 -0
- package/lib/_collections/_tools/vector.d.ts.map +1 -0
- package/lib/_collections/_tools/vector.js +107 -0
- package/lib/_collections/_tools/vector.js.map +1 -0
- package/lib/_collections/dynamo-shared.service.d.ts +87 -0
- package/lib/_collections/dynamo-shared.service.d.ts.map +1 -0
- package/lib/_collections/dynamo-shared.service.js +261 -0
- package/lib/_collections/dynamo-shared.service.js.map +1 -0
- package/lib/_collections/index.d.ts +11 -0
- package/lib/_collections/index.d.ts.map +1 -0
- package/lib/_collections/index.js +15 -0
- package/lib/_collections/index.js.map +1 -0
- package/lib/_constants/index.d.ts +4 -0
- package/lib/_constants/index.d.ts.map +1 -0
- package/lib/_constants/index.js +9 -0
- package/lib/_constants/index.js.map +1 -0
- package/lib/_constants/module-settings/test-module-settings.d.ts +3 -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 +3 -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 +8 -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/_enums/data-model-type.enum.d.ts +6 -0
- package/lib/_enums/data-model-type.enum.d.ts.map +1 -0
- package/lib/_enums/data-model-type.enum.js +10 -0
- package/lib/_enums/data-model-type.enum.js.map +1 -0
- package/lib/_enums/index.d.ts +3 -0
- package/lib/_enums/index.d.ts.map +1 -0
- package/lib/_enums/index.js +7 -0
- package/lib/_enums/index.js.map +1 -0
- package/lib/_enums/log-style.enum.d.ts +26 -0
- package/lib/_enums/log-style.enum.d.ts.map +1 -0
- package/lib/_enums/log-style.enum.js +30 -0
- package/lib/_enums/log-style.enum.js.map +1 -0
- package/lib/_enums/region.enum.d.ts +8 -0
- package/lib/_enums/region.enum.d.ts.map +1 -0
- package/lib/_enums/region.enum.js +12 -0
- package/lib/_enums/region.enum.js.map +1 -0
- package/lib/_enums/sub-region.enum.d.ts +20 -0
- package/lib/_enums/sub-region.enum.d.ts.map +1 -0
- package/lib/_enums/sub-region.enum.js +24 -0
- package/lib/_enums/sub-region.enum.js.map +1 -0
- package/lib/_models/control-models/country-iso.d.ts +16 -0
- package/lib/_models/control-models/country-iso.d.ts.map +1 -0
- package/lib/_models/control-models/country-iso.js +3 -0
- package/lib/_models/control-models/country-iso.js.map +1 -0
- package/lib/_models/control-models/country-phone-code.d.ts +6 -0
- package/lib/_models/control-models/country-phone-code.d.ts.map +1 -0
- package/lib/_models/control-models/country-phone-code.js +3 -0
- package/lib/_models/control-models/country-phone-code.js.map +1 -0
- package/lib/_models/control-models/daily-usage-data.d.ts +18 -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-daily-usage-data.d.ts +18 -0
- package/lib/_models/control-models/dynamo-daily-usage-data.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-daily-usage-data.js +22 -0
- package/lib/_models/control-models/dynamo-daily-usage-data.js.map +1 -0
- package/lib/_models/control-models/dynamo-error.d.ts +263 -0
- package/lib/_models/control-models/dynamo-error.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-error.js +114 -0
- package/lib/_models/control-models/dynamo-error.js.map +1 -0
- package/lib/_models/control-models/dynamo-module-settings.d.ts +7 -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/dynamo-nts-data-params.d.ts +14 -0
- package/lib/_models/control-models/dynamo-nts-data-params.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-nts-data-params.js +19 -0
- package/lib/_models/control-models/dynamo-nts-data-params.js.map +1 -0
- package/lib/_models/control-models/dynamo-nts-data-property-params.d.ts +45 -0
- package/lib/_models/control-models/dynamo-nts-data-property-params.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-nts-data-property-params.js +61 -0
- package/lib/_models/control-models/dynamo-nts-data-property-params.js.map +1 -0
- package/lib/_models/control-models/dynamo-nts-error.d.ts +19 -0
- package/lib/_models/control-models/dynamo-nts-error.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-nts-error.js +190 -0
- package/lib/_models/control-models/dynamo-nts-error.js.map +1 -0
- package/lib/_models/control-models/dynamo-nts-module-settings.d.ts +7 -0
- package/lib/_models/control-models/dynamo-nts-module-settings.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-nts-module-settings.js +3 -0
- package/lib/_models/control-models/dynamo-nts-module-settings.js.map +1 -0
- package/lib/_models/control-models/dynamo-poll.d.ts +31 -0
- package/lib/_models/control-models/dynamo-poll.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-poll.js +90 -0
- package/lib/_models/control-models/dynamo-poll.js.map +1 -0
- package/lib/_models/control-models/dynamo-usage-action.d.ts +9 -0
- package/lib/_models/control-models/dynamo-usage-action.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-usage-action.js +13 -0
- package/lib/_models/control-models/dynamo-usage-action.js.map +1 -0
- package/lib/_models/control-models/dynamo-usage-data.d.ts +14 -0
- package/lib/_models/control-models/dynamo-usage-data.d.ts.map +1 -0
- package/lib/_models/control-models/dynamo-usage-data.js +16 -0
- package/lib/_models/control-models/dynamo-usage-data.js.map +1 -0
- package/lib/_models/control-models/dynamobe-data-params.d.ts +14 -0
- package/lib/_models/control-models/dynamobe-data-params.d.ts.map +1 -0
- package/lib/_models/control-models/dynamobe-data-params.js +19 -0
- package/lib/_models/control-models/dynamobe-data-params.js.map +1 -0
- package/lib/_models/control-models/dynamobe-data-property-params.d.ts +28 -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 +57 -0
- package/lib/_models/control-models/dynamobe-data-property-params.js.map +1 -0
- package/lib/_models/control-models/dynamobe-error.d.ts +19 -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 +26 -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 +5 -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/random-weight.d.ts +5 -0
- package/lib/_models/control-models/random-weight.d.ts.map +1 -0
- package/lib/_models/control-models/random-weight.js +3 -0
- package/lib/_models/control-models/random-weight.js.map +1 -0
- package/lib/_models/control-models/subdivision-collection.d.ts +9 -0
- package/lib/_models/control-models/subdivision-collection.d.ts.map +1 -0
- package/lib/_models/control-models/subdivision-collection.js +3 -0
- package/lib/_models/control-models/subdivision-collection.js.map +1 -0
- package/lib/_models/control-models/subdivision-region-data.d.ts +45 -0
- package/lib/_models/control-models/subdivision-region-data.d.ts.map +1 -0
- package/lib/_models/control-models/subdivision-region-data.js +46 -0
- package/lib/_models/control-models/subdivision-region-data.js.map +1 -0
- package/lib/_models/control-models/usage-action.d.ts +9 -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 +14 -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 +16 -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/dynamo-custom-data.d.ts +16 -0
- package/lib/_models/data-models/dynamo-custom-data.d.ts.map +1 -0
- package/lib/_models/data-models/dynamo-custom-data.js +28 -0
- package/lib/_models/data-models/dynamo-custom-data.js.map +1 -0
- package/lib/_models/data-models/dynamo-metadata.d.ts +17 -0
- package/lib/_models/data-models/dynamo-metadata.d.ts.map +1 -0
- package/lib/_models/data-models/dynamo-metadata.js +17 -0
- package/lib/_models/data-models/dynamo-metadata.js.map +1 -0
- package/lib/_models/data-models/dynamo-usage-session.d.ts +34 -0
- package/lib/_models/data-models/dynamo-usage-session.d.ts.map +1 -0
- package/lib/_models/data-models/dynamo-usage-session.js +53 -0
- package/lib/_models/data-models/dynamo-usage-session.js.map +1 -0
- package/lib/_models/data-models/metadata.d.ts +17 -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 +34 -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/_models/index.d.ts +19 -0
- package/lib/_models/index.d.ts.map +1 -0
- package/lib/_models/index.js +25 -0
- package/lib/_models/index.js.map +1 -0
- package/lib/_modules/data-models.index.d.ts +3 -0
- package/lib/_modules/data-models.index.d.ts.map +1 -0
- package/lib/_modules/data-models.index.js +7 -0
- package/lib/_modules/data-models.index.js.map +1 -0
- package/lib/_modules/data-module.index.d.ts +5 -0
- package/lib/_modules/data-module.index.d.ts.map +1 -0
- package/lib/_modules/data-module.index.js +9 -0
- package/lib/_modules/data-module.index.js.map +1 -0
- package/lib/_modules/data-modules.index.d.ts +6 -0
- package/lib/_modules/data-modules.index.d.ts.map +1 -0
- package/lib/_modules/data-modules.index.js +10 -0
- package/lib/_modules/data-modules.index.js.map +1 -0
- package/lib/_modules/error-module.index.d.ts +2 -0
- package/lib/_modules/error-module.index.d.ts.map +1 -0
- package/lib/_modules/error-module.index.js +6 -0
- package/lib/_modules/error-module.index.js.map +1 -0
- package/lib/_modules/shared-service.index.d.ts +8 -0
- package/lib/_modules/shared-service.index.d.ts.map +1 -0
- package/lib/_modules/shared-service.index.js +12 -0
- package/lib/_modules/shared-service.index.js.map +1 -0
- package/lib/_modules/test-module.index.d.ts +3 -0
- package/lib/_modules/test-module.index.d.ts.map +1 -0
- package/lib/_modules/test-module.index.js +7 -0
- package/lib/_modules/test-module.index.js.map +1 -0
- package/lib/_modules/usage-module.index.d.ts +6 -0
- package/lib/_modules/usage-module.index.d.ts.map +1 -0
- package/lib/_modules/usage-module.index.js +10 -0
- package/lib/_modules/usage-module.index.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 +5 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +12 -0
- package/lib/index.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +3088 -0
- package/package.json +1 -1
- package/src/_collections/_constants/country-subdivisions/liberia.json +62 -0
- package/src/_collections/_constants/country-subdivisions/libyan-arab-jamahiriya.json +90 -0
- package/src/_collections/_tools/dynamo-regions.ts +4 -5
- package/src/_collections/index.ts +2 -3
- package/src/_models/control-models/country-iso.ts +16 -0
- package/src/_models/control-models/subdivision-collection.ts +10 -0
- package/src/_models/control-models/subdivision-region-data.ts +49 -0
- package/src/_models/index.ts +8 -3
- package/src/_collections/_constants/country-iso.ts +0 -75
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@futdevpro/fsm-dynamo",
|
|
3
|
-
"version": "01.05.
|
|
3
|
+
"version": "01.05.44",
|
|
4
4
|
"description": "Dynamic NodeTS (NodeJS-Typescript), MongoDB Backend System Framework by Future Development Ltd.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Bomi",
|
|
4
|
+
"code": "LR-BM"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"name": "Bong",
|
|
8
|
+
"code": "LR-BG"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Gbarpolu",
|
|
12
|
+
"code": "LR-GP"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "Grand Bassa",
|
|
16
|
+
"code": "LR-GB"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Grand Cape Mount",
|
|
20
|
+
"code": "LR-CM"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Grand Gedeh",
|
|
24
|
+
"code": "LR-GG"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "Grand Kru",
|
|
28
|
+
"code": "LR-GK"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Lofa",
|
|
32
|
+
"code": "LR-LO"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "Margibi",
|
|
36
|
+
"code": "LR-MG"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "Maryland",
|
|
40
|
+
"code": "LR-MY"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Montserrado",
|
|
44
|
+
"code": "LR-MO"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "Nimba",
|
|
48
|
+
"code": "LR-NI"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "River Gee",
|
|
52
|
+
"code": "LR-RG"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Rivercess",
|
|
56
|
+
"code": "LR-RI"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "Sinoe",
|
|
60
|
+
"code": "LR-SI"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Al Buţnān",
|
|
4
|
+
"code": "LY-BU"
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
"name": "Al Jabal al Akhḑar",
|
|
8
|
+
"code": "LY-JA"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "Al Jabal al Gharbī",
|
|
12
|
+
"code": "LY-JG"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "Al Jifārah",
|
|
16
|
+
"code": "LY-JI"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "Al Jufrah",
|
|
20
|
+
"code": "LY-JU"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "Al Kufrah",
|
|
24
|
+
"code": "LY-KF"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "Al Marj",
|
|
28
|
+
"code": "LY-MJ"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Al Marqab",
|
|
32
|
+
"code": "LY-MB"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "Al Wāḩāt",
|
|
36
|
+
"code": "LY-WA"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "An Nuqaţ al Khams",
|
|
40
|
+
"code": "LY-NQ"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Az Zāwiyah",
|
|
44
|
+
"code": "LY-ZA"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "Banghāzī",
|
|
48
|
+
"code": "LY-BA"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "Darnah",
|
|
52
|
+
"code": "LY-DR"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Ghāt",
|
|
56
|
+
"code": "LY-GT"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "Mişrātah",
|
|
60
|
+
"code": "LY-MI"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Murzuq",
|
|
64
|
+
"code": "LY-MQ"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "Nālūt",
|
|
68
|
+
"code": "LY-NL"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "Sabhā",
|
|
72
|
+
"code": "LY-SB"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "Surt",
|
|
76
|
+
"code": "LY-SR"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "Wādī al Ḩayāt",
|
|
80
|
+
"code": "LY-WD"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "Wādī ash Shāţiʾ",
|
|
84
|
+
"code": "LY-WS"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "Ţarābulus",
|
|
88
|
+
"code": "LY-TB"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
@@ -4,9 +4,10 @@ import * as PhoneCodes from '../_constants/country-phone-codes.json';
|
|
|
4
4
|
import * as Subdivisions from '../_constants/country-sub-divisions-ISO-3166.json';
|
|
5
5
|
import { Region } from '../../_enums/region.enum';
|
|
6
6
|
import { Dynamo_Error } from '../../_models';
|
|
7
|
-
import { CountryISO, SubdivisionCollection } from '../_constants/country-iso';
|
|
8
7
|
import { CountryPhoneCode } from '../../_models/control-models/country-phone-code';
|
|
9
8
|
import { JSONListify } from './utilities';
|
|
9
|
+
import { CountryISO } from '../../_models/control-models/country-iso';
|
|
10
|
+
import { SubdivisionCollection } from '../../_models/control-models/subdivision-collection';
|
|
10
11
|
|
|
11
12
|
export class Dynamo_Regions {
|
|
12
13
|
|
|
@@ -17,12 +18,10 @@ export class Dynamo_Regions {
|
|
|
17
18
|
private static getAllCountryISO(): CountryISO[] {
|
|
18
19
|
return JSONListify(ISOs);
|
|
19
20
|
}
|
|
20
|
-
|
|
21
|
-
static getAllPhoneCodes(): CountryPhoneCode[] {
|
|
21
|
+
private static getAllPhoneCodes(): CountryPhoneCode[] {
|
|
22
22
|
return JSONListify(PhoneCodes);
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
static getSubdivisionCollection(): SubdivisionCollection {
|
|
24
|
+
private static getSubdivisionCollection(): SubdivisionCollection {
|
|
26
25
|
return Subdivisions as SubdivisionCollection;
|
|
27
26
|
}
|
|
28
27
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
// TOOLS
|
|
3
|
-
export * from './_tools/dynamo-shared.service';
|
|
4
|
-
export * from './_tools/dynamo-regions';
|
|
5
3
|
export * from './_tools/dynamo-location';
|
|
6
4
|
export * from './_tools/dynamo-log';
|
|
7
5
|
export * from './_tools/dynamo-random';
|
|
8
|
-
export * from './_tools/dynamo-
|
|
6
|
+
export * from './_tools/dynamo-regions';
|
|
9
7
|
export * from './_tools/dynamo-round-list';
|
|
8
|
+
export * from './_tools/dynamo-shared.service';
|
|
10
9
|
export * from './_tools/dynamo-time';
|
|
11
10
|
export * from './_tools/dynamo-trigonometry';
|
|
12
11
|
export * from './_tools/utilities';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Region } from '../../_enums/region.enum';
|
|
2
|
+
import { SubRegion } from '../../_enums/sub-region.enum';
|
|
3
|
+
|
|
4
|
+
export interface CountryISO {
|
|
5
|
+
name: string;
|
|
6
|
+
iso2: string;
|
|
7
|
+
iso3: string;
|
|
8
|
+
countryCode: string;
|
|
9
|
+
fullIso: string;
|
|
10
|
+
region: Region;
|
|
11
|
+
regionCode: string;
|
|
12
|
+
subRegion: SubRegion;
|
|
13
|
+
subRegionCode: string;
|
|
14
|
+
subdivisionRegion: string;
|
|
15
|
+
subdivisionRegionCode: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { CountryISO } from './country-iso';
|
|
2
|
+
|
|
3
|
+
export interface SubdivisionRegionData extends CountryISO {
|
|
4
|
+
type?: SubdivisionRegionType;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export enum SubdivisionRegionType {
|
|
9
|
+
parish,
|
|
10
|
+
emirate,
|
|
11
|
+
province,
|
|
12
|
+
dependency,
|
|
13
|
+
county,
|
|
14
|
+
city,
|
|
15
|
+
region,
|
|
16
|
+
state,
|
|
17
|
+
territory,
|
|
18
|
+
autonomousRepublic,
|
|
19
|
+
municipate,
|
|
20
|
+
rayon,
|
|
21
|
+
division,
|
|
22
|
+
district,
|
|
23
|
+
governorate,
|
|
24
|
+
department,
|
|
25
|
+
specialMunicipality,
|
|
26
|
+
federalDistrict,
|
|
27
|
+
island,
|
|
28
|
+
town,
|
|
29
|
+
oblast,
|
|
30
|
+
commune,
|
|
31
|
+
prefecture,
|
|
32
|
+
economicPrefecture,
|
|
33
|
+
canton,
|
|
34
|
+
autonomousRegion,
|
|
35
|
+
specialAdministrativeRegion,
|
|
36
|
+
capitalDistrict,
|
|
37
|
+
geographicalRegion,
|
|
38
|
+
capitalCity,
|
|
39
|
+
ruralMunicipality,
|
|
40
|
+
urbanMunicipality,
|
|
41
|
+
autonomousCommunity,
|
|
42
|
+
autonomousCity,
|
|
43
|
+
administration,
|
|
44
|
+
regionalState,
|
|
45
|
+
metropolitanRegion,
|
|
46
|
+
overseasCollectivity,
|
|
47
|
+
// ... reduce specials // non-finished
|
|
48
|
+
}
|
|
49
|
+
|
package/src/_models/index.ts
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
|
|
2
2
|
// MODELS
|
|
3
3
|
// Control models
|
|
4
|
+
export * from './control-models/country-iso';
|
|
5
|
+
export * from './control-models/country-phone-code';
|
|
4
6
|
export * from './control-models/dynamo-daily-usage-data';
|
|
7
|
+
export * from './control-models/dynamo-error';
|
|
5
8
|
export * from './control-models/dynamo-nts-data-params';
|
|
6
9
|
export * from './control-models/dynamo-nts-data-property-params';
|
|
7
|
-
export * from './control-models/dynamo-
|
|
10
|
+
export * from './control-models/dynamo-nts-module-settings';
|
|
11
|
+
export * from './control-models/dynamo-poll';
|
|
8
12
|
export * from './control-models/dynamo-usage-action';
|
|
9
13
|
export * from './control-models/dynamo-usage-data';
|
|
10
|
-
export * from './control-models/dynamo-poll';
|
|
11
14
|
export * from './control-models/geo-ip-location';
|
|
12
15
|
export * from './control-models/location-coordinates';
|
|
13
|
-
export * from './control-models/
|
|
16
|
+
export * from './control-models/random-weight';
|
|
17
|
+
export * from './control-models/subdivision-collection';
|
|
18
|
+
export * from './control-models/subdivision-region-data';
|
|
14
19
|
// Data models
|
|
15
20
|
export * from './data-models/dynamo-custom-data';
|
|
16
21
|
export * from './data-models/dynamo-metadata';
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
/* import ISOs from './county-codes-ISO-3166.json'; */
|
|
3
|
-
import { Region } from '../../_enums/region.enum';
|
|
4
|
-
import { SubRegion } from '../../_enums/sub-region.enum';
|
|
5
|
-
|
|
6
|
-
export interface CountryISO {
|
|
7
|
-
name: string;
|
|
8
|
-
iso2: string;
|
|
9
|
-
iso3: string;
|
|
10
|
-
countryCode: string;
|
|
11
|
-
fullIso: string;
|
|
12
|
-
region: Region;
|
|
13
|
-
regionCode: string;
|
|
14
|
-
subRegion: SubRegion;
|
|
15
|
-
subRegionCode: string;
|
|
16
|
-
subdivisionRegion: string;
|
|
17
|
-
subdivisionRegionCode: string;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface SubdivisionRegionData extends CountryISO {
|
|
21
|
-
type?: SubdivisionRegionType;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface SubdivisionCollection {
|
|
25
|
-
[iso2: string]: {
|
|
26
|
-
name: string;
|
|
27
|
-
divisions: {
|
|
28
|
-
[subDivisionCode: string]: string
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
// https://en.wikipedia.org/wiki/ISO_3166-2
|
|
34
|
-
|
|
35
|
-
export enum SubdivisionRegionType {
|
|
36
|
-
parish,
|
|
37
|
-
emirate,
|
|
38
|
-
province,
|
|
39
|
-
dependency,
|
|
40
|
-
county,
|
|
41
|
-
city,
|
|
42
|
-
region,
|
|
43
|
-
state,
|
|
44
|
-
territory,
|
|
45
|
-
autonomousRepublic,
|
|
46
|
-
municipate,
|
|
47
|
-
rayon,
|
|
48
|
-
division,
|
|
49
|
-
district,
|
|
50
|
-
governorate,
|
|
51
|
-
department,
|
|
52
|
-
specialMunicipality,
|
|
53
|
-
federalDistrict,
|
|
54
|
-
island,
|
|
55
|
-
town,
|
|
56
|
-
oblast,
|
|
57
|
-
commune,
|
|
58
|
-
prefecture,
|
|
59
|
-
economicPrefecture,
|
|
60
|
-
canton,
|
|
61
|
-
autonomousRegion,
|
|
62
|
-
specialAdministrativeRegion,
|
|
63
|
-
capitalDistrict,
|
|
64
|
-
geographicalRegion,
|
|
65
|
-
capitalCity,
|
|
66
|
-
ruralMunicipality,
|
|
67
|
-
urbanMunicipality,
|
|
68
|
-
autonomousCommunity,
|
|
69
|
-
autonomousCity,
|
|
70
|
-
administration,
|
|
71
|
-
regionalState,
|
|
72
|
-
metropolitanRegion,
|
|
73
|
-
overseasCollectivity,
|
|
74
|
-
// ... reduce specials
|
|
75
|
-
}
|