Skip to content

Commit

Permalink
feat: add trade id to orders (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melisa Anabella Rossi authored Aug 23, 2024
1 parent ccd58b9 commit 6367df1
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 @@ -1925,6 +1925,7 @@ export type Order = {
network: Network.ETHEREUM | Network.MATIC;
chainId: ChainId;
issuedId: string;
tradeId?: string;
};

// @public (undocumented)
Expand Down Expand Up @@ -3390,7 +3391,7 @@ export namespace WorldConfiguration {
// src/dapps/nft.ts:93:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/order.ts:18:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/order.ts:19:3 - (ae-incompatible-release-tags) The symbol "chainId" is marked as @public, but its signature references "ChainId" which is marked as @alpha
// src/dapps/order.ts:33:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/order.ts:34:3 - (ae-incompatible-release-tags) The symbol "network" is marked as @public, but its signature references "Network" which is marked as @alpha
// src/dapps/preview/emote-definition.ts:6:5 - (ae-incompatible-release-tags) The symbol "representations" is marked as @public, but its signature references "EmoteRepresentationDefinition" which is marked as @alpha
// src/dapps/preview/preview-config.ts:10:3 - (ae-incompatible-release-tags) The symbol "item" is marked as @public, but its signature references "WearableDefinition" which is marked as @alpha
// src/dapps/preview/preview-config.ts:11:3 - (ae-incompatible-release-tags) The symbol "wearables" is marked as @public, but its signature references "WearableDefinition" which is marked as @alpha
Expand Down
5 changes: 5 additions & 0 deletions src/dapps/order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export type Order = {
network: Network.ETHEREUM | Network.MATIC
chainId: ChainId
issuedId: string
tradeId?: string
}

export type OrderFilters = {
Expand Down Expand Up @@ -84,6 +85,10 @@ export namespace Order {
},
issuedId: {
type: 'string'
},
tradeId: {
type: 'string',
nullable: true
}
},
required: [
Expand Down

0 comments on commit 6367df1

Please sign in to comment.