← Public packages
@kentcdodds/devin
Start, monitor, and manage Devin sessions, knowledge, playbooks, and schedules via the Devin v3 API
src/migrate-from-values.ts
16 lines · 510 B · TypeScriptimport { migrateDevinFromValues } from './lib/client.ts'
/**
* Copy the Devin org id from legacy user values into package storage.
* One-shot migration; safe to re-run.
*
* @returns Copied keys and the resolved destOrgId
*
* @example
* import migrateFromValues from 'kody:@kentcdodds/devin/migrate-from-values'
* const result = await migrateFromValues()
* // => { copied: ['devinOrgId'], orgId: '...' }
*/
export default async function migrateFromValues() {
return await migrateDevinFromValues()
}