File tree Expand file tree Collapse file tree 1 file changed +91
-17
lines changed
packages/xl-ai/src/api/schema/__snapshots__ Expand file tree Collapse file tree 1 file changed +91
-17
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,46 @@ exports[`creates json schema 1`] = `
55 " $defs" : {
66 " block" : {
77 " anyOf" : [
8+ {
9+ " additionalProperties" : false ,
10+ " properties" : {
11+ " content" : undefined ,
12+ " props" : {
13+ " additionalProperties" : false ,
14+ " properties" : {
15+ " caption" : {
16+ " enum" : undefined ,
17+ " type" : " string" ,
18+ },
19+ " name" : {
20+ " enum" : undefined ,
21+ " type" : " string" ,
22+ },
23+ " showPreview" : {
24+ " enum" : undefined ,
25+ " type" : " boolean" ,
26+ },
27+ " url" : {
28+ " enum" : undefined ,
29+ " type" : " string" ,
30+ },
31+ },
32+ " type" : " object" ,
33+ },
34+ " type" : {
35+ " enum" : [
36+ " audio" ,
37+ " image" ,
38+ " video" ,
39+ ],
40+ " type" : " string" ,
41+ },
42+ },
43+ " required" : [
44+ " type" ,
45+ ],
46+ " type" : " object" ,
47+ },
848 {
949 " additionalProperties" : false ,
1050 " properties" : {
@@ -18,11 +58,11 @@ exports[`creates json schema 1`] = `
1858 },
1959 " type" : {
2060 " enum" : [
61+ " bulletListItem" ,
62+ " numberedListItem" ,
2163 " paragraph" ,
2264 " quote" ,
2365 " toggleListItem" ,
24- " bulletListItem" ,
25- " numberedListItem" ,
2666 ],
2767 " type" : " string" ,
2868 },
@@ -41,27 +81,16 @@ exports[`creates json schema 1`] = `
4181 " props" : {
4282 " additionalProperties" : false ,
4383 " properties" : {
44- " isToggleable " : {
84+ " checked " : {
4585 " enum" : undefined ,
4686 " type" : " boolean" ,
4787 },
48- " level" : {
49- " enum" : [
50- 1 ,
51- 2 ,
52- 3 ,
53- 4 ,
54- 5 ,
55- 6 ,
56- ],
57- " type" : " number" ,
58- },
5988 },
6089 " type" : " object" ,
6190 },
6291 " type" : {
6392 " enum" : [
64- " heading " ,
93+ " checkListItem " ,
6594 ],
6695 " type" : " string" ,
6796 },
@@ -99,6 +128,40 @@ exports[`creates json schema 1`] = `
99128 ],
100129 " type" : " object" ,
101130 },
131+ {
132+ " additionalProperties" : false ,
133+ " properties" : {
134+ " content" : undefined ,
135+ " props" : {
136+ " additionalProperties" : false ,
137+ " properties" : {
138+ " caption" : {
139+ " enum" : undefined ,
140+ " type" : " string" ,
141+ },
142+ " name" : {
143+ " enum" : undefined ,
144+ " type" : " string" ,
145+ },
146+ " url" : {
147+ " enum" : undefined ,
148+ " type" : " string" ,
149+ },
150+ },
151+ " type" : " object" ,
152+ },
153+ " type" : {
154+ " enum" : [
155+ " file" ,
156+ ],
157+ " type" : " string" ,
158+ },
159+ },
160+ " required" : [
161+ " type" ,
162+ ],
163+ " type" : " object" ,
164+ },
102165 {
103166 " additionalProperties" : false ,
104167 " properties" : {
@@ -108,16 +171,27 @@ exports[`creates json schema 1`] = `
108171 " props" : {
109172 " additionalProperties" : false ,
110173 " properties" : {
111- " checked " : {
174+ " isToggleable " : {
112175 " enum" : undefined ,
113176 " type" : " boolean" ,
114177 },
178+ " level" : {
179+ " enum" : [
180+ 1 ,
181+ 2 ,
182+ 3 ,
183+ 4 ,
184+ 5 ,
185+ 6 ,
186+ ],
187+ " type" : " number" ,
188+ },
115189 },
116190 " type" : " object" ,
117191 },
118192 " type" : {
119193 " enum" : [
120- " checkListItem " ,
194+ " heading " ,
121195 ],
122196 " type" : " string" ,
123197 },
You can’t perform that action at this time.
0 commit comments