@gravityforms/gulp-tasks
Version:
Configurable Gulp tasks for use in Gravity Forms projects.
21 lines (20 loc) • 542 B
TypeScript
import { UtilsGDrive } from '..';
/**
* Identifiers for the file to get the id of.
*/
export interface Identifiers$GetFileId {
fileName: string;
parentId?: string;
parentName?: string;
}
/**
* Options for getFileId function.
*/
export interface GetFileIdOptions {
isSharedDrive?: boolean;
sharedDriveId?: string;
}
/**
* Get the id of a file or folder in Google Drive.
*/
export declare function getFileId(this: UtilsGDrive, identifiers: Identifiers$GetFileId | string, options?: GetFileIdOptions): Promise<string>;