@xuda.io/drive_module 1.1.1377 → 1.1.1378
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 +6 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2432,6 +2432,12 @@ export const file_upload_validator = function (file_name) {
|
|
|
2432
2432
|
case 'md':
|
|
2433
2433
|
return { valid: true, category: 'text', mime: 'text/markdown' };
|
|
2434
2434
|
|
|
2435
|
+
// ==============================
|
|
2436
|
+
// VALIDATE DESIGN FILES
|
|
2437
|
+
// ==============================
|
|
2438
|
+
case 'psd':
|
|
2439
|
+
return { valid: true, category: 'image', mime: 'image/vnd.adobe.photoshop' };
|
|
2440
|
+
|
|
2435
2441
|
// ==============================
|
|
2436
2442
|
// DEFAULT (INVALID)
|
|
2437
2443
|
// ==============================
|