Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
fix: transform package size to float
Browse files Browse the repository at this point in the history
  • Loading branch information
jonyw4 committed Nov 19, 2020
1 parent b58bd8e commit 53c6100
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/core/src/api/admin.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ const adminApiExtensions = gql`
name: String!
massUnit: MassUnit!
distanceUnit: DistanceUnit!
width: Int!
height: Int!
length: Int!
weight: Int!
width: Float!
height: Float!
length: Float!
weight: Float!
enabled: Boolean!
}
input CreatePackageInput {
name: String!
massUnit: MassUnit!
distanceUnit: DistanceUnit!
width: Int!
height: Int!
length: Int!
weight: Int!
width: Float!
height: Float!
length: Float!
weight: Float!
enabled: Boolean!
}
Expand All @@ -40,15 +40,15 @@ const adminApiExtensions = gql`
name: String
massUnit: MassUnit
distanceUnit: DistanceUnit
width: Int
height: Int
length: Int
weight: Int
width: Float
height: Float
length: Float
weight: Float
enabled: Boolean
}
type PackageList implements PaginatedList {
items: [Package!]!
totalItems: Int!
totalItems: Float!
}
extend type Query {
packages(options: PackageListOptions): PackageList!
Expand Down

0 comments on commit 53c6100

Please sign in to comment.