@atlaskit/adf-schema 22.0.2 → 22.1.0
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/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/json-schema/v1/full.json +55 -0
- package/dist/types/schema/nodes/media-inline.d.ts +0 -1
- package/json-schema/v1/full.json +55 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
@@ -897,6 +897,58 @@
|
|
897
897
|
],
|
898
898
|
"additionalProperties": false
|
899
899
|
},
|
900
|
+
"mediaInline_node": {
|
901
|
+
"type": "object",
|
902
|
+
"properties": {
|
903
|
+
"type": {
|
904
|
+
"enum": [
|
905
|
+
"mediaInline"
|
906
|
+
]
|
907
|
+
},
|
908
|
+
"attrs": {
|
909
|
+
"type": "object",
|
910
|
+
"properties": {
|
911
|
+
"data": {},
|
912
|
+
"id": {
|
913
|
+
"type": "string",
|
914
|
+
"minLength": 1
|
915
|
+
},
|
916
|
+
"collection": {
|
917
|
+
"type": "string"
|
918
|
+
},
|
919
|
+
"height": {
|
920
|
+
"type": "number"
|
921
|
+
},
|
922
|
+
"width": {
|
923
|
+
"type": "number"
|
924
|
+
},
|
925
|
+
"occurrenceKey": {
|
926
|
+
"type": "string",
|
927
|
+
"minLength": 1
|
928
|
+
},
|
929
|
+
"alt": {
|
930
|
+
"type": "string"
|
931
|
+
}
|
932
|
+
},
|
933
|
+
"additionalProperties": false,
|
934
|
+
"required": [
|
935
|
+
"id",
|
936
|
+
"collection"
|
937
|
+
]
|
938
|
+
},
|
939
|
+
"marks": {
|
940
|
+
"type": "array",
|
941
|
+
"items": {
|
942
|
+
"$ref": "#/definitions/link_mark"
|
943
|
+
}
|
944
|
+
}
|
945
|
+
},
|
946
|
+
"required": [
|
947
|
+
"type",
|
948
|
+
"attrs"
|
949
|
+
],
|
950
|
+
"additionalProperties": false
|
951
|
+
},
|
900
952
|
"formatted_text_inline_node": {
|
901
953
|
"allOf": [
|
902
954
|
{
|
@@ -996,6 +1048,9 @@
|
|
996
1048
|
{
|
997
1049
|
"$ref": "#/definitions/status_node"
|
998
1050
|
},
|
1051
|
+
{
|
1052
|
+
"$ref": "#/definitions/mediaInline_node"
|
1053
|
+
},
|
999
1054
|
{
|
1000
1055
|
"$ref": "#/definitions/formatted_text_inline_node"
|
1001
1056
|
},
|
package/json-schema/v1/full.json
CHANGED
@@ -897,6 +897,58 @@
|
|
897
897
|
],
|
898
898
|
"additionalProperties": false
|
899
899
|
},
|
900
|
+
"mediaInline_node": {
|
901
|
+
"type": "object",
|
902
|
+
"properties": {
|
903
|
+
"type": {
|
904
|
+
"enum": [
|
905
|
+
"mediaInline"
|
906
|
+
]
|
907
|
+
},
|
908
|
+
"attrs": {
|
909
|
+
"type": "object",
|
910
|
+
"properties": {
|
911
|
+
"data": {},
|
912
|
+
"id": {
|
913
|
+
"type": "string",
|
914
|
+
"minLength": 1
|
915
|
+
},
|
916
|
+
"collection": {
|
917
|
+
"type": "string"
|
918
|
+
},
|
919
|
+
"height": {
|
920
|
+
"type": "number"
|
921
|
+
},
|
922
|
+
"width": {
|
923
|
+
"type": "number"
|
924
|
+
},
|
925
|
+
"occurrenceKey": {
|
926
|
+
"type": "string",
|
927
|
+
"minLength": 1
|
928
|
+
},
|
929
|
+
"alt": {
|
930
|
+
"type": "string"
|
931
|
+
}
|
932
|
+
},
|
933
|
+
"additionalProperties": false,
|
934
|
+
"required": [
|
935
|
+
"id",
|
936
|
+
"collection"
|
937
|
+
]
|
938
|
+
},
|
939
|
+
"marks": {
|
940
|
+
"type": "array",
|
941
|
+
"items": {
|
942
|
+
"$ref": "#/definitions/link_mark"
|
943
|
+
}
|
944
|
+
}
|
945
|
+
},
|
946
|
+
"required": [
|
947
|
+
"type",
|
948
|
+
"attrs"
|
949
|
+
],
|
950
|
+
"additionalProperties": false
|
951
|
+
},
|
900
952
|
"formatted_text_inline_node": {
|
901
953
|
"allOf": [
|
902
954
|
{
|
@@ -996,6 +1048,9 @@
|
|
996
1048
|
{
|
997
1049
|
"$ref": "#/definitions/status_node"
|
998
1050
|
},
|
1051
|
+
{
|
1052
|
+
"$ref": "#/definitions/mediaInline_node"
|
1053
|
+
},
|
999
1054
|
{
|
1000
1055
|
"$ref": "#/definitions/formatted_text_inline_node"
|
1001
1056
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@atlaskit/adf-schema",
|
3
|
-
"version": "22.0
|
3
|
+
"version": "22.1.0",
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
5
5
|
"publishConfig": {
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"devDependencies": {
|
49
49
|
"@atlaskit/adf-utils": "^16.0.0",
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.7.0",
|
51
|
-
"@atlaskit/editor-test-helpers": "^
|
51
|
+
"@atlaskit/editor-test-helpers": "^17.0.0",
|
52
52
|
"@atlaskit/json-schema-generator": "^3.2.0",
|
53
53
|
"@atlassian/adf-sample": "^1.0.0",
|
54
54
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|