@atlaskit/adf-schema 40.2.0 → 40.2.1
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
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# @atlaskit/adf-schema
|
2
2
|
|
3
|
+
## 40.2.1
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- 60c7ca6: [ED-24166] Fixed type issue where it was pulling in a type based on a PMNode into the DocNode type, which isn't compatible with the ADFEntity type which doesn't have the PM methods
|
8
|
+
|
3
9
|
## 40.2.0
|
4
10
|
|
5
11
|
### Minor Changes
|
@@ -2,7 +2,7 @@ import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { BreakoutMarkDefinition } from '../marks';
|
3
3
|
import { MarksObject, NoMark } from './types/mark';
|
4
4
|
import { NonNestableBlockContent } from './types/non-nestable-block-content';
|
5
|
-
import {
|
5
|
+
import { NestedExpandDefinition } from './nested-expand';
|
6
6
|
/**
|
7
7
|
* @name expand_node
|
8
8
|
*/
|
@@ -15,7 +15,7 @@ export interface ExpandBaseDefinition {
|
|
15
15
|
* @minItems 1
|
16
16
|
* @allowUnsupportedBlock true
|
17
17
|
*/
|
18
|
-
content: Array<NonNestableBlockContent |
|
18
|
+
content: Array<NonNestableBlockContent | NestedExpandDefinition>;
|
19
19
|
marks?: Array<any>;
|
20
20
|
}
|
21
21
|
/**
|
package/package.json
CHANGED