@locusai/shared 0.10.6 → 0.11.0

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.js CHANGED
@@ -835,8 +835,7 @@ var TaskSchema = BaseEntitySchema.extend({
835
835
  comments: import_zod12.z.array(CommentSchema).optional(),
836
836
  activityLog: import_zod12.z.array(EventSchema).optional(),
837
837
  docs: import_zod12.z.array(DocSchema),
838
- order: import_zod12.z.number().optional(),
839
- tier: import_zod12.z.number().int().min(0).optional()
838
+ order: import_zod12.z.number().optional()
840
839
  });
841
840
  var CreateTaskSchema = import_zod12.z.object({
842
841
  title: import_zod12.z.string().min(1, "Title is required").max(200),
@@ -851,8 +850,7 @@ var CreateTaskSchema = import_zod12.z.object({
851
850
  sprintId: import_zod12.z.string().nullable().optional(),
852
851
  acceptanceChecklist: import_zod12.z.array(AcceptanceItemSchema).optional(),
853
852
  docIds: import_zod12.z.array(import_zod12.z.string()).optional(),
854
- order: import_zod12.z.number().optional(),
855
- tier: import_zod12.z.number().int().min(0).optional()
853
+ order: import_zod12.z.number().optional()
856
854
  });
857
855
  var UpdateTaskSchema = TaskSchema.partial().omit({
858
856
  id: true,
@@ -59,7 +59,6 @@ export declare const TaskSchema: z.ZodObject<{
59
59
  }, z.core.$strip>>>;
60
60
  }, z.core.$strip>>;
61
61
  order: z.ZodOptional<z.ZodNumber>;
62
- tier: z.ZodOptional<z.ZodNumber>;
63
62
  }, z.core.$strip>;
64
63
  export type Task = z.infer<typeof TaskSchema>;
65
64
  export declare const CreateTaskSchema: z.ZodObject<{
@@ -80,7 +79,6 @@ export declare const CreateTaskSchema: z.ZodObject<{
80
79
  }, z.core.$strip>>>;
81
80
  docIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
82
81
  order: z.ZodOptional<z.ZodNumber>;
83
- tier: z.ZodOptional<z.ZodNumber>;
84
82
  }, z.core.$strip>;
85
83
  export type CreateTask = z.infer<typeof CreateTaskSchema>;
86
84
  export declare const UpdateTaskSchema: z.ZodObject<{
@@ -93,7 +91,6 @@ export declare const UpdateTaskSchema: z.ZodObject<{
93
91
  assigneeRole: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof AssigneeRole>>>>;
94
92
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
95
93
  parentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
96
- tier: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
97
94
  title: z.ZodOptional<z.ZodString>;
98
95
  dueDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
99
96
  prUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -175,7 +172,6 @@ export declare const TaskResponseSchema: z.ZodObject<{
175
172
  }, z.core.$strip>>>;
176
173
  }, z.core.$strip>>;
177
174
  order: z.ZodOptional<z.ZodNumber>;
178
- tier: z.ZodOptional<z.ZodNumber>;
179
175
  }, z.core.$strip>;
180
176
  }, z.core.$strip>;
181
177
  export type TaskResponse = z.infer<typeof TaskResponseSchema>;
@@ -233,7 +229,6 @@ export declare const TasksResponseSchema: z.ZodObject<{
233
229
  }, z.core.$strip>>>;
234
230
  }, z.core.$strip>>;
235
231
  order: z.ZodOptional<z.ZodNumber>;
236
- tier: z.ZodOptional<z.ZodNumber>;
237
232
  }, z.core.$strip>>;
238
233
  }, z.core.$strip>;
239
234
  export type TasksResponse = z.infer<typeof TasksResponseSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"task.d.ts","sourceRoot":"","sources":["../../src/models/task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAIlE,eAAO,MAAM,oBAAoB;;;;iBAI/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC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