@pax2pay/model-banking 0.1.159 → 0.1.160

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.
@@ -15,7 +15,7 @@ export namespace Note {
15
15
  text?: string
16
16
  action?: "approve" | "reject"
17
17
  flags?: string[]
18
- rule?: Omit<Rule, ""> // Solves a typing issue in the test
18
+ rule?: { [K in keyof Rule]: Rule[K] } // Solves a whack typing issue in the test
19
19
  }
20
20
  export namespace Creatable {
21
21
  export const type = isly.object<Creatable>({
@@ -11,7 +11,9 @@ export declare namespace Note {
11
11
  text?: string;
12
12
  action?: "approve" | "reject";
13
13
  flags?: string[];
14
- rule?: Omit<Rule, "">;
14
+ rule?: {
15
+ [K in keyof Rule]: Rule[K];
16
+ };
15
17
  }
16
18
  namespace Creatable {
17
19
  const type: isly.object.ExtendableType<Creatable>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.159",
3
+ "version": "0.1.160",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",