@xuda.io/drive_module 1.1.1474 → 1.1.1475
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.
- package/index.mjs +3 -1
- package/index_ms.mjs +8 -0
- package/index_msa.mjs +8 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1760,7 +1760,9 @@ const get_folder_size = async (dir, drive_type, app_id, uid) => {
|
|
|
1760
1760
|
}
|
|
1761
1761
|
}
|
|
1762
1762
|
await Promise.all(file_stats);
|
|
1763
|
-
|
|
1763
|
+
for (const d of subdirs) {
|
|
1764
|
+
await calculateSizeFs(d);
|
|
1765
|
+
}
|
|
1764
1766
|
};
|
|
1765
1767
|
|
|
1766
1768
|
const calculateSizeDocs = async (dirPath) => {
|
package/index_ms.mjs
CHANGED
|
@@ -137,6 +137,10 @@ export const upload_drive_file_user = async function (...args) {
|
|
|
137
137
|
return await broker.send_to_queue("upload_drive_file_user", ...args);
|
|
138
138
|
};
|
|
139
139
|
|
|
140
|
+
export const upload_drive_file_studio = async function (...args) {
|
|
141
|
+
return await broker.send_to_queue("upload_drive_file_studio", ...args);
|
|
142
|
+
};
|
|
143
|
+
|
|
140
144
|
export const update_drive_file_workspace = async function (...args) {
|
|
141
145
|
return await broker.send_to_queue("update_drive_file_workspace", ...args);
|
|
142
146
|
};
|
|
@@ -149,6 +153,10 @@ export const create_drive_folder_workspace = async function (...args) {
|
|
|
149
153
|
return await broker.send_to_queue("create_drive_folder_workspace", ...args);
|
|
150
154
|
};
|
|
151
155
|
|
|
156
|
+
export const create_drive_folder_studio = async function (...args) {
|
|
157
|
+
return await broker.send_to_queue("create_drive_folder_studio", ...args);
|
|
158
|
+
};
|
|
159
|
+
|
|
152
160
|
export const create_drive_folder_user = async function (...args) {
|
|
153
161
|
return await broker.send_to_queue("create_drive_folder_user", ...args);
|
|
154
162
|
};
|
package/index_msa.mjs
CHANGED
|
@@ -137,6 +137,10 @@ export const upload_drive_file_user = function (...args) {
|
|
|
137
137
|
broker.send_to_queue_async("upload_drive_file_user", ...args);
|
|
138
138
|
};
|
|
139
139
|
|
|
140
|
+
export const upload_drive_file_studio = function (...args) {
|
|
141
|
+
broker.send_to_queue_async("upload_drive_file_studio", ...args);
|
|
142
|
+
};
|
|
143
|
+
|
|
140
144
|
export const update_drive_file_workspace = function (...args) {
|
|
141
145
|
broker.send_to_queue_async("update_drive_file_workspace", ...args);
|
|
142
146
|
};
|
|
@@ -149,6 +153,10 @@ export const create_drive_folder_workspace = function (...args) {
|
|
|
149
153
|
broker.send_to_queue_async("create_drive_folder_workspace", ...args);
|
|
150
154
|
};
|
|
151
155
|
|
|
156
|
+
export const create_drive_folder_studio = function (...args) {
|
|
157
|
+
broker.send_to_queue_async("create_drive_folder_studio", ...args);
|
|
158
|
+
};
|
|
159
|
+
|
|
152
160
|
export const create_drive_folder_user = function (...args) {
|
|
153
161
|
broker.send_to_queue_async("create_drive_folder_user", ...args);
|
|
154
162
|
};
|