Skip to content

Commit c75ae30

Browse files
authored
fix: fix map block scheme (#190)
1 parent e9cfe83 commit c75ae30

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/schema/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export function generateDefaultSchema(config?: SchemaCustomConfig) {
112112
'banner-block',
113113
'companies-block',
114114
'media-block',
115+
'map-block',
115116
'info-block',
116117
'security-block',
117118
'table-block',

src/schema/validators/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ export const MapProps = {
561561
},
562562
markers: {
563563
type: 'array',
564-
items: {type: YMapMarker},
564+
items: YMapMarker,
565565
},
566566
};
567567

0 commit comments

Comments
 (0)