@dotcms/types 1.2.1-next.13 → 1.2.1-next.14
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 +1 -19
package/package.json
CHANGED
|
@@ -99,24 +99,6 @@ export interface DotContentletAttributes {
|
|
|
99
99
|
'data-dot-type': string;
|
|
100
100
|
'data-dot-container': string;
|
|
101
101
|
'data-dot-on-number-of-pages': string;
|
|
102
|
+
'data-dot-style-properties'?: string;
|
|
102
103
|
}
|
|
103
|
-
/**
|
|
104
|
-
* Helper type to create analytics attribute names with the correct prefix
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
type AnalyticsAttribute<T extends string> = `data-dot-analytics-${T}`;
|
|
108
|
-
/**
|
|
109
|
-
* Analytics attribute keys
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
type AnalyticsAttributeKey = 'identifier' | 'inode' | 'basetype' | 'contenttype' | 'title';
|
|
113
|
-
/**
|
|
114
|
-
* Interface representing the analytics data attributes of a DotCMS contentlet.
|
|
115
|
-
* Guarantees all keys have the 'data-dot-analytics-' prefix.
|
|
116
|
-
* Includes a class for fast DOM selection.
|
|
117
|
-
* @interface DotAnalyticsAttributes
|
|
118
|
-
*/
|
|
119
|
-
export type DotAnalyticsAttributes = {
|
|
120
|
-
[K in AnalyticsAttributeKey as AnalyticsAttribute<K>]: string;
|
|
121
|
-
};
|
|
122
104
|
export {};
|