@pax2pay/model-banking 0.1.69 → 0.1.71
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/Card/Changeable.ts
CHANGED
|
@@ -9,7 +9,7 @@ export type Changeable = {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
export namespace Changeable {
|
|
12
|
-
export const type = isly.object({
|
|
12
|
+
export const type = isly.object<Changeable>({
|
|
13
13
|
limit: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()).optional(),
|
|
14
14
|
rules: isly.string().array().optional(),
|
|
15
15
|
meta: isly.fromIs("Card.Meta", Meta.is).optional(),
|
package/Card/Preset.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { isly } from "isly"
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export type Preset = typeof preset[number]
|
|
3
|
+
export type Preset = typeof Preset.names[number]
|
|
6
4
|
|
|
7
5
|
export namespace Preset {
|
|
8
|
-
export const
|
|
6
|
+
export const names = ["example1", "p2p-pg-200", "p2p-mc-200"] as const
|
|
7
|
+
export const type = isly.string(names) //isly.union(isly.string("p2p-pg-200"), isly.string("p2p-mc-200"))
|
|
9
8
|
export const is = type.is
|
|
9
|
+
export const flaw = type.flaw
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Changeable.js","sourceRoot":"../","sources":["Card/Changeable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAQ7B,MAAM,KAAW,UAAU,CAM1B;AAND,WAAiB,UAAU;IACb,eAAI,GAAG,IAAI,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Changeable.js","sourceRoot":"../","sources":["Card/Changeable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAQ7B,MAAM,KAAW,UAAU,CAM1B;AAND,WAAiB,UAAU;IACb,eAAI,GAAG,IAAI,CAAC,MAAM,CAAa;QAC3C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC7F,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QACvC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;KAClD,CAAC,CAAA;AACH,CAAC,EANgB,UAAU,KAAV,UAAU,QAM1B"}
|
package/dist/Card/Preset.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
|
-
|
|
3
|
-
export type Preset = typeof preset[number];
|
|
2
|
+
export type Preset = typeof Preset.names[number];
|
|
4
3
|
export declare namespace Preset {
|
|
5
|
-
const
|
|
6
|
-
const
|
|
4
|
+
const names: readonly ["example1", "p2p-pg-200", "p2p-mc-200"];
|
|
5
|
+
const type: isly.Type<"example1" | "p2p-pg-200" | "p2p-mc-200">;
|
|
6
|
+
const is: isly.Type.IsFunction<"example1" | "p2p-pg-200" | "p2p-mc-200">;
|
|
7
|
+
const flaw: isly.Type.FlawFunction;
|
|
7
8
|
}
|
|
8
|
-
export {};
|
package/dist/Card/Preset.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
|
-
const preset = ["example1"];
|
|
3
2
|
export var Preset;
|
|
4
3
|
(function (Preset) {
|
|
5
|
-
Preset.
|
|
4
|
+
Preset.names = ["example1", "p2p-pg-200", "p2p-mc-200"];
|
|
5
|
+
Preset.type = isly.string(Preset.names);
|
|
6
6
|
Preset.is = Preset.type.is;
|
|
7
|
+
Preset.flaw = Preset.type.flaw;
|
|
7
8
|
})(Preset || (Preset = {}));
|
|
8
9
|
//# sourceMappingURL=Preset.js.map
|
package/dist/Card/Preset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preset.js","sourceRoot":"../","sources":["Card/Preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"Preset.js","sourceRoot":"../","sources":["Card/Preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,MAAM,CAKtB;AALD,WAAiB,MAAM;IACT,YAAK,GAAG,CAAC,UAAU,EAAE,YAAY,EAAE,YAAY,CAAU,CAAA;IACzD,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,KAAK,CAAC,CAAA;IACzB,SAAE,GAAG,OAAA,IAAI,CAAC,EAAE,CAAA;IACZ,WAAI,GAAG,OAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EALgB,MAAM,KAAN,MAAM,QAKtB"}
|