# @platform-modules/commerce-catalog

## 0.1.2

### Patch Changes

- Updated dependencies [1fd8651]
  - @platform-modules/db@0.4.0

## 0.1.1

### Patch Changes

- Updated dependencies [df32439]
  - @platform-modules/db@0.3.0

## 0.1.0

### Minor Changes

- 0b1a962: Candidate-set faceting hook on `listProducts` — `CatalogFilter` gains optional `entityIds?: string[]` (an opaque id allow-list, e.g. from a `@platform-modules/fields` facet query); `Page<Product>` gains optional `entityIdsCapped?: boolean`.

  `entityIds` is ANDed with the existing visibility floor (never replaces it — a candidate set may carry private/draft ids), UUID-shape-validated before binding (a malformed id can never reach the `uuid` column → no user-triggerable 500), and bounded by catalog's own `MAX_ENTITY_IDS` safe-`IN` cap (independent of any caller's cap). `undefined` = facet unused (no clause); `[]` or all-invalid = facet used with zero matches (empty page, never all-products).

  `entityIdsCapped` is set `true` ONLY when that cap truncated the candidate set, so a caller can surface "first N" instead of presenting a truncated set as complete — catalog's own truncation signal, independent of any upstream engine's `capped`.

## 0.0.1

### Patch Changes

- Updated dependencies [f895518]
  - @platform-modules/db@0.2.0
