Initial commit: Add project files
ci / backend (push) Failing after 12s
ci / frontend (push) Failing after 19s
ci / static (push) Failing after 45s

This commit is contained in:
2026-08-02 05:15:36 +09:00
commit dcd1322d41
636 changed files with 122352 additions and 0 deletions
@@ -0,0 +1,11 @@
export interface IdempotentCommand<T> {
readonly idempotencyKey: string
readonly request: T
}
/**
* Create once per user intent. Retries must reuse the returned envelope rather than call this again.
*/
export function createIdempotentCommand<T>(request: T): IdempotentCommand<T> {
return Object.freeze({ idempotencyKey: crypto.randomUUID(), request })
}