blob: c8054f25363f7faa457d9b753985e7a26195a227 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import { StorageMigration, type StorageMigrationRunArgs } from "./base";
import type { MigrationResult, ProjectRecord } from "./transformers/types";
import { transformProjectV3ToV4 } from "./transformers/v3-to-v4";
export class V3toV4Migration extends StorageMigration {
from = 3;
to = 4;
async run({
project,
}: StorageMigrationRunArgs): Promise<MigrationResult<ProjectRecord>> {
return transformProjectV3ToV4({ project });
}
}
|