WIP: CLI running of plugs

This commit is contained in:
Zef Hemel
2023-08-04 18:56:55 +02:00
parent de3e385017
commit 3464af0252
35 changed files with 738 additions and 136 deletions
+1 -3
View File
@@ -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;