Skip to content

Conversation

@yuberdysheva
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

export function generateDefaultSchema(config?: SchemaCustomConfig) {
const {cards = {}, blocks = {}, extensions = {}} = config ?? {};

const blocksValidators = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

blockValidators

...ContentLayoutBlock,
};

const cardsValidators = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cardValidators

'security-block',
'table-block',
'tabs-block',
'simple-block',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did we delete it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not yet

@yuberdysheva yuberdysheva force-pushed the yuberdysheva/schema-fix branch from 9c9118a to 3fc5cd7 Compare December 12, 2022 16:52
@yuberdysheva yuberdysheva merged commit c0d2f92 into main Dec 13, 2022
@yuberdysheva yuberdysheva deleted the yuberdysheva/schema-fix branch December 13, 2022 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants