hububb-models 1.0.112 → 1.0.113

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.
@@ -75,6 +75,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
75
75
  adults: import("zod").ZodOptional<import("zod").ZodNumber>;
76
76
  children: import("zod").ZodOptional<import("zod").ZodNumber>;
77
77
  inboxId: import("zod").ZodOptional<import("zod").ZodNumber>;
78
+ checkedInMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
79
+ checkedOutMark: import("zod").ZodOptional<import("zod").ZodType<import("@firebase/firestore-types").Timestamp, import("zod").ZodTypeDef, import("@firebase/firestore-types").Timestamp>>;
78
80
  }, "strip", import("zod").ZodTypeAny, {
79
81
  id: string;
80
82
  source?: string | undefined;
@@ -114,6 +116,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
114
116
  guests?: number | undefined;
115
117
  adults?: number | undefined;
116
118
  inboxId?: number | undefined;
119
+ checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
120
+ checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
117
121
  }, {
118
122
  id: string;
119
123
  source?: string | undefined;
@@ -153,6 +157,8 @@ export declare const ReservationSchema: import("zod").ZodObject<{
153
157
  guests?: number | undefined;
154
158
  adults?: number | undefined;
155
159
  inboxId?: number | undefined;
160
+ checkedInMark?: import("@firebase/firestore-types").Timestamp | undefined;
161
+ checkedOutMark?: import("@firebase/firestore-types").Timestamp | undefined;
156
162
  }>;
157
163
  export declare const reservationCreateSchema: import("zod").ZodObject<{
158
164
  booker: import("zod").ZodObject<{
@@ -45,6 +45,8 @@ exports.ReservationSchema = (0, zod_1.object)({
45
45
  adults: (0, zod_1.optional)((0, zod_1.number)()),
46
46
  children: (0, zod_1.optional)((0, zod_1.number)()),
47
47
  inboxId: (0, zod_1.optional)((0, zod_1.number)()),
48
+ checkedInMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
49
+ checkedOutMark: (0, zod_1.optional)(helpers_1.firestoreTimestampSchema),
48
50
  });
49
51
  const bookerSchema = (0, zod_1.object)({
50
52
  firstName: (0, zod_1.string)().min(1, "First name is required"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hububb-models",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "description": "Models for Hububb application",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",