Skip to content

Commit

Permalink
fix: refactor salesid to just u64 v U64
Browse files Browse the repository at this point in the history
  • Loading branch information
zcstarr committed Mar 9, 2022
1 parent 2d16ebe commit 3bf5638
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 44 deletions.
40 changes: 20 additions & 20 deletions build/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@
"properties": {
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"approval_id": {
"title": "ApprovalId",
Expand Down Expand Up @@ -400,8 +400,8 @@
"description": "The sales_id for the listing",
"schema": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
}
}
},
Expand Down Expand Up @@ -541,8 +541,8 @@
"description": "Sale id for removing the associated sale",
"schema": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"required": true
}
Expand Down Expand Up @@ -608,8 +608,8 @@
"description": "sale id to retrieve sale",
"schema": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"required": true
}
Expand Down Expand Up @@ -660,8 +660,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -885,8 +885,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -1143,8 +1143,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -1381,8 +1381,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -1619,8 +1619,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -1868,8 +1868,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down
4 changes: 2 additions & 2 deletions generated-client/custom/typescript/src/index.ts

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions generated-client/custom/typescript/src/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@
"properties": {
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"approval_id": {
"title": "ApprovalId",
Expand Down Expand Up @@ -400,8 +400,8 @@
"description": "The sales_id for the listing",
"schema": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
}
}
},
Expand Down Expand Up @@ -541,8 +541,8 @@
"description": "Sale id for removing the associated sale",
"schema": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"required": true
}
Expand Down Expand Up @@ -608,8 +608,8 @@
"description": "sale id to retrieve sale",
"schema": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"required": true
}
Expand Down Expand Up @@ -660,8 +660,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -885,8 +885,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -1143,8 +1143,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -1381,8 +1381,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -1619,8 +1619,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down Expand Up @@ -1868,8 +1868,8 @@
},
"sale_id": {
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"
},
"service_fee": {
"title": "U128",
Expand Down
4 changes: 2 additions & 2 deletions schemas/SaleId.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "SaleId",
"type": "string",
"$comment": "U64 string"
"type": "integer",
"$comment": "u64 only 2^53 support"

}

0 comments on commit 3bf5638

Please sign in to comment.