hh-contracts 0.0.107 → 0.0.108

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.
@@ -40,8 +40,6 @@ const hotel_models_1 = require("../hotel.models");
40
40
  const hotels_api_1 = require("../hotels.api");
41
41
  const BaseQuerySchema = hotel_models_1.HotelListItemSchema.pick({
42
42
  status: true,
43
- category: true,
44
- stars: true,
45
43
  }).partial();
46
44
  const OrderBySchema = hotel_models_1.HotelListItemSchema.omit({
47
45
  id: true,
@@ -70,6 +70,8 @@ exports.HotelDetailSchema = exports.HotelPersistedSchema.extend({
70
70
  });
71
71
  exports.HotelListItemSchema = exports.HotelPersistedSchema.omit({
72
72
  chainId: true,
73
+ category: true,
74
+ stars: true,
73
75
  metadata: true,
74
76
  timezone: true,
75
77
  currency: true,
@@ -5,8 +5,6 @@ import { HOTELS_API, HOTELS_CONTROLLER } from '../hotels.api';
5
5
 
6
6
  const BaseQuerySchema = HotelListItemSchema.pick({
7
7
  status: true,
8
- category: true,
9
- stars: true,
10
8
  }).partial();
11
9
 
12
10
  const OrderBySchema = HotelListItemSchema.omit({
@@ -40,4 +38,4 @@ export namespace FindManyHotelsContract {
40
38
 
41
39
  export const ResponseSchema = FindManyHotelsContractResponseSchema;
42
40
  export type TResponse = z.infer<typeof ResponseSchema>;
43
- }
41
+ }
@@ -56,6 +56,8 @@ export type THotelDetail = z.infer<typeof HotelDetailSchema>;
56
56
 
57
57
  export const HotelListItemSchema = HotelPersistedSchema.omit({
58
58
  chainId: true,
59
+ category: true,
60
+ stars: true,
59
61
  metadata: true,
60
62
  timezone: true,
61
63
  currency: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hh-contracts",
3
- "version": "0.0.107",
3
+ "version": "0.0.108",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {