Refactor PlatformContext to use Config type directly

This commit is contained in:
CPTProgrammer 2026-07-09 23:18:42 +08:00
parent e57a1ac993
commit a331c0f0f3
No known key found for this signature in database

View File

@ -1,7 +1,7 @@
import { Config } from "@/types";
import type { PublishInput } from "../publish.schemas"; import type { PublishInput } from "../publish.schemas";
import type { getConfig } from "@/services/config";
export interface PlatformContext { export interface PlatformContext {
input: PublishInput; input: PublishInput;
config: Awaited<ReturnType<typeof getConfig>>; config: Config;
} }