@thisisagile/easy 17.25.2 → 17.25.3
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/index.mjs +3476 -115
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-27MBNT3X.mjs +0 -25
- package/dist/chunk-27MBNT3X.mjs.map +0 -1
- package/dist/chunk-35SXXNQO.mjs +0 -20
- package/dist/chunk-35SXXNQO.mjs.map +0 -1
- package/dist/chunk-3M6NLHSO.mjs +0 -18
- package/dist/chunk-3M6NLHSO.mjs.map +0 -1
- package/dist/chunk-4CRBLF44.mjs +0 -56
- package/dist/chunk-4CRBLF44.mjs.map +0 -1
- package/dist/chunk-4K4X43SV.mjs +0 -164
- package/dist/chunk-4K4X43SV.mjs.map +0 -1
- package/dist/chunk-4LVZOQ6O.mjs +0 -58
- package/dist/chunk-4LVZOQ6O.mjs.map +0 -1
- package/dist/chunk-4N72FQFX.mjs +0 -16
- package/dist/chunk-4N72FQFX.mjs.map +0 -1
- package/dist/chunk-5AV36UKS.mjs +0 -20
- package/dist/chunk-5AV36UKS.mjs.map +0 -1
- package/dist/chunk-5DJPREIN.mjs +0 -142
- package/dist/chunk-5DJPREIN.mjs.map +0 -1
- package/dist/chunk-5ZHEIMZ7.mjs +0 -79
- package/dist/chunk-5ZHEIMZ7.mjs.map +0 -1
- package/dist/chunk-6QFV73AS.mjs +0 -55
- package/dist/chunk-6QFV73AS.mjs.map +0 -1
- package/dist/chunk-7DNADCD4.mjs +0 -53
- package/dist/chunk-7DNADCD4.mjs.map +0 -1
- package/dist/chunk-ABGKS4KE.mjs +0 -297
- package/dist/chunk-ABGKS4KE.mjs.map +0 -1
- package/dist/chunk-ADJAEGCT.mjs +0 -21
- package/dist/chunk-ADJAEGCT.mjs.map +0 -1
- package/dist/chunk-AGTB4HMP.mjs +0 -11
- package/dist/chunk-AGTB4HMP.mjs.map +0 -1
- package/dist/chunk-AINW2476.mjs +0 -90
- package/dist/chunk-AINW2476.mjs.map +0 -1
- package/dist/chunk-BDA5LB4S.mjs +0 -29
- package/dist/chunk-BDA5LB4S.mjs.map +0 -1
- package/dist/chunk-BIEWRRM7.mjs +0 -26
- package/dist/chunk-BIEWRRM7.mjs.map +0 -1
- package/dist/chunk-BIHKQLEE.mjs +0 -40
- package/dist/chunk-BIHKQLEE.mjs.map +0 -1
- package/dist/chunk-CO2AFYVD.mjs +0 -43
- package/dist/chunk-CO2AFYVD.mjs.map +0 -1
- package/dist/chunk-CSAPGLC7.mjs +0 -94
- package/dist/chunk-CSAPGLC7.mjs.map +0 -1
- package/dist/chunk-CSHFNF34.mjs +0 -35
- package/dist/chunk-CSHFNF34.mjs.map +0 -1
- package/dist/chunk-CWWAGBYB.mjs +0 -46
- package/dist/chunk-CWWAGBYB.mjs.map +0 -1
- package/dist/chunk-DEJ7A5PY.mjs +0 -43
- package/dist/chunk-DEJ7A5PY.mjs.map +0 -1
- package/dist/chunk-DXQSIBC7.mjs +0 -13
- package/dist/chunk-DXQSIBC7.mjs.map +0 -1
- package/dist/chunk-F34HSIZ5.mjs +0 -68
- package/dist/chunk-F34HSIZ5.mjs.map +0 -1
- package/dist/chunk-GADZDWP3.mjs +0 -20
- package/dist/chunk-GADZDWP3.mjs.map +0 -1
- package/dist/chunk-GB2P3UEO.mjs +0 -82
- package/dist/chunk-GB2P3UEO.mjs.map +0 -1
- package/dist/chunk-GCY5A63A.mjs +0 -25
- package/dist/chunk-GCY5A63A.mjs.map +0 -1
- package/dist/chunk-HL2BC7Z2.mjs +0 -76
- package/dist/chunk-HL2BC7Z2.mjs.map +0 -1
- package/dist/chunk-HULI73W2.mjs +0 -37
- package/dist/chunk-HULI73W2.mjs.map +0 -1
- package/dist/chunk-J3DYDXXF.mjs +0 -175
- package/dist/chunk-J3DYDXXF.mjs.map +0 -1
- package/dist/chunk-JMIXHXWM.mjs +0 -23
- package/dist/chunk-JMIXHXWM.mjs.map +0 -1
- package/dist/chunk-KJVTSC6I.mjs +0 -24
- package/dist/chunk-KJVTSC6I.mjs.map +0 -1
- package/dist/chunk-L63NPT4K.mjs +0 -39
- package/dist/chunk-L63NPT4K.mjs.map +0 -1
- package/dist/chunk-LYRXR6GZ.mjs +0 -54
- package/dist/chunk-LYRXR6GZ.mjs.map +0 -1
- package/dist/chunk-MBRLKMEQ.mjs +0 -54
- package/dist/chunk-MBRLKMEQ.mjs.map +0 -1
- package/dist/chunk-MDXL65W4.mjs +0 -49
- package/dist/chunk-MDXL65W4.mjs.map +0 -1
- package/dist/chunk-O2YZM3KB.mjs +0 -70
- package/dist/chunk-O2YZM3KB.mjs.map +0 -1
- package/dist/chunk-OFGI5FLG.mjs +0 -11
- package/dist/chunk-OFGI5FLG.mjs.map +0 -1
- package/dist/chunk-OKPGJD64.mjs +0 -41
- package/dist/chunk-OKPGJD64.mjs.map +0 -1
- package/dist/chunk-OQNZEKWO.mjs +0 -24
- package/dist/chunk-OQNZEKWO.mjs.map +0 -1
- package/dist/chunk-PIQ5Z4RB.mjs +0 -18
- package/dist/chunk-PIQ5Z4RB.mjs.map +0 -1
- package/dist/chunk-PIRWVOO2.mjs +0 -7
- package/dist/chunk-PIRWVOO2.mjs.map +0 -1
- package/dist/chunk-QBHHLIZY.mjs +0 -51
- package/dist/chunk-QBHHLIZY.mjs.map +0 -1
- package/dist/chunk-RNLFG4YX.mjs +0 -20
- package/dist/chunk-RNLFG4YX.mjs.map +0 -1
- package/dist/chunk-S6WR4MXU.mjs +0 -324
- package/dist/chunk-S6WR4MXU.mjs.map +0 -1
- package/dist/chunk-SDO3B3BQ.mjs +0 -45
- package/dist/chunk-SDO3B3BQ.mjs.map +0 -1
- package/dist/chunk-SJ4YFZKO.mjs +0 -21
- package/dist/chunk-SJ4YFZKO.mjs.map +0 -1
- package/dist/chunk-SJGQU3OG.mjs +0 -15
- package/dist/chunk-SJGQU3OG.mjs.map +0 -1
- package/dist/chunk-SSROJBD5.mjs +0 -30
- package/dist/chunk-SSROJBD5.mjs.map +0 -1
- package/dist/chunk-SW2OCUH3.mjs +0 -10
- package/dist/chunk-SW2OCUH3.mjs.map +0 -1
- package/dist/chunk-TCQRHKGS.mjs +0 -20
- package/dist/chunk-TCQRHKGS.mjs.map +0 -1
- package/dist/chunk-TNHYFGFF.mjs +0 -60
- package/dist/chunk-TNHYFGFF.mjs.map +0 -1
- package/dist/chunk-TYODLVCG.mjs +0 -23
- package/dist/chunk-TYODLVCG.mjs.map +0 -1
- package/dist/chunk-U5VBBUQ2.mjs +0 -48
- package/dist/chunk-U5VBBUQ2.mjs.map +0 -1
- package/dist/chunk-UYDZZAEK.mjs +0 -11
- package/dist/chunk-UYDZZAEK.mjs.map +0 -1
- package/dist/chunk-VIPHIYGL.mjs +0 -107
- package/dist/chunk-VIPHIYGL.mjs.map +0 -1
- package/dist/chunk-VXVOY44M.mjs +0 -40
- package/dist/chunk-VXVOY44M.mjs.map +0 -1
- package/dist/chunk-W64ACIZO.mjs +0 -50
- package/dist/chunk-W64ACIZO.mjs.map +0 -1
- package/dist/chunk-WJZFE5NE.mjs +0 -17
- package/dist/chunk-WJZFE5NE.mjs.map +0 -1
- package/dist/chunk-WM2FXAWF.mjs +0 -134
- package/dist/chunk-WM2FXAWF.mjs.map +0 -1
- package/dist/chunk-WSBULPUZ.mjs +0 -30
- package/dist/chunk-WSBULPUZ.mjs.map +0 -1
- package/dist/chunk-WSG55HKA.mjs +0 -94
- package/dist/chunk-WSG55HKA.mjs.map +0 -1
- package/dist/chunk-YPVIK4SP.mjs +0 -57
- package/dist/chunk-YPVIK4SP.mjs.map +0 -1
- package/dist/chunk-ZHXKBOK2.mjs +0 -22
- package/dist/chunk-ZHXKBOK2.mjs.map +0 -1
- package/dist/chunk-ZPNFXK7Y.mjs +0 -36
- package/dist/chunk-ZPNFXK7Y.mjs.map +0 -1
- package/dist/chunk-ZSLYORET.mjs +0 -31
- package/dist/chunk-ZSLYORET.mjs.map +0 -1
- package/dist/data/Condition.mjs +0 -29
- package/dist/data/Condition.mjs.map +0 -1
- package/dist/data/DataProvider.mjs +0 -1
- package/dist/data/DataProvider.mjs.map +0 -1
- package/dist/data/Database.mjs +0 -23
- package/dist/data/Database.mjs.map +0 -1
- package/dist/data/Field.mjs +0 -47
- package/dist/data/Field.mjs.map +0 -1
- package/dist/data/InMemoryGateway.mjs +0 -70
- package/dist/data/InMemoryGateway.mjs.map +0 -1
- package/dist/data/Query.mjs +0 -1
- package/dist/data/Query.mjs.map +0 -1
- package/dist/data/QueryProvider.mjs +0 -1
- package/dist/data/QueryProvider.mjs.map +0 -1
- package/dist/domain/Audit.mjs +0 -36
- package/dist/domain/Audit.mjs.map +0 -1
- package/dist/domain/Child.mjs +0 -54
- package/dist/domain/Child.mjs.map +0 -1
- package/dist/domain/DateTime.mjs +0 -36
- package/dist/domain/DateTime.mjs.map +0 -1
- package/dist/domain/Entity.mjs +0 -71
- package/dist/domain/Entity.mjs.map +0 -1
- package/dist/domain/Repo.mjs +0 -96
- package/dist/domain/Repo.mjs.map +0 -1
- package/dist/domain/Struct.mjs +0 -33
- package/dist/domain/Struct.mjs.map +0 -1
- package/dist/domain/Typo.mjs +0 -114
- package/dist/domain/Typo.mjs.map +0 -1
- package/dist/http/CacheControl.mjs +0 -66
- package/dist/http/CacheControl.mjs.map +0 -1
- package/dist/http/ContentType.mjs +0 -21
- package/dist/http/ContentType.mjs.map +0 -1
- package/dist/http/HttpHeader.mjs +0 -8
- package/dist/http/HttpHeader.mjs.map +0 -1
- package/dist/http/HttpStatus.mjs +0 -25
- package/dist/http/HttpStatus.mjs.map +0 -1
- package/dist/http/HttpVerb.mjs +0 -21
- package/dist/http/HttpVerb.mjs.map +0 -1
- package/dist/http/LocalRequestStore.mjs +0 -29
- package/dist/http/LocalRequestStore.mjs.map +0 -1
- package/dist/http/Request.mjs +0 -1
- package/dist/http/Request.mjs.map +0 -1
- package/dist/http/RequestOptions.mjs +0 -30
- package/dist/http/RequestOptions.mjs.map +0 -1
- package/dist/http/RequestProvider.mjs +0 -1
- package/dist/http/RequestProvider.mjs.map +0 -1
- package/dist/http/Response.mjs +0 -13
- package/dist/http/Response.mjs.map +0 -1
- package/dist/http/RestResult.mjs +0 -34
- package/dist/http/RestResult.mjs.map +0 -1
- package/dist/http/toResponse.mjs +0 -33
- package/dist/http/toResponse.mjs.map +0 -1
- package/dist/process/App.mjs +0 -30
- package/dist/process/App.mjs.map +0 -1
- package/dist/process/Manage.mjs +0 -47
- package/dist/process/Manage.mjs.map +0 -1
- package/dist/process/Scope.mjs +0 -22
- package/dist/process/Scope.mjs.map +0 -1
- package/dist/process/Search.mjs +0 -31
- package/dist/process/Search.mjs.map +0 -1
- package/dist/process/UseCase.mjs +0 -53
- package/dist/process/UseCase.mjs.map +0 -1
- package/dist/resources/Req.mjs +0 -57
- package/dist/resources/Req.mjs.map +0 -1
- package/dist/security/Jwt.mjs +0 -77
- package/dist/security/Jwt.mjs.map +0 -1
- package/dist/services/Api.mjs +0 -44
- package/dist/services/Api.mjs.map +0 -1
- package/dist/services/ApiGateway.mjs +0 -45
- package/dist/services/ApiGateway.mjs.map +0 -1
- package/dist/services/AxiosProvider.mjs +0 -40
- package/dist/services/AxiosProvider.mjs.map +0 -1
- package/dist/services/MappedRouteGateway.mjs +0 -78
- package/dist/services/MappedRouteGateway.mjs.map +0 -1
- package/dist/services/RouteGateway.mjs +0 -46
- package/dist/services/RouteGateway.mjs.map +0 -1
- package/dist/services/ViewRouteGateway.mjs +0 -79
- package/dist/services/ViewRouteGateway.mjs.map +0 -1
- package/dist/sql/Clause.mjs +0 -24
- package/dist/sql/Clause.mjs.map +0 -1
- package/dist/sql/Column.mjs +0 -37
- package/dist/sql/Column.mjs.map +0 -1
- package/dist/sql/Count.mjs +0 -20
- package/dist/sql/Count.mjs.map +0 -1
- package/dist/sql/Delete.mjs +0 -19
- package/dist/sql/Delete.mjs.map +0 -1
- package/dist/sql/Insert.mjs +0 -21
- package/dist/sql/Insert.mjs.map +0 -1
- package/dist/sql/Join.mjs +0 -8
- package/dist/sql/Join.mjs.map +0 -1
- package/dist/sql/Select.mjs +0 -19
- package/dist/sql/Select.mjs.map +0 -1
- package/dist/sql/SqlQuery.mjs +0 -18
- package/dist/sql/SqlQuery.mjs.map +0 -1
- package/dist/sql/Table.mjs +0 -93
- package/dist/sql/Table.mjs.map +0 -1
- package/dist/sql/TableGateway.mjs +0 -72
- package/dist/sql/TableGateway.mjs.map +0 -1
- package/dist/sql/Update.mjs +0 -21
- package/dist/sql/Update.mjs.map +0 -1
- package/dist/types/AnyKey.mjs +0 -1
- package/dist/types/AnyKey.mjs.map +0 -1
- package/dist/types/Array.mjs +0 -16
- package/dist/types/Array.mjs.map +0 -1
- package/dist/types/Builder.mjs +0 -26
- package/dist/types/Builder.mjs.map +0 -1
- package/dist/types/Cache.mjs +0 -29
- package/dist/types/Cache.mjs.map +0 -1
- package/dist/types/CacheAge.mjs +0 -33
- package/dist/types/CacheAge.mjs.map +0 -1
- package/dist/types/Case.mjs +0 -29
- package/dist/types/Case.mjs.map +0 -1
- package/dist/types/Constructor.mjs +0 -23
- package/dist/types/Constructor.mjs.map +0 -1
- package/dist/types/Context.mjs +0 -28
- package/dist/types/Context.mjs.map +0 -1
- package/dist/types/Currency.mjs +0 -15
- package/dist/types/Currency.mjs.map +0 -1
- package/dist/types/Enum.mjs +0 -24
- package/dist/types/Enum.mjs.map +0 -1
- package/dist/types/Environment.mjs +0 -28
- package/dist/types/Environment.mjs.map +0 -1
- package/dist/types/ErrorOrigin.mjs +0 -1
- package/dist/types/ErrorOrigin.mjs.map +0 -1
- package/dist/types/Exception.mjs +0 -26
- package/dist/types/Exception.mjs.map +0 -1
- package/dist/types/Falsy.mjs +0 -10
- package/dist/types/Falsy.mjs.map +0 -1
- package/dist/types/Func.mjs +0 -8
- package/dist/types/Func.mjs.map +0 -1
- package/dist/types/Gateway.mjs +0 -24
- package/dist/types/Gateway.mjs.map +0 -1
- package/dist/types/Get.mjs +0 -13
- package/dist/types/Get.mjs.map +0 -1
- package/dist/types/Id.mjs +0 -13
- package/dist/types/Id.mjs.map +0 -1
- package/dist/types/IdName.mjs +0 -1
- package/dist/types/IdName.mjs.map +0 -1
- package/dist/types/Identity.mjs +0 -1
- package/dist/types/Identity.mjs.map +0 -1
- package/dist/types/Indexed.mjs +0 -15
- package/dist/types/Indexed.mjs.map +0 -1
- package/dist/types/Is.mjs +0 -42
- package/dist/types/Is.mjs.map +0 -1
- package/dist/types/IsA.mjs +0 -16
- package/dist/types/IsA.mjs.map +0 -1
- package/dist/types/IsDate.mjs +0 -14
- package/dist/types/IsDate.mjs.map +0 -1
- package/dist/types/IsEqual.mjs +0 -30
- package/dist/types/IsEqual.mjs.map +0 -1
- package/dist/types/Json.mjs +0 -29
- package/dist/types/Json.mjs.map +0 -1
- package/dist/types/List.mjs +0 -27
- package/dist/types/List.mjs.map +0 -1
- package/dist/types/Message.mjs +0 -11
- package/dist/types/Message.mjs.map +0 -1
- package/dist/types/Meta.mjs +0 -19
- package/dist/types/Meta.mjs.map +0 -1
- package/dist/types/Nullish.mjs +0 -8
- package/dist/types/Nullish.mjs.map +0 -1
- package/dist/types/Number.mjs +0 -30
- package/dist/types/Number.mjs.map +0 -1
- package/dist/types/Object.mjs +0 -24
- package/dist/types/Object.mjs.map +0 -1
- package/dist/types/PageList.mjs +0 -40
- package/dist/types/PageList.mjs.map +0 -1
- package/dist/types/Parser.mjs +0 -80
- package/dist/types/Parser.mjs.map +0 -1
- package/dist/types/Primitive.mjs +0 -9
- package/dist/types/Primitive.mjs.map +0 -1
- package/dist/types/Repository.mjs +0 -24
- package/dist/types/Repository.mjs.map +0 -1
- package/dist/types/Result.mjs +0 -23
- package/dist/types/Result.mjs.map +0 -1
- package/dist/types/Results.mjs +0 -26
- package/dist/types/Results.mjs.map +0 -1
- package/dist/types/Sort.mjs +0 -10
- package/dist/types/Sort.mjs.map +0 -1
- package/dist/types/Tag.mjs +0 -26
- package/dist/types/Tag.mjs.map +0 -1
- package/dist/types/Template.mjs +0 -21
- package/dist/types/Template.mjs.map +0 -1
- package/dist/types/Text.mjs +0 -21
- package/dist/types/Text.mjs.map +0 -1
- package/dist/types/ToText.mjs +0 -23
- package/dist/types/ToText.mjs.map +0 -1
- package/dist/types/Try.mjs +0 -31
- package/dist/types/Try.mjs.map +0 -1
- package/dist/types/TypeGuard.mjs +0 -1
- package/dist/types/TypeGuard.mjs.map +0 -1
- package/dist/types/Types.mjs +0 -1
- package/dist/types/Types.mjs.map +0 -1
- package/dist/types/Uri.mjs +0 -119
- package/dist/types/Uri.mjs.map +0 -1
- package/dist/types/Uuid.mjs +0 -16
- package/dist/types/Uuid.mjs.map +0 -1
- package/dist/types/Validatable.mjs +0 -13
- package/dist/types/Validatable.mjs.map +0 -1
- package/dist/types/Value.mjs +0 -14
- package/dist/types/Value.mjs.map +0 -1
- package/dist/utils/Base64.mjs +0 -12
- package/dist/utils/Base64.mjs.map +0 -1
- package/dist/utils/Convert.mjs +0 -14
- package/dist/utils/Convert.mjs.map +0 -1
- package/dist/utils/If.mjs +0 -25
- package/dist/utils/If.mjs.map +0 -1
- package/dist/utils/Loading.mjs +0 -11
- package/dist/utils/Loading.mjs.map +0 -1
- package/dist/utils/Log.mjs +0 -21
- package/dist/utils/Log.mjs.map +0 -1
- package/dist/utils/Mapper.mjs +0 -28
- package/dist/utils/Mapper.mjs.map +0 -1
- package/dist/utils/Promise.mjs +0 -35
- package/dist/utils/Promise.mjs.map +0 -1
- package/dist/utils/Property.mjs +0 -13
- package/dist/utils/Property.mjs.map +0 -1
- package/dist/utils/Seconds.mjs +0 -18
- package/dist/utils/Seconds.mjs.map +0 -1
- package/dist/utils/Sentence.mjs +0 -71
- package/dist/utils/Sentence.mjs.map +0 -1
- package/dist/utils/State.mjs +0 -12
- package/dist/utils/State.mjs.map +0 -1
- package/dist/utils/Traverse.mjs +0 -12
- package/dist/utils/Traverse.mjs.map +0 -1
- package/dist/utils/View.mjs +0 -41
- package/dist/utils/View.mjs.map +0 -1
- package/dist/utils/Wait.mjs +0 -17
- package/dist/utils/Wait.mjs.map +0 -1
- package/dist/validation/Contraints.mjs +0 -65
- package/dist/validation/Contraints.mjs.map +0 -1
- package/dist/validation/Validate.mjs +0 -35
- package/dist/validation/Validate.mjs.map +0 -1
- package/dist/validation/When.mjs +0 -31
- package/dist/validation/When.mjs.map +0 -1
package/dist/types/PageList.mjs
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
PageList,
|
|
3
|
-
asPageList,
|
|
4
|
-
isPageList,
|
|
5
|
-
toFilter,
|
|
6
|
-
toPageList,
|
|
7
|
-
toShortFilter
|
|
8
|
-
} from "../chunk-J3DYDXXF.mjs";
|
|
9
|
-
import "../chunk-S6WR4MXU.mjs";
|
|
10
|
-
import "../chunk-OFGI5FLG.mjs";
|
|
11
|
-
import "../chunk-CSHFNF34.mjs";
|
|
12
|
-
import "../chunk-RNLFG4YX.mjs";
|
|
13
|
-
import "../chunk-MBRLKMEQ.mjs";
|
|
14
|
-
import "../chunk-BIHKQLEE.mjs";
|
|
15
|
-
import "../chunk-WSBULPUZ.mjs";
|
|
16
|
-
import "../chunk-CSAPGLC7.mjs";
|
|
17
|
-
import "../chunk-4K4X43SV.mjs";
|
|
18
|
-
import "../chunk-F34HSIZ5.mjs";
|
|
19
|
-
import "../chunk-4LVZOQ6O.mjs";
|
|
20
|
-
import "../chunk-HULI73W2.mjs";
|
|
21
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
22
|
-
import "../chunk-SSROJBD5.mjs";
|
|
23
|
-
import "../chunk-CO2AFYVD.mjs";
|
|
24
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
25
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
26
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
27
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
28
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
29
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
30
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
31
|
-
import "../chunk-4N72FQFX.mjs";
|
|
32
|
-
export {
|
|
33
|
-
PageList,
|
|
34
|
-
asPageList,
|
|
35
|
-
isPageList,
|
|
36
|
-
toFilter,
|
|
37
|
-
toPageList,
|
|
38
|
-
toShortFilter
|
|
39
|
-
};
|
|
40
|
-
//# sourceMappingURL=PageList.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Parser.mjs
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isValid
|
|
3
|
-
} from "../chunk-S6WR4MXU.mjs";
|
|
4
|
-
import "../chunk-OFGI5FLG.mjs";
|
|
5
|
-
import "../chunk-CSHFNF34.mjs";
|
|
6
|
-
import "../chunk-RNLFG4YX.mjs";
|
|
7
|
-
import "../chunk-MBRLKMEQ.mjs";
|
|
8
|
-
import "../chunk-BIHKQLEE.mjs";
|
|
9
|
-
import "../chunk-WSBULPUZ.mjs";
|
|
10
|
-
import "../chunk-CSAPGLC7.mjs";
|
|
11
|
-
import "../chunk-4K4X43SV.mjs";
|
|
12
|
-
import "../chunk-F34HSIZ5.mjs";
|
|
13
|
-
import "../chunk-4LVZOQ6O.mjs";
|
|
14
|
-
import "../chunk-HULI73W2.mjs";
|
|
15
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
16
|
-
import "../chunk-SSROJBD5.mjs";
|
|
17
|
-
import {
|
|
18
|
-
toArray
|
|
19
|
-
} from "../chunk-CO2AFYVD.mjs";
|
|
20
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
21
|
-
import {
|
|
22
|
-
ofGet
|
|
23
|
-
} from "../chunk-SJGQU3OG.mjs";
|
|
24
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
25
|
-
import {
|
|
26
|
-
on
|
|
27
|
-
} from "../chunk-ZPNFXK7Y.mjs";
|
|
28
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
29
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
30
|
-
import {
|
|
31
|
-
isDefined,
|
|
32
|
-
isEmpty,
|
|
33
|
-
isIn,
|
|
34
|
-
isObject,
|
|
35
|
-
isString,
|
|
36
|
-
isTrue
|
|
37
|
-
} from "../chunk-DEJ7A5PY.mjs";
|
|
38
|
-
import "../chunk-4N72FQFX.mjs";
|
|
39
|
-
|
|
40
|
-
// src/types/Parser.ts
|
|
41
|
-
var Parser = class {
|
|
42
|
-
constructor(value, valid = true) {
|
|
43
|
-
this.value = value;
|
|
44
|
-
this.valid = valid;
|
|
45
|
-
}
|
|
46
|
-
if = {
|
|
47
|
-
equals: (pred) => this.evaluate(isTrue, pred),
|
|
48
|
-
empty: (pred) => this.evaluate(isEmpty, pred),
|
|
49
|
-
defined: (pred) => this.evaluate(isDefined, pred),
|
|
50
|
-
valid: (pred) => this.evaluate(isValid, pred),
|
|
51
|
-
in: (...items) => this.evaluate(() => isIn(this.value, toArray(...items))),
|
|
52
|
-
is: {
|
|
53
|
-
object: (pred) => this.evaluate(isObject, pred),
|
|
54
|
-
string: (pred) => this.evaluate(isString, pred),
|
|
55
|
-
instance: (c, pred) => this.evaluate(() => this.value instanceof c, pred)
|
|
56
|
-
},
|
|
57
|
-
not: {
|
|
58
|
-
empty: (pred) => this.evaluateNot(isEmpty, pred),
|
|
59
|
-
defined: (pred) => this.evaluateNot(isDefined, pred),
|
|
60
|
-
valid: (pred) => this.evaluateNot(isValid, pred),
|
|
61
|
-
isObject: (pred) => this.evaluateNot(isObject, pred),
|
|
62
|
-
in: (...items) => this.evaluate(() => !isIn(this.value, toArray(...items))),
|
|
63
|
-
is: {
|
|
64
|
-
object: (pred) => this.evaluateNot(isObject, pred),
|
|
65
|
-
string: (pred) => this.evaluateNot(isString, pred),
|
|
66
|
-
instance: (c, pred) => this.evaluate(() => !(this.value instanceof c), pred)
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
evaluate(meta, pred) {
|
|
71
|
-
return on(this, (t) => t.valid = ofGet(meta, pred ? ofGet(pred, this.value) : this.value));
|
|
72
|
-
}
|
|
73
|
-
evaluateNot(meta, pred) {
|
|
74
|
-
return on(this, (t) => t.valid = !ofGet(meta, pred ? ofGet(pred, this.value) : this.value));
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
export {
|
|
78
|
-
Parser
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=Parser.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/Parser.ts"],"sourcesContent":["import { Get, ofGet, Predicate } from './Get';\nimport { isDefined, isEmpty, isIn, isObject, isString, isTrue } from './Is';\nimport { isValid } from '../validation/Validate';\nimport { Constructor, on } from './Constructor';\nimport { toArray } from './Array';\n\nexport class Parser<T, V> {\n if = {\n equals: (pred?: Predicate<T>): this => this.evaluate(isTrue, pred),\n empty: <U>(pred?: Get<U, T>): this => this.evaluate(isEmpty, pred),\n defined: <U>(pred?: Get<U, T>): this => this.evaluate(isDefined, pred),\n valid: <U>(pred?: Get<U, T>): this => this.evaluate(isValid, pred),\n in: (...items: T[]): this => this.evaluate(() => isIn(this.value, toArray(...items))),\n is: {\n object: <U>(pred?: Get<U, T>): this => this.evaluate(isObject, pred),\n string: <U>(pred?: Get<U, T>): this => this.evaluate(isString, pred),\n instance: <U>(c: Constructor<U>, pred?: Get<U, T>): this => this.evaluate(() => this.value instanceof c, pred),\n },\n not: {\n empty: <U>(pred?: Get<U, T>): this => this.evaluateNot(isEmpty, pred),\n defined: <U>(pred?: Get<U, T>): this => this.evaluateNot(isDefined, pred),\n valid: <U>(pred?: Get<U, T>): this => this.evaluateNot(isValid, pred),\n isObject: <U>(pred?: Get<U, T>): this => this.evaluateNot(isObject, pred),\n in: (...items: T[]): this => this.evaluate(() => !isIn(this.value, toArray(...items))),\n is: {\n object: <U>(pred?: Get<U, T>): this => this.evaluateNot(isObject, pred),\n string: <U>(pred?: Get<U, T>): this => this.evaluateNot(isString, pred),\n instance: <U>(c: Constructor<U>, pred?: Get<U, T>): this => this.evaluate(() => !(this.value instanceof c), pred),\n },\n },\n };\n\n constructor(\n protected value: T,\n protected valid = true\n ) {}\n\n protected evaluate<U>(meta: Get<boolean>, pred?: Get<U, T>): this {\n return on(this, t => (t.valid = ofGet(meta, pred ? ofGet(pred, this.value) : this.value)));\n }\n\n protected evaluateNot<U>(meta: Get<boolean>, pred?: Get<U, T>): this {\n return on(this, t => (t.valid = !ofGet(meta, pred ? ofGet(pred, this.value) : this.value)));\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,IAAM,SAAN,MAAmB;AAAA,EA0BxB,YACY,OACA,QAAQ,MAClB;AAFU;AACA;AAAA,EACT;AAAA,EA5BH,KAAK;AAAA,IACH,QAAQ,CAAC,SAA8B,KAAK,SAAS,QAAQ,IAAI;AAAA,IACjE,OAAO,CAAI,SAA2B,KAAK,SAAS,SAAS,IAAI;AAAA,IACjE,SAAS,CAAI,SAA2B,KAAK,SAAS,WAAW,IAAI;AAAA,IACrE,OAAO,CAAI,SAA2B,KAAK,SAAS,SAAS,IAAI;AAAA,IACjE,IAAI,IAAI,UAAqB,KAAK,SAAS,MAAM,KAAK,KAAK,OAAO,QAAQ,GAAG,KAAK,CAAC,CAAC;AAAA,IACpF,IAAI;AAAA,MACF,QAAQ,CAAI,SAA2B,KAAK,SAAS,UAAU,IAAI;AAAA,MACnE,QAAQ,CAAI,SAA2B,KAAK,SAAS,UAAU,IAAI;AAAA,MACnE,UAAU,CAAI,GAAmB,SAA2B,KAAK,SAAS,MAAM,KAAK,iBAAiB,GAAG,IAAI;AAAA,IAC/G;AAAA,IACA,KAAK;AAAA,MACH,OAAO,CAAI,SAA2B,KAAK,YAAY,SAAS,IAAI;AAAA,MACpE,SAAS,CAAI,SAA2B,KAAK,YAAY,WAAW,IAAI;AAAA,MACxE,OAAO,CAAI,SAA2B,KAAK,YAAY,SAAS,IAAI;AAAA,MACpE,UAAU,CAAI,SAA2B,KAAK,YAAY,UAAU,IAAI;AAAA,MACxE,IAAI,IAAI,UAAqB,KAAK,SAAS,MAAM,CAAC,KAAK,KAAK,OAAO,QAAQ,GAAG,KAAK,CAAC,CAAC;AAAA,MACrF,IAAI;AAAA,QACF,QAAQ,CAAI,SAA2B,KAAK,YAAY,UAAU,IAAI;AAAA,QACtE,QAAQ,CAAI,SAA2B,KAAK,YAAY,UAAU,IAAI;AAAA,QACtE,UAAU,CAAI,GAAmB,SAA2B,KAAK,SAAS,MAAM,EAAE,KAAK,iBAAiB,IAAI,IAAI;AAAA,MAClH;AAAA,IACF;AAAA,EACF;AAAA,EAOU,SAAY,MAAoB,MAAwB;AAChE,WAAO,GAAG,MAAM,OAAM,EAAE,QAAQ,MAAM,MAAM,OAAO,MAAM,MAAM,KAAK,KAAK,IAAI,KAAK,KAAK,CAAE;AAAA,EAC3F;AAAA,EAEU,YAAe,MAAoB,MAAwB;AACnE,WAAO,GAAG,MAAM,OAAM,EAAE,QAAQ,CAAC,MAAM,MAAM,OAAO,MAAM,MAAM,KAAK,KAAK,IAAI,KAAK,KAAK,CAAE;AAAA,EAC5F;AACF;","names":[]}
|
package/dist/types/Primitive.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Repository
|
|
3
|
-
} from "../chunk-QBHHLIZY.mjs";
|
|
4
|
-
import "../chunk-MBRLKMEQ.mjs";
|
|
5
|
-
import "../chunk-BIHKQLEE.mjs";
|
|
6
|
-
import "../chunk-4K4X43SV.mjs";
|
|
7
|
-
import "../chunk-F34HSIZ5.mjs";
|
|
8
|
-
import "../chunk-4LVZOQ6O.mjs";
|
|
9
|
-
import "../chunk-HULI73W2.mjs";
|
|
10
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
11
|
-
import "../chunk-SSROJBD5.mjs";
|
|
12
|
-
import "../chunk-CO2AFYVD.mjs";
|
|
13
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
14
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
15
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
16
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
17
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
18
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
19
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
20
|
-
import "../chunk-4N72FQFX.mjs";
|
|
21
|
-
export {
|
|
22
|
-
Repository
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=Repository.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Result.mjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isResult,
|
|
3
|
-
toResult
|
|
4
|
-
} from "../chunk-RNLFG4YX.mjs";
|
|
5
|
-
import "../chunk-CSAPGLC7.mjs";
|
|
6
|
-
import "../chunk-4K4X43SV.mjs";
|
|
7
|
-
import "../chunk-HULI73W2.mjs";
|
|
8
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
9
|
-
import "../chunk-SSROJBD5.mjs";
|
|
10
|
-
import "../chunk-CO2AFYVD.mjs";
|
|
11
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
12
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
13
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
14
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
15
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
16
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
17
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
18
|
-
import "../chunk-4N72FQFX.mjs";
|
|
19
|
-
export {
|
|
20
|
-
isResult,
|
|
21
|
-
toResult
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=Result.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Results.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Results,
|
|
3
|
-
isResults,
|
|
4
|
-
toResults
|
|
5
|
-
} from "../chunk-CSHFNF34.mjs";
|
|
6
|
-
import "../chunk-RNLFG4YX.mjs";
|
|
7
|
-
import "../chunk-CSAPGLC7.mjs";
|
|
8
|
-
import "../chunk-4K4X43SV.mjs";
|
|
9
|
-
import "../chunk-HULI73W2.mjs";
|
|
10
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
11
|
-
import "../chunk-SSROJBD5.mjs";
|
|
12
|
-
import "../chunk-CO2AFYVD.mjs";
|
|
13
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
14
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
15
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
16
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
17
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
18
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
19
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
20
|
-
import "../chunk-4N72FQFX.mjs";
|
|
21
|
-
export {
|
|
22
|
-
Results,
|
|
23
|
-
isResults,
|
|
24
|
-
toResults
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=Results.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Sort.mjs
DELETED
package/dist/types/Sort.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/Sort.ts"],"sourcesContent":["export const asc = 1;\nexport const desc = -1;\nexport type SortDirection = typeof asc | typeof desc;\nexport type Sort = { key: string; value: SortDirection };\nexport type PlainSort = Record<string, SortDirection> | string[];\n"],"mappings":";;;AAAO,IAAM,MAAM;AACZ,IAAM,OAAO;","names":[]}
|
package/dist/types/Tag.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
meta
|
|
3
|
-
} from "../chunk-4LVZOQ6O.mjs";
|
|
4
|
-
import "../chunk-HULI73W2.mjs";
|
|
5
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
6
|
-
import "../chunk-SSROJBD5.mjs";
|
|
7
|
-
import "../chunk-CO2AFYVD.mjs";
|
|
8
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
9
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
10
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
11
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
12
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
13
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
14
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
15
|
-
import "../chunk-4N72FQFX.mjs";
|
|
16
|
-
|
|
17
|
-
// src/types/Tag.ts
|
|
18
|
-
var tag = (name) => (subject, property) => {
|
|
19
|
-
meta(subject).property(property).set(name, property);
|
|
20
|
-
};
|
|
21
|
-
var searchable = () => tag(searchable.name);
|
|
22
|
-
export {
|
|
23
|
-
searchable,
|
|
24
|
-
tag
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=Tag.mjs.map
|
package/dist/types/Tag.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/Tag.ts"],"sourcesContent":["import { meta } from './Meta';\n\nexport const tag =\n (name: string): PropertyDecorator =>\n (subject: unknown, property: string | symbol): void => {\n meta(subject).property(property).set(name, property);\n };\n\nexport const searchable = (): PropertyDecorator => tag(searchable.name);\n"],"mappings":";;;;;;;;;;;;;;;;;AAEO,IAAM,MACX,CAAC,SACD,CAAC,SAAkB,aAAoC;AACrD,OAAK,OAAO,EAAE,SAAS,QAAQ,EAAE,IAAI,MAAM,QAAQ;AACrD;AAEK,IAAM,aAAa,MAAyB,IAAI,WAAW,IAAI;","names":[]}
|
package/dist/types/Template.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Template,
|
|
3
|
-
template
|
|
4
|
-
} from "../chunk-4K4X43SV.mjs";
|
|
5
|
-
import "../chunk-HULI73W2.mjs";
|
|
6
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
7
|
-
import "../chunk-SSROJBD5.mjs";
|
|
8
|
-
import "../chunk-CO2AFYVD.mjs";
|
|
9
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
10
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
11
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
12
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
13
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
14
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
15
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
16
|
-
import "../chunk-4N72FQFX.mjs";
|
|
17
|
-
export {
|
|
18
|
-
Template,
|
|
19
|
-
template
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=Template.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Text.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
asString,
|
|
3
|
-
capitalize,
|
|
4
|
-
isText,
|
|
5
|
-
kebab,
|
|
6
|
-
replaceAll,
|
|
7
|
-
toWords
|
|
8
|
-
} from "../chunk-BDA5LB4S.mjs";
|
|
9
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
10
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
11
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
12
|
-
import "../chunk-4N72FQFX.mjs";
|
|
13
|
-
export {
|
|
14
|
-
asString,
|
|
15
|
-
capitalize,
|
|
16
|
-
isText,
|
|
17
|
-
kebab,
|
|
18
|
-
replaceAll,
|
|
19
|
-
toWords
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=Text.mjs.map
|
package/dist/types/Text.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/ToText.mjs
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ToText,
|
|
3
|
-
text,
|
|
4
|
-
textValue
|
|
5
|
-
} from "../chunk-4K4X43SV.mjs";
|
|
6
|
-
import "../chunk-HULI73W2.mjs";
|
|
7
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
8
|
-
import "../chunk-SSROJBD5.mjs";
|
|
9
|
-
import "../chunk-CO2AFYVD.mjs";
|
|
10
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
11
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
12
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
13
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
14
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
15
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
16
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
17
|
-
import "../chunk-4N72FQFX.mjs";
|
|
18
|
-
export {
|
|
19
|
-
ToText,
|
|
20
|
-
text,
|
|
21
|
-
textValue
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=ToText.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Try.mjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Try,
|
|
3
|
-
tryTo
|
|
4
|
-
} from "../chunk-S6WR4MXU.mjs";
|
|
5
|
-
import "../chunk-OFGI5FLG.mjs";
|
|
6
|
-
import "../chunk-CSHFNF34.mjs";
|
|
7
|
-
import "../chunk-RNLFG4YX.mjs";
|
|
8
|
-
import "../chunk-MBRLKMEQ.mjs";
|
|
9
|
-
import "../chunk-BIHKQLEE.mjs";
|
|
10
|
-
import "../chunk-WSBULPUZ.mjs";
|
|
11
|
-
import "../chunk-CSAPGLC7.mjs";
|
|
12
|
-
import "../chunk-4K4X43SV.mjs";
|
|
13
|
-
import "../chunk-F34HSIZ5.mjs";
|
|
14
|
-
import "../chunk-4LVZOQ6O.mjs";
|
|
15
|
-
import "../chunk-HULI73W2.mjs";
|
|
16
|
-
import "../chunk-ABGKS4KE.mjs";
|
|
17
|
-
import "../chunk-SSROJBD5.mjs";
|
|
18
|
-
import "../chunk-CO2AFYVD.mjs";
|
|
19
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
20
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
21
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
22
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
23
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
24
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
25
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
26
|
-
import "../chunk-4N72FQFX.mjs";
|
|
27
|
-
export {
|
|
28
|
-
Try,
|
|
29
|
-
tryTo
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=Try.mjs.map
|
package/dist/types/Try.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/TypeGuard.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=TypeGuard.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Types.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=Types.mjs.map
|
package/dist/types/Types.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Uri.mjs
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
tryTo
|
|
3
|
-
} from "../chunk-S6WR4MXU.mjs";
|
|
4
|
-
import "../chunk-OFGI5FLG.mjs";
|
|
5
|
-
import "../chunk-CSHFNF34.mjs";
|
|
6
|
-
import "../chunk-RNLFG4YX.mjs";
|
|
7
|
-
import "../chunk-MBRLKMEQ.mjs";
|
|
8
|
-
import "../chunk-BIHKQLEE.mjs";
|
|
9
|
-
import "../chunk-WSBULPUZ.mjs";
|
|
10
|
-
import {
|
|
11
|
-
ctx
|
|
12
|
-
} from "../chunk-CSAPGLC7.mjs";
|
|
13
|
-
import "../chunk-4K4X43SV.mjs";
|
|
14
|
-
import "../chunk-F34HSIZ5.mjs";
|
|
15
|
-
import {
|
|
16
|
-
meta
|
|
17
|
-
} from "../chunk-4LVZOQ6O.mjs";
|
|
18
|
-
import {
|
|
19
|
-
entries
|
|
20
|
-
} from "../chunk-HULI73W2.mjs";
|
|
21
|
-
import {
|
|
22
|
-
toList
|
|
23
|
-
} from "../chunk-ABGKS4KE.mjs";
|
|
24
|
-
import "../chunk-SSROJBD5.mjs";
|
|
25
|
-
import {
|
|
26
|
-
toArray
|
|
27
|
-
} from "../chunk-CO2AFYVD.mjs";
|
|
28
|
-
import {
|
|
29
|
-
asString
|
|
30
|
-
} from "../chunk-BDA5LB4S.mjs";
|
|
31
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
32
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
33
|
-
import {
|
|
34
|
-
toName
|
|
35
|
-
} from "../chunk-ZPNFXK7Y.mjs";
|
|
36
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
37
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
38
|
-
import {
|
|
39
|
-
isBoolean,
|
|
40
|
-
isNotEmpty,
|
|
41
|
-
isTrue
|
|
42
|
-
} from "../chunk-DEJ7A5PY.mjs";
|
|
43
|
-
import "../chunk-4N72FQFX.mjs";
|
|
44
|
-
|
|
45
|
-
// src/types/Uri.ts
|
|
46
|
-
var toSegment = (key, {
|
|
47
|
-
segment,
|
|
48
|
-
query
|
|
49
|
-
} = {}) => ({
|
|
50
|
-
key,
|
|
51
|
-
segment,
|
|
52
|
-
query,
|
|
53
|
-
toString: () => asString(key)
|
|
54
|
-
});
|
|
55
|
-
var uri = {
|
|
56
|
-
host: (key) => toSegment(key, { segment: key ?? ctx.env.host ?? "$host" }),
|
|
57
|
-
resource: (resource) => toSegment(toName(resource, "Uri"), { segment: toName(resource, "Uri") }),
|
|
58
|
-
segment: (key) => toSegment(key, { segment: key }),
|
|
59
|
-
path: (key) => toSegment(key, { segment: `:${key}` }),
|
|
60
|
-
query: (key) => toSegment(key, {
|
|
61
|
-
query: (value) => tryTo(value).is.defined().map((v) => encodeURIComponent(asString(v))).map((v) => `${key}=${v}`).orElse("") ?? ""
|
|
62
|
-
}),
|
|
63
|
-
boolean: (key) => toSegment(key, { query: (value) => isTrue(value) ? `${key}` : "" })
|
|
64
|
-
};
|
|
65
|
-
var toRoute = (...segments) => toList(segments).mapDefined((s) => s.segment).join("/");
|
|
66
|
-
var EasyUri = class _EasyUri {
|
|
67
|
-
constructor(segments = []) {
|
|
68
|
-
this.segments = segments;
|
|
69
|
-
}
|
|
70
|
-
static id = uri.path("id");
|
|
71
|
-
static ids = uri.query("ids");
|
|
72
|
-
static query = uri.query("q");
|
|
73
|
-
static sort = uri.query("s");
|
|
74
|
-
static skip = uri.query("skip");
|
|
75
|
-
static take = uri.query("take");
|
|
76
|
-
host = uri.host();
|
|
77
|
-
resource = uri.resource(this);
|
|
78
|
-
state = {};
|
|
79
|
-
get path() {
|
|
80
|
-
return toRoute(uri.segment(""), this.resource, ...this.segments);
|
|
81
|
-
}
|
|
82
|
-
get complete() {
|
|
83
|
-
return toRoute(this.host, this.resource, ...this.segments);
|
|
84
|
-
}
|
|
85
|
-
get isInternal() {
|
|
86
|
-
return toRoute(this.host) === (ctx.env.host ?? "$host");
|
|
87
|
-
}
|
|
88
|
-
get props() {
|
|
89
|
-
return meta(this.state).values();
|
|
90
|
-
}
|
|
91
|
-
route = (resource = this.resource.key) => toRoute(uri.segment(""), uri.segment(resource?.toLowerCase()), ...this.segments);
|
|
92
|
-
set = (segment, value) => {
|
|
93
|
-
tryTo(value).is.defined().accept((value2) => this.state[segment.key ?? ""] = { segment, value: value2 });
|
|
94
|
-
return this;
|
|
95
|
-
};
|
|
96
|
-
toString() {
|
|
97
|
-
return tryTo(() => this.props).map((ps) => ps.filter((p) => p.segment?.segment)).map((ps) => ps.reduce((r, p) => r.replace(asString(p.segment.segment), asString(p.value)), this.complete)).map((route) => ({
|
|
98
|
-
route,
|
|
99
|
-
query: this.props.mapDefined((p) => p.segment?.query ? p.segment?.query(p.value) : void 0)?.join("&")
|
|
100
|
-
})).map(({ route, query }) => isNotEmpty(query) ? `${route}?${query}` : route).value;
|
|
101
|
-
}
|
|
102
|
-
id = (id) => this.set(_EasyUri.id, id);
|
|
103
|
-
ids = (ids) => this.set(_EasyUri.ids, toArray(ids).join(","));
|
|
104
|
-
query = (q) => this.set(_EasyUri.query, q);
|
|
105
|
-
sort = (s) => this.set(_EasyUri.sort, asString(s));
|
|
106
|
-
skip = (index) => this.set(_EasyUri.skip, index);
|
|
107
|
-
take = (items) => this.set(_EasyUri.take, items);
|
|
108
|
-
expand(props) {
|
|
109
|
-
return entries(props).filter(([_, v]) => isNotEmpty(v)).reduce((u, [k, v]) => isBoolean(v) ? u.set(uri.boolean(k), v) : u.set(uri.query(k), toArray(v).join(",")), this);
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
var clipUri = (uri2) => tryTo(() => asString(uri2)).map((uri3) => uri3.replace(/^(https?:\/\/)?(www\.)?/, "")).map((uri3) => uri3.replace(/\/$/, "")).value;
|
|
113
|
-
export {
|
|
114
|
-
EasyUri,
|
|
115
|
-
clipUri,
|
|
116
|
-
toSegment,
|
|
117
|
-
uri
|
|
118
|
-
};
|
|
119
|
-
//# sourceMappingURL=Uri.mjs.map
|
package/dist/types/Uri.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/types/Uri.ts"],"sourcesContent":["import { isBoolean, isNotEmpty, isTrue } from './Is';\nimport { asString, Text } from './Text';\nimport { toName } from './Constructor';\nimport { ctx } from './Context';\nimport { List, toList } from './List';\nimport { meta } from './Meta';\nimport { tryTo } from './Try';\nimport { Optional } from './Types';\nimport { OneOrMore, toArray } from './Array';\nimport { entries } from './Object';\n\nexport type Segment = Text & { key?: string; segment?: string; query?: (value: unknown) => string };\n\nexport const toSegment = (\n key?: Text,\n {\n segment,\n query,\n }: {\n segment?: string;\n query?: (value: unknown) => string;\n } = {}\n): Segment => ({\n key: key as string,\n segment,\n query,\n toString: () => asString(key),\n});\n\nexport const uri = {\n host: (key?: string): Segment => toSegment(key, { segment: key ?? ctx.env.host ?? '$host' }),\n resource: <Props extends UriExpandProps>(resource: Uri<Props>): Segment => toSegment(toName(resource, 'Uri'), { segment: toName(resource, 'Uri') }),\n segment: (key?: Text): Segment => toSegment(key, { segment: key as string }),\n path: (key: Text): Segment => toSegment(key, { segment: `:${key}` }),\n query: (key: Text): Segment =>\n toSegment(key, {\n query: (value: unknown): string =>\n tryTo(value)\n .is.defined()\n .map(v => encodeURIComponent(asString(v)))\n .map(v => `${key}=${v}`)\n .orElse('') ?? '',\n }),\n boolean: (key: Text): Segment => toSegment(key, { query: (value: unknown): string => (isTrue(value) ? `${key}` : '') }),\n};\n\ntype Prop = { segment: Segment; value: any };\n\nconst toRoute = (...segments: Segment[]): string =>\n toList(segments)\n .mapDefined(s => s.segment)\n .join('/');\n\nexport type Uri<Props extends UriExpandProps = UriExpandProps> = {\n id: (id?: unknown) => Uri<Props>;\n ids: (ids: OneOrMore<unknown>) => Uri<Props>;\n query: (q?: unknown) => Uri<Props>;\n sort: (q?: any) => Uri<Props>;\n skip: (n?: number) => Uri<Props>;\n take: (n?: number) => Uri<Props>;\n path: string;\n route: (resource: string) => string;\n isInternal: boolean;\n toString: () => string;\n expand: (props: Partial<Props>) => Uri<Props>;\n};\n\nexport type UriExpandProps = { q?: string; s?: string; skip?: number; take?: number };\n\nexport class EasyUri<Props extends UriExpandProps = UriExpandProps> implements Uri<Props> {\n static readonly id = uri.path('id');\n static readonly ids = uri.query('ids');\n static readonly query = uri.query('q');\n static readonly sort = uri.query('s');\n static readonly skip = uri.query('skip');\n static readonly take = uri.query('take');\n\n readonly host = uri.host();\n protected resource: Segment = uri.resource(this);\n\n protected state: any = {};\n\n constructor(readonly segments: Segment[] = []) {}\n\n get path(): string {\n return toRoute(uri.segment(''), this.resource, ...this.segments);\n }\n\n get complete(): string {\n return toRoute(this.host, this.resource, ...this.segments);\n }\n\n get isInternal(): boolean {\n return toRoute(this.host) === (ctx.env.host ?? '$host');\n }\n\n protected get props(): List<Prop> {\n return meta(this.state).values<Prop>();\n }\n\n route = (resource: Optional<string> = this.resource.key): string => toRoute(uri.segment(''), uri.segment(resource?.toLowerCase()), ...this.segments);\n\n set = (segment: Segment, value?: unknown): this => {\n tryTo(value)\n .is.defined()\n .accept(value => (this.state[segment.key ?? ''] = { segment, value }));\n return this;\n };\n\n toString(): string {\n return tryTo(() => this.props)\n .map(ps => ps.filter(p => p.segment?.segment))\n .map(ps => ps.reduce((r: string, p: Prop) => r.replace(asString(p.segment.segment), asString(p.value)), this.complete))\n .map(route => ({\n route,\n query: this.props.mapDefined(p => (p.segment?.query ? p.segment?.query(p.value) : undefined))?.join('&'),\n }))\n .map(({ route, query }) => (isNotEmpty(query) ? `${route}?${query}` : route)).value;\n }\n\n id = (id?: unknown): this => this.set(EasyUri.id, id);\n ids = (ids: OneOrMore<unknown>): this => this.set(EasyUri.ids, toArray(ids).join(','));\n query = (q?: unknown): this => this.set(EasyUri.query, q);\n sort = (s?: any): this => this.set(EasyUri.sort, asString(s));\n\n skip = (index?: number): this => this.set(EasyUri.skip, index);\n take = (items?: number): this => this.set(EasyUri.take, items);\n\n expand(props: Partial<Props>): this {\n return entries(props as any)\n .filter(([_, v]) => isNotEmpty(v))\n .reduce((u, [k, v]) => (isBoolean(v) ? u.set(uri.boolean(k), v) : u.set(uri.query(k), toArray(v).join(','))), this);\n }\n}\n\nexport const clipUri = (uri?: EasyUri | string | null): string =>\n tryTo(() => asString(uri))\n .map(uri => uri.replace(/^(https?:\\/\\/)?(www\\.)?/, ''))\n .map(uri => uri.replace(/\\/$/, '')).value;\n"],"mappings":"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","names":["value","uri"]}
|
package/dist/types/Uuid.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
includesUuid,
|
|
3
|
-
isUuid,
|
|
4
|
-
toUuid
|
|
5
|
-
} from "../chunk-SJ4YFZKO.mjs";
|
|
6
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
7
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
8
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
9
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
10
|
-
import "../chunk-4N72FQFX.mjs";
|
|
11
|
-
export {
|
|
12
|
-
includesUuid,
|
|
13
|
-
isUuid,
|
|
14
|
-
toUuid
|
|
15
|
-
};
|
|
16
|
-
//# sourceMappingURL=Uuid.mjs.map
|
package/dist/types/Uuid.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isValidatable
|
|
3
|
-
} from "../chunk-OFGI5FLG.mjs";
|
|
4
|
-
import "../chunk-ZHXKBOK2.mjs";
|
|
5
|
-
import "../chunk-ZPNFXK7Y.mjs";
|
|
6
|
-
import "../chunk-DXQSIBC7.mjs";
|
|
7
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
8
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
9
|
-
import "../chunk-4N72FQFX.mjs";
|
|
10
|
-
export {
|
|
11
|
-
isValidatable
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=Validatable.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/types/Value.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Value,
|
|
3
|
-
isValue
|
|
4
|
-
} from "../chunk-WSBULPUZ.mjs";
|
|
5
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
6
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
7
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
8
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
9
|
-
import "../chunk-4N72FQFX.mjs";
|
|
10
|
-
export {
|
|
11
|
-
Value,
|
|
12
|
-
isValue
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=Value.mjs.map
|
package/dist/types/Value.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/utils/Base64.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import "../chunk-4N72FQFX.mjs";
|
|
2
|
-
|
|
3
|
-
// src/utils/Base64.ts
|
|
4
|
-
var base64 = {
|
|
5
|
-
decode: (data) => Buffer.from(data, "base64").toString("utf-8"),
|
|
6
|
-
encode: (data) => Buffer.from(data, "utf-8").toString("base64"),
|
|
7
|
-
toJson: (data) => JSON.parse(base64.decode(data))
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
base64
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=Base64.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/utils/Base64.ts"],"sourcesContent":["import type { Json } from '../types/Json';\n\nexport const base64 = {\n decode: (data: string): string => Buffer.from(data, 'base64').toString('utf-8'),\n encode: (data: string): string => Buffer.from(data, 'utf-8').toString('base64'),\n toJson: (data: string): Json => JSON.parse(base64.decode(data)),\n};\n"],"mappings":";;;AAEO,IAAM,SAAS;AAAA,EACpB,QAAQ,CAAC,SAAyB,OAAO,KAAK,MAAM,QAAQ,EAAE,SAAS,OAAO;AAAA,EAC9E,QAAQ,CAAC,SAAyB,OAAO,KAAK,MAAM,OAAO,EAAE,SAAS,QAAQ;AAAA,EAC9E,QAAQ,CAAC,SAAuB,KAAK,MAAM,OAAO,OAAO,IAAI,CAAC;AAChE;","names":[]}
|
package/dist/utils/Convert.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Convert,
|
|
3
|
-
convert
|
|
4
|
-
} from "../chunk-MDXL65W4.mjs";
|
|
5
|
-
import "../chunk-BDA5LB4S.mjs";
|
|
6
|
-
import "../chunk-SJGQU3OG.mjs";
|
|
7
|
-
import "../chunk-PIRWVOO2.mjs";
|
|
8
|
-
import "../chunk-DEJ7A5PY.mjs";
|
|
9
|
-
import "../chunk-4N72FQFX.mjs";
|
|
10
|
-
export {
|
|
11
|
-
Convert,
|
|
12
|
-
convert
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=Convert.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|