( integration: typeof storageIntegrations.$inferSelect, )
| 137 | }); |
| 138 | |
| 139 | const parseDriveConfig = async ( |
| 140 | integration: typeof storageIntegrations.$inferSelect, |
| 141 | ) => |
| 142 | JSON.parse( |
| 143 | await decrypt(integration.encryptedConfig), |
| 144 | ) as GoogleDriveIntegrationConfig; |
| 145 | |
| 146 | const hasDriveLocation = (config: GoogleDriveIntegrationConfig) => |
| 147 | config.folderId.trim().length > 0; |
no test coverage detected