@shipload/sdk 0.2.1 → 0.3.0

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/src/types.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import {UInt16, UInt64} from '@wharfkit/antelope'
2
+
1
3
  export interface Coordinates {
2
4
  x: number
3
5
  y: number
@@ -17,3 +19,16 @@ export interface Distance {
17
19
  destination: Coordinates
18
20
  distance: number
19
21
  }
22
+
23
+ export interface Good {
24
+ id: UInt16
25
+ name: string
26
+ description: string
27
+ base_price: UInt64
28
+ mass: UInt64
29
+ }
30
+
31
+ export interface GoodPrice {
32
+ id: UInt16
33
+ price: UInt64
34
+ }