@nomalism-com/types 0.43.38 → 0.43.40

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.
@@ -15,6 +15,5 @@ export interface IUpdateRequest {
15
15
  }
16
16
  export interface IRepository {
17
17
  update(data: IUpdateRequest): Promise<void>;
18
- findByOwnerId(selector: IShared.IFindByOwnerIdRequest): Promise<Entity[]>;
19
18
  }
20
19
  export type IController = IShared.IEntityWithUserToken<IRepository>;
@@ -20,6 +20,5 @@ export interface IUpdateRequest {
20
20
  }
21
21
  export interface IRepository {
22
22
  update(data: IUpdateRequest): Promise<void>;
23
- findByOwnerId(selector: IShared.IFindByOwnerIdRequest): Promise<Entity[]>;
24
23
  }
25
24
  export type IController = IShared.IEntityWithUserToken<IRepository>;
@@ -1,2 +1,3 @@
1
1
  import joi from 'joi';
2
+ export declare const createBody: joi.ObjectSchema<any>;
2
3
  export declare const sendEmailDocumentBody: joi.ObjectSchema<any>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.43.38",
4
+ "version": "0.43.40",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",