@instruments/materialgraph 0.21.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instruments/materialgraph",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -1,6 +1,11 @@
1
1
  export interface SamplizeCatalogueOptions {
2
2
  limit?: number;
3
+ /** Continue with unchanged filters and sourceVersion; omit when filters change. */
3
4
  after?: string;
5
+ /** Exact canonical identities, at most 100. Unknown/ineligible IDs are omitted; no substitution. Combined filters intersect. */
6
+ variantIds?: string[];
7
+ /** Exact source collection handle; publisher remains Samplize. */
8
+ collectionHandle?: string;
4
9
  /** Pin every subsequent page to the version returned by the first page. */
5
10
  sourceVersion?: string;
6
11
  }
@@ -49,6 +54,7 @@ export interface SamplizeCataloguePage {
49
54
  corpusScope: "samplizeCatalogue";
50
55
  sourceVersion: string;
51
56
  source: Record<string, unknown>;
57
+ /** Number of eligible records matching the supplied filters. */
52
58
  total: number;
53
59
  items: SamplizeCatalogueProduct[];
54
60
  nextCursor: string | null;