Skip to content

Commit 9c8467e

Browse files
authored
fix: added missed colSizes. description to Icons and Companies blocks schema (#737)
* fix: added missed colSizes to Icons block schema * fix: added missed description to Companies block schema * fix: added missed description to Icons block schema
1 parent 160f679 commit 9c8467e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

src/blocks/Companies/schema.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ export const CompaniesBlock = {
1111
type: 'string',
1212
contentType: 'text',
1313
},
14+
description: {
15+
type: 'string',
16+
contentType: 'text',
17+
},
1418
images: withTheme({
1519
type: 'object',
1620
required: ['desktop', 'tablet', 'mobile'],

src/blocks/Icons/schema.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
import {AnimatableProps, BlockBaseProps} from '../../schema/validators/common';
1+
import {
2+
AnimatableProps,
3+
BlockBaseProps,
4+
containerSizesObject,
5+
} from '../../schema/validators/common';
26
import {AnalyticsEventSchema} from '../../schema/validators/event';
37

48
export const IconsProps = {
@@ -11,11 +15,16 @@ export const IconsProps = {
1115
type: 'string',
1216
contentType: 'text',
1317
},
18+
description: {
19+
type: 'string',
20+
contentType: 'text',
21+
},
1422
size: {
1523
type: 'string',
1624
enum: ['s', 'm', 'l'],
1725
default: 's',
1826
},
27+
colSizes: containerSizesObject,
1928
items: {
2029
type: 'array',
2130
items: {

0 commit comments

Comments
 (0)