@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
27 lines (26 loc) • 716 B
TypeScript
import type { ADFNode, ADFCommonNodeSpec, ADFNodeContentZeroOrMoreSpec, ADFNodeContentRangeSpec } from '@atlaskit/adf-schema-generator';
export declare const layoutSection: ADFNode<[
string,
'with_single_column',
'full'
], ADFCommonNodeSpec & {
attrs: {
columnRuleStyle: {
default: null;
optional: true;
type: 'enum';
values: string[];
};
localId: {
default: null;
optional: true;
type: 'string';
};
};
content: (ADFNodeContentZeroOrMoreSpec | ADFNodeContentRangeSpec)[];
marks: any[];
stage0: true;
} & {
content: ADFNodeContentRangeSpec[];
marks: any[];
}>;