@xuda.io/drive_module 1.1.739 → 1.1.741

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.
Files changed (2) hide show
  1. package/index.js +9 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2006,6 +2006,7 @@ exports.search_drive_files = async function (req) {
2006
2006
  "mime",
2007
2007
  "size",
2008
2008
  ],
2009
+ sort: { [sort_by]: sort_dir },
2009
2010
  };
2010
2011
 
2011
2012
  const alias_results = (docs) => {
@@ -2491,4 +2492,11 @@ const get_file_url = function (drive_type, file_name, ref) {
2491
2492
  return file_url;
2492
2493
  };
2493
2494
 
2494
- setTimeout(function () {}, 2000);
2495
+ setTimeout(async function () {
2496
+ console.log(
2497
+ await exports.search_drive_files({
2498
+ app_id: "prj3937cb6f9a31c8c7dea25055bba845b1",
2499
+ drive_type: "workspace_drive",
2500
+ })
2501
+ );
2502
+ }, 2000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.739",
3
+ "version": "1.1.741",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {