@futdevpro/fsm-dynamo 1.5.50 → 1.5.55
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/_constants/index.d.ts +3 -0
- package/lib/_constants/index.d.ts.map +1 -0
- package/lib/_constants/index.js +8 -0
- package/lib/_constants/index.js.map +1 -0
- package/lib/_constants/location/country-codes-ISO-3166.json +3239 -0
- package/lib/_constants/location/country-divisions-ISO-3166-all-list.json +19036 -0
- package/lib/_constants/location/country-phone-codes.json +1202 -0
- package/lib/_constants/module-settings/custom-data-module-settings.const.d.ts +3 -0
- package/lib/_constants/module-settings/custom-data-module-settings.const.d.ts.map +1 -0
- package/lib/_constants/module-settings/custom-data-module-settings.const.js +11 -0
- package/lib/_constants/module-settings/custom-data-module-settings.const.js.map +1 -0
- package/lib/_constants/module-settings/index.d.ts +4 -0
- package/lib/_constants/module-settings/index.d.ts.map +1 -0
- package/lib/_constants/module-settings/index.js +8 -0
- package/lib/_constants/module-settings/index.js.map +1 -0
- package/lib/_constants/module-settings/test-module-settings.const.d.ts +3 -0
- package/lib/_constants/module-settings/test-module-settings.const.d.ts.map +1 -0
- package/lib/_constants/module-settings/test-module-settings.const.js +15 -0
- package/lib/_constants/module-settings/test-module-settings.const.js.map +1 -0
- package/lib/_constants/module-settings/usage-module-settings.const.d.ts +3 -0
- package/lib/_constants/module-settings/usage-module-settings.const.d.ts.map +1 -0
- package/lib/_constants/module-settings/usage-module-settings.const.js +13 -0
- package/lib/_constants/module-settings/usage-module-settings.const.js.map +1 -0
- package/lib/_constants/times.const.d.ts +8 -0
- package/lib/_constants/times.const.d.ts.map +1 -0
- package/lib/_constants/times.const.js +11 -0
- package/lib/_constants/times.const.js.map +1 -0
- package/lib/_enums/basic-property-type.enum.d.ts +8 -0
- package/lib/_enums/basic-property-type.enum.d.ts.map +1 -0
- package/lib/_enums/basic-property-type.enum.js +12 -0
- package/lib/_enums/basic-property-type.enum.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 +7 -0
- package/lib/_enums/index.d.ts.map +1 -0
- package/lib/_enums/index.js +11 -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/_enums/subdivision-region-type.enum.d.ts +41 -0
- package/lib/_enums/subdivision-region-type.enum.d.ts.map +1 -0
- package/lib/_enums/subdivision-region-type.enum.js +46 -0
- package/lib/_enums/subdivision-region-type.enum.js.map +1 -0
- package/lib/_models/control-models/daily-usage-data.control-model.d.ts +12 -0
- package/lib/_models/control-models/daily-usage-data.control-model.d.ts.map +1 -0
- package/lib/_models/control-models/daily-usage-data.control-model.js +17 -0
- package/lib/_models/control-models/daily-usage-data.control-model.js.map +1 -0
- package/lib/_models/control-models/data-params.control-model.d.ts +13 -0
- package/lib/_models/control-models/data-params.control-model.d.ts.map +1 -0
- package/lib/_models/control-models/data-params.control-model.js +20 -0
- package/lib/_models/control-models/data-params.control-model.js.map +1 -0
- package/lib/_models/control-models/data-property-params.control-model.d.ts +29 -0
- package/lib/_models/control-models/data-property-params.control-model.d.ts.map +1 -0
- package/lib/_models/control-models/data-property-params.control-model.js +55 -0
- package/lib/_models/control-models/data-property-params.control-model.js.map +1 -0
- package/lib/_models/control-models/error.control-model.d.ts +264 -0
- package/lib/_models/control-models/error.control-model.d.ts.map +1 -0
- package/lib/_models/control-models/error.control-model.js +114 -0
- package/lib/_models/control-models/error.control-model.js.map +1 -0
- package/lib/_models/control-models/index.d.ts +10 -0
- package/lib/_models/control-models/index.d.ts.map +1 -0
- package/lib/_models/control-models/index.js +14 -0
- package/lib/_models/control-models/index.js.map +1 -0
- package/lib/_models/control-models/poll.control-model.d.ts +32 -0
- package/lib/_models/control-models/poll.control-model.d.ts.map +1 -0
- package/lib/_models/control-models/poll.control-model.js +90 -0
- package/lib/_models/control-models/poll.control-model.js.map +1 -0
- package/lib/_models/control-models/range-value.control-model.d.ts +8 -0
- package/lib/_models/control-models/range-value.control-model.d.ts.map +1 -0
- package/lib/_models/control-models/range-value.control-model.js +11 -0
- package/lib/_models/control-models/range-value.control-model.js.map +1 -0
- package/lib/_models/control-models/usage-action.control-model.d.ts +7 -0
- package/lib/_models/control-models/usage-action.control-model.d.ts.map +1 -0
- package/lib/_models/control-models/usage-action.control-model.js +13 -0
- package/lib/_models/control-models/usage-action.control-model.js.map +1 -0
- package/lib/_models/control-models/usage-data.control-model.d.ts +11 -0
- package/lib/_models/control-models/usage-data.control-model.d.ts.map +1 -0
- package/lib/_models/control-models/usage-data.control-model.js +13 -0
- package/lib/_models/control-models/usage-data.control-model.js.map +1 -0
- package/lib/_models/data-models/custom-data.data-model.d.ts +10 -0
- package/lib/_models/data-models/custom-data.data-model.d.ts.map +1 -0
- package/lib/_models/data-models/custom-data.data-model.js +21 -0
- package/lib/_models/data-models/custom-data.data-model.js.map +1 -0
- package/lib/_models/data-models/index.d.ts +4 -0
- package/lib/_models/data-models/index.d.ts.map +1 -0
- package/lib/_models/data-models/index.js +8 -0
- package/lib/_models/data-models/index.js.map +1 -0
- package/lib/_models/data-models/metadata.data-model.d.ts +12 -0
- package/lib/_models/data-models/metadata.data-model.d.ts.map +1 -0
- package/lib/_models/data-models/metadata.data-model.js +15 -0
- package/lib/_models/data-models/metadata.data-model.js.map +1 -0
- package/lib/_models/data-models/usage-session.data-model.d.ts +19 -0
- package/lib/_models/data-models/usage-session.data-model.d.ts.map +1 -0
- package/lib/_models/data-models/usage-session.data-model.js +37 -0
- package/lib/_models/data-models/usage-session.data-model.js.map +1 -0
- package/lib/_models/index.d.ts +4 -0
- package/lib/_models/index.d.ts.map +1 -0
- package/lib/_models/index.js +11 -0
- package/lib/_models/index.js.map +1 -0
- package/lib/_models/interfaces/index.d.ts +4 -0
- package/lib/_models/interfaces/index.d.ts.map +1 -0
- package/lib/_models/interfaces/index.js +9 -0
- package/lib/_models/interfaces/index.js.map +1 -0
- package/lib/_models/interfaces/location/country-division.interface.d.ts +6 -0
- package/lib/_models/interfaces/location/country-division.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/location/country-division.interface.js +3 -0
- package/lib/_models/interfaces/location/country-division.interface.js.map +1 -0
- package/lib/_models/interfaces/location/country-iso.interface.d.ts +19 -0
- package/lib/_models/interfaces/location/country-iso.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/location/country-iso.interface.js +3 -0
- package/lib/_models/interfaces/location/country-iso.interface.js.map +1 -0
- package/lib/_models/interfaces/location/country-phone-code.interface.d.ts +6 -0
- package/lib/_models/interfaces/location/country-phone-code.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/location/country-phone-code.interface.js +3 -0
- package/lib/_models/interfaces/location/country-phone-code.interface.js.map +1 -0
- package/lib/_models/interfaces/location/division-collection.interface.d.ts +9 -0
- package/lib/_models/interfaces/location/division-collection.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/location/division-collection.interface.js +3 -0
- package/lib/_models/interfaces/location/division-collection.interface.js.map +1 -0
- package/lib/_models/interfaces/location/division-region-data.interface.d.ts +6 -0
- package/lib/_models/interfaces/location/division-region-data.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/location/division-region-data.interface.js +3 -0
- package/lib/_models/interfaces/location/division-region-data.interface.js.map +1 -0
- package/lib/_models/interfaces/location/geo-ip-location.interface.d.ts +26 -0
- package/lib/_models/interfaces/location/geo-ip-location.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/location/geo-ip-location.interface.js +3 -0
- package/lib/_models/interfaces/location/geo-ip-location.interface.js.map +1 -0
- package/lib/_models/interfaces/location/index.d.ts +8 -0
- package/lib/_models/interfaces/location/index.d.ts.map +1 -0
- package/lib/_models/interfaces/location/index.js +12 -0
- package/lib/_models/interfaces/location/index.js.map +1 -0
- package/lib/_models/interfaces/location/location-coordinates.interface.d.ts +5 -0
- package/lib/_models/interfaces/location/location-coordinates.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/location/location-coordinates.interface.js +3 -0
- package/lib/_models/interfaces/location/location-coordinates.interface.js.map +1 -0
- package/lib/_models/interfaces/random-weight.interface.d.ts +5 -0
- package/lib/_models/interfaces/random-weight.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/random-weight.interface.js +3 -0
- package/lib/_models/interfaces/random-weight.interface.js.map +1 -0
- package/lib/_models/interfaces/route-settings.interface.d.ts +9 -0
- package/lib/_models/interfaces/route-settings.interface.d.ts.map +1 -0
- package/lib/_models/interfaces/route-settings.interface.js +3 -0
- package/lib/_models/interfaces/route-settings.interface.js.map +1 -0
- package/lib/_modules/collections.index.d.ts +2 -0
- package/lib/_modules/collections.index.d.ts.map +1 -0
- package/lib/_modules/collections.index.js +5 -0
- package/lib/_modules/collections.index.js.map +1 -0
- package/lib/_modules/constants.index.d.ts +2 -0
- package/lib/_modules/constants.index.d.ts.map +1 -0
- package/lib/_modules/constants.index.js +5 -0
- package/lib/_modules/constants.index.js.map +1 -0
- package/lib/_modules/custom-data-module.index.d.ts +3 -0
- package/lib/_modules/custom-data-module.index.d.ts.map +1 -0
- package/lib/_modules/custom-data-module.index.js +7 -0
- package/lib/_modules/custom-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/enums.index.d.ts +2 -0
- package/lib/_modules/enums.index.d.ts.map +1 -0
- package/lib/_modules/enums.index.js +5 -0
- package/lib/_modules/enums.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/models.index.d.ts +2 -0
- package/lib/_modules/models.index.d.ts.map +1 -0
- package/lib/_modules/models.index.js +5 -0
- package/lib/_modules/models.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 +2 -0
- package/lib/_modules/test-module.index.d.ts.map +1 -0
- package/lib/_modules/test-module.index.js +6 -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/_utils/array.util.d.ts +6 -0
- package/lib/_utils/array.util.d.ts.map +1 -0
- package/lib/_utils/array.util.js +24 -0
- package/lib/_utils/array.util.js.map +1 -0
- package/lib/_utils/array.util.spec.d.ts +2 -0
- package/lib/_utils/array.util.spec.d.ts.map +1 -0
- package/lib/_utils/array.util.spec.js +31 -0
- package/lib/_utils/array.util.spec.js.map +1 -0
- package/lib/_utils/index.d.ts +12 -0
- package/lib/_utils/index.d.ts.map +1 -0
- package/lib/_utils/index.js +16 -0
- package/lib/_utils/index.js.map +1 -0
- package/lib/_utils/location.util.d.ts +7 -0
- package/lib/_utils/location.util.d.ts.map +1 -0
- package/lib/_utils/location.util.js +40 -0
- package/lib/_utils/location.util.js.map +1 -0
- package/lib/_utils/log.util.d.ts +34 -0
- package/lib/_utils/log.util.d.ts.map +1 -0
- package/lib/_utils/log.util.js +105 -0
- package/lib/_utils/log.util.js.map +1 -0
- package/lib/_utils/random.util.d.ts +9 -0
- package/lib/_utils/random.util.d.ts.map +1 -0
- package/lib/_utils/random.util.js +60 -0
- package/lib/_utils/random.util.js.map +1 -0
- package/lib/_utils/regions.util.d.ts +17 -0
- package/lib/_utils/regions.util.d.ts.map +1 -0
- package/lib/_utils/regions.util.js +68 -0
- package/lib/_utils/regions.util.js.map +1 -0
- package/lib/_utils/round-list.util.d.ts +9 -0
- package/lib/_utils/round-list.util.d.ts.map +1 -0
- package/lib/_utils/round-list.util.js +39 -0
- package/lib/_utils/round-list.util.js.map +1 -0
- package/lib/_utils/shared.static-service.d.ts +74 -0
- package/lib/_utils/shared.static-service.d.ts.map +1 -0
- package/lib/_utils/shared.static-service.js +151 -0
- package/lib/_utils/shared.static-service.js.map +1 -0
- package/lib/_utils/time.util.d.ts +14 -0
- package/lib/_utils/time.util.d.ts.map +1 -0
- package/lib/_utils/time.util.js +41 -0
- package/lib/_utils/time.util.js.map +1 -0
- package/lib/_utils/trigonometry.util.d.ts +46 -0
- package/lib/_utils/trigonometry.util.d.ts.map +1 -0
- package/lib/_utils/trigonometry.util.js +62 -0
- package/lib/_utils/trigonometry.util.js.map +1 -0
- package/lib/_utils/utilities.util.d.ts +33 -0
- package/lib/_utils/utilities.util.d.ts.map +1 -0
- package/lib/_utils/utilities.util.js +91 -0
- package/lib/_utils/utilities.util.js.map +1 -0
- package/lib/_utils/vector.util.d.ts +38 -0
- package/lib/_utils/vector.util.d.ts.map +1 -0
- package/lib/_utils/vector.util.js +107 -0
- package/lib/_utils/vector.util.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 +3420 -0
- package/package.json +16 -17
- package/spec/support/jasmine.json +16 -0
- package/src/_constants/index.ts +5 -5
- package/src/_constants/module-settings/{custom-data-module-settings.ts → custom-data-module-settings.const.ts} +1 -1
- package/src/_constants/module-settings/index.ts +8 -0
- package/src/_constants/module-settings/{test-module-settings.ts → test-module-settings.const.ts} +1 -1
- package/src/_constants/module-settings/{usage-module-settings.ts → usage-module-settings.const.ts} +1 -1
- package/src/_enums/index.ts +5 -1
- package/src/{_models/control-models/division-region-data.ts → _enums/subdivision-region-type.enum.ts} +0 -5
- package/src/_models/control-models/daily-usage-data.control-model.ts +21 -0
- package/src/_models/control-models/data-params.control-model.ts +27 -0
- package/src/_models/control-models/data-property-params.control-model.ts +84 -0
- package/src/_models/control-models/{dynamo-error.ts → error.control-model.ts} +2 -1
- package/src/_models/control-models/index.ts +11 -0
- package/src/_models/control-models/{dynamo-poll.ts → poll.control-model.ts} +2 -1
- package/src/_models/control-models/{dynamo-range-value.ts → range-value.control-model.ts} +2 -1
- package/src/_models/control-models/usage-action.control-model.ts +15 -0
- package/src/_models/control-models/usage-data.control-model.ts +20 -0
- package/src/_models/data-models/custom-data.data-model.ts +27 -0
- package/src/_models/data-models/index.ts +5 -0
- package/src/_models/data-models/metadata.data-model.ts +25 -0
- package/src/_models/data-models/usage-session.data-model.ts +52 -0
- package/src/_models/index.ts +9 -21
- package/src/_models/interfaces/index.ts +7 -0
- package/src/_models/{control-models/country-iso.ts → interfaces/location/country-iso.interface.ts} +5 -3
- package/src/_models/interfaces/location/division-region-data.interface.ts +8 -0
- package/src/_models/interfaces/location/index.ts +10 -0
- package/src/_models/{control-models/dynamo-route-settings.ts → interfaces/route-settings.interface.ts} +2 -0
- package/src/_modules/collections.index.ts +2 -0
- package/src/_modules/constants.index.ts +2 -0
- package/src/_modules/custom-data-module.index.ts +2 -2
- package/src/_modules/data-modules.index.ts +4 -4
- package/src/_modules/enums.index.ts +2 -0
- package/src/_modules/error-module.index.ts +1 -1
- package/src/_modules/models.index.ts +2 -0
- package/src/_modules/shared-service.index.ts +6 -6
- package/src/_modules/test-module.index.ts +1 -1
- package/src/_modules/usage-module.index.ts +5 -5
- package/src/_utils/array.util.spec.ts +38 -0
- package/src/_utils/array.util.ts +19 -0
- package/src/_utils/index.ts +15 -0
- package/src/{_collections/_tools/dynamo-location.ts → _utils/location.util.ts} +4 -3
- package/src/{_collections/_tools/dynamo-log.ts → _utils/log.util.ts} +21 -2
- package/src/{_collections/_tools/dynamo-random.ts → _utils/random.util.ts} +2 -1
- package/src/{_collections/_tools/dynamo-regions.ts → _utils/regions.util.ts} +15 -10
- package/src/{_collections/_tools/dynamo-round-list.ts → _utils/round-list.util.ts} +1 -0
- package/src/{_collections/_tools/dynamo-shared.service.ts → _utils/shared.static-service.ts} +2 -1
- package/src/{_collections/_tools/dynamo-time.ts → _utils/time.util.ts} +3 -1
- package/src/{_collections/_tools/dynamo-trigonometry.ts → _utils/trigonometry.util.ts} +4 -1
- package/src/{_collections/_tools/utilities.ts → _utils/utilities.util.ts} +19 -1
- package/src/{_collections/_tools/vector.ts → _utils/vector.util.ts} +1 -1
- package/src/index.ts +1 -1
- package/src/_collections/index.ts +0 -14
- package/src/_models/control-models/dynamo-daily-usage-data.ts +0 -35
- package/src/_models/control-models/dynamo-data-params.ts +0 -32
- package/src/_models/control-models/dynamo-data-property-params.ts +0 -106
- package/src/_models/control-models/dynamo-usage-action.ts +0 -19
- package/src/_models/control-models/dynamo-usage-data.ts +0 -27
- package/src/_models/data-models/dynamo-custom-data.ts +0 -42
- package/src/_models/data-models/dynamo-metadata.ts +0 -37
- package/src/_models/data-models/dynamo-usage-session.ts +0 -77
- /package/src/{_collections/_constants → _constants/location}/country-codes-ISO-3166.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-divisions-ISO-3166-all-list.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-divisions-ISO-3166.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-phone-codes.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/afghanistan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/albania.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/algeria.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/andorra.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/angola.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/antigua-and-barbuda.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/argentina.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/armenia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/australia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/austria.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/azerbaijan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/bahamas.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/bahrain.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/bangladesh.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/barbados.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/belarus.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/belgium.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/belize.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/benin.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/bhutan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/bolivia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/bosnia-and-herzegovina.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/botswana.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/brazil.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/brunei-darussalam.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/bulgaria.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/burkina-faso.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/burundi.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/cambodia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/cameroon.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/canada.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/cape-verde.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/central-african-republic.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/chad.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/chile.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/china.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/colombia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/comoros.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/congo-the-democratic-republic-of-the.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/congo.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/costa-rica.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/cote-d-ivoire-republic-of.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/croatia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/cuba.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/cyprus.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/czech-republic.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/denmark.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/djibouti.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/dominica.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/dominican-republic.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/ecuador.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/egypt.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/el-salvador.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/equatorial-guinea.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/eritrea.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/estonia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/ethiopia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/fiji.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/finland.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/france.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/gabon.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/gambia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/georgia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/germany.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/ghana.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/greece.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/greenland.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/grenada.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/guatemala.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/guinea-bissau.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/guinea.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/guyana.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/haiti.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/honduras.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/hong-kong.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/hungary.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/iceland.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/india.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/indonesia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/iran-islamic-republic-of.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/iraq.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/ireland.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/israel.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/italy.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/jamaica.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/japan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/jordan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/kazakhstan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/kenya.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/kiribati.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/korea-democratic-people-s-republic-of.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/korea-republic-of.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/kuwait.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/kyrgyzstan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/lao-people-s-democratic-republic.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/latvia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/lebanon.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/lesotho.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/liberia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/libyan-arab-jamahiriya.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/liechtenstein.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/lithuania.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/luxembourg.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/macedonia-the-former-yugoslav-republic-of.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/madagascar.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/malawi.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/malaysia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/maldives.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/mali.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/malta.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/marshall-islands.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/mauritania.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/mauritius.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/mexico.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/micronesia-federated-states-of.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/moldova-republic-of.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/monaco.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/mongolia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/montenegro.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/morocco.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/mozambique.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/myanmar.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/namibia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/nauru.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/nepal.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/netherlands.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/new-zealand.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/nicaragua.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/niger.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/nigeria.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/norway.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/oman.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/pakistan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/palau.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/palestinian-territory-occupied.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/panama.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/papua-new-guinea.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/paraguay.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/peru.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/philippines.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/poland.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/portugal.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/qatar.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/romania.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/russian-federation.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/rwanda.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/saint-helena-ascension-and-tristan-da-cunha.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/saint-kitts-and-nevis.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/saint-lucia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/saint-vincent-and-the-grenadines.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/samoa.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/san-marino.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/sao-tome-and-principe.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/saudi-arabia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/senegal.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/serbia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/seychelles.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/sierra-leone.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/singapore.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/slovakia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/slovenia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/solomon-islands.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/somalia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/south-africa.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/south-sudan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/spain.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/sri-lanka.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/sudan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/suriname.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/swaziland.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/sweden.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/switzerland.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/syrian-arab-republic.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/taiwan-province-of-china.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/tajikistan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/tanzania-united-republic-of.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/thailand.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/timor-leste.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/togo.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/tonga.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/trinidad-and-tobago.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/tunisia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/turkey.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/turkmenistan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/tuvalu.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/uganda.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/ukraine.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/united-arab-emirates.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/united-kingdom.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/united-states-minor-outlying-islands.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/united-states.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/uruguay.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/uzbekistan.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/vanuatu.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/venezuela.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/viet-nam.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/yemen.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/zambia.json +0 -0
- /package/src/{_collections/_constants → _constants/location}/country-subdivisions/zimbabwe.json +0 -0
- /package/src/_constants/{times.ts → times.const.ts} +0 -0
- /package/src/_models/{control-models/country-division.ts → interfaces/location/country-division.interface.ts} +0 -0
- /package/src/_models/{control-models/country-phone-code.ts → interfaces/location/country-phone-code.interface.ts} +0 -0
- /package/src/_models/{control-models/division-collection.ts → interfaces/location/division-collection.interface.ts} +0 -0
- /package/src/_models/{control-models/geo-ip-location.ts → interfaces/location/geo-ip-location.interface.ts} +0 -0
- /package/src/_models/{control-models/location-coordinates.ts → interfaces/location/location-coordinates.interface.ts} +0 -0
- /package/src/_models/{control-models/random-weight.ts → interfaces/random-weight.interface.ts} +0 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Dynamo_DataPropertyParams = void 0;
|
|
4
|
+
const basic_property_type_enum_1 = require("../../_enums/basic-property-type.enum");
|
|
5
|
+
/**
|
|
6
|
+
* This will be used for setting up db. DataServices also uses this to prehook tools, as db service and dependency db service.
|
|
7
|
+
*/
|
|
8
|
+
class Dynamo_DataPropertyParams {
|
|
9
|
+
constructor(set) {
|
|
10
|
+
this.subObjectParams = [];
|
|
11
|
+
this.additionalValidators = [];
|
|
12
|
+
if (set) {
|
|
13
|
+
if (!set.key || !set.type) {
|
|
14
|
+
console.log(`DYNAMO ERROR: ` +
|
|
15
|
+
`\n key or type is missing from DynamoBEDataPropertyParams`, '\n\n', new Error());
|
|
16
|
+
}
|
|
17
|
+
if (set.isDependencyHook && !set.dependencyDataName) {
|
|
18
|
+
console.log(`DYNAMO ERROR: ` +
|
|
19
|
+
`\n dependencyName missing for dependencyHook from DynamoBEDataPropertyParams (${set.key})`, '\n\n', new Error());
|
|
20
|
+
}
|
|
21
|
+
Object.assign(this, set);
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
console.log('DYNAMO ERROR: ' +
|
|
25
|
+
'\nMISSING DynamoBEDataPropertyParams constructor input', '\n\n', new Error());
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
// tslint:disable-next-line: ban-types
|
|
29
|
+
getBEType() {
|
|
30
|
+
var _a, _b, _c;
|
|
31
|
+
switch (this.type) {
|
|
32
|
+
case basic_property_type_enum_1.BasicPropertyType.string:
|
|
33
|
+
return String;
|
|
34
|
+
case basic_property_type_enum_1.BasicPropertyType.number:
|
|
35
|
+
return Number;
|
|
36
|
+
case basic_property_type_enum_1.BasicPropertyType.boolean:
|
|
37
|
+
return Boolean;
|
|
38
|
+
case basic_property_type_enum_1.BasicPropertyType.date:
|
|
39
|
+
return Date;
|
|
40
|
+
case basic_property_type_enum_1.BasicPropertyType.object:
|
|
41
|
+
default:
|
|
42
|
+
if ((_a = this.type) === null || _a === void 0 ? void 0 : _a.includes('[]')) {
|
|
43
|
+
return Array;
|
|
44
|
+
}
|
|
45
|
+
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'))) {
|
|
46
|
+
return Function;
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
return Object;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.Dynamo_DataPropertyParams = Dynamo_DataPropertyParams;
|
|
55
|
+
//# sourceMappingURL=data-property-params.control-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-property-params.control-model.js","sourceRoot":"","sources":["../../../src/_models/control-models/data-property-params.control-model.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AAQ,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;AA5ED,8DA4EC"}
|
|
@@ -0,0 +1,264 @@
|
|
|
1
|
+
export declare type D_Error = Dynamo_Error;
|
|
2
|
+
export declare class Dynamo_Error {
|
|
3
|
+
readonly flag = "DYNAMO ERROR OBJECT";
|
|
4
|
+
handled: boolean;
|
|
5
|
+
status: number;
|
|
6
|
+
errorCode: string;
|
|
7
|
+
errorCodes: string[];
|
|
8
|
+
error: any;
|
|
9
|
+
errors: any[];
|
|
10
|
+
message: string;
|
|
11
|
+
messages: string[];
|
|
12
|
+
userMessage: string;
|
|
13
|
+
userMessages: string[];
|
|
14
|
+
constructor(set?: {
|
|
15
|
+
handled?: boolean;
|
|
16
|
+
status?: number;
|
|
17
|
+
errorCode?: string;
|
|
18
|
+
errorCodes?: string[];
|
|
19
|
+
error?: any;
|
|
20
|
+
errors?: any[];
|
|
21
|
+
message?: string;
|
|
22
|
+
messages?: string[];
|
|
23
|
+
userMessage?: string;
|
|
24
|
+
userMessages?: string[];
|
|
25
|
+
addECToUserMsg?: boolean;
|
|
26
|
+
modestLog?: boolean;
|
|
27
|
+
log?: boolean;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Returns the average of two numbers.
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* This method is part of the {@link core-library#Statistics | Statistics subsystem}.
|
|
35
|
+
*
|
|
36
|
+
* @param x - The first input number
|
|
37
|
+
* @param y - The second input number
|
|
38
|
+
* @returns The arithmetic mean of `x` and `y`
|
|
39
|
+
*
|
|
40
|
+
* @beta
|
|
41
|
+
* @returns true if the specified tag is surrounded with `{`
|
|
42
|
+
* and `}` characters.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* Prints "true" for `{@link}` but "false" for `@internal`:
|
|
46
|
+
* ```ts
|
|
47
|
+
* console.log(isInlineTag('{@link}'));
|
|
48
|
+
* console.log(isInlineTag('@internal'));
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
* @alpha
|
|
53
|
+
* v
|
|
54
|
+
* sadfas d
|
|
55
|
+
* fs
|
|
56
|
+
* daf
|
|
57
|
+
* d as
|
|
58
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
59
|
+
* a
|
|
60
|
+
* @beta
|
|
61
|
+
* v
|
|
62
|
+
* sadfas d
|
|
63
|
+
* fs
|
|
64
|
+
* daf
|
|
65
|
+
* d as
|
|
66
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
67
|
+
* b
|
|
68
|
+
* @decorator
|
|
69
|
+
* v
|
|
70
|
+
* sadfas d
|
|
71
|
+
* fs
|
|
72
|
+
* daf
|
|
73
|
+
* d as
|
|
74
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
75
|
+
* dc
|
|
76
|
+
* @deprecated
|
|
77
|
+
* v
|
|
78
|
+
* sadfas d
|
|
79
|
+
* fs
|
|
80
|
+
* daf
|
|
81
|
+
* d as
|
|
82
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
83
|
+
* dp
|
|
84
|
+
* @defaultValue
|
|
85
|
+
* v
|
|
86
|
+
* sadfas d
|
|
87
|
+
* fs
|
|
88
|
+
* daf
|
|
89
|
+
* d as
|
|
90
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
91
|
+
* dv
|
|
92
|
+
* @eventProperty
|
|
93
|
+
* v
|
|
94
|
+
* sadfas d
|
|
95
|
+
* fs
|
|
96
|
+
* daf
|
|
97
|
+
* d as
|
|
98
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
99
|
+
* ep
|
|
100
|
+
* @example
|
|
101
|
+
* v
|
|
102
|
+
* sadfas d
|
|
103
|
+
* fs
|
|
104
|
+
* daf
|
|
105
|
+
* d as
|
|
106
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
107
|
+
* ex
|
|
108
|
+
* @experimental
|
|
109
|
+
* v
|
|
110
|
+
* sadfas d
|
|
111
|
+
* fs
|
|
112
|
+
* daf
|
|
113
|
+
* d as
|
|
114
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
115
|
+
* exp
|
|
116
|
+
* @inheritDoc
|
|
117
|
+
* v
|
|
118
|
+
* sadfas d
|
|
119
|
+
* fs
|
|
120
|
+
* daf
|
|
121
|
+
* d as
|
|
122
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
123
|
+
* in
|
|
124
|
+
* @internal
|
|
125
|
+
* v
|
|
126
|
+
* sadfas d
|
|
127
|
+
* fs
|
|
128
|
+
* daf
|
|
129
|
+
* d as
|
|
130
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
131
|
+
* int
|
|
132
|
+
* @label
|
|
133
|
+
* v
|
|
134
|
+
* sadfas d
|
|
135
|
+
* fs
|
|
136
|
+
* daf
|
|
137
|
+
* d as
|
|
138
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
139
|
+
* lab
|
|
140
|
+
* @link
|
|
141
|
+
* v
|
|
142
|
+
* sadfas d
|
|
143
|
+
* fs
|
|
144
|
+
* daf
|
|
145
|
+
* d as
|
|
146
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
147
|
+
* li
|
|
148
|
+
* @override
|
|
149
|
+
* v
|
|
150
|
+
* sadfas d
|
|
151
|
+
* fs
|
|
152
|
+
* daf
|
|
153
|
+
* d as
|
|
154
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
155
|
+
* v
|
|
156
|
+
* sadfas d
|
|
157
|
+
* fs
|
|
158
|
+
* daf
|
|
159
|
+
* d as
|
|
160
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
161
|
+
* ov
|
|
162
|
+
* @packageDocumentation
|
|
163
|
+
* v
|
|
164
|
+
* sadfas d
|
|
165
|
+
* fs
|
|
166
|
+
* daf
|
|
167
|
+
* d as
|
|
168
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
169
|
+
* pad
|
|
170
|
+
* @param
|
|
171
|
+
* v
|
|
172
|
+
* sadfas d
|
|
173
|
+
* fs
|
|
174
|
+
* daf
|
|
175
|
+
* d as
|
|
176
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
177
|
+
* par
|
|
178
|
+
* @privateRemarks
|
|
179
|
+
* v
|
|
180
|
+
* sadfas d
|
|
181
|
+
* fs
|
|
182
|
+
* daf
|
|
183
|
+
* d as
|
|
184
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
185
|
+
* pr
|
|
186
|
+
* @public
|
|
187
|
+
* v
|
|
188
|
+
* sadfas d
|
|
189
|
+
* fs
|
|
190
|
+
* daf
|
|
191
|
+
* d as
|
|
192
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
193
|
+
* p
|
|
194
|
+
* @readonly
|
|
195
|
+
* v
|
|
196
|
+
* sadfas d
|
|
197
|
+
* fs
|
|
198
|
+
* daf
|
|
199
|
+
* d as
|
|
200
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
201
|
+
* re
|
|
202
|
+
* @remarks
|
|
203
|
+
* v
|
|
204
|
+
* sadfas d
|
|
205
|
+
* fs
|
|
206
|
+
* daf
|
|
207
|
+
* d as
|
|
208
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
209
|
+
* rem
|
|
210
|
+
* @returns
|
|
211
|
+
* v
|
|
212
|
+
* sadfas d
|
|
213
|
+
* fs
|
|
214
|
+
* daf
|
|
215
|
+
* d as
|
|
216
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
217
|
+
* ret
|
|
218
|
+
* @sealed
|
|
219
|
+
* v
|
|
220
|
+
* sadfas d
|
|
221
|
+
* fs
|
|
222
|
+
* daf
|
|
223
|
+
* d as
|
|
224
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
225
|
+
* sea
|
|
226
|
+
* @see
|
|
227
|
+
* v
|
|
228
|
+
* sadfas d
|
|
229
|
+
* fs
|
|
230
|
+
* daf
|
|
231
|
+
* d as
|
|
232
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
233
|
+
* see
|
|
234
|
+
* @throws
|
|
235
|
+
* v
|
|
236
|
+
* sadfas d
|
|
237
|
+
* fs
|
|
238
|
+
* daf
|
|
239
|
+
* d as
|
|
240
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
241
|
+
* th
|
|
242
|
+
* @typeParam
|
|
243
|
+
* v
|
|
244
|
+
* sadfas d
|
|
245
|
+
* fs
|
|
246
|
+
* daf
|
|
247
|
+
* d as
|
|
248
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
249
|
+
* typ
|
|
250
|
+
* @virtual
|
|
251
|
+
* v
|
|
252
|
+
* sadfas d
|
|
253
|
+
* fs
|
|
254
|
+
* daf
|
|
255
|
+
* d as
|
|
256
|
+
* dafs // asd sa `sadf ` sadf asd******* asdf asd f asd
|
|
257
|
+
*
|
|
258
|
+
*
|
|
259
|
+
* @see {@link http://example.com/@internal LINK}
|
|
260
|
+
* @see {@link http://example.com/@internal http://example.com/@internal}
|
|
261
|
+
*/
|
|
262
|
+
export interface TestDocumentationComments {
|
|
263
|
+
}
|
|
264
|
+
//# sourceMappingURL=error.control-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.control-model.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/error.control-model.ts"],"names":[],"mappings":"AAEA,oBAAY,OAAO,GAAG,Y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WAAW,yBAAyB;CAAG"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Dynamo_Error = void 0;
|
|
4
|
+
class Dynamo_Error {
|
|
5
|
+
constructor(set) {
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
7
|
+
this.flag = 'DYNAMO ERROR OBJECT';
|
|
8
|
+
this.errorCodes = [];
|
|
9
|
+
this.errors = [];
|
|
10
|
+
this.messages = [];
|
|
11
|
+
this.userMessages = [];
|
|
12
|
+
try {
|
|
13
|
+
this.handled = !!set.handled;
|
|
14
|
+
if (set) {
|
|
15
|
+
this.status = (_a = set.status) !== null && _a !== void 0 ? _a : (_b = set === null || set === void 0 ? void 0 : set.error) === null || _b === void 0 ? void 0 : _b.status;
|
|
16
|
+
if (set.errorCode) {
|
|
17
|
+
this.errorCodes.push(set.errorCode);
|
|
18
|
+
}
|
|
19
|
+
if (set.message) {
|
|
20
|
+
this.messages.push(set.message);
|
|
21
|
+
}
|
|
22
|
+
if (set.userMessage) {
|
|
23
|
+
this.userMessages.push(set.userMessage);
|
|
24
|
+
}
|
|
25
|
+
if (set.error) {
|
|
26
|
+
if (set.error.error) {
|
|
27
|
+
this.errors.push(set.error.error);
|
|
28
|
+
}
|
|
29
|
+
if (set.error.errors) {
|
|
30
|
+
if (Array.isArray(set.error.errors)) {
|
|
31
|
+
this.errors.push(...set.error.errors);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
this.errors.push(set.error.errors);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
if (set.error.errorCode) {
|
|
38
|
+
this.errorCodes.push(set.error.errorCode);
|
|
39
|
+
}
|
|
40
|
+
if (set.error.errorCodes) {
|
|
41
|
+
if (Array.isArray(set.error.errorCodes)) {
|
|
42
|
+
this.errorCodes.push(...set.error.errorCodes);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
this.errorCodes.push(set.error.errorCodes);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
if (set.error.message) {
|
|
49
|
+
this.messages.push(set.error.message);
|
|
50
|
+
}
|
|
51
|
+
else if (set.error._message) {
|
|
52
|
+
this.messages.push(set.error._message);
|
|
53
|
+
}
|
|
54
|
+
if (set.error.messages) {
|
|
55
|
+
if (Array.isArray(set.error.messages)) {
|
|
56
|
+
if (set.error.messages[0] == this.messages[0]) {
|
|
57
|
+
set.error.messages.shift();
|
|
58
|
+
}
|
|
59
|
+
this.messages.push(...set.error.messages);
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
this.messages.push(set.error.messages);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
if (set.error.userMessage) {
|
|
66
|
+
this.userMessages.push(set.error.userMessage);
|
|
67
|
+
}
|
|
68
|
+
if (set.error.userMessages) {
|
|
69
|
+
if (Array.isArray(set.error.userMessages)) {
|
|
70
|
+
/* if (set.error.userMessages[0] == this.userMessages[0]) {
|
|
71
|
+
set.error.userMessages.shift();
|
|
72
|
+
} */
|
|
73
|
+
this.userMessages.push(...set.error.userMessages);
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
this.userMessages.push(set.error.userMessages);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
this.errorCode = (_c = set === null || set === void 0 ? void 0 : set.errorCode) !== null && _c !== void 0 ? _c : this.errorCodes[0];
|
|
82
|
+
this.userMessage = (_d = set === null || set === void 0 ? void 0 : set.userMessage) !== null && _d !== void 0 ? _d : this.userMessages[0];
|
|
83
|
+
this.message = (_e = set === null || set === void 0 ? void 0 : set.message) !== null && _e !== void 0 ? _e : this.messages[0];
|
|
84
|
+
this.error = (_g = (_f = set === null || set === void 0 ? void 0 : set.error) !== null && _f !== void 0 ? _f : this.errors[0]) !== null && _g !== void 0 ? _g : new Error(this.message);
|
|
85
|
+
if (0 < this.errorCodes.length && this.errorCode === this.errorCodes[0]) {
|
|
86
|
+
this.errorCodes.shift();
|
|
87
|
+
}
|
|
88
|
+
if (0 < this.userMessages.length && this.userMessage === this.userMessages[0]) {
|
|
89
|
+
this.userMessages.shift();
|
|
90
|
+
}
|
|
91
|
+
if (0 < this.messages.length && this.message === this.messages[0]) {
|
|
92
|
+
this.messages.shift();
|
|
93
|
+
}
|
|
94
|
+
if (0 < this.errors.length && this.error === this.errors[0]) {
|
|
95
|
+
this.errors.shift();
|
|
96
|
+
}
|
|
97
|
+
if (set.addECToUserMsg) {
|
|
98
|
+
this.userMessage += `\nErrorCode: ${this.errorCode}`;
|
|
99
|
+
}
|
|
100
|
+
if (set === null || set === void 0 ? void 0 : set.modestLog) {
|
|
101
|
+
console.error((_j = (_h = this.message) !== null && _h !== void 0 ? _h : this.userMessage) !== null && _j !== void 0 ? _j : this.error);
|
|
102
|
+
}
|
|
103
|
+
if (set === null || set === void 0 ? void 0 : set.log) {
|
|
104
|
+
console.error(this);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
catch (error) {
|
|
108
|
+
console.error('Internal Dynamo ERROR: Failed to create Dynamo_Error...', error, set);
|
|
109
|
+
/* throw new Error('Internal Dynamo ERROR: Failed to create Dynamo_Error...'); */
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
exports.Dynamo_Error = Dynamo_Error;
|
|
114
|
+
//# sourceMappingURL=error.control-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"error.control-model.js","sourceRoot":"","sources":["../../../src/_models/control-models/error.control-model.ts"],"names":[],"mappings":";;;AAGA,MAAa,YAAY;IAiBvB,YACE,GAmBC;;QApCM,SAAI,GAAG,qBAAqB,CAAC;QAKtC,eAAU,GAAa,EAAE,CAAC;QAG1B,WAAM,GAAU,EAAE,CAAC;QAGnB,aAAQ,GAAa,EAAE,CAAC;QAGxB,iBAAY,GAAa,EAAE,CAAC;QAwB1B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C,CAAC,EAAE;gBAC7E,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,CAAC;aAC3B;YACD,IAAI,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;gBACjE,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;aACvB;YACD,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,KAAK,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;gBAC3D,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;aACrB;YAED,IAAI,GAAG,CAAC,cAAc,EAAE;gBACtB,IAAI,CAAC,WAAW,IAAI,gBAAgB,IAAI,CAAC,SAAS,EAAE,CAAA;aACrD;YAED,IAAI,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,SAAS,EAAE;gBAClB,OAAO,CAAC,KAAK,aAAC,IAAI,CAAC,OAAO,mCAAI,IAAI,CAAC,WAAW,mCAAI,IAAI,CAAC,KAAK,CAAC,CAAA;aAC9D;YACD,IAAI,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,GAAG,EAAE;gBACZ,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;aACrB;SACF;QAAC,OAAO,KAAK,EAAE;YACd,OAAO,CAAC,KAAK,CAAC,yDAAyD,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;YACrF,iFAAiF;SAClF;IACH,CAAC;CACF;AAhJD,oCAgJC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './daily-usage-data.control-model';
|
|
2
|
+
export * from './data-params.control-model';
|
|
3
|
+
export * from './data-property-params.control-model';
|
|
4
|
+
export * from './error.control-model';
|
|
5
|
+
export * from './poll.control-model';
|
|
6
|
+
export * from './range-value.control-model';
|
|
7
|
+
export * from '../interfaces/route-settings.interface';
|
|
8
|
+
export * from './usage-action.control-model';
|
|
9
|
+
export * from './usage-data.control-model';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/index.ts"],"names":[],"mappings":"AAEA,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wCAAwC,CAAC;AACvD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
// CONTROL MODELS
|
|
5
|
+
tslib_1.__exportStar(require("./daily-usage-data.control-model"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./data-params.control-model"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./data-property-params.control-model"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./error.control-model"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./poll.control-model"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./range-value.control-model"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("../interfaces/route-settings.interface"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./usage-action.control-model"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./usage-data.control-model"), exports);
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/_models/control-models/index.ts"],"names":[],"mappings":";;;AACA,iBAAiB;AACjB,2EAAiD;AACjD,sEAA4C;AAC5C,+EAAqD;AACrD,gEAAsC;AACtC,+DAAqC;AACrC,sEAA4C;AAC5C,iFAAuD;AACvD,uEAA6C;AAC7C,qEAA2C"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Subscription } from 'rxjs';
|
|
2
|
+
export declare type D_Poll<T> = Dynamo_Poll<T>;
|
|
3
|
+
/**
|
|
4
|
+
* DynamoFSM_Poll is a predefined class is
|
|
5
|
+
* for polling a specific endpoint
|
|
6
|
+
* waiting a specific result
|
|
7
|
+
*/
|
|
8
|
+
export declare class Dynamo_Poll<T> {
|
|
9
|
+
poll: Subscription;
|
|
10
|
+
running: boolean;
|
|
11
|
+
private pollDo;
|
|
12
|
+
private pollWhile;
|
|
13
|
+
private pollEnd;
|
|
14
|
+
private args?;
|
|
15
|
+
private pollDelay?;
|
|
16
|
+
private pollPeriod?;
|
|
17
|
+
private stopOnFail?;
|
|
18
|
+
constructor(set: {
|
|
19
|
+
pollDo: (...args: any[]) => Promise<T>;
|
|
20
|
+
pollWhile: (res: T) => boolean;
|
|
21
|
+
pollEnd: (res: T) => void;
|
|
22
|
+
args?: unknown[];
|
|
23
|
+
pollDelay?: number;
|
|
24
|
+
pollPeriod?: number;
|
|
25
|
+
stopOnFail?: boolean;
|
|
26
|
+
});
|
|
27
|
+
private startPoll;
|
|
28
|
+
restartPoll(args?: unknown[]): void;
|
|
29
|
+
stop(): void;
|
|
30
|
+
end(result: T): void;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=poll.control-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poll.control-model.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/poll.control-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAS,MAAM,MAAM,CAAC;AAG3C,oBAAY,MAAM,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,CAAC;AACvC;;;;GAIG;AACH,qBAAa,WAAW,CAAC,CAAC;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,MAAM,CAA0B;IACxC,OAAO,CAAC,SAAS,CAAsB;IACvC,OAAO,CAAC,OAAO,CAAmB;IAClC,OAAO,CAAC,IAAI,CAAC,CAAY;IACzB,OAAO,CAAC,SAAS,CAAC,CAAS;IAC3B,OAAO,CAAC,UAAU,CAAC,CAAS;IAC5B,OAAO,CAAC,UAAU,CAAC,CAAU;gBAG3B,GAAG,EAAE;QACH,MAAM,EAAE,CAAC,GAAG,IAAI,OAAA,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;QAChC,SAAS,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,OAAO,CAAC;QAC/B,OAAO,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;QAE1B,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB;IA0BH,OAAO,CAAC,SAAS;IA2BjB,WAAW,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,GAAG,IAAI;IAenC,IAAI,IAAI,IAAI;IAKZ,GAAG,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI;CAKrB"}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Dynamo_Poll = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const rxjs_1 = require("rxjs");
|
|
6
|
+
const error_control_model_1 = require("./error.control-model");
|
|
7
|
+
/**
|
|
8
|
+
* DynamoFSM_Poll is a predefined class is
|
|
9
|
+
* for polling a specific endpoint
|
|
10
|
+
* waiting a specific result
|
|
11
|
+
*/
|
|
12
|
+
class Dynamo_Poll {
|
|
13
|
+
constructor(set) {
|
|
14
|
+
try {
|
|
15
|
+
this.pollDo = set.pollDo;
|
|
16
|
+
this.pollWhile = set.pollWhile;
|
|
17
|
+
this.pollEnd = set.pollEnd;
|
|
18
|
+
this.args = set.args;
|
|
19
|
+
this.pollDelay = set.pollDelay ? set.pollDelay : 0;
|
|
20
|
+
if (set.pollPeriod === 0) {
|
|
21
|
+
console.error('DYNAMO ERROR: creating polls with 0ms period is not supported! (it will reset to 1000ms (1s))', new Error());
|
|
22
|
+
}
|
|
23
|
+
this.pollPeriod = set.pollPeriod ? set.pollPeriod : 1000;
|
|
24
|
+
if (this.pollPeriod < 300) {
|
|
25
|
+
console.warn('DYNAMO WARNING: creating polls with less than 300ms period is not recommended!');
|
|
26
|
+
}
|
|
27
|
+
this.stopOnFail = set.stopOnFail;
|
|
28
|
+
this.startPoll(this.args);
|
|
29
|
+
}
|
|
30
|
+
catch (error) {
|
|
31
|
+
throw new error_control_model_1.Dynamo_Error({
|
|
32
|
+
message: 'Dynamo_Poll construcion failed.'
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
startPoll(...args) {
|
|
37
|
+
try {
|
|
38
|
+
this.poll = rxjs_1.timer(this.pollDelay, this.pollPeriod).subscribe(() => tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
yield this.pollDo(...args).then((res) => {
|
|
40
|
+
if (!this.pollWhile(res)) {
|
|
41
|
+
this.end(res);
|
|
42
|
+
}
|
|
43
|
+
}).catch((error) => {
|
|
44
|
+
if (this.stopOnFail) {
|
|
45
|
+
this.stop();
|
|
46
|
+
}
|
|
47
|
+
throw new error_control_model_1.Dynamo_Error({
|
|
48
|
+
message: 'DYNAMO ERROR: \nDynamoPoll: pollDo was UNSUCCESSFUL',
|
|
49
|
+
error: new Error(error),
|
|
50
|
+
errors: [error]
|
|
51
|
+
});
|
|
52
|
+
});
|
|
53
|
+
}));
|
|
54
|
+
this.running = true;
|
|
55
|
+
}
|
|
56
|
+
catch (error) {
|
|
57
|
+
throw new error_control_model_1.Dynamo_Error({
|
|
58
|
+
message: 'DYNAMO ERROR: \nDynamoPoll: startPoll was UNSUCCESSFUL',
|
|
59
|
+
error: error,
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
restartPoll(args) {
|
|
64
|
+
try {
|
|
65
|
+
if (args) {
|
|
66
|
+
this.startPoll(args);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
this.startPoll(this.args);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
catch (error) {
|
|
73
|
+
throw new error_control_model_1.Dynamo_Error({
|
|
74
|
+
message: 'DYNAMO ERROR: \nDynamoPoll: restartPoll was UNSUCCESSFUL',
|
|
75
|
+
error: error,
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
stop() {
|
|
80
|
+
this.poll.unsubscribe();
|
|
81
|
+
this.running = false;
|
|
82
|
+
}
|
|
83
|
+
end(result) {
|
|
84
|
+
this.poll.unsubscribe();
|
|
85
|
+
this.pollEnd(result);
|
|
86
|
+
this.running = false;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.Dynamo_Poll = Dynamo_Poll;
|
|
90
|
+
//# sourceMappingURL=poll.control-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"poll.control-model.js","sourceRoot":"","sources":["../../../src/_models/control-models/poll.control-model.ts"],"names":[],"mappings":";;;;AAAA,+BAA2C;AAC3C,+DAAqD;AAGrD;;;;GAIG;AACH,MAAa,WAAW;IAWtB,YACE,GASC;QAED,IAAI;YACF,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;YACzB,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;YAC/B,IAAI,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;YAE3B,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;YACrB,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC,CA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AAK,EAAE,IAAI,KAAK,CAAC,KAAK,CAAC;wBACvB,MAAM,EAAE,CAAE,KAAK,CAAE;qBAClB,CAAC,CAAC;gBACL,CAAC,CAAC,CAAC;YACL,CAAC,CAAA,CAAC,CAAC;YACH,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;SACrB;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,IAAI,kCAAY,CAAC;gBACrB,OAAO,EAAE,wDAAwD;gBACjE,KAAK,EAAE,KAAK;aACb,CAAC,CAAC;SACJ;IACH,CAAC;IAED,WAAW,CAAC,IAAgB;QAC1B,IAAI;YACF,IAAI,IAAI,EAAE;gBACR,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;aACtB;iBAAM;gBACL,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aAC3B;SACF;QAAC,OAAO,KAAK,EAAE;YACd,MAAM,IAAI,kCAAY,CAAC;gBACrB,OAAO,EAAE,0DAA0D;gBACnE,KAAK,EAAE,KAAK;aACb,CAAC,CAAC;SACJ;IACH,CAAC;IAED,IAAI;QACF,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;QACxB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;IACvB,CAAC;IAED,GAAG,CAAC,MAAS;QACX,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC;QACxB,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACrB,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;IACvB,CAAC;CACF;AAnGD,kCAmGC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare type D_RangeValue<T> = Dynamo_RangeValue<T>;
|
|
2
|
+
export declare type D_RangeV<T> = Dynamo_RangeValue<T>;
|
|
3
|
+
export declare class Dynamo_RangeValue<T> {
|
|
4
|
+
from: T;
|
|
5
|
+
to: T;
|
|
6
|
+
constructor(from: T, to: T);
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=range-value.control-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-value.control-model.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/range-value.control-model.ts"],"names":[],"mappings":"AAEA,oBAAY,YAAY,CAAC,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC;AACnD,oBAAY,QAAQ,CAAC,CAAC,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAC/C,qBAAa,iBAAiB,CAAC,CAAC;IAC9B,IAAI,EAAE,CAAC,CAAC;IACR,EAAE,EAAE,CAAC,CAAC;gBAGJ,IAAI,EAAE,CAAC,EACP,EAAE,EAAE,CAAC;CAKR"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Dynamo_RangeValue = void 0;
|
|
4
|
+
class Dynamo_RangeValue {
|
|
5
|
+
constructor(from, to) {
|
|
6
|
+
this.from = from;
|
|
7
|
+
this.to = to;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.Dynamo_RangeValue = Dynamo_RangeValue;
|
|
11
|
+
//# sourceMappingURL=range-value.control-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"range-value.control-model.js","sourceRoot":"","sources":["../../../src/_models/control-models/range-value.control-model.ts"],"names":[],"mappings":";;;AAIA,MAAa,iBAAiB;IAI5B,YACE,IAAO,EACP,EAAK;QAEL,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;IACf,CAAC;CACF;AAXD,8CAWC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usage-action.control-model.d.ts","sourceRoot":"","sources":["../../../src/_models/control-models/usage-action.control-model.ts"],"names":[],"mappings":"AACA,oBAAY,aAAa,GAAG,kBAAkB,CAAC;AAC/C,qBAAa,kBAAkB;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,CAAC;gBAGV,GAAG,CAAC,EAAE,kBAAkB;CAM3B"}
|