(c: GoogleDriveConfig)
| 41 | } |
| 42 | // The exact pre-change Google Drive poller read (basic key === canonical key). |
| 43 | const legacyDriveRead = (c: GoogleDriveConfig) => c.folderId || c.manualFolderId |
| 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 => |