Skip to content

Commit

Permalink
feature/fs-1 - Adding enable/disable functionality. (#581)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Karpeta <[email protected]>
  • Loading branch information
SebastianKarpetaFS and SebastianKarpetaDev authored Dec 11, 2024
1 parent ebfd7e5 commit 28b5c2d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,10 @@ export interface PickerOptions {
pasteToFirstInViewPort?: boolean,
pasteToFirstInstance?: boolean
};
/**
* Disable/Enable possibility to upload directories.
*/
disableDirectoryUpload?: boolean;
}

export interface PickerCropOptions {
Expand Down
3 changes: 3 additions & 0 deletions src/schema/picker.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,5 +464,8 @@ export const PickerParamsSchema = {
},
},
},
disableDirectoryUpload: {
type: 'boolean'

Check failure on line 468 in src/schema/picker.schema.ts

View workflow job for this annotation

GitHub Actions / build

Missing trailing comma
},
},
};

0 comments on commit 28b5c2d

Please sign in to comment.