@expressive/mvc 0.21.0 → 0.21.1

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/lib/index.d.ts CHANGED
@@ -1,19 +1,3 @@
1
- declare namespace Issue {
2
- type Variable = {} | string | number | boolean | null | undefined;
3
- type Variables<T> = T extends (...args: infer T) => any ? T : never;
4
- type Messages = {
5
- [named: string]: (...args: Variable[]) => string;
6
- };
7
- type Output<M extends Messages> = {
8
- readonly [P in keyof M]: (...args: Variables<M[P]>) => Issue;
9
- };
10
- }
11
- declare class Issue extends Error {
12
- stack: string;
13
- warn(): void;
14
- }
15
- declare function issues<M extends Issue.Messages>(register: M): Issue.Output<M>;
16
-
17
1
  type Async<T = any> = (...args: any[]) => Promise<T>;
18
2
  /**
19
3
  * Sets an exotic method with managed ready-state. Property accepts an async function.
@@ -413,4 +397,4 @@ declare class Context {
413
397
  pop(): void;
414
398
  }
415
399
 
416
- export { Context, Control, Debug, Model, Model as default, get, issues, ref, run, set, use };
400
+ export { Context, Control, Debug, Model, Model as default, get, ref, run, set, use };
package/lib/index.esm.js CHANGED
@@ -1078,4 +1078,4 @@ const Debug = {
1078
1078
  PARENT
1079
1079
  };
1080
1080
 
1081
- export { Context, Control, Debug, Model, Model as default, get, issues, ref, run, set, use };
1081
+ export { Context, Control, Debug, Model, Model as default, get, ref, run, set, use };
package/lib/index.js CHANGED
@@ -1088,7 +1088,6 @@ exports.Debug = Debug;
1088
1088
  exports.Model = Model;
1089
1089
  exports["default"] = Model;
1090
1090
  exports.get = get;
1091
- exports.issues = issues;
1092
1091
  exports.ref = ref;
1093
1092
  exports.run = run;
1094
1093
  exports.set = set;
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "preversion": "npm run test && npm run build",
28
28
  "postversion": "git push & npm publish"
29
29
  },
30
- "version": "0.21.0"
30
+ "version": "0.21.1"
31
31
  }