heartraite 1.0.160 → 1.0.161

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.
@@ -6,3 +6,8 @@ export declare enum FeedbackType {
6
6
  QUESTION = "question",
7
7
  OTHER = "other"
8
8
  }
9
+ export declare enum FeedbackHandlingStatus {
10
+ NEW = "NEW",
11
+ RESPONDED = "RESPONDED",
12
+ CLOSED = "CLOSED"
13
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FeedbackType = void 0;
3
+ exports.FeedbackHandlingStatus = exports.FeedbackType = void 0;
4
4
  var FeedbackType;
5
5
  (function (FeedbackType) {
6
6
  FeedbackType["BUG"] = "bug";
@@ -10,3 +10,9 @@ var FeedbackType;
10
10
  FeedbackType["QUESTION"] = "question";
11
11
  FeedbackType["OTHER"] = "other";
12
12
  })(FeedbackType || (exports.FeedbackType = FeedbackType = {}));
13
+ var FeedbackHandlingStatus;
14
+ (function (FeedbackHandlingStatus) {
15
+ FeedbackHandlingStatus["NEW"] = "NEW";
16
+ FeedbackHandlingStatus["RESPONDED"] = "RESPONDED";
17
+ FeedbackHandlingStatus["CLOSED"] = "CLOSED";
18
+ })(FeedbackHandlingStatus || (exports.FeedbackHandlingStatus = FeedbackHandlingStatus = {}));
@@ -1,4 +1,4 @@
1
- import { FeedbackType } from "../enum";
1
+ import { FeedbackHandlingStatus, FeedbackType } from "../enum";
2
2
  export type Feedback = {
3
3
  id: string;
4
4
  type: FeedbackType;
@@ -6,6 +6,7 @@ export type Feedback = {
6
6
  context: string;
7
7
  createdBy: string;
8
8
  created: string;
9
+ handlingStatus?: FeedbackHandlingStatus;
9
10
  metadata?: Record<string, any>;
10
11
  rating?: number;
11
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.160",
3
+ "version": "1.0.161",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -6,3 +6,9 @@ export enum FeedbackType {
6
6
  QUESTION = "question",
7
7
  OTHER = "other",
8
8
  }
9
+
10
+ export enum FeedbackHandlingStatus {
11
+ NEW = "NEW",
12
+ RESPONDED = "RESPONDED",
13
+ CLOSED = "CLOSED",
14
+ }
@@ -1,4 +1,4 @@
1
- import { FeedbackType } from "../enum";
1
+ import { FeedbackHandlingStatus, FeedbackType } from "../enum";
2
2
 
3
3
  export type Feedback = {
4
4
  id: string;
@@ -7,6 +7,7 @@ export type Feedback = {
7
7
  context: string;
8
8
  createdBy: string;
9
9
  created: string;
10
+ handlingStatus?: FeedbackHandlingStatus;
10
11
  metadata?: Record<string, any>;
11
12
  rating?: number;
12
13
  };