@pax2pay/model-banking 0.1.379 → 0.1.381
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/Warning/Base.ts +15 -0
- package/Warning/index.ts +9 -0
- package/package.json +1 -1
package/Warning/Base.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export interface Base {
|
|
4
|
+
type: string
|
|
5
|
+
resource: string
|
|
6
|
+
value?: number
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export namespace Base {
|
|
10
|
+
export const type = isly.object<Base>({
|
|
11
|
+
type: isly.string(),
|
|
12
|
+
resource: isly.string(),
|
|
13
|
+
value: isly.number().optional(),
|
|
14
|
+
})
|
|
15
|
+
}
|
package/Warning/index.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Base as WarningBase } from "./Base"
|
|
2
|
+
// import { Snapshot as WarningSnapshot } from "./Snapshot"
|
|
3
|
+
|
|
4
|
+
// export type Warning = Warning.Snapshot //| Settlement
|
|
5
|
+
|
|
6
|
+
export namespace Warning {
|
|
7
|
+
// export import Snapshot = WarningSnapshot
|
|
8
|
+
export import Base = WarningBase
|
|
9
|
+
}
|