SYMBOL INDEX (180 symbols across 40 files) FILE: baseJestConfig.js function getConfig (line 1) | function getConfig(packageName) { FILE: packages/contentful-slatejs-adapter/src/__test__/contentful-helpers.ts type NodeProps (line 13) | interface NodeProps { function document (line 18) | function document(...content: TopLevelBlock[]): Document { function block (line 31) | function block(nodeType: BLOCKS, ...content: Array): In... function text (line 47) | function text(value: string, ...marks: Mark[]): Text { function mark (line 56) | function mark(type: string): Mark { FILE: packages/contentful-slatejs-adapter/src/contentful-to-slatejs-adapter.ts type ToSlatejsDocumentProperties (line 14) | interface ToSlatejsDocumentProperties { function toSlatejsDocument (line 19) | function toSlatejsDocument({ function convertNode (line 30) | function convertNode(node: ContentfulNode, schema: Schema): SlateNode { function convertElementNode (line 43) | function convertElementNode( function convertTextNode (line 60) | function convertTextNode(node: Contentful.Text): SlateText { function convertTextMarks (line 68) | function convertTextMarks(node: Contentful.Text): SlateMarks { FILE: packages/contentful-slatejs-adapter/src/schema.ts type SchemaJSON (line 19) | interface SchemaJSON { type Schema (line 24) | interface Schema extends SchemaJSON { type SchemaValue (line 29) | interface SchemaValue { function fromJSON (line 41) | function fromJSON(schema: SchemaJSON = defaultSchema): Schema { FILE: packages/contentful-slatejs-adapter/src/slatejs-to-contentful-adapter.ts type ToContentfulDocumentProperties (line 14) | interface ToContentfulDocumentProperties { function toContentfulDocument (line 19) | function toContentfulDocument({ function convertNode (line 36) | function convertNode(node: SlateNode, schema: Schema): ContentfulNode[] { function convertText (line 60) | function convertText(node: SlateText): Contentful.Text { function getMarkList (line 70) | function getMarkList(marks: SlateMarks): Contentful.Mark[] { function isSlateElement (line 78) | function isSlateElement(node: SlateNode): node is SlateElement { FILE: packages/contentful-slatejs-adapter/src/types/index.ts type SlateMarks (line 3) | type SlateMarks = { type SlateText (line 20) | type SlateText = SlateMarks & { type SlateElement (line 25) | type SlateElement = { type ContentfulElementNode (line 32) | type ContentfulElementNode = Contentful.Block | Contentful.Inline; type ContentfulNode (line 33) | type ContentfulNode = ContentfulElementNode | Contentful.Text; type SlateNode (line 34) | type SlateNode = SlateElement | SlateText; FILE: packages/contentful-slatejs-adapter/src/types/slate.ts type NodeObject (line 5) | type NodeObject = 'document' | 'block' | 'inline' | 'text'; type Node (line 6) | interface Node { type Document (line 13) | interface Document extends Node { type Block (line 18) | interface Block extends Node { type Inline (line 24) | interface Inline extends Node { type Text (line 29) | interface Text extends Node { type Mark (line 34) | interface Mark { type TextLeaf (line 40) | interface TextLeaf { FILE: packages/rich-text-from-markdown/src/__test__/helpers.ts type NodeProps (line 10) | interface NodeProps { function document (line 16) | function document(props: NodeProps = defaultProps, ...content: TopLevelB... function block (line 25) | function block( function inline (line 38) | function inline( function text (line 51) | function text(value: string, ...marks: Mark[]): Text { function mark (line 60) | function mark(type: string): Mark { FILE: packages/rich-text-from-markdown/src/index.ts function mdToRichTextNode (line 233) | async function mdToRichTextNode( function mdToRichTextNodes (line 266) | async function mdToRichTextNodes( function expandParagraphWithInlineImages (line 293) | function expandParagraphWithInlineImages(node: MarkdownNode): MarkdownNo... function prepareMdAST (line 349) | function prepareMdAST(ast: MarkdownTree): MarkdownNode { type FallbackResolver (line 372) | type FallbackResolver = (mdNode: MarkdownNode) => Promise, inlineType: INLINES) { FILE: packages/rich-text-html-renderer/src/escapeHtml.ts function escapeHtml (line 11) | function escapeHtml(input: string): string { FILE: packages/rich-text-html-renderer/src/index.ts type CommonNode (line 74) | type CommonNode = Text | Block | Inline; type Next (line 76) | interface Next { type NodeRenderer (line 80) | interface NodeRenderer { type RenderNode (line 84) | interface RenderNode { type RenderMark (line 88) | interface RenderMark { type Options (line 92) | interface Options { function documentToHtmlString (line 114) | function documentToHtmlString( function nodeListToHtmlString (line 141) | function nodeListToHtmlString( function nodeToHtmlString (line 150) | function nodeToHtmlString( FILE: packages/rich-text-links/src/__test__/index.test.ts function makeResourceLink (line 10) | function makeResourceLink(spaceId: string, entryId: string) { FILE: packages/rich-text-links/src/index.ts type EntityLinks (line 15) | type EntityLinks = { [type in EntityType]: EntityLink[] }; type EntityLinkMaps (line 16) | type EntityLinkMaps = { [type in EntityType]: Map }; type EntityType (line 17) | type EntityType = 'Entry' | 'Asset'; type EntityLink (line 18) | type EntityLink = SysObject['sys']; type SysObject (line 19) | type SysObject = Link; type EntityLinkNodeData (line 20) | type EntityLinkNodeData = { type AcceptedResourceLinkTypes (line 25) | type AcceptedResourceLinkTypes = function getRichTextResourceLinks (line 33) | function getRichTextResourceLinks( function getAllRichTextResourceLinks (line 44) | function getAllRichTextResourceLinks( function getValidResourceLinks (line 59) | function getValidResourceLinks( function getRichTextEntityLinks (line 78) | function getRichTextEntityLinks( function isContentNode (line 110) | function isContentNode(node: Node): node is Inline | Block { function visitNodes (line 114) | function visitNodes(startNode: Maybe, onVisit: (node: Node) => voi... function isLinkObject (line 132) | function isLinkObject(data: NodeData): data is EntityLinkNodeData { function iteratorToArray (line 163) | function iteratorToArray(iterator: IterableIterator): T[] { FILE: packages/rich-text-links/src/types/utils.ts type Maybe (line 1) | type Maybe = T | null | undefined; FILE: packages/rich-text-plain-text-renderer/bin/benchmark/get-rich-text-entity-links.ts function times (line 9) | function times(n: number, node: N): N[] { FILE: packages/rich-text-plain-text-renderer/src/index.ts type Options (line 3) | interface Options { function documentToPlainTextString (line 16) | function documentToPlainTextString( FILE: packages/rich-text-react-renderer/src/__test__/components/Document.tsx type DocumentProps (line 3) | type DocumentProps = { FILE: packages/rich-text-react-renderer/src/__test__/components/Paragraph.tsx type ParagraphProps (line 3) | type ParagraphProps = { FILE: packages/rich-text-react-renderer/src/__test__/components/Strong.tsx type StrongProps (line 3) | type StrongProps = { FILE: packages/rich-text-react-renderer/src/__test__/documents/inline-entity.ts function inlineEntity (line 3) | function inlineEntity(entry: Record, inlineType: INLINES) { FILE: packages/rich-text-react-renderer/src/index.tsx function defaultInline (line 60) | function defaultInline(type: string, node: Inline): ReactNode { function defaultInlineResource (line 68) | function defaultInlineResource(type: string, node: Inline) { type CommonNode (line 76) | type CommonNode = Text | Block | Inline; type NodeRenderer (line 78) | interface NodeRenderer { type RenderNode (line 82) | interface RenderNode { type RenderMark (line 86) | interface RenderMark { type RenderText (line 90) | interface RenderText { type Options (line 94) | interface Options { function documentToReactComponents (line 120) | function documentToReactComponents( FILE: packages/rich-text-react-renderer/src/util/appendKeyToValidElement.ts function appendKeyToValidElement (line 3) | function appendKeyToValidElement(element: ReactNode, key: number): React... FILE: packages/rich-text-react-renderer/src/util/nodeListToReactComponents.tsx function nodeListToReactComponents (line 9) | function nodeListToReactComponents(nodes: CommonNode[], options: Options... function nodeToReactComponent (line 15) | function nodeToReactComponent(node: CommonNode, options: Options): React... FILE: packages/rich-text-types/scripts/fix-esm-import-extensions.mjs constant REWRITES (line 18) | const REWRITES = [ function rewrite (line 27) | function rewrite(code) { FILE: packages/rich-text-types/src/blocks.ts type BLOCKS (line 4) | enum BLOCKS { FILE: packages/rich-text-types/src/emptyDocument.ts constant EMPTY_DOCUMENT (line 8) | const EMPTY_DOCUMENT: Document = { FILE: packages/rich-text-types/src/helpers.ts function hasValue (line 9) | function hasValue(obj: Record, value: unknown) { function isInline (line 22) | function isInline(node: Node): node is Inline { function isBlock (line 29) | function isBlock(node: Node): node is Block { function isText (line 36) | function isText(node: Node): node is Text { function isEmptyParagraph (line 43) | function isEmptyParagraph(node: Block): boolean { function isValidDocument (line 56) | function isValidDocument(document: unknown): document is CDocument { constant MIN_NODES_FOR_STRIPPING (line 65) | const MIN_NODES_FOR_STRIPPING = 2; function stripEmptyTrailingParagraphFromDocument (line 74) | function stripEmptyTrailingParagraphFromDocument(document: CDocument): C... FILE: packages/rich-text-types/src/inlines.ts type INLINES (line 8) | enum INLINES { FILE: packages/rich-text-types/src/marks.ts type MARKS (line 4) | enum MARKS { FILE: packages/rich-text-types/src/nodeTypes.ts type EmptyNodeData (line 6) | type EmptyNodeData = {}; type Heading1 (line 10) | interface Heading1 extends Block { type Heading2 (line 16) | interface Heading2 extends Block { type Heading3 (line 22) | interface Heading3 extends Block { type Heading4 (line 28) | interface Heading4 extends Block { type Heading5 (line 34) | interface Heading5 extends Block { type Heading6 (line 40) | interface Heading6 extends Block { type Paragraph (line 47) | interface Paragraph extends Block { type Quote (line 54) | interface Quote extends Block { type Hr (line 60) | interface Hr extends Block { type OrderedList (line 71) | interface OrderedList extends Block { type UnorderedList (line 77) | interface UnorderedList extends Block { type ListItem (line 83) | interface ListItem extends Block { type Link (line 90) | interface Link { type ResourceLink (line 98) | interface ResourceLink { type EntryLinkBlock (line 106) | interface EntryLinkBlock extends Block { type AssetLinkBlock (line 118) | interface AssetLinkBlock extends Block { type ResourceLinkBlock (line 130) | interface ResourceLinkBlock extends Block { type EntryLinkInline (line 144) | interface EntryLinkInline extends Inline { type ResourceLinkInline (line 156) | interface ResourceLinkInline extends Inline { type Hyperlink (line 168) | interface Hyperlink extends Inline { type AssetHyperlink (line 176) | interface AssetHyperlink extends Inline { type EntryHyperlink (line 184) | interface EntryHyperlink extends Inline { type ResourceHyperlink (line 192) | interface ResourceHyperlink extends Inline { type TableCell (line 200) | interface TableCell extends Block { type TableHeaderCell (line 213) | interface TableHeaderCell extends TableCell { type TableRow (line 219) | interface TableRow extends Block { type Table (line 229) | interface Table extends Block { FILE: packages/rich-text-types/src/schemaConstraints.ts type TopLevelBlockEnum (line 5) | type TopLevelBlockEnum = constant TOP_LEVEL_BLOCKS (line 26) | const TOP_LEVEL_BLOCKS: TopLevelBlockEnum[] = [ type ListItemBlockEnum (line 44) | type ListItemBlockEnum = constant LIST_ITEM_BLOCKS (line 63) | const LIST_ITEM_BLOCKS: TopLevelBlockEnum[] = [ constant TABLE_BLOCKS (line 80) | const TABLE_BLOCKS = [ constant VOID_BLOCKS (line 90) | const VOID_BLOCKS = [ constant CONTAINERS (line 102) | const CONTAINERS = { constant HEADINGS (line 116) | const HEADINGS = [ constant TEXT_CONTAINERS (line 128) | const TEXT_CONTAINERS = [BLOCKS.PARAGRAPH, ...HEADINGS]; constant V1_NODE_TYPES (line 133) | const V1_NODE_TYPES = [ constant V1_MARKS (line 159) | const V1_MARKS = [MARKS.BOLD, MARKS.CODE, MARKS.ITALIC, MARKS.UNDERLINE]; FILE: packages/rich-text-types/src/types.ts type NodeData (line 8) | type NodeData = Record; type Node (line 9) | interface Node { type Block (line 15) | interface Block extends Node { type Inline (line 20) | interface Inline extends Node { type TopLevelBlock (line 25) | interface TopLevelBlock extends Block { type Document (line 29) | interface Document extends Node { type Text (line 34) | interface Text extends Node { type Mark (line 40) | interface Mark { type ListItemBlock (line 44) | interface ListItemBlock extends Block { FILE: packages/rich-text-types/src/validator/assert.ts class ObjectAssertion (line 12) | class ObjectAssertion { method constructor (line 15) | constructor( method errors (line 24) | get errors(): ValidationError[] { FILE: packages/rich-text-types/src/validator/index.ts function validateNode (line 75) | function validateNode(node: Node | Text, path: Path): ValidationError[] { FILE: packages/rich-text-types/src/validator/node.ts type Node (line 15) | type Node = Document | Block | Inline; type GetContentRule (line 17) | type GetContentRule = type ValidateData (line 27) | type ValidateData = (data: T['data'], path: Path) => Val... constant VOID_CONTENT (line 29) | const VOID_CONTENT: GetContentRule = []; class NodeAssertion (line 31) | class NodeAssertion { method constructor (line 32) | constructor( method assert (line 37) | assert(node: T, path: Path): ValidationError[] { class EntityLinkAssertion (line 91) | class EntityLinkAssertion< method constructor (line 102) | constructor( class HyperLinkAssertion (line 138) | class HyperLinkAssertion extends NodeAssertion { method constructor (line 139) | constructor() { FILE: packages/rich-text-types/src/validator/path.ts class Path (line 1) | class Path { method constructor (line 2) | constructor(private readonly path: (string | number)[] = []) {} FILE: packages/rich-text-types/src/validator/text.ts function assertText (line 6) | function assertText(text: Text, path: Path): ValidationError[] { FILE: packages/rich-text-types/src/validator/types.ts type ValidationError (line 1) | type ValidationError = {