Skip to content

Commit

Permalink
feat(rich-text-types): expose RT validation helper (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
z0al committed Dec 9, 2021
1 parent cc26cab commit fc5a7cc
Show file tree
Hide file tree
Showing 14 changed files with 1,410 additions and 42 deletions.
546 changes: 524 additions & 22 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions packages/rich-text-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"lint": "tslint -t codeFrame '@(src|bin)/*.ts'",
"generate-json-schema": "ts-node -O '{\"module\": \"commonjs\"}' ./tools/jsonSchemaGen"
},
"dependencies": {
"ajv": "^8.8.2"
},
"devDependencies": {
"@types/jest": "^27.0.1",
"@types/node": "^14.17.14",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BLOCKS from '../blocks';
import { BLOCKS } from '../blocks';
import { VOID_BLOCKS, CONTAINERS, TEXT_CONTAINERS } from '../schemaConstraints';

const allKnownBlocks = Object.values(BLOCKS);
Expand Down
Loading

0 comments on commit fc5a7cc

Please sign in to comment.