Move some files around to where they should be

This commit is contained in:
Lncvrt committed 2026-02-14 12:49:57 -07:00
1 parent 105913503c
commit 70433b76ab
18 files changed
+21 -21

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
export type VersionsConfigData = {
version: string
list: Record<string, number>
}
export class VersionsConfig {
constructor (
public version: string,
public list: Record<string, number> = {}
) {}
static import (data: VersionsConfigData) {
const cfg = new VersionsConfig(data.version)
cfg.list = { ...data.list }
return cfg
}
}