@atlaskit/adf-schema 28.1.8 → 28.1.10
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 +16 -0
- package/dist/cjs/schema/create-schema.js +2 -2
- package/dist/cjs/schema/marks/annotation.js +2 -2
- package/dist/cjs/schema/marks/data-consumer.js +2 -2
- package/dist/cjs/schema/marks/fragment.js +2 -2
- package/dist/cjs/schema/marks/link.js +2 -2
- package/dist/cjs/schema/nodes/block-card.js +2 -2
- package/dist/cjs/schema/nodes/expand.js +2 -2
- package/dist/cjs/schema/nodes/media-single.js +2 -2
- package/dist/cjs/schema/nodes/mention.js +2 -2
- package/dist/cjs/schema/nodes/ordered-list.js +2 -2
- package/dist/cjs/schema/nodes/panel.js +2 -2
- package/dist/cjs/schema/nodes/tableNodes.js +2 -2
- package/dist/cjs/steps/analytics.js +2 -2
- package/dist/cjs/steps/set-attrs.js +2 -2
- package/dist/cjs/steps/table/add-column.js +2 -2
- package/dist/cjs/steps/table/utils/cell-step.js +2 -2
- package/dist/cjs/steps/table/utils/side-effects/rows.js +2 -2
- package/dist/esm/schema/create-schema.js +2 -2
- package/dist/esm/schema/marks/annotation.js +2 -2
- package/dist/esm/schema/marks/data-consumer.js +2 -2
- package/dist/esm/schema/marks/fragment.js +2 -2
- package/dist/esm/schema/marks/link.js +2 -2
- package/dist/esm/schema/nodes/block-card.js +2 -2
- package/dist/esm/schema/nodes/expand.js +2 -2
- package/dist/esm/schema/nodes/media-single.js +2 -2
- package/dist/esm/schema/nodes/mention.js +2 -2
- package/dist/esm/schema/nodes/ordered-list.js +2 -2
- package/dist/esm/schema/nodes/panel.js +2 -2
- package/dist/esm/schema/nodes/tableNodes.js +2 -2
- package/dist/esm/steps/analytics.js +2 -2
- package/dist/esm/steps/set-attrs.js +2 -2
- package/dist/esm/steps/table/add-column.js +2 -2
- package/dist/esm/steps/table/utils/cell-step.js +2 -2
- package/dist/esm/steps/table/utils/side-effects/rows.js +2 -2
- package/dist/types/schema/default-schema.d.ts +2 -2
- package/dist/types/schema/jira-schema.d.ts +1 -1
- package/dist/types/schema/marks/data-consumer.d.ts +2 -2
- package/dist/types/schema/marks/fragment.d.ts +1 -1
- package/dist/types/schema/marks/link.d.ts +2 -2
- package/dist/types/schema/nodes/bodied-extension.d.ts +1 -0
- package/dist/types/schema/nodes/code-block.d.ts +1 -1
- package/dist/types/schema/nodes/expand.d.ts +2 -2
- package/dist/types/schema/nodes/extension.d.ts +1 -0
- package/dist/types/schema/nodes/inline-extension.d.ts +1 -0
- package/dist/types/schema/nodes/media-single.d.ts +1 -1
- package/dist/types/schema/nodes/media.d.ts +2 -2
- package/dist/types/schema/nodes/mention.d.ts +2 -2
- package/dist/types/schema/nodes/panel.d.ts +1 -0
- package/dist/types/schema/nodes/tableNodes.d.ts +2 -2
- package/dist/types/schema/nodes/unknown-block.d.ts +1 -0
- package/dist/types/steps/analytics.d.ts +4 -4
- package/dist/types/steps/link-meta-step.d.ts +4 -4
- package/dist/types/steps/set-attrs.d.ts +2 -2
- package/dist/types/steps/table/sort-column.d.ts +4 -4
- package/dist/types/steps/type-ahead.d.ts +4 -4
- package/package.json +4 -3
- package/src/__tests__/unit/json-schema/v1.ts +11 -9
- package/src/__tests__/unit/schema/nodes/confluence-unsupported-block.ts +1 -5
- package/src/__tests__/unit/schema/nodes/confluence-unsupported-inline.ts +1 -1
- package/src/__tests__/unit/schema/nodes/date.ts +1 -1
- package/src/__tests__/unit/schema/nodes/expand.ts +1 -1
- package/src/__tests__/unit/schema/nodes/inline-extension.ts +1 -1
- package/src/__tests__/unit/schema/nodes/list-item.ts +1 -1
- package/src/__tests__/unit/schema/nodes/media-group.ts +1 -1
- package/src/__tests__/unit/schema/nodes/media-single.ts +1 -1
- package/src/__tests__/unit/schema/nodes/media.ts +1 -5
- package/src/__tests__/unit/schema/nodes/nestedExpand.ts +1 -1
- package/src/__tests__/unit/schema/nodes/ordered-list.ts +1 -1
- package/src/__tests__/unit/schema/nodes/placeholder.ts +1 -1
- package/src/__tests__/unit/schema/nodes/status.ts +1 -1
- package/src/__tests__/unit/schema/nodes/unknown-block.ts +1 -1
- package/src/__tests__/unit/schema/nodes/unsupported-block.ts +1 -1
- package/src/__tests__/unit/schema/nodes/unsupported-inline.ts +1 -1
- package/src/schema/nodes/media-single.ts +2 -2
- package/src/schema/nodes/media.ts +5 -1
- package/src/schema/nodes/tableNodes.ts +3 -5
- package/src/steps/table/__tests__/_utils.ts +6 -7
- package/src/steps/table/__tests__/add-column-merge-columns.ts +27 -9
- package/src/steps/table/__tests__/add-column-merge-rows.ts +24 -8
- package/src/steps/table/__tests__/add-column.ts +46 -18
- package/src/steps/table/add-column.ts +4 -1
- package/src/steps/table/utils/cells-at-column.ts +4 -1
- package/src/utils/colors.ts +1 -1
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/blockQuote-with-attrs.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/blockQuote-with-empty-content.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/blockQuote-with-marks.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/blockQuote-without-content.json +0 -9
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/blockquote-with-list-inside.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bodied-extension-with-nested-bodiedExtension.json +0 -28
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bodied-extension-without-content.json +0 -13
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bodied-extension-without-extensionKey.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bodied-extension-without-extensionType.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bulletList-with-attrs.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bulletList-with-empty-content.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bulletList-with-marks.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bulletList-with-not-listItem-content.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/bulletList-without-content.json +0 -9
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/code-and-em.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/code-and-strike.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/code-and-strong.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/code-and-subsup.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/code-and-underline.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/code-with-attrs.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/codeBlock-with-non-text.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/codeBlock-with-strong.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/codeBlock-with-unknown-attribute.json +0 -13
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/codeBlock-with-unsupported-marks.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/decision-with-blockquote.json +0 -31
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/decisionList-with-empty-decision.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/decisionList-with-no-decision.json +0 -13
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/doc-with-attrs.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/doc-with-marks.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/doc-without-content.json +0 -4
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/doc-without-version.json +0 -4
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/em-with-attrs.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/emoji-as-top-level-node.json +0 -12
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/emoji-with-content.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/emoji-with-empty-attrs.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/emoji-with-marks.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/emoji-with-unknown-attr.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/emoji-without-attrs.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/expand-nested-with-marks.json +0 -60
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/expand-with-breakout-inside-of-layout.json +0 -50
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/extension-with-content.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/extension-with-empty-local-id.json +0 -16
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/extension-without-extensionKey.json +0 -12
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/extension-without-extensionType.json +0 -12
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/hardBreak-with-marks.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/hardBreak-with-wrong-text.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/heading-with-invalid-level-attr.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/heading-with-non-text-block.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/heading-with-non-text-inline.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/heading-with-unknown-attrs.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/heading-with-unsupported-mark.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/heading-without-attrs.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/inlineExtension-with-content.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/inlineExtension-without-extensionKey.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/inlineExtension-without-extensionType.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/layoutSection-with-missing-layoutColumn.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/layoutSection-with-one-column.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/layoutSection-with-overflow-width.json +0 -37
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/layoutSection-with-two-columns-and-breakout-code-block.json +0 -38
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/link-with-empty-attrs.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/link-with-unknown-attr.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/link-without-attrs.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/list-with-blockquote.json +0 -27
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/listItem-with-attrs.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/listItem-with-empty-content.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/listItem-with-list-as-first-child.json +0 -30
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/listItem-with-marks.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-as-top-level-node.json +0 -13
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-with-empty-attrs.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-with-invalid-alt-text.json +0 -29
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-with-invalid-occurrence-key-attr.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-with-marks.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-with-unknown-attr.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-without-attrs.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-without-id-attr.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/media-without-type-attr.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaGroup-with-attrs.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaGroup-with-empty-content.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaGroup-with-marks.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaGroup-without-content.json +0 -9
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaInline-with-subsup-mark.json +0 -30
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaSingle-with-empty-attrs.json +0 -11
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaSingle-with-empty-content.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaSingle-with-invalid-caption.json +0 -46
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaSingle-with-invalid-layout-attr.json +0 -38
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaSingle-with-negative-width.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaSingle-with-overflow-width.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mediaSingle-with-zero-width.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mention-with-extra-attrs.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mention-with-invalid-user-type.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mention-with-marks.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mention-without-attrs.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/mono-with-attrs.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/orderedList-with-extra-attrs.json +0 -34
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/orderedList-with-marks.json +0 -34
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/orderedList-without-content.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/panel-with-blockquote.json +0 -25
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/panel-with-codeBlock.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/panel-with-empty-attrs.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/panel-with-marks.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/panel-with-panel.json +0 -25
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/panel-with-unknown-attr.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/panel-without-attrs.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/paragraph-with-text-with-unknown-mark.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/paragraph-with-top-level-content.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/paragraph-with-unsupported-marks.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/placeholder-with-content.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/placeholder-with-empty-attrs.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/rule-with-attrs.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/rule-with-content.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/rule-with-marks.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/status-with-extra-attr.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/status-without-attrs.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/status-without-color-attr.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/status-without-text-attr.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/strike-with-attrs.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/strong-with-attrs.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/subsup-with-extra-attrs.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/subsup-with-invalid-type-attr.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/subsup-without-attrs.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/subsup-without-type-attr.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/table-with-breakout-code-block.json +0 -33
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/table-with-fragment-mark-with-empty-local-id.json +0 -41
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/table-with-fragment-mark-without-local-id.json +0 -40
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/table-with-nested-table.json +0 -50
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/table-without-cells.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/table-without-rows.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/task-with-blockquote.json +0 -31
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/task-with-invalid-state.json +0 -27
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/taskItem-with-nested-taskItem.json +0 -70
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/taskList-with-empty-task.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/taskList-with-no-task.json +0 -13
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/taskList-with-taskList-as-first-child.json +0 -48
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/text-empty.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/textColor-with-extra-attrs.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/textColor-with-invalid-color-attr.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/textColor-without-attrs.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/textColor-without-color-attr.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/invalid/underline-with-attrs.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/annotation.json +0 -28
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/blockQuote-with-content.json +0 -16
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/bodied-Extension-with-rich-body.json +0 -27
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/bodied-extension-with-empty-content.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/bodied-extension-with-media-link.json +0 -41
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/bodied-extension-with-nested-extension.json +0 -33
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/bodied-extension-with-parameters.json +0 -30
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/bodiedExtension-with-data-consumer-mark.json +0 -47
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/bulletList-with-content.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/codeBlock-empty-attrs.json +0 -11
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/codeBlock-empty-content.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/codeBlock-with-breakout-mark.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/codeBlock-with-empty-marks.json +0 -13
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/codeBlock-with-language.json +0 -482
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/codeBlock-with-multiple-text.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/codeBlock-with-text.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/codeBlock-with-unknown-language.json +0 -13
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/decision-with-mention.json +0 -34
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/decisionList-with-decision.json +0 -27
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/doc-with-all-content.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/doc-with-content.json +0 -9
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/doc-with-empty-content.json +0 -5
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/embed-card.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/emoji-with-fallback.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/emoji-with-variation.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/emoji.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/expand-with-embed-card.json +0 -34
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/expand-with-marks.json +0 -26
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/expand-with-nestedExpand.json +0 -136
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/expand.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/extension-with-data-consumer-mark.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/extension-with-empty-marks.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/extension-with-local-id.json +0 -16
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/extension-with-named-fragment-mark.json +0 -25
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/extension-with-parameters.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/hardBreak-empty-attrs.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/hardBreak-with-text.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/hardBreak.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-code-text.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-content.json +0 -78
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-em-text.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-empty-content.json +0 -78
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-empty-marks.json +0 -14
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-link-text.json +0 -26
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-strike-text.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-strong-text.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-subsup-text.json +0 -26
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-supported-mark.json +0 -26
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/heading-with-underline-text.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/inlineExtension-with-data-consumer-mark.json +0 -48
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/inlineExtension-with-fragment-mark.json +0 -27
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/inlineExtension-with-parameters.json +0 -29
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/inlineExtension-without-parameters.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/layout-with-embed.json +0 -51
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/layoutSection-with-three-columns.json +0 -50
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/layoutSection-with-two-columns-and-breakout.json +0 -40
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/layoutSection-with-two-columns.json +0 -37
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/link-with-href-title.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/link-with-href.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/list-item-with-bullet-list-and-media-single.json +0 -47
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/list-item-with-media-single-and-bullet-list.json +0 -57
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/list-item-with-ordered-list.json +0 -37
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/list-item-with-paragraph.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/list-with-codeBlock.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/listItem-with-content.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-external-with-alt-text-value.json +0 -26
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-single-with-a-link-mark-in-a-layout-column.json +0 -57
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-single-with-a-link-mark-in-a-list-item.json +0 -88
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-single-with-a-link-mark-in-a-nested-expand.json +0 -64
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-single-with-a-link-mark-in-a-table.json +0 -56
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-single-with-a-link-mark-in-an-expand.json +0 -44
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-with-alt-text-value.json +0 -29
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-with-alt-text.json +0 -29
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-with-link-mark.json +0 -36
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-with-occurrence-key.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media-with-type-link.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/media.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaGroup-with-multiple-media.json +0 -27
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaInline-with-file-type-attr.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaInline-with-link-mark.json +0 -30
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaInline-with-link-type-attr.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaInline.json +0 -22
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaSingle-with-caption-inside-list-item.json +0 -38
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaSingle-with-caption.json +0 -28
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaSingle-with-link-mark.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaSingle-with-parameters.json +0 -86
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaSingle-with-width.json +0 -74
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mediaSingle-without-parameters.json +0 -19
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mention-with-attrs.json +0 -18
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/mention-with-user-type.json +0 -35
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/nested-extensions-with-data-consumer-mark.json +0 -226
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/nested-extensions-without-mark.json +0 -176
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/nestedExpand.json +0 -128
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/orderedList-with-content.json +0 -30
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/orderedList-with-order.json +0 -33
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/panel-info.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/panel-note.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/panel-tip.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/panel-warning.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/panel-with-blockCard.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/panel-with-list.json +0 -31
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/panel-with-paragraph.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/paragraph-with-content.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/paragraph-with-empty-content.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/paragraph-with-empty-marks.json +0 -11
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/paragraph-with-supported-mark.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/paragraph-without-content.json +0 -9
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/placeholder.json +0 -17
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/rule.json +0 -9
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/status-nested-in-list.json +0 -43
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/status-with-all-attrs.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/status-with-default-attrs.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/subsup-as-sub.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/subsup-as-sup.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/table-with-empty-cell.json +0 -29
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/table-with-fragment-mark.json +0 -41
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/table-with-header-row.json +0 -34
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/table-with-layout.json +0 -50
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/table-with-local-id.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/table-with-nested-nodes.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/task-with-mention.json +0 -34
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/taskList-with-nested-taskLists.json +0 -74
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/taskList-with-tasks.json +0 -40
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text-code-and-link.json +0 -26
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text-code.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text-em.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text-link.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text-strong.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text-subsup.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text-textColor.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text-underline.json +0 -20
- package/src/__tests__/unit/json-schema/v1-reference/full/valid/text.json +0 -15
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/.gitkeep +0 -0
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/blockcard-with-empty-attrs.json +0 -10
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/blockcard-with-empty-datasource.json +0 -12
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/blockcard-with-invalid-datasource-empty-views.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/blockcard-with-invalid-datasource-id.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/blockcard-with-invalid-datasource-layout.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/blockcard-with-invalid-datasource-views-type.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/blockcard-with-invalid-datasource-width.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/bodiedExtension-with-source-as-string-data-consumer-mark.json +0 -46
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/extension-with-invalid-local-id.json +0 -16
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/extension-with-nonsense-marks.json +0 -21
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/inlineExtension-with-source-as-string-data-consumer-mark.json +0 -48
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/mediaSingle-with-invalid-percentage-width.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/mediaSingle-with-invalid-pixel-width.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/nested-extensions-with-link-mark.json +0 -216
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/table-with-empty-local-id.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/table-with-invalid-local-id.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/table-with-invalid-width.json +0 -32
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/.gitkeep +0 -0
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/blockcard-with-datasources.json +0 -38
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/blockcard-with-empty-datasource-parameters.json +0 -29
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/blockcard-without-optional-fields.json +0 -23
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/layoutSection-with-one-column.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/mediaSingle-with-percentage-width.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/mediaSingle-with-pixel-width.json +0 -24
- package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/table-with-width.json +0 -32
@@ -1,46 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "bodiedExtension",
|
7
|
-
"attrs": {
|
8
|
-
"extensionType": "com.acme.editor",
|
9
|
-
"extensionKey": "bodied-eh",
|
10
|
-
"parameters": {
|
11
|
-
"macroParams": {},
|
12
|
-
"macroMetadata": {
|
13
|
-
"placeholder": [
|
14
|
-
{
|
15
|
-
"data": {
|
16
|
-
"url": ""
|
17
|
-
},
|
18
|
-
"type": "icon"
|
19
|
-
}
|
20
|
-
]
|
21
|
-
}
|
22
|
-
},
|
23
|
-
"layout": "default"
|
24
|
-
},
|
25
|
-
"marks": [
|
26
|
-
{
|
27
|
-
"type": "dataConsumer",
|
28
|
-
"attrs": {
|
29
|
-
"sources": "bodied-extension-with-non-array-localid"
|
30
|
-
}
|
31
|
-
}
|
32
|
-
],
|
33
|
-
"content": [
|
34
|
-
{
|
35
|
-
"type": "paragraph",
|
36
|
-
"content": [
|
37
|
-
{
|
38
|
-
"type": "text",
|
39
|
-
"text": "some"
|
40
|
-
}
|
41
|
-
]
|
42
|
-
}
|
43
|
-
]
|
44
|
-
}
|
45
|
-
]
|
46
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "extension",
|
7
|
-
"attrs": {
|
8
|
-
"extensionType": "com.acme.editor",
|
9
|
-
"extensionKey": "block-eh",
|
10
|
-
"text": "Block extension demo",
|
11
|
-
"layout": "default",
|
12
|
-
"localId": 123
|
13
|
-
}
|
14
|
-
}
|
15
|
-
]
|
16
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "extension",
|
7
|
-
"attrs": {
|
8
|
-
"extensionType": "com.acme.editor",
|
9
|
-
"extensionKey": "block-eh",
|
10
|
-
"text": "Block extension demo",
|
11
|
-
"layout": "default",
|
12
|
-
"localId": "123"
|
13
|
-
},
|
14
|
-
"marks": [
|
15
|
-
{
|
16
|
-
"type": "floohblah"
|
17
|
-
}
|
18
|
-
]
|
19
|
-
}
|
20
|
-
]
|
21
|
-
}
|
@@ -1,48 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "paragraph",
|
7
|
-
"content": [
|
8
|
-
{
|
9
|
-
"type": "text",
|
10
|
-
"text": "inline extension "
|
11
|
-
},
|
12
|
-
{
|
13
|
-
"type": "inlineExtension",
|
14
|
-
"attrs": {
|
15
|
-
"extensionType": "com.acme.editor",
|
16
|
-
"extensionKey": "inline-eh",
|
17
|
-
"parameters": {
|
18
|
-
"macroParams": {},
|
19
|
-
"macroMetadata": {
|
20
|
-
"placeholder": [
|
21
|
-
{
|
22
|
-
"data": {
|
23
|
-
"url": ""
|
24
|
-
},
|
25
|
-
"type": "icon"
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
},
|
30
|
-
"text": "Inline extension demo"
|
31
|
-
},
|
32
|
-
"marks": [
|
33
|
-
{
|
34
|
-
"type": "dataConsumer",
|
35
|
-
"attrs": {
|
36
|
-
"sources": "some-source-for-inline-as-non-array"
|
37
|
-
}
|
38
|
-
}
|
39
|
-
]
|
40
|
-
},
|
41
|
-
{
|
42
|
-
"type": "text",
|
43
|
-
"text": " "
|
44
|
-
}
|
45
|
-
]
|
46
|
-
}
|
47
|
-
]
|
48
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "mediaSingle",
|
7
|
-
"attrs": {
|
8
|
-
"width": 101,
|
9
|
-
"layout": "center"
|
10
|
-
},
|
11
|
-
"content": [
|
12
|
-
{
|
13
|
-
"type": "media",
|
14
|
-
"attrs": {
|
15
|
-
"type": "file",
|
16
|
-
"id": "1234",
|
17
|
-
"collection": "SampleCollection"
|
18
|
-
}
|
19
|
-
}
|
20
|
-
]
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "mediaSingle",
|
7
|
-
"attrs": {
|
8
|
-
"width": -1,
|
9
|
-
"widthType": "pixel",
|
10
|
-
"layout": "center"
|
11
|
-
},
|
12
|
-
"content": [
|
13
|
-
{
|
14
|
-
"type": "media",
|
15
|
-
"attrs": {
|
16
|
-
"type": "file",
|
17
|
-
"id": "1234",
|
18
|
-
"collection": "SampleCollection"
|
19
|
-
}
|
20
|
-
}
|
21
|
-
]
|
22
|
-
}
|
23
|
-
]
|
24
|
-
}
|
@@ -1,216 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "paragraph",
|
7
|
-
"content": [
|
8
|
-
{
|
9
|
-
"type": "text",
|
10
|
-
"text": "Layout with extension + data consumer mark"
|
11
|
-
}
|
12
|
-
]
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"type": "layoutSection",
|
16
|
-
"content": [
|
17
|
-
{
|
18
|
-
"type": "layoutColumn",
|
19
|
-
"attrs": {
|
20
|
-
"width": 50
|
21
|
-
},
|
22
|
-
"content": [
|
23
|
-
{
|
24
|
-
"type": "extension",
|
25
|
-
"attrs": {
|
26
|
-
"extensionType": "com.atlassian.extensions.update",
|
27
|
-
"extensionKey": "test-key-123",
|
28
|
-
"parameters": {
|
29
|
-
"count": 0
|
30
|
-
},
|
31
|
-
"layout": "default"
|
32
|
-
},
|
33
|
-
"marks": [
|
34
|
-
{
|
35
|
-
"type": "link",
|
36
|
-
"attrs": {
|
37
|
-
"href": "http://mochi.fluff"
|
38
|
-
}
|
39
|
-
}
|
40
|
-
]
|
41
|
-
}
|
42
|
-
]
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"type": "layoutColumn",
|
46
|
-
"attrs": {
|
47
|
-
"width": 50
|
48
|
-
},
|
49
|
-
"content": [
|
50
|
-
{
|
51
|
-
"type": "paragraph",
|
52
|
-
"content": []
|
53
|
-
}
|
54
|
-
]
|
55
|
-
}
|
56
|
-
]
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"type": "paragraph",
|
60
|
-
"content": [
|
61
|
-
{
|
62
|
-
"type": "text",
|
63
|
-
"text": "Table (header + body cells) with extension + data consumer mark"
|
64
|
-
}
|
65
|
-
]
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"type": "table",
|
69
|
-
"attrs": {
|
70
|
-
"isNumberColumnEnabled": false,
|
71
|
-
"layout": "default",
|
72
|
-
"localId": "8d2eda39-d623-4560-bbe6-afac2da82112"
|
73
|
-
},
|
74
|
-
"content": [
|
75
|
-
{
|
76
|
-
"type": "tableRow",
|
77
|
-
"content": [
|
78
|
-
{
|
79
|
-
"type": "tableHeader",
|
80
|
-
"attrs": {},
|
81
|
-
"content": [
|
82
|
-
{
|
83
|
-
"type": "extension",
|
84
|
-
"attrs": {
|
85
|
-
"extensionType": "com.atlassian.extensions.update",
|
86
|
-
"extensionKey": "test-key-123",
|
87
|
-
"parameters": {
|
88
|
-
"count": 0
|
89
|
-
},
|
90
|
-
"layout": "default"
|
91
|
-
},
|
92
|
-
"marks": [
|
93
|
-
{
|
94
|
-
"type": "link",
|
95
|
-
"attrs": {
|
96
|
-
"href": "http://mochi.fluff"
|
97
|
-
}
|
98
|
-
}
|
99
|
-
]
|
100
|
-
}
|
101
|
-
]
|
102
|
-
}
|
103
|
-
]
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"type": "tableRow",
|
107
|
-
"content": [
|
108
|
-
{
|
109
|
-
"type": "tableCell",
|
110
|
-
"attrs": {},
|
111
|
-
"content": [
|
112
|
-
{
|
113
|
-
"type": "extension",
|
114
|
-
"attrs": {
|
115
|
-
"extensionType": "com.atlassian.extensions.update",
|
116
|
-
"extensionKey": "test-key-123",
|
117
|
-
"parameters": {
|
118
|
-
"count": 0
|
119
|
-
},
|
120
|
-
"layout": "default"
|
121
|
-
},
|
122
|
-
"marks": [
|
123
|
-
{
|
124
|
-
"type": "link",
|
125
|
-
"attrs": {
|
126
|
-
"href": "http://mochi.fluff"
|
127
|
-
}
|
128
|
-
}
|
129
|
-
]
|
130
|
-
}
|
131
|
-
]
|
132
|
-
}
|
133
|
-
]
|
134
|
-
}
|
135
|
-
]
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"type": "expand",
|
139
|
-
"attrs": {
|
140
|
-
"title": "Expand with extension + data consumer mark"
|
141
|
-
},
|
142
|
-
"content": [
|
143
|
-
{
|
144
|
-
"type": "extension",
|
145
|
-
"attrs": {
|
146
|
-
"extensionType": "com.atlassian.extensions.update",
|
147
|
-
"extensionKey": "test-key-123",
|
148
|
-
"parameters": {
|
149
|
-
"count": 0
|
150
|
-
},
|
151
|
-
"layout": "default"
|
152
|
-
},
|
153
|
-
"marks": [
|
154
|
-
{
|
155
|
-
"type": "link",
|
156
|
-
"attrs": {
|
157
|
-
"href": "http://mochi.fluff"
|
158
|
-
}
|
159
|
-
}
|
160
|
-
]
|
161
|
-
}
|
162
|
-
]
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"type": "paragraph",
|
166
|
-
"content": [
|
167
|
-
{
|
168
|
-
"type": "text",
|
169
|
-
"text": "Bodied extension with extension + data consumer mark"
|
170
|
-
}
|
171
|
-
]
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"type": "bodiedExtension",
|
175
|
-
"attrs": {
|
176
|
-
"extensionType": "com.atlassian.confluence.macro.core",
|
177
|
-
"extensionKey": "bodied-eh",
|
178
|
-
"parameters": {
|
179
|
-
"macroParams": {},
|
180
|
-
"macroMetadata": {
|
181
|
-
"placeholder": [
|
182
|
-
{
|
183
|
-
"data": {
|
184
|
-
"url": ""
|
185
|
-
},
|
186
|
-
"type": "icon"
|
187
|
-
}
|
188
|
-
]
|
189
|
-
}
|
190
|
-
},
|
191
|
-
"layout": "default"
|
192
|
-
},
|
193
|
-
"content": [
|
194
|
-
{
|
195
|
-
"type": "extension",
|
196
|
-
"attrs": {
|
197
|
-
"extensionType": "com.atlassian.extensions.update",
|
198
|
-
"extensionKey": "test-key-123",
|
199
|
-
"parameters": {
|
200
|
-
"count": 0
|
201
|
-
},
|
202
|
-
"layout": "default"
|
203
|
-
},
|
204
|
-
"marks": [
|
205
|
-
{
|
206
|
-
"type": "link",
|
207
|
-
"attrs": {
|
208
|
-
"href": "http://mochi.fluff"
|
209
|
-
}
|
210
|
-
}
|
211
|
-
]
|
212
|
-
}
|
213
|
-
]
|
214
|
-
}
|
215
|
-
]
|
216
|
-
}
|
package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/table-with-empty-local-id.json
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "table",
|
7
|
-
"attrs": {
|
8
|
-
"localId": ""
|
9
|
-
},
|
10
|
-
"content": [
|
11
|
-
{
|
12
|
-
"type": "tableRow",
|
13
|
-
"content": [
|
14
|
-
{
|
15
|
-
"type": "tableCell",
|
16
|
-
"attrs": {
|
17
|
-
"colspan": 1,
|
18
|
-
"rowspan": 1
|
19
|
-
},
|
20
|
-
"content": [
|
21
|
-
{
|
22
|
-
"type": "paragraph",
|
23
|
-
"content": []
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
]
|
30
|
-
}
|
31
|
-
]
|
32
|
-
}
|
package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/table-with-invalid-local-id.json
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "table",
|
7
|
-
"attrs": {
|
8
|
-
"localId": 123
|
9
|
-
},
|
10
|
-
"content": [
|
11
|
-
{
|
12
|
-
"type": "tableRow",
|
13
|
-
"content": [
|
14
|
-
{
|
15
|
-
"type": "tableCell",
|
16
|
-
"attrs": {
|
17
|
-
"colspan": 1,
|
18
|
-
"rowspan": 1
|
19
|
-
},
|
20
|
-
"content": [
|
21
|
-
{
|
22
|
-
"type": "paragraph",
|
23
|
-
"content": []
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
]
|
30
|
-
}
|
31
|
-
]
|
32
|
-
}
|
package/src/__tests__/unit/json-schema/v1-reference/stage-0/invalid/table-with-invalid-width.json
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "table",
|
7
|
-
"attrs": {
|
8
|
-
"width": ""
|
9
|
-
},
|
10
|
-
"content": [
|
11
|
-
{
|
12
|
-
"type": "tableRow",
|
13
|
-
"content": [
|
14
|
-
{
|
15
|
-
"type": "tableCell",
|
16
|
-
"attrs": {
|
17
|
-
"colspan": 1,
|
18
|
-
"rowspan": 1
|
19
|
-
},
|
20
|
-
"content": [
|
21
|
-
{
|
22
|
-
"type": "paragraph",
|
23
|
-
"content": []
|
24
|
-
}
|
25
|
-
]
|
26
|
-
}
|
27
|
-
]
|
28
|
-
}
|
29
|
-
]
|
30
|
-
}
|
31
|
-
]
|
32
|
-
}
|
File without changes
|
package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/blockcard-with-datasources.json
DELETED
@@ -1,38 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "blockCard",
|
7
|
-
"attrs": {
|
8
|
-
"datasource": {
|
9
|
-
"id": "datasource-id",
|
10
|
-
"parameters": {
|
11
|
-
"cloudId": "cloud-id",
|
12
|
-
"jql": "project=EDM"
|
13
|
-
},
|
14
|
-
"views": [
|
15
|
-
{
|
16
|
-
"type": "table",
|
17
|
-
"properties": {
|
18
|
-
"columns": [
|
19
|
-
{ "key": "assignee"},
|
20
|
-
{ "key": "priority"},
|
21
|
-
{ "key": "status"}
|
22
|
-
]
|
23
|
-
}
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"type": "other-type",
|
27
|
-
"properties": {
|
28
|
-
"someProp": "value"
|
29
|
-
}
|
30
|
-
}
|
31
|
-
]
|
32
|
-
},
|
33
|
-
"width": 0,
|
34
|
-
"layout": "center"
|
35
|
-
}
|
36
|
-
}
|
37
|
-
]
|
38
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "blockCard",
|
7
|
-
"attrs": {
|
8
|
-
"datasource": {
|
9
|
-
"id": "datasource-id",
|
10
|
-
"parameters": {},
|
11
|
-
"views": [
|
12
|
-
{
|
13
|
-
"type": "table",
|
14
|
-
"properties": {
|
15
|
-
"columns": [
|
16
|
-
{ "key": "assignee"},
|
17
|
-
{ "key": "priority"},
|
18
|
-
{ "key": "status"}
|
19
|
-
]
|
20
|
-
}
|
21
|
-
}
|
22
|
-
]
|
23
|
-
},
|
24
|
-
"width": 0,
|
25
|
-
"layout": "center"
|
26
|
-
}
|
27
|
-
}
|
28
|
-
]
|
29
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "blockCard",
|
7
|
-
"attrs": {
|
8
|
-
"datasource": {
|
9
|
-
"id": "datasource-id",
|
10
|
-
"parameters": {
|
11
|
-
"cloudId": "cloud-id",
|
12
|
-
"jql": "project=EDM"
|
13
|
-
},
|
14
|
-
"views": [
|
15
|
-
{
|
16
|
-
"type": "table"
|
17
|
-
}
|
18
|
-
]
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|
22
|
-
]
|
23
|
-
}
|
package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/layoutSection-with-one-column.json
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "layoutSection",
|
7
|
-
"content": [
|
8
|
-
{
|
9
|
-
"type": "layoutColumn",
|
10
|
-
"attrs": {
|
11
|
-
"width": 25
|
12
|
-
},
|
13
|
-
"content": [{
|
14
|
-
"type": "paragraph",
|
15
|
-
"content": [{
|
16
|
-
"type": "text",
|
17
|
-
"text": "First Column"
|
18
|
-
}]
|
19
|
-
}]
|
20
|
-
}
|
21
|
-
]
|
22
|
-
}
|
23
|
-
]
|
24
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "mediaSingle",
|
7
|
-
"attrs": {
|
8
|
-
"width": 99,
|
9
|
-
"widthType": "percentage",
|
10
|
-
"layout": "center"
|
11
|
-
},
|
12
|
-
"content": [
|
13
|
-
{
|
14
|
-
"type": "media",
|
15
|
-
"attrs": {
|
16
|
-
"type": "file",
|
17
|
-
"id": "1234",
|
18
|
-
"collection": "SampleCollection"
|
19
|
-
}
|
20
|
-
}
|
21
|
-
]
|
22
|
-
}
|
23
|
-
]
|
24
|
-
}
|
package/src/__tests__/unit/json-schema/v1-reference/stage-0/valid/mediaSingle-with-pixel-width.json
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 1,
|
3
|
-
"type": "doc",
|
4
|
-
"content": [
|
5
|
-
{
|
6
|
-
"type": "mediaSingle",
|
7
|
-
"attrs": {
|
8
|
-
"width": 1800,
|
9
|
-
"widthType": "pixel",
|
10
|
-
"layout": "center"
|
11
|
-
},
|
12
|
-
"content": [
|
13
|
-
{
|
14
|
-
"type": "media",
|
15
|
-
"attrs": {
|
16
|
-
"type": "file",
|
17
|
-
"id": "1234",
|
18
|
-
"collection": "SampleCollection"
|
19
|
-
}
|
20
|
-
}
|
21
|
-
]
|
22
|
-
}
|
23
|
-
]
|
24
|
-
}
|