Skip to content

Conversation

@laminne
Copy link
Member

@laminne laminne commented Feb 9, 2026

close #1410

What does this PR do?

Additional information

  • 同時に Account モデルの状態をモデル外で判別するのではなく,モデルで判定を行えるよう新しいメソッドを追加しています
    • getFrozen(): AccountFrozenなどはDeprecatedにしました

@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

❌ Patch coverage is 9.30233% with 78 lines in your changes missing coverage. Please review.
✅ Project coverage is 41.71%. Comparing base (bfa5875) to head (7ba182d).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
pkg/accounts/policy/accountPolicy.ts 0.00% 69 Missing ⚠️
pkg/accounts/model/account.ts 47.05% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1435      +/-   ##
==========================================
- Coverage   42.28%   41.71%   -0.58%     
==========================================
  Files         142      143       +1     
  Lines        5326     5399      +73     
  Branches      883      910      +27     
==========================================
  Hits         2252     2252              
- Misses       3074     3147      +73     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@laminne laminne enabled auto-merge February 9, 2026 14:30
@laminne laminne added this pull request to the merge queue Feb 10, 2026
Merged via the queue into main with commit 708aeae Feb 10, 2026
3 of 5 checks passed
@laminne laminne deleted the refactor/1410-account-policy branch February 10, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

refactor: Accountモジュールの権限を記述する

2 participants