@xuda.io/drive_module 1.1.1102 → 1.1.1104
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.js +17 -15
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2374,25 +2374,27 @@ exports.update_drive_addons = async function (req, job_id) {
|
|
|
2374
2374
|
const app_obj = app_obj_ret.data;
|
|
2375
2375
|
}
|
|
2376
2376
|
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2377
|
+
const set_drive_addons = function (drive_addons) {
|
|
2378
|
+
if (typeof ocr !== "undefined") {
|
|
2379
|
+
drive_addons.ocr = ocr;
|
|
2380
|
+
}
|
|
2380
2381
|
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2382
|
+
if (typeof image_convertor !== "undefined") {
|
|
2383
|
+
drive_addons.image_convertor = image_convertor;
|
|
2384
|
+
}
|
|
2384
2385
|
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2386
|
+
if (typeof video_ai !== "undefined") {
|
|
2387
|
+
drive_addons.video_ai = video_ai;
|
|
2388
|
+
}
|
|
2388
2389
|
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2390
|
+
if (typeof ai_component_generator !== "undefined") {
|
|
2391
|
+
drive_addons.ai_component_generator = ocr;
|
|
2392
|
+
}
|
|
2392
2393
|
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2394
|
+
if (typeof edit_image !== "undefined") {
|
|
2395
|
+
drive_addons.edit_image = edit_image;
|
|
2396
|
+
}
|
|
2397
|
+
};
|
|
2396
2398
|
};
|
|
2397
2399
|
|
|
2398
2400
|
setTimeout(async function () {
|