feature/nutrition #60

Merged
amit merged 2 commits from feature/nutrition into main 2026-11-04 09:12:01 +00:00
2 changed files with 4049 additions and 16 deletions
Showing only changes of commit edbcbd5d33 - Show all commits

File diff suppressed because it is too large Load Diff

View File

@ -61,6 +61,37 @@
"default": 0,
"definition_kind": "scalar",
"is_multivalue": false
},
{
"name": "Food Items",
"code": "food_items",
"data_type": "json",
"multivalue": true,
"default": [],
"definition_kind": "scalar",
"is_multivalue": true,
"metadata": {
"value_contract": {
"kind": "content_ref",
"contract_version": "1.0",
"reference_type": "content_ref",
"target_module_code": "m0031",
"target_template_code": "m0031_ct0002",
"cardinality": "many",
"authoring_identity": "source_code",
"persisted_identity": "source_key",
"runtime_identity": "content_id",
"resolution_pipeline": "source_code -> source_key -> content_id",
"rules": {
"explicit_reference_required_when_value_present": true,
"plain_text_allowed": false,
"source_code_authoring_only": true,
"source_key_persisted_only": true,
"content_id_runtime_only": true,
"do_not_infer_reference_from_label": true
}
}
}
}
],
"presentation_contracts": [
@ -110,6 +141,12 @@
"attribute_key": "m0031_ct0003.sort_order",
"empty_behavior": "hide",
"visibility": "hide"
},
{
"attribute_key": "m0031_ct0003.food_items",
"empty_behavior": "hide",
"visibility": "show",
"display_order": 20
}
],
"metadata": {