Skip to content

Commit

Permalink
add support for identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
borispoehland committed Aug 7, 2024
1 parent 2ff263e commit 71b58c3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/collection/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
3 changes: 2 additions & 1 deletion src/email.tsx
Original file line number Diff line number Diff line change
@@ -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 };
2 changes: 1 addition & 1 deletion src/types/collection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down

0 comments on commit 71b58c3

Please sign in to comment.