@ixon-cdk/types 1.14.0-next.2 → 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.
@@ -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,12 +98,20 @@ 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;
108
+ isLibraryAsset?: boolean;
104
109
  libraryAsset?: {
105
110
  publicId: string;
106
111
  };
112
+ libraryVersion?: {
113
+ publicId: string;
114
+ };
107
115
  memberships?: {
108
116
  group?: {
109
117
  publicId: string;
@@ -111,13 +119,22 @@ interface AssetResourceData {
111
119
  publicId: string;
112
120
  }[];
113
121
  name?: string;
122
+ parent?: {
123
+ publicId: string;
124
+ } | null;
114
125
  permissions?: string[];
115
126
  publicId: string;
116
127
  resourceVariant?: {
117
128
  publicId: string;
118
129
  };
130
+ root?: {
131
+ publicId: string;
132
+ } | null;
119
133
  }
120
134
  interface AssetAppConfigResourceData<TValues = any, TStateValues = any> {
135
+ app?: {
136
+ publicId: string;
137
+ };
121
138
  publicId: string;
122
139
  stateValues?: TStateValues | null;
123
140
  values?: TValues | null;
@@ -184,6 +201,7 @@ interface UserResourceData {
184
201
  }
185
202
  export declare namespace ResourceData {
186
203
  type Agent = AgentResourceData;
204
+ type AppConfig<TValues extends object = any> = AppConfigResourceData<TValues>;
187
205
  type Asset = AssetResourceData;
188
206
  type AssetAppConfig<TValues = any, TStateValues = any> = AssetAppConfigResourceData<TValues, TStateValues>;
189
207
  type Branding = BrandingResourceData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.14.0-next.2",
3
+ "version": "1.15.0-next.0",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",