@socotra/ec-react-schemas 2.36.0-next.1 → 2.36.0-next.2
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.d.ts +3 -0
- package/dist/index.es.js +7 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -12892,6 +12892,7 @@ export declare const SearchTasksRequestBffSchema: z.ZodObject<{
|
|
|
12892
12892
|
deadlineTimeStart: z.ZodOptional<z.ZodString>;
|
|
12893
12893
|
deadlineTimeEnd: z.ZodOptional<z.ZodString>;
|
|
12894
12894
|
taskState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12895
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12895
12896
|
}, z.core.$strip>;
|
|
12896
12897
|
|
|
12897
12898
|
export declare type SearchTermRequest = z.infer<typeof SearchTermRequestSchema>;
|
|
@@ -13610,6 +13611,7 @@ export declare const TaskListSortByEnumSchema: z.ZodEnum<{
|
|
|
13610
13611
|
assignedTo: "assignedTo";
|
|
13611
13612
|
taskState: "taskState";
|
|
13612
13613
|
taskNumber: "taskNumber";
|
|
13614
|
+
labels: "labels";
|
|
13613
13615
|
taskType: "taskType";
|
|
13614
13616
|
}>;
|
|
13615
13617
|
|
|
@@ -13954,6 +13956,7 @@ export declare const TaskSearchResultSummarySchema: z.ZodObject<{
|
|
|
13954
13956
|
task_type: z.ZodString;
|
|
13955
13957
|
tag: z.ZodOptional<z.ZodString>;
|
|
13956
13958
|
source: z.ZodOptional<z.ZodString>;
|
|
13959
|
+
labels: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13957
13960
|
}, z.core.$strip>;
|
|
13958
13961
|
|
|
13959
13962
|
export declare type TaskStateEnum = z.infer<typeof TaskStateEnumSchema>;
|
package/dist/index.es.js
CHANGED
|
@@ -22435,7 +22435,8 @@ const CT = f(["asc", "desc"]), ZT = f(["none", "required", "excluded"]), xI = ZT
|
|
|
22435
22435
|
"taskType",
|
|
22436
22436
|
"deadlineTime",
|
|
22437
22437
|
"taskState",
|
|
22438
|
-
"referenceType"
|
|
22438
|
+
"referenceType",
|
|
22439
|
+
"labels"
|
|
22439
22440
|
]), OA = f(["asc", "desc"]), jA = o({
|
|
22440
22441
|
assignedTo: d(e()).optional(),
|
|
22441
22442
|
taskNumber: d(e()).optional(),
|
|
@@ -22443,7 +22444,8 @@ const CT = f(["asc", "desc"]), ZT = f(["none", "required", "excluded"]), xI = ZT
|
|
|
22443
22444
|
taskType: d(e()).optional(),
|
|
22444
22445
|
deadlineTimeStart: e().optional(),
|
|
22445
22446
|
deadlineTimeEnd: e().optional(),
|
|
22446
|
-
taskState: d(e()).optional()
|
|
22447
|
+
taskState: d(e()).optional(),
|
|
22448
|
+
labels: d(e()).optional()
|
|
22447
22449
|
}), CA = o({
|
|
22448
22450
|
assigned_to: e().optional(),
|
|
22449
22451
|
deadline_time: e().optional(),
|
|
@@ -22458,7 +22460,9 @@ const CT = f(["asc", "desc"]), ZT = f(["none", "required", "excluded"]), xI = ZT
|
|
|
22458
22460
|
task_state: ln,
|
|
22459
22461
|
task_type: e(),
|
|
22460
22462
|
tag: e().optional(),
|
|
22461
|
-
source: e().optional()
|
|
22463
|
+
source: e().optional(),
|
|
22464
|
+
// The kernel returns null, not [], for a task that has never had a label.
|
|
22465
|
+
labels: d(e()).nullish()
|
|
22462
22466
|
}), Lk = Kr.partial({
|
|
22463
22467
|
createdBy: !0,
|
|
22464
22468
|
updatedBy: !0,
|