@contentful/rich-text-types
Advanced tools
Comparing version 9.0.2 to 10.0.0
@@ -11,3 +11,2 @@ "use strict"; | ||
nodeType: 'document', | ||
nodeClass: 'block', | ||
data: {}, | ||
@@ -20,3 +19,2 @@ content: [], | ||
nodeType: 'document', | ||
nodeClass: 'block', | ||
data: {}, | ||
@@ -26,3 +24,2 @@ content: [ | ||
nodeType: faker_1.default.name.title(), | ||
nodeClass: 'block', | ||
data: {}, | ||
@@ -39,3 +36,2 @@ content: [], | ||
nodeType: 'paragraph', | ||
nodeClass: 'block', | ||
data: {}, | ||
@@ -48,3 +44,2 @@ content: [], | ||
nodeType: 'paragraph', | ||
nodeClass: 'block', | ||
data: {}, | ||
@@ -54,3 +49,2 @@ content: [ | ||
nodeType: faker_1.default.name.title(), | ||
nodeClass: 'block', | ||
data: {}, | ||
@@ -65,3 +59,2 @@ content: [], | ||
nodeType: 'paragraph', | ||
nodeClass: 'block', | ||
data: {}, | ||
@@ -83,3 +76,2 @@ content: [ | ||
nodeType: 'hyperlink', | ||
nodeClass: 'inline', | ||
data: {}, | ||
@@ -92,3 +84,2 @@ content: [], | ||
nodeType: 'hyperlink', | ||
nodeClass: 'inline', | ||
data: {}, | ||
@@ -98,3 +89,2 @@ content: [ | ||
nodeType: faker_1.default.name.title(), | ||
nodeClass: 'inline', | ||
data: {}, | ||
@@ -109,3 +99,2 @@ content: [], | ||
nodeType: faker_1.default.name.title(), | ||
nodeClass: 'inline', | ||
data: {}, | ||
@@ -112,0 +101,0 @@ content: [ |
@@ -8,11 +8,8 @@ export declare type NodeData = Record<string, any>; | ||
nodeType: 'document'; | ||
nodeClass: 'block'; | ||
content: Block[]; | ||
} | ||
export interface Block extends Node { | ||
nodeClass: 'block'; | ||
content: Array<Block | Inline | Text>; | ||
} | ||
export interface Inline extends Node { | ||
nodeClass: 'inline'; | ||
content: Array<Inline | Text>; | ||
@@ -19,0 +16,0 @@ } |
{ | ||
"name": "@contentful/rich-text-types", | ||
"version": "9.0.2", | ||
"version": "10.0.0", | ||
"main": "dist/rich-text-types.es5.js", | ||
@@ -38,3 +38,3 @@ "typings": "dist/types/index.d.ts", | ||
}, | ||
"gitHead": "e2b8b5509083bba1ea1e6839fd382c84019a76dc" | ||
"gitHead": "4531fd40a4e459fda941272917d3e42bdacd9f00" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22886
468