@ixon-cdk/types 1.14.0 → 1.15.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-input.d.ts +4 -0
- package/dist/types/ixapi/resources/backend-component-template.d.ts +1 -0
- package/dist/types/resource-data/resource-data-client.d.ts +1 -0
- package/dist/types/resource-data/resource-data-query.d.ts +1 -1
- package/dist/types/resource-data/resource-data.d.ts +5 -0
- package/package.json +1 -1
|
@@ -4,6 +4,10 @@ export interface ComponentInputSummary {
|
|
|
4
4
|
label: string;
|
|
5
5
|
}
|
|
6
6
|
export interface ComponentInput {
|
|
7
|
+
/**
|
|
8
|
+
* Only applicable to type `File`.
|
|
9
|
+
*/
|
|
10
|
+
multiple?: boolean;
|
|
7
11
|
/**
|
|
8
12
|
* The types of tags or variables that are allowed for this metric. All types are allowed if empty ([]), null or not specified.
|
|
9
13
|
*
|
|
@@ -7,6 +7,7 @@ export interface BackendComponentTemplate {
|
|
|
7
7
|
apiApplication?: ApiApplication;
|
|
8
8
|
company?: CompanyReference | null;
|
|
9
9
|
configuredVersion?: BackendComponentTemplateConfiguredVersion | null;
|
|
10
|
+
defaultConfigValues?: string | null;
|
|
10
11
|
description?: string | null;
|
|
11
12
|
draft?: ResLink | null;
|
|
12
13
|
name?: string;
|
|
@@ -5,6 +5,7 @@ import type { ResourceData } from './resource-data';
|
|
|
5
5
|
import type { ResourceDataUpdate, ResourceDataUpdateSelector } from './resource-data-update';
|
|
6
6
|
interface ResultDataMap {
|
|
7
7
|
Agent: ResourceData.Agent;
|
|
8
|
+
AppConfig: ResourceData.AppConfig;
|
|
8
9
|
Asset: ResourceData.Asset;
|
|
9
10
|
AssetAppConfig: ResourceData.AssetAppConfig;
|
|
10
11
|
AssetAppConfigList: ResourceData.AssetAppConfig[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** @module ResourceDataQuery */
|
|
2
|
-
export type ResourceDataQuerySelector = 'Agent' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
2
|
+
export type ResourceDataQuerySelector = 'Agent' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
|
|
3
3
|
export interface ResourceDataQuery<T = ResourceDataQuerySelector> {
|
|
4
4
|
/**
|
|
5
5
|
* String reference unique to the query call made by the client
|
|
@@ -98,6 +98,10 @@ interface AgentResourceData {
|
|
|
98
98
|
vpnVisibleInMobileApp?: boolean;
|
|
99
99
|
vpnVisibleOnWeb?: boolean;
|
|
100
100
|
}
|
|
101
|
+
interface AppConfigResourceData<TValues = any> {
|
|
102
|
+
publicId: string;
|
|
103
|
+
values?: TValues | null;
|
|
104
|
+
}
|
|
101
105
|
interface AssetResourceData {
|
|
102
106
|
custom?: Record<string, any>;
|
|
103
107
|
description?: string | null;
|
|
@@ -197,6 +201,7 @@ interface UserResourceData {
|
|
|
197
201
|
}
|
|
198
202
|
export declare namespace ResourceData {
|
|
199
203
|
type Agent = AgentResourceData;
|
|
204
|
+
type AppConfig<TValues extends object = any> = AppConfigResourceData<TValues>;
|
|
200
205
|
type Asset = AssetResourceData;
|
|
201
206
|
type AssetAppConfig<TValues = any, TStateValues = any> = AssetAppConfigResourceData<TValues, TStateValues>;
|
|
202
207
|
type Branding = BrandingResourceData;
|