Skip to content

Commit

Permalink
change api
Browse files Browse the repository at this point in the history
  • Loading branch information
Matlefebvre1234 committed Jun 6, 2024
1 parent 3cfaf31 commit 7fc95da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 90 deletions.
9 changes: 0 additions & 9 deletions src/types/zod.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export const get_Usage_balance = {
path: z.literal("/balance"),
parameters: z.object({
query: z.object({
block_num: z.union([z.number(), z.undefined()]),
contract: z.union([z.string(), z.undefined()]),
account: z.string(),
greater_or_equals_by_block: z.union([z.number(), z.undefined()]),
Expand Down Expand Up @@ -147,14 +146,6 @@ export const get_Usage_contract = {
contract: z.string().optional(),
symbol: z.string().optional(),
name: z.string().optional(),
greater_or_equals_by_block: z.number().optional(),
less_or_equals_by_block: z.number().optional(),
greater_by_block: z.number().optional(),
less_by_block: z.number().optional(),
greater_or_equals_by_timestamp: z.number().optional(),
less_or_equals_by_timestamp: z.number().optional(),
greater_by_timestamp: z.number().optional(),
less_by_timestamp: z.number().optional(),
limit: z.number().optional(),
page: z.number().optional(),
}),
Expand Down
81 changes: 0 additions & 81 deletions tsp-output/@typespec/openapi3/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@
"summary": "Token balance",
"description": "Balances of an account.",
"parameters": [
{
"name": "block_num",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "uint64"
}
},
{
"name": "contract",
"in": "query",
Expand Down Expand Up @@ -220,78 +211,6 @@
"type": "string"
}
},
{
"name": "greater_or_equals_by_block",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "uint64"
}
},
{
"name": "less_or_equals_by_block",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "uint64"
}
},
{
"name": "greater_by_block",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "uint64"
}
},
{
"name": "less_by_block",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "uint64"
}
},
{
"name": "greater_or_equals_by_timestamp",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "less_or_equals_by_timestamp",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "greater_by_timestamp",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "less_by_timestamp",
"in": "query",
"required": false,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "limit",
"in": "query",
Expand Down

0 comments on commit 7fc95da

Please sign in to comment.