mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-28 09:21:00 +01:00
14 lines
445 B
TypeScript
14 lines
445 B
TypeScript
import type { Database } from "@homarr/db";
|
|
import type { OldmarrConfig } from "@homarr/old-schema";
|
|
|
|
import { importSingleOldmarrConfigAsync } from "./import/import-single-oldmarr";
|
|
import type { OldmarrImportConfiguration } from "./settings";
|
|
|
|
export const importOldmarrAsync = async (
|
|
db: Database,
|
|
old: OldmarrConfig,
|
|
configuration: OldmarrImportConfiguration,
|
|
) => {
|
|
await importSingleOldmarrConfigAsync(db, old, configuration);
|
|
};
|