From 79790304672d3ee3772000dce6d03f194af7fffc Mon Sep 17 00:00:00 2001 From: adam_unchained Date: Thu, 7 Sep 2023 19:36:23 -0700 Subject: [PATCH] tweaked documentation --- .../src/runtime/firebase/nft/NftSetForSaleRequestSchema.ts | 2 +- packages/interfaces/src/api/post/NftSetForSaleRequest.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/functions/src/runtime/firebase/nft/NftSetForSaleRequestSchema.ts b/packages/functions/src/runtime/firebase/nft/NftSetForSaleRequestSchema.ts index e9e907cffe..62ac1b69ae 100644 --- a/packages/functions/src/runtime/firebase/nft/NftSetForSaleRequestSchema.ts +++ b/packages/functions/src/runtime/firebase/nft/NftSetForSaleRequestSchema.ts @@ -45,7 +45,7 @@ export const setNftForSaleSchema = toJoiObject({ .max(TRANSACTION_MAX_EXPIRY_MS) .greater(Joi.ref('auctionLength')) .description( - 'If set, auction will automatically extend by this length if a bid comes in within the specified minutes before the end of the auction.', + 'If set, auction will automatically extended by this length if a bid comes in within {@link extendAuctionWithin} before the end of the auction.', ), extendAuctionWithin: Joi.number() .min(TRANSACTION_AUTO_EXPIRY_MS) diff --git a/packages/interfaces/src/api/post/NftSetForSaleRequest.ts b/packages/interfaces/src/api/post/NftSetForSaleRequest.ts index 04eb8f6ddc..3941e7a4cb 100644 --- a/packages/interfaces/src/api/post/NftSetForSaleRequest.ts +++ b/packages/interfaces/src/api/post/NftSetForSaleRequest.ts @@ -32,11 +32,11 @@ export interface NftSetForSaleRequest { */ availableFrom?: Date; /** - * Auction will be extended if a bid happens this many milliseconds before auction ends. Default value is 5 minutes + * Auction will be extended if a bid happens this many milliseconds before auction ends. Default value is 300000 minutes */ extendAuctionWithin?: number; /** - * If set, auction will automatically extend by this length if a bid comes in within the specified minutes before the end of the auction. + * If set, auction will automatically extended by this length if a bid comes in within {@link extendAuctionWithin} before the end of the auction. */ extendedAuctionLength?: number; /**