File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,29 @@ export interface ListFileOptions {
4545 * Default value - 0
4646 */
4747 skip ?: number ;
48+ /**
49+ * You can sort based on the following fields:
50+ * - name - ASC_NAME or DESC_NAME
51+ * - createdAt - ASC_CREATED or DESC_CREATED
52+ * - updatedAt - ASC_UPDATED or DESC_UPDATED
53+ * - height - ASC_HEIGHT or DESC_HEIGHT
54+ * - width - ASC_WIDTH or DESC_WIDTH
55+ * - size - ASC_SIZE or DESC_SIZE
56+ */
57+ sort ?: string ;
58+ /**
59+ * Limit search to either file or folder. Pass all to include both files and folders in search results.
60+ * Default value - `file`
61+ */
62+ type ?: string ;
63+ /**
64+ * Query string in a Lucene-like query language. Learn more about the query expression later in this section.
65+ * Note: When the searchQuery parameter is present, the following query parameters will have no effect on the result:
66+ * 1. tags
67+ * 2. type
68+ * 3. name
69+ */
70+ searchQuery ?: string ;
4871}
4972
5073/**
You can’t perform that action at this time.
0 commit comments