0.1.6Updated a month ago
declare namespace Supply {
  interface User {
    id?: number
    key: string
    item_count: number
    value_awarded: number
    first_item: Date
    last_item: Date
  }

  namespace User {
    type Response = {
      allotments?: Supply.Allotment[]
      item_count?: number
    } | null

    type WithPools = User & { pools: string[] }
  }
}