Skip to content

Commit

Permalink
Merge pull request #121 from jinmel/update_schema
Browse files Browse the repository at this point in the history
Update schema json files
  • Loading branch information
JakeHartnell authored Apr 26, 2023
2 parents 5eb754d + 40c6b83 commit f8600e6
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions contracts/cw2981-royalties/schema/cw2981-royalties.json
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@
],
"properties": {
"tokens": {
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_from` in future queries to achieve pagination.",
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_after` in future queries to achieve pagination.",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -1904,7 +1904,7 @@
],
"properties": {
"tokens": {
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_from` in future queries to achieve pagination.",
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_after` in future queries to achieve pagination.",
"type": "array",
"items": {
"type": "string"
Expand Down
4 changes: 2 additions & 2 deletions contracts/cw721-base/schema/cw721-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@
],
"properties": {
"tokens": {
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_from` in future queries to achieve pagination.",
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_after` in future queries to achieve pagination.",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -1669,7 +1669,7 @@
],
"properties": {
"tokens": {
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_from` in future queries to achieve pagination.",
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_after` in future queries to achieve pagination.",
"type": "array",
"items": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@
],
"properties": {
"tokens": {
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_from` in future queries to achieve pagination.",
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_after` in future queries to achieve pagination.",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -1756,7 +1756,7 @@
],
"properties": {
"tokens": {
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_from` in future queries to achieve pagination.",
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_after` in future queries to achieve pagination.",
"type": "array",
"items": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"properties": {
"tokens": {
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_from` in future queries to achieve pagination.",
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_after` in future queries to achieve pagination.",
"type": "array",
"items": {
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion packages/cw721/schema/tokens_response.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"properties": {
"tokens": {
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_from` in future queries to achieve pagination.",
"description": "Contains all token_ids in lexicographical ordering If there are more than `limit`, use `start_after` in future queries to achieve pagination.",
"type": "array",
"items": {
"type": "string"
Expand Down
2 changes: 1 addition & 1 deletion packages/cw721/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ pub struct AllNftInfoResponse<T> {
#[cw_serde]
pub struct TokensResponse {
/// Contains all token_ids in lexicographical ordering
/// If there are more than `limit`, use `start_from` in future queries
/// If there are more than `limit`, use `start_after` in future queries
/// to achieve pagination.
pub tokens: Vec<String>,
}

0 comments on commit f8600e6

Please sign in to comment.