@ixon-cdk/types 1.21.0-next.1 → 1.21.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.
@@ -8,7 +8,7 @@ import type { ComponentContextAppData } from './app-data';
8
8
  import type { ActionBottomSheetOptions, ActionBottomSheetResult } from './bottom-sheet';
9
9
  import type { AlertDialogOptions, ConfirmDialogOptions, ContentDialogOptions, FormDialogOptions, FormDialogResult } from './dialog';
10
10
  import type { ActionMenuOptions, ActionMenuResult } from './menu';
11
- import { MultiSelectPanelOptions, MultiSelectPanelResult, SingleSelectPanelOptions, SingleSelectPanelResult } from './select';
11
+ import type { MultiSelectPanelOptions, MultiSelectPanelResult, SingleSelectPanelOptions, SingleSelectPanelResult } from './select';
12
12
  import type { ToastOptions } from './toast';
13
13
  import type { Tooltip, TooltipOptions } from './tooltip';
14
14
  export type { ComponentContextAppData } from './app-data';
@@ -1,10 +1,11 @@
1
+ import type { AgentDataAlarm } from './agent-data-alarm';
1
2
  import type { ResLink } from './res-link';
2
3
  export interface AgentDataAlarmOccurrence {
3
4
  acknowledged?: boolean;
4
5
  acknowledgedBy?: ResLink | null;
5
6
  /** I.e. "2019-01-01T12:00:00Z" */
6
7
  acknowledgedOn: string | null;
7
- alarm?: ResLink;
8
+ alarm?: AgentDataAlarm;
8
9
  comment?: string | null;
9
10
  /** I.e. "2019-01-01T12:00:00Z" */
10
11
  occurredOn?: string;
@@ -11,7 +11,7 @@ export interface AgentDataTag {
11
11
  logEvent?: 'interval' | 'change' | 'trigger';
12
12
  loggingInterval?: string | null;
13
13
  logTrigger?: ResLink | null;
14
- name?: string;
14
+ name?: string | null;
15
15
  onChangeExpiry?: string | null;
16
16
  publicId: string;
17
17
  retentionPolicy?: string | null;
@@ -1,4 +1,4 @@
1
- import { ResLink } from './res-link';
1
+ import type { ResLink } from './res-link';
2
2
  export interface AgentEdgeAppInstanceServiceOverrides {
3
3
  environment?: string | null;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import type { AgentEdgeAppInstanceService } from './agent-edge-app-instance-service';
2
- import { EdgeAppFile } from './edge-app-file';
2
+ import type { EdgeAppFile } from './edge-app-file';
3
3
  import type { ResLink } from './res-link';
4
4
  export interface EdgeAppInstanceDeploymentProgress {
5
5
  files: EdgeAppInstanceProgress;
@@ -1,4 +1,4 @@
1
- import { ResLink } from './res-link';
1
+ import type { ResLink } from './res-link';
2
2
  export interface AssetAppConfigResource {
3
3
  config?: ResLink;
4
4
  publicId: string;
@@ -1,5 +1,5 @@
1
1
  import type { ResLink } from './res-link';
2
- import { AssetAppConfigResource } from './asset-app-config-resource';
2
+ import type { AssetAppConfigResource } from './asset-app-config-resource';
3
3
  export interface AssetAppConfig {
4
4
  app?: ResLink;
5
5
  asset?: ResLink;
@@ -26,6 +26,7 @@ export interface Asset {
26
26
  publicId: string;
27
27
  resourceVariant?: AssetType;
28
28
  root?: ResLink | null;
29
+ slug?: string;
29
30
  }
30
31
  export interface AssetInstanceCreate {
31
32
  libraryAsset: ResLink;
@@ -1,4 +1,4 @@
1
- import { ResLink } from './res-link';
1
+ import type { ResLink } from './res-link';
2
2
  export interface ControlledDeviceMembership {
3
3
  publicId: string;
4
4
  controlledDevice?: ResLink;
@@ -1,6 +1,6 @@
1
- import { Agent } from './agent';
2
- import { ControlledDeviceMembership } from './controlled-device-membership';
3
- import { ResLink } from './res-link';
1
+ import type { Agent } from './agent';
2
+ import type { ControlledDeviceMembership } from './controlled-device-membership';
3
+ import type { ResLink } from './res-link';
4
4
  export interface ControlledDevice {
5
5
  agent?: ControlledDeviceAgentReference | null;
6
6
  memberships?: ControlledDeviceMembership[];
@@ -1,4 +1,4 @@
1
- import { CompanyReference } from './company';
1
+ import type { CompanyReference } from './company';
2
2
  export interface EdgeApp {
3
3
  company?: CompanyReference | null;
4
4
  description?: string | null;
@@ -1,9 +1,13 @@
1
1
  import type { Audience } from './audience';
2
2
  import type { Page } from './page';
3
+ import type { PageLink } from './page-link';
3
4
  export interface MenuItem {
4
5
  audience?: Audience | null;
6
+ custom?: {};
7
+ name?: string | null;
5
8
  order?: number;
6
9
  page?: Page;
10
+ pageLinks?: PageLink[];
7
11
  pinned?: boolean;
8
12
  publicId: string;
9
13
  }
@@ -1,5 +1,5 @@
1
1
  import type { ResLink } from './res-link';
2
- import { ComponentInput } from '../../component-input';
2
+ import type { ComponentInput } from '../../component-input';
3
3
  export interface PageComponentTemplateManifest {
4
4
  /** @deprecated */
5
5
  author?: string | null;
@@ -2,6 +2,7 @@ import type { ResLink } from './res-link';
2
2
  export interface PageLinkGroup {
3
3
  agent?: ResLink | null;
4
4
  asset?: ResLink | null;
5
+ menuItem?: ResLink | null;
5
6
  name?: string;
6
7
  publicId: string;
7
8
  }
@@ -7,6 +7,7 @@ export interface PageLink {
7
7
  audience?: Audience | null;
8
8
  custom?: {};
9
9
  group?: PageLinkGroup | null;
10
+ menuItem?: ResLink | null;
10
11
  order?: number;
11
12
  page?: ResLink;
12
13
  publicId: string;
@@ -1,7 +1,7 @@
1
1
  import type { PageComponent } from './page-component';
2
2
  import type { PagePage } from './page-page';
3
3
  import type { ResLink } from './res-link';
4
- import { UserReference } from './user';
4
+ import type { UserReference } from './user';
5
5
  export interface PageVersion {
6
6
  components?: PageComponent[];
7
7
  createdBy?: UserReference | null;
@@ -1,4 +1,4 @@
1
- import { CompanyReference } from './company';
1
+ import type { CompanyReference } from './company';
2
2
  export interface PipelineFunction {
3
3
  publicId: string;
4
4
  name?: string;
@@ -7,7 +7,7 @@ import type { ResourceDataResult } from './resource-data-result';
7
7
  import type { ResourceDataUpdate, ResourceDataUpdateSelector } from './resource-data-update';
8
8
  interface ResultDataMap {
9
9
  Agent: ResourceData.Agent;
10
- AgentDataTag: ResourceData.AgentDataTag;
10
+ AgentDataTagList: ResourceData.AgentDataTag[];
11
11
  AppConfig: ResourceData.AppConfig;
12
12
  Asset: ResourceData.Asset;
13
13
  AssetAppConfig: ResourceData.AssetAppConfig;
@@ -18,6 +18,7 @@ interface ResultDataMap {
18
18
  LicenceList: ResourceData.Licence[];
19
19
  MyCompany: ResourceData.MyCompany;
20
20
  MyUser: ResourceData.MyUser;
21
+ Page: ResourceData.Page;
21
22
  PagePage: ResourceData.PagePage;
22
23
  PageVersion: ResourceData.PageVersion;
23
24
  UserList: ResourceData.User[];
@@ -1,5 +1,5 @@
1
1
  /** @module ResourceDataQuery */
2
- export type ResourceDataQuerySelector = 'Agent' | 'AgentDataTag' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'PagePage' | 'PageVersion' | 'UserList';
2
+ export type ResourceDataQuerySelector = 'Agent' | 'AgentDataTagList' | 'AppConfig' | 'Asset' | 'AssetAppConfig' | 'AssetAppConfigList' | 'Branding' | 'CustomPropertyList' | 'GroupList' | 'LicenceList' | 'MyCompany' | 'MyUser' | 'Page' | 'PagePage' | 'PageVersion' | 'UserList';
3
3
  export interface ResourceDataQuery<TSelector = ResourceDataQuerySelector> {
4
4
  /**
5
5
  * String reference unique to the query call made by the client.
@@ -218,6 +218,10 @@ interface MyUserResourceData {
218
218
  support?: boolean;
219
219
  unreadMessagesCount?: number;
220
220
  }
221
+ interface PageResourceData {
222
+ applicationType?: 'sheet' | 'card' | 'report';
223
+ publicId: string;
224
+ }
221
225
  interface PagePageResourceData {
222
226
  order?: number | null;
223
227
  publicId: string;
@@ -247,6 +251,7 @@ export declare namespace ResourceData {
247
251
  type Licence = LicenceResourceData;
248
252
  type MyCompany = MyCompanyResourceData;
249
253
  type MyUser = MyUserResourceData;
254
+ type Page = PageResourceData;
250
255
  type PagePage = PagePageResourceData;
251
256
  type PageVersion = PageVersionResourceData;
252
257
  type User = UserResourceData;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixon-cdk/types",
3
- "version": "1.21.0-next.1",
3
+ "version": "1.21.0",
4
4
  "description": "",
5
5
  "main": "./dist/component-devkit/src/types/src/index.d.ts",
6
6
  "author": "",