Refactor PlatformContext to use Config type directly
This commit is contained in:
parent
e57a1ac993
commit
a331c0f0f3
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user