From 71b58c3ec370150ed10a53c36a0eedf810456d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20P=C3=B6hland?= Date: Wed, 7 Aug 2024 10:33:00 +0200 Subject: [PATCH] add support for identifier --- src/collection/index.ts | 1 + src/email.tsx | 3 ++- src/types/collection.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/collection/index.ts b/src/collection/index.ts index 9647c33..bfc2d09 100644 --- a/src/collection/index.ts +++ b/src/collection/index.ts @@ -193,6 +193,7 @@ export class CollectionModule { dataType: args.dataType ?? ['nft'], // @borispoehland Has to be false only if we want to show the expired auctions, undefined to show all, and true only actives activeAuction: args.activeAuctions, + identifier: args.identifiers, collection: args.collections ?? [], onSale: args.onlyOnSale, saleInfo: { diff --git a/src/email.tsx b/src/email.tsx index 9a9d9f1..d7b811c 100644 --- a/src/email.tsx +++ b/src/email.tsx @@ -1,4 +1,5 @@ import { renderEmail } from './email/email'; import { renderEventEmail } from './email/event-email'; +import { renderPostEmail } from './email/post-email'; export * from './email/types'; -export default { renderEmail, renderEventEmail }; +export default { renderEmail, renderEventEmail, renderPostEmail }; diff --git a/src/types/collection.ts b/src/types/collection.ts index cfadda4..cf348cf 100644 --- a/src/types/collection.ts +++ b/src/types/collection.ts @@ -309,7 +309,7 @@ export interface GetNFTsArgs { listedBy?: string[]; /** Owned by different users */ ownedBy?: string[]; - + identifiers?: string[]; auctionType: AuctionTypes; /** If set, will return only NFTs from the specified collections */ collections?: string[];