website refactor

This commit is contained in:
2026-01-13 00:16:14 +01:00
parent 5ea95eaf51
commit d18e2979ba
17 changed files with 1056 additions and 303 deletions

View File

@@ -1,3 +1,5 @@
import { Result } from "../Result";
/**
* Mutation Contract
*
@@ -27,7 +29,7 @@ export interface Mutation<TInput = void, TOutput = void> {
* Execute the mutation
*
* @param input - Mutation input
* @returns Output (optional)
* @returns Result indicating success or error
*/
execute(input: TInput): Promise<TOutput>;
execute(input: TInput): Promise<Result<TOutput, string>>;
}