@techtulp/choremanji-types 1.1.1 → 1.1.3

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.
@@ -0,0 +1,5 @@
1
+ export interface AssigneeType {
2
+ id: string;
3
+ name: string;
4
+ avatar: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -2,8 +2,10 @@ export * from './frequency';
2
2
  export * from './gender';
3
3
  export * from './user-role';
4
4
  export * from './status';
5
- export * from './error-type';
5
+ export * from './error.type';
6
6
  export * from './get-many.type';
7
7
  export * from './task.type';
8
8
  export * from './task-track.type';
9
9
  export * from './task-track-section.type';
10
+ export * from './point-source';
11
+ export * from './assignee.type';
package/dist/index.js CHANGED
@@ -18,8 +18,10 @@ __exportStar(require("./frequency"), exports);
18
18
  __exportStar(require("./gender"), exports);
19
19
  __exportStar(require("./user-role"), exports);
20
20
  __exportStar(require("./status"), exports);
21
- __exportStar(require("./error-type"), exports);
21
+ __exportStar(require("./error.type"), exports);
22
22
  __exportStar(require("./get-many.type"), exports);
23
23
  __exportStar(require("./task.type"), exports);
24
24
  __exportStar(require("./task-track.type"), exports);
25
25
  __exportStar(require("./task-track-section.type"), exports);
26
+ __exportStar(require("./point-source"), exports);
27
+ __exportStar(require("./assignee.type"), exports);
@@ -0,0 +1,4 @@
1
+ export declare enum PointSource {
2
+ TASK_COMPLETED = "TASK_COMPLETED",
3
+ REWARD_REDEEMED = "REWARD_REDEEMED"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PointSource = void 0;
4
+ var PointSource;
5
+ (function (PointSource) {
6
+ PointSource["TASK_COMPLETED"] = "TASK_COMPLETED";
7
+ PointSource["REWARD_REDEEMED"] = "REWARD_REDEEMED";
8
+ })(PointSource || (exports.PointSource = PointSource = {}));
@@ -1,8 +1,9 @@
1
- import { Status, TaskType } from '.';
1
+ import { AssigneeType, Status, TaskType } from '.';
2
2
  export interface TaskTrackType {
3
3
  id: string;
4
4
  start_date: string;
5
5
  end_date: string;
6
6
  status: Status;
7
7
  task: TaskType;
8
+ assignee: AssigneeType;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@techtulp/choremanji-types",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": ["dist"],
File without changes
File without changes