@sqaoss/flowy 1.10.0 → 1.12.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.
@@ -116,10 +116,18 @@ export const TASK_DEPS = `query TaskDeps($id: String!) {
116
116
  }
117
117
  }`
118
118
 
119
- /** search.ts — full-text search with optional type/status/limit filters. */
119
+ /**
120
+ * search.ts — full-text search with optional type/status/limit filters.
121
+ * Returns a SearchResult envelope (F32): `nodes` is the page capped at `limit`,
122
+ * `truncated` flags that more matches exist than were returned, and `total` is
123
+ * the unbounded match count — so the CLI can show a truncation marker instead
124
+ * of silently dropping rows at the default cap.
125
+ */
120
126
  export const SEARCH = `query Search($query: String!, $type: String, $status: String, $limit: Int) {
121
127
  search(query: $query, type: $type, status: $status, limit: $limit) {
122
- id type title description status
128
+ nodes { id type title description status }
129
+ truncated
130
+ total
123
131
  }
124
132
  }`
125
133