@wacht/jsx 1.0.0-beta.47 → 1.0.0-beta.48

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 CHANGED
@@ -159,8 +159,16 @@ declare type AgentSearchOptions = {
159
159
  declare type AgentThreadHookOptions = {
160
160
  enabled?: boolean;
161
161
  limit?: number;
162
+ /**
163
+ * Order in which thread-assignment rows are returned. `"asc"` (default) =
164
+ * oldest first; `"desc"` = newest first. Combine with `limit: 1` to fetch
165
+ * only the latest assignment.
166
+ */
167
+ order?: AssignmentListOrder;
162
168
  };
163
169
 
170
+ declare type AssignmentListOrder = "asc" | "desc";
171
+
164
172
  export declare function AuthFormImage({ placement, }: {
165
173
  placement?: "center" | "left" | "right";
166
174
  }): JSX.Element | null;
@@ -667,6 +675,16 @@ declare interface ProfileUpdateData {
667
675
 
668
676
  declare type ProjectTaskDetailOptions = {
669
677
  includeArchived?: boolean;
678
+ /**
679
+ * Order in which assignments are returned. `"asc"` (default) lists oldest
680
+ * first; `"desc"` lists newest first which is convenient when you only need
681
+ * the most recent assignment (combine with `assignmentsLimit: 1`).
682
+ */
683
+ assignmentsOrder?: AssignmentListOrder;
684
+ /**
685
+ * Page size for the assignments list. Default 40, max 200 (server-side cap).
686
+ */
687
+ assignmentsLimit?: number;
670
688
  };
671
689
 
672
690
  declare type ProjectTaskListOptions = {