@ixon-cdk/types 1.10.1 → 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.
@@ -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 allowStyleAtrr: if set to true, the style attribute will be allowed in the HTML. Defaults to false
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
- allowStyleAtrr?: boolean;
165
+ allowStyleAttr?: boolean;
166
166
  }): string | null;
167
167
  /**
168
168
  * Save a file.
@@ -1,4 +1,6 @@
1
1
  export interface Discovery {
2
2
  href: string;
3
3
  rel: string;
4
+ methods?: DiscoveryMethodsType[];
4
5
  }
6
+ export type DiscoveryMethodsType = 'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT';
@@ -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 by. If this is not set, a unique reference is generated.
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.10.1",
3
+ "version": "1.11.0-next.0",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",