@nomalism-com/types 0.45.50 → 0.45.52

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
@@ -5797,11 +5797,7 @@ __export(route_schema_exports117, {
5797
5797
  });
5798
5798
  import joi118 from "joi";
5799
5799
  var printLocationsBody = joi118.object({
5800
- locations_ids: joi118.array().items(joi118.string().required()).required(),
5801
- printer: joi118.object({
5802
- id: joi118.string().uuid().required(),
5803
- name: joi118.string().required()
5804
- }).required()
5800
+ locations_ids: joi118.array().items(joi118.string().required()).required()
5805
5801
  }).messages(messages);
5806
5802
 
5807
5803
  // src/index.ts
package/dist/index.js CHANGED
@@ -5797,11 +5797,7 @@ __export(route_schema_exports117, {
5797
5797
  });
5798
5798
  import joi118 from "joi";
5799
5799
  var printLocationsBody = joi118.object({
5800
- locations_ids: joi118.array().items(joi118.string().required()).required(),
5801
- printer: joi118.object({
5802
- id: joi118.string().uuid().required(),
5803
- name: joi118.string().required()
5804
- }).required()
5800
+ locations_ids: joi118.array().items(joi118.string().required()).required()
5805
5801
  }).messages(messages);
5806
5802
 
5807
5803
  // src/index.ts
@@ -8,6 +8,6 @@ export interface IPrintLocations {
8
8
  };
9
9
  }
10
10
  export interface IRepository {
11
- printLocationsPdf(data: IPrintLocations): Promise<void>;
11
+ printLocationsPdf(data: string[]): Promise<void>;
12
12
  }
13
13
  export type IController = IShared.IEntityWithUserToken<IRepository>;
@@ -1,3 +1,2 @@
1
1
  import joi from 'joi';
2
- import { IPrintLocations } from './interface';
3
- export declare const printLocationsBody: joi.ObjectSchema<IPrintLocations>;
2
+ export declare const printLocationsBody: 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.45.50",
4
+ "version": "0.45.52",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",