@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
32 lines • 719 B
JavaScript
import { adfNode, JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator';
export const confluenceJiraIssue = adfNode('confluenceJiraIssue').define({
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
atom: true,
inline: true,
attrs: {
issueKey: {
type: 'string',
default: ''
},
macroId: {
type: 'string',
default: null,
optional: true
},
schemaVersion: {
type: 'string',
default: null,
optional: true
},
server: {
type: 'string',
default: null,
optional: true
},
serverId: {
type: 'string',
default: null,
optional: true
}
}
});