@nomalism-com/types 0.11.36 → 0.11.37

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.
@@ -230,7 +230,7 @@ export interface IRepository {
230
230
  bulkUpdate(data: IBulkUpdateRequest): Promise<IShared.IUpdateManyResponse>;
231
231
  create(data: ICreateRequest): Promise<IFindResponse>;
232
232
  update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IFindResponse | null>;
233
- deleteOne(selector: IShared.IFindByIdRequest): Promise<IFindResponse | null>;
233
+ deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
234
234
  duplicateProduct(selector: IShared.IFindByIdRequest, body: IDuplicateProductRequest): Promise<string>;
235
235
  }
236
236
  export type IApi = Omit<IRepository, 'getLabelData'>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.11.36",
12
+ "version": "0.11.37",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [