UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

21 lines (20 loc) 489 B
import type { AnnotationMarkDefinition } from '../marks/annotation'; /** * @name date_node */ export interface DateDefinition { attrs: { localId?: string; /** * @minLength 1 */ timestamp: string; }; /** * @stage 0 */ marks?: Array<AnnotationMarkDefinition>; type: 'date'; } export declare const date: import("prosemirror-model").NodeSpec; export declare const dateWithLocalId: import("prosemirror-model").NodeSpec;