@contentful/rich-text-types
Advanced tools
Comparing version 16.3.4 to 16.3.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EMPTY_DOCUMENT = void 0; | ||
var blocks_1 = require("./blocks"); | ||
@@ -8,3 +9,3 @@ /** | ||
*/ | ||
var EMPTY_DOCUMENT = { | ||
exports.EMPTY_DOCUMENT = { | ||
nodeType: blocks_1.BLOCKS.DOCUMENT, | ||
@@ -27,3 +28,2 @@ data: {}, | ||
}; | ||
exports.default = EMPTY_DOCUMENT; | ||
//# sourceMappingURL=emptyDocument.js.map |
@@ -28,5 +28,2 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -39,3 +36,3 @@ exports.helpers = exports.EMPTY_DOCUMENT = exports.MARKS = exports.INLINES = exports.BLOCKS = void 0; | ||
var marks_1 = require("./marks"); | ||
Object.defineProperty(exports, "MARKS", { enumerable: true, get: function () { return __importDefault(marks_1).default; } }); | ||
Object.defineProperty(exports, "MARKS", { enumerable: true, get: function () { return marks_1.MARKS; } }); | ||
__exportStar(require("./schemaConstraints"), exports); | ||
@@ -45,5 +42,5 @@ __exportStar(require("./types"), exports); | ||
var emptyDocument_1 = require("./emptyDocument"); | ||
Object.defineProperty(exports, "EMPTY_DOCUMENT", { enumerable: true, get: function () { return __importDefault(emptyDocument_1).default; } }); | ||
Object.defineProperty(exports, "EMPTY_DOCUMENT", { enumerable: true, get: function () { return emptyDocument_1.EMPTY_DOCUMENT; } }); | ||
var helpers = __importStar(require("./helpers")); | ||
exports.helpers = helpers; | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MARKS = void 0; | ||
/** | ||
@@ -14,4 +15,3 @@ * Map of all Contentful marks. | ||
MARKS["SUBSCRIPT"] = "subscript"; | ||
})(MARKS || (MARKS = {})); | ||
exports.default = MARKS; | ||
})(MARKS || (exports.MARKS = MARKS = {})); | ||
//# sourceMappingURL=marks.js.map |
@@ -11,5 +11,2 @@ "use strict"; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var _a; | ||
@@ -20,3 +17,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
var inlines_1 = require("./inlines"); | ||
var marks_1 = __importDefault(require("./marks")); | ||
var marks_1 = require("./marks"); | ||
/** | ||
@@ -135,3 +132,3 @@ * Array of all top level block types. | ||
*/ | ||
exports.V1_MARKS = [marks_1.default.BOLD, marks_1.default.CODE, marks_1.default.ITALIC, marks_1.default.UNDERLINE]; | ||
exports.V1_MARKS = [marks_1.MARKS.BOLD, marks_1.MARKS.CODE, marks_1.MARKS.ITALIC, marks_1.MARKS.UNDERLINE]; | ||
//# sourceMappingURL=schemaConstraints.js.map |
@@ -6,3 +6,2 @@ import { Document } from './types'; | ||
*/ | ||
declare const EMPTY_DOCUMENT: Document; | ||
export default EMPTY_DOCUMENT; | ||
export declare const EMPTY_DOCUMENT: Document; |
export { BLOCKS } from './blocks'; | ||
export { INLINES } from './inlines'; | ||
export { default as MARKS } from './marks'; | ||
export { MARKS } from './marks'; | ||
export * from './schemaConstraints'; | ||
export * from './types'; | ||
export * from './nodeTypes'; | ||
export { default as EMPTY_DOCUMENT } from './emptyDocument'; | ||
export { EMPTY_DOCUMENT } from './emptyDocument'; | ||
import * as helpers from './helpers'; | ||
export { helpers }; |
/** | ||
* Map of all Contentful marks. | ||
*/ | ||
declare enum MARKS { | ||
export declare enum MARKS { | ||
BOLD = "bold", | ||
@@ -12,2 +12,1 @@ ITALIC = "italic", | ||
} | ||
export default MARKS; |
import { BLOCKS } from './blocks'; | ||
import MARKS from './marks'; | ||
import { MARKS } from './marks'; | ||
export type TopLevelBlockEnum = BLOCKS.PARAGRAPH | BLOCKS.HEADING_1 | BLOCKS.HEADING_2 | BLOCKS.HEADING_3 | BLOCKS.HEADING_4 | BLOCKS.HEADING_5 | BLOCKS.HEADING_6 | BLOCKS.OL_LIST | BLOCKS.UL_LIST | BLOCKS.HR | BLOCKS.QUOTE | BLOCKS.EMBEDDED_ENTRY | BLOCKS.EMBEDDED_ASSET | BLOCKS.EMBEDDED_RESOURCE | BLOCKS.TABLE; | ||
@@ -4,0 +4,0 @@ /** |
{ | ||
"name": "@contentful/rich-text-types", | ||
"version": "16.3.4", | ||
"version": "16.3.5", | ||
"main": "dist/index.js", | ||
@@ -49,3 +49,3 @@ "typings": "dist/types/index.d.ts", | ||
}, | ||
"gitHead": "1fbcc367918c03ed6eea7bd9f36a859026ef8cfb" | ||
"gitHead": "63b4725a298fa5ea480f19e06cfc324996941c95" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
146490
5041