-
Notifications
You must be signed in to change notification settings - Fork 22
fix: shema validation #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Preview is ready. |
src/schema/index.ts
Outdated
| export function generateDefaultSchema(config?: SchemaCustomConfig) { | ||
| const {cards = {}, blocks = {}, extensions = {}} = config ?? {}; | ||
|
|
||
| const blocksValidators = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blockValidators
src/schema/index.ts
Outdated
| ...ContentLayoutBlock, | ||
| }; | ||
|
|
||
| const cardsValidators = { |
There was a problem hiding this comment.
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', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did we delete it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not yet
9c9118a to
3fc5cd7
Compare
No description provided.