@xuda.io/drive_module 1.1.879 → 1.1.881

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 +6 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -96,6 +96,10 @@ exports.get_drive_files = async function (req) {
96
96
  skip: from,
97
97
  };
98
98
 
99
+ if (type) {
100
+ opt.selector.type = type;
101
+ }
102
+
99
103
  validate_drive_type(drive_type);
100
104
 
101
105
  function formatBytes(bytes) {
@@ -107,6 +111,8 @@ exports.get_drive_files = async function (req) {
107
111
 
108
112
  const get_workspace_files = async function () {
109
113
  const app_id_reference = await _common.get_project_app_id(app_id);
114
+ opt.selector = "workspace_drive";
115
+
110
116
  var opt = {
111
117
  selector: {
112
118
  docType: "workspace_drive",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.879",
3
+ "version": "1.1.881",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {