@xuda.io/drive_module 1.1.1391 → 1.1.1393

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.mjs +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1275,7 +1275,7 @@ export const check_drive_file = async (req, job_id, headers, file_obj) => {
1275
1275
  type,
1276
1276
  file_path: path.dirname(file_path),
1277
1277
  stat: 3,
1278
- uid,
1278
+ // uid,
1279
1279
  };
1280
1280
 
1281
1281
  if (type === 'file') {
@@ -2491,6 +2491,8 @@ export const file_upload_validator = function (file_name) {
2491
2491
  return { valid: true, category: 'image', mime: 'image/tiff' };
2492
2492
  case 'psd':
2493
2493
  return { valid: true, category: 'design', mime: 'image/vnd.adobe.photoshop' };
2494
+ case 'ai':
2495
+ return { valid: true, category: 'design', mime: 'application/illustrator' };
2494
2496
 
2495
2497
  // ==============================
2496
2498
  // DOCUMENTS & SPREADSHEETS
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1391",
3
+ "version": "1.1.1393",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {