@nomalism-com/types 0.40.111 → 0.40.112
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.
|
@@ -42,6 +42,6 @@ export interface ICreateRequest {
|
|
|
42
42
|
}
|
|
43
43
|
export interface IRepository {
|
|
44
44
|
find(): Promise<IFindResponse[]>;
|
|
45
|
-
createOrUpdate(data: ICreateRequest): Promise<
|
|
45
|
+
createOrUpdate(data: ICreateRequest): Promise<void>;
|
|
46
46
|
}
|
|
47
47
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -29,7 +29,7 @@ export interface IFindChatSubscriberResponse {
|
|
|
29
29
|
chat_type: IChatType;
|
|
30
30
|
}
|
|
31
31
|
export interface IRepository {
|
|
32
|
-
createOrUpdate(data: ICreateOrUpdateRequest): Promise<
|
|
32
|
+
createOrUpdate(data: ICreateOrUpdateRequest): Promise<string>;
|
|
33
33
|
findById(selector: IShared.IFindByIdRequest): Promise<IFindByIdResponse>;
|
|
34
34
|
findByOwner(selector: IFindRequest): Promise<IFindByOwnerResponse[]>;
|
|
35
35
|
clientWebAppFindByOwner(selector: IFindRequest): Promise<IFindChatSubscriberResponse>;
|
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.40.
|
|
4
|
+
"version": "0.40.112",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|