Skip to content

Commit a8627ca

Browse files
author
Juli Ovechkina
authored
fix(BasicCard): schema validation (#304)
1 parent 2db092e commit a8627ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/schema/validators/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ export const MapProps = {
567567
export const CardBase = {
568568
border: {
569569
type: 'string',
570-
enum: ['border', 'shadow', 'none'],
570+
enum: ['line', 'shadow', 'none'],
571571
},
572572
};
573573

src/sub-blocks/BasicCard/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const BasicCardContentProps = _.omit(ContentBase, ['size', 'theme']);
99
export const BasicCard = {
1010
'basic-card': {
1111
additionalProperties: false,
12-
required: ['url'],
12+
required: [],
1313
properties: {
1414
...BaseProps,
1515
...CardBase,

0 commit comments

Comments
 (0)