@nomalism-com/types 0.18.30 → 0.18.32

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.
@@ -107,8 +107,7 @@ export interface IRepository {
107
107
  findPaginated(selector: IFindPaginatedRequest): Promise<IFindWithPaginationResponse>;
108
108
  findByEmail(email: string): Promise<IFindByEmailResponse | null>;
109
109
  resetPassword(id: string, data: IUpdatePassword): Promise<Users>;
110
- softDelete(user_id: string): Promise<boolean>;
111
- restoreDelete(user_id: string): Promise<boolean>;
110
+ removeAccess(user_id: string): Promise<boolean>;
112
111
  create(data: ICreateRequest): Promise<IFindResponse>;
113
112
  update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IFindResponse | null>;
114
113
  deleteOne(selector: IShared.IFindByIdRequest): Promise<IFindResponse | null>;
@@ -6,7 +6,6 @@ export type Users = {
6
6
  password: string | null;
7
7
  created_at: Date;
8
8
  updated_at: Date;
9
- deleted_at: Date | null;
10
9
  created_by: string;
11
10
  updated_by: string;
12
11
  origin_id: string | null;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.18.30",
12
+ "version": "0.18.32",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [