Refactor PlatformContext to use Config type directly
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Config } from "@/types";
|
||||
import type { PublishInput } from "../publish.schemas";
|
||||
import type { getConfig } from "@/services/config";
|
||||
|
||||
export interface PlatformContext {
|
||||
input: PublishInput;
|
||||
config: Awaited<ReturnType<typeof getConfig>>;
|
||||
config: Config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user