hububb-saas-shared 1.2.23 → 1.2.24

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.
@@ -38,6 +38,7 @@ export declare const taskSchema: import("zod").ZodObject<{
38
38
  cleaningDetergentFillPercentage: import("zod").ZodOptional<import("zod").ZodNumber>;
39
39
  isBlocked: import("zod").ZodOptional<import("zod").ZodBoolean>;
40
40
  blockReason: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof TaskBlockReason>>;
41
+ parentTaskId: import("zod").ZodOptional<import("zod").ZodNumber>;
41
42
  }, "strip", import("zod").ZodTypeAny, {
42
43
  id: number;
43
44
  priority: TaskPriority;
@@ -77,6 +78,7 @@ export declare const taskSchema: import("zod").ZodObject<{
77
78
  cleaningDetergentFillPercentage?: number | undefined;
78
79
  isBlocked?: boolean | undefined;
79
80
  blockReason?: TaskBlockReason | undefined;
81
+ parentTaskId?: number | undefined;
80
82
  }, {
81
83
  id: number;
82
84
  priority: TaskPriority;
@@ -116,4 +118,5 @@ export declare const taskSchema: import("zod").ZodObject<{
116
118
  cleaningDetergentFillPercentage?: number | undefined;
117
119
  isBlocked?: boolean | undefined;
118
120
  blockReason?: TaskBlockReason | undefined;
121
+ parentTaskId?: number | undefined;
119
122
  }>;
@@ -42,4 +42,5 @@ exports.taskSchema = (0, zod_1.object)({
42
42
  cleaningDetergentFillPercentage: (0, zod_1.number)().int().optional(),
43
43
  isBlocked: (0, zod_1.boolean)().optional(),
44
44
  blockReason: (0, zod_1.nativeEnum)(enums_1.TaskBlockReason).optional(),
45
+ parentTaskId: (0, zod_1.number)().int().optional(),
45
46
  });
@@ -60,4 +60,6 @@ export interface Task extends infer<typeof taskSchema> {
60
60
  reportingVideos?: TaskReportingVideo[];
61
61
  reportingPhotos?: TaskReportingPhoto[];
62
62
  pricing?: TaskPricing;
63
+ parentTask?: Task;
64
+ followUpTasks?: Task[];
63
65
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.2.23",
4
+ "version": "1.2.24",
5
5
  "description": "This is a shared package for the hububb saas project",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",