@esm-js/jira.js
Version:
A comprehensive JavaScript/TypeScript library designed for both Node.JS and browsers, facilitating seamless interaction with the Atlassian Jira API.
35 lines (33 loc) • 635 B
text/typescript
import type { Mark } from './mark';
export interface Document {
type:
| 'doc'
| 'paragraph'
| 'table'
| 'blockquote'
| 'bulletList'
| 'codeBlock'
| 'heading'
| 'mediaGroup'
| 'mediaSingle'
| 'orderedList'
| 'panel'
| 'rule'
| 'listItem'
| 'media'
| 'table_cell'
| 'table_header'
| 'table_row'
| 'emoji'
| 'hardBreak'
| 'inlineCard'
| 'mention'
| 'text'
| string;
content?: Omit<Document, 'version'>[];
version: number;
marks?: Mark[];
// eslint-disable-next-line @typescript-eslint/no-explicit-any
attrs?: any;
text?: string;
}