@thisisagile/easy 15.26.1 → 15.27.0
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/dist/chunk-35PSIDGU.mjs +17 -0
- package/dist/chunk-35PSIDGU.mjs.map +1 -0
- package/dist/chunk-3HTSHJPL.mjs +26 -0
- package/dist/chunk-3HTSHJPL.mjs.map +1 -0
- package/dist/chunk-3WOYFN2Q.mjs +18 -0
- package/dist/chunk-3WOYFN2Q.mjs.map +1 -0
- package/dist/chunk-4AP5H3OQ.mjs +46 -0
- package/dist/chunk-4AP5H3OQ.mjs.map +1 -0
- package/dist/chunk-4EVQZKMK.mjs +15 -0
- package/dist/chunk-4EVQZKMK.mjs.map +1 -0
- package/dist/chunk-4QX4EMLL.mjs +13 -0
- package/dist/chunk-4QX4EMLL.mjs.map +1 -0
- package/dist/chunk-5AF55QCJ.mjs +51 -0
- package/dist/chunk-5AF55QCJ.mjs.map +1 -0
- package/dist/chunk-6NOTDYUE.mjs +272 -0
- package/dist/chunk-6NOTDYUE.mjs.map +1 -0
- package/dist/chunk-6OW7KEN5.mjs +94 -0
- package/dist/chunk-6OW7KEN5.mjs.map +1 -0
- package/dist/chunk-74AOBBOZ.mjs +113 -0
- package/dist/chunk-74AOBBOZ.mjs.map +1 -0
- package/dist/chunk-7EP6VCI3.mjs +60 -0
- package/dist/chunk-7EP6VCI3.mjs.map +1 -0
- package/dist/{types/PageList.js → chunk-7NYZAGM3.mjs} +31 -48
- package/dist/chunk-7NYZAGM3.mjs.map +1 -0
- package/dist/chunk-7RIXMU5L.mjs +50 -0
- package/dist/chunk-7RIXMU5L.mjs.map +1 -0
- package/dist/chunk-A7OYYR2S.mjs +48 -0
- package/dist/chunk-A7OYYR2S.mjs.map +1 -0
- package/dist/chunk-ADJAEGCT.mjs +21 -0
- package/dist/chunk-ADJAEGCT.mjs.map +1 -0
- package/dist/chunk-AKYA7FHU.mjs +15 -0
- package/dist/chunk-AKYA7FHU.mjs.map +1 -0
- package/dist/chunk-CLKUH5JA.mjs +42 -0
- package/dist/chunk-CLKUH5JA.mjs.map +1 -0
- package/dist/chunk-CMRS457E.mjs +11 -0
- package/dist/chunk-CMRS457E.mjs.map +1 -0
- package/dist/chunk-D54TPU6G.mjs +43 -0
- package/dist/chunk-D54TPU6G.mjs.map +1 -0
- package/dist/chunk-DICMUQFL.mjs +11 -0
- package/dist/chunk-DICMUQFL.mjs.map +1 -0
- package/dist/chunk-EZC3HAYN.mjs +70 -0
- package/dist/chunk-EZC3HAYN.mjs.map +1 -0
- package/dist/chunk-FAAERRP2.mjs +37 -0
- package/dist/chunk-FAAERRP2.mjs.map +1 -0
- package/dist/chunk-FSK4W6I2.mjs +33 -0
- package/dist/chunk-FSK4W6I2.mjs.map +1 -0
- package/dist/chunk-G7QSW2EB.mjs +23 -0
- package/dist/chunk-G7QSW2EB.mjs.map +1 -0
- package/dist/chunk-GDD652NR.mjs +94 -0
- package/dist/chunk-GDD652NR.mjs.map +1 -0
- package/dist/chunk-GGC4TWMF.mjs +40 -0
- package/dist/chunk-GGC4TWMF.mjs.map +1 -0
- package/dist/chunk-GI5TZOAG.mjs +30 -0
- package/dist/chunk-GI5TZOAG.mjs.map +1 -0
- package/dist/chunk-GVX6S54O.mjs +54 -0
- package/dist/chunk-GVX6S54O.mjs.map +1 -0
- package/dist/chunk-H22IHXDC.mjs +23 -0
- package/dist/chunk-H22IHXDC.mjs.map +1 -0
- package/dist/chunk-H6GKGVYF.mjs +18 -0
- package/dist/chunk-H6GKGVYF.mjs.map +1 -0
- package/dist/chunk-HNB4RM5S.mjs +89 -0
- package/dist/chunk-HNB4RM5S.mjs.map +1 -0
- package/dist/chunk-I3VZW3XF.mjs +46 -0
- package/dist/chunk-I3VZW3XF.mjs.map +1 -0
- package/dist/chunk-IJFQ7PRU.mjs +19 -0
- package/dist/chunk-IJFQ7PRU.mjs.map +1 -0
- package/dist/chunk-JER7KLEK.mjs +82 -0
- package/dist/chunk-JER7KLEK.mjs.map +1 -0
- package/dist/chunk-JXJ5LRH3.mjs +30 -0
- package/dist/chunk-JXJ5LRH3.mjs.map +1 -0
- package/dist/chunk-L2BMMXCX.mjs +79 -0
- package/dist/chunk-L2BMMXCX.mjs.map +1 -0
- package/dist/chunk-LB7OMB5S.mjs +57 -0
- package/dist/chunk-LB7OMB5S.mjs.map +1 -0
- package/dist/chunk-LCDQWW2Y.mjs +18 -0
- package/dist/chunk-LCDQWW2Y.mjs.map +1 -0
- package/dist/chunk-LD64IICE.mjs +28 -0
- package/dist/chunk-LD64IICE.mjs.map +1 -0
- package/dist/chunk-LV7HNQ3N.mjs +183 -0
- package/dist/chunk-LV7HNQ3N.mjs.map +1 -0
- package/dist/chunk-M4UUIOW6.mjs +86 -0
- package/dist/chunk-M4UUIOW6.mjs.map +1 -0
- package/dist/chunk-MDLVDMKY.mjs +11 -0
- package/dist/chunk-MDLVDMKY.mjs.map +1 -0
- package/dist/chunk-NF7FTEE7.mjs +26 -0
- package/dist/chunk-NF7FTEE7.mjs.map +1 -0
- package/dist/chunk-NYTGMBLK.mjs +49 -0
- package/dist/chunk-NYTGMBLK.mjs.map +1 -0
- package/dist/chunk-O62PGEQ7.mjs +20 -0
- package/dist/chunk-O62PGEQ7.mjs.map +1 -0
- package/dist/chunk-OQNZEKWO.mjs +24 -0
- package/dist/chunk-OQNZEKWO.mjs.map +1 -0
- package/dist/chunk-OXBQSJDF.mjs +45 -0
- package/dist/chunk-OXBQSJDF.mjs.map +1 -0
- package/dist/chunk-PIRWVOO2.mjs +7 -0
- package/dist/chunk-PIRWVOO2.mjs.map +1 -0
- package/dist/chunk-PLIJ2CRV.mjs +25 -0
- package/dist/chunk-PLIJ2CRV.mjs.map +1 -0
- package/dist/chunk-PSIJUWZT.mjs +13 -0
- package/dist/chunk-PSIJUWZT.mjs.map +1 -0
- package/dist/chunk-QOGUHAMC.mjs +40 -0
- package/dist/chunk-QOGUHAMC.mjs.map +1 -0
- package/dist/chunk-SGSU4KYT.mjs +49 -0
- package/dist/chunk-SGSU4KYT.mjs.map +1 -0
- package/dist/chunk-SJGDB24D.mjs +41 -0
- package/dist/chunk-SJGDB24D.mjs.map +1 -0
- package/dist/chunk-SJGQU3OG.mjs +15 -0
- package/dist/chunk-SJGQU3OG.mjs.map +1 -0
- package/dist/chunk-SP4KAT3N.mjs +25 -0
- package/dist/chunk-SP4KAT3N.mjs.map +1 -0
- package/dist/chunk-SS3C77DP.mjs +134 -0
- package/dist/chunk-SS3C77DP.mjs.map +1 -0
- package/dist/chunk-SW2OCUH3.mjs +10 -0
- package/dist/chunk-SW2OCUH3.mjs.map +1 -0
- package/dist/chunk-UDLMLGTS.mjs +43 -0
- package/dist/chunk-UDLMLGTS.mjs.map +1 -0
- package/dist/chunk-V62IOKST.mjs +21 -0
- package/dist/chunk-V62IOKST.mjs.map +1 -0
- package/dist/chunk-WEXSGVXZ.mjs +53 -0
- package/dist/chunk-WEXSGVXZ.mjs.map +1 -0
- package/dist/chunk-WUFQM7VZ.mjs +20 -0
- package/dist/chunk-WUFQM7VZ.mjs.map +1 -0
- package/dist/chunk-YTWFWQNB.mjs +866 -0
- package/dist/chunk-YTWFWQNB.mjs.map +1 -0
- package/dist/chunk-ZHAJLP7P.mjs +49 -0
- package/dist/chunk-ZHAJLP7P.mjs.map +1 -0
- package/dist/chunk-ZNWOAXMK.mjs +46 -0
- package/dist/chunk-ZNWOAXMK.mjs.map +1 -0
- package/dist/data/Condition.mjs +19 -35
- package/dist/data/Condition.mjs.map +1 -1
- package/dist/data/Database.mjs +15 -12
- package/dist/data/Database.mjs.map +1 -1
- package/dist/data/Field.mjs +28 -6
- package/dist/data/Field.mjs.map +1 -1
- package/dist/data/InMemoryGateway.mjs +26 -4
- package/dist/data/InMemoryGateway.mjs.map +1 -1
- package/dist/domain/Audit.mjs +18 -24
- package/dist/domain/Audit.mjs.map +1 -1
- package/dist/domain/Child.mjs +28 -5
- package/dist/domain/Child.mjs.map +1 -1
- package/dist/domain/Entity.mjs +32 -6
- package/dist/domain/Entity.mjs.map +1 -1
- package/dist/domain/Repo.mjs +28 -5
- package/dist/domain/Repo.mjs.map +1 -1
- package/dist/domain/Struct.mjs +15 -25
- package/dist/domain/Struct.mjs.map +1 -1
- package/dist/domain/Typo.mjs +21 -4
- package/dist/domain/Typo.mjs.map +1 -1
- package/dist/domain/enums/Country.mjs +14 -262
- package/dist/domain/enums/Country.mjs.map +1 -1
- package/dist/domain/enums/Currency.mjs +17 -131
- package/dist/domain/enums/Currency.mjs.map +1 -1
- package/dist/domain/enums/Environment.mjs +21 -7
- package/dist/domain/enums/Environment.mjs.map +1 -1
- package/dist/domain/enums/Locale.mjs +581 -566
- package/dist/domain/enums/Locale.mjs.map +1 -1
- package/dist/domain/enums/UnitOfMeasurement.mjs +14 -12
- package/dist/domain/enums/UnitOfMeasurement.mjs.map +1 -1
- package/dist/domain/enums/UnitOfWeight.mjs +14 -10
- package/dist/domain/enums/UnitOfWeight.mjs.map +1 -1
- package/dist/domain/structs/Address.mjs +34 -8
- package/dist/domain/structs/Address.mjs.map +1 -1
- package/dist/domain/structs/Box.mjs +26 -5
- package/dist/domain/structs/Box.mjs.map +1 -1
- package/dist/domain/structs/Dimension.mjs +18 -26
- package/dist/domain/structs/Dimension.mjs.map +1 -1
- package/dist/domain/structs/Money.mjs +19 -32
- package/dist/domain/structs/Money.mjs.map +1 -1
- package/dist/domain/structs/Name.mjs +25 -6
- package/dist/domain/structs/Name.mjs.map +1 -1
- package/dist/domain/structs/Weight.mjs +26 -6
- package/dist/domain/structs/Weight.mjs.map +1 -1
- package/dist/domain/values/DateTime.mjs +17 -88
- package/dist/domain/values/DateTime.mjs.map +1 -1
- package/dist/domain/values/EAN.mjs +21 -4
- package/dist/domain/values/EAN.mjs.map +1 -1
- package/dist/domain/values/Email.mjs +23 -5
- package/dist/domain/values/Email.mjs.map +1 -1
- package/dist/domain/values/IBAN.mjs +21 -4
- package/dist/domain/values/IBAN.mjs.map +1 -1
- package/dist/domain/values/PostalCode.mjs +16 -13
- package/dist/domain/values/PostalCode.mjs.map +1 -1
- package/dist/domain/values/Slug.mjs +21 -4
- package/dist/domain/values/Slug.mjs.map +1 -1
- package/dist/domain/values/Url.mjs +22 -5
- package/dist/domain/values/Url.mjs.map +1 -1
- package/dist/health/HealthResource.mjs +32 -4
- package/dist/health/HealthResource.mjs.map +1 -1
- package/dist/health/HealthUri.mjs +15 -5
- package/dist/health/HealthUri.mjs.map +1 -1
- package/dist/http/CacheControl.mjs +16 -28
- package/dist/http/CacheControl.mjs.map +1 -1
- package/dist/http/ContentType.mjs +14 -15
- package/dist/http/ContentType.mjs.map +1 -1
- package/dist/http/HttpHeader.mjs +3 -4
- package/dist/http/HttpHeader.mjs.map +1 -1
- package/dist/http/HttpStatus.mjs +16 -80
- package/dist/http/HttpStatus.mjs.map +1 -1
- package/dist/http/HttpVerb.mjs +14 -11
- package/dist/http/HttpVerb.mjs.map +1 -1
- package/dist/http/LocalRequestStore.mjs +17 -3
- package/dist/http/LocalRequestStore.mjs.map +1 -1
- package/dist/http/OriginatedError.mjs +9 -5
- package/dist/http/OriginatedError.mjs.map +1 -1
- package/dist/http/RequestOptions.mjs +19 -59
- package/dist/http/RequestOptions.mjs.map +1 -1
- package/dist/http/Response.mjs +16 -9
- package/dist/http/Response.mjs.map +1 -1
- package/dist/http/RestResult.mjs +16 -26
- package/dist/http/RestResult.mjs.map +1 -1
- package/dist/http/Verb.mjs +27 -19
- package/dist/http/Verb.mjs.map +1 -1
- package/dist/index.js +4790 -27
- package/dist/index.js.map +1 -1
- package/dist/process/App.mjs +19 -4
- package/dist/process/App.mjs.map +1 -1
- package/dist/process/Manage.mjs +19 -3
- package/dist/process/Manage.mjs.map +1 -1
- package/dist/process/Scope.mjs +14 -18
- package/dist/process/Scope.mjs.map +1 -1
- package/dist/process/Search.mjs +15 -34
- package/dist/process/Search.mjs.map +1 -1
- package/dist/process/UseCase.mjs +24 -4
- package/dist/process/UseCase.mjs.map +1 -1
- package/dist/resources/Req.mjs +20 -4
- package/dist/resources/Req.mjs.map +1 -1
- package/dist/resources/Requires.mjs +18 -4
- package/dist/resources/Requires.mjs.map +1 -1
- package/dist/resources/Route.mjs +15 -32
- package/dist/resources/Route.mjs.map +1 -1
- package/dist/resources/Service.mjs +19 -3
- package/dist/resources/Service.mjs.map +1 -1
- package/dist/security/Jwt.mjs +21 -5
- package/dist/security/Jwt.mjs.map +1 -1
- package/dist/services/Api.mjs +25 -63
- package/dist/services/Api.mjs.map +1 -1
- package/dist/services/ApiGateway.mjs +27 -29
- package/dist/services/ApiGateway.mjs.map +1 -1
- package/dist/services/AxiosProvider.mjs +22 -23
- package/dist/services/AxiosProvider.mjs.map +1 -1
- package/dist/services/MappedRouteGateway.mjs +40 -5
- package/dist/services/MappedRouteGateway.mjs.map +1 -1
- package/dist/services/RouteGateway.mjs +28 -42
- package/dist/services/RouteGateway.mjs.map +1 -1
- package/dist/services/ViewRouteGateway.mjs +39 -5
- package/dist/services/ViewRouteGateway.mjs.map +1 -1
- package/dist/sql/Clause.mjs +19 -22
- package/dist/sql/Clause.mjs.map +1 -1
- package/dist/sql/Column.mjs +19 -64
- package/dist/sql/Column.mjs.map +1 -1
- package/dist/sql/Count.mjs +16 -7
- package/dist/sql/Count.mjs.map +1 -1
- package/dist/sql/Delete.mjs +15 -7
- package/dist/sql/Delete.mjs.map +1 -1
- package/dist/sql/Insert.mjs +17 -12
- package/dist/sql/Insert.mjs.map +1 -1
- package/dist/sql/Join.mjs +3 -18
- package/dist/sql/Join.mjs.map +1 -1
- package/dist/sql/Select.mjs +15 -40
- package/dist/sql/Select.mjs.map +1 -1
- package/dist/sql/SqlQuery.mjs +14 -11
- package/dist/sql/SqlQuery.mjs.map +1 -1
- package/dist/sql/Table.mjs +53 -12
- package/dist/sql/Table.mjs.map +1 -1
- package/dist/sql/TableGateway.mjs +27 -5
- package/dist/sql/TableGateway.mjs.map +1 -1
- package/dist/sql/Update.mjs +17 -13
- package/dist/sql/Update.mjs.map +1 -1
- package/dist/types/Array.mjs +9 -22
- package/dist/types/Array.mjs.map +1 -1
- package/dist/types/Builder.mjs +21 -7
- package/dist/types/Builder.mjs.map +1 -1
- package/dist/types/Cache.mjs +17 -3
- package/dist/types/Cache.mjs.map +1 -1
- package/dist/types/CacheAge.mjs +15 -36
- package/dist/types/CacheAge.mjs.map +1 -1
- package/dist/types/Case.mjs +13 -87
- package/dist/types/Case.mjs.map +1 -1
- package/dist/types/Constructor.mjs +11 -12
- package/dist/types/Constructor.mjs.map +1 -1
- package/dist/types/Context.mjs +17 -81
- package/dist/types/Context.mjs.map +1 -1
- package/dist/types/Enum.mjs +14 -46
- package/dist/types/Enum.mjs.map +1 -1
- package/dist/types/Exception.mjs +15 -22
- package/dist/types/Exception.mjs.map +1 -1
- package/dist/types/Falsy.mjs +4 -2
- package/dist/types/Falsy.mjs.map +1 -1
- package/dist/types/Func.mjs +3 -1
- package/dist/types/Func.mjs.map +1 -1
- package/dist/types/Gateway.mjs +14 -34
- package/dist/types/Gateway.mjs.map +1 -1
- package/dist/types/Get.mjs +6 -4
- package/dist/types/Get.mjs.map +1 -1
- package/dist/types/Id.mjs +5 -2
- package/dist/types/Id.mjs.map +1 -1
- package/dist/types/Is.mjs +21 -21
- package/dist/types/Is.mjs.map +1 -1
- package/dist/types/IsA.mjs +6 -3
- package/dist/types/IsA.mjs.map +1 -1
- package/dist/types/IsDate.mjs +6 -12
- package/dist/types/IsDate.mjs.map +1 -1
- package/dist/types/IsEqual.mjs +14 -11
- package/dist/types/IsEqual.mjs.map +1 -1
- package/dist/types/Json.mjs +14 -31
- package/dist/types/Json.mjs.map +1 -1
- package/dist/types/List.mjs +18 -170
- package/dist/types/List.mjs.map +1 -1
- package/dist/types/Message.mjs +6 -2
- package/dist/types/Message.mjs.map +1 -1
- package/dist/types/Meta.mjs +14 -41
- package/dist/types/Meta.mjs.map +1 -1
- package/dist/types/Nullish.mjs +3 -1
- package/dist/types/Nullish.mjs.map +1 -1
- package/dist/types/Number.mjs +14 -5
- package/dist/types/Number.mjs.map +1 -1
- package/dist/types/PageList.mjs +19 -118
- package/dist/types/PageList.mjs.map +1 -1
- package/dist/types/Parser.mjs +30 -7
- package/dist/types/Parser.mjs.map +1 -1
- package/dist/types/Primitive.mjs +4 -4
- package/dist/types/Primitive.mjs.map +1 -1
- package/dist/types/Repository.mjs +14 -40
- package/dist/types/Repository.mjs.map +1 -1
- package/dist/types/Result.mjs +14 -8
- package/dist/types/Result.mjs.map +1 -1
- package/dist/types/Results.mjs +15 -19
- package/dist/types/Results.mjs.map +1 -1
- package/dist/types/Sort.mjs +4 -2
- package/dist/types/Sort.mjs.map +1 -1
- package/dist/types/Tag.mjs +17 -3
- package/dist/types/Tag.mjs.map +1 -1
- package/dist/types/Template.mjs +14 -35
- package/dist/types/Template.mjs.map +1 -1
- package/dist/types/Text.mjs +19 -97
- package/dist/types/Text.mjs.map +1 -1
- package/dist/types/Try.mjs +14 -107
- package/dist/types/Try.mjs.map +1 -1
- package/dist/types/Uri.mjs +16 -74
- package/dist/types/Uri.mjs.map +1 -1
- package/dist/types/Uuid.mjs +5 -5
- package/dist/types/Uuid.mjs.map +1 -1
- package/dist/types/Validatable.mjs +6 -2
- package/dist/types/Validatable.mjs.map +1 -1
- package/dist/types/Value.mjs +14 -17
- package/dist/types/Value.mjs.map +1 -1
- package/dist/utils/Base64.mjs +3 -1
- package/dist/utils/Base64.mjs.map +1 -1
- package/dist/utils/Convert.mjs +15 -39
- package/dist/utils/Convert.mjs.map +1 -1
- package/dist/utils/If.mjs +10 -13
- package/dist/utils/If.mjs.map +1 -1
- package/dist/utils/Loading.mjs +6 -2
- package/dist/utils/Loading.mjs.map +1 -1
- package/dist/utils/Log.mjs +2 -0
- package/dist/utils/Log.mjs.map +1 -1
- package/dist/utils/Mapper.mjs +19 -101
- package/dist/utils/Mapper.mjs.map +1 -1
- package/dist/utils/Promise.mjs +19 -16
- package/dist/utils/Promise.mjs.map +1 -1
- package/dist/utils/Property.mjs +15 -14
- package/dist/utils/Property.mjs.map +1 -1
- package/dist/utils/Sentence.mjs +28 -14
- package/dist/utils/Sentence.mjs.map +1 -1
- package/dist/utils/State.mjs +7 -8
- package/dist/utils/State.mjs.map +1 -1
- package/dist/utils/Traverse.mjs +3 -5
- package/dist/utils/Traverse.mjs.map +1 -1
- package/dist/utils/View.mjs +21 -64
- package/dist/utils/View.mjs.map +1 -1
- package/dist/utils/Wait.mjs +5 -3
- package/dist/utils/Wait.mjs.map +1 -1
- package/dist/validation/Contraints.mjs +32 -29
- package/dist/validation/Contraints.mjs.map +1 -1
- package/dist/validation/Validate.mjs +16 -28
- package/dist/validation/Validate.mjs.map +1 -1
- package/dist/validation/When.mjs +14 -38
- package/dist/validation/When.mjs.map +1 -1
- package/package.json +4 -3
- package/dist/data/Condition.js +0 -71
- package/dist/data/Condition.js.map +0 -1
- package/dist/data/DataProvider.js +0 -17
- package/dist/data/DataProvider.js.map +0 -1
- package/dist/data/Database.js +0 -42
- package/dist/data/Database.js.map +0 -1
- package/dist/data/Field.js +0 -48
- package/dist/data/Field.js.map +0 -1
- package/dist/data/InMemoryGateway.js +0 -59
- package/dist/data/InMemoryGateway.js.map +0 -1
- package/dist/data/Query.js +0 -17
- package/dist/data/Query.js.map +0 -1
- package/dist/data/QueryProvider.js +0 -17
- package/dist/data/QueryProvider.js.map +0 -1
- package/dist/data/index.js +0 -35
- package/dist/data/index.js.map +0 -1
- package/dist/domain/Audit.js +0 -59
- package/dist/domain/Audit.js.map +0 -1
- package/dist/domain/Child.js +0 -49
- package/dist/domain/Child.js.map +0 -1
- package/dist/domain/Entity.js +0 -62
- package/dist/domain/Entity.js.map +0 -1
- package/dist/domain/Repo.js +0 -81
- package/dist/domain/Repo.js.map +0 -1
- package/dist/domain/Struct.js +0 -55
- package/dist/domain/Struct.js.map +0 -1
- package/dist/domain/Typo.js +0 -62
- package/dist/domain/Typo.js.map +0 -1
- package/dist/domain/enums/Country.js +0 -290
- package/dist/domain/enums/Country.js.map +0 -1
- package/dist/domain/enums/Currency.js +0 -159
- package/dist/domain/enums/Currency.js.map +0 -1
- package/dist/domain/enums/Environment.js +0 -35
- package/dist/domain/enums/Environment.js.map +0 -1
- package/dist/domain/enums/Locale.js +0 -605
- package/dist/domain/enums/Locale.js.map +0 -1
- package/dist/domain/enums/UnitOfMeasurement.js +0 -40
- package/dist/domain/enums/UnitOfMeasurement.js.map +0 -1
- package/dist/domain/enums/UnitOfWeight.js +0 -38
- package/dist/domain/enums/UnitOfWeight.js.map +0 -1
- package/dist/domain/enums/index.js +0 -33
- package/dist/domain/enums/index.js.map +0 -1
- package/dist/domain/index.js +0 -39
- package/dist/domain/index.js.map +0 -1
- package/dist/domain/structs/Address.js +0 -73
- package/dist/domain/structs/Address.js.map +0 -1
- package/dist/domain/structs/Box.js +0 -70
- package/dist/domain/structs/Box.js.map +0 -1
- package/dist/domain/structs/Dimension.js +0 -61
- package/dist/domain/structs/Dimension.js.map +0 -1
- package/dist/domain/structs/Money.js +0 -71
- package/dist/domain/structs/Money.js.map +0 -1
- package/dist/domain/structs/Name.js +0 -57
- package/dist/domain/structs/Name.js.map +0 -1
- package/dist/domain/structs/Weight.js +0 -71
- package/dist/domain/structs/Weight.js.map +0 -1
- package/dist/domain/structs/index.js +0 -33
- package/dist/domain/structs/index.js.map +0 -1
- package/dist/domain/values/DateTime.js +0 -120
- package/dist/domain/values/DateTime.js.map +0 -1
- package/dist/domain/values/EAN.js +0 -50
- package/dist/domain/values/EAN.js.map +0 -1
- package/dist/domain/values/Email.js +0 -57
- package/dist/domain/values/Email.js.map +0 -1
- package/dist/domain/values/IBAN.js +0 -50
- package/dist/domain/values/IBAN.js.map +0 -1
- package/dist/domain/values/PostalCode.js +0 -53
- package/dist/domain/values/PostalCode.js.map +0 -1
- package/dist/domain/values/Slug.js +0 -41
- package/dist/domain/values/Slug.js.map +0 -1
- package/dist/domain/values/Url.js +0 -57
- package/dist/domain/values/Url.js.map +0 -1
- package/dist/domain/values/index.js +0 -35
- package/dist/domain/values/index.js.map +0 -1
- package/dist/health/HealthResource.js +0 -49
- package/dist/health/HealthResource.js.map +0 -1
- package/dist/health/HealthUri.js +0 -33
- package/dist/health/HealthUri.js.map +0 -1
- package/dist/health/index.js +0 -25
- package/dist/health/index.js.map +0 -1
- package/dist/http/CacheControl.js +0 -56
- package/dist/http/CacheControl.js.map +0 -1
- package/dist/http/ContentType.js +0 -53
- package/dist/http/ContentType.js.map +0 -1
- package/dist/http/HttpHeader.js +0 -32
- package/dist/http/HttpHeader.js.map +0 -1
- package/dist/http/HttpStatus.js +0 -112
- package/dist/http/HttpStatus.js.map +0 -1
- package/dist/http/HttpVerb.js +0 -39
- package/dist/http/HttpVerb.js.map +0 -1
- package/dist/http/LocalRequestStore.js +0 -36
- package/dist/http/LocalRequestStore.js.map +0 -1
- package/dist/http/OriginatedError.js +0 -44
- package/dist/http/OriginatedError.js.map +0 -1
- package/dist/http/Request.js +0 -17
- package/dist/http/Request.js.map +0 -1
- package/dist/http/RequestOptions.js +0 -91
- package/dist/http/RequestOptions.js.map +0 -1
- package/dist/http/RequestProvider.js +0 -17
- package/dist/http/RequestProvider.js.map +0 -1
- package/dist/http/Response.js +0 -39
- package/dist/http/Response.js.map +0 -1
- package/dist/http/RestResult.js +0 -56
- package/dist/http/RestResult.js.map +0 -1
- package/dist/http/Verb.js +0 -61
- package/dist/http/Verb.js.map +0 -1
- package/dist/http/index.js +0 -45
- package/dist/http/index.js.map +0 -1
- package/dist/process/App.js +0 -35
- package/dist/process/App.js.map +0 -1
- package/dist/process/Manage.js +0 -43
- package/dist/process/Manage.js.map +0 -1
- package/dist/process/Scope.js +0 -46
- package/dist/process/Scope.js.map +0 -1
- package/dist/process/Search.js +0 -62
- package/dist/process/Search.js.map +0 -1
- package/dist/process/UseCase.js +0 -50
- package/dist/process/UseCase.js.map +0 -1
- package/dist/process/index.js +0 -31
- package/dist/process/index.js.map +0 -1
- package/dist/resources/AppProvider.js +0 -17
- package/dist/resources/AppProvider.js.map +0 -1
- package/dist/resources/Req.js +0 -54
- package/dist/resources/Req.js.map +0 -1
- package/dist/resources/Requires.js +0 -48
- package/dist/resources/Requires.js.map +0 -1
- package/dist/resources/Resource.js +0 -17
- package/dist/resources/Resource.js.map +0 -1
- package/dist/resources/Route.js +0 -62
- package/dist/resources/Route.js.map +0 -1
- package/dist/resources/Service.js +0 -49
- package/dist/resources/Service.js.map +0 -1
- package/dist/resources/index.js +0 -35
- package/dist/resources/index.js.map +0 -1
- package/dist/security/Jwt.js +0 -48
- package/dist/security/Jwt.js.map +0 -1
- package/dist/security/index.js +0 -23
- package/dist/security/index.js.map +0 -1
- package/dist/services/Api.js +0 -93
- package/dist/services/Api.js.map +0 -1
- package/dist/services/ApiGateway.js +0 -57
- package/dist/services/ApiGateway.js.map +0 -1
- package/dist/services/AxiosProvider.js +0 -61
- package/dist/services/AxiosProvider.js.map +0 -1
- package/dist/services/MappedRouteGateway.js +0 -52
- package/dist/services/MappedRouteGateway.js.map +0 -1
- package/dist/services/RouteGateway.js +0 -70
- package/dist/services/RouteGateway.js.map +0 -1
- package/dist/services/ViewRouteGateway.js +0 -55
- package/dist/services/ViewRouteGateway.js.map +0 -1
- package/dist/services/index.js +0 -33
- package/dist/services/index.js.map +0 -1
- package/dist/sql/Clause.js +0 -58
- package/dist/sql/Clause.js.map +0 -1
- package/dist/sql/Column.js +0 -96
- package/dist/sql/Column.js.map +0 -1
- package/dist/sql/Count.js +0 -35
- package/dist/sql/Count.js.map +0 -1
- package/dist/sql/Delete.js +0 -35
- package/dist/sql/Delete.js.map +0 -1
- package/dist/sql/Insert.js +0 -40
- package/dist/sql/Insert.js.map +0 -1
- package/dist/sql/Join.js +0 -46
- package/dist/sql/Join.js.map +0 -1
- package/dist/sql/Select.js +0 -68
- package/dist/sql/Select.js.map +0 -1
- package/dist/sql/SqlQuery.js +0 -39
- package/dist/sql/SqlQuery.js.map +0 -1
- package/dist/sql/Table.js +0 -63
- package/dist/sql/Table.js.map +0 -1
- package/dist/sql/TableGateway.js +0 -62
- package/dist/sql/TableGateway.js.map +0 -1
- package/dist/sql/Update.js +0 -41
- package/dist/sql/Update.js.map +0 -1
- package/dist/sql/index.js +0 -41
- package/dist/sql/index.js.map +0 -1
- package/dist/types/Array.js +0 -54
- package/dist/types/Array.js.map +0 -1
- package/dist/types/Builder.js +0 -43
- package/dist/types/Builder.js.map +0 -1
- package/dist/types/Cache.js +0 -38
- package/dist/types/Cache.js.map +0 -1
- package/dist/types/CacheAge.js +0 -64
- package/dist/types/CacheAge.js.map +0 -1
- package/dist/types/Case.js +0 -115
- package/dist/types/Case.js.map +0 -1
- package/dist/types/Constructor.js +0 -50
- package/dist/types/Constructor.js.map +0 -1
- package/dist/types/Context.js +0 -117
- package/dist/types/Context.js.map +0 -1
- package/dist/types/Enum.js +0 -76
- package/dist/types/Enum.js.map +0 -1
- package/dist/types/ErrorOrigin.js +0 -17
- package/dist/types/ErrorOrigin.js.map +0 -1
- package/dist/types/Exception.js +0 -54
- package/dist/types/Exception.js.map +0 -1
- package/dist/types/Falsy.js +0 -32
- package/dist/types/Falsy.js.map +0 -1
- package/dist/types/Func.js +0 -29
- package/dist/types/Func.js.map +0 -1
- package/dist/types/Gateway.js +0 -62
- package/dist/types/Gateway.js.map +0 -1
- package/dist/types/Get.js +0 -36
- package/dist/types/Get.js.map +0 -1
- package/dist/types/Id.js +0 -30
- package/dist/types/Id.js.map +0 -1
- package/dist/types/Identity.js +0 -17
- package/dist/types/Identity.js.map +0 -1
- package/dist/types/Is.js +0 -85
- package/dist/types/Is.js.map +0 -1
- package/dist/types/IsA.js +0 -33
- package/dist/types/IsA.js.map +0 -1
- package/dist/types/IsDate.js +0 -46
- package/dist/types/IsDate.js.map +0 -1
- package/dist/types/IsEqual.js +0 -39
- package/dist/types/IsEqual.js.map +0 -1
- package/dist/types/Json.js +0 -67
- package/dist/types/Json.js.map +0 -1
- package/dist/types/List.js +0 -208
- package/dist/types/List.js.map +0 -1
- package/dist/types/Message.js +0 -30
- package/dist/types/Message.js.map +0 -1
- package/dist/types/Meta.js +0 -71
- package/dist/types/Meta.js.map +0 -1
- package/dist/types/Nullish.js +0 -29
- package/dist/types/Nullish.js.map +0 -1
- package/dist/types/Number.js +0 -33
- package/dist/types/Number.js.map +0 -1
- package/dist/types/PageList.js.map +0 -1
- package/dist/types/Parser.js +0 -69
- package/dist/types/Parser.js.map +0 -1
- package/dist/types/Primitive.js +0 -32
- package/dist/types/Primitive.js.map +0 -1
- package/dist/types/Repository.js +0 -68
- package/dist/types/Repository.js.map +0 -1
- package/dist/types/Result.js +0 -38
- package/dist/types/Result.js.map +0 -1
- package/dist/types/Results.js +0 -51
- package/dist/types/Results.js.map +0 -1
- package/dist/types/Sort.js +0 -32
- package/dist/types/Sort.js.map +0 -1
- package/dist/types/Tag.js +0 -35
- package/dist/types/Tag.js.map +0 -1
- package/dist/types/Template.js +0 -65
- package/dist/types/Template.js.map +0 -1
- package/dist/types/Text.js +0 -137
- package/dist/types/Text.js.map +0 -1
- package/dist/types/Try.js +0 -137
- package/dist/types/Try.js.map +0 -1
- package/dist/types/TypeGuard.js +0 -17
- package/dist/types/TypeGuard.js.map +0 -1
- package/dist/types/Types.js +0 -17
- package/dist/types/Types.js.map +0 -1
- package/dist/types/Uri.js +0 -106
- package/dist/types/Uri.js.map +0 -1
- package/dist/types/Uuid.js +0 -35
- package/dist/types/Uuid.js.map +0 -1
- package/dist/types/Validatable.js +0 -30
- package/dist/types/Validatable.js.map +0 -1
- package/dist/types/Value.js +0 -47
- package/dist/types/Value.js.map +0 -1
- package/dist/types/index.js +0 -107
- package/dist/types/index.js.map +0 -1
- package/dist/utils/Base64.js +0 -33
- package/dist/utils/Base64.js.map +0 -1
- package/dist/utils/Convert.js +0 -69
- package/dist/utils/Convert.js.map +0 -1
- package/dist/utils/If.js +0 -47
- package/dist/utils/If.js.map +0 -1
- package/dist/utils/Loading.js +0 -30
- package/dist/utils/Loading.js.map +0 -1
- package/dist/utils/Log.js +0 -43
- package/dist/utils/Log.js.map +0 -1
- package/dist/utils/Mapper.js +0 -133
- package/dist/utils/Mapper.js.map +0 -1
- package/dist/utils/Promise.js +0 -56
- package/dist/utils/Promise.js.map +0 -1
- package/dist/utils/Property.js +0 -42
- package/dist/utils/Property.js.map +0 -1
- package/dist/utils/Sentence.js +0 -80
- package/dist/utils/Sentence.js.map +0 -1
- package/dist/utils/State.js +0 -36
- package/dist/utils/State.js.map +0 -1
- package/dist/utils/Traverse.js +0 -33
- package/dist/utils/Traverse.js.map +0 -1
- package/dist/utils/View.js +0 -86
- package/dist/utils/View.js.map +0 -1
- package/dist/utils/Wait.js +0 -39
- package/dist/utils/Wait.js.map +0 -1
- package/dist/utils/index.js +0 -47
- package/dist/utils/index.js.map +0 -1
- package/dist/validation/Contraints.js +0 -91
- package/dist/validation/Contraints.js.map +0 -1
- package/dist/validation/Validate.js +0 -46
- package/dist/validation/Validate.js.map +0 -1
- package/dist/validation/When.js +0 -68
- package/dist/validation/When.js.map +0 -1
- package/dist/validation/index.js +0 -27
- package/dist/validation/index.js.map +0 -1
package/dist/domain/Entity.mjs
CHANGED
|
@@ -1,11 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Audit
|
|
3
|
+
} from "../chunk-CLKUH5JA.mjs";
|
|
4
|
+
import "../chunk-74AOBBOZ.mjs";
|
|
5
|
+
import {
|
|
6
|
+
toId
|
|
7
|
+
} from "../chunk-MDLVDMKY.mjs";
|
|
8
|
+
import "../chunk-AKYA7FHU.mjs";
|
|
9
|
+
import {
|
|
10
|
+
required
|
|
11
|
+
} from "../chunk-EZC3HAYN.mjs";
|
|
12
|
+
import "../chunk-ADJAEGCT.mjs";
|
|
13
|
+
import {
|
|
14
|
+
Struct
|
|
15
|
+
} from "../chunk-QOGUHAMC.mjs";
|
|
16
|
+
import "../chunk-YTWFWQNB.mjs";
|
|
17
|
+
import "../chunk-CMRS457E.mjs";
|
|
18
|
+
import {
|
|
19
|
+
json
|
|
20
|
+
} from "../chunk-5AF55QCJ.mjs";
|
|
21
|
+
import "../chunk-JXJ5LRH3.mjs";
|
|
22
|
+
import "../chunk-4QX4EMLL.mjs";
|
|
23
|
+
import "../chunk-SJGQU3OG.mjs";
|
|
24
|
+
import "../chunk-FAAERRP2.mjs";
|
|
25
|
+
import "../chunk-GI5TZOAG.mjs";
|
|
26
|
+
import "../chunk-PSIJUWZT.mjs";
|
|
27
|
+
import "../chunk-PIRWVOO2.mjs";
|
|
28
|
+
import "../chunk-OXBQSJDF.mjs";
|
|
1
29
|
import {
|
|
2
30
|
__decorateClass
|
|
3
31
|
} from "../chunk-4N72FQFX.mjs";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { Audit } from "./Audit";
|
|
8
|
-
class Entity extends Struct {
|
|
32
|
+
|
|
33
|
+
// src/domain/Entity.ts
|
|
34
|
+
var Entity = class extends Struct {
|
|
9
35
|
id = this.state.id ?? toId();
|
|
10
36
|
created = new Audit(this.state.created);
|
|
11
37
|
lastModified = new Audit(this.state.lastModified);
|
|
@@ -16,7 +42,7 @@ class Entity extends Struct {
|
|
|
16
42
|
lastModified: new Audit()
|
|
17
43
|
});
|
|
18
44
|
}
|
|
19
|
-
}
|
|
45
|
+
};
|
|
20
46
|
__decorateClass([
|
|
21
47
|
required()
|
|
22
48
|
], Entity.prototype, "id", 2);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/domain/Entity.ts"],"sourcesContent":["import { Struct } from './Struct';\nimport { Id, json, Json, toId } from '../types';\nimport { required } from '../validation';\nimport { Audit } from './Audit';\n\nexport abstract class Entity extends Struct {\n @required() readonly id: Id = this.state.id ?? toId();\n @required() readonly created: Audit = new Audit(this.state.created);\n @required() readonly lastModified: Audit = new Audit(this.state.lastModified);\n\n protected merge(a: unknown): Json {\n return json.merge(this, a, {\n id: this.id,\n created: this.created,\n lastModified: new Audit(),\n });\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/domain/Entity.ts"],"sourcesContent":["import { Struct } from './Struct';\nimport { Id, json, Json, toId } from '../types';\nimport { required } from '../validation';\nimport { Audit } from './Audit';\n\nexport abstract class Entity extends Struct {\n @required() readonly id: Id = this.state.id ?? toId();\n @required() readonly created: Audit = new Audit(this.state.created);\n @required() readonly lastModified: Audit = new Audit(this.state.lastModified);\n\n protected merge(a: unknown): Json {\n return json.merge(this, a, {\n id: this.id,\n created: this.created,\n lastModified: new Audit(),\n });\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKO,IAAe,SAAf,cAA8B,OAAO;AAAA,EACrB,KAAS,KAAK,MAAM,MAAM,KAAK;AAAA,EAC/B,UAAiB,IAAI,MAAM,KAAK,MAAM,OAAO;AAAA,EAC7C,eAAsB,IAAI,MAAM,KAAK,MAAM,YAAY;AAAA,EAElE,MAAM,GAAkB;AAChC,WAAO,KAAK,MAAM,MAAM,GAAG;AAAA,MACzB,IAAI,KAAK;AAAA,MACT,SAAS,KAAK;AAAA,MACd,cAAc,IAAI,MAAM;AAAA,IAC1B,CAAC;AAAA,EACH;AACF;AAXuB;AAAA,EAApB,SAAS;AAAA,GADU,OACC;AACA;AAAA,EAApB,SAAS;AAAA,GAFU,OAEC;AACA;AAAA,EAApB,SAAS;AAAA,GAHU,OAGC;","names":[]}
|
package/dist/domain/Repo.mjs
CHANGED
|
@@ -1,8 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Repository
|
|
3
|
+
} from "../chunk-ZHAJLP7P.mjs";
|
|
4
|
+
import {
|
|
5
|
+
Exception,
|
|
6
|
+
asList,
|
|
7
|
+
reject,
|
|
8
|
+
resolve,
|
|
9
|
+
when
|
|
10
|
+
} from "../chunk-YTWFWQNB.mjs";
|
|
11
|
+
import {
|
|
12
|
+
isValidatable
|
|
13
|
+
} from "../chunk-CMRS457E.mjs";
|
|
14
|
+
import {
|
|
15
|
+
toJson
|
|
16
|
+
} from "../chunk-5AF55QCJ.mjs";
|
|
17
|
+
import "../chunk-JXJ5LRH3.mjs";
|
|
18
|
+
import "../chunk-4QX4EMLL.mjs";
|
|
19
|
+
import "../chunk-SJGQU3OG.mjs";
|
|
20
|
+
import "../chunk-FAAERRP2.mjs";
|
|
21
|
+
import "../chunk-GI5TZOAG.mjs";
|
|
22
|
+
import "../chunk-PSIJUWZT.mjs";
|
|
23
|
+
import "../chunk-PIRWVOO2.mjs";
|
|
24
|
+
import "../chunk-OXBQSJDF.mjs";
|
|
1
25
|
import "../chunk-4N72FQFX.mjs";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Repo extends Repository {
|
|
26
|
+
|
|
27
|
+
// src/domain/Repo.ts
|
|
28
|
+
var Repo = class extends Repository {
|
|
6
29
|
constructor(ctor, gateway) {
|
|
7
30
|
super();
|
|
8
31
|
this.ctor = ctor;
|
|
@@ -51,7 +74,7 @@ class Repo extends Repository {
|
|
|
51
74
|
upsert(id, item) {
|
|
52
75
|
return this.update(id, item).catch((e) => Exception.DoesNotExist.equals(e) ? this.add(item) : reject(e));
|
|
53
76
|
}
|
|
54
|
-
}
|
|
77
|
+
};
|
|
55
78
|
export {
|
|
56
79
|
Repo
|
|
57
80
|
};
|
package/dist/domain/Repo.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/domain/Repo.ts"],"sourcesContent":["import { asList, Constructor, Exception, FetchOptions, Gateway, Id, isValidatable, Json, JsonValue, Key, List, PageList, Repository, toJson } from '../types';\nimport { when } from '../validation';\nimport { reject, resolve } from '../utils';\nimport { Struct } from './Struct';\n\nexport type RepoAction = 'add' | 'update' | 'remove';\n\nexport class Repo<T extends Struct, Options = FetchOptions> extends Repository<T, Options> {\n constructor(protected ctor: Constructor<T>, private readonly gateway: Gateway<Options>) {\n super();\n }\n\n create = (item: T | Json): T => (isValidatable(item) ? item : new this.ctor(item));\n\n all(options?: Options): Promise<PageList<T>> {\n return this.gateway.all(options).then(js => js.map(i => new this.ctor(i)));\n }\n\n byId(id: Id): Promise<T> {\n return this.gateway\n .byId(id)\n .then(j => when(j).not.isDefined.reject(Exception.DoesNotExist))\n .then(j => new this.ctor(j));\n }\n\n byIds(...ids: Id[]): Promise<List<T>> {\n return this.gateway.byIds(...ids).then(j => asList(this.ctor, j));\n }\n\n byKey(key: Key, options?: Options): Promise<PageList<T>> {\n return this.gateway.by('key', key, options).then(js => js.map(i => new this.ctor(i)));\n }\n\n by(key: keyof T, value: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.by(key.toString(), value, options).then(js => js.map(i => new this.ctor(i)));\n }\n\n search(q: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.search(q, options).then(js => js.map(i => new this.ctor(i)));\n }\n\n filter(options?: Options): Promise<PageList<T>> {\n return this.gateway.filter(options).then(js => js.map(i => new this.ctor(i)));\n }\n\n exists(id: Id): Promise<boolean> {\n return this.gateway.exists(id);\n }\n\n add(t: T | Json): Promise<T> {\n return this.extend(this.create(t), 'add')\n .then(i => when(i).not.isValid.reject())\n .then(i => this.validate(i, 'add'))\n .then(i => this.gateway.add(toJson(i)))\n .then(j => new this.ctor(j));\n }\n\n update(id: Id, json: Json): Promise<T> {\n return this.gateway\n .byId(id)\n .then(j => when(j).not.isDefined.reject(Exception.DoesNotExist))\n .then(j => new this.ctor(j).update(json) as T)\n .then(i => this.extend(i, 'update'))\n .then(i => when(i).not.isValid.reject())\n .then(i => this.validate(i, 'update'))\n .then(i => this.gateway.update(toJson(i)))\n .then(j => new this.ctor(j));\n }\n\n remove(id: Id): Promise<boolean> {\n return this.gateway.remove(id);\n }\n\n extend(item: T, _action?: RepoAction): Promise<T> {\n return resolve(item);\n }\n\n validate(item: T, _action?: RepoAction): Promise<T> {\n return resolve(item);\n }\n\n upsert(id: Id, item: Json): Promise<T> {\n return this.update(id, item).catch(e => (Exception.DoesNotExist.equals(e) ? this.add(item) : reject(e)));\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/domain/Repo.ts"],"sourcesContent":["import { asList, Constructor, Exception, FetchOptions, Gateway, Id, isValidatable, Json, JsonValue, Key, List, PageList, Repository, toJson } from '../types';\nimport { when } from '../validation';\nimport { reject, resolve } from '../utils';\nimport { Struct } from './Struct';\n\nexport type RepoAction = 'add' | 'update' | 'remove';\n\nexport class Repo<T extends Struct, Options = FetchOptions> extends Repository<T, Options> {\n constructor(protected ctor: Constructor<T>, private readonly gateway: Gateway<Options>) {\n super();\n }\n\n create = (item: T | Json): T => (isValidatable(item) ? item : new this.ctor(item));\n\n all(options?: Options): Promise<PageList<T>> {\n return this.gateway.all(options).then(js => js.map(i => new this.ctor(i)));\n }\n\n byId(id: Id): Promise<T> {\n return this.gateway\n .byId(id)\n .then(j => when(j).not.isDefined.reject(Exception.DoesNotExist))\n .then(j => new this.ctor(j));\n }\n\n byIds(...ids: Id[]): Promise<List<T>> {\n return this.gateway.byIds(...ids).then(j => asList(this.ctor, j));\n }\n\n byKey(key: Key, options?: Options): Promise<PageList<T>> {\n return this.gateway.by('key', key, options).then(js => js.map(i => new this.ctor(i)));\n }\n\n by(key: keyof T, value: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.by(key.toString(), value, options).then(js => js.map(i => new this.ctor(i)));\n }\n\n search(q: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.search(q, options).then(js => js.map(i => new this.ctor(i)));\n }\n\n filter(options?: Options): Promise<PageList<T>> {\n return this.gateway.filter(options).then(js => js.map(i => new this.ctor(i)));\n }\n\n exists(id: Id): Promise<boolean> {\n return this.gateway.exists(id);\n }\n\n add(t: T | Json): Promise<T> {\n return this.extend(this.create(t), 'add')\n .then(i => when(i).not.isValid.reject())\n .then(i => this.validate(i, 'add'))\n .then(i => this.gateway.add(toJson(i)))\n .then(j => new this.ctor(j));\n }\n\n update(id: Id, json: Json): Promise<T> {\n return this.gateway\n .byId(id)\n .then(j => when(j).not.isDefined.reject(Exception.DoesNotExist))\n .then(j => new this.ctor(j).update(json) as T)\n .then(i => this.extend(i, 'update'))\n .then(i => when(i).not.isValid.reject())\n .then(i => this.validate(i, 'update'))\n .then(i => this.gateway.update(toJson(i)))\n .then(j => new this.ctor(j));\n }\n\n remove(id: Id): Promise<boolean> {\n return this.gateway.remove(id);\n }\n\n extend(item: T, _action?: RepoAction): Promise<T> {\n return resolve(item);\n }\n\n validate(item: T, _action?: RepoAction): Promise<T> {\n return resolve(item);\n }\n\n upsert(id: Id, item: Json): Promise<T> {\n return this.update(id, item).catch(e => (Exception.DoesNotExist.equals(e) ? this.add(item) : reject(e)));\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAOO,IAAM,OAAN,cAA6D,WAAuB;AAAA,EACzF,YAAsB,MAAuC,SAA2B;AACtF,UAAM;AADc;AAAuC;AAAA,EAE7D;AAAA,EAEA,SAAS,CAAC,SAAuB,cAAc,IAAI,IAAI,OAAO,IAAI,KAAK,KAAK,IAAI;AAAA,EAEhF,IAAI,SAAyC;AAC3C,WAAO,KAAK,QAAQ,IAAI,OAAO,EAAE,KAAK,QAAM,GAAG,IAAI,OAAK,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC;AAAA,EAC3E;AAAA,EAEA,KAAK,IAAoB;AACvB,WAAO,KAAK,QACT,KAAK,EAAE,EACP,KAAK,OAAK,KAAK,CAAC,EAAE,IAAI,UAAU,OAAO,UAAU,YAAY,CAAC,EAC9D,KAAK,OAAK,IAAI,KAAK,KAAK,CAAC,CAAC;AAAA,EAC/B;AAAA,EAEA,SAAS,KAA6B;AACpC,WAAO,KAAK,QAAQ,MAAM,GAAG,GAAG,EAAE,KAAK,OAAK,OAAO,KAAK,MAAM,CAAC,CAAC;AAAA,EAClE;AAAA,EAEA,MAAM,KAAU,SAAyC;AACvD,WAAO,KAAK,QAAQ,GAAG,OAAO,KAAK,OAAO,EAAE,KAAK,QAAM,GAAG,IAAI,OAAK,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC;AAAA,EACtF;AAAA,EAEA,GAAG,KAAc,OAAkB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,OAAK,KAAK,QAAQ,OAAO,OAAO,CAAC,CAAC,CAAC,EACxC,KAAK,OAAK,IAAI,KAAK,KAAK,CAAC,CAAC;AAAA,EAC/B;AAAA,EAEA,OAAO,IAA0B;AAC/B,WAAO,KAAK,QAAQ,OAAO,EAAE;AAAA,EAC/B;AAAA,EAEA,OAAO,MAAS,SAAkC;AAChD,WAAO,QAAQ,IAAI;AAAA,EACrB;AAAA,EAEA,SAAS,MAAS,SAAkC;AAClD,WAAO,QAAQ,IAAI;AAAA,EACrB;AAAA,EAEA,OAAO,IAAQ,MAAwB;AACrC,WAAO,KAAK,OAAO,IAAI,IAAI,EAAE,MAAM,OAAM,UAAU,aAAa,OAAO,CAAC,IAAI,KAAK,IAAI,IAAI,IAAI,OAAO,CAAC,CAAE;AAAA,EACzG;AACF;","names":[]}
|
package/dist/domain/Struct.mjs
CHANGED
|
@@ -1,29 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Struct,
|
|
3
|
+
isStruct
|
|
4
|
+
} from "../chunk-QOGUHAMC.mjs";
|
|
5
|
+
import "../chunk-YTWFWQNB.mjs";
|
|
6
|
+
import "../chunk-CMRS457E.mjs";
|
|
7
|
+
import "../chunk-5AF55QCJ.mjs";
|
|
8
|
+
import "../chunk-JXJ5LRH3.mjs";
|
|
9
|
+
import "../chunk-4QX4EMLL.mjs";
|
|
10
|
+
import "../chunk-SJGQU3OG.mjs";
|
|
11
|
+
import "../chunk-FAAERRP2.mjs";
|
|
12
|
+
import "../chunk-GI5TZOAG.mjs";
|
|
13
|
+
import "../chunk-PSIJUWZT.mjs";
|
|
14
|
+
import "../chunk-PIRWVOO2.mjs";
|
|
15
|
+
import "../chunk-OXBQSJDF.mjs";
|
|
1
16
|
import "../chunk-4N72FQFX.mjs";
|
|
2
|
-
import { isDefined, json } from "../types";
|
|
3
|
-
import { validate } from "../validation";
|
|
4
|
-
class Struct {
|
|
5
|
-
constructor(state = {}) {
|
|
6
|
-
this.state = state;
|
|
7
|
-
}
|
|
8
|
-
get isValid() {
|
|
9
|
-
return validate(this).isValid;
|
|
10
|
-
}
|
|
11
|
-
toJSON() {
|
|
12
|
-
return json.delete(json.parse({ ...this }), "state");
|
|
13
|
-
}
|
|
14
|
-
toString() {
|
|
15
|
-
return this.constructor.name;
|
|
16
|
-
}
|
|
17
|
-
update(_add) {
|
|
18
|
-
return this;
|
|
19
|
-
}
|
|
20
|
-
merge(a) {
|
|
21
|
-
return json.merge(this, a);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
function isStruct(s) {
|
|
25
|
-
return isDefined(s) && s instanceof Struct;
|
|
26
|
-
}
|
|
27
17
|
export {
|
|
28
18
|
Struct,
|
|
29
19
|
isStruct
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/domain/Typo.mjs
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Repository
|
|
3
|
+
} from "../chunk-ZHAJLP7P.mjs";
|
|
4
|
+
import {
|
|
5
|
+
Exception,
|
|
6
|
+
when
|
|
7
|
+
} from "../chunk-YTWFWQNB.mjs";
|
|
8
|
+
import "../chunk-CMRS457E.mjs";
|
|
9
|
+
import "../chunk-5AF55QCJ.mjs";
|
|
10
|
+
import "../chunk-JXJ5LRH3.mjs";
|
|
11
|
+
import "../chunk-4QX4EMLL.mjs";
|
|
12
|
+
import "../chunk-SJGQU3OG.mjs";
|
|
13
|
+
import "../chunk-FAAERRP2.mjs";
|
|
14
|
+
import "../chunk-GI5TZOAG.mjs";
|
|
15
|
+
import "../chunk-PSIJUWZT.mjs";
|
|
16
|
+
import "../chunk-PIRWVOO2.mjs";
|
|
17
|
+
import "../chunk-OXBQSJDF.mjs";
|
|
1
18
|
import "../chunk-4N72FQFX.mjs";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
19
|
+
|
|
20
|
+
// src/domain/Typo.ts
|
|
21
|
+
var Typo = class extends Repository {
|
|
5
22
|
constructor(view, gateway) {
|
|
6
23
|
super();
|
|
7
24
|
this.view = view;
|
|
@@ -32,7 +49,7 @@ class Typo extends Repository {
|
|
|
32
49
|
exists(id) {
|
|
33
50
|
return this.gateway.exists(id);
|
|
34
51
|
}
|
|
35
|
-
}
|
|
52
|
+
};
|
|
36
53
|
export {
|
|
37
54
|
Typo
|
|
38
55
|
};
|
package/dist/domain/Typo.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/domain/Typo.ts"],"sourcesContent":["import { Exception, FetchOptions, Gateway, Id, Json, JsonValue, Key, List, PageList, Repository } from '../types';\nimport { when } from '../validation';\nimport { View } from '../utils';\n\nexport class Typo<T, Options = FetchOptions> extends Repository<T, Options> {\n constructor(protected view: View<T>, private readonly gateway: Gateway<Options>) {\n super();\n }\n\n create = (j: Json): T => this.view.from(j);\n\n all(options?: Options): Promise<PageList<T>> {\n return this.gateway.all(options).then(js => js.map(this.create));\n }\n\n byId(id: Id): Promise<T> {\n return this.gateway\n .byId(id)\n .then(j => when(j).not.isDefined.reject(Exception.DoesNotExist))\n .then(j => this.create(j));\n }\n\n byIds(...ids: Id[]): Promise<List<T>> {\n return this.gateway.byIds(...ids).then(js => js.map(this.create));\n }\n\n byKey(key: Key, options?: Options): Promise<PageList<T>> {\n return this.gateway.by('key', key, options).then(js => js.map(this.create));\n }\n\n by(key: keyof T, value: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.by(key.toString(), value, options).then(js => js.map(this.create));\n }\n\n search(q: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.search(q, options).then(js => js.map(this.create));\n }\n\n filter(options?: Options): Promise<PageList<T>> {\n return this.gateway.filter(options).then(js => js.map(j => this.create(j)));\n }\n\n exists(id: Id): Promise<boolean> {\n return this.gateway.exists(id);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/domain/Typo.ts"],"sourcesContent":["import { Exception, FetchOptions, Gateway, Id, Json, JsonValue, Key, List, PageList, Repository } from '../types';\nimport { when } from '../validation';\nimport { View } from '../utils';\n\nexport class Typo<T, Options = FetchOptions> extends Repository<T, Options> {\n constructor(protected view: View<T>, private readonly gateway: Gateway<Options>) {\n super();\n }\n\n create = (j: Json): T => this.view.from(j);\n\n all(options?: Options): Promise<PageList<T>> {\n return this.gateway.all(options).then(js => js.map(this.create));\n }\n\n byId(id: Id): Promise<T> {\n return this.gateway\n .byId(id)\n .then(j => when(j).not.isDefined.reject(Exception.DoesNotExist))\n .then(j => this.create(j));\n }\n\n byIds(...ids: Id[]): Promise<List<T>> {\n return this.gateway.byIds(...ids).then(js => js.map(this.create));\n }\n\n byKey(key: Key, options?: Options): Promise<PageList<T>> {\n return this.gateway.by('key', key, options).then(js => js.map(this.create));\n }\n\n by(key: keyof T, value: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.by(key.toString(), value, options).then(js => js.map(this.create));\n }\n\n search(q: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.search(q, options).then(js => js.map(this.create));\n }\n\n filter(options?: Options): Promise<PageList<T>> {\n return this.gateway.filter(options).then(js => js.map(j => this.create(j)));\n }\n\n exists(id: Id): Promise<boolean> {\n return this.gateway.exists(id);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAIO,IAAM,OAAN,cAA8C,WAAuB;AAAA,EAC1E,YAAsB,MAAgC,SAA2B;AAC/E,UAAM;AADc;AAAgC;AAAA,EAEtD;AAAA,EAEA,SAAS,CAAC,MAAe,KAAK,KAAK,KAAK,CAAC;AAAA,EAEzC,IAAI,SAAyC;AAC3C,WAAO,KAAK,QAAQ,IAAI,OAAO,EAAE,KAAK,QAAM,GAAG,IAAI,KAAK,MAAM,CAAC;AAAA,EACjE;AAAA,EAEA,KAAK,IAAoB;AACvB,WAAO,KAAK,QACT,KAAK,EAAE,EACP,KAAK,OAAK,KAAK,CAAC,EAAE,IAAI,UAAU,OAAO,UAAU,YAAY,CAAC,EAC9D,KAAK,OAAK,KAAK,OAAO,CAAC,CAAC;AAAA,EAC7B;AAAA,EAEA,SAAS,KAA6B;AACpC,WAAO,KAAK,QAAQ,MAAM,GAAG,GAAG,EAAE,KAAK,QAAM,GAAG,IAAI,KAAK,MAAM,CAAC;AAAA,EAClE;AAAA,EAEA,MAAM,KAAU,SAAyC;AACvD,WAAO,KAAK,QAAQ,GAAG,OAAO,KAAK,OAAO,EAAE,KAAK,QAAM,GAAG,IAAI,KAAK,MAAM,CAAC;AAAA,EAC5E;AAAA,EAEA,GAAG,KAAc,OAAkB,SAAyC;AAC1E,WAAO,KAAK,QAAQ,GAAG,IAAI,SAAS,GAAG,OAAO,OAAO,EAAE,KAAK,QAAM,GAAG,IAAI,KAAK,MAAM,CAAC;AAAA,EACvF;AAAA,EAEA,OAAO,GAAc,SAAyC;AAC5D,WAAO,KAAK,QAAQ,OAAO,GAAG,OAAO,EAAE,KAAK,QAAM,GAAG,IAAI,KAAK,MAAM,CAAC;AAAA,EACvE;AAAA,EAEA,OAAO,SAAyC;AAC9C,WAAO,KAAK,QAAQ,OAAO,OAAO,EAAE,KAAK,QAAM,GAAG,IAAI,OAAK,KAAK,OAAO,CAAC,CAAC,CAAC;AAAA,EAC5E;AAAA,EAEA,OAAO,IAA0B;AAC/B,WAAO,KAAK,QAAQ,OAAO,EAAE;AAAA,EAC/B;AACF;","names":[]}
|
|
@@ -1,266 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Country
|
|
3
|
+
} from "../../chunk-6NOTDYUE.mjs";
|
|
4
|
+
import "../../chunk-YTWFWQNB.mjs";
|
|
5
|
+
import "../../chunk-CMRS457E.mjs";
|
|
6
|
+
import "../../chunk-5AF55QCJ.mjs";
|
|
7
|
+
import "../../chunk-JXJ5LRH3.mjs";
|
|
8
|
+
import "../../chunk-4QX4EMLL.mjs";
|
|
9
|
+
import "../../chunk-SJGQU3OG.mjs";
|
|
10
|
+
import "../../chunk-FAAERRP2.mjs";
|
|
11
|
+
import "../../chunk-GI5TZOAG.mjs";
|
|
12
|
+
import "../../chunk-PSIJUWZT.mjs";
|
|
13
|
+
import "../../chunk-PIRWVOO2.mjs";
|
|
14
|
+
import "../../chunk-OXBQSJDF.mjs";
|
|
1
15
|
import "../../chunk-4N72FQFX.mjs";
|
|
2
|
-
import { Enum, text } from "../../types";
|
|
3
|
-
class Country extends Enum {
|
|
4
|
-
constructor(name, id, lower = text(id).lower.trim.toString()) {
|
|
5
|
-
super(name, id);
|
|
6
|
-
this.lower = lower;
|
|
7
|
-
}
|
|
8
|
-
static AF = new Country("Afghanistan", "AF");
|
|
9
|
-
static AX = new Country("\xC5land Islands", "AX");
|
|
10
|
-
static AL = new Country("Albania", "AL");
|
|
11
|
-
static DZ = new Country("Algeria", "DZ");
|
|
12
|
-
static AS = new Country("American Samoa", "AS");
|
|
13
|
-
static AD = new Country("Andorra", "AD");
|
|
14
|
-
static AO = new Country("Angola", "AO");
|
|
15
|
-
static AI = new Country("Anguilla", "AI");
|
|
16
|
-
static AQ = new Country("Antarctica", "AQ");
|
|
17
|
-
static AG = new Country("Antigua & Barbuda", "AG");
|
|
18
|
-
static AR = new Country("Argentina", "AR");
|
|
19
|
-
static AM = new Country("Armenia", "AM");
|
|
20
|
-
static AW = new Country("Aruba", "AW");
|
|
21
|
-
static AU = new Country("Australia", "AU");
|
|
22
|
-
static AT = new Country("Austria", "AT");
|
|
23
|
-
static AZ = new Country("Azerbaijan", "AZ");
|
|
24
|
-
static BS = new Country("Bahamas", "BS");
|
|
25
|
-
static BH = new Country("Bahrain", "BH");
|
|
26
|
-
static BD = new Country("Bangladesh", "BD");
|
|
27
|
-
static BB = new Country("Barbados", "BB");
|
|
28
|
-
static BY = new Country("Belarus", "BY");
|
|
29
|
-
static BE = new Country("Belgium", "BE");
|
|
30
|
-
static BZ = new Country("Belize", "BZ");
|
|
31
|
-
static BJ = new Country("Benin", "BJ");
|
|
32
|
-
static BM = new Country("Bermuda", "BM");
|
|
33
|
-
static BT = new Country("Bhutan", "BT");
|
|
34
|
-
static BO = new Country("Bolivia", "BO");
|
|
35
|
-
static BA = new Country("Bosnia & Herzegovina", "BA");
|
|
36
|
-
static BW = new Country("Botswana", "BW");
|
|
37
|
-
static BV = new Country("Bouvet Island", "BV");
|
|
38
|
-
static BR = new Country("Brazil", "BR");
|
|
39
|
-
static IO = new Country("British Indian Ocean Territory", "IO");
|
|
40
|
-
static VG = new Country("British Virgin Islands", "VG");
|
|
41
|
-
static BN = new Country("Brunei", "BN");
|
|
42
|
-
static BG = new Country("Bulgaria", "BG");
|
|
43
|
-
static BF = new Country("Burkina Faso", "BF");
|
|
44
|
-
static BI = new Country("Burundi", "BI");
|
|
45
|
-
static KH = new Country("Cambodia", "KH");
|
|
46
|
-
static CM = new Country("Cameroon", "CM");
|
|
47
|
-
static CA = new Country("Canada", "CA");
|
|
48
|
-
static CV = new Country("Cape Verde", "CV");
|
|
49
|
-
static BQ = new Country("Caribbean Netherlands", "BQ");
|
|
50
|
-
static KY = new Country("Cayman Islands", "KY");
|
|
51
|
-
static CF = new Country("Central African Republic", "CF");
|
|
52
|
-
static TD = new Country("Chad", "TD");
|
|
53
|
-
static CL = new Country("Chile", "CL");
|
|
54
|
-
static CN = new Country("China", "CN");
|
|
55
|
-
static CX = new Country("Christmas Island", "CX");
|
|
56
|
-
static CC = new Country("Cocos (Keeling) Islands", "CC");
|
|
57
|
-
static CO = new Country("Colombia", "CO");
|
|
58
|
-
static KM = new Country("Comoros", "KM");
|
|
59
|
-
static CG = new Country("Congo - Brazzaville", "CG");
|
|
60
|
-
static CD = new Country("Congo - Kinshasa", "CD");
|
|
61
|
-
static CK = new Country("Cook Islands", "CK");
|
|
62
|
-
static CR = new Country("Costa Rica", "CR");
|
|
63
|
-
static CI = new Country("C\xF4te d\u2019Ivoire", "CI");
|
|
64
|
-
static HR = new Country("Croatia", "HR");
|
|
65
|
-
static CU = new Country("Cuba", "CU");
|
|
66
|
-
static CW = new Country("Cura\xE7ao", "CW");
|
|
67
|
-
static CY = new Country("Cyprus", "CY");
|
|
68
|
-
static CZ = new Country("Czechia", "CZ");
|
|
69
|
-
static DK = new Country("Denmark", "DK");
|
|
70
|
-
static DJ = new Country("Djibouti", "DJ");
|
|
71
|
-
static DM = new Country("Dominica", "DM");
|
|
72
|
-
static DO = new Country("Dominican Republic", "DO");
|
|
73
|
-
static EC = new Country("Ecuador", "EC");
|
|
74
|
-
static EG = new Country("Egypt", "EG");
|
|
75
|
-
static SV = new Country("El Salvador", "SV");
|
|
76
|
-
static GQ = new Country("Equatorial Guinea", "GQ");
|
|
77
|
-
static ER = new Country("Eritrea", "ER");
|
|
78
|
-
static EE = new Country("Estonia", "EE");
|
|
79
|
-
static SZ = new Country("Eswatini", "SZ");
|
|
80
|
-
static ET = new Country("Ethiopia", "ET");
|
|
81
|
-
static FK = new Country("Falkland Islands", "FK");
|
|
82
|
-
static FO = new Country("Faroe Islands", "FO");
|
|
83
|
-
static FJ = new Country("Fiji", "FJ");
|
|
84
|
-
static FI = new Country("Finland", "FI");
|
|
85
|
-
static FR = new Country("France", "FR");
|
|
86
|
-
static GF = new Country("French Guiana", "GF");
|
|
87
|
-
static PF = new Country("French Polynesia", "PF");
|
|
88
|
-
static TF = new Country("French Southern Territories", "TF");
|
|
89
|
-
static GA = new Country("Gabon", "GA");
|
|
90
|
-
static GM = new Country("Gambia", "GM");
|
|
91
|
-
static GE = new Country("Georgia", "GE");
|
|
92
|
-
static DE = new Country("Germany", "DE");
|
|
93
|
-
static GH = new Country("Ghana", "GH");
|
|
94
|
-
static GI = new Country("Gibraltar", "GI");
|
|
95
|
-
static GR = new Country("Greece", "GR");
|
|
96
|
-
static GL = new Country("Greenland", "GL");
|
|
97
|
-
static GD = new Country("Grenada", "GD");
|
|
98
|
-
static GP = new Country("Guadeloupe", "GP");
|
|
99
|
-
static GU = new Country("Guam", "GU");
|
|
100
|
-
static GT = new Country("Guatemala", "GT");
|
|
101
|
-
static GG = new Country("Guernsey", "GG");
|
|
102
|
-
static GN = new Country("Guinea", "GN");
|
|
103
|
-
static GW = new Country("Guinea-Bissau", "GW");
|
|
104
|
-
static GY = new Country("Guyana", "GY");
|
|
105
|
-
static HT = new Country("Haiti", "HT");
|
|
106
|
-
static HM = new Country("Heard & McDonald Islands", "HM");
|
|
107
|
-
static HN = new Country("Honduras", "HN");
|
|
108
|
-
static HK = new Country("Hong Kong SAR China", "HK");
|
|
109
|
-
static HU = new Country("Hungary", "HU");
|
|
110
|
-
static IS = new Country("Iceland", "IS");
|
|
111
|
-
static IN = new Country("India", "IN");
|
|
112
|
-
static ID = new Country("Indonesia", "ID");
|
|
113
|
-
static IR = new Country("Iran", "IR");
|
|
114
|
-
static IQ = new Country("Iraq", "IQ");
|
|
115
|
-
static IE = new Country("Ireland", "IE");
|
|
116
|
-
static IM = new Country("Isle of Man", "IM");
|
|
117
|
-
static IL = new Country("Israel", "IL");
|
|
118
|
-
static IT = new Country("Italy", "IT");
|
|
119
|
-
static JM = new Country("Jamaica", "JM");
|
|
120
|
-
static JP = new Country("Japan", "JP");
|
|
121
|
-
static JE = new Country("Jersey", "JE");
|
|
122
|
-
static JO = new Country("Jordan", "JO");
|
|
123
|
-
static KZ = new Country("Kazakhstan", "KZ");
|
|
124
|
-
static KE = new Country("Kenya", "KE");
|
|
125
|
-
static KI = new Country("Kiribati", "KI");
|
|
126
|
-
static KW = new Country("Kuwait", "KW");
|
|
127
|
-
static KG = new Country("Kyrgyzstan", "KG");
|
|
128
|
-
static LA = new Country("Laos", "LA");
|
|
129
|
-
static LV = new Country("Latvia", "LV");
|
|
130
|
-
static LB = new Country("Lebanon", "LB");
|
|
131
|
-
static LS = new Country("Lesotho", "LS");
|
|
132
|
-
static LR = new Country("Liberia", "LR");
|
|
133
|
-
static LY = new Country("Libya", "LY");
|
|
134
|
-
static LI = new Country("Liechtenstein", "LI");
|
|
135
|
-
static LT = new Country("Lithuania", "LT");
|
|
136
|
-
static LU = new Country("Luxembourg", "LU");
|
|
137
|
-
static MO = new Country("Macao SAR China", "MO");
|
|
138
|
-
static MG = new Country("Madagascar", "MG");
|
|
139
|
-
static MW = new Country("Malawi", "MW");
|
|
140
|
-
static MY = new Country("Malaysia", "MY");
|
|
141
|
-
static MV = new Country("Maldives", "MV");
|
|
142
|
-
static ML = new Country("Mali", "ML");
|
|
143
|
-
static MT = new Country("Malta", "MT");
|
|
144
|
-
static MH = new Country("Marshall Islands", "MH");
|
|
145
|
-
static MQ = new Country("Martinique", "MQ");
|
|
146
|
-
static MR = new Country("Mauritania", "MR");
|
|
147
|
-
static MU = new Country("Mauritius", "MU");
|
|
148
|
-
static YT = new Country("Mayotte", "YT");
|
|
149
|
-
static MX = new Country("Mexico", "MX");
|
|
150
|
-
static FM = new Country("Micronesia", "FM");
|
|
151
|
-
static MD = new Country("Moldova", "MD");
|
|
152
|
-
static MC = new Country("Monaco", "MC");
|
|
153
|
-
static MN = new Country("Mongolia", "MN");
|
|
154
|
-
static ME = new Country("Montenegro", "ME");
|
|
155
|
-
static MS = new Country("Montserrat", "MS");
|
|
156
|
-
static MA = new Country("Morocco", "MA");
|
|
157
|
-
static MZ = new Country("Mozambique", "MZ");
|
|
158
|
-
static MM = new Country("Myanmar (Burma)", "MM");
|
|
159
|
-
static NA = new Country("Namibia", "NA");
|
|
160
|
-
static NR = new Country("Nauru", "NR");
|
|
161
|
-
static NP = new Country("Nepal", "NP");
|
|
162
|
-
static NL = new Country("Netherlands", "NL");
|
|
163
|
-
static NC = new Country("New Caledonia", "NC");
|
|
164
|
-
static NZ = new Country("New Zealand", "NZ");
|
|
165
|
-
static NI = new Country("Nicaragua", "NI");
|
|
166
|
-
static NE = new Country("Niger", "NE");
|
|
167
|
-
static NG = new Country("Nigeria", "NG");
|
|
168
|
-
static NU = new Country("Niue", "NU");
|
|
169
|
-
static NF = new Country("Norfolk Island", "NF");
|
|
170
|
-
static KP = new Country("North Korea", "KP");
|
|
171
|
-
static MK = new Country("North Macedonia", "MK");
|
|
172
|
-
static MP = new Country("Northern Mariana Islands", "MP");
|
|
173
|
-
static NO = new Country("Norway", "NO");
|
|
174
|
-
static OM = new Country("Oman", "OM");
|
|
175
|
-
static PK = new Country("Pakistan", "PK");
|
|
176
|
-
static PW = new Country("Palau", "PW");
|
|
177
|
-
static PS = new Country("Palestinian Territories", "PS");
|
|
178
|
-
static PA = new Country("Panama", "PA");
|
|
179
|
-
static PG = new Country("Papua New Guinea", "PG");
|
|
180
|
-
static PY = new Country("Paraguay", "PY");
|
|
181
|
-
static PE = new Country("Peru", "PE");
|
|
182
|
-
static PH = new Country("Philippines", "PH");
|
|
183
|
-
static PN = new Country("Pitcairn Islands", "PN");
|
|
184
|
-
static PL = new Country("Poland", "PL");
|
|
185
|
-
static PT = new Country("Portugal", "PT");
|
|
186
|
-
static PR = new Country("Puerto Rico", "PR");
|
|
187
|
-
static QA = new Country("Qatar", "QA");
|
|
188
|
-
static RE = new Country("R\xE9union", "RE");
|
|
189
|
-
static RO = new Country("Romania", "RO");
|
|
190
|
-
static RU = new Country("Russia", "RU");
|
|
191
|
-
static RW = new Country("Rwanda", "RW");
|
|
192
|
-
static WS = new Country("Samoa", "WS");
|
|
193
|
-
static SM = new Country("San Marino", "SM");
|
|
194
|
-
static ST = new Country("S\xE3o Tom\xE9 & Pr\xEDncipe", "ST");
|
|
195
|
-
static SA = new Country("Saudi Arabia", "SA");
|
|
196
|
-
static SN = new Country("Senegal", "SN");
|
|
197
|
-
static RS = new Country("Serbia", "RS");
|
|
198
|
-
static SC = new Country("Seychelles", "SC");
|
|
199
|
-
static SL = new Country("Sierra Leone", "SL");
|
|
200
|
-
static SG = new Country("Singapore", "SG");
|
|
201
|
-
static SX = new Country("Sint Maarten", "SX");
|
|
202
|
-
static SK = new Country("Slovakia", "SK");
|
|
203
|
-
static SI = new Country("Slovenia", "SI");
|
|
204
|
-
static SB = new Country("Solomon Islands", "SB");
|
|
205
|
-
static SO = new Country("Somalia", "SO");
|
|
206
|
-
static ZA = new Country("South Africa", "ZA");
|
|
207
|
-
static GS = new Country("South Georgia & South Sandwich Islands", "GS");
|
|
208
|
-
static KR = new Country("South Korea", "KR");
|
|
209
|
-
static SS = new Country("South Sudan", "SS");
|
|
210
|
-
static ES = new Country("Spain", "ES");
|
|
211
|
-
static LK = new Country("Sri Lanka", "LK");
|
|
212
|
-
static BL = new Country("St. Barth\xE9lemy", "BL");
|
|
213
|
-
static SH = new Country("St. Helena", "SH");
|
|
214
|
-
static KN = new Country("St. Kitts & Nevis", "KN");
|
|
215
|
-
static LC = new Country("St. Lucia", "LC");
|
|
216
|
-
static MF = new Country("St. Martin", "MF");
|
|
217
|
-
static PM = new Country("St. Pierre & Miquelon", "PM");
|
|
218
|
-
static VC = new Country("St. Vincent & Grenadines", "VC");
|
|
219
|
-
static SD = new Country("Sudan", "SD");
|
|
220
|
-
static SR = new Country("Suriname", "SR");
|
|
221
|
-
static SJ = new Country("Svalbard & Jan Mayen", "SJ");
|
|
222
|
-
static SE = new Country("Sweden", "SE");
|
|
223
|
-
static CH = new Country("Switzerland", "CH");
|
|
224
|
-
static SY = new Country("Syria", "SY");
|
|
225
|
-
static TW = new Country("Taiwan", "TW");
|
|
226
|
-
static TJ = new Country("Tajikistan", "TJ");
|
|
227
|
-
static TZ = new Country("Tanzania", "TZ");
|
|
228
|
-
static TH = new Country("Thailand", "TH");
|
|
229
|
-
static TL = new Country("Timor-Leste", "TL");
|
|
230
|
-
static TG = new Country("Togo", "TG");
|
|
231
|
-
static TK = new Country("Tokelau", "TK");
|
|
232
|
-
static TO = new Country("Tonga", "TO");
|
|
233
|
-
static TT = new Country("Trinidad & Tobago", "TT");
|
|
234
|
-
static TN = new Country("Tunisia", "TN");
|
|
235
|
-
static TR = new Country("Turkey", "TR");
|
|
236
|
-
static TM = new Country("Turkmenistan", "TM");
|
|
237
|
-
static TC = new Country("Turks & Caicos Islands", "TC");
|
|
238
|
-
static TV = new Country("Tuvalu", "TV");
|
|
239
|
-
static UM = new Country("U.S. Outlying Islands", "UM");
|
|
240
|
-
static VI = new Country("U.S. Virgin Islands", "VI");
|
|
241
|
-
static UG = new Country("Uganda", "UG");
|
|
242
|
-
static UA = new Country("Ukraine", "UA");
|
|
243
|
-
static AE = new Country("United Arab Emirates", "AE");
|
|
244
|
-
static GB = new Country("United Kingdom", "GB");
|
|
245
|
-
static US = new Country("United States", "US");
|
|
246
|
-
static UY = new Country("Uruguay", "UY");
|
|
247
|
-
static UZ = new Country("Uzbekistan", "UZ");
|
|
248
|
-
static VU = new Country("Vanuatu", "VU");
|
|
249
|
-
static VA = new Country("Vatican City", "VA");
|
|
250
|
-
static VE = new Country("Venezuela", "VE");
|
|
251
|
-
static VN = new Country("Vietnam", "VN");
|
|
252
|
-
static WF = new Country("Wallis & Futuna", "WF");
|
|
253
|
-
static EH = new Country("Western Sahara", "EH");
|
|
254
|
-
static YE = new Country("Yemen", "YE");
|
|
255
|
-
static ZM = new Country("Zambia", "ZM");
|
|
256
|
-
static ZW = new Country("Zimbabwe", "ZW");
|
|
257
|
-
static lookup(other) {
|
|
258
|
-
return this.all().first((l) => l.equals(other));
|
|
259
|
-
}
|
|
260
|
-
equals(other) {
|
|
261
|
-
return text(other).lower.trim.equals(this.lower);
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
16
|
export {
|
|
265
17
|
Country
|
|
266
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/domain/enums/Country.ts"],"sourcesContent":["import { Enum, Id, Optional, text } from '../../types';\n\nexport class Country extends Enum {\n static readonly AF = new Country('Afghanistan', 'AF');\n static readonly AX = new Country('Åland Islands', 'AX');\n static readonly AL = new Country('Albania', 'AL');\n static readonly DZ = new Country('Algeria', 'DZ');\n static readonly AS = new Country('American Samoa', 'AS');\n static readonly AD = new Country('Andorra', 'AD');\n static readonly AO = new Country('Angola', 'AO');\n static readonly AI = new Country('Anguilla', 'AI');\n static readonly AQ = new Country('Antarctica', 'AQ');\n static readonly AG = new Country('Antigua & Barbuda', 'AG');\n static readonly AR = new Country('Argentina', 'AR');\n static readonly AM = new Country('Armenia', 'AM');\n static readonly AW = new Country('Aruba', 'AW');\n static readonly AU = new Country('Australia', 'AU');\n static readonly AT = new Country('Austria', 'AT');\n static readonly AZ = new Country('Azerbaijan', 'AZ');\n static readonly BS = new Country('Bahamas', 'BS');\n static readonly BH = new Country('Bahrain', 'BH');\n static readonly BD = new Country('Bangladesh', 'BD');\n static readonly BB = new Country('Barbados', 'BB');\n static readonly BY = new Country('Belarus', 'BY');\n static readonly BE = new Country('Belgium', 'BE');\n static readonly BZ = new Country('Belize', 'BZ');\n static readonly BJ = new Country('Benin', 'BJ');\n static readonly BM = new Country('Bermuda', 'BM');\n static readonly BT = new Country('Bhutan', 'BT');\n static readonly BO = new Country('Bolivia', 'BO');\n static readonly BA = new Country('Bosnia & Herzegovina', 'BA');\n static readonly BW = new Country('Botswana', 'BW');\n static readonly BV = new Country('Bouvet Island', 'BV');\n static readonly BR = new Country('Brazil', 'BR');\n static readonly IO = new Country('British Indian Ocean Territory', 'IO');\n static readonly VG = new Country('British Virgin Islands', 'VG');\n static readonly BN = new Country('Brunei', 'BN');\n static readonly BG = new Country('Bulgaria', 'BG');\n static readonly BF = new Country('Burkina Faso', 'BF');\n static readonly BI = new Country('Burundi', 'BI');\n static readonly KH = new Country('Cambodia', 'KH');\n static readonly CM = new Country('Cameroon', 'CM');\n static readonly CA = new Country('Canada', 'CA');\n static readonly CV = new Country('Cape Verde', 'CV');\n static readonly BQ = new Country('Caribbean Netherlands', 'BQ');\n static readonly KY = new Country('Cayman Islands', 'KY');\n static readonly CF = new Country('Central African Republic', 'CF');\n static readonly TD = new Country('Chad', 'TD');\n static readonly CL = new Country('Chile', 'CL');\n static readonly CN = new Country('China', 'CN');\n static readonly CX = new Country('Christmas Island', 'CX');\n static readonly CC = new Country('Cocos (Keeling) Islands', 'CC');\n static readonly CO = new Country('Colombia', 'CO');\n static readonly KM = new Country('Comoros', 'KM');\n static readonly CG = new Country('Congo - Brazzaville', 'CG');\n static readonly CD = new Country('Congo - Kinshasa', 'CD');\n static readonly CK = new Country('Cook Islands', 'CK');\n static readonly CR = new Country('Costa Rica', 'CR');\n static readonly CI = new Country('Côte d’Ivoire', 'CI');\n static readonly HR = new Country('Croatia', 'HR');\n static readonly CU = new Country('Cuba', 'CU');\n static readonly CW = new Country('Curaçao', 'CW');\n static readonly CY = new Country('Cyprus', 'CY');\n static readonly CZ = new Country('Czechia', 'CZ');\n static readonly DK = new Country('Denmark', 'DK');\n static readonly DJ = new Country('Djibouti', 'DJ');\n static readonly DM = new Country('Dominica', 'DM');\n static readonly DO = new Country('Dominican Republic', 'DO');\n static readonly EC = new Country('Ecuador', 'EC');\n static readonly EG = new Country('Egypt', 'EG');\n static readonly SV = new Country('El Salvador', 'SV');\n static readonly GQ = new Country('Equatorial Guinea', 'GQ');\n static readonly ER = new Country('Eritrea', 'ER');\n static readonly EE = new Country('Estonia', 'EE');\n static readonly SZ = new Country('Eswatini', 'SZ');\n static readonly ET = new Country('Ethiopia', 'ET');\n static readonly FK = new Country('Falkland Islands', 'FK');\n static readonly FO = new Country('Faroe Islands', 'FO');\n static readonly FJ = new Country('Fiji', 'FJ');\n static readonly FI = new Country('Finland', 'FI');\n static readonly FR = new Country('France', 'FR');\n static readonly GF = new Country('French Guiana', 'GF');\n static readonly PF = new Country('French Polynesia', 'PF');\n static readonly TF = new Country('French Southern Territories', 'TF');\n static readonly GA = new Country('Gabon', 'GA');\n static readonly GM = new Country('Gambia', 'GM');\n static readonly GE = new Country('Georgia', 'GE');\n static readonly DE = new Country('Germany', 'DE');\n static readonly GH = new Country('Ghana', 'GH');\n static readonly GI = new Country('Gibraltar', 'GI');\n static readonly GR = new Country('Greece', 'GR');\n static readonly GL = new Country('Greenland', 'GL');\n static readonly GD = new Country('Grenada', 'GD');\n static readonly GP = new Country('Guadeloupe', 'GP');\n static readonly GU = new Country('Guam', 'GU');\n static readonly GT = new Country('Guatemala', 'GT');\n static readonly GG = new Country('Guernsey', 'GG');\n static readonly GN = new Country('Guinea', 'GN');\n static readonly GW = new Country('Guinea-Bissau', 'GW');\n static readonly GY = new Country('Guyana', 'GY');\n static readonly HT = new Country('Haiti', 'HT');\n static readonly HM = new Country('Heard & McDonald Islands', 'HM');\n static readonly HN = new Country('Honduras', 'HN');\n static readonly HK = new Country('Hong Kong SAR China', 'HK');\n static readonly HU = new Country('Hungary', 'HU');\n static readonly IS = new Country('Iceland', 'IS');\n static readonly IN = new Country('India', 'IN');\n static readonly ID = new Country('Indonesia', 'ID');\n static readonly IR = new Country('Iran', 'IR');\n static readonly IQ = new Country('Iraq', 'IQ');\n static readonly IE = new Country('Ireland', 'IE');\n static readonly IM = new Country('Isle of Man', 'IM');\n static readonly IL = new Country('Israel', 'IL');\n static readonly IT = new Country('Italy', 'IT');\n static readonly JM = new Country('Jamaica', 'JM');\n static readonly JP = new Country('Japan', 'JP');\n static readonly JE = new Country('Jersey', 'JE');\n static readonly JO = new Country('Jordan', 'JO');\n static readonly KZ = new Country('Kazakhstan', 'KZ');\n static readonly KE = new Country('Kenya', 'KE');\n static readonly KI = new Country('Kiribati', 'KI');\n static readonly KW = new Country('Kuwait', 'KW');\n static readonly KG = new Country('Kyrgyzstan', 'KG');\n static readonly LA = new Country('Laos', 'LA');\n static readonly LV = new Country('Latvia', 'LV');\n static readonly LB = new Country('Lebanon', 'LB');\n static readonly LS = new Country('Lesotho', 'LS');\n static readonly LR = new Country('Liberia', 'LR');\n static readonly LY = new Country('Libya', 'LY');\n static readonly LI = new Country('Liechtenstein', 'LI');\n static readonly LT = new Country('Lithuania', 'LT');\n static readonly LU = new Country('Luxembourg', 'LU');\n static readonly MO = new Country('Macao SAR China', 'MO');\n static readonly MG = new Country('Madagascar', 'MG');\n static readonly MW = new Country('Malawi', 'MW');\n static readonly MY = new Country('Malaysia', 'MY');\n static readonly MV = new Country('Maldives', 'MV');\n static readonly ML = new Country('Mali', 'ML');\n static readonly MT = new Country('Malta', 'MT');\n static readonly MH = new Country('Marshall Islands', 'MH');\n static readonly MQ = new Country('Martinique', 'MQ');\n static readonly MR = new Country('Mauritania', 'MR');\n static readonly MU = new Country('Mauritius', 'MU');\n static readonly YT = new Country('Mayotte', 'YT');\n static readonly MX = new Country('Mexico', 'MX');\n static readonly FM = new Country('Micronesia', 'FM');\n static readonly MD = new Country('Moldova', 'MD');\n static readonly MC = new Country('Monaco', 'MC');\n static readonly MN = new Country('Mongolia', 'MN');\n static readonly ME = new Country('Montenegro', 'ME');\n static readonly MS = new Country('Montserrat', 'MS');\n static readonly MA = new Country('Morocco', 'MA');\n static readonly MZ = new Country('Mozambique', 'MZ');\n static readonly MM = new Country('Myanmar (Burma)', 'MM');\n static readonly NA = new Country('Namibia', 'NA');\n static readonly NR = new Country('Nauru', 'NR');\n static readonly NP = new Country('Nepal', 'NP');\n static readonly NL = new Country('Netherlands', 'NL');\n static readonly NC = new Country('New Caledonia', 'NC');\n static readonly NZ = new Country('New Zealand', 'NZ');\n static readonly NI = new Country('Nicaragua', 'NI');\n static readonly NE = new Country('Niger', 'NE');\n static readonly NG = new Country('Nigeria', 'NG');\n static readonly NU = new Country('Niue', 'NU');\n static readonly NF = new Country('Norfolk Island', 'NF');\n static readonly KP = new Country('North Korea', 'KP');\n static readonly MK = new Country('North Macedonia', 'MK');\n static readonly MP = new Country('Northern Mariana Islands', 'MP');\n static readonly NO = new Country('Norway', 'NO');\n static readonly OM = new Country('Oman', 'OM');\n static readonly PK = new Country('Pakistan', 'PK');\n static readonly PW = new Country('Palau', 'PW');\n static readonly PS = new Country('Palestinian Territories', 'PS');\n static readonly PA = new Country('Panama', 'PA');\n static readonly PG = new Country('Papua New Guinea', 'PG');\n static readonly PY = new Country('Paraguay', 'PY');\n static readonly PE = new Country('Peru', 'PE');\n static readonly PH = new Country('Philippines', 'PH');\n static readonly PN = new Country('Pitcairn Islands', 'PN');\n static readonly PL = new Country('Poland', 'PL');\n static readonly PT = new Country('Portugal', 'PT');\n static readonly PR = new Country('Puerto Rico', 'PR');\n static readonly QA = new Country('Qatar', 'QA');\n static readonly RE = new Country('Réunion', 'RE');\n static readonly RO = new Country('Romania', 'RO');\n static readonly RU = new Country('Russia', 'RU');\n static readonly RW = new Country('Rwanda', 'RW');\n static readonly WS = new Country('Samoa', 'WS');\n static readonly SM = new Country('San Marino', 'SM');\n static readonly ST = new Country('São Tomé & Príncipe', 'ST');\n static readonly SA = new Country('Saudi Arabia', 'SA');\n static readonly SN = new Country('Senegal', 'SN');\n static readonly RS = new Country('Serbia', 'RS');\n static readonly SC = new Country('Seychelles', 'SC');\n static readonly SL = new Country('Sierra Leone', 'SL');\n static readonly SG = new Country('Singapore', 'SG');\n static readonly SX = new Country('Sint Maarten', 'SX');\n static readonly SK = new Country('Slovakia', 'SK');\n static readonly SI = new Country('Slovenia', 'SI');\n static readonly SB = new Country('Solomon Islands', 'SB');\n static readonly SO = new Country('Somalia', 'SO');\n static readonly ZA = new Country('South Africa', 'ZA');\n static readonly GS = new Country('South Georgia & South Sandwich Islands', 'GS');\n static readonly KR = new Country('South Korea', 'KR');\n static readonly SS = new Country('South Sudan', 'SS');\n static readonly ES = new Country('Spain', 'ES');\n static readonly LK = new Country('Sri Lanka', 'LK');\n static readonly BL = new Country('St. Barthélemy', 'BL');\n static readonly SH = new Country('St. Helena', 'SH');\n static readonly KN = new Country('St. Kitts & Nevis', 'KN');\n static readonly LC = new Country('St. Lucia', 'LC');\n static readonly MF = new Country('St. Martin', 'MF');\n static readonly PM = new Country('St. Pierre & Miquelon', 'PM');\n static readonly VC = new Country('St. Vincent & Grenadines', 'VC');\n static readonly SD = new Country('Sudan', 'SD');\n static readonly SR = new Country('Suriname', 'SR');\n static readonly SJ = new Country('Svalbard & Jan Mayen', 'SJ');\n static readonly SE = new Country('Sweden', 'SE');\n static readonly CH = new Country('Switzerland', 'CH');\n static readonly SY = new Country('Syria', 'SY');\n static readonly TW = new Country('Taiwan', 'TW');\n static readonly TJ = new Country('Tajikistan', 'TJ');\n static readonly TZ = new Country('Tanzania', 'TZ');\n static readonly TH = new Country('Thailand', 'TH');\n static readonly TL = new Country('Timor-Leste', 'TL');\n static readonly TG = new Country('Togo', 'TG');\n static readonly TK = new Country('Tokelau', 'TK');\n static readonly TO = new Country('Tonga', 'TO');\n static readonly TT = new Country('Trinidad & Tobago', 'TT');\n static readonly TN = new Country('Tunisia', 'TN');\n static readonly TR = new Country('Turkey', 'TR');\n static readonly TM = new Country('Turkmenistan', 'TM');\n static readonly TC = new Country('Turks & Caicos Islands', 'TC');\n static readonly TV = new Country('Tuvalu', 'TV');\n static readonly UM = new Country('U.S. Outlying Islands', 'UM');\n static readonly VI = new Country('U.S. Virgin Islands', 'VI');\n static readonly UG = new Country('Uganda', 'UG');\n static readonly UA = new Country('Ukraine', 'UA');\n static readonly AE = new Country('United Arab Emirates', 'AE');\n static readonly GB = new Country('United Kingdom', 'GB');\n static readonly US = new Country('United States', 'US');\n static readonly UY = new Country('Uruguay', 'UY');\n static readonly UZ = new Country('Uzbekistan', 'UZ');\n static readonly VU = new Country('Vanuatu', 'VU');\n static readonly VA = new Country('Vatican City', 'VA');\n static readonly VE = new Country('Venezuela', 'VE');\n static readonly VN = new Country('Vietnam', 'VN');\n static readonly WF = new Country('Wallis & Futuna', 'WF');\n static readonly EH = new Country('Western Sahara', 'EH');\n static readonly YE = new Country('Yemen', 'YE');\n static readonly ZM = new Country('Zambia', 'ZM');\n static readonly ZW = new Country('Zimbabwe', 'ZW');\n\n constructor(name: string, id: string, private readonly lower = text(id).lower.trim.toString()) {\n super(name, id);\n }\n\n static lookup(other: string): Optional<Country> {\n return this.all<Country>().first(l => l.equals(other));\n }\n\n equals<E extends Enum>(other: E | Id): other is E {\n return text(other).lower.trim.equals(this.lower);\n }\n}\n"],"mappings":";AAAA,SAAS,MAAoB,YAAY;AAElC,MAAM,gBAAgB,KAAK;AAAA,EA2PhC,YAAY,MAAc,IAA6B,QAAQ,KAAK,EAAE,EAAE,MAAM,KAAK,SAAS,GAA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