@spartacus/cart
Version:
`@spartacus/cart` is a package that you can include in your application, which allows you to use various cart features.
49 lines (48 loc) • 1.14 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"$id": "CartSchematics",
"title": "Cart Schematics",
"type": "object",
"properties": {
"project": {
"type": "string",
"description": "The name of the project.",
"$default": {
"$source": "projectName"
}
},
"lazy": {
"type": "boolean",
"description": "Lazy load the Saved cart feature.",
"default": true
},
"features": {
"type": "array",
"uniqueItems": true,
"items": {
"enum": ["Saved-Cart", "Quick-Order", "Import-Export"],
"type": "string"
},
"default": ["Saved-Cart", "Quick-Order", "Import-Export"],
"x-prompt": {
"message": "Which Cart features would you like to set up?",
"type": "list",
"items": [
{
"value": "Saved-Cart",
"label": "Saved Cart"
},
{
"value": "Quick-Order",
"label": "Quick Order"
},
{
"value": "Import-Export",
"label": "Import/Export"
}
]
}
}
},
"required": []
}