@thetechfossil/auth2 1.2.15 → 1.2.17

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/README.md CHANGED
File without changes
@@ -231,8 +231,14 @@ interface AvatarManagerProps {
231
231
  className?: string;
232
232
  gridClassName?: string;
233
233
  maxFileSize?: number;
234
+ maxFiles?: number;
234
235
  mode?: 'full' | 'browse' | 'upload';
235
236
  showDelete?: boolean;
237
+ autoRecordToDb?: boolean;
238
+ fetchThumbnails?: boolean;
239
+ projectId?: string;
240
+ deleteUrl?: string;
241
+ onDelete?: (key: string) => Promise<void>;
236
242
  upfilesConfig: {
237
243
  baseUrl: string;
238
244
  apiKey?: string;
@@ -240,6 +246,8 @@ interface AvatarManagerProps {
240
246
  presignUrl?: string;
241
247
  presignPath?: string;
242
248
  folderPath?: string;
249
+ headers?: Record<string, string>;
250
+ withCredentials?: boolean;
243
251
  };
244
252
  }
245
253
  declare const AvatarManager: React.FC<AvatarManagerProps>;
@@ -231,8 +231,14 @@ interface AvatarManagerProps {
231
231
  className?: string;
232
232
  gridClassName?: string;
233
233
  maxFileSize?: number;
234
+ maxFiles?: number;
234
235
  mode?: 'full' | 'browse' | 'upload';
235
236
  showDelete?: boolean;
237
+ autoRecordToDb?: boolean;
238
+ fetchThumbnails?: boolean;
239
+ projectId?: string;
240
+ deleteUrl?: string;
241
+ onDelete?: (key: string) => Promise<void>;
236
242
  upfilesConfig: {
237
243
  baseUrl: string;
238
244
  apiKey?: string;
@@ -240,6 +246,8 @@ interface AvatarManagerProps {
240
246
  presignUrl?: string;
241
247
  presignPath?: string;
242
248
  folderPath?: string;
249
+ headers?: Record<string, string>;
250
+ withCredentials?: boolean;
243
251
  };
244
252
  }
245
253
  declare const AvatarManager: React.FC<AvatarManagerProps>;