File tree Expand file tree Collapse file tree
packages/contentstack-audit/test/unit/mock/contents/field_rules Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "page_2" : [
3+ {
4+ "action" : {
5+ "action" : " show" ,
6+ "target_field" : " desc"
7+ },
8+ "ctUid" : " page_2"
9+ },
10+ {
11+ "action" : {
12+ "operand_field" : " title" ,
13+ "operator" : " equals" ,
14+ "value" : " Test"
15+ },
16+ "ctUid" : " page_2"
17+ }
18+ ],
19+ "page_3" : [
20+ {
21+ "action" : {
22+ "action" : " hide" ,
23+ "target_field" : " global.missing"
24+ },
25+ "ctUid" : " page_3"
26+ },
27+ {
28+ "action" : {
29+ "operand_field" : " global.gf_text" ,
30+ "operator" : " equals" ,
31+ "value" : " Global"
32+ },
33+ "ctUid" : " page_3"
34+ }
35+ ],
36+ "page_4" : [
37+ {
38+ "action" : {
39+ "action" : " show" ,
40+ "target_field" : " group.group_text"
41+ },
42+ "ctUid" : " page_4"
43+ },
44+ {
45+ "action" : {
46+ "action" : " hide" ,
47+ "target_field" : " missing_field"
48+ },
49+ "ctUid" : " page_4"
50+ },
51+ {
52+ "action" : {
53+ "operand_field" : " name" ,
54+ "operator" : " equals" ,
55+ "value" : " Test"
56+ },
57+ "ctUid" : " page_4"
58+ },
59+ {
60+ "action" : {
61+ "action" : " show" ,
62+ "target_field" : " invalid_block_field"
63+ },
64+ "ctUid" : " page_4"
65+ },
66+ {
67+ "action" : {
68+ "operand_field" : " blocks.block_1.block_text" ,
69+ "operator" : " equals" ,
70+ "value" : " Block"
71+ },
72+ "ctUid" : " page_4"
73+ },
74+ {
75+ "action" : {
76+ "action" : " show" ,
77+ "target_field" : " name"
78+ },
79+ "ctUid" : " page_4"
80+ },
81+ {
82+ "action" : {
83+ "operand_field" : " invalid_condition" ,
84+ "operator" : " equals" ,
85+ "value" : " Test"
86+ },
87+ "ctUid" : " page_4"
88+ }
89+ ]
90+ }
You can’t perform that action at this time.
0 commit comments