@muhgholy/next-drive 1.0.2 → 1.1.0

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.
@@ -65,6 +65,8 @@ type TDriveFile = {
65
65
  size: number;
66
66
  };
67
67
  };
68
+ type TImageQuality = 'ultralow' | 'low' | 'medium' | 'high' | 'normal';
69
+ type TImageFormat = 'webp' | 'jpeg' | 'png';
68
70
  declare const driveFileSchemaZod: z.ZodObject<{
69
71
  id: z.ZodString;
70
72
  file: z.ZodObject<{
@@ -116,4 +118,4 @@ type TDriveUploadState = {
116
118
  error?: string;
117
119
  };
118
120
 
119
- export { type TDatabaseDriveProvider as T, type TDatabaseDriveMetadata as a, type TDatabaseDriveInformation as b, type TDatabaseDriveStatus as c, type TDatabaseDrive as d, type TDriveFile as e, type TDatabaseDriveMetadataFile as f, type TDatabaseDriveMetadataFolder as g, type TDriveAction as h, type TDriveAPIResponse as i, type TDriveThumbnailSize as j, type TDriveImageQuality as k, type TDrivePathItem as l, type TDriveQuota as m, type TDriveUploadState as n, driveFileSchemaZod as o };
121
+ export { type TDatabaseDriveProvider as T, type TDatabaseDriveMetadata as a, type TDatabaseDriveInformation as b, type TDatabaseDriveStatus as c, type TDatabaseDrive as d, type TDriveFile as e, type TDatabaseDriveMetadataFile as f, type TDatabaseDriveMetadataFolder as g, type TDriveAction as h, type TDriveAPIResponse as i, type TDriveThumbnailSize as j, type TDriveImageQuality as k, type TDrivePathItem as l, type TDriveQuota as m, type TImageQuality as n, type TImageFormat as o, type TDriveUploadState as p, driveFileSchemaZod as q };
@@ -1,7 +1,7 @@
1
1
  import { NextApiRequest, NextApiResponse } from 'next';
2
2
  import { Readable } from 'stream';
3
- import { T as TDatabaseDriveProvider, a as TDatabaseDriveMetadata, b as TDatabaseDriveInformation, c as TDatabaseDriveStatus, d as TDatabaseDrive } from '../index-CIbbTroj.js';
4
- export { f as TDatabaseDriveMetadataFile, g as TDatabaseDriveMetadataFolder, i as TDriveAPIResponse, h as TDriveAction, e as TDriveFile, k as TDriveImageQuality, j as TDriveThumbnailSize } from '../index-CIbbTroj.js';
3
+ import { T as TDatabaseDriveProvider, a as TDatabaseDriveMetadata, b as TDatabaseDriveInformation, c as TDatabaseDriveStatus, d as TDatabaseDrive } from '../index-CuwenLsj.js';
4
+ export { f as TDatabaseDriveMetadataFile, g as TDatabaseDriveMetadataFolder, i as TDriveAPIResponse, h as TDriveAction, e as TDriveFile, k as TDriveImageQuality, j as TDriveThumbnailSize } from '../index-CuwenLsj.js';
5
5
  import { Document, Types } from 'mongoose';
6
6
  import { z } from 'zod';
7
7
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muhgholy/next-drive",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "File storage and management for Next.js applications",
5
5
  "type": "module",
6
6
  "exports": {