UNPKG

contentfully

Version:

A simple but performant REST client for Contentful.

14 lines 488 B
import type { BLOCKS, INLINES } from '@contentful/rich-text-types'; import type { JsonObject } from 'type-fest'; export interface RichText { nodeType: RichText.NodeType; content?: RichText[]; value?: string; marks?: RichText.MarkType[]; data?: JsonObject; } export declare namespace RichText { type MarkType = 'bold' | 'underline' | 'code' | 'italic'; type NodeType = BLOCKS | INLINES | 'text' | 'embedded-asset-block'; } //# sourceMappingURL=RichText.d.ts.map