@nomalism-com/types 0.45.3 → 0.45.4

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.
@@ -27,5 +27,6 @@ export interface IRepository {
27
27
  createOrUpdate(data: ICreateOrUpdateRequest): Promise<string>;
28
28
  deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
29
29
  deleteByDocumentHeader(selector: IShared.IFindByIdRequest): Promise<void>;
30
+ publicAuthenticate(selector: IShared.IFindByIdRequest): Promise<string | null>;
30
31
  }
31
32
  export type IController = IShared.IEntityWithUserToken<IRepository>;
@@ -132,6 +132,5 @@ export interface IRepository {
132
132
  findClientOrProvider(data: IFindClientOrProviderRequest): Promise<IFindClientOrProviderResponse[]>;
133
133
  findForGmail(data: IFindForGmailRequest): Promise<IFindForGmailResponse | null>;
134
134
  publicUpdate(selector: IShared.IFindByIdRequest, data: IPublicUpdateRequest): Promise<void>;
135
- publicAuthenticate(selector: IShared.IFindByIdRequest): Promise<string | null>;
136
135
  }
137
136
  export type IController = IShared.IEntityWithUserToken<IRepository>;
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.45.3",
4
+ "version": "0.45.4",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",