@thisisagile/easy 15.28.3 → 15.29.1
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-M4JCTLVV.mjs → chunk-2KKIXOMB.mjs} +3 -3
- package/dist/{chunk-CKKG2TOW.mjs → chunk-2L3GZ6NK.mjs} +2 -2
- package/dist/{chunk-3XOVUGPJ.mjs → chunk-3MOFYE2N.mjs} +5 -5
- package/dist/{chunk-CMRS457E.mjs → chunk-4ROYPQPC.mjs} +2 -2
- package/dist/{chunk-A3FHVE2F.mjs → chunk-57QV3J5N.mjs} +5 -7
- package/dist/{chunk-A3FHVE2F.mjs.map → chunk-57QV3J5N.mjs.map} +1 -1
- package/dist/{chunk-TTEGXOE6.mjs → chunk-5J3LAY32.mjs} +3 -3
- package/dist/{chunk-5SHSRD7G.mjs → chunk-624IHTEI.mjs} +9 -11
- package/dist/{chunk-5SHSRD7G.mjs.map → chunk-624IHTEI.mjs.map} +1 -1
- package/dist/{chunk-HUX5AH3U.mjs → chunk-65W3AYRE.mjs} +3 -3
- package/dist/{chunk-GDGSD3VQ.mjs → chunk-7Z3YQCXR.mjs} +3 -3
- package/dist/{chunk-Q72JVDUL.mjs → chunk-A5MC57TL.mjs} +5 -5
- package/dist/{chunk-6VHHAS6E.mjs → chunk-ARN4MTMY.mjs} +3 -3
- package/dist/{chunk-AW6C5HW2.mjs → chunk-BAXNN36F.mjs} +2 -2
- package/dist/{chunk-PHO6ASCU.mjs → chunk-C7OPGGIF.mjs} +2 -2
- package/dist/{chunk-E7LIVVCN.mjs → chunk-CJDDGEEK.mjs} +6 -8
- package/dist/{chunk-E7LIVVCN.mjs.map → chunk-CJDDGEEK.mjs.map} +1 -1
- package/dist/{chunk-LG2WONNH.mjs → chunk-DMFWWDUF.mjs} +3 -3
- package/dist/{chunk-SXEUINIJ.mjs → chunk-EB26LF5Z.mjs} +4 -4
- package/dist/{chunk-YYRW6TXZ.mjs → chunk-ELFAMVTF.mjs} +3 -3
- package/dist/{chunk-WG634V2Y.mjs → chunk-F4CWMZCV.mjs} +13 -7
- package/dist/chunk-F4CWMZCV.mjs.map +1 -0
- package/dist/{chunk-6CLWWGMG.mjs → chunk-GARRF3U7.mjs} +3 -3
- package/dist/{chunk-MDLVDMKY.mjs → chunk-GCPVSACZ.mjs} +2 -2
- package/dist/{chunk-C3NWSFLY.mjs → chunk-GJFFYHHX.mjs} +2 -2
- package/dist/{chunk-ROTH4GC6.mjs → chunk-GUSPHVF2.mjs} +2 -2
- package/dist/{chunk-5MXWESXK.mjs → chunk-H7NDGISC.mjs} +2 -2
- package/dist/{chunk-ORF3O3Q7.mjs → chunk-I2NKUYUM.mjs} +2 -2
- package/dist/{chunk-EFNL26QA.mjs → chunk-I3DRDMCS.mjs} +3 -3
- package/dist/{chunk-QAMOOHKN.mjs → chunk-I5MPU33B.mjs} +4 -4
- package/dist/{chunk-QUWX3OO6.mjs → chunk-IWLJEAQZ.mjs} +2 -2
- package/dist/{chunk-QCBB3UGW.mjs → chunk-J64VE55O.mjs} +6 -6
- package/dist/{chunk-WTXV2LSF.mjs → chunk-L7JZMM3J.mjs} +4 -4
- package/dist/{chunk-IHBFSXCI.mjs → chunk-MRIELSWP.mjs} +2 -2
- package/dist/{chunk-MAGJDA5X.mjs → chunk-NKHZO3ME.mjs} +4 -4
- package/dist/{chunk-AYWYF7P3.mjs → chunk-NOMZAVQC.mjs} +3 -3
- package/dist/{chunk-AKYA7FHU.mjs → chunk-OXVJLJIE.mjs} +2 -2
- package/dist/{chunk-LSIKOJI7.mjs → chunk-PFAEQQXA.mjs} +14 -16
- package/dist/{chunk-LSIKOJI7.mjs.map → chunk-PFAEQQXA.mjs.map} +1 -1
- package/dist/{chunk-B6WYILMJ.mjs → chunk-PWCGCUT7.mjs} +4 -6
- package/dist/{chunk-B6WYILMJ.mjs.map → chunk-PWCGCUT7.mjs.map} +1 -1
- package/dist/{chunk-4QX4EMLL.mjs → chunk-Q5ATL34D.mjs} +2 -2
- package/dist/{chunk-PGKWMBCX.mjs → chunk-Q6RSBDMM.mjs} +2 -2
- package/dist/{chunk-KON73NC7.mjs → chunk-QRLGQY7M.mjs} +3 -3
- package/dist/{chunk-Q7C342ZE.mjs → chunk-QRN4Y2QC.mjs} +8 -10
- package/dist/{chunk-Q7C342ZE.mjs.map → chunk-QRN4Y2QC.mjs.map} +1 -1
- package/dist/{chunk-7YZBPTRS.mjs → chunk-RFG5LNDQ.mjs} +3 -3
- package/dist/{chunk-5OX2J7QF.mjs → chunk-S5RHU67S.mjs} +7 -9
- package/dist/{chunk-5OX2J7QF.mjs.map → chunk-S5RHU67S.mjs.map} +1 -1
- package/dist/{chunk-5LTTK24U.mjs → chunk-SG6BDC6T.mjs} +7 -7
- package/dist/{chunk-KYSAFCRJ.mjs → chunk-TG5IPJOG.mjs} +2 -2
- package/dist/{chunk-SYHOZABJ.mjs → chunk-TQUDYF6E.mjs} +2 -2
- package/dist/{chunk-OXBQSJDF.mjs → chunk-UWNXWKBU.mjs} +33 -1
- package/dist/chunk-UWNXWKBU.mjs.map +1 -0
- package/dist/{chunk-FPB3TF7R.mjs → chunk-V7FP66LM.mjs} +2 -2
- package/dist/{chunk-K3LB2CZD.mjs → chunk-WX6UP67J.mjs} +4 -4
- package/dist/{chunk-5ETV2AVU.mjs → chunk-WYT52YAX.mjs} +6 -8
- package/dist/{chunk-5ETV2AVU.mjs.map → chunk-WYT52YAX.mjs.map} +1 -1
- package/dist/{chunk-CTRNZM37.mjs → chunk-XLFC44Y3.mjs} +5 -5
- package/dist/{chunk-CQ43DOMR.mjs → chunk-Y5WPU3ZU.mjs} +3 -3
- package/dist/{chunk-RLSYFZP4.mjs → chunk-YHL2CUBI.mjs} +2 -2
- package/dist/{chunk-DXDS2SVX.mjs → chunk-YUSOGMIJ.mjs} +5 -5
- package/dist/{chunk-2G5FT26W.mjs → chunk-YXE66GAL.mjs} +2 -2
- package/dist/{chunk-VS5ZTJXR.mjs → chunk-ZELLSP3E.mjs} +4 -6
- package/dist/{chunk-VS5ZTJXR.mjs.map → chunk-ZELLSP3E.mjs.map} +1 -1
- package/dist/{chunk-JPGOVYNI.mjs → chunk-ZJKVMRGU.mjs} +5 -5
- package/dist/data/Condition.mjs +8 -10
- package/dist/data/Database.mjs +7 -9
- package/dist/data/Field.mjs +10 -12
- package/dist/data/Field.mjs.map +1 -1
- package/dist/data/InMemoryGateway.mjs +9 -11
- package/dist/data/InMemoryGateway.mjs.map +1 -1
- package/dist/domain/Audit.d.ts +2 -5
- package/dist/domain/Audit.mjs +10 -12
- package/dist/domain/Child.mjs +10 -12
- package/dist/domain/Child.mjs.map +1 -1
- package/dist/domain/Entity.mjs +14 -16
- package/dist/domain/Entity.mjs.map +1 -1
- package/dist/domain/Repo.mjs +7 -9
- package/dist/domain/Repo.mjs.map +1 -1
- package/dist/domain/Struct.mjs +7 -9
- package/dist/domain/Typo.mjs +7 -9
- package/dist/domain/Typo.mjs.map +1 -1
- package/dist/domain/enums/Country.mjs +7 -9
- package/dist/domain/enums/Currency.mjs +9 -11
- package/dist/domain/enums/Environment.mjs +6 -8
- package/dist/domain/enums/Environment.mjs.map +1 -1
- package/dist/domain/enums/Locale.mjs +6 -8
- package/dist/domain/enums/Locale.mjs.map +1 -1
- package/dist/domain/enums/UnitOfMeasurement.mjs +7 -9
- package/dist/domain/enums/UnitOfWeight.mjs +7 -9
- package/dist/domain/structs/Address.mjs +11 -13
- package/dist/domain/structs/Address.mjs.map +1 -1
- package/dist/domain/structs/Box.mjs +10 -12
- package/dist/domain/structs/Box.mjs.map +1 -1
- package/dist/domain/structs/Dimension.mjs +10 -12
- package/dist/domain/structs/Money.mjs +9 -11
- package/dist/domain/structs/Name.mjs +8 -10
- package/dist/domain/structs/Name.mjs.map +1 -1
- package/dist/domain/structs/Weight.mjs +9 -11
- package/dist/domain/structs/Weight.mjs.map +1 -1
- package/dist/domain/values/DateTime.mjs +7 -9
- package/dist/domain/values/EAN.mjs +7 -9
- package/dist/domain/values/EAN.mjs.map +1 -1
- package/dist/domain/values/Email.mjs +7 -9
- package/dist/domain/values/Email.mjs.map +1 -1
- package/dist/domain/values/IBAN.mjs +7 -9
- package/dist/domain/values/IBAN.mjs.map +1 -1
- package/dist/domain/values/PostalCode.mjs +8 -10
- package/dist/domain/values/Slug.mjs +7 -9
- package/dist/domain/values/Slug.mjs.map +1 -1
- package/dist/domain/values/Url.mjs +7 -9
- package/dist/domain/values/Url.mjs.map +1 -1
- package/dist/health/HealthResource.mjs +16 -18
- package/dist/health/HealthResource.mjs.map +1 -1
- package/dist/health/HealthUri.mjs +8 -10
- package/dist/http/CacheControl.mjs +9 -11
- package/dist/http/ContentType.mjs +7 -9
- package/dist/http/HttpStatus.mjs +7 -9
- package/dist/http/HttpVerb.mjs +7 -9
- package/dist/http/LocalRequestStore.mjs +6 -8
- package/dist/http/LocalRequestStore.mjs.map +1 -1
- package/dist/http/OriginatedError.mjs +2 -1
- package/dist/http/OriginatedError.mjs.map +1 -1
- package/dist/http/RequestOptions.mjs +9 -11
- package/dist/http/Response.mjs +8 -10
- package/dist/http/RestResult.mjs +8 -10
- package/dist/http/Verb.mjs +13 -15
- package/dist/index.js +30 -24
- package/dist/index.js.map +1 -1
- package/dist/process/App.mjs +7 -9
- package/dist/process/App.mjs.map +1 -1
- package/dist/process/Manage.mjs +8 -10
- package/dist/process/Manage.mjs.map +1 -1
- package/dist/process/Scope.mjs +7 -9
- package/dist/process/Search.mjs +8 -10
- package/dist/process/UseCase.mjs +7 -9
- package/dist/process/UseCase.mjs.map +1 -1
- package/dist/resources/Req.mjs +7 -9
- package/dist/resources/Req.mjs.map +1 -1
- package/dist/resources/Requires.mjs +6 -8
- package/dist/resources/Requires.mjs.map +1 -1
- package/dist/resources/Route.mjs +7 -9
- package/dist/resources/Service.mjs +6 -8
- package/dist/resources/Service.mjs.map +1 -1
- package/dist/security/Jwt.mjs +6 -8
- package/dist/security/Jwt.mjs.map +1 -1
- package/dist/services/Api.mjs +16 -18
- package/dist/services/ApiGateway.mjs +19 -21
- package/dist/services/AxiosProvider.mjs +14 -16
- package/dist/services/MappedRouteGateway.mjs +24 -26
- package/dist/services/MappedRouteGateway.mjs.map +1 -1
- package/dist/services/RouteGateway.mjs +20 -22
- package/dist/services/ViewRouteGateway.mjs +22 -24
- package/dist/services/ViewRouteGateway.mjs.map +1 -1
- package/dist/sql/Clause.mjs +8 -10
- package/dist/sql/Column.mjs +10 -12
- package/dist/sql/Count.mjs +9 -11
- package/dist/sql/Delete.mjs +8 -10
- package/dist/sql/Insert.mjs +10 -12
- package/dist/sql/Select.mjs +8 -10
- package/dist/sql/SqlQuery.mjs +7 -9
- package/dist/sql/Table.mjs +20 -22
- package/dist/sql/Table.mjs.map +1 -1
- package/dist/sql/TableGateway.mjs +9 -11
- package/dist/sql/TableGateway.mjs.map +1 -1
- package/dist/sql/Update.mjs +10 -12
- package/dist/types/Array.mjs +2 -4
- package/dist/types/Builder.mjs +6 -8
- package/dist/types/Builder.mjs.map +1 -1
- package/dist/types/Cache.mjs +6 -8
- package/dist/types/Cache.mjs.map +1 -1
- package/dist/types/CacheAge.mjs +8 -10
- package/dist/types/Case.mjs +6 -8
- package/dist/types/Constructor.mjs +1 -3
- package/dist/types/Context.mjs +6 -8
- package/dist/types/Enum.mjs +6 -8
- package/dist/types/Exception.mjs +6 -8
- package/dist/types/Gateway.mjs +7 -9
- package/dist/types/Id.mjs +4 -3
- package/dist/types/Is.d.ts +2 -0
- package/dist/types/Is.mjs +4 -1
- package/dist/types/IsA.mjs +3 -3
- package/dist/types/IsEqual.mjs +7 -9
- package/dist/types/Json.mjs +6 -8
- package/dist/types/List.mjs +6 -8
- package/dist/types/Meta.mjs +6 -8
- package/dist/types/Number.mjs +7 -9
- package/dist/types/PageList.mjs +7 -9
- package/dist/types/Parser.mjs +9 -12
- package/dist/types/Parser.mjs.map +1 -1
- package/dist/types/Primitive.mjs +2 -2
- package/dist/types/Repository.mjs +7 -9
- package/dist/types/Result.mjs +6 -8
- package/dist/types/Results.mjs +6 -8
- package/dist/types/Tag.mjs +6 -8
- package/dist/types/Tag.mjs.map +1 -1
- package/dist/types/Template.mjs +6 -8
- package/dist/types/Text.mjs +6 -8
- package/dist/types/Try.mjs +6 -8
- package/dist/types/Uri.mjs +7 -9
- package/dist/types/Uuid.mjs +3 -2
- package/dist/types/Validatable.mjs +4 -4
- package/dist/types/Value.mjs +6 -8
- package/dist/utils/Convert.mjs +7 -9
- package/dist/utils/If.mjs +2 -4
- package/dist/utils/Loading.mjs +2 -1
- package/dist/utils/Loading.mjs.map +1 -1
- package/dist/utils/Mapper.mjs +10 -12
- package/dist/utils/Promise.mjs +6 -8
- package/dist/utils/Property.mjs +8 -10
- package/dist/utils/Sentence.mjs +6 -8
- package/dist/utils/Sentence.mjs.map +1 -1
- package/dist/utils/State.mjs +2 -4
- package/dist/utils/View.mjs +9 -11
- package/dist/validation/Contraints.mjs +7 -9
- package/dist/validation/Validate.mjs +6 -8
- package/dist/validation/When.mjs +6 -8
- package/package.json +2 -2
- package/src/domain/Audit.ts +9 -6
- package/src/types/Is.ts +4 -1
- package/dist/chunk-HUJHIZYS.mjs +0 -33
- package/dist/chunk-HUJHIZYS.mjs.map +0 -1
- package/dist/chunk-OXBQSJDF.mjs.map +0 -1
- package/dist/chunk-PSIJUWZT.mjs +0 -13
- package/dist/chunk-PSIJUWZT.mjs.map +0 -1
- package/dist/chunk-WG634V2Y.mjs.map +0 -1
- /package/dist/{chunk-M4JCTLVV.mjs.map → chunk-2KKIXOMB.mjs.map} +0 -0
- /package/dist/{chunk-CKKG2TOW.mjs.map → chunk-2L3GZ6NK.mjs.map} +0 -0
- /package/dist/{chunk-3XOVUGPJ.mjs.map → chunk-3MOFYE2N.mjs.map} +0 -0
- /package/dist/{chunk-CMRS457E.mjs.map → chunk-4ROYPQPC.mjs.map} +0 -0
- /package/dist/{chunk-TTEGXOE6.mjs.map → chunk-5J3LAY32.mjs.map} +0 -0
- /package/dist/{chunk-HUX5AH3U.mjs.map → chunk-65W3AYRE.mjs.map} +0 -0
- /package/dist/{chunk-GDGSD3VQ.mjs.map → chunk-7Z3YQCXR.mjs.map} +0 -0
- /package/dist/{chunk-Q72JVDUL.mjs.map → chunk-A5MC57TL.mjs.map} +0 -0
- /package/dist/{chunk-6VHHAS6E.mjs.map → chunk-ARN4MTMY.mjs.map} +0 -0
- /package/dist/{chunk-AW6C5HW2.mjs.map → chunk-BAXNN36F.mjs.map} +0 -0
- /package/dist/{chunk-PHO6ASCU.mjs.map → chunk-C7OPGGIF.mjs.map} +0 -0
- /package/dist/{chunk-LG2WONNH.mjs.map → chunk-DMFWWDUF.mjs.map} +0 -0
- /package/dist/{chunk-SXEUINIJ.mjs.map → chunk-EB26LF5Z.mjs.map} +0 -0
- /package/dist/{chunk-YYRW6TXZ.mjs.map → chunk-ELFAMVTF.mjs.map} +0 -0
- /package/dist/{chunk-6CLWWGMG.mjs.map → chunk-GARRF3U7.mjs.map} +0 -0
- /package/dist/{chunk-MDLVDMKY.mjs.map → chunk-GCPVSACZ.mjs.map} +0 -0
- /package/dist/{chunk-C3NWSFLY.mjs.map → chunk-GJFFYHHX.mjs.map} +0 -0
- /package/dist/{chunk-ROTH4GC6.mjs.map → chunk-GUSPHVF2.mjs.map} +0 -0
- /package/dist/{chunk-5MXWESXK.mjs.map → chunk-H7NDGISC.mjs.map} +0 -0
- /package/dist/{chunk-ORF3O3Q7.mjs.map → chunk-I2NKUYUM.mjs.map} +0 -0
- /package/dist/{chunk-EFNL26QA.mjs.map → chunk-I3DRDMCS.mjs.map} +0 -0
- /package/dist/{chunk-QAMOOHKN.mjs.map → chunk-I5MPU33B.mjs.map} +0 -0
- /package/dist/{chunk-QUWX3OO6.mjs.map → chunk-IWLJEAQZ.mjs.map} +0 -0
- /package/dist/{chunk-QCBB3UGW.mjs.map → chunk-J64VE55O.mjs.map} +0 -0
- /package/dist/{chunk-WTXV2LSF.mjs.map → chunk-L7JZMM3J.mjs.map} +0 -0
- /package/dist/{chunk-IHBFSXCI.mjs.map → chunk-MRIELSWP.mjs.map} +0 -0
- /package/dist/{chunk-MAGJDA5X.mjs.map → chunk-NKHZO3ME.mjs.map} +0 -0
- /package/dist/{chunk-AYWYF7P3.mjs.map → chunk-NOMZAVQC.mjs.map} +0 -0
- /package/dist/{chunk-AKYA7FHU.mjs.map → chunk-OXVJLJIE.mjs.map} +0 -0
- /package/dist/{chunk-4QX4EMLL.mjs.map → chunk-Q5ATL34D.mjs.map} +0 -0
- /package/dist/{chunk-PGKWMBCX.mjs.map → chunk-Q6RSBDMM.mjs.map} +0 -0
- /package/dist/{chunk-KON73NC7.mjs.map → chunk-QRLGQY7M.mjs.map} +0 -0
- /package/dist/{chunk-7YZBPTRS.mjs.map → chunk-RFG5LNDQ.mjs.map} +0 -0
- /package/dist/{chunk-5LTTK24U.mjs.map → chunk-SG6BDC6T.mjs.map} +0 -0
- /package/dist/{chunk-KYSAFCRJ.mjs.map → chunk-TG5IPJOG.mjs.map} +0 -0
- /package/dist/{chunk-SYHOZABJ.mjs.map → chunk-TQUDYF6E.mjs.map} +0 -0
- /package/dist/{chunk-FPB3TF7R.mjs.map → chunk-V7FP66LM.mjs.map} +0 -0
- /package/dist/{chunk-K3LB2CZD.mjs.map → chunk-WX6UP67J.mjs.map} +0 -0
- /package/dist/{chunk-CTRNZM37.mjs.map → chunk-XLFC44Y3.mjs.map} +0 -0
- /package/dist/{chunk-CQ43DOMR.mjs.map → chunk-Y5WPU3ZU.mjs.map} +0 -0
- /package/dist/{chunk-RLSYFZP4.mjs.map → chunk-YHL2CUBI.mjs.map} +0 -0
- /package/dist/{chunk-DXDS2SVX.mjs.map → chunk-YUSOGMIJ.mjs.map} +0 -0
- /package/dist/{chunk-2G5FT26W.mjs.map → chunk-YXE66GAL.mjs.map} +0 -0
- /package/dist/{chunk-JPGOVYNI.mjs.map → chunk-ZJKVMRGU.mjs.map} +0 -0
package/dist/data/Condition.mjs
CHANGED
|
@@ -4,18 +4,16 @@ import {
|
|
|
4
4
|
SortCondition,
|
|
5
5
|
isSortCondition,
|
|
6
6
|
toCondition
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-EB26LF5Z.mjs";
|
|
8
|
+
import "../chunk-TQUDYF6E.mjs";
|
|
9
|
+
import "../chunk-PFAEQQXA.mjs";
|
|
10
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
11
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
12
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
13
13
|
import "../chunk-SJGQU3OG.mjs";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
14
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
15
|
+
import "../chunk-UWNXWKBU.mjs";
|
|
17
16
|
import "../chunk-PIRWVOO2.mjs";
|
|
18
|
-
import "../chunk-OXBQSJDF.mjs";
|
|
19
17
|
import "../chunk-4N72FQFX.mjs";
|
|
20
18
|
export {
|
|
21
19
|
Condition,
|
package/dist/data/Database.mjs
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Database,
|
|
3
3
|
DefaultProvider
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-ARN4MTMY.mjs";
|
|
5
|
+
import "../chunk-PFAEQQXA.mjs";
|
|
6
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
7
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
8
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
9
9
|
import "../chunk-SJGQU3OG.mjs";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
10
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
11
|
+
import "../chunk-UWNXWKBU.mjs";
|
|
13
12
|
import "../chunk-PIRWVOO2.mjs";
|
|
14
|
-
import "../chunk-OXBQSJDF.mjs";
|
|
15
13
|
import "../chunk-4N72FQFX.mjs";
|
|
16
14
|
export {
|
|
17
15
|
Database,
|
package/dist/data/Field.mjs
CHANGED
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Property
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-TG5IPJOG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
SortCondition,
|
|
6
6
|
toCondition
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-EB26LF5Z.mjs";
|
|
8
|
+
import "../chunk-TQUDYF6E.mjs";
|
|
9
|
+
import "../chunk-PFAEQQXA.mjs";
|
|
10
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
11
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
12
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
13
13
|
import "../chunk-SJGQU3OG.mjs";
|
|
14
14
|
import {
|
|
15
15
|
toArray
|
|
16
|
-
} from "../chunk-
|
|
17
|
-
import "../chunk-HUJHIZYS.mjs";
|
|
18
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
19
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
16
|
+
} from "../chunk-ZELLSP3E.mjs";
|
|
20
17
|
import {
|
|
21
18
|
isDefined
|
|
22
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-UWNXWKBU.mjs";
|
|
20
|
+
import "../chunk-PIRWVOO2.mjs";
|
|
23
21
|
import "../chunk-4N72FQFX.mjs";
|
|
24
22
|
|
|
25
23
|
// src/data/Field.ts
|
package/dist/data/Field.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/Field.ts"],"sourcesContent":["import { Property } from '../utils';\nimport { Condition, SortCondition, toCondition } from './Condition';\nimport { isDefined, toArray } from '../types';\n\nexport class Field extends Property {\n is = (value: unknown): Condition => this.condition('eq', value);\n\n isNot = (value: unknown): Condition => this.condition('ne', value);\n\n isIn = (...value: unknown[]): Condition => this.condition('in', toArray(value));\n\n notIn = (...value: unknown[]): Condition => this.condition('nin', toArray(value));\n\n exists = (does: boolean): Condition => this.condition('exists', does);\n\n greater = (value: unknown): Condition => this.condition('gt', value);\n\n greaterEqual = (value: unknown): Condition => this.condition('gte', value);\n\n less = (value: unknown): Condition => this.condition('lt', value);\n\n lessEqual = (value: unknown): Condition => this.condition('lte', value);\n\n asc = (): SortCondition => new SortCondition(this.property, 1);\n\n desc = (): SortCondition => new SortCondition(this.property, -1);\n\n protected condition = (operator: string, value: unknown): Condition => toCondition(this.property, operator, value, this.options?.convert);\n}\n\nexport const isField = (f?: unknown): f is Field => isDefined(f) && f instanceof Field;\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/data/Field.ts"],"sourcesContent":["import { Property } from '../utils';\nimport { Condition, SortCondition, toCondition } from './Condition';\nimport { isDefined, toArray } from '../types';\n\nexport class Field extends Property {\n is = (value: unknown): Condition => this.condition('eq', value);\n\n isNot = (value: unknown): Condition => this.condition('ne', value);\n\n isIn = (...value: unknown[]): Condition => this.condition('in', toArray(value));\n\n notIn = (...value: unknown[]): Condition => this.condition('nin', toArray(value));\n\n exists = (does: boolean): Condition => this.condition('exists', does);\n\n greater = (value: unknown): Condition => this.condition('gt', value);\n\n greaterEqual = (value: unknown): Condition => this.condition('gte', value);\n\n less = (value: unknown): Condition => this.condition('lt', value);\n\n lessEqual = (value: unknown): Condition => this.condition('lte', value);\n\n asc = (): SortCondition => new SortCondition(this.property, 1);\n\n desc = (): SortCondition => new SortCondition(this.property, -1);\n\n protected condition = (operator: string, value: unknown): Condition => toCondition(this.property, operator, value, this.options?.convert);\n}\n\nexport const isField = (f?: unknown): f is Field => isDefined(f) && f instanceof Field;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIO,IAAM,QAAN,cAAoB,SAAS;AAAA,EAClC,KAAK,CAAC,UAA8B,KAAK,UAAU,MAAM,KAAK;AAAA,EAE9D,QAAQ,CAAC,UAA8B,KAAK,UAAU,MAAM,KAAK;AAAA,EAEjE,OAAO,IAAI,UAAgC,KAAK,UAAU,MAAM,QAAQ,KAAK,CAAC;AAAA,EAE9E,QAAQ,IAAI,UAAgC,KAAK,UAAU,OAAO,QAAQ,KAAK,CAAC;AAAA,EAEhF,SAAS,CAAC,SAA6B,KAAK,UAAU,UAAU,IAAI;AAAA,EAEpE,UAAU,CAAC,UAA8B,KAAK,UAAU,MAAM,KAAK;AAAA,EAEnE,eAAe,CAAC,UAA8B,KAAK,UAAU,OAAO,KAAK;AAAA,EAEzE,OAAO,CAAC,UAA8B,KAAK,UAAU,MAAM,KAAK;AAAA,EAEhE,YAAY,CAAC,UAA8B,KAAK,UAAU,OAAO,KAAK;AAAA,EAEtE,MAAM,MAAqB,IAAI,cAAc,KAAK,UAAU,CAAC;AAAA,EAE7D,OAAO,MAAqB,IAAI,cAAc,KAAK,UAAU,EAAE;AAAA,EAErD,YAAY,CAAC,UAAkB,UAA8B,YAAY,KAAK,UAAU,UAAU,OAAO,KAAK,SAAS,OAAO;AAC1I;AAEO,IAAM,UAAU,CAAC,MAA4B,UAAU,CAAC,KAAK,aAAa;","names":[]}
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Gateway
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GUSPHVF2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
toPageList
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-57QV3J5N.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Exception,
|
|
9
9
|
when
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-PFAEQQXA.mjs";
|
|
11
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
12
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
13
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
14
14
|
import "../chunk-SJGQU3OG.mjs";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-HUJHIZYS.mjs";
|
|
17
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
18
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
15
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
19
16
|
import {
|
|
20
17
|
isDefined
|
|
21
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-UWNXWKBU.mjs";
|
|
19
|
+
import "../chunk-PIRWVOO2.mjs";
|
|
22
20
|
import "../chunk-4N72FQFX.mjs";
|
|
23
21
|
|
|
24
22
|
// src/data/InMemoryGateway.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/data/InMemoryGateway.ts"],"sourcesContent":["import { Exception, FetchOptions, Gateway, Id, isDefined, Json, JsonValue, Optional, PageList, toPageList } from '../types';\nimport { when } from '../validation';\n\nexport class InMemoryGateway extends Gateway {\n constructor(private readonly data: Promise<PageList<Json>>) {\n super();\n }\n\n all(options?: FetchOptions): Promise<PageList<Json>> {\n return this.data.then(d => toPageList(d, d));\n }\n\n byId(id: Id): Promise<Optional<Json>> {\n return this.data.then(d => d.byId(id)).then(d => (d ? { ...d } : undefined));\n }\n\n by = (key: string, value: JsonValue): Promise<PageList<Json>> => {\n return this.data.then(d => d.filter(i => i[key] === value));\n };\n\n exists(id: Id): Promise<boolean> {\n return this.byId(id).then(d => isDefined(d));\n }\n\n add(item: Json): Promise<Json> {\n return when(item)\n .not.contains(i => i.id)\n .reject(Exception.IsMissingId)\n .then(i => this.exists(i.id as Id))\n .then(ex => when(ex).isTrue.reject(Exception.AlreadyExists))\n .then(() => this.data.then(d => d.add(item)))\n .then(() => ({ ...item }));\n }\n\n remove(id: Id): Promise<true> {\n return this.data\n .then(d =>\n when(d.findIndex(i => i.id === id))\n .with(i => i < 0)\n .reject(Exception.DoesNotExist)\n .then(i => d.splice(i, 1))\n )\n .then(() => true);\n }\n\n update(item: Json): Promise<Json> {\n return when(item)\n .not.contains(i => i.id)\n .reject(Exception.IsMissingId)\n .then(i => this.remove(i.id as Id).then(() => this.add(i)));\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/data/InMemoryGateway.ts"],"sourcesContent":["import { Exception, FetchOptions, Gateway, Id, isDefined, Json, JsonValue, Optional, PageList, toPageList } from '../types';\nimport { when } from '../validation';\n\nexport class InMemoryGateway extends Gateway {\n constructor(private readonly data: Promise<PageList<Json>>) {\n super();\n }\n\n all(options?: FetchOptions): Promise<PageList<Json>> {\n return this.data.then(d => toPageList(d, d));\n }\n\n byId(id: Id): Promise<Optional<Json>> {\n return this.data.then(d => d.byId(id)).then(d => (d ? { ...d } : undefined));\n }\n\n by = (key: string, value: JsonValue): Promise<PageList<Json>> => {\n return this.data.then(d => d.filter(i => i[key] === value));\n };\n\n exists(id: Id): Promise<boolean> {\n return this.byId(id).then(d => isDefined(d));\n }\n\n add(item: Json): Promise<Json> {\n return when(item)\n .not.contains(i => i.id)\n .reject(Exception.IsMissingId)\n .then(i => this.exists(i.id as Id))\n .then(ex => when(ex).isTrue.reject(Exception.AlreadyExists))\n .then(() => this.data.then(d => d.add(item)))\n .then(() => ({ ...item }));\n }\n\n remove(id: Id): Promise<true> {\n return this.data\n .then(d =>\n when(d.findIndex(i => i.id === id))\n .with(i => i < 0)\n .reject(Exception.DoesNotExist)\n .then(i => d.splice(i, 1))\n )\n .then(() => true);\n }\n\n update(item: Json): Promise<Json> {\n return when(item)\n .not.contains(i => i.id)\n .reject(Exception.IsMissingId)\n .then(i => this.remove(i.id as Id).then(() => this.add(i)));\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAGO,IAAM,kBAAN,cAA8B,QAAQ;AAAA,EAC3C,YAA6B,MAA+B;AAC1D,UAAM;AADqB;AAAA,EAE7B;AAAA,EAEA,IAAI,SAAiD;AACnD,WAAO,KAAK,KAAK,KAAK,OAAK,WAAW,GAAG,CAAC,CAAC;AAAA,EAC7C;AAAA,EAEA,KAAK,IAAiC;AACpC,WAAO,KAAK,KAAK,KAAK,OAAK,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,OAAM,IAAI,EAAE,GAAG,EAAE,IAAI,MAAU;AAAA,EAC7E;AAAA,EAEA,KAAK,CAAC,KAAa,UAA8C;AAC/D,WAAO,KAAK,KAAK,KAAK,OAAK,EAAE,OAAO,OAAK,EAAE,GAAG,MAAM,KAAK,CAAC;AAAA,EAC5D;AAAA,EAEA,OAAO,IAA0B;AAC/B,WAAO,KAAK,KAAK,EAAE,EAAE,KAAK,OAAK,UAAU,CAAC,CAAC;AAAA,EAC7C;AAAA,EAEA,IAAI,MAA2B;AAC7B,WAAO,KAAK,IAAI,EACb,IAAI,SAAS,OAAK,EAAE,EAAE,EACtB,OAAO,UAAU,WAAW,EAC5B,KAAK,OAAK,KAAK,OAAO,EAAE,EAAQ,CAAC,EACjC,KAAK,QAAM,KAAK,EAAE,EAAE,OAAO,OAAO,UAAU,aAAa,CAAC,EAC1D,KAAK,MAAM,KAAK,KAAK,KAAK,OAAK,EAAE,IAAI,IAAI,CAAC,CAAC,EAC3C,KAAK,OAAO,EAAE,GAAG,KAAK,EAAE;AAAA,EAC7B;AAAA,EAEA,OAAO,IAAuB;AAC5B,WAAO,KAAK,KACT;AAAA,MAAK,OACJ,KAAK,EAAE,UAAU,OAAK,EAAE,OAAO,EAAE,CAAC,EAC/B,KAAK,OAAK,IAAI,CAAC,EACf,OAAO,UAAU,YAAY,EAC7B,KAAK,OAAK,EAAE,OAAO,GAAG,CAAC,CAAC;AAAA,IAC7B,EACC,KAAK,MAAM,IAAI;AAAA,EACpB;AAAA,EAEA,OAAO,MAA2B;AAChC,WAAO,KAAK,IAAI,EACb,IAAI,SAAS,OAAK,EAAE,EAAE,EACtB,OAAO,UAAU,WAAW,EAC5B,KAAK,OAAK,KAAK,OAAO,EAAE,EAAQ,EAAE,KAAK,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC;AAAA,EAC9D;AACF;","names":[]}
|
package/dist/domain/Audit.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import { Struct } from './Struct';
|
|
2
|
-
import {
|
|
2
|
+
import { Identity, Json } from '../types';
|
|
3
3
|
import { DateTime } from './values';
|
|
4
4
|
export declare class Audit extends Struct {
|
|
5
|
-
readonly by:
|
|
6
|
-
id: Id;
|
|
7
|
-
user: string;
|
|
8
|
-
};
|
|
5
|
+
readonly by: Identity;
|
|
9
6
|
readonly when: DateTime;
|
|
10
7
|
constructor(json?: Json);
|
|
11
8
|
}
|
package/dist/domain/Audit.mjs
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Audit
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-F4CWMZCV.mjs";
|
|
4
|
+
import "../chunk-A5MC57TL.mjs";
|
|
5
|
+
import "../chunk-Y5WPU3ZU.mjs";
|
|
6
6
|
import "../chunk-ADJAEGCT.mjs";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-65W3AYRE.mjs";
|
|
8
|
+
import "../chunk-PFAEQQXA.mjs";
|
|
9
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
10
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
11
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
12
12
|
import "../chunk-SJGQU3OG.mjs";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
13
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
14
|
+
import "../chunk-UWNXWKBU.mjs";
|
|
16
15
|
import "../chunk-PIRWVOO2.mjs";
|
|
17
|
-
import "../chunk-OXBQSJDF.mjs";
|
|
18
16
|
import "../chunk-4N72FQFX.mjs";
|
|
19
17
|
export {
|
|
20
18
|
Audit
|
package/dist/domain/Child.mjs
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toId
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-GCPVSACZ.mjs";
|
|
4
|
+
import "../chunk-OXVJLJIE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
required
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-Y5WPU3ZU.mjs";
|
|
8
8
|
import "../chunk-ADJAEGCT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Struct
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-65W3AYRE.mjs";
|
|
12
12
|
import {
|
|
13
13
|
json
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-PFAEQQXA.mjs";
|
|
15
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
16
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
17
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
18
18
|
import "../chunk-SJGQU3OG.mjs";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
19
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
20
|
+
import "../chunk-UWNXWKBU.mjs";
|
|
22
21
|
import "../chunk-PIRWVOO2.mjs";
|
|
23
|
-
import "../chunk-OXBQSJDF.mjs";
|
|
24
22
|
import {
|
|
25
23
|
__decorateClass
|
|
26
24
|
} from "../chunk-4N72FQFX.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/domain/Child.ts"],"sourcesContent":["import { Struct } from './Struct';\nimport { Id, json, Json, toId } from '../types';\nimport { required } from '../validation';\n\nexport abstract class Child extends Struct {\n @required() readonly id: Id = this.state.id ?? toId();\n\n protected merge(a: unknown): Json {\n return json.merge(this, a, { id: this.id });\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/domain/Child.ts"],"sourcesContent":["import { Struct } from './Struct';\nimport { Id, json, Json, toId } from '../types';\nimport { required } from '../validation';\n\nexport abstract class Child extends Struct {\n @required() readonly id: Id = this.state.id ?? toId();\n\n protected merge(a: unknown): Json {\n return json.merge(this, a, { id: this.id });\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,IAAe,QAAf,cAA6B,OAAO;AAAA,EACpB,KAAS,KAAK,MAAM,MAAM,KAAK;AAAA,EAE1C,MAAM,GAAkB;AAChC,WAAO,KAAK,MAAM,MAAM,GAAG,EAAE,IAAI,KAAK,GAAG,CAAC;AAAA,EAC5C;AACF;AALuB;AAAA,EAApB,SAAS;AAAA,GADU,MACC;","names":[]}
|
package/dist/domain/Entity.mjs
CHANGED
|
@@ -1,30 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Audit
|
|
3
|
-
} from "../chunk-WG634V2Y.mjs";
|
|
4
|
-
import "../chunk-Q72JVDUL.mjs";
|
|
5
1
|
import {
|
|
6
2
|
toId
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-GCPVSACZ.mjs";
|
|
4
|
+
import "../chunk-OXVJLJIE.mjs";
|
|
5
|
+
import {
|
|
6
|
+
Audit
|
|
7
|
+
} from "../chunk-F4CWMZCV.mjs";
|
|
8
|
+
import "../chunk-A5MC57TL.mjs";
|
|
9
9
|
import {
|
|
10
10
|
required
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-Y5WPU3ZU.mjs";
|
|
12
12
|
import "../chunk-ADJAEGCT.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Struct
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-65W3AYRE.mjs";
|
|
16
16
|
import {
|
|
17
17
|
json
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-PFAEQQXA.mjs";
|
|
19
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
20
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
21
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
22
22
|
import "../chunk-SJGQU3OG.mjs";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
23
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
24
|
+
import "../chunk-UWNXWKBU.mjs";
|
|
26
25
|
import "../chunk-PIRWVOO2.mjs";
|
|
27
|
-
import "../chunk-OXBQSJDF.mjs";
|
|
28
26
|
import {
|
|
29
27
|
__decorateClass
|
|
30
28
|
} from "../chunk-4N72FQFX.mjs";
|
|
@@ -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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Repository
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GJFFYHHX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Exception,
|
|
6
6
|
asList,
|
|
@@ -8,18 +8,16 @@ import {
|
|
|
8
8
|
resolve,
|
|
9
9
|
toJson,
|
|
10
10
|
when
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-PFAEQQXA.mjs";
|
|
12
12
|
import {
|
|
13
13
|
isValidatable
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-4ROYPQPC.mjs";
|
|
15
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
16
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
17
17
|
import "../chunk-SJGQU3OG.mjs";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
18
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
19
|
+
import "../chunk-UWNXWKBU.mjs";
|
|
21
20
|
import "../chunk-PIRWVOO2.mjs";
|
|
22
|
-
import "../chunk-OXBQSJDF.mjs";
|
|
23
21
|
import "../chunk-4N72FQFX.mjs";
|
|
24
22
|
|
|
25
23
|
// src/domain/Repo.ts
|
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":"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","names":[]}
|
package/dist/domain/Struct.mjs
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Struct,
|
|
3
3
|
isStruct
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-65W3AYRE.mjs";
|
|
5
|
+
import "../chunk-PFAEQQXA.mjs";
|
|
6
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
7
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
8
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
9
9
|
import "../chunk-SJGQU3OG.mjs";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
10
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
11
|
+
import "../chunk-UWNXWKBU.mjs";
|
|
13
12
|
import "../chunk-PIRWVOO2.mjs";
|
|
14
|
-
import "../chunk-OXBQSJDF.mjs";
|
|
15
13
|
import "../chunk-4N72FQFX.mjs";
|
|
16
14
|
export {
|
|
17
15
|
Struct,
|
package/dist/domain/Typo.mjs
CHANGED
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Repository
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GJFFYHHX.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Exception,
|
|
6
6
|
when
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-PFAEQQXA.mjs";
|
|
8
|
+
import "../chunk-4ROYPQPC.mjs";
|
|
9
|
+
import "../chunk-PWCGCUT7.mjs";
|
|
10
|
+
import "../chunk-Q5ATL34D.mjs";
|
|
11
11
|
import "../chunk-SJGQU3OG.mjs";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-PSIJUWZT.mjs";
|
|
12
|
+
import "../chunk-ZELLSP3E.mjs";
|
|
13
|
+
import "../chunk-UWNXWKBU.mjs";
|
|
15
14
|
import "../chunk-PIRWVOO2.mjs";
|
|
16
|
-
import "../chunk-OXBQSJDF.mjs";
|
|
17
15
|
import "../chunk-4N72FQFX.mjs";
|
|
18
16
|
|
|
19
17
|
// src/domain/Typo.ts
|
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,16 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Country
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-I2NKUYUM.mjs";
|
|
4
|
+
import "../../chunk-PFAEQQXA.mjs";
|
|
5
|
+
import "../../chunk-4ROYPQPC.mjs";
|
|
6
|
+
import "../../chunk-PWCGCUT7.mjs";
|
|
7
|
+
import "../../chunk-Q5ATL34D.mjs";
|
|
8
8
|
import "../../chunk-SJGQU3OG.mjs";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-PSIJUWZT.mjs";
|
|
9
|
+
import "../../chunk-ZELLSP3E.mjs";
|
|
10
|
+
import "../../chunk-UWNXWKBU.mjs";
|
|
12
11
|
import "../../chunk-PIRWVOO2.mjs";
|
|
13
|
-
import "../../chunk-OXBQSJDF.mjs";
|
|
14
12
|
import "../../chunk-4N72FQFX.mjs";
|
|
15
13
|
export {
|
|
16
14
|
Country
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Currency
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-YUSOGMIJ.mjs";
|
|
4
|
+
import "../../chunk-Y5WPU3ZU.mjs";
|
|
5
5
|
import "../../chunk-ADJAEGCT.mjs";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-65W3AYRE.mjs";
|
|
7
|
+
import "../../chunk-PFAEQQXA.mjs";
|
|
8
|
+
import "../../chunk-4ROYPQPC.mjs";
|
|
9
|
+
import "../../chunk-PWCGCUT7.mjs";
|
|
10
|
+
import "../../chunk-Q5ATL34D.mjs";
|
|
11
11
|
import "../../chunk-SJGQU3OG.mjs";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-PSIJUWZT.mjs";
|
|
12
|
+
import "../../chunk-ZELLSP3E.mjs";
|
|
13
|
+
import "../../chunk-UWNXWKBU.mjs";
|
|
15
14
|
import "../../chunk-PIRWVOO2.mjs";
|
|
16
|
-
import "../../chunk-OXBQSJDF.mjs";
|
|
17
15
|
import "../../chunk-4N72FQFX.mjs";
|
|
18
16
|
export {
|
|
19
17
|
Currency
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Enum
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-PFAEQQXA.mjs";
|
|
4
|
+
import "../../chunk-4ROYPQPC.mjs";
|
|
5
|
+
import "../../chunk-PWCGCUT7.mjs";
|
|
6
|
+
import "../../chunk-Q5ATL34D.mjs";
|
|
7
7
|
import "../../chunk-SJGQU3OG.mjs";
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-PSIJUWZT.mjs";
|
|
8
|
+
import "../../chunk-ZELLSP3E.mjs";
|
|
9
|
+
import "../../chunk-UWNXWKBU.mjs";
|
|
11
10
|
import "../../chunk-PIRWVOO2.mjs";
|
|
12
|
-
import "../../chunk-OXBQSJDF.mjs";
|
|
13
11
|
import "../../chunk-4N72FQFX.mjs";
|
|
14
12
|
|
|
15
13
|
// src/domain/enums/Environment.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/domain/enums/Environment.ts"],"sourcesContent":["import { Enum } from '../../types';\n\nexport class Environment extends Enum {\n static readonly Dev = new Environment('Development', 'dev');\n static readonly Tst = new Environment('Test', 'tst');\n static readonly Acc = new Environment('Acceptance', 'acc');\n static readonly Prd = new Environment('Production', 'prd');\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../../src/domain/enums/Environment.ts"],"sourcesContent":["import { Enum } from '../../types';\n\nexport class Environment extends Enum {\n static readonly Dev = new Environment('Development', 'dev');\n static readonly Tst = new Environment('Test', 'tst');\n static readonly Acc = new Environment('Acceptance', 'acc');\n static readonly Prd = new Environment('Production', 'prd');\n}\n"],"mappings":";;;;;;;;;;;;;AAEO,IAAM,cAAN,MAAM,qBAAoB,KAAK;AAAA,EACpC,OAAgB,MAAM,IAAI,aAAY,eAAe,KAAK;AAAA,EAC1D,OAAgB,MAAM,IAAI,aAAY,QAAQ,KAAK;AAAA,EACnD,OAAgB,MAAM,IAAI,aAAY,cAAc,KAAK;AAAA,EACzD,OAAgB,MAAM,IAAI,aAAY,cAAc,KAAK;AAC3D;","names":[]}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Enum,
|
|
3
3
|
text
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-PFAEQQXA.mjs";
|
|
5
|
+
import "../../chunk-4ROYPQPC.mjs";
|
|
6
|
+
import "../../chunk-PWCGCUT7.mjs";
|
|
7
|
+
import "../../chunk-Q5ATL34D.mjs";
|
|
8
8
|
import "../../chunk-SJGQU3OG.mjs";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-PSIJUWZT.mjs";
|
|
9
|
+
import "../../chunk-ZELLSP3E.mjs";
|
|
10
|
+
import "../../chunk-UWNXWKBU.mjs";
|
|
12
11
|
import "../../chunk-PIRWVOO2.mjs";
|
|
13
|
-
import "../../chunk-OXBQSJDF.mjs";
|
|
14
12
|
import "../../chunk-4N72FQFX.mjs";
|
|
15
13
|
|
|
16
14
|
// src/domain/enums/Locale.ts
|