forked from divkit/divkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiv-state.json
100 lines (100 loc) · 2.62 KB
/
div-state.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"java_extends": "DivBlockWithId",
"$description": "translations.json#/div_state",
"generate_swift_optional_arguments": false,
"definitions": {
"div_state": {
"type": "object",
"generate_swift_optional_arguments": false,
"properties": {
"state_id": {
"type": "string",
"supports_expressions": false,
"$description": "translations.json#/div_state_div_state_state_id"
},
"div": {
"$ref": "div.json",
"$description": "translations.json#/div_state_div_state_div"
},
"animation_in": {
"$ref": "div-animation.json",
"$description": "translations.json#/div_state_div_state_animation_in",
"platforms": [
"android",
"ios"
],
"deprecated": true
},
"animation_out": {
"$ref": "div-animation.json",
"$description": "translations.json#/div_state_div_state_animation_out",
"platforms": [
"android",
"ios"
],
"deprecated": true
},
"swipe_out_actions": {
"type": "array",
"items": {
"$ref": "div-action.json"
},
"minItems": 1,
"clientMinItems": 1,
"$description": "translations.json#/div_state_div_state_swipe_out_actions",
"platforms": [
"android"
],
"deprecated": true
}
},
"required": [
"state_id"
]
}
},
"allOf": [
{
"$ref": "div-base.json"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"state"
]
},
"states": {
"type": "array",
"items": {
"$ref": "#/definitions/div_state"
},
"minItems": 1,
"clientMinItems": 1,
"$description": "translations.json#/div_state_states"
},
"div_id": {
"type": "string",
"supports_expressions": false,
"$description": "translations.json#/div_state_div_id",
"deprecated": true
},
"default_state_id": {
"type": "string",
"$description": "translations.json#/div_state_default_state_id"
},
"transition_animation_selector": {
"$ref": "div-transition-selector.json",
"default_value": "state_change",
"$description": "translations.json#/div_state_transition_animation_selector",
"deprecated": true
}
},
"required": [
"type",
"states"
]
}
]
}