@telia-ace/knowledge-widget-types-grid 1.0.34 → 1.0.35-next.1

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.
@@ -1,6 +1,6 @@
1
1
  import { ServiceClient } from '@telia-ace/knowledge-serviceclient';
2
2
  import { Container, EventManager } from '@webprovisions/platform';
3
- export declare type Subscriber = (...args: any[]) => void;
3
+ export type Subscriber = (...args: any[]) => void;
4
4
  export declare enum DataType {
5
5
  Guide = "guide",
6
6
  Guides = "guides",
@@ -14,7 +14,7 @@ export declare enum DataType {
14
14
  Tags = "tags",
15
15
  TagsOnGuides = "tagsonguides"
16
16
  }
17
- export declare type DataError = {
17
+ export type DataError = {
18
18
  status: number;
19
19
  message: string;
20
20
  };
@@ -33,7 +33,7 @@ export declare enum FeedbackType {
33
33
  Positive = "Positive",
34
34
  Negative = "Negative"
35
35
  }
36
- export declare type QueryParameters = {
36
+ export type QueryParameters = {
37
37
  guideId?: string | number;
38
38
  categories?: string | number | string[] | number[];
39
39
  tagId?: string | number;
@@ -56,7 +56,7 @@ export declare enum SortingType {
56
56
  PUBLISHED_ASCENDING = "published-ascending",
57
57
  PUBLISHED_DESCENDING = "published-descending"
58
58
  }
59
- export declare type Query = {
59
+ export type Query = {
60
60
  params: QueryParameters;
61
61
  resolved: boolean;
62
62
  loading: boolean;
@@ -1,7 +1,7 @@
1
1
  import { ContactMethodType as ContactMethod } from '@telia-ace/knowledge-widget-adapters';
2
2
  import { Category, DialogItem, Guide, Notification, NotificationList, Tag } from '@telia-ace/knowledge-widget-core';
3
3
  import { DataError, ServiceClientQueryType } from './data-client';
4
- export declare type MatchResult = {
4
+ export type MatchResult = {
5
5
  guides: Guide[];
6
6
  matches: number;
7
7
  topNotifications: Notification[];
@@ -15,13 +15,13 @@ export declare type MatchResult = {
15
15
  matches: number;
16
16
  }[];
17
17
  };
18
- export declare type TagsResult = Tag[];
19
- export declare type CategoriesResult = {
18
+ export type TagsResult = Tag[];
19
+ export type CategoriesResult = {
20
20
  categories: Category[];
21
21
  matches: number;
22
22
  };
23
- export declare type NotificationResults = Pick<MatchResult, 'topNotifications' | 'middleNotifications' | 'bottomNotifications' | 'notificationLists'>;
24
- export declare type GuideResult = {
23
+ export type NotificationResults = Pick<MatchResult, 'topNotifications' | 'middleNotifications' | 'bottomNotifications' | 'notificationLists'>;
24
+ export type GuideResult = {
25
25
  guide: {
26
26
  id: string;
27
27
  title: string;
@@ -50,7 +50,7 @@ export declare type GuideResult = {
50
50
  tags: Tag[];
51
51
  error?: DataError;
52
52
  };
53
- export declare type ContactsResult = {
53
+ export type ContactsResult = {
54
54
  categories: Category[];
55
55
  contactMethods: ContactMethod[];
56
56
  topNotifications: Notification[];
@@ -58,7 +58,7 @@ export declare type ContactsResult = {
58
58
  bottomNotifications: Notification[];
59
59
  notificationLists: NotificationList[];
60
60
  };
61
- export declare type SubmissionResult = {
61
+ export type SubmissionResult = {
62
62
  contactMethod?: ContactMethod;
63
63
  valid: boolean;
64
64
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/knowledge-widget-types-grid",
3
- "version": "1.0.34",
3
+ "version": "1.0.35-next.1",
4
4
  "description": "Extended type definition for Grid widget.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
@@ -21,12 +21,12 @@
21
21
  },
22
22
  "sideEffects": false,
23
23
  "dependencies": {
24
- "@telia-ace/knowledge-serviceclient": "^1.0.12",
25
- "@telia-ace/knowledge-widget-adapters": "^1.0.33",
26
- "@telia-ace/knowledge-widget-core": "^1.0.23",
27
- "@telia-ace/widget-forms": "^1.0.24",
28
- "@telia-ace/widget-types-grid": "^1.0.26",
29
- "@telia-ace/widget-utilities": "^1.0.6",
24
+ "@telia-ace/knowledge-serviceclient": "^1.0.13-next.1",
25
+ "@telia-ace/knowledge-widget-adapters": "^1.0.34-next.1",
26
+ "@telia-ace/knowledge-widget-core": "^1.0.24-next.1",
27
+ "@telia-ace/widget-forms": "^1.0.25-next.1",
28
+ "@telia-ace/widget-types-grid": "^1.0.27-next.1",
29
+ "@telia-ace/widget-utilities": "^1.0.7-next.1",
30
30
  "@webprovisions/platform": "^1.1.2"
31
31
  },
32
32
  "scripts": {