@dotcms/types 1.5.5-next.2245 → 1.5.5-next.2253
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/package.json +1 -1
- package/src/lib/editor/internal.d.ts +12 -0
package/package.json
CHANGED
|
@@ -101,4 +101,16 @@ export interface DotContentletAttributes {
|
|
|
101
101
|
'data-dot-on-number-of-pages': string;
|
|
102
102
|
'data-dot-style-properties'?: string;
|
|
103
103
|
}
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* Minimal subset of contentlet data attributes required by DotCMS Analytics
|
|
107
|
+
* (impression & click tracking) to identify contentlets in live mode.
|
|
108
|
+
*
|
|
109
|
+
* In live mode the SDKs strip editor-only metadata, but Analytics still needs
|
|
110
|
+
* these attributes to resolve the contentlet behind an impression/click.
|
|
111
|
+
*
|
|
112
|
+
* @see DotContentletAttributes
|
|
113
|
+
* @interface DotAnalyticsContentletAttributes
|
|
114
|
+
*/
|
|
115
|
+
export type DotAnalyticsContentletAttributes = Pick<DotContentletAttributes, 'data-dot-identifier' | 'data-dot-inode' | 'data-dot-title' | 'data-dot-type' | 'data-dot-basetype'>;
|
|
104
116
|
export {};
|