mirror of
https://github.com/divkit/divkit.git
synced 2026-05-07 20:02:32 +00:00
d9fc9f67f8
commit_hash:09720eaa924b03c138d3922db5bc6cb7386a59c0
45 lines
841 B
JSON
45 lines
841 B
JSON
{
|
|
"description": "A template definition with only literal fields and no reference definitions. Verifies basic merge of template literals into the usage.",
|
|
"templates": {
|
|
"title": {
|
|
"type": "text",
|
|
"font_size": 20,
|
|
"paddings": {
|
|
"top": 20,
|
|
"bottom": 10
|
|
}
|
|
}
|
|
},
|
|
"card": {
|
|
"log_id": "test",
|
|
"states": [
|
|
{
|
|
"state_id": 0,
|
|
"div": {
|
|
"type": "title",
|
|
"text": "Hello!"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"expected": {
|
|
"card": {
|
|
"log_id": "test",
|
|
"states": [
|
|
{
|
|
"state_id": 0,
|
|
"div": {
|
|
"type": "text",
|
|
"text": "Hello!",
|
|
"font_size": 20,
|
|
"paddings": {
|
|
"top": 20,
|
|
"bottom": 10
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|