File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 "type" : " string"
3333 }
3434 },
35- "required" : [" title" , " description" ]
35+ "required" : [
36+ " title" ,
37+ " description"
38+ ]
3639 }
3740 }
3841 },
5356 },
5457 "type" : {
5558 "type" : " string"
59+ },
60+ "demos" : {
61+ "type" : " array" ,
62+ "items" : {
63+ "type" : " object" ,
64+ "properties" : {
65+ "name" : {
66+ "type" : " string"
67+ },
68+ "url" : {
69+ "type" : " string"
70+ }
71+ },
72+ "required" : [" name" , " url" ]
73+ }
5674 }
5775 },
5876 "required" : [
6280 " i18n" ,
6381 " tags" ,
6482 " category" ,
65- " type"
83+ " type" ,
84+ " demos"
6685 ]
6786 }
6887 }
Original file line number Diff line number Diff line change @@ -47,11 +47,11 @@ const DemoContextProvider = ({ children }) => {
4747 */
4848
4949 const applyStorybookDataToMcMeta = ( {
50- componentData,
51- storybookData,
52- compId,
53- url,
54- } ) => {
50+ componentData,
51+ storybookData,
52+ compId,
53+ url,
54+ } ) => {
5555 let catalogueDemoExists = false ;
5656 for ( var storyId in storybookData . stories ) {
5757 let _compName = storybookData . stories [ storyId ] . kind . split ( "/" ) ;
You can’t perform that action at this time.
0 commit comments