(input: PostInput)
| 262 | // ── Mutations ────────────────────────────────────────────────── |
| 263 | |
| 264 | async post(input: PostInput): Promise<PostOutcome> { |
| 265 | return unwrap(await post({ ...input, ctx: this.#ctx() }), this.#config.onError); |
| 266 | } |
| 267 | |
| 268 | async edit(input: EditInput): Promise<MutationOutcome> { |
| 269 | return unwrap(await edit({ ...input, ctx: this.#ctx() }), this.#config.onError); |