@thisisagile/easy 17.30.2 → 17.30.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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  view
3
- } from "../chunk-IJVBXBNY.mjs";
3
+ } from "../chunk-WORA2446.mjs";
4
4
  import "../chunk-RZPP5MB5.mjs";
5
5
  import {
6
6
  RouteGateway
@@ -39,6 +39,7 @@ export declare const views: {
39
39
  readonly json: typeof json;
40
40
  readonly spread: "view.spread";
41
41
  readonly skip: typeof ignore;
42
+ readonly equals: (key: string, value: unknown) => (a: unknown) => boolean;
42
43
  readonly value: (value: unknown) => () => unknown;
43
44
  readonly coalesce: (...keys: string[]) => (a: unknown) => unknown;
44
45
  readonly or: {
@@ -4,7 +4,7 @@ import {
4
4
  toViewer,
5
5
  view,
6
6
  views
7
- } from "../chunk-IJVBXBNY.mjs";
7
+ } from "../chunk-WORA2446.mjs";
8
8
  import "../chunk-RZPP5MB5.mjs";
9
9
  import "../chunk-26EAXSRC.mjs";
10
10
  import "../chunk-YQC25ZQ4.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy",
3
- "version": "17.30.2",
3
+ "version": "17.30.3",
4
4
  "description": "Straightforward library for building domain-driven microservice architectures",
5
5
  "author": "Sander Hoogendoorn",
6
6
  "license": "MIT",
package/src/utils/View.ts CHANGED
@@ -107,6 +107,7 @@ export const views = {
107
107
  json,
108
108
  spread,
109
109
  skip: ignore,
110
+ equals: (key: string, value: unknown) => (a: unknown) => traverse(a, key) === value,
110
111
  value: (value: unknown) => () => value,
111
112
  coalesce:
112
113
  (...keys: string[]) =>