@nomalism-com/types 0.29.26 → 0.29.28

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.
@@ -37,12 +37,12 @@ export interface ITaskHistoryResponse {
37
37
  changedBy: string;
38
38
  }
39
39
  export type IFindResponse = Omit<Entity, "history"> & {
40
- task_read: string[];
40
+ task_read: boolean;
41
41
  };
42
42
  export interface IFindWithMessagesResponse extends Entity {
43
43
  messages: TaskMessage[];
44
44
  document_headers: Pick<DocumentHeader, "id" | "document_number">[];
45
- task_read: string[];
45
+ task_read: boolean;
46
46
  }
47
47
  export type IFindTasksRequest = {
48
48
  archived?: boolean;
@@ -53,7 +53,7 @@ export type IFindByOwnerResponse = {
53
53
  to: string | null;
54
54
  task: string;
55
55
  created_at: Date;
56
- task_read: string[];
56
+ task_read: boolean;
57
57
  };
58
58
  export interface IRepository {
59
59
  find(selector: IFindTasksRequest): Promise<IFindResponse[]>;
@@ -19,6 +19,7 @@ export interface IPreSaleProduct {
19
19
  thumbnail: string | null;
20
20
  measure: string;
21
21
  state: IProductState;
22
+ location: string | null;
22
23
  promotions: DocumentLine.IPromotions[];
23
24
  }
24
25
  export interface IEntityExtended extends Entity {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.29.26",
12
+ "version": "0.29.28",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [