blob: 36b335ff3cab69aaf84c998c94e1476407f6c6a3 (
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 { transformProjectV22ToV23 } from "./transformers/v22-to-v23";
export class V22toV23Migration extends StorageMigration {
from = 22;
to = 23;
async run({
project,
}: StorageMigrationRunArgs): Promise<MigrationResult<ProjectRecord>> {
return transformProjectV22ToV23({ project });
}
}
|