@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.
package/Transaction/Note.ts
CHANGED
|
@@ -15,7 +15,7 @@ export namespace Note {
|
|
|
15
15
|
text?: string
|
|
16
16
|
action?: "approve" | "reject"
|
|
17
17
|
flags?: string[]
|
|
18
|
-
rule?:
|
|
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?:
|
|
14
|
+
rule?: {
|
|
15
|
+
[K in keyof Rule]: Rule[K];
|
|
16
|
+
};
|
|
15
17
|
}
|
|
16
18
|
namespace Creatable {
|
|
17
19
|
const type: isly.object.ExtendableType<Creatable>;
|