gantri-components 2.133.0-beta.7 → 2.133.0-beta.8

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.
@@ -12,8 +12,6 @@ export type FileUploaderProps = {
12
12
  fileUrl: string;
13
13
  /** This function should delete the record from the database, ***then*** delete the file. */
14
14
  handleDeleteFile: HandleDeleteFile;
15
- /** Only executed if `handleFileSelected` is not provided. Use this if supporting multiple uploads to prevent multiple calls to update the database. */
16
- handleUploadsComplete: HandleUploadsComplete;
17
15
  inputName?: string;
18
16
  isActive?: boolean;
19
17
  isDisabled?: boolean;
@@ -94,10 +92,14 @@ export type TransformThumbnailSrc = (props: {
94
92
  type ImmediatelyUploadProps = {
95
93
  handleFileSelected?: never;
96
94
  handleUploadFile: HandleUploadFile;
95
+ /** Use this if supporting multiple uploads to prevent multiple calls to update the database. */
96
+ handleUploadsComplete: HandleUploadsComplete;
97
97
  };
98
98
  type DelayUploadProps = {
99
99
  handleFileSelected: HandleFileSelected;
100
100
  handleUploadFile?: never;
101
+ /** Use this if supporting multiple uploads to prevent multiple calls to update the database. */
102
+ handleUploadsComplete?: never;
101
103
  };
102
104
  type WithDraggableProps = {
103
105
  SortableDragHandleWrapper: (props: PropsWithChildren<HTMLAttributes<HTMLElement>>) => JSX.Element;