@pax2pay/model-banking 0.1.81 → 0.1.82
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.
|
@@ -17,17 +17,6 @@ export namespace Creatable {
|
|
|
17
17
|
rules: isly.fromIs<Rule>("Rule", Rule.is).array(),
|
|
18
18
|
contact: Contact.type.optional(),
|
|
19
19
|
})
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
value &&
|
|
23
|
-
typeof value == "object" &&
|
|
24
|
-
typeof value.name == "string" &&
|
|
25
|
-
typeof value.address == "string" &&
|
|
26
|
-
Realm.is(value.realm) &&
|
|
27
|
-
value.rules &&
|
|
28
|
-
typeof value.rules == "object" &&
|
|
29
|
-
Array.isArray(value.rules) &&
|
|
30
|
-
value.rules.every(Rule.is)
|
|
31
|
-
)
|
|
32
|
-
}
|
|
20
|
+
export const is = type.is
|
|
21
|
+
export const flaw = type.flaw
|
|
33
22
|
}
|
|
@@ -10,5 +10,6 @@ export interface Creatable {
|
|
|
10
10
|
}
|
|
11
11
|
export declare namespace Creatable {
|
|
12
12
|
const type: isly.object.ExtendableType<Creatable>;
|
|
13
|
-
|
|
13
|
+
const is: isly.Type.IsFunction<Creatable>;
|
|
14
|
+
const flaw: isly.Type.FlawFunction;
|
|
14
15
|
}
|
|
@@ -10,17 +10,7 @@ export var Creatable;
|
|
|
10
10
|
rules: isly.fromIs("Rule", Rule.is).array(),
|
|
11
11
|
contact: Contact.type.optional(),
|
|
12
12
|
});
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
typeof value == "object" &&
|
|
16
|
-
typeof value.name == "string" &&
|
|
17
|
-
typeof value.address == "string" &&
|
|
18
|
-
Realm.is(value.realm) &&
|
|
19
|
-
value.rules &&
|
|
20
|
-
typeof value.rules == "object" &&
|
|
21
|
-
Array.isArray(value.rules) &&
|
|
22
|
-
value.rules.every(Rule.is));
|
|
23
|
-
}
|
|
24
|
-
Creatable.is = is;
|
|
13
|
+
Creatable.is = Creatable.type.is;
|
|
14
|
+
Creatable.flaw = Creatable.type.flaw;
|
|
25
15
|
})(Creatable || (Creatable = {}));
|
|
26
16
|
//# sourceMappingURL=Creatable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Creatable.js","sourceRoot":"../","sources":["Organization/Creatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAS7B,MAAM,KAAW,SAAS,
|
|
1
|
+
{"version":3,"file":"Creatable.js","sourceRoot":"../","sources":["Organization/Creatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAS7B,MAAM,KAAW,SAAS,CASzB;AATD,WAAiB,SAAS;IACZ,cAAI,GAAG,IAAI,CAAC,MAAM,CAAY;QAC1C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,KAAK,EAAE,KAAK,CAAC,IAAI;QACjB,KAAK,EAAE,IAAI,CAAC,MAAM,CAAO,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE;QACjD,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE;KAChC,CAAC,CAAA;IACW,YAAE,GAAG,UAAA,IAAI,CAAC,EAAE,CAAA;IACZ,cAAI,GAAG,UAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EATgB,SAAS,KAAT,SAAS,QASzB"}
|