@thisisagile/easy 18.6.0 → 18.8.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-34COXZ5A.mjs → chunk-5N6Q7OXJ.mjs} +3 -3
- package/dist/{chunk-ZBVKM7WT.mjs → chunk-63DTRTSC.mjs} +4 -8
- package/dist/{chunk-ZBVKM7WT.mjs.map → chunk-63DTRTSC.mjs.map} +1 -1
- package/dist/{chunk-U3NVU37K.mjs → chunk-6PMTGQVO.mjs} +3 -3
- package/dist/{chunk-ISRJB7Z4.mjs → chunk-6YTIRHPN.mjs} +4 -6
- package/dist/{chunk-ISRJB7Z4.mjs.map → chunk-6YTIRHPN.mjs.map} +1 -1
- package/dist/{chunk-GOZMSSH5.mjs → chunk-AYR4US3Z.mjs} +2 -2
- package/dist/{chunk-6MBDCDGA.mjs → chunk-B37NZCNW.mjs} +2 -2
- package/dist/{chunk-H73MZAGT.mjs → chunk-FF3BNZ4H.mjs} +3 -5
- package/dist/{chunk-H73MZAGT.mjs.map → chunk-FF3BNZ4H.mjs.map} +1 -1
- package/dist/{chunk-WWYPWYFC.mjs → chunk-FFD2T6YV.mjs} +2 -2
- package/dist/{chunk-GV6NUD6R.mjs → chunk-FSWASMJZ.mjs} +2 -2
- package/dist/{chunk-TRR2LTWJ.mjs → chunk-GF7JYGJU.mjs} +4 -8
- package/dist/{chunk-TRR2LTWJ.mjs.map → chunk-GF7JYGJU.mjs.map} +1 -1
- package/dist/{chunk-LPT6LW5N.mjs → chunk-GKQMIKIY.mjs} +2 -2
- package/dist/{chunk-C6VQGKDB.mjs → chunk-IESVFCB3.mjs} +3 -3
- package/dist/{chunk-JZCNZKGP.mjs → chunk-IYUYA5OX.mjs} +5 -5
- package/dist/{chunk-SW73SKB2.mjs → chunk-J5PB7ZVO.mjs} +4 -6
- package/dist/{chunk-SW73SKB2.mjs.map → chunk-J5PB7ZVO.mjs.map} +1 -1
- package/dist/{chunk-V6TMXDF7.mjs → chunk-JI7MC5EA.mjs} +2 -2
- package/dist/{chunk-GMFUUU3V.mjs → chunk-JM6NAJQ3.mjs} +4 -6
- package/dist/{chunk-GMFUUU3V.mjs.map → chunk-JM6NAJQ3.mjs.map} +1 -1
- package/dist/{chunk-2SE4U4T2.mjs → chunk-JNZUGKMO.mjs} +2 -2
- package/dist/{chunk-MLYUI7R7.mjs → chunk-KPXOQFEB.mjs} +4 -6
- package/dist/{chunk-MLYUI7R7.mjs.map → chunk-KPXOQFEB.mjs.map} +1 -1
- package/dist/{chunk-FAFNTQIS.mjs → chunk-LHDTOERW.mjs} +3 -5
- package/dist/{chunk-FAFNTQIS.mjs.map → chunk-LHDTOERW.mjs.map} +1 -1
- package/dist/{chunk-CFJJ2C6C.mjs → chunk-M2S4OLVZ.mjs} +2 -2
- package/dist/{chunk-SW5NBVHL.mjs → chunk-O4RWZGFC.mjs} +4 -6
- package/dist/{chunk-SW5NBVHL.mjs.map → chunk-O4RWZGFC.mjs.map} +1 -1
- package/dist/{chunk-ZEIIFJDX.mjs → chunk-QBPSI5NM.mjs} +4 -4
- package/dist/{chunk-HBDIZSIE.mjs → chunk-QLEGIYVU.mjs} +3 -5
- package/dist/{chunk-HBDIZSIE.mjs.map → chunk-QLEGIYVU.mjs.map} +1 -1
- package/dist/{chunk-DUYHH6LC.mjs → chunk-QZPBFVZL.mjs} +2 -2
- package/dist/{chunk-YXLGHJ5Q.mjs → chunk-RBJBAJOK.mjs} +2 -2
- package/dist/{chunk-5C5OHGRW.mjs → chunk-RW4AKBCN.mjs} +3 -3
- package/dist/{chunk-5FD5G442.mjs → chunk-SBT3WGBP.mjs} +7 -7
- package/dist/{chunk-USR4ETA7.mjs → chunk-TNIG6FU2.mjs} +2 -2
- package/dist/{chunk-5BGTUK7G.mjs → chunk-TUO7ZPSP.mjs} +540 -104
- package/dist/chunk-TUO7ZPSP.mjs.map +1 -0
- package/dist/{chunk-UATZAAX2.mjs → chunk-WOUH6UVC.mjs} +3 -5
- package/dist/{chunk-UATZAAX2.mjs.map → chunk-WOUH6UVC.mjs.map} +1 -1
- package/dist/{chunk-KXNGKB2N.mjs → chunk-XQ4F3L4F.mjs} +22 -16
- package/dist/{chunk-KXNGKB2N.mjs.map → chunk-XQ4F3L4F.mjs.map} +1 -1
- package/dist/{chunk-5MCJXABA.mjs → chunk-XQJ5LQEQ.mjs} +2 -2
- package/dist/{chunk-5JE4QW4E.mjs → chunk-ZBOGLMG2.mjs} +4 -4
- package/dist/{chunk-UGNNHNYX.mjs → chunk-ZRH6FGUK.mjs} +4 -4
- package/dist/{chunk-LCJEJ3LU.mjs → chunk-ZZ73Z5CU.mjs} +2 -2
- package/dist/data/Condition.mjs +5 -4
- package/dist/data/Database.mjs +4 -5
- package/dist/data/Field.mjs +5 -4
- package/dist/data/Field.mjs.map +1 -1
- package/dist/data/InMemoryGateway.mjs +4 -9
- package/dist/data/InMemoryGateway.mjs.map +1 -1
- package/dist/domain/Audit.mjs +8 -13
- package/dist/domain/Child.mjs +5 -10
- package/dist/domain/Child.mjs.map +1 -1
- package/dist/domain/DateTime.mjs +4 -9
- package/dist/domain/Entity.mjs +8 -13
- package/dist/domain/Entity.mjs.map +1 -1
- package/dist/domain/Repo.mjs +7 -14
- package/dist/domain/Repo.mjs.map +1 -1
- package/dist/domain/Struct.mjs +4 -9
- package/dist/domain/Typo.mjs +4 -9
- package/dist/domain/Typo.mjs.map +1 -1
- package/dist/http/CacheControl.mjs +6 -12
- package/dist/http/CacheControl.mjs.map +1 -1
- package/dist/http/ContentType.mjs +4 -5
- package/dist/http/HttpStatus.mjs +4 -5
- package/dist/http/HttpVerb.mjs +4 -5
- package/dist/http/LocalRequestStore.mjs +2 -7
- package/dist/http/LocalRequestStore.mjs.map +1 -1
- package/dist/http/RequestOptions.mjs +4 -9
- package/dist/http/RestResult.mjs +4 -9
- package/dist/http/toResponse.mjs +5 -10
- package/dist/index.js +540 -521
- package/dist/index.js.map +1 -1
- package/dist/process/App.mjs +3 -8
- package/dist/process/App.mjs.map +1 -1
- package/dist/process/Manage.mjs +4 -9
- package/dist/process/Manage.mjs.map +1 -1
- package/dist/process/Scope.mjs +3 -8
- package/dist/process/Search.mjs +4 -9
- package/dist/process/UseCase.mjs +5 -12
- package/dist/process/UseCase.mjs.map +1 -1
- package/dist/resources/Req.mjs +4 -9
- package/dist/resources/Req.mjs.map +1 -1
- package/dist/services/Api.mjs +12 -17
- package/dist/services/ApiGateway.mjs +15 -20
- package/dist/services/AxiosProvider.mjs +10 -15
- package/dist/services/MappedRouteGateway.mjs +18 -23
- package/dist/services/MappedRouteGateway.mjs.map +1 -1
- package/dist/services/RouteGateway.mjs +16 -21
- package/dist/services/ViewRouteGateway.mjs +18 -24
- package/dist/services/ViewRouteGateway.mjs.map +1 -1
- package/dist/sql/Column.mjs +3 -8
- package/dist/sql/Count.mjs +6 -4
- package/dist/sql/Delete.mjs +5 -3
- package/dist/sql/Insert.mjs +5 -3
- package/dist/sql/Select.mjs +5 -3
- package/dist/sql/SqlQuery.mjs +4 -2
- package/dist/sql/Table.mjs +13 -18
- package/dist/sql/Table.mjs.map +1 -1
- package/dist/sql/TableGateway.mjs +5 -11
- package/dist/sql/TableGateway.mjs.map +1 -1
- package/dist/sql/Update.mjs +5 -3
- package/dist/types/Cache.mjs +3 -3
- package/dist/types/CacheAge.mjs +4 -9
- package/dist/types/Case.mjs +2 -7
- package/dist/types/Context.mjs +2 -7
- package/dist/types/Enum.mjs +3 -4
- package/dist/types/Environment.mjs +3 -4
- package/dist/types/Environment.mjs.map +1 -1
- package/dist/types/Exception.mjs +2 -7
- package/dist/types/Gateway.mjs +3 -8
- package/dist/types/IsEqual.mjs +2 -8
- package/dist/types/Json.mjs +4 -3
- package/dist/types/List.mjs +3 -1
- package/dist/types/Meta.mjs +3 -3
- package/dist/types/Number.mjs +3 -8
- package/dist/types/Object.mjs +3 -2
- package/dist/types/PageList.mjs +3 -8
- package/dist/types/Parser.mjs +2 -7
- package/dist/types/Parser.mjs.map +1 -1
- package/dist/types/Repository.mjs +3 -8
- package/dist/types/Result.mjs +2 -7
- package/dist/types/Results.mjs +2 -7
- package/dist/types/Tag.mjs +3 -3
- package/dist/types/Template.mjs +2 -7
- package/dist/types/ToText.mjs +2 -7
- package/dist/types/Try.mjs +2 -7
- package/dist/types/Uri.mjs +5 -13
- package/dist/types/Uri.mjs.map +1 -1
- package/dist/utils/If.d.ts +2 -0
- package/dist/utils/If.mjs +5 -1
- package/dist/utils/Mapper.mjs +5 -5
- package/dist/utils/Period.mjs +4 -9
- package/dist/utils/Period.mjs.map +1 -1
- package/dist/utils/Promise.mjs +3 -3
- package/dist/utils/Seconds.mjs +4 -2
- package/dist/utils/Sentence.mjs +2 -7
- package/dist/utils/Sentence.mjs.map +1 -1
- package/dist/utils/View.d.ts +7 -0
- package/dist/utils/View.mjs +5 -11
- package/dist/validation/Contraints.mjs +3 -8
- package/dist/validation/Validate.mjs +2 -7
- package/dist/validation/When.mjs +2 -7
- package/package.json +1 -1
- package/src/utils/If.ts +7 -0
- package/src/utils/View.ts +14 -0
- package/dist/chunk-2PL5VUHT.mjs +0 -37
- package/dist/chunk-2PL5VUHT.mjs.map +0 -1
- package/dist/chunk-5BGTUK7G.mjs.map +0 -1
- package/dist/chunk-5FAZA55F.mjs +0 -58
- package/dist/chunk-5FAZA55F.mjs.map +0 -1
- package/dist/chunk-7A3RM67L.mjs +0 -68
- package/dist/chunk-7A3RM67L.mjs.map +0 -1
- package/dist/chunk-AJZIKJEC.mjs +0 -54
- package/dist/chunk-AJZIKJEC.mjs.map +0 -1
- package/dist/chunk-AQXV7L65.mjs +0 -310
- package/dist/chunk-AQXV7L65.mjs.map +0 -1
- package/dist/chunk-DC5HIBQG.mjs +0 -23
- package/dist/chunk-DC5HIBQG.mjs.map +0 -1
- /package/dist/{chunk-34COXZ5A.mjs.map → chunk-5N6Q7OXJ.mjs.map} +0 -0
- /package/dist/{chunk-U3NVU37K.mjs.map → chunk-6PMTGQVO.mjs.map} +0 -0
- /package/dist/{chunk-GOZMSSH5.mjs.map → chunk-AYR4US3Z.mjs.map} +0 -0
- /package/dist/{chunk-6MBDCDGA.mjs.map → chunk-B37NZCNW.mjs.map} +0 -0
- /package/dist/{chunk-WWYPWYFC.mjs.map → chunk-FFD2T6YV.mjs.map} +0 -0
- /package/dist/{chunk-GV6NUD6R.mjs.map → chunk-FSWASMJZ.mjs.map} +0 -0
- /package/dist/{chunk-LPT6LW5N.mjs.map → chunk-GKQMIKIY.mjs.map} +0 -0
- /package/dist/{chunk-C6VQGKDB.mjs.map → chunk-IESVFCB3.mjs.map} +0 -0
- /package/dist/{chunk-JZCNZKGP.mjs.map → chunk-IYUYA5OX.mjs.map} +0 -0
- /package/dist/{chunk-V6TMXDF7.mjs.map → chunk-JI7MC5EA.mjs.map} +0 -0
- /package/dist/{chunk-2SE4U4T2.mjs.map → chunk-JNZUGKMO.mjs.map} +0 -0
- /package/dist/{chunk-CFJJ2C6C.mjs.map → chunk-M2S4OLVZ.mjs.map} +0 -0
- /package/dist/{chunk-ZEIIFJDX.mjs.map → chunk-QBPSI5NM.mjs.map} +0 -0
- /package/dist/{chunk-DUYHH6LC.mjs.map → chunk-QZPBFVZL.mjs.map} +0 -0
- /package/dist/{chunk-YXLGHJ5Q.mjs.map → chunk-RBJBAJOK.mjs.map} +0 -0
- /package/dist/{chunk-5C5OHGRW.mjs.map → chunk-RW4AKBCN.mjs.map} +0 -0
- /package/dist/{chunk-5FD5G442.mjs.map → chunk-SBT3WGBP.mjs.map} +0 -0
- /package/dist/{chunk-USR4ETA7.mjs.map → chunk-TNIG6FU2.mjs.map} +0 -0
- /package/dist/{chunk-5MCJXABA.mjs.map → chunk-XQJ5LQEQ.mjs.map} +0 -0
- /package/dist/{chunk-5JE4QW4E.mjs.map → chunk-ZBOGLMG2.mjs.map} +0 -0
- /package/dist/{chunk-UGNNHNYX.mjs.map → chunk-ZRH6FGUK.mjs.map} +0 -0
- /package/dist/{chunk-LCJEJ3LU.mjs.map → chunk-ZZ73Z5CU.mjs.map} +0 -0
package/dist/domain/Child.mjs
CHANGED
|
@@ -4,24 +4,19 @@ import {
|
|
|
4
4
|
import "../chunk-KL75JJTY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
required
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-GF7JYGJU.mjs";
|
|
8
8
|
import "../chunk-ADJAEGCT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Struct
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-RW4AKBCN.mjs";
|
|
12
12
|
import {
|
|
13
13
|
json
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-WOUH6UVC.mjs";
|
|
15
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
16
16
|
import "../chunk-GPNPXSOF.mjs";
|
|
17
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
18
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
19
|
-
import "../chunk-7A3RM67L.mjs";
|
|
20
|
-
import "../chunk-5FAZA55F.mjs";
|
|
21
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
22
|
-
import "../chunk-AQXV7L65.mjs";
|
|
23
17
|
import "../chunk-QCPWEAAJ.mjs";
|
|
24
18
|
import "../chunk-SSROJBD5.mjs";
|
|
19
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
25
20
|
import "../chunk-4Q6IHSAU.mjs";
|
|
26
21
|
import "../chunk-SJGQU3OG.mjs";
|
|
27
22
|
import "../chunk-MDIO6K2O.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/domain/Child.ts"],"sourcesContent":["import { Struct } from './Struct';\nimport { required } from '../validation/Contraints';\nimport { Id, toId } from '../types/Id';\nimport { json, Json } from '../types/Json';\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 { required } from '../validation/Contraints';\nimport { Id, toId } from '../types/Id';\nimport { json, Json } from '../types/Json';\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKO,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/DateTime.mjs
CHANGED
|
@@ -2,19 +2,14 @@ import {
|
|
|
2
2
|
DateTime,
|
|
3
3
|
dt,
|
|
4
4
|
isDateTime
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-KPXOQFEB.mjs";
|
|
6
|
+
import "../chunk-M2S4OLVZ.mjs";
|
|
7
7
|
import "../chunk-ADJAEGCT.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
9
9
|
import "../chunk-GPNPXSOF.mjs";
|
|
10
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
11
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
12
|
-
import "../chunk-7A3RM67L.mjs";
|
|
13
|
-
import "../chunk-5FAZA55F.mjs";
|
|
14
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
15
|
-
import "../chunk-AQXV7L65.mjs";
|
|
16
10
|
import "../chunk-QCPWEAAJ.mjs";
|
|
17
11
|
import "../chunk-SSROJBD5.mjs";
|
|
12
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
18
13
|
import "../chunk-4Q6IHSAU.mjs";
|
|
19
14
|
import "../chunk-SJGQU3OG.mjs";
|
|
20
15
|
import "../chunk-MDIO6K2O.mjs";
|
package/dist/domain/Entity.mjs
CHANGED
|
@@ -4,29 +4,24 @@ import {
|
|
|
4
4
|
import "../chunk-KL75JJTY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Audit
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-IYUYA5OX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
required
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-GF7JYGJU.mjs";
|
|
11
|
+
import "../chunk-KPXOQFEB.mjs";
|
|
12
|
+
import "../chunk-M2S4OLVZ.mjs";
|
|
13
13
|
import "../chunk-ADJAEGCT.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Struct
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-RW4AKBCN.mjs";
|
|
17
17
|
import {
|
|
18
18
|
json
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-WOUH6UVC.mjs";
|
|
20
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
21
21
|
import "../chunk-GPNPXSOF.mjs";
|
|
22
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
23
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
24
|
-
import "../chunk-7A3RM67L.mjs";
|
|
25
|
-
import "../chunk-5FAZA55F.mjs";
|
|
26
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
27
|
-
import "../chunk-AQXV7L65.mjs";
|
|
28
22
|
import "../chunk-QCPWEAAJ.mjs";
|
|
29
23
|
import "../chunk-SSROJBD5.mjs";
|
|
24
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
30
25
|
import "../chunk-4Q6IHSAU.mjs";
|
|
31
26
|
import "../chunk-SJGQU3OG.mjs";
|
|
32
27
|
import "../chunk-MDIO6K2O.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/domain/Entity.ts"],"sourcesContent":["import { Struct } from './Struct';\nimport { Audit } from './Audit';\nimport { required } from '../validation/Contraints';\nimport { Id, toId } from '../types/Id';\nimport { json, Json } from '../types/Json';\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 { Audit } from './Audit';\nimport { required } from '../validation/Contraints';\nimport { Id, toId } from '../types/Id';\nimport { json, Json } from '../types/Json';\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,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,29 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Repository
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-LHDTOERW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
toJson
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-WOUH6UVC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Exception,
|
|
9
|
+
asList,
|
|
10
|
+
reject,
|
|
11
|
+
resolve,
|
|
9
12
|
when
|
|
10
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-TUO7ZPSP.mjs";
|
|
11
14
|
import {
|
|
12
15
|
isValidatable
|
|
13
16
|
} from "../chunk-GPNPXSOF.mjs";
|
|
14
|
-
import {
|
|
15
|
-
reject,
|
|
16
|
-
resolve
|
|
17
|
-
} from "../chunk-AJZIKJEC.mjs";
|
|
18
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
19
|
-
import "../chunk-7A3RM67L.mjs";
|
|
20
|
-
import "../chunk-5FAZA55F.mjs";
|
|
21
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
22
|
-
import {
|
|
23
|
-
asList
|
|
24
|
-
} from "../chunk-AQXV7L65.mjs";
|
|
25
17
|
import "../chunk-QCPWEAAJ.mjs";
|
|
26
18
|
import "../chunk-SSROJBD5.mjs";
|
|
19
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
27
20
|
import "../chunk-4Q6IHSAU.mjs";
|
|
28
21
|
import "../chunk-SJGQU3OG.mjs";
|
|
29
22
|
import "../chunk-MDIO6K2O.mjs";
|
package/dist/domain/Repo.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/domain/Repo.ts"],"sourcesContent":["import { Struct } from './Struct';\nimport { FetchOptions, Gateway } from '../types/Gateway';\nimport { Repository } from '../types/Repository';\nimport { Constructor } from '../types/Constructor';\nimport { Json, JsonValue, toJson } from '../types/Json';\nimport { isValidatable } from '../types/Validatable';\nimport { PageList } from '../types/PageList';\nimport { Id, Key } from '../types/Id';\nimport { when } from '../validation/When';\nimport { Exception } from '../types/Exception';\nimport { asList, List } from '../types/List';\nimport { reject, resolve } from '../utils/Promise';\n\nexport type RepoAction = 'add' | 'update' | 'remove';\n\nexport class Repo<T extends Struct, Options = FetchOptions> extends Repository<T, Options> {\n constructor(\n protected ctor: Constructor<T>,\n private readonly gateway: Gateway<Options>\n ) {\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 { Struct } from './Struct';\nimport { FetchOptions, Gateway } from '../types/Gateway';\nimport { Repository } from '../types/Repository';\nimport { Constructor } from '../types/Constructor';\nimport { Json, JsonValue, toJson } from '../types/Json';\nimport { isValidatable } from '../types/Validatable';\nimport { PageList } from '../types/PageList';\nimport { Id, Key } from '../types/Id';\nimport { when } from '../validation/When';\nimport { Exception } from '../types/Exception';\nimport { asList, List } from '../types/List';\nimport { reject, resolve } from '../utils/Promise';\n\nexport type RepoAction = 'add' | 'update' | 'remove';\n\nexport class Repo<T extends Struct, Options = FetchOptions> extends Repository<T, Options> {\n constructor(\n protected ctor: Constructor<T>,\n private readonly gateway: Gateway<Options>\n ) {\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,18 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Struct,
|
|
3
3
|
isStruct
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-RW4AKBCN.mjs";
|
|
5
|
+
import "../chunk-WOUH6UVC.mjs";
|
|
6
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
7
7
|
import "../chunk-GPNPXSOF.mjs";
|
|
8
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
9
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
10
|
-
import "../chunk-7A3RM67L.mjs";
|
|
11
|
-
import "../chunk-5FAZA55F.mjs";
|
|
12
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
13
|
-
import "../chunk-AQXV7L65.mjs";
|
|
14
8
|
import "../chunk-QCPWEAAJ.mjs";
|
|
15
9
|
import "../chunk-SSROJBD5.mjs";
|
|
10
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
16
11
|
import "../chunk-4Q6IHSAU.mjs";
|
|
17
12
|
import "../chunk-SJGQU3OG.mjs";
|
|
18
13
|
import "../chunk-MDIO6K2O.mjs";
|
package/dist/domain/Typo.mjs
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Repository
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-LHDTOERW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
toJson
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-WOUH6UVC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Exception,
|
|
9
9
|
when
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-TUO7ZPSP.mjs";
|
|
11
11
|
import "../chunk-GPNPXSOF.mjs";
|
|
12
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
13
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
14
|
-
import "../chunk-7A3RM67L.mjs";
|
|
15
|
-
import "../chunk-5FAZA55F.mjs";
|
|
16
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
17
|
-
import "../chunk-AQXV7L65.mjs";
|
|
18
12
|
import "../chunk-QCPWEAAJ.mjs";
|
|
19
13
|
import "../chunk-SSROJBD5.mjs";
|
|
14
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
20
15
|
import "../chunk-4Q6IHSAU.mjs";
|
|
21
16
|
import "../chunk-SJGQU3OG.mjs";
|
|
22
17
|
import "../chunk-MDIO6K2O.mjs";
|
package/dist/domain/Typo.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/domain/Typo.ts"],"sourcesContent":["import { View } from '../utils/View';\nimport { FetchOptions, Gateway } from '../types/Gateway';\nimport { Repository } from '../types/Repository';\nimport { Json, JsonValue, toJson } from '../types/Json';\nimport { PageList } from '../types/PageList';\nimport { Id, Key } from '../types/Id';\nimport { when } from '../validation/When';\nimport { Exception } from '../types/Exception';\nimport { List } from '../types/List';\nimport { RouteGateway } from '../services/RouteGateway';\nimport { RouteOptions } from '../services/Api';\n\nexport class Typo<T, Options extends RouteOptions = RouteOptions> extends Repository<T, Options> {\n constructor(\n protected view: View<T>,\n private readonly gateway: Gateway<Options>\n ) {\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\nexport class Agent<T, Options extends FetchOptions = FetchOptions> extends Repository<T, Options> {\n constructor(private gateway: RouteGateway) {\n super();\n }\n\n all(options?: Options): Promise<PageList<T>> {\n return this.gateway.all(options) as Promise<PageList<T>>;\n }\n\n byId(id: Id): Promise<T> {\n return this.gateway.byId(id) as Promise<T>;\n }\n\n byIds(...ids: Id[]): Promise<List<T>> {\n return this.gateway.byIds(...ids) as Promise<List<T>>;\n }\n\n byKey(key: Key, options?: Options): Promise<PageList<T>> {\n return this.gateway.by('key', key, options) as Promise<PageList<T>>;\n }\n\n by(key: keyof T, value: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.by(key.toString(), value, options) as Promise<PageList<T>>;\n }\n\n search(q: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.search(q, options) as Promise<PageList<T>>;\n }\n\n filter(options?: Options): Promise<PageList<T>> {\n return this.gateway.filter(options) as Promise<PageList<T>>;\n }\n\n exists(id: Id): Promise<boolean> {\n return this.gateway.exists(id);\n }\n\n add(t: Partial<T>): Promise<T> {\n return this.gateway.add(toJson(t)) as Promise<T>;\n }\n\n update(id: Id, t: Partial<T>): Promise<T> {\n return this.gateway.update({ ...toJson(t), id }) as Promise<T>;\n }\n\n upsert(id: Id, t: Partial<T>): Promise<T> {\n return this.gateway.upsert({ ...toJson(t), id }) as Promise<T>;\n }\n\n remove(id: Id): Promise<boolean> {\n return this.gateway.remove(id);\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/domain/Typo.ts"],"sourcesContent":["import { View } from '../utils/View';\nimport { FetchOptions, Gateway } from '../types/Gateway';\nimport { Repository } from '../types/Repository';\nimport { Json, JsonValue, toJson } from '../types/Json';\nimport { PageList } from '../types/PageList';\nimport { Id, Key } from '../types/Id';\nimport { when } from '../validation/When';\nimport { Exception } from '../types/Exception';\nimport { List } from '../types/List';\nimport { RouteGateway } from '../services/RouteGateway';\nimport { RouteOptions } from '../services/Api';\n\nexport class Typo<T, Options extends RouteOptions = RouteOptions> extends Repository<T, Options> {\n constructor(\n protected view: View<T>,\n private readonly gateway: Gateway<Options>\n ) {\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\nexport class Agent<T, Options extends FetchOptions = FetchOptions> extends Repository<T, Options> {\n constructor(private gateway: RouteGateway) {\n super();\n }\n\n all(options?: Options): Promise<PageList<T>> {\n return this.gateway.all(options) as Promise<PageList<T>>;\n }\n\n byId(id: Id): Promise<T> {\n return this.gateway.byId(id) as Promise<T>;\n }\n\n byIds(...ids: Id[]): Promise<List<T>> {\n return this.gateway.byIds(...ids) as Promise<List<T>>;\n }\n\n byKey(key: Key, options?: Options): Promise<PageList<T>> {\n return this.gateway.by('key', key, options) as Promise<PageList<T>>;\n }\n\n by(key: keyof T, value: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.by(key.toString(), value, options) as Promise<PageList<T>>;\n }\n\n search(q: JsonValue, options?: Options): Promise<PageList<T>> {\n return this.gateway.search(q, options) as Promise<PageList<T>>;\n }\n\n filter(options?: Options): Promise<PageList<T>> {\n return this.gateway.filter(options) as Promise<PageList<T>>;\n }\n\n exists(id: Id): Promise<boolean> {\n return this.gateway.exists(id);\n }\n\n add(t: Partial<T>): Promise<T> {\n return this.gateway.add(toJson(t)) as Promise<T>;\n }\n\n update(id: Id, t: Partial<T>): Promise<T> {\n return this.gateway.update({ ...toJson(t), id }) as Promise<T>;\n }\n\n upsert(id: Id, t: Partial<T>): Promise<T> {\n return this.gateway.upsert({ ...toJson(t), id }) as Promise<T>;\n }\n\n remove(id: Id): Promise<boolean> {\n return this.gateway.remove(id);\n }\n}\n"],"mappings":"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","names":[]}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cacheAge,
|
|
3
3
|
isCacheAge
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-5BGTUK7G.mjs";
|
|
7
|
-
import "../chunk-GPNPXSOF.mjs";
|
|
8
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
9
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
10
|
-
import "../chunk-7A3RM67L.mjs";
|
|
11
|
-
import "../chunk-5FAZA55F.mjs";
|
|
12
|
-
import {
|
|
13
|
-
entries
|
|
14
|
-
} from "../chunk-2PL5VUHT.mjs";
|
|
4
|
+
} from "../chunk-IESVFCB3.mjs";
|
|
5
|
+
import "../chunk-XQJ5LQEQ.mjs";
|
|
15
6
|
import {
|
|
7
|
+
entries,
|
|
16
8
|
ifDefined
|
|
17
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-TUO7ZPSP.mjs";
|
|
10
|
+
import "../chunk-GPNPXSOF.mjs";
|
|
18
11
|
import "../chunk-QCPWEAAJ.mjs";
|
|
19
12
|
import "../chunk-SSROJBD5.mjs";
|
|
13
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
20
14
|
import "../chunk-4Q6IHSAU.mjs";
|
|
21
15
|
import "../chunk-SJGQU3OG.mjs";
|
|
22
16
|
import "../chunk-MDIO6K2O.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/http/CacheControl.ts"],"sourcesContent":["import { cacheAge, CacheAge, isCacheAge } from '../types/CacheAge';\nimport { on } from '../types/Constructor';\nimport { entries } from '../types/Object';\nimport { ifDefined } from '../utils/If';\n\nexport class CacheControl {\n name = 'Cache-Control';\n\n protected constructor(\n readonly enabled = true,\n private directives: Record<string, boolean | CacheAge | undefined> = {}\n ) {}\n\n static disabled = () => new CacheControl(false);\n\n static OneSecond = () => new CacheControl().maxAge(1).staleWhileRevalidate(1);\n\n static fiveSeconds = () => new CacheControl().maxAge(5).staleWhileRevalidate(5);\n\n static tenSeconds = () => new CacheControl().maxAge(10).staleWhileRevalidate(10);\n\n static thirtySeconds = () => new CacheControl().maxAge(30).staleWhileRevalidate(30);\n\n static sixtySeconds = () => new CacheControl().maxAge(60).staleWhileRevalidate(60);\n\n static custom = (maxAge?: CacheAge, staleWhileRevalidate?: CacheAge) => new CacheControl().maxAge(maxAge).staleWhileRevalidate(staleWhileRevalidate);\n\n readonly maxAge = (ca?: CacheAge): this => on(this, t => (t.directives['max-age'] = ca));\n\n readonly sharedMaxAge = (ca?: CacheAge): this => on(this, t => (t.directives['s-maxage'] = ca));\n\n readonly noCache = (a?: boolean): this => on(this, t => (t.directives['no-cache'] = a));\n\n readonly mustRevalidate = (a?: boolean): this => on(this, t => (t.directives['must-revalidate'] = a));\n\n readonly private = (a?: boolean): this => on(this, t => (t.directives['private'] = a));\n\n readonly public = (a?: boolean): this => on(this, t => (t.directives['public'] = a));\n\n readonly immutable = (a?: boolean): this => on(this, t => (t.directives['immutable'] = a));\n\n readonly staleWhileRevalidate = (ca?: CacheAge): this => on(this, t => (t.directives['stale-while-revalidate'] = ca));\n\n value = (): string => this.toString();\n\n toString(): string {\n return entries(this.directives)\n .mapDefined(([k, v]) => ifDefined(v, isCacheAge(v) ? `${k}=${cacheAge.toSeconds(v)}` : k))\n .join(',');\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/http/CacheControl.ts"],"sourcesContent":["import { cacheAge, CacheAge, isCacheAge } from '../types/CacheAge';\nimport { on } from '../types/Constructor';\nimport { entries } from '../types/Object';\nimport { ifDefined } from '../utils/If';\n\nexport class CacheControl {\n name = 'Cache-Control';\n\n protected constructor(\n readonly enabled = true,\n private directives: Record<string, boolean | CacheAge | undefined> = {}\n ) {}\n\n static disabled = () => new CacheControl(false);\n\n static OneSecond = () => new CacheControl().maxAge(1).staleWhileRevalidate(1);\n\n static fiveSeconds = () => new CacheControl().maxAge(5).staleWhileRevalidate(5);\n\n static tenSeconds = () => new CacheControl().maxAge(10).staleWhileRevalidate(10);\n\n static thirtySeconds = () => new CacheControl().maxAge(30).staleWhileRevalidate(30);\n\n static sixtySeconds = () => new CacheControl().maxAge(60).staleWhileRevalidate(60);\n\n static custom = (maxAge?: CacheAge, staleWhileRevalidate?: CacheAge) => new CacheControl().maxAge(maxAge).staleWhileRevalidate(staleWhileRevalidate);\n\n readonly maxAge = (ca?: CacheAge): this => on(this, t => (t.directives['max-age'] = ca));\n\n readonly sharedMaxAge = (ca?: CacheAge): this => on(this, t => (t.directives['s-maxage'] = ca));\n\n readonly noCache = (a?: boolean): this => on(this, t => (t.directives['no-cache'] = a));\n\n readonly mustRevalidate = (a?: boolean): this => on(this, t => (t.directives['must-revalidate'] = a));\n\n readonly private = (a?: boolean): this => on(this, t => (t.directives['private'] = a));\n\n readonly public = (a?: boolean): this => on(this, t => (t.directives['public'] = a));\n\n readonly immutable = (a?: boolean): this => on(this, t => (t.directives['immutable'] = a));\n\n readonly staleWhileRevalidate = (ca?: CacheAge): this => on(this, t => (t.directives['stale-while-revalidate'] = ca));\n\n value = (): string => this.toString();\n\n toString(): string {\n return entries(this.directives)\n .mapDefined(([k, v]) => ifDefined(v, isCacheAge(v) ? `${k}=${cacheAge.toSeconds(v)}` : k))\n .join(',');\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAKO,IAAM,eAAN,MAAM,cAAa;AAAA,EAGd,YACC,UAAU,MACX,aAA6D,CAAC,GACtE;AAFS;AACD;AAAA,EACP;AAAA,EALH,OAAO;AAAA,EAOP,OAAO,WAAW,MAAM,IAAI,cAAa,KAAK;AAAA,EAE9C,OAAO,YAAY,MAAM,IAAI,cAAa,EAAE,OAAO,CAAC,EAAE,qBAAqB,CAAC;AAAA,EAE5E,OAAO,cAAc,MAAM,IAAI,cAAa,EAAE,OAAO,CAAC,EAAE,qBAAqB,CAAC;AAAA,EAE9E,OAAO,aAAa,MAAM,IAAI,cAAa,EAAE,OAAO,EAAE,EAAE,qBAAqB,EAAE;AAAA,EAE/E,OAAO,gBAAgB,MAAM,IAAI,cAAa,EAAE,OAAO,EAAE,EAAE,qBAAqB,EAAE;AAAA,EAElF,OAAO,eAAe,MAAM,IAAI,cAAa,EAAE,OAAO,EAAE,EAAE,qBAAqB,EAAE;AAAA,EAEjF,OAAO,SAAS,CAAC,QAAmB,yBAAoC,IAAI,cAAa,EAAE,OAAO,MAAM,EAAE,qBAAqB,oBAAoB;AAAA,EAE1I,SAAS,CAAC,OAAwB,GAAG,MAAM,OAAM,EAAE,WAAW,SAAS,IAAI,EAAG;AAAA,EAE9E,eAAe,CAAC,OAAwB,GAAG,MAAM,OAAM,EAAE,WAAW,UAAU,IAAI,EAAG;AAAA,EAErF,UAAU,CAAC,MAAsB,GAAG,MAAM,OAAM,EAAE,WAAW,UAAU,IAAI,CAAE;AAAA,EAE7E,iBAAiB,CAAC,MAAsB,GAAG,MAAM,OAAM,EAAE,WAAW,iBAAiB,IAAI,CAAE;AAAA,EAE3F,UAAU,CAAC,MAAsB,GAAG,MAAM,OAAM,EAAE,WAAW,SAAS,IAAI,CAAE;AAAA,EAE5E,SAAS,CAAC,MAAsB,GAAG,MAAM,OAAM,EAAE,WAAW,QAAQ,IAAI,CAAE;AAAA,EAE1E,YAAY,CAAC,MAAsB,GAAG,MAAM,OAAM,EAAE,WAAW,WAAW,IAAI,CAAE;AAAA,EAEhF,uBAAuB,CAAC,OAAwB,GAAG,MAAM,OAAM,EAAE,WAAW,wBAAwB,IAAI,EAAG;AAAA,EAEpH,QAAQ,MAAc,KAAK,SAAS;AAAA,EAEpC,WAAmB;AACjB,WAAO,QAAQ,KAAK,UAAU,EAC3B,WAAW,CAAC,CAAC,GAAG,CAAC,MAAM,UAAU,GAAG,WAAW,CAAC,IAAI,GAAG,CAAC,IAAI,SAAS,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC,EACxF,KAAK,GAAG;AAAA,EACb;AACF;","names":[]}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ContentType
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
7
|
-
import "../chunk-AQXV7L65.mjs";
|
|
3
|
+
} from "../chunk-FFD2T6YV.mjs";
|
|
4
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
5
|
+
import "../chunk-GPNPXSOF.mjs";
|
|
8
6
|
import "../chunk-QCPWEAAJ.mjs";
|
|
9
7
|
import "../chunk-SSROJBD5.mjs";
|
|
8
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
10
9
|
import "../chunk-4Q6IHSAU.mjs";
|
|
11
10
|
import "../chunk-SJGQU3OG.mjs";
|
|
12
11
|
import "../chunk-MDIO6K2O.mjs";
|
package/dist/http/HttpStatus.mjs
CHANGED
|
@@ -2,13 +2,12 @@ import {
|
|
|
2
2
|
HttpStatus,
|
|
3
3
|
isHttpStatus,
|
|
4
4
|
toHttpStatus
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
9
|
-
import "../chunk-AQXV7L65.mjs";
|
|
5
|
+
} from "../chunk-FSWASMJZ.mjs";
|
|
6
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
7
|
+
import "../chunk-GPNPXSOF.mjs";
|
|
10
8
|
import "../chunk-QCPWEAAJ.mjs";
|
|
11
9
|
import "../chunk-SSROJBD5.mjs";
|
|
10
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
12
11
|
import "../chunk-4Q6IHSAU.mjs";
|
|
13
12
|
import "../chunk-SJGQU3OG.mjs";
|
|
14
13
|
import "../chunk-MDIO6K2O.mjs";
|
package/dist/http/HttpVerb.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpVerb
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
7
|
-
import "../chunk-AQXV7L65.mjs";
|
|
3
|
+
} from "../chunk-JI7MC5EA.mjs";
|
|
4
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
5
|
+
import "../chunk-GPNPXSOF.mjs";
|
|
8
6
|
import "../chunk-QCPWEAAJ.mjs";
|
|
9
7
|
import "../chunk-SSROJBD5.mjs";
|
|
8
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
10
9
|
import "../chunk-4Q6IHSAU.mjs";
|
|
11
10
|
import "../chunk-SJGQU3OG.mjs";
|
|
12
11
|
import "../chunk-MDIO6K2O.mjs";
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ctx
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-TUO7ZPSP.mjs";
|
|
4
4
|
import "../chunk-GPNPXSOF.mjs";
|
|
5
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
6
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
7
|
-
import "../chunk-7A3RM67L.mjs";
|
|
8
|
-
import "../chunk-5FAZA55F.mjs";
|
|
9
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
10
|
-
import "../chunk-AQXV7L65.mjs";
|
|
11
5
|
import "../chunk-QCPWEAAJ.mjs";
|
|
12
6
|
import "../chunk-SSROJBD5.mjs";
|
|
7
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
13
8
|
import "../chunk-4Q6IHSAU.mjs";
|
|
14
9
|
import "../chunk-SJGQU3OG.mjs";
|
|
15
10
|
import "../chunk-MDIO6K2O.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/http/LocalRequestStore.ts"],"sourcesContent":["import { Response } from './Response';\nimport { Request } from './Request';\nimport { Store } from '../types/Cache';\nimport { Func } from '../types/Func';\nimport { ctx } from '../types/Context';\n\nexport class LocalRequestStore implements Store<Response, Request> {\n key = (_req: Request): string => '';\n\n execute(req: Request, f: Func<Promise<Response>, Request>): Promise<Response> {\n const key = this.key(req);\n return ctx.request.get(key) ?? ctx.request.set(key, f(req));\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/http/LocalRequestStore.ts"],"sourcesContent":["import { Response } from './Response';\nimport { Request } from './Request';\nimport { Store } from '../types/Cache';\nimport { Func } from '../types/Func';\nimport { ctx } from '../types/Context';\n\nexport class LocalRequestStore implements Store<Response, Request> {\n key = (_req: Request): string => '';\n\n execute(req: Request, f: Func<Promise<Response>, Request>): Promise<Response> {\n const key = this.key(req);\n return ctx.request.get(key) ?? ctx.request.set(key, f(req));\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAMO,IAAM,oBAAN,MAA4D;AAAA,EACjE,MAAM,CAAC,SAA0B;AAAA,EAEjC,QAAQ,KAAc,GAAwD;AAC5E,UAAM,MAAM,KAAK,IAAI,GAAG;AACxB,WAAO,IAAI,QAAQ,IAAI,GAAG,KAAK,IAAI,QAAQ,IAAI,KAAK,EAAE,GAAG,CAAC;AAAA,EAC5D;AACF;","names":[]}
|
|
@@ -2,20 +2,15 @@ import {
|
|
|
2
2
|
RequestOptions,
|
|
3
3
|
isRequestOptions,
|
|
4
4
|
toPageOptions
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-O4RWZGFC.mjs";
|
|
6
6
|
import "../chunk-SW2OCUH3.mjs";
|
|
7
7
|
import "../chunk-KL75JJTY.mjs";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-FFD2T6YV.mjs";
|
|
9
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
10
10
|
import "../chunk-GPNPXSOF.mjs";
|
|
11
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
12
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
13
|
-
import "../chunk-7A3RM67L.mjs";
|
|
14
|
-
import "../chunk-5FAZA55F.mjs";
|
|
15
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
16
|
-
import "../chunk-AQXV7L65.mjs";
|
|
17
11
|
import "../chunk-QCPWEAAJ.mjs";
|
|
18
12
|
import "../chunk-SSROJBD5.mjs";
|
|
13
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
19
14
|
import "../chunk-4Q6IHSAU.mjs";
|
|
20
15
|
import "../chunk-SJGQU3OG.mjs";
|
|
21
16
|
import "../chunk-MDIO6K2O.mjs";
|
package/dist/http/RestResult.mjs
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isRestResult,
|
|
3
3
|
rest
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-6YTIRHPN.mjs";
|
|
5
|
+
import "../chunk-FSWASMJZ.mjs";
|
|
6
6
|
import "../chunk-WYLKFMFD.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
8
8
|
import "../chunk-GPNPXSOF.mjs";
|
|
9
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
10
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
11
|
-
import "../chunk-7A3RM67L.mjs";
|
|
12
|
-
import "../chunk-5FAZA55F.mjs";
|
|
13
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
14
|
-
import "../chunk-AQXV7L65.mjs";
|
|
15
9
|
import "../chunk-QCPWEAAJ.mjs";
|
|
16
10
|
import "../chunk-SSROJBD5.mjs";
|
|
11
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
17
12
|
import "../chunk-4Q6IHSAU.mjs";
|
|
18
13
|
import "../chunk-SJGQU3OG.mjs";
|
|
19
14
|
import "../chunk-MDIO6K2O.mjs";
|
package/dist/http/toResponse.mjs
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toResponse
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-5N6Q7OXJ.mjs";
|
|
4
|
+
import "../chunk-6YTIRHPN.mjs";
|
|
5
|
+
import "../chunk-FSWASMJZ.mjs";
|
|
6
6
|
import "../chunk-WYLKFMFD.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-TUO7ZPSP.mjs";
|
|
8
8
|
import "../chunk-GPNPXSOF.mjs";
|
|
9
|
-
import "../chunk-AJZIKJEC.mjs";
|
|
10
|
-
import "../chunk-AMS2ELWR.mjs";
|
|
11
|
-
import "../chunk-7A3RM67L.mjs";
|
|
12
|
-
import "../chunk-5FAZA55F.mjs";
|
|
13
|
-
import "../chunk-2PL5VUHT.mjs";
|
|
14
|
-
import "../chunk-AQXV7L65.mjs";
|
|
15
9
|
import "../chunk-QCPWEAAJ.mjs";
|
|
16
10
|
import "../chunk-SSROJBD5.mjs";
|
|
11
|
+
import "../chunk-AMS2ELWR.mjs";
|
|
17
12
|
import "../chunk-4Q6IHSAU.mjs";
|
|
18
13
|
import "../chunk-SJGQU3OG.mjs";
|
|
19
14
|
import "../chunk-MDIO6K2O.mjs";
|