File tree Expand file tree Collapse file tree 1 file changed +25
-18
lines changed
Expand file tree Collapse file tree 1 file changed +25
-18
lines changed Original file line number Diff line number Diff line change @@ -495,31 +495,38 @@ export const MediaProps = {
495495} ;
496496
497497export const YMapMarkerLabel = {
498+ type : 'object' ,
498499 required : [ ] ,
499- iconCaption : {
500- type : 'string' ,
501- } ,
502- iconContent : {
503- type : 'string' ,
504- } ,
505- iconColor : {
506- type : 'string' ,
507- } ,
508- preset : {
509- type : 'string' ,
500+ properties : {
501+ iconCaption : {
502+ type : 'string' ,
503+ } ,
504+ iconContent : {
505+ type : 'string' ,
506+ } ,
507+ iconColor : {
508+ type : 'string' ,
509+ } ,
510+ preset : {
511+ type : 'string' ,
512+ } ,
510513 } ,
511514} ;
512515
513516export const YMapMarker = {
517+ type : 'object' ,
518+ additionalProperties : false ,
514519 required : [ ] ,
515- coordinate : {
516- type : 'array' ,
517- items : { type : 'number' } ,
518- } ,
519- address : {
520- type : 'string' ,
520+ properties : {
521+ coordinate : {
522+ type : 'array' ,
523+ items : { type : 'number' } ,
524+ } ,
525+ address : {
526+ type : 'string' ,
527+ } ,
528+ label : YMapMarkerLabel ,
521529 } ,
522- label : YMapMarkerLabel ,
523530} ;
524531
525532export const MapProps = {
You can’t perform that action at this time.
0 commit comments