openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
1 lines • 526 B
JavaScript
import{a as e,i as t}from"./openclaw-state-read-kysely-sync-DQyYiAw5.mjs";import"./openclaw-state-read-openclaw-state-db-DnrW7QY9.mjs";import"node:path";import"node:crypto";function readLegacyMigrationReceiptFromDatabase(n,r){let i=t(n,e(n).selectFrom(`migration_sources`).select([`source_sha256`,`removed_source`,`report_json`]).where(`source_key`,`=`,r));return i?{sourceKey:r,sourceSha256:i.source_sha256,removedSource:i.removed_source===1,reportJson:i.report_json}:null}export{readLegacyMigrationReceiptFromDatabase as t};