@ixon-cdk/types 1.10.0 → 1.11.0-next.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/dist/types/component-context/index.d.ts +2 -2
- package/dist/types/ixapi/resources/discovery.d.ts +2 -0
- package/dist/types/ixapi/resources/group.d.ts +1 -2
- package/dist/types/ixapi/resources/page-component-template.d.ts +2 -1
- package/dist/types/logging-data/logging-data-query.d.ts +8 -1
- package/package.json +1 -1
|
@@ -159,10 +159,10 @@ export interface ComponentContext<ComponentContextInputs extends object = {
|
|
|
159
159
|
*
|
|
160
160
|
* @param html the HTML to sanitize
|
|
161
161
|
*
|
|
162
|
-
* @param options
|
|
162
|
+
* @param options allowStyleAttr: if set to true, the style attribute will be allowed in the HTML. Defaults to false
|
|
163
163
|
*/
|
|
164
164
|
sanitizeHtml(html: string, options?: {
|
|
165
|
-
|
|
165
|
+
allowStyleAttr?: boolean;
|
|
166
166
|
}): string | null;
|
|
167
167
|
/**
|
|
168
168
|
* Save a file.
|
|
@@ -5,6 +5,7 @@ export interface Group {
|
|
|
5
5
|
asset?: ResLink | null;
|
|
6
6
|
custom?: {};
|
|
7
7
|
isCompanyGroup?: boolean;
|
|
8
|
+
/** @deprecated */
|
|
8
9
|
managedBy?: GroupReference | null;
|
|
9
10
|
name?: string | null;
|
|
10
11
|
parent?: GroupReference | null;
|
|
@@ -14,5 +15,3 @@ export interface Group {
|
|
|
14
15
|
export type GroupReference = Pick<Group, 'publicId' | 'name' | 'type'>;
|
|
15
16
|
/** @deprecated */
|
|
16
17
|
export type AgentRegistrationProfileGroup = Pick<Group, 'publicId' | 'name' | 'type'>;
|
|
17
|
-
/** @deprecated */
|
|
18
|
-
export type ManagedByGroup = Pick<Group, 'publicId' | 'name' | 'type'>;
|
|
@@ -26,9 +26,10 @@ export interface PageComponentTemplate {
|
|
|
26
26
|
published?: ResLink | null;
|
|
27
27
|
/** @deprecated Moved to PageComponentTemplateManifest */
|
|
28
28
|
sheetSettings?: PageComponentTemplateSheetSettings | null;
|
|
29
|
+
/** @deprecated */
|
|
29
30
|
static?: boolean;
|
|
30
31
|
url?: string | null;
|
|
31
32
|
/** @deprecated */
|
|
32
33
|
version?: string | null;
|
|
33
34
|
}
|
|
34
|
-
export type PageComponentTemplateIntent = 'asset-configuration' | 'landing-page';
|
|
35
|
+
export type PageComponentTemplateIntent = 'asset-configuration' | 'landing-page' | 'main-page';
|
|
@@ -60,7 +60,14 @@ export interface LoggingDataQuery {
|
|
|
60
60
|
*/
|
|
61
61
|
preAggr?: Aggregrator;
|
|
62
62
|
/**
|
|
63
|
-
* Reference to identify the value
|
|
63
|
+
* Reference used to identify the value. If not set, a unique reference is generated.
|
|
64
|
+
*
|
|
65
|
+
* When the output is formatted as CSV, this reference will be used as the column header. In this
|
|
66
|
+
* case, the variable `$TH_UNIT` can be used to dynamically render a unit suffix, if applicable.
|
|
67
|
+
* If no unit is configured, it will fallback to an empty string.
|
|
68
|
+
*
|
|
69
|
+
* For example:
|
|
70
|
+
* a reference value of `"Weight$TH_UNIT"` would in CSV format output as `"Weight (kg)"`.
|
|
64
71
|
*/
|
|
65
72
|
ref?: string;
|
|
66
73
|
/**
|