@frontstackdev/cli 0.0.0-canary-20241122152352 → 0.0.0-canary-20241122215925
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.
|
@@ -82,7 +82,7 @@ const client = {
|
|
|
82
82
|
/**
|
|
83
83
|
* Query parameters to pass to the block:
|
|
84
84
|
* - `filter` accepts an array of filter objects to filter results
|
|
85
|
-
* - `sort` accepts a string or an array of sorting
|
|
85
|
+
* - `sort` accepts a string, a sorting option object, or an array of sorting option objects to sort results
|
|
86
86
|
* - `search` to perform a text search
|
|
87
87
|
* - `limit` to limit the number of results returned
|
|
88
88
|
* - `page` to paginate results
|
|
@@ -190,7 +190,7 @@ const client = {
|
|
|
190
190
|
_data,
|
|
191
191
|
headers: responseHeaders
|
|
192
192
|
} = await invoke(endpoint, 'GET', null, requestHeaders)
|
|
193
|
-
|
|
193
|
+
|
|
194
194
|
return [_data, responseHeaders.get('fs-token')!]
|
|
195
195
|
},
|
|
196
196
|
|
|
@@ -135,7 +135,7 @@ export type Query<FilterType, SortType> = {
|
|
|
135
135
|
*
|
|
136
136
|
* * A single sort object
|
|
137
137
|
* * An array of sort objects
|
|
138
|
-
* * A single sort field
|
|
138
|
+
* * A single sort field string
|
|
139
139
|
*/
|
|
140
140
|
sort?: Sort<SortType> | Sort<SortType>[] | SortField<SortType>;
|
|
141
141
|
/**
|
package/dist/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.0-canary-
|
|
1
|
+
0.0.0-canary-20241122215925
|