@thetechfossil/auth2 1.2.15 → 1.2.16

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.
@@ -494,8 +494,14 @@ interface AvatarManagerProps {
494
494
  className?: string;
495
495
  gridClassName?: string;
496
496
  maxFileSize?: number;
497
+ maxFiles?: number;
497
498
  mode?: 'full' | 'browse' | 'upload';
498
499
  showDelete?: boolean;
500
+ autoRecordToDb?: boolean;
501
+ fetchThumbnails?: boolean;
502
+ projectId?: string;
503
+ deleteUrl?: string;
504
+ onDelete?: (key: string) => Promise<void>;
499
505
  upfilesConfig: {
500
506
  baseUrl: string;
501
507
  apiKey?: string;
@@ -503,6 +509,8 @@ interface AvatarManagerProps {
503
509
  presignUrl?: string;
504
510
  presignPath?: string;
505
511
  folderPath?: string;
512
+ headers?: Record<string, string>;
513
+ withCredentials?: boolean;
506
514
  };
507
515
  }
508
516
  declare const AvatarManager: React.FC<AvatarManagerProps>;
@@ -494,8 +494,14 @@ interface AvatarManagerProps {
494
494
  className?: string;
495
495
  gridClassName?: string;
496
496
  maxFileSize?: number;
497
+ maxFiles?: number;
497
498
  mode?: 'full' | 'browse' | 'upload';
498
499
  showDelete?: boolean;
500
+ autoRecordToDb?: boolean;
501
+ fetchThumbnails?: boolean;
502
+ projectId?: string;
503
+ deleteUrl?: string;
504
+ onDelete?: (key: string) => Promise<void>;
499
505
  upfilesConfig: {
500
506
  baseUrl: string;
501
507
  apiKey?: string;
@@ -503,6 +509,8 @@ interface AvatarManagerProps {
503
509
  presignUrl?: string;
504
510
  presignPath?: string;
505
511
  folderPath?: string;
512
+ headers?: Record<string, string>;
513
+ withCredentials?: boolean;
506
514
  };
507
515
  }
508
516
  declare const AvatarManager: React.FC<AvatarManagerProps>;