Logo
Explore Help
Sign In
ankhbayar/Assist_Design
1
0
Fork 0
You've already forked Assist_Design
Code Issues Pull Requests Actions 3 Packages Projects Releases Wiki Activity
Assist_Design/packages/domain/common/providers/whmcs-utils/index.ts

14 lines
418 B
TypeScript
Raw Normal View History

Refactor Billing Controller to Improve Error Handling - Replaced inline error throwing with NotFoundException in the BillingController to enhance error handling and provide clearer responses for missing WHMCS client mappings. - Updated multiple methods to ensure consistent error management across the controller, improving maintainability and clarity in API responses.
2025-12-26 17:36:06 +09:00
/**
* WHMCS shared provider helpers (domain-internal)
*
* Intentionally NOT exported from `@customer-portal/domain/common/providers` to avoid
* expanding the app-facing API surface. This module is used by domain mappers via
* an internal alias.
*/
export * from "./parsing.js";
export * from "./normalize.js";
export * from "./custom-fields.js";
export * from "./php-serialize.js";
refactor: update WHMCS mappers and schemas to use numberLike for type safety - Refactor various mappers in billing, payments, services, and subscriptions to ensure IDs are consistently converted to numbers. - Update raw types schemas to utilize whmcsNumberLike and whmcsString for improved validation and type safety. - Enhance the whmcs-utils to include schema exports for better modularity.
2026-02-24 13:56:02 +09:00
export * from "./schema.js";
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 517ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API