WIP: CLI running of plugs
This commit is contained in:
+1
-3
@@ -17,11 +17,9 @@ export type FunctionDef<HookT> = {
|
||||
// Reuse an
|
||||
// Format: plugName.functionName
|
||||
redirect?: string;
|
||||
env?: RuntimeEnvironment;
|
||||
env?: string;
|
||||
} & HookT;
|
||||
|
||||
export type RuntimeEnvironment = "client" | "server";
|
||||
|
||||
export interface Hook<HookT> {
|
||||
validateManifest(manifest: Manifest<HookT>): string[];
|
||||
apply(system: System<HookT>): void;
|
||||
|
||||
Reference in New Issue
Block a user