@nomalism-com/types 0.40.33 → 0.40.35
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.
package/dist/index.cjs
CHANGED
|
@@ -1178,7 +1178,7 @@ var findByPostalCodeBody = joi5.object().keys(findByPostalCodeBodyKeys).messages
|
|
|
1178
1178
|
var route_schema_exports5 = {};
|
|
1179
1179
|
__export(route_schema_exports5, {
|
|
1180
1180
|
createBody: () => createBody5,
|
|
1181
|
-
|
|
1181
|
+
markAllClientReadUnreadParams: () => markAllClientReadUnreadParams,
|
|
1182
1182
|
updateBody: () => updateBody4
|
|
1183
1183
|
});
|
|
1184
1184
|
import joi6 from "joi";
|
|
@@ -1202,11 +1202,11 @@ var updateBodyKeys4 = {
|
|
|
1202
1202
|
username: joi6.string().optional()
|
|
1203
1203
|
};
|
|
1204
1204
|
var updateBody4 = joi6.object().keys(updateBodyKeys4).messages(messages);
|
|
1205
|
-
var
|
|
1205
|
+
var markAllClientReadUnreadParamsKeys = {
|
|
1206
1206
|
owner_id: joi6.string().uuid().required(),
|
|
1207
1207
|
client_read: joi6.boolean().required()
|
|
1208
1208
|
};
|
|
1209
|
-
var
|
|
1209
|
+
var markAllClientReadUnreadParams = joi6.object().keys(markAllClientReadUnreadParamsKeys).messages(messages);
|
|
1210
1210
|
|
|
1211
1211
|
// src/modules/user/commissioner/interface.ts
|
|
1212
1212
|
var interface_exports5 = {};
|
package/dist/index.js
CHANGED
|
@@ -1178,7 +1178,7 @@ var findByPostalCodeBody = joi5.object().keys(findByPostalCodeBodyKeys).messages
|
|
|
1178
1178
|
var route_schema_exports5 = {};
|
|
1179
1179
|
__export(route_schema_exports5, {
|
|
1180
1180
|
createBody: () => createBody5,
|
|
1181
|
-
|
|
1181
|
+
markAllClientReadUnreadParams: () => markAllClientReadUnreadParams,
|
|
1182
1182
|
updateBody: () => updateBody4
|
|
1183
1183
|
});
|
|
1184
1184
|
import joi6 from "joi";
|
|
@@ -1202,11 +1202,11 @@ var updateBodyKeys4 = {
|
|
|
1202
1202
|
username: joi6.string().optional()
|
|
1203
1203
|
};
|
|
1204
1204
|
var updateBody4 = joi6.object().keys(updateBodyKeys4).messages(messages);
|
|
1205
|
-
var
|
|
1205
|
+
var markAllClientReadUnreadParamsKeys = {
|
|
1206
1206
|
owner_id: joi6.string().uuid().required(),
|
|
1207
1207
|
client_read: joi6.boolean().required()
|
|
1208
1208
|
};
|
|
1209
|
-
var
|
|
1209
|
+
var markAllClientReadUnreadParams = joi6.object().keys(markAllClientReadUnreadParamsKeys).messages(messages);
|
|
1210
1210
|
|
|
1211
1211
|
// src/modules/user/commissioner/interface.ts
|
|
1212
1212
|
var interface_exports5 = {};
|
|
@@ -15,12 +15,12 @@ export interface IChatBalloon {
|
|
|
15
15
|
chat?: Pick<Entity, 'message'> & {
|
|
16
16
|
id?: string;
|
|
17
17
|
read?: boolean;
|
|
18
|
-
client_read?:
|
|
18
|
+
client_read?: boolean;
|
|
19
19
|
};
|
|
20
20
|
file?: Pick<File, 'multimedia_id' | 'filename'> & {
|
|
21
21
|
id?: string;
|
|
22
22
|
read?: boolean;
|
|
23
|
-
client_read?:
|
|
23
|
+
client_read?: boolean;
|
|
24
24
|
};
|
|
25
25
|
created_at: Date;
|
|
26
26
|
created_by: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import joi from 'joi';
|
|
2
2
|
export declare const createBody: joi.ObjectSchema<any>;
|
|
3
3
|
export declare const updateBody: joi.ObjectSchema<any>;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const markAllClientReadUnreadParams: 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.40.
|
|
4
|
+
"version": "0.40.35",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|