@instruments/materialgraph 3.4.0 → 3.5.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/index.d.ts +1 -1
- package/list-variants-types.d.ts +5 -1
- package/package.json +1 -1
- package/response-schemas.generated.js +23 -23
- package/search-variants-types.d.ts +4 -0
- package/webmcp.generated.js +5 -5
package/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { DiscoveryReference, DiscoveryTerms, InterpretDiscoveryTermsInput, ColorlessVariantsResult, VariantSibling, } from "./discovery-context-types.js";
|
|
2
2
|
export { MaterialGraphClient, DEFAULT_BASE_URL } from "./client.js";
|
|
3
3
|
export type { MaterialGraphClientOptions } from "./client.js";
|
|
4
|
-
export type { FilterOp, FilterTermCondition, FilterNumericCondition, FilterPresenceCondition, FilterAnyFieldCondition, FilterCondition, FilterGroups, OptionalFilterGroups, OrderByEntry, ListVariantsInclude, ListVariantsCollapse, ColorRegion, ColorRangeCondition, ListVariantsInput, ListVariantsPreference, ListVariantsSpecifications, ListVariantsNotApplicable, SampleSizeObservation, VariantObservations, SampleSubject, ListVariantsItem, ListVariantsOutput, VariantCard, } from "./list-variants-types.js";
|
|
4
|
+
export type { FilterOp, FilterTermCondition, FilterNumericCondition, FilterPresenceCondition, FilterAnyFieldCondition, FilterCondition, FilterGroups, OptionalFilterGroups, OrderByEntry, ListVariantsInclude, ListVariantsCollapse, ColorRegion, ColorRangeCondition, ListVariantsInput, ListVariantsPreference, ListVariantsSpecifications, ListVariantsNotApplicable, SampleSizeObservation, VariantObservations, SampleSubject, ListVariantsItem, Market, ListVariantsOutput, VariantCard, } from "./list-variants-types.js";
|
|
5
5
|
export type { ListVariantFacetsInput, VariantFacetValue, CategoricalVariantFacet, BooleanVariantFacet, NumericVariantFacet, VariantFacet, ListVariantFacetsOutput, } from "./list-variant-facets-types.js";
|
|
6
6
|
export type { SearchVariantsSelection, SearchVariantsInput, SearchVariantsUnderstood, SearchVariantsReading, SearchVariantsSuggestion, SearchVariantsChoice, SearchVariantsOutput, } from "./search-variants-types.js";
|
|
7
7
|
export type { Baseline, BaselineResult, BaselineSource, BaselineStrength, BaselineWayToMeet, CheckBaselinesInput, CheckBaselinesResult, ListBaselinesOptions, ListBaselinesResult, } from "./baseline-types.js";
|
package/list-variants-types.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export interface OptionalFilterGroups {
|
|
|
93
93
|
}
|
|
94
94
|
export interface OrderByEntry {
|
|
95
95
|
direction: "asc" | "desc";
|
|
96
|
-
/** A numeric attribute id. */
|
|
96
|
+
/** A single-valued numeric attribute id (`getAttribute` says orderable), or `color_lightness` or `color_chroma`: the lightness and chroma of the variant's dominant measured color. */
|
|
97
97
|
field: string;
|
|
98
98
|
}
|
|
99
99
|
export type ListVariantsInclude = "image" | "url";
|
|
@@ -196,6 +196,8 @@ export interface ListVariantsNotApplicable {
|
|
|
196
196
|
}
|
|
197
197
|
/** What a sample represents, independently of its specification type. */
|
|
198
198
|
export type SampleSubject = "material" | "paint_color_sample" | "unknown" | "conflict";
|
|
199
|
+
/** A Material Bank market: North America or Europe. */
|
|
200
|
+
export type Market = "na" | "eu";
|
|
199
201
|
/**
|
|
200
202
|
* One list item: the compact identity needed to pick a variant, with image
|
|
201
203
|
* and brand page only when requested (`include`) and selected attributes
|
|
@@ -234,6 +236,8 @@ export interface ListVariantsItem {
|
|
|
234
236
|
};
|
|
235
237
|
/** The variant's Material Bank SKU. Absent means none is recorded. */
|
|
236
238
|
materialBankId?: string;
|
|
239
|
+
/** The Material Bank markets it is orderable in: `na`, `eu`, both or neither. The `market` filter field takes them. */
|
|
240
|
+
markets: Market[];
|
|
237
241
|
name: string;
|
|
238
242
|
/** The trimmed source variant label; null when unknown or for a paint color sample, whose own name identifies its color. Separate from surface finish, color family and derived color names. */
|
|
239
243
|
variantLabel: string | null;
|