@thisisagile/easy 18.0.0 → 18.1.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-5GKFGWMT.mjs → chunk-2D2OD2NG.mjs} +2 -2
- package/dist/{chunk-KFYAE4HG.mjs → chunk-3DAAM5QI.mjs} +4 -4
- package/dist/{chunk-AAPNDGQS.mjs → chunk-3OGUT4PJ.mjs} +3 -3
- package/dist/{chunk-KZQZIQ6T.mjs → chunk-6ICHBWMZ.mjs} +2 -2
- package/dist/{chunk-HXE3E7RM.mjs → chunk-AKW3ZSPB.mjs} +3 -3
- package/dist/{chunk-YGR2R77U.mjs → chunk-BIOLEZAH.mjs} +2 -2
- package/dist/{chunk-2IETG4DU.mjs → chunk-CACS6F4E.mjs} +2 -2
- package/dist/{chunk-HBQFWE27.mjs → chunk-DNJKEIEB.mjs} +2 -2
- package/dist/{chunk-ILB7ZDRN.mjs → chunk-FRIMC5AQ.mjs} +3 -3
- package/dist/{chunk-SU7MM4FN.mjs → chunk-G5JG5WGP.mjs} +2 -2
- package/dist/{chunk-7YOBRIPP.mjs → chunk-H2AQXRHU.mjs} +3 -3
- package/dist/{chunk-ZIZ323HN.mjs → chunk-N6UIO2PL.mjs} +4 -4
- package/dist/{chunk-R6PJ5CPZ.mjs → chunk-NGDWKHLO.mjs} +5 -5
- package/dist/{chunk-X6CPTGGY.mjs → chunk-NNVOP6SK.mjs} +2 -2
- package/dist/{chunk-BD6LAT2Y.mjs → chunk-O6R5ZUAE.mjs} +14 -8
- package/dist/chunk-O6R5ZUAE.mjs.map +1 -0
- package/dist/{chunk-2FF6NDVX.mjs → chunk-PLCNZYFY.mjs} +2 -2
- package/dist/{chunk-7THDYHVE.mjs → chunk-R6ZTSXLQ.mjs} +2 -2
- package/dist/{chunk-CTKIKB55.mjs → chunk-U45AUKTJ.mjs} +6 -6
- package/dist/{chunk-US4665GR.mjs → chunk-UFTAOL5N.mjs} +2 -2
- package/dist/{chunk-PVIIPIWP.mjs → chunk-UMHGIJFE.mjs} +2 -2
- package/dist/{chunk-EQTQ6EZI.mjs → chunk-USCGSR64.mjs} +2 -2
- package/dist/{chunk-7SZETQR3.mjs → chunk-YXZUQBUH.mjs} +2 -2
- package/dist/data/InMemoryGateway.mjs +3 -3
- package/dist/domain/Audit.mjs +5 -5
- package/dist/domain/Child.mjs +3 -3
- package/dist/domain/DateTime.mjs +2 -2
- package/dist/domain/Entity.mjs +5 -5
- package/dist/domain/Repo.mjs +2 -2
- package/dist/domain/Struct.mjs +2 -2
- package/dist/domain/Typo.mjs +2 -2
- package/dist/http/CacheControl.mjs +3 -3
- package/dist/http/LocalRequestStore.mjs +1 -1
- package/dist/http/RequestOptions.mjs +2 -2
- package/dist/http/RestResult.mjs +2 -2
- package/dist/http/toResponse.mjs +3 -3
- package/dist/index.js +13 -7
- package/dist/index.js.map +1 -1
- package/dist/process/App.mjs +2 -2
- package/dist/process/Manage.mjs +3 -3
- package/dist/process/Scope.mjs +2 -2
- package/dist/process/Search.mjs +3 -3
- package/dist/process/UseCase.mjs +1 -1
- package/dist/resources/Req.mjs +2 -2
- 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 +12 -12
- package/dist/services/RouteGateway.mjs +12 -12
- package/dist/services/ViewRouteGateway.mjs +14 -14
- package/dist/sql/Column.mjs +2 -2
- package/dist/sql/Table.mjs +2 -2
- package/dist/sql/TableGateway.mjs +3 -3
- package/dist/types/CacheAge.mjs +3 -3
- package/dist/types/Case.d.ts +8 -0
- package/dist/types/Case.mjs +1 -1
- package/dist/types/Context.mjs +1 -1
- package/dist/types/Exception.mjs +1 -1
- package/dist/types/Gateway.mjs +2 -2
- package/dist/types/IsEqual.mjs +2 -2
- package/dist/types/Number.mjs +2 -2
- package/dist/types/PageList.mjs +2 -2
- package/dist/types/Parser.mjs +1 -1
- package/dist/types/Repository.mjs +2 -2
- package/dist/types/Result.mjs +1 -1
- package/dist/types/Results.mjs +1 -1
- package/dist/types/Template.d.ts +1 -1
- package/dist/types/Template.mjs +1 -1
- package/dist/types/ToText.mjs +1 -1
- package/dist/types/Try.mjs +1 -1
- package/dist/types/Uri.mjs +1 -1
- package/dist/utils/Sentence.mjs +1 -1
- package/dist/utils/View.mjs +4 -4
- package/dist/validation/Contraints.mjs +2 -2
- package/dist/validation/Validate.mjs +1 -1
- package/dist/validation/When.mjs +1 -1
- package/package.json +1 -1
- package/src/types/Case.ts +6 -0
- package/src/types/Template.ts +3 -3
- package/src/types/ToText.ts +1 -1
- package/src/validation/Validate.ts +2 -2
- package/dist/chunk-BD6LAT2Y.mjs.map +0 -1
- /package/dist/{chunk-5GKFGWMT.mjs.map → chunk-2D2OD2NG.mjs.map} +0 -0
- /package/dist/{chunk-KFYAE4HG.mjs.map → chunk-3DAAM5QI.mjs.map} +0 -0
- /package/dist/{chunk-AAPNDGQS.mjs.map → chunk-3OGUT4PJ.mjs.map} +0 -0
- /package/dist/{chunk-KZQZIQ6T.mjs.map → chunk-6ICHBWMZ.mjs.map} +0 -0
- /package/dist/{chunk-HXE3E7RM.mjs.map → chunk-AKW3ZSPB.mjs.map} +0 -0
- /package/dist/{chunk-YGR2R77U.mjs.map → chunk-BIOLEZAH.mjs.map} +0 -0
- /package/dist/{chunk-2IETG4DU.mjs.map → chunk-CACS6F4E.mjs.map} +0 -0
- /package/dist/{chunk-HBQFWE27.mjs.map → chunk-DNJKEIEB.mjs.map} +0 -0
- /package/dist/{chunk-ILB7ZDRN.mjs.map → chunk-FRIMC5AQ.mjs.map} +0 -0
- /package/dist/{chunk-SU7MM4FN.mjs.map → chunk-G5JG5WGP.mjs.map} +0 -0
- /package/dist/{chunk-7YOBRIPP.mjs.map → chunk-H2AQXRHU.mjs.map} +0 -0
- /package/dist/{chunk-ZIZ323HN.mjs.map → chunk-N6UIO2PL.mjs.map} +0 -0
- /package/dist/{chunk-R6PJ5CPZ.mjs.map → chunk-NGDWKHLO.mjs.map} +0 -0
- /package/dist/{chunk-X6CPTGGY.mjs.map → chunk-NNVOP6SK.mjs.map} +0 -0
- /package/dist/{chunk-2FF6NDVX.mjs.map → chunk-PLCNZYFY.mjs.map} +0 -0
- /package/dist/{chunk-7THDYHVE.mjs.map → chunk-R6ZTSXLQ.mjs.map} +0 -0
- /package/dist/{chunk-CTKIKB55.mjs.map → chunk-U45AUKTJ.mjs.map} +0 -0
- /package/dist/{chunk-US4665GR.mjs.map → chunk-UFTAOL5N.mjs.map} +0 -0
- /package/dist/{chunk-PVIIPIWP.mjs.map → chunk-UMHGIJFE.mjs.map} +0 -0
- /package/dist/{chunk-EQTQ6EZI.mjs.map → chunk-USCGSR64.mjs.map} +0 -0
- /package/dist/{chunk-7SZETQR3.mjs.map → chunk-YXZUQBUH.mjs.map} +0 -0
package/dist/domain/Child.mjs
CHANGED
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
import "../chunk-HTNGE3BS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
required
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-UMHGIJFE.mjs";
|
|
8
8
|
import "../chunk-ADJAEGCT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Struct
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-R6ZTSXLQ.mjs";
|
|
12
12
|
import {
|
|
13
13
|
json
|
|
14
14
|
} from "../chunk-YXAXW4CU.mjs";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-O6R5ZUAE.mjs";
|
|
16
16
|
import "../chunk-OFGI5FLG.mjs";
|
|
17
17
|
import "../chunk-LTTIVS2R.mjs";
|
|
18
18
|
import "../chunk-4262V2GR.mjs";
|
package/dist/domain/DateTime.mjs
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
DateTime,
|
|
3
3
|
dt,
|
|
4
4
|
isDateTime
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-BIOLEZAH.mjs";
|
|
6
6
|
import "../chunk-4BMUPWAJ.mjs";
|
|
7
7
|
import "../chunk-ADJAEGCT.mjs";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-O6R5ZUAE.mjs";
|
|
9
9
|
import "../chunk-OFGI5FLG.mjs";
|
|
10
10
|
import "../chunk-LTTIVS2R.mjs";
|
|
11
11
|
import "../chunk-4262V2GR.mjs";
|
package/dist/domain/Entity.mjs
CHANGED
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
import "../chunk-HTNGE3BS.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Audit
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-NGDWKHLO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
required
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-UMHGIJFE.mjs";
|
|
11
|
+
import "../chunk-BIOLEZAH.mjs";
|
|
12
12
|
import "../chunk-4BMUPWAJ.mjs";
|
|
13
13
|
import "../chunk-ADJAEGCT.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Struct
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-R6ZTSXLQ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
json
|
|
19
19
|
} from "../chunk-YXAXW4CU.mjs";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-O6R5ZUAE.mjs";
|
|
21
21
|
import "../chunk-OFGI5FLG.mjs";
|
|
22
22
|
import "../chunk-LTTIVS2R.mjs";
|
|
23
23
|
import "../chunk-4262V2GR.mjs";
|
package/dist/domain/Repo.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Repository
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-USCGSR64.mjs";
|
|
4
4
|
import {
|
|
5
5
|
toJson
|
|
6
6
|
} from "../chunk-YXAXW4CU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Exception,
|
|
9
9
|
when
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-O6R5ZUAE.mjs";
|
|
11
11
|
import {
|
|
12
12
|
isValidatable
|
|
13
13
|
} from "../chunk-OFGI5FLG.mjs";
|
package/dist/domain/Struct.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Struct,
|
|
3
3
|
isStruct
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-R6ZTSXLQ.mjs";
|
|
5
5
|
import "../chunk-YXAXW4CU.mjs";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-O6R5ZUAE.mjs";
|
|
7
7
|
import "../chunk-OFGI5FLG.mjs";
|
|
8
8
|
import "../chunk-LTTIVS2R.mjs";
|
|
9
9
|
import "../chunk-4262V2GR.mjs";
|
package/dist/domain/Typo.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Repository
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-USCGSR64.mjs";
|
|
4
4
|
import {
|
|
5
5
|
toJson
|
|
6
6
|
} from "../chunk-YXAXW4CU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Exception,
|
|
9
9
|
when
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-O6R5ZUAE.mjs";
|
|
11
11
|
import "../chunk-OFGI5FLG.mjs";
|
|
12
12
|
import "../chunk-LTTIVS2R.mjs";
|
|
13
13
|
import "../chunk-4262V2GR.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cacheAge,
|
|
3
3
|
isCacheAge
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-3OGUT4PJ.mjs";
|
|
5
|
+
import "../chunk-6ICHBWMZ.mjs";
|
|
6
|
+
import "../chunk-O6R5ZUAE.mjs";
|
|
7
7
|
import "../chunk-OFGI5FLG.mjs";
|
|
8
8
|
import "../chunk-LTTIVS2R.mjs";
|
|
9
9
|
import "../chunk-4262V2GR.mjs";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
RequestOptions,
|
|
3
3
|
isRequestOptions,
|
|
4
4
|
toPageOptions
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-2D2OD2NG.mjs";
|
|
6
6
|
import "../chunk-SW2OCUH3.mjs";
|
|
7
7
|
import "../chunk-HTNGE3BS.mjs";
|
|
8
8
|
import "../chunk-FIIA7ENW.mjs";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-O6R5ZUAE.mjs";
|
|
10
10
|
import "../chunk-OFGI5FLG.mjs";
|
|
11
11
|
import "../chunk-LTTIVS2R.mjs";
|
|
12
12
|
import "../chunk-4262V2GR.mjs";
|
package/dist/http/RestResult.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isRestResult,
|
|
3
3
|
rest
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YXZUQBUH.mjs";
|
|
5
5
|
import "../chunk-STBIY75D.mjs";
|
|
6
6
|
import "../chunk-UYDZZAEK.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-O6R5ZUAE.mjs";
|
|
8
8
|
import "../chunk-OFGI5FLG.mjs";
|
|
9
9
|
import "../chunk-LTTIVS2R.mjs";
|
|
10
10
|
import "../chunk-4262V2GR.mjs";
|
package/dist/http/toResponse.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
toResponse
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-NNVOP6SK.mjs";
|
|
4
|
+
import "../chunk-YXZUQBUH.mjs";
|
|
5
5
|
import "../chunk-STBIY75D.mjs";
|
|
6
6
|
import "../chunk-UYDZZAEK.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-O6R5ZUAE.mjs";
|
|
8
8
|
import "../chunk-OFGI5FLG.mjs";
|
|
9
9
|
import "../chunk-LTTIVS2R.mjs";
|
|
10
10
|
import "../chunk-4262V2GR.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1094,6 +1094,7 @@ var CaseBuilder = class {
|
|
|
1094
1094
|
empty: (prop, out) => new Case(this.v).case(isEmpty(prop(this.v)), out),
|
|
1095
1095
|
valid: (prop, out) => new Case(this.v).case(validate(prop(this.v)).isValid, out),
|
|
1096
1096
|
in: (prop, out) => new Case(this.v).case(ofGet(prop, this.v).includes(this.v), out),
|
|
1097
|
+
type: (guard, out) => new Case(this.v).type(guard, out),
|
|
1097
1098
|
not: {
|
|
1098
1099
|
true: (pred, out) => new Case(this.v).case(!ofGet(pred, this.v), out),
|
|
1099
1100
|
false: (pred, out) => new Case(this.v).case(pred, out),
|
|
@@ -1102,7 +1103,8 @@ var CaseBuilder = class {
|
|
|
1102
1103
|
defined: (prop, out) => new Case(this.v).case(!isDefined(prop(this.v)), out),
|
|
1103
1104
|
empty: (prop, out) => new Case(this.v).case(!isEmpty(prop(this.v)), out),
|
|
1104
1105
|
valid: (prop, out) => new Case(this.v).case(!validate(prop(this.v)).isValid, out),
|
|
1105
|
-
in: (prop, out) => new Case(this.v).case(!ofGet(prop, this.v).includes(this.v), out)
|
|
1106
|
+
in: (prop, out) => new Case(this.v).case(!ofGet(prop, this.v).includes(this.v), out),
|
|
1107
|
+
type: (guard, out) => new Case(this.v).case((v) => !guard(v), out)
|
|
1106
1108
|
}
|
|
1107
1109
|
};
|
|
1108
1110
|
if = this.is;
|
|
@@ -1130,6 +1132,7 @@ var Case = class _Case {
|
|
|
1130
1132
|
empty: (prop, out) => new _Case(this.value).case(isEmpty(prop(this.value)), out),
|
|
1131
1133
|
valid: (prop, out) => new _Case(this.value).case(validate(prop(this.value)).isValid, out),
|
|
1132
1134
|
in: (prop, out) => new _Case(this.value).case(ofGet(prop, this.value).includes(this.value), out),
|
|
1135
|
+
type: (guard, out) => new _Case(this.value).type(guard, out),
|
|
1133
1136
|
not: {
|
|
1134
1137
|
true: (pred, out) => new _Case(this.value).case(!ofGet(pred, this.value), out),
|
|
1135
1138
|
false: (pred, out) => new _Case(this.value).case(pred, out),
|
|
@@ -1138,7 +1141,8 @@ var Case = class _Case {
|
|
|
1138
1141
|
defined: (prop, out) => new _Case(this.value).case(!isDefined(prop(this.value)), out),
|
|
1139
1142
|
empty: (prop, out) => new _Case(this.value).case(!isEmpty(prop(this.value)), out),
|
|
1140
1143
|
valid: (prop, out) => new _Case(this.value).case(!validate(prop(this.value)).isValid, out),
|
|
1141
|
-
in: (prop, out) => new _Case(this.value).case(!ofGet(prop, this.value).includes(this.value), out)
|
|
1144
|
+
in: (prop, out) => new _Case(this.value).case(!ofGet(prop, this.value).includes(this.value), out),
|
|
1145
|
+
type: (guard, out) => new _Case(this.value).case((v) => !guard(v), out)
|
|
1142
1146
|
}
|
|
1143
1147
|
};
|
|
1144
1148
|
if = this.is;
|
|
@@ -1170,6 +1174,7 @@ var Found = class extends Case {
|
|
|
1170
1174
|
empty: (_prop, _out) => this,
|
|
1171
1175
|
valid: (_prop, _out) => this,
|
|
1172
1176
|
in: (_prop, _out) => this,
|
|
1177
|
+
type: (_guard, _out) => this,
|
|
1173
1178
|
not: {
|
|
1174
1179
|
true: (_pred, _out) => this,
|
|
1175
1180
|
false: (_pred, _out) => this,
|
|
@@ -1178,7 +1183,8 @@ var Found = class extends Case {
|
|
|
1178
1183
|
defined: (_prop, _out) => this,
|
|
1179
1184
|
empty: (_prop, _out) => this,
|
|
1180
1185
|
valid: (_prop, _out) => this,
|
|
1181
|
-
in: (_prop, _out) => this
|
|
1186
|
+
in: (_prop, _out) => this,
|
|
1187
|
+
type: (_guard, _out) => this
|
|
1182
1188
|
}
|
|
1183
1189
|
};
|
|
1184
1190
|
if = this.is;
|
|
@@ -1237,7 +1243,7 @@ var constraints = (subject) => validators(subject).map((vs) => runValidator(vs,
|
|
|
1237
1243
|
var validate = (subject) => choose(subject).is.not.defined(
|
|
1238
1244
|
(s) => s,
|
|
1239
1245
|
() => toResults("Subject is not defined.")
|
|
1240
|
-
).type(isEnum, (e) => e.isValid ? toResults() : asResults(e, "This is not a valid {
|
|
1246
|
+
).type(isEnum, (e) => e.isValid ? toResults() : asResults(e, "This is not a valid {typeof}.")).type(isValue, (v) => v.isValid ? toResults() : asResults(v, "This is not a valid {typeof}.")).type(isArray, (a) => a.map((i) => validate(i)).reduce((rs, r) => rs.add(...r.results), toResults())).type(isValidatable, (v) => constraints(v)).else(toResults());
|
|
1241
1247
|
var validateReject = (subject) => when(subject).not.isValid.reject();
|
|
1242
1248
|
var isValid = (t) => validate(t).isValid;
|
|
1243
1249
|
|
|
@@ -1353,7 +1359,7 @@ var Template = class {
|
|
|
1353
1359
|
this.subject = subject;
|
|
1354
1360
|
this.options = options;
|
|
1355
1361
|
}
|
|
1356
|
-
knownPrefixes = /* @__PURE__ */ new Set(["
|
|
1362
|
+
knownPrefixes = /* @__PURE__ */ new Set(["typeof", "property", "actual", "subject"]);
|
|
1357
1363
|
toString = () => {
|
|
1358
1364
|
return entries(this.options).reduce((t, [k]) => this.option(t, k), this.object()).replace(" ", " ");
|
|
1359
1365
|
};
|
|
@@ -1372,7 +1378,7 @@ var Template = class {
|
|
|
1372
1378
|
};
|
|
1373
1379
|
function template(tmpl, subject, options = {}) {
|
|
1374
1380
|
return new Template(asString(tmpl), subject, {
|
|
1375
|
-
|
|
1381
|
+
typeof: toName(subject),
|
|
1376
1382
|
subject: text(JSON.stringify(subject)),
|
|
1377
1383
|
...options
|
|
1378
1384
|
});
|
|
@@ -1445,7 +1451,7 @@ var ToText = class {
|
|
|
1445
1451
|
get isEmpty() {
|
|
1446
1452
|
return isEmpty(this.toString());
|
|
1447
1453
|
}
|
|
1448
|
-
parse = (subject, options = {}) => text(template(this.subject, subject, {
|
|
1454
|
+
parse = (subject, options = {}) => text(template(this.subject, subject, { typeof: toName(subject), ...options }));
|
|
1449
1455
|
is = (...others) => others.some((o) => this.toString() === text(o).toString());
|
|
1450
1456
|
equals = this.is;
|
|
1451
1457
|
like = (...others) => others.some((o) => this.trim.lower.toString().includes(text(o).trim.lower.toString()));
|