@thisisagile/easy 17.12.2 → 17.13.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-WFJW3CXD.mjs → chunk-BM7QLQAQ.mjs} +4 -4
- package/dist/{chunk-M2I3TRAA.mjs → chunk-HAPQZXZM.mjs} +5 -5
- package/dist/{chunk-INYB7PBK.mjs → chunk-QT5TKJT4.mjs} +2 -2
- package/dist/{chunk-W6VZANW7.mjs → chunk-RDLH6MXX.mjs} +2 -1
- package/dist/chunk-RDLH6MXX.mjs.map +1 -0
- package/dist/{chunk-7Q6635HA.mjs → chunk-RSTN6E6S.mjs} +4 -4
- package/dist/{chunk-UHNJKMHB.mjs → chunk-SZMAMBMD.mjs} +4 -4
- package/dist/{chunk-MKMTHBLE.mjs → chunk-VQRR4XHC.mjs} +2 -2
- package/dist/{chunk-S62CMWWY.mjs → chunk-WAKTY3LS.mjs} +3 -3
- package/dist/{chunk-T55MAIFL.mjs → chunk-WD6VLSJD.mjs} +5 -5
- package/dist/{chunk-3EUPCIVY.mjs → chunk-XZ5M52TO.mjs} +3 -3
- package/dist/domain/Audit.mjs +2 -2
- package/dist/domain/Child.mjs +2 -2
- package/dist/domain/Entity.mjs +7 -7
- package/dist/http/ContentType.d.ts +1 -0
- package/dist/http/ContentType.mjs +1 -1
- package/dist/http/RequestOptions.mjs +3 -3
- package/dist/http/RestResult.mjs +2 -2
- package/dist/http/toResponse.mjs +3 -3
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/services/Api.mjs +8 -8
- package/dist/services/ApiGateway.mjs +11 -11
- package/dist/services/AxiosProvider.mjs +7 -7
- package/dist/services/MappedRouteGateway.mjs +13 -13
- package/dist/services/RouteGateway.mjs +12 -12
- package/dist/services/ViewRouteGateway.mjs +14 -14
- package/dist/utils/View.mjs +2 -2
- package/package.json +1 -1
- package/src/http/ContentType.ts +1 -0
- package/dist/chunk-W6VZANW7.mjs.map +0 -1
- /package/dist/{chunk-WFJW3CXD.mjs.map → chunk-BM7QLQAQ.mjs.map} +0 -0
- /package/dist/{chunk-M2I3TRAA.mjs.map → chunk-HAPQZXZM.mjs.map} +0 -0
- /package/dist/{chunk-INYB7PBK.mjs.map → chunk-QT5TKJT4.mjs.map} +0 -0
- /package/dist/{chunk-7Q6635HA.mjs.map → chunk-RSTN6E6S.mjs.map} +0 -0
- /package/dist/{chunk-UHNJKMHB.mjs.map → chunk-SZMAMBMD.mjs.map} +0 -0
- /package/dist/{chunk-MKMTHBLE.mjs.map → chunk-VQRR4XHC.mjs.map} +0 -0
- /package/dist/{chunk-S62CMWWY.mjs.map → chunk-WAKTY3LS.mjs.map} +0 -0
- /package/dist/{chunk-T55MAIFL.mjs.map → chunk-WD6VLSJD.mjs.map} +0 -0
- /package/dist/{chunk-3EUPCIVY.mjs.map → chunk-XZ5M52TO.mjs.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
isResponse
|
|
3
|
+
} from "./chunk-UYDZZAEK.mjs";
|
|
1
4
|
import {
|
|
2
5
|
HttpStatus,
|
|
3
6
|
isHttpStatus
|
|
4
7
|
} from "./chunk-UGUAZFM4.mjs";
|
|
5
|
-
import {
|
|
6
|
-
isResponse
|
|
7
|
-
} from "./chunk-UYDZZAEK.mjs";
|
|
8
8
|
import {
|
|
9
9
|
choose
|
|
10
10
|
} from "./chunk-JICCIN24.mjs";
|
|
@@ -52,4 +52,4 @@ export {
|
|
|
52
52
|
rest,
|
|
53
53
|
isRestResult
|
|
54
54
|
};
|
|
55
|
-
//# sourceMappingURL=chunk-
|
|
55
|
+
//# sourceMappingURL=chunk-BM7QLQAQ.mjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
HttpHeader
|
|
3
|
-
} from "./chunk-SW2OCUH3.mjs";
|
|
4
1
|
import {
|
|
5
2
|
toUuid
|
|
6
3
|
} from "./chunk-LXQQ5N6S.mjs";
|
|
7
4
|
import {
|
|
8
5
|
ContentType
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RDLH6MXX.mjs";
|
|
7
|
+
import {
|
|
8
|
+
HttpHeader
|
|
9
|
+
} from "./chunk-SW2OCUH3.mjs";
|
|
10
10
|
import {
|
|
11
11
|
ctx
|
|
12
12
|
} from "./chunk-P354LSDN.mjs";
|
|
@@ -87,4 +87,4 @@ export {
|
|
|
87
87
|
RequestOptions,
|
|
88
88
|
isRequestOptions
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=chunk-
|
|
90
|
+
//# sourceMappingURL=chunk-HAPQZXZM.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Api
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XZ5M52TO.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Gateway
|
|
6
6
|
} from "./chunk-5YMCCYYA.mjs";
|
|
@@ -43,4 +43,4 @@ var ApiGateway = class extends Gateway {
|
|
|
43
43
|
export {
|
|
44
44
|
ApiGateway
|
|
45
45
|
};
|
|
46
|
-
//# sourceMappingURL=chunk-
|
|
46
|
+
//# sourceMappingURL=chunk-QT5TKJT4.mjs.map
|
|
@@ -18,6 +18,7 @@ var ContentType = class _ContentType extends Enum {
|
|
|
18
18
|
}
|
|
19
19
|
static Form = new _ContentType("form", "application/x-www-form-urlencoded", (b) => formUrlEncoded(b));
|
|
20
20
|
static Json = new _ContentType("json", "application/json", (b) => b);
|
|
21
|
+
static RawJson = new _ContentType("rawJson", "application/json", (b) => b);
|
|
21
22
|
static Stream = new _ContentType("stream", "application/octet-stream");
|
|
22
23
|
static Text = new _ContentType("text", "text/plain");
|
|
23
24
|
static Xml = new _ContentType("xml", "application/xml");
|
|
@@ -27,4 +28,4 @@ var ContentType = class _ContentType extends Enum {
|
|
|
27
28
|
export {
|
|
28
29
|
ContentType
|
|
29
30
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
31
|
+
//# sourceMappingURL=chunk-RDLH6MXX.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/http/ContentType.ts"],"sourcesContent":["import formUrlEncoded from 'form-urlencoded';\nimport { Enum } from '../types/Enum';\nimport { Get, ofGet } from '../types/Get';\nimport { asString } from '../types/Text';\n\nexport class ContentType extends Enum {\n static Form = new ContentType('form', 'application/x-www-form-urlencoded', b => formUrlEncoded(b));\n static Json = new ContentType('json', 'application/json', b => b);\n static RawJson = new ContentType('rawJson', 'application/json', b => b);\n static Stream = new ContentType('stream', 'application/octet-stream');\n static Text = new ContentType('text', 'text/plain');\n static Xml = new ContentType('xml', 'application/xml');\n\n private constructor(\n name: string,\n readonly type: string,\n protected readonly encoder: Get<string> = b => asString(b)\n ) {\n super(name, type);\n }\n\n encode = (body?: unknown): string => ofGet(this.encoder, body);\n}\n"],"mappings":";;;;;;;;;;;AAAA,OAAO,oBAAoB;AAKpB,IAAM,cAAN,MAAM,qBAAoB,KAAK;AAAA,EAQ5B,YACN,MACS,MACU,UAAuB,OAAK,SAAS,CAAC,GACzD;AACA,UAAM,MAAM,IAAI;AAHP;AACU;AAAA,EAGrB;AAAA,EAbA,OAAO,OAAO,IAAI,aAAY,QAAQ,qCAAqC,OAAK,eAAe,CAAC,CAAC;AAAA,EACjG,OAAO,OAAO,IAAI,aAAY,QAAQ,oBAAoB,OAAK,CAAC;AAAA,EAChE,OAAO,UAAU,IAAI,aAAY,WAAW,oBAAoB,OAAK,CAAC;AAAA,EACtE,OAAO,SAAS,IAAI,aAAY,UAAU,0BAA0B;AAAA,EACpE,OAAO,OAAO,IAAI,aAAY,QAAQ,YAAY;AAAA,EAClD,OAAO,MAAM,IAAI,aAAY,OAAO,iBAAiB;AAAA,EAUrD,SAAS,CAAC,SAA2B,MAAM,KAAK,SAAS,IAAI;AAC/D;","names":[]}
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
required,
|
|
3
3
|
valid
|
|
4
4
|
} from "./chunk-3LJLCDBY.mjs";
|
|
5
|
-
import {
|
|
6
|
-
DateTime
|
|
7
|
-
} from "./chunk-MNTKAUHO.mjs";
|
|
8
5
|
import {
|
|
9
6
|
Struct
|
|
10
7
|
} from "./chunk-545DNQMV.mjs";
|
|
8
|
+
import {
|
|
9
|
+
DateTime
|
|
10
|
+
} from "./chunk-MNTKAUHO.mjs";
|
|
11
11
|
import {
|
|
12
12
|
choose
|
|
13
13
|
} from "./chunk-JICCIN24.mjs";
|
|
@@ -47,4 +47,4 @@ __decorateClass([
|
|
|
47
47
|
export {
|
|
48
48
|
Audit
|
|
49
49
|
};
|
|
50
|
-
//# sourceMappingURL=chunk-
|
|
50
|
+
//# sourceMappingURL=chunk-RSTN6E6S.mjs.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toResponse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VQRR4XHC.mjs";
|
|
4
4
|
import {
|
|
5
5
|
isRestResult
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BM7QLQAQ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
HttpStatus
|
|
9
9
|
} from "./chunk-UGUAZFM4.mjs";
|
|
10
10
|
import {
|
|
11
11
|
RequestOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HAPQZXZM.mjs";
|
|
13
13
|
import {
|
|
14
14
|
cacheAge
|
|
15
15
|
} from "./chunk-L6CBLUX3.mjs";
|
|
@@ -53,4 +53,4 @@ var AxiosProvider = class {
|
|
|
53
53
|
export {
|
|
54
54
|
AxiosProvider
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-SZMAMBMD.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BM7QLQAQ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
toHttpStatus
|
|
6
6
|
} from "./chunk-UGUAZFM4.mjs";
|
|
@@ -17,4 +17,4 @@ function toResponse(status, body, headers) {
|
|
|
17
17
|
export {
|
|
18
18
|
toResponse
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-VQRR4XHC.mjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ApiGateway
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QT5TKJT4.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Api
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XZ5M52TO.mjs";
|
|
7
7
|
import {
|
|
8
8
|
HttpStatus
|
|
9
9
|
} from "./chunk-UGUAZFM4.mjs";
|
|
@@ -54,4 +54,4 @@ var RouteGateway = class extends ApiGateway {
|
|
|
54
54
|
export {
|
|
55
55
|
RouteGateway
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-WAKTY3LS.mjs.map
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
isEqual
|
|
6
6
|
} from "./chunk-KZBVIWZZ.mjs";
|
|
7
|
-
import {
|
|
8
|
-
isPageList,
|
|
9
|
-
toPageList
|
|
10
|
-
} from "./chunk-6K4R4SKN.mjs";
|
|
11
7
|
import {
|
|
12
8
|
asJson,
|
|
13
9
|
json
|
|
14
10
|
} from "./chunk-6NJ65PSU.mjs";
|
|
11
|
+
import {
|
|
12
|
+
isPageList,
|
|
13
|
+
toPageList
|
|
14
|
+
} from "./chunk-6K4R4SKN.mjs";
|
|
15
15
|
import {
|
|
16
16
|
choose
|
|
17
17
|
} from "./chunk-JICCIN24.mjs";
|
|
@@ -88,4 +88,4 @@ export {
|
|
|
88
88
|
view,
|
|
89
89
|
views
|
|
90
90
|
};
|
|
91
|
-
//# sourceMappingURL=chunk-
|
|
91
|
+
//# sourceMappingURL=chunk-WD6VLSJD.mjs.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AxiosProvider
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SZMAMBMD.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpVerb
|
|
6
6
|
} from "./chunk-YMTOGXYB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
RequestOptions,
|
|
9
9
|
toPageOptions
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HAPQZXZM.mjs";
|
|
11
11
|
|
|
12
12
|
// src/services/Api.ts
|
|
13
13
|
var Api = class {
|
|
@@ -76,4 +76,4 @@ export {
|
|
|
76
76
|
Api,
|
|
77
77
|
api
|
|
78
78
|
};
|
|
79
|
-
//# sourceMappingURL=chunk-
|
|
79
|
+
//# sourceMappingURL=chunk-XZ5M52TO.mjs.map
|
package/dist/domain/Audit.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Audit
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RSTN6E6S.mjs";
|
|
4
4
|
import "../chunk-3LJLCDBY.mjs";
|
|
5
|
+
import "../chunk-545DNQMV.mjs";
|
|
5
6
|
import "../chunk-MNTKAUHO.mjs";
|
|
6
7
|
import "../chunk-JQQGQCYH.mjs";
|
|
7
8
|
import "../chunk-ADJAEGCT.mjs";
|
|
8
|
-
import "../chunk-545DNQMV.mjs";
|
|
9
9
|
import "../chunk-6NJ65PSU.mjs";
|
|
10
10
|
import "../chunk-JICCIN24.mjs";
|
|
11
11
|
import "../chunk-OFGI5FLG.mjs";
|
package/dist/domain/Child.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toId
|
|
3
3
|
} from "../chunk-5YM5CLOG.mjs";
|
|
4
|
-
import "../chunk-LXQQ5N6S.mjs";
|
|
5
4
|
import {
|
|
6
5
|
required
|
|
7
6
|
} from "../chunk-3LJLCDBY.mjs";
|
|
8
|
-
import "../chunk-ADJAEGCT.mjs";
|
|
9
7
|
import {
|
|
10
8
|
Struct
|
|
11
9
|
} from "../chunk-545DNQMV.mjs";
|
|
10
|
+
import "../chunk-ADJAEGCT.mjs";
|
|
11
|
+
import "../chunk-LXQQ5N6S.mjs";
|
|
12
12
|
import {
|
|
13
13
|
json
|
|
14
14
|
} from "../chunk-6NJ65PSU.mjs";
|
package/dist/domain/Entity.mjs
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Audit
|
|
3
|
+
} from "../chunk-RSTN6E6S.mjs";
|
|
1
4
|
import {
|
|
2
5
|
toId
|
|
3
6
|
} from "../chunk-5YM5CLOG.mjs";
|
|
4
|
-
import "../chunk-LXQQ5N6S.mjs";
|
|
5
|
-
import {
|
|
6
|
-
Audit
|
|
7
|
-
} from "../chunk-7Q6635HA.mjs";
|
|
8
7
|
import {
|
|
9
8
|
required
|
|
10
9
|
} from "../chunk-3LJLCDBY.mjs";
|
|
11
|
-
import "../chunk-MNTKAUHO.mjs";
|
|
12
|
-
import "../chunk-JQQGQCYH.mjs";
|
|
13
|
-
import "../chunk-ADJAEGCT.mjs";
|
|
14
10
|
import {
|
|
15
11
|
Struct
|
|
16
12
|
} from "../chunk-545DNQMV.mjs";
|
|
13
|
+
import "../chunk-MNTKAUHO.mjs";
|
|
14
|
+
import "../chunk-JQQGQCYH.mjs";
|
|
15
|
+
import "../chunk-ADJAEGCT.mjs";
|
|
16
|
+
import "../chunk-LXQQ5N6S.mjs";
|
|
17
17
|
import {
|
|
18
18
|
json
|
|
19
19
|
} from "../chunk-6NJ65PSU.mjs";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
RequestOptions,
|
|
3
3
|
isRequestOptions,
|
|
4
4
|
toPageOptions
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-SW2OCUH3.mjs";
|
|
5
|
+
} from "../chunk-HAPQZXZM.mjs";
|
|
7
6
|
import "../chunk-LXQQ5N6S.mjs";
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-RDLH6MXX.mjs";
|
|
8
|
+
import "../chunk-SW2OCUH3.mjs";
|
|
9
9
|
import "../chunk-P354LSDN.mjs";
|
|
10
10
|
import "../chunk-FIQ32LMI.mjs";
|
|
11
11
|
import "../chunk-JVDKV5HE.mjs";
|
package/dist/http/RestResult.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isRestResult,
|
|
3
3
|
rest
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-UGUAZFM4.mjs";
|
|
4
|
+
} from "../chunk-BM7QLQAQ.mjs";
|
|
6
5
|
import "../chunk-UYDZZAEK.mjs";
|
|
6
|
+
import "../chunk-UGUAZFM4.mjs";
|
|
7
7
|
import "../chunk-JICCIN24.mjs";
|
|
8
8
|
import "../chunk-OFGI5FLG.mjs";
|
|
9
9
|
import "../chunk-MNDGLLBO.mjs";
|
package/dist/http/toResponse.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toResponse
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-UGUAZFM4.mjs";
|
|
3
|
+
} from "../chunk-VQRR4XHC.mjs";
|
|
4
|
+
import "../chunk-BM7QLQAQ.mjs";
|
|
6
5
|
import "../chunk-UYDZZAEK.mjs";
|
|
6
|
+
import "../chunk-UGUAZFM4.mjs";
|
|
7
7
|
import "../chunk-JICCIN24.mjs";
|
|
8
8
|
import "../chunk-OFGI5FLG.mjs";
|
|
9
9
|
import "../chunk-MNDGLLBO.mjs";
|
package/dist/index.js
CHANGED
|
@@ -2080,6 +2080,7 @@ var ContentType = class _ContentType extends Enum {
|
|
|
2080
2080
|
}
|
|
2081
2081
|
static Form = new _ContentType("form", "application/x-www-form-urlencoded", (b) => (0, import_form_urlencoded.default)(b));
|
|
2082
2082
|
static Json = new _ContentType("json", "application/json", (b) => b);
|
|
2083
|
+
static RawJson = new _ContentType("rawJson", "application/json", (b) => b);
|
|
2083
2084
|
static Stream = new _ContentType("stream", "application/octet-stream");
|
|
2084
2085
|
static Text = new _ContentType("text", "text/plain");
|
|
2085
2086
|
static Xml = new _ContentType("xml", "application/xml");
|