@d0whc3r/node-gdrive 3.5.0 → 3.6.0

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.
package/dist/index.d.ts CHANGED
@@ -36,6 +36,7 @@ export declare class GDrive {
36
36
  isDeleted(file: drive_v3.Schema$File): boolean;
37
37
  listFiles(fields?: boolean | FieldsType[], pageSize?: number, q?: string): Promise<Schema$File$Modded[]>;
38
38
  getFile(fileId?: string | null): Promise<drive_v3.Schema$File>;
39
+ private resolveDownloadFileId;
39
40
  downloadFile(fileIdOrName: string, destPath: string, options?: DownloadOptions): Promise<string>;
40
41
  emptyTrash(): Promise<{
41
42
  status: number;
@@ -57,6 +58,7 @@ export declare class GDrive {
57
58
  private readonly inFlightFolders;
58
59
  private findFolderId;
59
60
  private resolveFolderId;
61
+ private resolveFolderSegments;
60
62
  private findFile;
61
63
  private createFolder;
62
64
  private createPrivateTempDir;
@@ -64,4 +66,6 @@ export declare class GDrive {
64
66
  private compressFiles;
65
67
  }
66
68
  export { Auth, Config, decryptBuffer, decryptFile, encryptBuffer, encryptFile, isRetryableError, withRetry };
69
+ export { detectDbEngineFromUrl, dumpDatabase, normalizeDbEngine, SUPPORTED_DB_ENGINES } from './db';
70
+ export type { DbDumpFileResult, DbDumpOptions, DbDumpResult, DbDumpStreamResult, DbEngine, DbProvider, PostgresFormat } from './db';
67
71
  export * from './types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d0whc3r/node-gdrive",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "keywords": [
5
5
  "backup",
6
6
  "compress",