@atlaskit/adf-schema 57.7.7 → 57.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/next-schema/full-schema.adf.js +5 -3
- package/dist/cjs/next-schema/groups/blockContentGroup.js +2 -2
- package/dist/cjs/next-schema/groups/blockGroup.js +2 -2
- package/dist/cjs/next-schema/groups/blockRootOnlyGroup.js +2 -2
- package/dist/cjs/next-schema/groups/fontStyleGroup.js +2 -2
- package/dist/cjs/next-schema/groups/inlineContentGroup.js +2 -2
- package/dist/cjs/next-schema/groups/inlineGroup.js +2 -2
- package/dist/cjs/next-schema/groups/linkMarkGroup.js +2 -2
- package/dist/cjs/next-schema/groups/nonNestableBlockContentGroup.js +2 -2
- package/dist/cjs/next-schema/groups/searchQueryMarkGroup.js +2 -2
- package/dist/cjs/next-schema/groups/tableCellContentPseudoGroup.js +4 -3
- package/dist/cjs/next-schema/marks/alignmentAndIndentation.js +6 -5
- package/dist/cjs/next-schema/marks/annotation.js +6 -4
- package/dist/cjs/next-schema/marks/border.js +2 -2
- package/dist/cjs/next-schema/marks/breakout.js +2 -2
- package/dist/cjs/next-schema/marks/code.js +2 -2
- package/dist/cjs/next-schema/marks/color.js +5 -4
- package/dist/cjs/next-schema/marks/confluenceInlineComment.js +6 -4
- package/dist/cjs/next-schema/marks/dataConsumer.js +2 -2
- package/dist/cjs/next-schema/marks/em.js +2 -2
- package/dist/cjs/next-schema/marks/fontSize.js +2 -2
- package/dist/cjs/next-schema/marks/fragment.js +4 -3
- package/dist/cjs/next-schema/marks/link.js +4 -3
- package/dist/cjs/next-schema/marks/strike.js +2 -2
- package/dist/cjs/next-schema/marks/strong.js +2 -2
- package/dist/cjs/next-schema/marks/subsup.js +2 -2
- package/dist/cjs/next-schema/marks/typeAheadQuery.js +4 -3
- package/dist/cjs/next-schema/marks/underline.js +2 -2
- package/dist/cjs/next-schema/marks/unsupportedMark.js +6 -4
- package/dist/cjs/next-schema/marks/unsupportedNodeAttribute.js +4 -3
- package/dist/cjs/next-schema/nodes/blockCard.js +2 -2
- package/dist/cjs/next-schema/nodes/blockquote.js +6 -4
- package/dist/cjs/next-schema/nodes/bodiedExtension.js +5 -3
- package/dist/cjs/next-schema/nodes/bodiedRule.js +5 -3
- package/dist/cjs/next-schema/nodes/bodiedSyncBlock.js +5 -3
- package/dist/cjs/next-schema/nodes/caption.js +5 -3
- package/dist/cjs/next-schema/nodes/codeBlock.js +5 -3
- package/dist/cjs/next-schema/nodes/confluenceJiraIssue.js +4 -3
- package/dist/cjs/next-schema/nodes/confluenceUnsupportedBlock.js +4 -3
- package/dist/cjs/next-schema/nodes/confluenceUnsupportedInline.js +4 -3
- package/dist/cjs/next-schema/nodes/date.js +2 -2
- package/dist/cjs/next-schema/nodes/decisionItem.js +5 -3
- package/dist/cjs/next-schema/nodes/decisionList.js +5 -3
- package/dist/cjs/next-schema/nodes/embedCard.js +2 -2
- package/dist/cjs/next-schema/nodes/emoji.js +2 -2
- package/dist/cjs/next-schema/nodes/expand.js +5 -3
- package/dist/cjs/next-schema/nodes/extension.js +2 -2
- package/dist/cjs/next-schema/nodes/extensionFrame.js +5 -3
- package/dist/cjs/next-schema/nodes/hardBreak.js +2 -2
- package/dist/cjs/next-schema/nodes/heading.js +5 -3
- package/dist/cjs/next-schema/nodes/image.js +4 -3
- package/dist/cjs/next-schema/nodes/inlineCard.js +2 -2
- package/dist/cjs/next-schema/nodes/inlineExtension.js +2 -2
- package/dist/cjs/next-schema/nodes/layoutColumn.js +5 -3
- package/dist/cjs/next-schema/nodes/layoutSection.js +8 -5
- package/dist/cjs/next-schema/nodes/list.js +9 -7
- package/dist/cjs/next-schema/nodes/media.js +2 -2
- package/dist/cjs/next-schema/nodes/mediaGroup.js +5 -3
- package/dist/cjs/next-schema/nodes/mediaInline.js +2 -2
- package/dist/cjs/next-schema/nodes/mediaSingle.js +7 -5
- package/dist/cjs/next-schema/nodes/mention.js +2 -2
- package/dist/cjs/next-schema/nodes/multiBodiedExtension.js +5 -3
- package/dist/cjs/next-schema/nodes/nestedExpand.js +5 -3
- package/dist/cjs/next-schema/nodes/panel.js +7 -5
- package/dist/cjs/next-schema/nodes/paragraph.js +5 -3
- package/dist/cjs/next-schema/nodes/placeholder.js +2 -2
- package/dist/cjs/next-schema/nodes/rule.js +2 -2
- package/dist/cjs/next-schema/nodes/status.js +2 -2
- package/dist/cjs/next-schema/nodes/syncBlock.js +2 -2
- package/dist/cjs/next-schema/nodes/tableCellContent.js +2 -2
- package/dist/cjs/next-schema/nodes/tableNodes.js +12 -10
- package/dist/cjs/next-schema/nodes/tableStub.js +2 -2
- package/dist/cjs/next-schema/nodes/task.js +10 -7
- package/dist/cjs/next-schema/nodes/text.js +2 -2
- package/dist/cjs/next-schema/nodes/unsupportedBlock.js +4 -3
- package/dist/cjs/next-schema/nodes/unsupportedInline.js +4 -3
- package/dist/es2019/next-schema/full-schema.adf.js +3 -1
- package/dist/es2019/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/blockGroup.js +1 -1
- package/dist/es2019/next-schema/groups/blockRootOnlyGroup.js +1 -1
- package/dist/es2019/next-schema/groups/fontStyleGroup.js +1 -1
- package/dist/es2019/next-schema/groups/inlineContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/inlineGroup.js +1 -1
- package/dist/es2019/next-schema/groups/linkMarkGroup.js +1 -1
- package/dist/es2019/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/es2019/next-schema/groups/searchQueryMarkGroup.js +1 -1
- package/dist/es2019/next-schema/groups/tableCellContentPseudoGroup.js +2 -1
- package/dist/es2019/next-schema/marks/alignmentAndIndentation.js +2 -2
- package/dist/es2019/next-schema/marks/annotation.js +3 -1
- package/dist/es2019/next-schema/marks/border.js +1 -1
- package/dist/es2019/next-schema/marks/breakout.js +1 -1
- package/dist/es2019/next-schema/marks/code.js +1 -1
- package/dist/es2019/next-schema/marks/color.js +2 -1
- package/dist/es2019/next-schema/marks/confluenceInlineComment.js +3 -1
- package/dist/es2019/next-schema/marks/dataConsumer.js +1 -1
- package/dist/es2019/next-schema/marks/em.js +1 -1
- package/dist/es2019/next-schema/marks/fontSize.js +1 -2
- package/dist/es2019/next-schema/marks/fragment.js +2 -1
- package/dist/es2019/next-schema/marks/link.js +2 -1
- package/dist/es2019/next-schema/marks/strike.js +1 -1
- package/dist/es2019/next-schema/marks/strong.js +1 -1
- package/dist/es2019/next-schema/marks/subsup.js +1 -1
- package/dist/es2019/next-schema/marks/typeAheadQuery.js +2 -1
- package/dist/es2019/next-schema/marks/underline.js +1 -1
- package/dist/es2019/next-schema/marks/unsupportedMark.js +3 -1
- package/dist/es2019/next-schema/marks/unsupportedNodeAttribute.js +2 -1
- package/dist/es2019/next-schema/nodes/blockCard.js +1 -1
- package/dist/es2019/next-schema/nodes/blockquote.js +3 -1
- package/dist/es2019/next-schema/nodes/bodiedExtension.js +3 -1
- package/dist/es2019/next-schema/nodes/bodiedRule.js +3 -1
- package/dist/es2019/next-schema/nodes/bodiedSyncBlock.js +3 -1
- package/dist/es2019/next-schema/nodes/caption.js +3 -1
- package/dist/es2019/next-schema/nodes/codeBlock.js +3 -1
- package/dist/es2019/next-schema/nodes/confluenceJiraIssue.js +2 -1
- package/dist/es2019/next-schema/nodes/confluenceUnsupportedBlock.js +2 -1
- package/dist/es2019/next-schema/nodes/confluenceUnsupportedInline.js +2 -1
- package/dist/es2019/next-schema/nodes/date.js +1 -1
- package/dist/es2019/next-schema/nodes/decisionItem.js +3 -1
- package/dist/es2019/next-schema/nodes/decisionList.js +3 -1
- package/dist/es2019/next-schema/nodes/embedCard.js +1 -1
- package/dist/es2019/next-schema/nodes/emoji.js +1 -1
- package/dist/es2019/next-schema/nodes/expand.js +3 -1
- package/dist/es2019/next-schema/nodes/extension.js +1 -1
- package/dist/es2019/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/es2019/next-schema/nodes/hardBreak.js +1 -1
- package/dist/es2019/next-schema/nodes/heading.js +3 -1
- package/dist/es2019/next-schema/nodes/image.js +2 -1
- package/dist/es2019/next-schema/nodes/inlineCard.js +1 -1
- package/dist/es2019/next-schema/nodes/inlineExtension.js +1 -1
- package/dist/es2019/next-schema/nodes/layoutColumn.js +3 -1
- package/dist/es2019/next-schema/nodes/layoutSection.js +4 -1
- package/dist/es2019/next-schema/nodes/list.js +3 -1
- package/dist/es2019/next-schema/nodes/media.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaGroup.js +3 -1
- package/dist/es2019/next-schema/nodes/mediaInline.js +1 -1
- package/dist/es2019/next-schema/nodes/mediaSingle.js +3 -1
- package/dist/es2019/next-schema/nodes/mention.js +1 -1
- package/dist/es2019/next-schema/nodes/multiBodiedExtension.js +3 -1
- package/dist/es2019/next-schema/nodes/nestedExpand.js +3 -1
- package/dist/es2019/next-schema/nodes/panel.js +3 -1
- package/dist/es2019/next-schema/nodes/paragraph.js +3 -1
- package/dist/es2019/next-schema/nodes/placeholder.js +1 -1
- package/dist/es2019/next-schema/nodes/rule.js +1 -1
- package/dist/es2019/next-schema/nodes/status.js +1 -1
- package/dist/es2019/next-schema/nodes/syncBlock.js +1 -1
- package/dist/es2019/next-schema/nodes/tableCellContent.js +1 -1
- package/dist/es2019/next-schema/nodes/tableNodes.js +3 -1
- package/dist/es2019/next-schema/nodes/tableStub.js +1 -2
- package/dist/es2019/next-schema/nodes/task.js +4 -1
- package/dist/es2019/next-schema/nodes/text.js +1 -1
- package/dist/es2019/next-schema/nodes/unsupportedBlock.js +2 -1
- package/dist/es2019/next-schema/nodes/unsupportedInline.js +2 -1
- package/dist/esm/next-schema/full-schema.adf.js +3 -1
- package/dist/esm/next-schema/groups/blockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/blockGroup.js +1 -1
- package/dist/esm/next-schema/groups/blockRootOnlyGroup.js +1 -1
- package/dist/esm/next-schema/groups/fontStyleGroup.js +1 -1
- package/dist/esm/next-schema/groups/inlineContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/inlineGroup.js +1 -1
- package/dist/esm/next-schema/groups/linkMarkGroup.js +1 -1
- package/dist/esm/next-schema/groups/nonNestableBlockContentGroup.js +1 -1
- package/dist/esm/next-schema/groups/searchQueryMarkGroup.js +1 -1
- package/dist/esm/next-schema/groups/tableCellContentPseudoGroup.js +2 -1
- package/dist/esm/next-schema/marks/alignmentAndIndentation.js +2 -2
- package/dist/esm/next-schema/marks/annotation.js +3 -1
- package/dist/esm/next-schema/marks/border.js +1 -1
- package/dist/esm/next-schema/marks/breakout.js +1 -1
- package/dist/esm/next-schema/marks/code.js +1 -1
- package/dist/esm/next-schema/marks/color.js +2 -1
- package/dist/esm/next-schema/marks/confluenceInlineComment.js +3 -1
- package/dist/esm/next-schema/marks/dataConsumer.js +1 -1
- package/dist/esm/next-schema/marks/em.js +1 -1
- package/dist/esm/next-schema/marks/fontSize.js +1 -2
- package/dist/esm/next-schema/marks/fragment.js +2 -1
- package/dist/esm/next-schema/marks/link.js +2 -1
- package/dist/esm/next-schema/marks/strike.js +1 -1
- package/dist/esm/next-schema/marks/strong.js +1 -1
- package/dist/esm/next-schema/marks/subsup.js +1 -1
- package/dist/esm/next-schema/marks/typeAheadQuery.js +2 -1
- package/dist/esm/next-schema/marks/underline.js +1 -1
- package/dist/esm/next-schema/marks/unsupportedMark.js +3 -1
- package/dist/esm/next-schema/marks/unsupportedNodeAttribute.js +2 -1
- package/dist/esm/next-schema/nodes/blockCard.js +1 -1
- package/dist/esm/next-schema/nodes/blockquote.js +3 -1
- package/dist/esm/next-schema/nodes/bodiedExtension.js +3 -1
- package/dist/esm/next-schema/nodes/bodiedRule.js +3 -1
- package/dist/esm/next-schema/nodes/bodiedSyncBlock.js +3 -1
- package/dist/esm/next-schema/nodes/caption.js +3 -1
- package/dist/esm/next-schema/nodes/codeBlock.js +3 -1
- package/dist/esm/next-schema/nodes/confluenceJiraIssue.js +2 -1
- package/dist/esm/next-schema/nodes/confluenceUnsupportedBlock.js +2 -1
- package/dist/esm/next-schema/nodes/confluenceUnsupportedInline.js +2 -1
- package/dist/esm/next-schema/nodes/date.js +1 -1
- package/dist/esm/next-schema/nodes/decisionItem.js +3 -1
- package/dist/esm/next-schema/nodes/decisionList.js +3 -1
- package/dist/esm/next-schema/nodes/embedCard.js +1 -1
- package/dist/esm/next-schema/nodes/emoji.js +1 -1
- package/dist/esm/next-schema/nodes/expand.js +3 -1
- package/dist/esm/next-schema/nodes/extension.js +1 -1
- package/dist/esm/next-schema/nodes/extensionFrame.js +3 -1
- package/dist/esm/next-schema/nodes/hardBreak.js +1 -1
- package/dist/esm/next-schema/nodes/heading.js +3 -1
- package/dist/esm/next-schema/nodes/image.js +2 -1
- package/dist/esm/next-schema/nodes/inlineCard.js +1 -1
- package/dist/esm/next-schema/nodes/inlineExtension.js +1 -1
- package/dist/esm/next-schema/nodes/layoutColumn.js +3 -1
- package/dist/esm/next-schema/nodes/layoutSection.js +4 -1
- package/dist/esm/next-schema/nodes/list.js +3 -1
- package/dist/esm/next-schema/nodes/media.js +1 -1
- package/dist/esm/next-schema/nodes/mediaGroup.js +3 -1
- package/dist/esm/next-schema/nodes/mediaInline.js +1 -1
- package/dist/esm/next-schema/nodes/mediaSingle.js +3 -1
- package/dist/esm/next-schema/nodes/mention.js +1 -1
- package/dist/esm/next-schema/nodes/multiBodiedExtension.js +3 -1
- package/dist/esm/next-schema/nodes/nestedExpand.js +3 -1
- package/dist/esm/next-schema/nodes/panel.js +3 -1
- package/dist/esm/next-schema/nodes/paragraph.js +3 -1
- package/dist/esm/next-schema/nodes/placeholder.js +1 -1
- package/dist/esm/next-schema/nodes/rule.js +1 -1
- package/dist/esm/next-schema/nodes/status.js +1 -1
- package/dist/esm/next-schema/nodes/syncBlock.js +1 -1
- package/dist/esm/next-schema/nodes/tableCellContent.js +1 -1
- package/dist/esm/next-schema/nodes/tableNodes.js +3 -1
- package/dist/esm/next-schema/nodes/tableStub.js +1 -2
- package/dist/esm/next-schema/nodes/task.js +4 -1
- package/dist/esm/next-schema/nodes/text.js +1 -1
- package/dist/esm/next-schema/nodes/unsupportedBlock.js +2 -1
- package/dist/esm/next-schema/nodes/unsupportedInline.js +2 -1
- package/dist/types/next-schema/full-schema.adf.d.ts +2 -1
- package/dist/types/next-schema/groups/blockContentGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/blockGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/blockRootOnlyGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/fontStyleGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/inlineContentGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/inlineGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/linkMarkGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/nonNestableBlockContentGroup.d.ts +2 -1
- package/dist/types/next-schema/groups/searchQueryMarkGroup.d.ts +1 -1
- package/dist/types/next-schema/groups/tableCellContentPseudoGroup.d.ts +2 -1
- package/dist/types/next-schema/marks/alignmentAndIndentation.d.ts +2 -1
- package/dist/types/next-schema/marks/annotation.d.ts +3 -1
- package/dist/types/next-schema/marks/border.d.ts +2 -1
- package/dist/types/next-schema/marks/breakout.d.ts +2 -1
- package/dist/types/next-schema/marks/code.d.ts +2 -1
- package/dist/types/next-schema/marks/color.d.ts +3 -1
- package/dist/types/next-schema/marks/confluenceInlineComment.d.ts +2 -1
- package/dist/types/next-schema/marks/dataConsumer.d.ts +2 -1
- package/dist/types/next-schema/marks/em.d.ts +2 -1
- package/dist/types/next-schema/marks/fontSize.d.ts +2 -1
- package/dist/types/next-schema/marks/fragment.d.ts +2 -1
- package/dist/types/next-schema/marks/link.d.ts +2 -1
- package/dist/types/next-schema/marks/strike.d.ts +2 -1
- package/dist/types/next-schema/marks/strong.d.ts +2 -1
- package/dist/types/next-schema/marks/subsup.d.ts +2 -1
- package/dist/types/next-schema/marks/typeAheadQuery.d.ts +2 -1
- package/dist/types/next-schema/marks/underline.d.ts +2 -1
- package/dist/types/next-schema/marks/unsupportedMark.d.ts +2 -1
- package/dist/types/next-schema/marks/unsupportedNodeAttribute.d.ts +2 -1
- package/dist/types/next-schema/nodes/blockCard.d.ts +2 -1
- package/dist/types/next-schema/nodes/blockquote.d.ts +2 -1
- package/dist/types/next-schema/nodes/bodiedExtension.d.ts +2 -1
- package/dist/types/next-schema/nodes/bodiedRule.d.ts +2 -1
- package/dist/types/next-schema/nodes/bodiedSyncBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/caption.d.ts +2 -1
- package/dist/types/next-schema/nodes/codeBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/confluenceJiraIssue.d.ts +2 -1
- package/dist/types/next-schema/nodes/confluenceUnsupportedBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/confluenceUnsupportedInline.d.ts +2 -1
- package/dist/types/next-schema/nodes/date.d.ts +2 -1
- package/dist/types/next-schema/nodes/decisionItem.d.ts +2 -1
- package/dist/types/next-schema/nodes/decisionList.d.ts +2 -1
- package/dist/types/next-schema/nodes/embedCard.d.ts +2 -1
- package/dist/types/next-schema/nodes/emoji.d.ts +2 -1
- package/dist/types/next-schema/nodes/expand.d.ts +2 -1
- package/dist/types/next-schema/nodes/extension.d.ts +2 -1
- package/dist/types/next-schema/nodes/extensionFrame.d.ts +2 -1
- package/dist/types/next-schema/nodes/hardBreak.d.ts +2 -1
- package/dist/types/next-schema/nodes/heading.d.ts +2 -1
- package/dist/types/next-schema/nodes/image.d.ts +2 -1
- package/dist/types/next-schema/nodes/inlineCard.d.ts +2 -1
- package/dist/types/next-schema/nodes/inlineExtension.d.ts +2 -1
- package/dist/types/next-schema/nodes/layoutColumn.d.ts +2 -1
- package/dist/types/next-schema/nodes/layoutSection.d.ts +2 -1
- package/dist/types/next-schema/nodes/list.d.ts +2 -1
- package/dist/types/next-schema/nodes/media.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaGroup.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaInline.d.ts +2 -1
- package/dist/types/next-schema/nodes/mediaSingle.d.ts +2 -1
- package/dist/types/next-schema/nodes/mention.d.ts +2 -1
- package/dist/types/next-schema/nodes/multiBodiedExtension.d.ts +2 -1
- package/dist/types/next-schema/nodes/nestedExpand.d.ts +2 -1
- package/dist/types/next-schema/nodes/panel.d.ts +2 -1
- package/dist/types/next-schema/nodes/paragraph.d.ts +2 -1
- package/dist/types/next-schema/nodes/placeholder.d.ts +2 -1
- package/dist/types/next-schema/nodes/rule.d.ts +2 -1
- package/dist/types/next-schema/nodes/status.d.ts +2 -1
- package/dist/types/next-schema/nodes/syncBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/tableCellContent.d.ts +2 -1
- package/dist/types/next-schema/nodes/tableStub.d.ts +2 -1
- package/dist/types/next-schema/nodes/task.d.ts +2 -1
- package/dist/types/next-schema/nodes/text.d.ts +2 -1
- package/dist/types/next-schema/nodes/unsupportedBlock.d.ts +2 -1
- package/dist/types/next-schema/nodes/unsupportedInline.d.ts +2 -1
- package/package.json +2 -2
- package/schema-generators/__tests__/unit/adfToValidatorSpec.unit.ts +1 -1
- package/schema-generators/__tests__/unit/json-full-schema-backwards-compat.unit.ts +1 -1
- package/schema-generators/json-full-schema.ts +1 -1
- package/schema-generators/pm-full-schema.ts +1 -1
- package/schema-generators/validator-full-schema.ts +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { ValidatorSpecTransformerName, JSONSchemaTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
2
3
|
export const typeAheadQuery = adfMark('typeAheadQuery').define({
|
|
3
4
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
5
|
inclusive: true,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { adfMark
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
3
|
+
import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
|
|
2
4
|
export const unsupportedMark = adfMark('unsupportedMark').define({
|
|
3
5
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
6
|
excludes: MarkExcludesNone,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfMark
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
2
3
|
export const unsupportedNodeAttribute = adfMark('unsupportedNodeAttribute').define({
|
|
3
4
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
5
|
attrs: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
3
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
4
|
export const blockCard = adfNode('blockCard').define({
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
5
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
6
|
import { codeBlock } from './codeBlock';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { nonNestableBlockContentGroup } from '../groups/nonNestableBlockContentGroup';
|
|
3
5
|
import { breakout } from '../marks/breakout';
|
|
4
6
|
import { dataConsumer } from '../marks/dataConsumer';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $or
|
|
1
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
|
+
import { $range } from '@atlaskit/adf-schema-generator/$range';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { breakout } from '../marks/breakout';
|
|
3
5
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
6
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { breakout } from '../marks/breakout';
|
|
3
5
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
6
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $or
|
|
1
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
|
+
import { $zeroPlus } from '@atlaskit/adf-schema-generator/$zeroPlus';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
5
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
6
|
import { date } from './date';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $or
|
|
1
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
|
+
import { $zeroPlus } from '@atlaskit/adf-schema-generator/$zeroPlus';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { breakout } from '../marks/breakout';
|
|
3
5
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
6
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfNode
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
|
+
import { JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
2
3
|
export const confluenceJiraIssue = adfNode('confluenceJiraIssue').define({
|
|
3
4
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
5
|
atom: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfNode
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
|
+
import { ValidatorSpecTransformerName, JSONSchemaTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
2
3
|
export const confluenceUnsupportedBlock = adfNode('confluenceUnsupportedBlock').define({
|
|
3
4
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
5
|
attrs: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfNode
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
|
+
import { ValidatorSpecTransformerName, JSONSchemaTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
2
3
|
export const confluenceUnsupportedInline = adfNode('confluenceUnsupportedInline').define({
|
|
3
4
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
5
|
atom: true,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
4
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $or
|
|
1
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
|
+
import { $zeroPlus } from '@atlaskit/adf-schema-generator/$zeroPlus';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { inlineContentGroup } from '../groups/inlineContentGroup';
|
|
3
5
|
import { inlineGroup } from '../groups/inlineGroup';
|
|
4
6
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
5
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
6
|
import { decisionItem } from './decisionItem';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
3
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
4
|
export const embedCard = adfNode('embedCard').define({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
4
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { nonNestableBlockContentGroup } from '../groups/nonNestableBlockContentGroup';
|
|
3
5
|
import { breakout } from '../marks/breakout';
|
|
4
6
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { breakout } from '../marks/breakout';
|
|
4
4
|
import { dataConsumer } from '../marks/dataConsumer';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { dataConsumer } from '../marks/dataConsumer';
|
|
3
5
|
import { fragment } from '../marks/fragment';
|
|
4
6
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
3
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
4
|
export const hardBreak = adfNode('hardBreak').define({
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $or
|
|
1
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
|
+
import { $zeroPlus } from '@atlaskit/adf-schema-generator/$zeroPlus';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { inlineContentGroup } from '../groups/inlineContentGroup';
|
|
3
5
|
import { inlineGroup } from '../groups/inlineGroup';
|
|
4
6
|
import { alignment, indentation } from '../marks/alignmentAndIndentation';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfNode
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
|
+
import { JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
2
3
|
export const image = adfNode('image').define({
|
|
3
4
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
5
|
inline: true,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
4
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { dataConsumer } from '../marks/dataConsumer';
|
|
3
3
|
import { fragment } from '../marks/fragment';
|
|
4
4
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { blockContentGroup } from '../groups/blockContentGroup';
|
|
3
5
|
import { blockGroup } from '../groups/blockGroup';
|
|
4
6
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { $or
|
|
1
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
|
+
import { $range } from '@atlaskit/adf-schema-generator/$range';
|
|
3
|
+
import { $zeroPlus } from '@atlaskit/adf-schema-generator/$zeroPlus';
|
|
4
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
5
|
import { breakout } from '../marks/breakout';
|
|
3
6
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
7
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
5
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
6
|
import { codeBlock } from './codeBlock';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { border } from '../marks/border';
|
|
4
4
|
import { dataConsumer } from '../marks/dataConsumer';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
5
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
6
|
import { media } from './media';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { border } from '../marks/border';
|
|
4
4
|
import { dataConsumer } from '../marks/dataConsumer';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $or
|
|
1
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
|
+
import { $range } from '@atlaskit/adf-schema-generator/$range';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { link } from '../marks/link';
|
|
3
5
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
6
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
4
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { breakout } from '../marks/breakout';
|
|
3
5
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
6
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
5
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
6
|
import { blockquote } from './blockquote';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { breakout } from '../marks/breakout';
|
|
3
5
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
6
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $or
|
|
1
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
|
+
import { $zeroPlus } from '@atlaskit/adf-schema-generator/$zeroPlus';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { inlineContentGroup } from '../groups/inlineContentGroup';
|
|
3
5
|
import { inlineGroup } from '../groups/inlineGroup';
|
|
4
6
|
import { alignment, indentation } from '../marks/alignmentAndIndentation';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
3
3
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
4
4
|
export const placeholder = adfNode('placeholder').define({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { breakout } from '../marks/breakout';
|
|
3
3
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
4
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
4
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { breakout } from '../marks/breakout';
|
|
3
3
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
4
4
|
import { unsupportedNodeAttribute } from '../marks/unsupportedNodeAttribute';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { tableCellContentPseudoGroup } from '../groups/tableCellContentPseudoGroup';
|
|
3
3
|
|
|
4
4
|
// @DSLCompatibilityException This is only used by JSON schema to group the table cell content into a definition.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { tableCellContentPseudoGroup, tableCellContentNodes, tableHeaderContentPseudoGroup } from '../groups/tableCellContentPseudoGroup';
|
|
3
5
|
import { fragment } from '../marks/fragment';
|
|
4
6
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
2
|
-
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
3
2
|
// A bare `table` node stub, declared in an import-cycle-free leaf module so that other node
|
|
4
3
|
// modules (e.g. `panel`) can reference `table` in their content WITHOUT importing the heavy
|
|
5
4
|
// `tableNodes.ts` definition module. Importing `tableNodes.ts` from `panel.ts` would form a
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { $zeroPlus } from '@atlaskit/adf-schema-generator/$zeroPlus';
|
|
4
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
5
|
import { inlineContentGroup } from '../groups/inlineContentGroup';
|
|
3
6
|
import { inlineGroup } from '../groups/inlineGroup';
|
|
4
7
|
import { unsupportedMark } from '../marks/unsupportedMark';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNode } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
2
|
import { annotation } from '../marks/annotation';
|
|
3
3
|
import { code } from '../marks/code';
|
|
4
4
|
import { backgroundColor, textColor } from '../marks/color';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfNode
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
|
+
import { JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
2
3
|
export const unsupportedBlock = adfNode('unsupportedBlock').define({
|
|
3
4
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
5
|
atom: true,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfNode
|
|
1
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
|
+
import { JSONSchemaTransformerName, ValidatorSpecTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
2
3
|
export const unsupportedInline = adfNode('unsupportedInline').define({
|
|
3
4
|
ignore: [JSONSchemaTransformerName, ValidatorSpecTransformerName],
|
|
4
5
|
inline: true,
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { $
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
3
|
+
import { adfNode } from '@atlaskit/adf-schema-generator/adfNode';
|
|
2
4
|
import { blockContentGroup } from './groups/blockContentGroup';
|
|
3
5
|
import { blockGroup } from './groups/blockGroup';
|
|
4
6
|
import { blockRootOnlyGroup } from './groups/blockRootOnlyGroup';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { blockCard } from '../nodes/blockCard';
|
|
3
3
|
import { blockquote } from '../nodes/blockquote';
|
|
4
4
|
import { bodiedExtension } from '../nodes/bodiedExtension';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { blockCard } from '../nodes/blockCard';
|
|
3
3
|
import { blockquote } from '../nodes/blockquote';
|
|
4
4
|
import { bodiedExtension } from '../nodes/bodiedExtension';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { multiBodiedExtension } from '../nodes/multiBodiedExtension';
|
|
3
3
|
export var blockRootOnlyGroup = adfNodeGroup('blockRootOnly', [multiBodiedExtension], {
|
|
4
4
|
// @DSLCompatibilityException - Generated JSON Schema does not have this.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { confluenceJiraIssue } from '../nodes/confluenceJiraIssue';
|
|
3
3
|
import { confluenceUnsupportedInline } from '../nodes/confluenceUnsupportedInline';
|
|
4
4
|
import { date } from '../nodes/date';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { confluenceJiraIssue } from '../nodes/confluenceJiraIssue';
|
|
3
3
|
import { confluenceUnsupportedInline } from '../nodes/confluenceUnsupportedInline';
|
|
4
4
|
import { date } from '../nodes/date';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfNodeGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfNodeGroup } from '@atlaskit/adf-schema-generator/adfNodeGroup';
|
|
2
2
|
import { blockCard } from '../nodes/blockCard';
|
|
3
3
|
import { blockquote } from '../nodes/blockquote';
|
|
4
4
|
import { bodiedRule } from '../nodes/bodiedRule';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { adfMarkGroup } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
2
2
|
import { typeAheadQuery } from '../marks/typeAheadQuery';
|
|
3
3
|
export var searchQueryMarkGroup = adfMarkGroup('searchQuery', [typeAheadQuery]);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { $onePlus
|
|
1
|
+
import { $onePlus } from '@atlaskit/adf-schema-generator/$onePlus';
|
|
2
|
+
import { $or } from '@atlaskit/adf-schema-generator/$or';
|
|
2
3
|
import { blockCard } from '../nodes/blockCard';
|
|
3
4
|
import { blockquote } from '../nodes/blockquote';
|
|
4
5
|
import { bodiedRule } from '../nodes/bodiedRule';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { adfMark
|
|
2
|
-
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
3
3
|
// These marks defined together because they form a cycle within the excludes.
|
|
4
4
|
export var alignment = adfMark('alignment');
|
|
5
5
|
export var indentation = adfMark('indentation');
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
3
|
+
import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
|
|
2
4
|
export var annotation = adfMark('annotation');
|
|
3
5
|
export var annotationGroup = adfMarkGroup('annotation', [annotation]);
|
|
4
6
|
annotation.define({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { adfMark } from '@atlaskit/adf-schema-generator';
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
2
|
import { fontStyleGroup } from '../groups/fontStyleGroup';
|
|
3
3
|
import { linkMarkGroup } from '../groups/linkMarkGroup';
|
|
4
4
|
import { searchQueryMarkGroup } from '../groups/searchQueryMarkGroup';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { adfMark
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { adfMarkGroup } from '@atlaskit/adf-schema-generator/adfMarkGroup';
|
|
2
3
|
export var backgroundColor = adfMark('backgroundColor');
|
|
3
4
|
export var textColor = adfMark('textColor');
|
|
4
5
|
export var colorGroup = adfMarkGroup('color', [textColor, backgroundColor]);
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { adfMark } from '@atlaskit/adf-schema-generator/adfMark';
|
|
2
|
+
import { JSONSchemaTransformerName } from '@atlaskit/adf-schema-generator/transformerNames';
|
|
3
|
+
import { MarkExcludesNone } from '@atlaskit/adf-schema-generator/types/ADFMarkSpec';
|
|
2
4
|
export var confluenceInlineComment = adfMark('confluenceInlineComment').define({
|
|
3
5
|
ignore: [JSONSchemaTransformerName],
|
|
4
6
|
inclusive: false,
|