[PR #30999] refactor(contract): restructure console contracts with nested billing module #33050

Closed
opened 2026-02-21 20:52:34 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/30999

State: closed
Merged: Yes


Summary

  • Reorganize oRPC console contracts to follow best practices from the architecture guide
  • Split console.ts into console/system.ts and console/billing.ts for better modularity
  • Nest billing contracts under billing key in router for proper API prefix grouping
  • Rename billingUrlContract to invoicesContract for semantic clarity

Test plan

  • TypeScript type-check passes
  • Unit tests pass for billing components
  • ESLint passes
**Original Pull Request:** https://github.com/langgenius/dify/pull/30999 **State:** closed **Merged:** Yes --- ## Summary - Reorganize oRPC console contracts to follow best practices from the architecture guide - Split `console.ts` into `console/system.ts` and `console/billing.ts` for better modularity - Nest billing contracts under `billing` key in router for proper API prefix grouping - Rename `billingUrlContract` to `invoicesContract` for semantic clarity ## Test plan - [x] TypeScript type-check passes - [x] Unit tests pass for billing components - [x] ESLint passes
yindo added the pull-request label 2026-02-21 20:52:34 -05:00
yindo closed this issue 2026-02-21 20:52:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#33050