Skip to content

feat: 確認済み編集計画の保存と照合APIを追加 - #79

Open
Ries630 wants to merge 3 commits into
feature/73-edit-sync-coordinationfrom
feature/74-transaction-edit-api
Open

Ries630 wants to merge 3 commits into
feature/73-edit-sync-coordinationfrom
feature/74-transaction-edit-api

Conversation

@Ries630

@Ries630 Ries630 commented Sep 5, 2026 •

Copy link
Copy Markdown
Owner

単体・一括編集の対象と変更内容をサーバーに固定し、一件ずつ Zaim へ保存・再取得・照合する API を追加します。メモだけの変更でも更新直前の amount を PUT に必ず含め、結果不明の要求は再送せず計画を照合します。

スタック #81 の 3/4。#78 に依存します。Closes #74。Refs #6。

対象固定、期限、種別・マスタ・入力検証、同一 Origin の確認、既存値との競合検出、未変更列の照合、ミラー反映失敗からの復旧までを含みます。編集エラー処理は編集ルートに限定しています。PWA の入口と再開 UI は #80 の src/api/edits.ts / src/components/edit/ で接続します。

workerd の D1 と外部 API のスタブで、金額の保持、重複実行防止、応答不明、未変更列への副作用、D1 反映失敗、壊れた JSON、Origin 拒否、フィルタ対象固定、本文受信の期限超過を確認しています。

公開設定は編集無効です。実データへの PUT、Secret 登録、iPhone での実機検証・有効化は #72 と ops/editing.md で管理します。

🤖 Generated with Codex

@Ries630 Ries630 added the enhancement New feature or request label Sep 5, 2026
@Ries630 Ries630 self-assigned this Sep 5, 2026
@Ries630 Ries630 changed the title feature/74 transaction edit api feat: 確認済み編集計画の保存と照合APIを追加 Sep 5, 2026
@Ries630 Ries630 added this to the v0.2 編集できる milestone Sep 5, 2026
@Ries630
Ries630 force-pushed the feature/74-transaction-edit-api branch from df18433 to be4daa9 Compare September 6, 2026 00:46
Ries630 added 3 commits September 6, 2026 14:02
@Ries630
Ries630 force-pushed the feature/74-transaction-edit-api branch from be4daa9 to be98ab1 Compare September 6, 2026 05:03
@Ries630
Ries630 marked this pull request as ready for review September 6, 2026 05:25
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-06T05:29:18.078603Z be98ab1 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

単体編集APIでZaim更新と更新後の照合を行う

1 participant