@@ -35,9 +35,23 @@ fetchMock
35
35
"prompt" : "prompt" ,
36
36
"title" : "Text1" ,
37
37
"type" : "text" ,
38
+ "description" : "description" ,
38
39
"options" : {
39
- "description" : "description" ,
40
40
"placeholder" : "placeholder" ,
41
+ "lines" : 1
42
+ } ,
43
+ "updated_at" : new Date ( ) ,
44
+ "created_at" : new Date ( ) ,
45
+ } ,
46
+ {
47
+ "id" : "textarea" ,
48
+ "prompt" : "prompt" ,
49
+ "title" : "Textarea" ,
50
+ "type" : "text" ,
51
+ "description" : "description" ,
52
+ "options" : {
53
+ "placeholder" : "placeholder" ,
54
+ "lines" : 3 ,
41
55
} ,
42
56
"updated_at" : new Date ( ) ,
43
57
"created_at" : new Date ( ) ,
@@ -47,8 +61,8 @@ fetchMock
47
61
"prompt" : "prompt" ,
48
62
"title" : "Rating1" ,
49
63
"type" : "rating" ,
64
+ "description" : "description" ,
50
65
"options" : {
51
- "description" : "description" ,
52
66
"max" : 5 ,
53
67
} ,
54
68
"updated_at" : new Date ( ) ,
@@ -59,8 +73,89 @@ fetchMock
59
73
"prompt" : "prompt" ,
60
74
"title" : "Text2" ,
61
75
"type" : "text" ,
76
+ "description" : "description" ,
77
+ "options" : {
78
+ "placeholder" : "placeholder" ,
79
+ "lines" : 1 ,
80
+ } ,
81
+ "updated_at" : new Date ( ) ,
82
+ "created_at" : new Date ( ) ,
83
+ } ,
84
+ {
85
+ "id" : "checkbox" ,
86
+ "prompt" : "prompt" ,
87
+ "type" : "checkbox" ,
88
+ "title" : "Checkbox" ,
89
+ "description" : "description" ,
90
+ "options" : {
91
+ "defaultState" : true ,
92
+ "style" : "checkbox" ,
93
+ } ,
94
+ "updated_at" : new Date ( ) ,
95
+ "created_at" : new Date ( ) ,
96
+ } ,
97
+ {
98
+ "id" : "switch" ,
99
+ "prompt" : "prompt" ,
100
+ "type" : "checkbox" ,
101
+ "title" : "Switch" ,
102
+ "description" : "description" ,
103
+ "options" : {
104
+ "defaultState" : false ,
105
+ "style" : "switch" ,
106
+ } ,
107
+ "updated_at" : new Date ( ) ,
108
+ "created_at" : new Date ( ) ,
109
+ } ,
110
+
111
+ {
112
+ "id" : "selection" ,
113
+ "prompt" : "prompt" ,
114
+ "title" : "Selection" ,
115
+ "type" : "selection" ,
116
+ "description" : "description" ,
117
+ "options" : {
118
+ "values" : [ "foo" , "bar" ] ,
119
+ "combobox" : false ,
120
+ } ,
121
+ "updated_at" : new Date ( ) ,
122
+ "created_at" : new Date ( ) ,
123
+ } ,
124
+ {
125
+ "id" : "combobox" ,
126
+ "title" : "Combobox" ,
127
+ "prompt" : "prompt" ,
128
+ "type" : "selection" ,
129
+ "description" : "description" ,
130
+ "options" : {
131
+ "values" : [ "foo" , "bar" ] ,
132
+ "combobox" : true ,
133
+ } ,
134
+ "updated_at" : new Date ( ) ,
135
+ "created_at" : new Date ( ) ,
136
+ } ,
137
+
138
+ {
139
+ "id" : "range" ,
140
+ "title" : "Range" ,
141
+ "prompt" : "prompt" ,
142
+ "type" : "range" ,
143
+ "options" : {
144
+ "min" : 1 ,
145
+ "max" : 10 ,
146
+ } ,
147
+ "updated_at" : new Date ( ) ,
148
+ "created_at" : new Date ( ) ,
149
+ } ,
150
+ {
151
+ "id" : "number" ,
152
+ "prompt" : "prompt" ,
153
+ "title" : "Number" ,
154
+ "type" : "number" ,
155
+ "description" : "description" ,
62
156
"options" : {
63
- "description" : "description" ,
157
+ "min" : 1 ,
158
+ "max" : 10 ,
64
159
"placeholder" : "placeholder" ,
65
160
} ,
66
161
"updated_at" : new Date ( ) ,
0 commit comments