@pax2pay/model-banking 0.1.387 → 0.1.388
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/Treasury/Account/Conditions.ts +0 -1
- package/Treasury/Account/Fetchable.ts +4 -7
- package/Treasury/Account/Storable.ts +4 -10
- package/Treasury/Account/index.ts +5 -8
- package/Warning/Snapshot/MissingBuffer.ts +1 -1
- package/dist/Treasury/Account/Conditions.js.map +1 -1
- package/dist/Treasury/Account/Fetchable.d.ts +1 -3
- package/dist/Treasury/Account/Fetchable.js +3 -5
- package/dist/Treasury/Account/Fetchable.js.map +1 -1
- package/dist/Treasury/Account/Storable.d.ts +1 -5
- package/dist/Treasury/Account/Storable.js +3 -6
- package/dist/Treasury/Account/Storable.js.map +1 -1
- package/dist/Treasury/Account/index.d.ts +2 -5
- package/dist/Treasury/Account/index.js +3 -5
- package/dist/Treasury/Account/index.js.map +1 -1
- package/dist/Warning/Snapshot/MissingBuffer.js +1 -1
- package/dist/Warning/Snapshot/MissingBuffer.js.map +1 -1
- package/package.json +1 -1
- package/Treasury/Account/Creatable.ts +0 -28
- package/dist/Treasury/Account/Creatable.d.ts +0 -19
- package/dist/Treasury/Account/Creatable.js +0 -20
- package/dist/Treasury/Account/Creatable.js.map +0 -1
|
@@ -6,7 +6,7 @@ import { Balance } from "../Balance"
|
|
|
6
6
|
import { Category } from "./Category"
|
|
7
7
|
|
|
8
8
|
export interface Fetchable {
|
|
9
|
-
|
|
9
|
+
label: string
|
|
10
10
|
supplier: Supplier
|
|
11
11
|
reference: string
|
|
12
12
|
currencies: isoly.Currency[]
|
|
@@ -14,17 +14,14 @@ export interface Fetchable {
|
|
|
14
14
|
rail: Rail.Address[]
|
|
15
15
|
balance: Balance
|
|
16
16
|
}
|
|
17
|
-
|
|
18
17
|
export namespace Fetchable {
|
|
19
18
|
export const type = isly.object<Fetchable>({
|
|
20
|
-
|
|
19
|
+
label: isly.string(),
|
|
21
20
|
supplier: isly.fromIs("supplier", Supplier.is),
|
|
22
21
|
reference: isly.string(),
|
|
23
22
|
currencies: isly.fromIs("Account.Fetchable.currencies", isoly.Currency.is).array(),
|
|
24
23
|
type: Category.type,
|
|
25
|
-
rail:
|
|
26
|
-
balance:
|
|
24
|
+
rail: Rail.Address.type.array(),
|
|
25
|
+
balance: Balance.type,
|
|
27
26
|
})
|
|
28
|
-
export const is = type.is
|
|
29
|
-
export const flaw = type.flaw
|
|
30
27
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { cryptly } from "cryptly"
|
|
2
1
|
import { isoly } from "isoly"
|
|
3
2
|
import { isly } from "isly"
|
|
4
3
|
import { Realm } from "../../Realm"
|
|
@@ -7,27 +6,22 @@ import { Category } from "./Category"
|
|
|
7
6
|
import { Conditions } from "./Conditions"
|
|
8
7
|
|
|
9
8
|
export interface Storable {
|
|
10
|
-
|
|
9
|
+
code: string
|
|
11
10
|
created: isoly.DateTime
|
|
12
11
|
realm: Realm
|
|
13
12
|
supplier: Supplier
|
|
14
|
-
link: string
|
|
15
13
|
type: Category
|
|
16
14
|
reference: string
|
|
17
15
|
conditions?: Conditions
|
|
18
16
|
}
|
|
19
|
-
|
|
20
17
|
export namespace Storable {
|
|
21
18
|
export const type = isly.object<Storable>({
|
|
22
|
-
|
|
19
|
+
code: isly.string(),
|
|
23
20
|
created: isly.fromIs("Treasury.Account.Storable", isoly.DateTime.is),
|
|
24
|
-
realm:
|
|
25
|
-
supplier:
|
|
26
|
-
link: isly.string(),
|
|
21
|
+
realm: Realm.type,
|
|
22
|
+
supplier: Supplier.type,
|
|
27
23
|
type: Category.type,
|
|
28
24
|
reference: isly.string(),
|
|
29
25
|
conditions: Conditions.type.optional(),
|
|
30
26
|
})
|
|
31
|
-
export const is = type.is
|
|
32
|
-
export const flaw = type.flaw
|
|
33
27
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { cryptly } from "cryptly"
|
|
2
1
|
import { isoly } from "isoly"
|
|
3
2
|
import { isly } from "isly"
|
|
4
3
|
import { Rail } from "../../Rail"
|
|
@@ -8,14 +7,13 @@ import { Balance } from "../Balance"
|
|
|
8
7
|
import { Transaction } from "../Transaction"
|
|
9
8
|
import { Category as AccountCategory } from "./Category"
|
|
10
9
|
import { Conditions as AccountConditions } from "./Conditions"
|
|
11
|
-
import { Creatable as AccountCreatable } from "./Creatable"
|
|
12
10
|
import { Fetchable as AccountFetchable } from "./Fetchable"
|
|
13
11
|
import { Storable as AccountStorable } from "./Storable"
|
|
14
12
|
|
|
15
13
|
export interface Account {
|
|
16
|
-
|
|
14
|
+
code: string
|
|
17
15
|
created: isoly.DateTime
|
|
18
|
-
|
|
16
|
+
label: string
|
|
19
17
|
realm: Realm
|
|
20
18
|
supplier: Supplier | "external"
|
|
21
19
|
reference: string
|
|
@@ -27,9 +25,9 @@ export interface Account {
|
|
|
27
25
|
}
|
|
28
26
|
export namespace Account {
|
|
29
27
|
export const type = isly.object<Account>({
|
|
30
|
-
|
|
28
|
+
code: isly.string(),
|
|
31
29
|
created: isly.fromIs("Treasury.Account.Created", isoly.DateTime.is),
|
|
32
|
-
|
|
30
|
+
label: isly.string(),
|
|
33
31
|
realm: Realm.type,
|
|
34
32
|
supplier: Supplier.type,
|
|
35
33
|
reference: isly.string(),
|
|
@@ -37,10 +35,9 @@ export namespace Account {
|
|
|
37
35
|
type: AccountCategory.type,
|
|
38
36
|
conditions: AccountConditions.type,
|
|
39
37
|
rail: Rail.Address.type.array(),
|
|
40
|
-
balance:
|
|
38
|
+
balance: Balance.type,
|
|
41
39
|
})
|
|
42
40
|
export type Listable = Account & { transactions: Transaction[] }
|
|
43
|
-
export import Creatable = AccountCreatable
|
|
44
41
|
export import Storable = AccountStorable
|
|
45
42
|
export import Fetchable = AccountFetchable
|
|
46
43
|
export import Category = AccountCategory
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conditions.js","sourceRoot":"../","sources":["Treasury/Account/Conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"Conditions.js","sourceRoot":"../","sources":["Treasury/Account/Conditions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAKvC,MAAM,KAAW,UAAU,CAG1B;AAHD,WAAiB,UAAU;IACb,eAAI,GAAG,IAAI,CAAC,MAAM,CAAa,EAAE,OAAO,EAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAA;IACpE,aAAE,GAAG,WAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAHgB,UAAU,KAAV,UAAU,QAG1B"}
|
|
@@ -5,7 +5,7 @@ import { Supplier } from "../../Supplier";
|
|
|
5
5
|
import { Balance } from "../Balance";
|
|
6
6
|
import { Category } from "./Category";
|
|
7
7
|
export interface Fetchable {
|
|
8
|
-
|
|
8
|
+
label: string;
|
|
9
9
|
supplier: Supplier;
|
|
10
10
|
reference: string;
|
|
11
11
|
currencies: isoly.Currency[];
|
|
@@ -15,6 +15,4 @@ export interface Fetchable {
|
|
|
15
15
|
}
|
|
16
16
|
export declare namespace Fetchable {
|
|
17
17
|
const type: isly.object.ExtendableType<Fetchable>;
|
|
18
|
-
const is: isly.Type.IsFunction<Fetchable>;
|
|
19
|
-
const flaw: isly.Type.FlawFunction;
|
|
20
18
|
}
|
|
@@ -7,15 +7,13 @@ import { Category } from "./Category";
|
|
|
7
7
|
export var Fetchable;
|
|
8
8
|
(function (Fetchable) {
|
|
9
9
|
Fetchable.type = isly.object({
|
|
10
|
-
|
|
10
|
+
label: isly.string(),
|
|
11
11
|
supplier: isly.fromIs("supplier", Supplier.is),
|
|
12
12
|
reference: isly.string(),
|
|
13
13
|
currencies: isly.fromIs("Account.Fetchable.currencies", isoly.Currency.is).array(),
|
|
14
14
|
type: Category.type,
|
|
15
|
-
rail:
|
|
16
|
-
balance:
|
|
15
|
+
rail: Rail.Address.type.array(),
|
|
16
|
+
balance: Balance.type,
|
|
17
17
|
});
|
|
18
|
-
Fetchable.is = Fetchable.type.is;
|
|
19
|
-
Fetchable.flaw = Fetchable.type.flaw;
|
|
20
18
|
})(Fetchable || (Fetchable = {}));
|
|
21
19
|
//# sourceMappingURL=Fetchable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Fetchable.js","sourceRoot":"../","sources":["Treasury/Account/Fetchable.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,YAAY,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"Fetchable.js","sourceRoot":"../","sources":["Treasury/Account/Fetchable.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,YAAY,CAAA;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAWrC,MAAM,KAAW,SAAS,CAUzB;AAVD,WAAiB,SAAS;IACZ,cAAI,GAAG,IAAI,CAAC,MAAM,CAAY;QAC1C,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;QACpB,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;QAC9C,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;QACxB,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,8BAA8B,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE;QAClF,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE;QAC/B,OAAO,EAAE,OAAO,CAAC,IAAI;KACrB,CAAC,CAAA;AACH,CAAC,EAVgB,SAAS,KAAT,SAAS,QAUzB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { cryptly } from "cryptly";
|
|
2
1
|
import { isoly } from "isoly";
|
|
3
2
|
import { isly } from "isly";
|
|
4
3
|
import { Realm } from "../../Realm";
|
|
@@ -6,17 +5,14 @@ import { Supplier } from "../../Supplier";
|
|
|
6
5
|
import { Category } from "./Category";
|
|
7
6
|
import { Conditions } from "./Conditions";
|
|
8
7
|
export interface Storable {
|
|
9
|
-
|
|
8
|
+
code: string;
|
|
10
9
|
created: isoly.DateTime;
|
|
11
10
|
realm: Realm;
|
|
12
11
|
supplier: Supplier;
|
|
13
|
-
link: string;
|
|
14
12
|
type: Category;
|
|
15
13
|
reference: string;
|
|
16
14
|
conditions?: Conditions;
|
|
17
15
|
}
|
|
18
16
|
export declare namespace Storable {
|
|
19
17
|
const type: isly.object.ExtendableType<Storable>;
|
|
20
|
-
const is: isly.Type.IsFunction<Storable>;
|
|
21
|
-
const flaw: isly.Type.FlawFunction;
|
|
22
18
|
}
|
|
@@ -7,16 +7,13 @@ import { Conditions } from "./Conditions";
|
|
|
7
7
|
export var Storable;
|
|
8
8
|
(function (Storable) {
|
|
9
9
|
Storable.type = isly.object({
|
|
10
|
-
|
|
10
|
+
code: isly.string(),
|
|
11
11
|
created: isly.fromIs("Treasury.Account.Storable", isoly.DateTime.is),
|
|
12
|
-
realm:
|
|
13
|
-
supplier:
|
|
14
|
-
link: isly.string(),
|
|
12
|
+
realm: Realm.type,
|
|
13
|
+
supplier: Supplier.type,
|
|
15
14
|
type: Category.type,
|
|
16
15
|
reference: isly.string(),
|
|
17
16
|
conditions: Conditions.type.optional(),
|
|
18
17
|
});
|
|
19
|
-
Storable.is = Storable.type.is;
|
|
20
|
-
Storable.flaw = Storable.type.flaw;
|
|
21
18
|
})(Storable || (Storable = {}));
|
|
22
19
|
//# sourceMappingURL=Storable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Storable.js","sourceRoot":"../","sources":["Treasury/Account/Storable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Storable.js","sourceRoot":"../","sources":["Treasury/Account/Storable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAWzC,MAAM,KAAW,QAAQ,CAUxB;AAVD,WAAiB,QAAQ;IACX,aAAI,GAAG,IAAI,CAAC,MAAM,CAAW;QACzC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,2BAA2B,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpE,KAAK,EAAE,KAAK,CAAC,IAAI;QACjB,QAAQ,EAAE,QAAQ,CAAC,IAAI;QACvB,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;QACxB,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE;KACtC,CAAC,CAAA;AACH,CAAC,EAVgB,QAAQ,KAAR,QAAQ,QAUxB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { cryptly } from "cryptly";
|
|
2
1
|
import { isoly } from "isoly";
|
|
3
2
|
import { isly } from "isly";
|
|
4
3
|
import { Rail } from "../../Rail";
|
|
@@ -8,13 +7,12 @@ import { Balance } from "../Balance";
|
|
|
8
7
|
import { Transaction } from "../Transaction";
|
|
9
8
|
import { Category as AccountCategory } from "./Category";
|
|
10
9
|
import { Conditions as AccountConditions } from "./Conditions";
|
|
11
|
-
import { Creatable as AccountCreatable } from "./Creatable";
|
|
12
10
|
import { Fetchable as AccountFetchable } from "./Fetchable";
|
|
13
11
|
import { Storable as AccountStorable } from "./Storable";
|
|
14
12
|
export interface Account {
|
|
15
|
-
|
|
13
|
+
code: string;
|
|
16
14
|
created: isoly.DateTime;
|
|
17
|
-
|
|
15
|
+
label: string;
|
|
18
16
|
realm: Realm;
|
|
19
17
|
supplier: Supplier | "external";
|
|
20
18
|
reference: string;
|
|
@@ -31,7 +29,6 @@ export declare namespace Account {
|
|
|
31
29
|
type Listable = Account & {
|
|
32
30
|
transactions: Transaction[];
|
|
33
31
|
};
|
|
34
|
-
export import Creatable = AccountCreatable;
|
|
35
32
|
export import Storable = AccountStorable;
|
|
36
33
|
export import Fetchable = AccountFetchable;
|
|
37
34
|
export import Category = AccountCategory;
|
|
@@ -6,15 +6,14 @@ import { Supplier } from "../../Supplier";
|
|
|
6
6
|
import { Balance } from "../Balance";
|
|
7
7
|
import { Category as AccountCategory } from "./Category";
|
|
8
8
|
import { Conditions as AccountConditions } from "./Conditions";
|
|
9
|
-
import { Creatable as AccountCreatable } from "./Creatable";
|
|
10
9
|
import { Fetchable as AccountFetchable } from "./Fetchable";
|
|
11
10
|
import { Storable as AccountStorable } from "./Storable";
|
|
12
11
|
export var Account;
|
|
13
12
|
(function (Account) {
|
|
14
13
|
Account.type = isly.object({
|
|
15
|
-
|
|
14
|
+
code: isly.string(),
|
|
16
15
|
created: isly.fromIs("Treasury.Account.Created", isoly.DateTime.is),
|
|
17
|
-
|
|
16
|
+
label: isly.string(),
|
|
18
17
|
realm: Realm.type,
|
|
19
18
|
supplier: Supplier.type,
|
|
20
19
|
reference: isly.string(),
|
|
@@ -22,9 +21,8 @@ export var Account;
|
|
|
22
21
|
type: AccountCategory.type,
|
|
23
22
|
conditions: AccountConditions.type,
|
|
24
23
|
rail: Rail.Address.type.array(),
|
|
25
|
-
balance:
|
|
24
|
+
balance: Balance.type,
|
|
26
25
|
});
|
|
27
|
-
Account.Creatable = AccountCreatable;
|
|
28
26
|
Account.Storable = AccountStorable;
|
|
29
27
|
Account.Fetchable = AccountFetchable;
|
|
30
28
|
Account.Category = AccountCategory;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Treasury/Account/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Treasury/Account/index.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,YAAY,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEpC,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,YAAY,CAAA;AACxD,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAC9D,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,EAAE,QAAQ,IAAI,eAAe,EAAE,MAAM,YAAY,CAAA;AAex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AC/C,MAAM,MAAM,GAAoB,EAAE,CAAA;QAClC,KAAK,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAClE,MAAM,OAAO,GAAG,OAAO,CAAC,UAAU,EAAE,OAAO,EAAE,CAAC,QAA0B,CAAC,CAAA;YACzE,IAAI,OAAO,OAAO,IAAI,WAAW,IAAI,OAAO,GAAG,MAAM;gBACpD,MAAM,CAAC,IAAI,CAAC;oBACX,IAAI,EAAE,gBAAgB;oBACtB,QAAQ,EAAE,OAAO,CAAC,IAAI;oBACtB,QAAQ,EAAE,QAA0B;oBACpC,OAAO;oBACP,OAAO,EAAE,MAAM;oBACf,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE;iBACtB,CAAC,CAAA;QACJ,CAAC;QACD,OAAO,MAAM,CAAA;IACd,CAAC;IAfe,oBAAM,SAerB,CAAA;AACF,CAAC,EAvBgB,aAAa,KAAb,aAAa,QAuB7B"}
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { isoly } from "isoly"
|
|
2
|
-
import { isly } from "isly"
|
|
3
|
-
import { Realm } from "../../Realm"
|
|
4
|
-
import { Supplier } from "../../Supplier"
|
|
5
|
-
import { Category } from "./Category"
|
|
6
|
-
import { Conditions } from "./Conditions"
|
|
7
|
-
|
|
8
|
-
export interface Creatable {
|
|
9
|
-
name: string
|
|
10
|
-
realm: Realm
|
|
11
|
-
supplier: Supplier
|
|
12
|
-
currencies: isoly.Currency[]
|
|
13
|
-
type: Category
|
|
14
|
-
conditions?: Conditions
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export namespace Creatable {
|
|
18
|
-
export const type = isly.object<Creatable>({
|
|
19
|
-
name: isly.string(),
|
|
20
|
-
realm: isly.fromIs("realm", Realm.is),
|
|
21
|
-
supplier: isly.fromIs("supplier", Supplier.is),
|
|
22
|
-
currencies: isly.fromIs("Account.Creatable.currencies", isoly.Currency.is).array(),
|
|
23
|
-
type: Category.type,
|
|
24
|
-
conditions: Conditions.type.optional(),
|
|
25
|
-
})
|
|
26
|
-
export const is = type.is
|
|
27
|
-
export const flaw = type.flaw
|
|
28
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { isoly } from "isoly";
|
|
2
|
-
import { isly } from "isly";
|
|
3
|
-
import { Realm } from "../../Realm";
|
|
4
|
-
import { Supplier } from "../../Supplier";
|
|
5
|
-
import { Category } from "./Category";
|
|
6
|
-
import { Conditions } from "./Conditions";
|
|
7
|
-
export interface Creatable {
|
|
8
|
-
name: string;
|
|
9
|
-
realm: Realm;
|
|
10
|
-
supplier: Supplier;
|
|
11
|
-
currencies: isoly.Currency[];
|
|
12
|
-
type: Category;
|
|
13
|
-
conditions?: Conditions;
|
|
14
|
-
}
|
|
15
|
-
export declare namespace Creatable {
|
|
16
|
-
const type: isly.object.ExtendableType<Creatable>;
|
|
17
|
-
const is: isly.Type.IsFunction<Creatable>;
|
|
18
|
-
const flaw: isly.Type.FlawFunction;
|
|
19
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { isoly } from "isoly";
|
|
2
|
-
import { isly } from "isly";
|
|
3
|
-
import { Realm } from "../../Realm";
|
|
4
|
-
import { Supplier } from "../../Supplier";
|
|
5
|
-
import { Category } from "./Category";
|
|
6
|
-
import { Conditions } from "./Conditions";
|
|
7
|
-
export var Creatable;
|
|
8
|
-
(function (Creatable) {
|
|
9
|
-
Creatable.type = isly.object({
|
|
10
|
-
name: isly.string(),
|
|
11
|
-
realm: isly.fromIs("realm", Realm.is),
|
|
12
|
-
supplier: isly.fromIs("supplier", Supplier.is),
|
|
13
|
-
currencies: isly.fromIs("Account.Creatable.currencies", isoly.Currency.is).array(),
|
|
14
|
-
type: Category.type,
|
|
15
|
-
conditions: Conditions.type.optional(),
|
|
16
|
-
});
|
|
17
|
-
Creatable.is = Creatable.type.is;
|
|
18
|
-
Creatable.flaw = Creatable.type.flaw;
|
|
19
|
-
})(Creatable || (Creatable = {}));
|
|
20
|
-
//# sourceMappingURL=Creatable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Creatable.js","sourceRoot":"../","sources":["Treasury/Account/Creatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAWzC,MAAM,KAAW,SAAS,CAWzB;AAXD,WAAiB,SAAS;IACZ,cAAI,GAAG,IAAI,CAAC,MAAM,CAAY;QAC1C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;QAC9C,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,8BAA8B,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE;QAClF,IAAI,EAAE,QAAQ,CAAC,IAAI;QACnB,UAAU,EAAE,UAAU,CAAC,IAAI,CAAC,QAAQ,EAAE;KACtC,CAAC,CAAA;IACW,YAAE,GAAG,UAAA,IAAI,CAAC,EAAE,CAAA;IACZ,cAAI,GAAG,UAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAXgB,SAAS,KAAT,SAAS,QAWzB"}
|