@ixon-cdk/types 1.10.0-next.1 → 1.10.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 +10 -0
- package/dist/types/ixapi/resources/agent.d.ts +2 -2
- package/dist/types/ixapi/resources/backend-component-template-version.d.ts +2 -0
- package/dist/types/ixapi/resources/index.d.ts +1 -0
- package/dist/types/ixapi/resources/page-component-template-version.d.ts +2 -0
- package/dist/types/ixapi/resources/sector.d.ts +0 -1
- package/dist/types/ixapi/resources/user-reference.d.ts +2 -0
- package/dist/types/ixapi/resources/user.d.ts +2 -0
- package/dist/types/resource-data/resource-data.d.ts +1 -0
- package/package.json +1 -1
|
@@ -154,6 +154,16 @@ export interface ComponentContext<ComponentContextInputs extends object = {
|
|
|
154
154
|
* @param options configures the form dialog
|
|
155
155
|
*/
|
|
156
156
|
openFormDialog(options: FormDialogOptions): Promise<FormDialogResult | false | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* Helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing the passed HTML, removing any potentially unsafe content.
|
|
159
|
+
*
|
|
160
|
+
* @param html the HTML to sanitize
|
|
161
|
+
*
|
|
162
|
+
* @param options allowStyleAtrr: if set to true, the style attribute will be allowed in the HTML. Defaults to false
|
|
163
|
+
*/
|
|
164
|
+
sanitizeHtml(html: string, options?: {
|
|
165
|
+
allowStyleAtrr?: boolean;
|
|
166
|
+
}): string | null;
|
|
157
167
|
/**
|
|
158
168
|
* Save a file.
|
|
159
169
|
*
|
|
@@ -20,7 +20,7 @@ import type { LoggingApp } from './logging-app';
|
|
|
20
20
|
import type { LsiServer } from './lsi-server';
|
|
21
21
|
import type { PageLink } from './page-link';
|
|
22
22
|
import type { ResLink } from './res-link';
|
|
23
|
-
import type {
|
|
23
|
+
import type { UserReference } from './user-reference';
|
|
24
24
|
import type { VpnProtocol } from './vpn-protocol';
|
|
25
25
|
import type { VpnSession } from './vpn-session';
|
|
26
26
|
export interface Agent extends AgentLike {
|
|
@@ -30,7 +30,7 @@ export interface Agent extends AgentLike {
|
|
|
30
30
|
alarmingApp?: AlarmingApp;
|
|
31
31
|
assets?: ResLink[];
|
|
32
32
|
company?: ResLink;
|
|
33
|
-
connectedUsers?:
|
|
33
|
+
connectedUsers?: UserReference[];
|
|
34
34
|
demoDevice?: DemoDevice | null;
|
|
35
35
|
deviceId?: string | null;
|
|
36
36
|
fixedVpnAddress?: string | null;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { ResLink } from './res-link';
|
|
2
|
+
import type { UserReference } from './user-reference';
|
|
2
3
|
export interface BackendComponentTemplateVersion {
|
|
3
4
|
template?: ResLink;
|
|
4
5
|
publicId: string;
|
|
5
6
|
number?: string;
|
|
6
7
|
publishedOn?: string | null;
|
|
8
|
+
createdBy?: UserReference;
|
|
7
9
|
createdOn?: string;
|
|
8
10
|
}
|
|
9
11
|
export type BackendComponentTemplateConfiguredVersion = Pick<BackendComponentTemplateVersion, 'number' | 'publicId'>;
|
|
@@ -105,6 +105,7 @@ export * from './trusted-device';
|
|
|
105
105
|
export * from './user';
|
|
106
106
|
export * from './user-membership';
|
|
107
107
|
export * from './user-push-device';
|
|
108
|
+
export * from './user-reference';
|
|
108
109
|
export * from './vpn-protocol';
|
|
109
110
|
export * from './vpn-session';
|
|
110
111
|
export * from './vpn-usage';
|
|
@@ -22,6 +22,8 @@ export interface User {
|
|
|
22
22
|
export interface MyUser {
|
|
23
23
|
acceptedTermsOfUsePolicies?: AcceptedTermsOfUsePolicy[];
|
|
24
24
|
custom?: {
|
|
25
|
+
/** JSON Object with view settings per company, For example: { "1111-2222-3333-4444-5555": { "subgroupHierarchyLayout": "top"}} */
|
|
26
|
+
glbAdmViewSettings?: string;
|
|
25
27
|
/** JSON Object with user columns per company, For example: { "1111-2222-3333-4444-5555": ["status", "name", "lastOnline"]} */
|
|
26
28
|
glbFltDeviceTableCols?: string;
|
|
27
29
|
/** JSON Object with view settings per company,
|