Skip to content

Commit 48ecdc7

Browse files
committed
feat: Set Google Drive App ID incase of custom OAuth
1 parent de95f65 commit 48ecdc7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/lib/picker.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,11 @@ export interface PickerOptions {
736736
* Enable/Disable possibility to multiple file upload
737737
*/
738738
multipleFileUpload?: boolean;
739+
/**
740+
* Set your own Google Drive Picker App ID. Defaults to Filestack's.
741+
* This is your Project Number from the Google Cloud console.
742+
*/
743+
googleDriveAppID?: string;
739744
}
740745

741746
export interface PickerCropOptions {

src/schema/picker.schema.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,5 +473,8 @@ export const PickerParamsSchema = {
473473
multipleFileUpload: {
474474
type: 'boolean',
475475
},
476+
googleDriveAppID: {
477+
type: 'string',
478+
},
476479
},
477480
};

0 commit comments

Comments
 (0)