Kit contract v1 › Schemas
GridConfig
The grid_config document (only with grid_config=1). Its layout keys match theme.MercuryConfig's
camelCase forms; the bundle falls back to it when the page has no window._mercury.
Type: object
Field Type Description grid optional { [key]: any } Fields Field Type Description [key: string]any Any further keys.
currency optional string
locale optional string
delimiter optional string
sizeMapping optional any
colourMapping optional { [key]: string } Fields Field Type Description [key: string]string Any further keys.
imageMapping optional { [key]: string } Fields Field Type Description [key: string]string Any further keys.
facetMapping optional any
Example (illustrative) {
"grid": {
"key": null
},
"currency": "AUD",
"locale": "string",
"delimiter": "string",
"sizeMapping": null,
"colourMapping": {
"key": "#1f6feb"
},
"imageMapping": {
"key": "string"
},
"facetMapping": null
}
Used by
Declared in api-types/src/kit-contract/v1/search-api.ts.