@locusai/shared 0.9.17 → 0.10.1

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,7 +835,8 @@ 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()
838
+ order: import_zod12.z.number().optional(),
839
+ tier: import_zod12.z.number().int().min(0).optional()
839
840
  });
840
841
  var CreateTaskSchema = import_zod12.z.object({
841
842
  title: import_zod12.z.string().min(1, "Title is required").max(200),
@@ -850,7 +851,8 @@ var CreateTaskSchema = import_zod12.z.object({
850
851
  sprintId: import_zod12.z.string().nullable().optional(),
851
852
  acceptanceChecklist: import_zod12.z.array(AcceptanceItemSchema).optional(),
852
853
  docIds: import_zod12.z.array(import_zod12.z.string()).optional(),
853
- order: import_zod12.z.number().optional()
854
+ order: import_zod12.z.number().optional(),
855
+ tier: import_zod12.z.number().int().min(0).optional()
854
856
  });
855
857
  var UpdateTaskSchema = TaskSchema.partial().omit({
856
858
  id: true,
@@ -59,6 +59,7 @@ 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>;
62
63
  }, z.core.$strip>;
63
64
  export type Task = z.infer<typeof TaskSchema>;
64
65
  export declare const CreateTaskSchema: z.ZodObject<{
@@ -79,6 +80,7 @@ export declare const CreateTaskSchema: z.ZodObject<{
79
80
  }, z.core.$strip>>>;
80
81
  docIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
82
  order: z.ZodOptional<z.ZodNumber>;
83
+ tier: z.ZodOptional<z.ZodNumber>;
82
84
  }, z.core.$strip>;
83
85
  export type CreateTask = z.infer<typeof CreateTaskSchema>;
84
86
  export declare const UpdateTaskSchema: z.ZodObject<{
@@ -91,6 +93,7 @@ export declare const UpdateTaskSchema: z.ZodObject<{
91
93
  assigneeRole: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof AssigneeRole>>>>;
92
94
  assignedTo: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
93
95
  parentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodUUID>>>;
96
+ tier: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
94
97
  title: z.ZodOptional<z.ZodString>;
95
98
  dueDate: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
96
99
  prUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -172,6 +175,7 @@ export declare const TaskResponseSchema: z.ZodObject<{
172
175
  }, z.core.$strip>>>;
173
176
  }, z.core.$strip>>;
174
177
  order: z.ZodOptional<z.ZodNumber>;
178
+ tier: z.ZodOptional<z.ZodNumber>;
175
179
  }, z.core.$strip>;
176
180
  }, z.core.$strip>;
177
181
  export type TaskResponse = z.infer<typeof TaskResponseSchema>;
@@ -229,6 +233,7 @@ export declare const TasksResponseSchema: z.ZodObject<{
229
233
  }, z.core.$strip>>>;
230
234
  }, z.core.$strip>>;
231
235
  order: z.ZodOptional<z.ZodNumber>;
236
+ tier: z.ZodOptional<z.ZodNumber>;
232
237
  }, z.core.$strip>>;
233
238
  }, z.core.$strip>;
234
239
  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,CA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