@squiz/dxp-page-content-types 1.6.5 → 1.6.7
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/lib/Nodes/Nodes.d.ts +3 -0
- package/package.json +1 -1
package/lib/Nodes/Nodes.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export type FormattedTextFragmentNode = Extract<FORMATTED_TEXT_MODELS.v1.Formatt
|
|
|
51
51
|
children?: FORMATTED_TEXT_MODELS.v1.FormattedTextFragment['children'];
|
|
52
52
|
}>;
|
|
53
53
|
nodeId?: string;
|
|
54
|
+
nodeName?: string;
|
|
54
55
|
};
|
|
55
56
|
/**
|
|
56
57
|
* Resolved component node.
|
|
@@ -81,6 +82,7 @@ export type ComponentNode<T extends ContentItemBody = ContentItemBody> = {
|
|
|
81
82
|
*/
|
|
82
83
|
i18n?: Record<string, ContentItem<T>>;
|
|
83
84
|
nodeId?: string;
|
|
85
|
+
nodeName?: string;
|
|
84
86
|
};
|
|
85
87
|
/**
|
|
86
88
|
* Variation node variant.
|
|
@@ -228,4 +230,5 @@ export interface LayoutNode {
|
|
|
228
230
|
layout: LayoutData;
|
|
229
231
|
content: Record<string, LayoutContentNodes[]>;
|
|
230
232
|
nodeId?: string;
|
|
233
|
+
nodeName?: string;
|
|
231
234
|
}
|