@xuda.io/drive_module 1.1.882 → 1.1.884

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 +15 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -83,7 +83,21 @@ const get_studio_path = function (raw_path, ref, file_name) {
83
83
  };
84
84
 
85
85
  exports.get_drive_files = async function (req) {
86
- const { from = 0, to = 100, drive_type, app_id, uid, type, date } = req;
86
+ const {
87
+ from = 0,
88
+ to = 100,
89
+ drive_type,
90
+ app_id,
91
+ uid,
92
+ type,
93
+ date,
94
+ mime_type,
95
+ file_ext,
96
+ search_name,
97
+ search_string,
98
+ sort_by = "name",
99
+ sort_dir = "desc",
100
+ } = req;
87
101
  try {
88
102
  let opt = {
89
103
  selector: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.882",
3
+ "version": "1.1.884",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {