Files
PnvPanel/docs
Leonid Pershin 0dcaf1203f
CI / Backend (build + test) (push) Successful in 1m20s
CI / Frontend (lint + typecheck + build) (push) Successful in 32s
Implement discount tiers for pricing settings and enhance related functionalities
- Introduced a new `DiscountTierDto` to represent volume discount tiers, allowing roles with a config quota at or above specified thresholds to receive discounts on pricing.
- Updated the `PricingSettingsDto` to include a list of discount tiers, enhancing the pricing model to support more flexible pricing strategies.
- Modified the `GetPricingSettingsQueryHandler` and `UpdatePricingSettingsCommandHandler` to handle discount tiers, ensuring they are correctly retrieved and updated in the database.
- Enhanced validation in `UpdatePricingSettingsCommandValidator` to enforce uniqueness and progressive discount tiers, preventing invalid configurations.
- Updated frontend components to support the new discount tier functionality, including forms for adding and managing discount tiers in the admin interface.
- Revised API documentation to reflect the new discount tier features and their usage in pricing settings.
2026-07-19 15:51:01 +03:00
..

PnvPanel — Документация

Документация описывает систему как она построена: архитектура, домен, конвенции кода, как запускать и как пользоваться.

Индекс. Читать в этом порядке для погружения:

  1. Product Vision & Scope — продукт, роли, пользовательские сценарии, функциональность.
  2. Architecture — Clean Architecture, слои, CQRS, интеграция с 3x-ui, realtime, безопасность, фоновые задачи.
  3. Domain Model — сущности, value objects, связи, инварианты, уведомления/аудит.
  4. Tech Stack — используемые технологии и ключевые решения по домену.
  5. Backend Conventions — структура решения, паттерны, соглашения по коду.
  6. Frontend — стек, структура, работа с API и realtime.
  7. Telegram Bot — бот: ссылка на сайт, просмотр конфигов, passwordless-вход через привязку Telegram.
  8. API Design — контракты REST и SignalR.