Skip to content

Commit c588acc

Browse files
SebastianKarpetaFSSebastianKarpetaDev
authored andcommitted
feature/fs-1 - Adding enable/disable functionality. (#581)
Co-authored-by: Sebastian Karpeta <sebastian.karpeta@devtactics.net>
1 parent c1b7aea commit c588acc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/lib/picker.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,10 @@ export interface PickerOptions {
724724
pasteToFirstInViewPort?: boolean,
725725
pasteToFirstInstance?: boolean
726726
};
727+
/**
728+
* Disable/Enable possibility to upload directories.
729+
*/
730+
disableDirectoryUpload?: boolean;
727731
}
728732

729733
export interface PickerCropOptions {

src/schema/picker.schema.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,5 +464,8 @@ export const PickerParamsSchema = {
464464
},
465465
},
466466
},
467+
disableDirectoryUpload: {
468+
type: 'boolean'
469+
},
467470
},
468471
};

0 commit comments

Comments
 (0)