Skip to content

Commit

Permalink
feat(data): Add reference field to store NFTs (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
tifrel authored Mar 7, 2024
1 parent 4b9020e commit c8c41c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/data/src/api/storeNfts/storeNfts.mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export const storeNftsMock = {
minted_timestamp: '2022-10-25T16:15:52.028816',
price: 1e+24,
media: 'https://arweave.net/Gd9xlT0EN13cDRJTPRYoihkh08KGFEx55jJoVsb7plA',
reference: 'https://arweave.net/Gd9xlT0EN13cDRJTPRYoihkh08KGFEx55jJoVsb7plA',
nft_contract_id: 'teammintbase.mintbase1.near',
metadata_id: 'teammintbase.mintbase1.near:0fd038b1fc7d86de6f8c816d5669accc',
title: 'Ben Ipsen',
Expand All @@ -13,6 +14,7 @@ export const storeNftsMock = {
minted_timestamp: '2022-04-27T09:59:45.971984',
price: null,
media: 'https://arweave.net/WpIncEWkASjDH5z2qQ8lf2-LZv226uz2E8JKcGkh3Fw',
reference: 'https://arweave.net/WpIncEWkASjDH5z2qQ8lf2-LZv226uz2E8JKcGkh3Fw',
nft_contract_id: 'teammintbase.mintbase1.near',
metadata_id: 'teammintbase.mintbase1.near:bab92e47bb729b958590fa2c7516fddb',
title: 'Microchipgnu',
Expand Down
1 change: 1 addition & 0 deletions packages/data/src/api/storeNfts/storeNfts.query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ query ${QUERY_OPS_PREFIX}_getStoreNfts(
minted_timestamp
price
media
reference
nft_contract_id
metadata_id
title
Expand Down
1 change: 1 addition & 0 deletions packages/data/src/api/storeNfts/storeNfts.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export interface StoreNftsData {
minted_timestamp: string;
price: number | null;
media: string;
reference: string | null;
nft_contract_id: string;
metadata_id: string;
title: string;
Expand Down

0 comments on commit c8c41c9

Please sign in to comment.