Skip to content

Commit

Permalink
feat: add trade expires at on items (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi authored Oct 3, 2024
1 parent 78bb827 commit 4697aab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion report/schemas.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,7 @@ export type Item = {
owners?: number | null;
utility?: string;
tradeId?: string;
tradeExpiresAt?: number;
};

// @public (undocumented)
Expand Down Expand Up @@ -3652,7 +3653,7 @@ export namespace WorldConfiguration {
// src/dapps/contract.ts:16:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/item.ts:30:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/item.ts:31:3 - (ae-incompatible-release-tags) The symbol "chainId" is marked as @public, but its signature references "ChainId" which is marked as @alpha
// src/dapps/item.ts:72:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/item.ts:73:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/mint.ts:16:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/mint.ts:17:3 - (ae-incompatible-release-tags) The symbol "chainId" is marked as @public, but its signature references "ChainId" which is marked as @alpha
// src/dapps/mint.ts:37:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
Expand Down
5 changes: 5 additions & 0 deletions src/dapps/item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export type Item = {
/** A description of the utility the item has in the explorer */
utility?: string
tradeId?: string
tradeExpiresAt?: number
}

export type ItemFilters = {
Expand Down Expand Up @@ -203,6 +204,10 @@ export namespace Item {
owners: {
type: 'integer',
nullable: true
},
tradeExpiresAt: {
type: 'integer',
nullable: true
}
},
required: [
Expand Down

0 comments on commit 4697aab

Please sign in to comment.