@htkimura/files-storage-backend.rest-client 0.0.33 → 0.0.34

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.
@@ -10,4 +10,8 @@ export type MyFilesParams = {
10
10
  page?: number;
11
11
  size?: number;
12
12
  filterType?: FileFilterType[];
13
+ /**
14
+ * Filter by folder. Omit to return all files. Pass null for root-level files only.
15
+ */
16
+ folderId?: string | null;
13
17
  };
@@ -106,7 +106,7 @@ export declare function useMe<TData = Awaited<ReturnType<typeof me>>, TError = A
106
106
  queryKey: QueryKey;
107
107
  };
108
108
  /**
109
- * Returns the authenticated user files URLs
109
+ * Returns the authenticated user files. Omit folderId to return all files, pass null for root-level files only, or pass a folder ID to return files from that folder.
110
110
  * @summary Get the authenticated user files URLs
111
111
  */
112
112
  export declare const myFiles: (params: MyFilesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<GetUserFilesOutput>>;
@@ -114,7 +114,7 @@ export function useMe(options) {
114
114
  return query;
115
115
  }
116
116
  /**
117
- * Returns the authenticated user files URLs
117
+ * Returns the authenticated user files. Omit folderId to return all files, pass null for root-level files only, or pass a folder ID to return files from that folder.
118
118
  * @summary Get the authenticated user files URLs
119
119
  */
120
120
  export const myFiles = (params, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@htkimura/files-storage-backend.rest-client",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "REST client of files-storage-backend",
5
5
  "author": "Henry Kimura",
6
6
  "license": "MIT",