function getHiddenPackageMemberIds
getHiddenPackageMemberIds(listingIds: readonly number[]): Promise<Set<number>>

Of the given listing ids, those that belong to a HIDDEN package — a package group (is_package = 1) with hide_package_listings = 1. Buyers must never meet these members standalone: the package name is the only public surface, so every buyer-facing discovery/direct path drops them.

Parameters

listingIds: readonly number[]

Return Type

Promise<Set<number>>

Usage

import { getHiddenPackageMemberIds } from "docs/database.ts";