@thisisagile/easy 17.0.0 → 17.0.2
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.d.ts +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/Currency.d.ts +7 -0
- package/dist/types/Currency.mjs +15 -0
- package/dist/types/Currency.mjs.map +1 -0
- package/package.json +2 -2
- package/src/index.ts +1 -0
- package/src/types/Currency.ts +10 -0
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export * from './types/CacheAge';
|
|
|
53
53
|
export * from './types/Case';
|
|
54
54
|
export * from './types/Constructor';
|
|
55
55
|
export * from './types/Context';
|
|
56
|
+
export * from './types/Currency';
|
|
56
57
|
export * from './types/Enum';
|
|
57
58
|
export * from './types/Environment';
|
|
58
59
|
export * from './types/ErrorOrigin';
|
package/dist/index.js
CHANGED
|
@@ -155,6 +155,7 @@ __export(src_exports, {
|
|
|
155
155
|
isBoolean: () => isBoolean,
|
|
156
156
|
isClause: () => isClause,
|
|
157
157
|
isConstructor: () => isConstructor,
|
|
158
|
+
isCurrency: () => isCurrency,
|
|
158
159
|
isDate: () => isDate,
|
|
159
160
|
isDateTime: () => isDateTime,
|
|
160
161
|
isDefined: () => isDefined,
|
|
@@ -2981,6 +2982,9 @@ var cache = (options) => (subject) => {
|
|
|
2981
2982
|
meta(subject).set("cache", toCacheOptions(options));
|
|
2982
2983
|
};
|
|
2983
2984
|
|
|
2985
|
+
// src/types/Currency.ts
|
|
2986
|
+
var isCurrency = (c) => isA(c, "id", "name", "digits", "code");
|
|
2987
|
+
|
|
2984
2988
|
// src/types/Environment.ts
|
|
2985
2989
|
var Environment = class _Environment extends Enum {
|
|
2986
2990
|
static Dev = new _Environment("Development", "dev");
|
|
@@ -3319,6 +3323,7 @@ var wait = (millis) => Wait.wait(millis);
|
|
|
3319
3323
|
isBoolean,
|
|
3320
3324
|
isClause,
|
|
3321
3325
|
isConstructor,
|
|
3326
|
+
isCurrency,
|
|
3322
3327
|
isDate,
|
|
3323
3328
|
isDateTime,
|
|
3324
3329
|
isDefined,
|