Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update ts client with image thumbnails #206

Merged
merged 2 commits into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/typescript/.swagger-codegen/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.46
3.0.52
22 changes: 20 additions & 2 deletions client/typescript/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// tslint:disable
/**
* Token Metadata API
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
*
* OpenAPI spec version: v0.4.0
*
Expand Down Expand Up @@ -71,7 +71,7 @@ export class BaseAPI {
* @extends {Error}
*/
export class RequiredError extends Error {
name: "RequiredError"
name = "RequiredError"
constructor(public field: string, msg?: string) {
super(msg);
}
Expand Down Expand Up @@ -250,6 +250,12 @@ export interface FtBasicMetadataResponse {
* @memberof FtBasicMetadataResponse
*/
image_uri?: string;
/**
*
* @type {string}
* @memberof FtBasicMetadataResponse
*/
image_thumbnail_uri?: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -323,6 +329,12 @@ export interface FtMetadataResponse {
* @memberof FtMetadataResponse
*/
image_uri?: string;
/**
*
* @type {string}
* @memberof FtMetadataResponse
*/
image_thumbnail_uri?: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -384,6 +396,12 @@ export interface Metadata {
* @memberof Metadata
*/
cached_image?: string;
/**
*
* @type {string}
* @memberof Metadata
*/
cached_thumbnail_image?: string;
/**
*
* @type {Array<MetadataAttribute>}
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/api_test.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Token Metadata API
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
*
* OpenAPI spec version: v0.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/configuration.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// tslint:disable
/**
* Token Metadata API
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
*
* OpenAPI spec version: v0.4.0
*
Expand Down
2 changes: 1 addition & 1 deletion client/typescript/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// tslint:disable
/**
* Token Metadata API
* Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
* Welcome to the API reference overview for the [Token Metadata API](https://docs.hiro.so/token-metadata-api). Service that indexes metadata for every SIP-009, SIP-010, and SIP-013 Token in the Stacks blockchain and exposes it via REST API endpoints.
*
* OpenAPI spec version: v0.4.0
*
Expand Down
4 changes: 2 additions & 2 deletions client/typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hirosystems/token-metadata-api-client",
"version": "1.2.0",
"version": "1.3.0",
"description": "Client for @hirosystems/token-metadata-api",
"author": "Hiro Systems PBC <[email protected]> (https://hiro.so)",
"keywords": [
Expand Down
Loading