Open
Conversation
API仕様をv2に更新し、Staff/User関連機能を完全に削除しました。 ## 主な変更内容 ### API仕様の更新 - `/api/staff`エンドポイントを削除 - `/api/users`エンドポイントを削除 - `CreateSaleRequest`から`staffBarcode`フィールドを削除 - `ErrorResponse.details`をMap型からString型に変更(kotlinx.serialization互換性のため) ### コード変更 - Staff entityを削除 - BarcodeEventからStaff関連イベント(ReadStaffSuccess/Failed)を削除 - GlobalConfigから`currentStaff`プロパティを削除 - APIServiceから`getStaff()`メソッドと`createSale()`の`staffBarcode`パラメータを削除 - DI設定からStaffApi、UsersApiの依存を削除 ### UI変更 - ItemListViewModelからStaff表示機能を削除 - fragment_item_list.xmlからStaff表示UIを削除 - MainViewModelからStaff関連処理を削除 ## ビルド確認 - `./gradlew assembleProdDebug` 成功
- BarcodeKind enumを削除し、全てのバーコードを商品として扱うように変更 - BaseBarcodeReadableActivityのインターフェースを簡素化 - サーバー接続エラー時のエラーメッセージ表示を改善 - MainActivityとMainViewModelのバーコード処理ロジックを整理 - デバッグメニューからスタッフ用ダミー入力を削除 - OpenAPI仕様書(api.yaml)を追加
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
API仕様をv2に更新し、Staff/User関連機能を完全に削除しました。
変更内容
API仕様の更新
/api/staffエンドポイントを削除/api/usersエンドポイントを削除CreateSaleRequestからstaffBarcodeフィールドを削除ErrorResponse.detailsをMap型からString型に変更(kotlinx.serialization互換性のため)コード変更
currentStaffプロパティを削除getStaff()メソッドとcreateSale()のstaffBarcodeパラメータを削除UI変更
影響範囲
テスト
./gradlew assembleProdDebug成功統計