@nomalism-com/types 0.40.28 → 0.40.29

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,6 +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
+ markAllParams: () => markAllParams,
1181
1182
  updateBody: () => updateBody4
1182
1183
  });
1183
1184
  import joi6 from "joi";
@@ -1201,6 +1202,12 @@ var updateBodyKeys4 = {
1201
1202
  username: joi6.string().optional()
1202
1203
  };
1203
1204
  var updateBody4 = joi6.object().keys(updateBodyKeys4).messages(messages);
1205
+ var markAllParamsKeys = {
1206
+ owner_id: joi6.string().uuid().required(),
1207
+ read: joi6.boolean().required(),
1208
+ client_read: joi6.boolean().required()
1209
+ };
1210
+ var markAllParams = joi6.object().keys(markAllParamsKeys).messages(messages);
1204
1211
 
1205
1212
  // src/modules/user/commissioner/interface.ts
1206
1213
  var interface_exports5 = {};
package/dist/index.js CHANGED
@@ -1178,6 +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
+ markAllParams: () => markAllParams,
1181
1182
  updateBody: () => updateBody4
1182
1183
  });
1183
1184
  import joi6 from "joi";
@@ -1201,6 +1202,12 @@ var updateBodyKeys4 = {
1201
1202
  username: joi6.string().optional()
1202
1203
  };
1203
1204
  var updateBody4 = joi6.object().keys(updateBodyKeys4).messages(messages);
1205
+ var markAllParamsKeys = {
1206
+ owner_id: joi6.string().uuid().required(),
1207
+ read: joi6.boolean().required(),
1208
+ client_read: joi6.boolean().required()
1209
+ };
1210
+ var markAllParams = joi6.object().keys(markAllParamsKeys).messages(messages);
1204
1211
 
1205
1212
  // src/modules/user/commissioner/interface.ts
1206
1213
  var interface_exports5 = {};
@@ -1,3 +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 markAllParams: 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.28",
4
+ "version": "0.40.29",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",