refactor(core): handle form cancellation in runner

This commit is contained in:
Aiden Cline 2026-07-03 16:55:18 -05:00
commit 5deef980dd
3 changed files with 9 additions and 10 deletions

View file

@ -63,6 +63,8 @@ export class InvalidFormError extends Schema.TaggedErrorClass<InvalidFormError>(
message: Schema.String,
}) {}
export class CancelledError extends Schema.TaggedErrorClass<CancelledError>()("Form.CancelledError", {}) {}
export type CreateInput =
| (Omit<Form.FormInfo, "id"> & { readonly id?: ID })
| (Omit<Form.UrlInfo, "id"> & { readonly id?: ID })