(c: GoogleDriveConfig)
| 44 | // Mirror of the migration 0253 backfill: fill the canonical key basic-first |
| 45 | // ONLY when absent. For Drive the canonical key IS the basic key (folderId). |
| 46 | const backfillDrive = (c: GoogleDriveConfig): GoogleDriveConfig => |
| 47 | c.folderId ? c : { ...c, folderId: c.folderId || c.manualFolderId } |
| 48 | |
| 49 | const driveShapes: GoogleDriveConfig[] = [ |
| 50 | { folderId: 'basic-only' }, |