feat: limity skupinových objednávek nastavitelné přes env
CI / Generate TypeScript types (push) Successful in 12s
CI / Server unit tests (push) Successful in 25s
CI / Build server (push) Successful in 30s
CI / Build client (push) Successful in 39s
CI / Playwright E2E tests (push) Successful in 3m55s
CI / Build and push Docker image (push) Successful in 49s
CI / Notify (push) Successful in 2s

This commit is contained in:
2026-09-24 09:18:56 +02:00
parent 076b8db179
commit 103445dba8
15 changed files with 386 additions and 28 deletions
+35
View File
@@ -947,6 +947,41 @@ StoreMenuSource:
- HISTORY
- NONE
GroupLimits:
description: Limity skupinových objednávek (pojistky proti překlepům). Výchozí hodnoty lze přepsat env proměnnými GROUP_MAX_*.
type: object
additionalProperties: false
required:
- maxNoteLength
- maxSurchargeTextLength
- maxNameLength
- maxUrlLength
- maxAmountKc
- maxItemQuantity
- maxItems
properties:
maxNoteLength:
description: Max. délka poznámky člena (znaky)
type: integer
maxSurchargeTextLength:
description: Max. délka popisu příplatku (znaky)
type: integer
maxNameLength:
description: Max. délka názvu skupiny (znaky)
type: integer
maxUrlLength:
description: Max. délka URL nabídky / sledování (znaky)
type: integer
maxAmountKc:
description: Max. výše jedné částky (útrata, příplatek, poplatky, pevná sleva) v Kč
type: integer
maxItemQuantity:
description: Max. počet kusů jedné položky při výběru z nabídky
type: integer
maxItems:
description: Max. celkový počet položek objednávky při výběru z nabídky
type: integer
StoreMenuProvider:
description: Dovozová služba, ze které lze stáhnout nabídku podniku
type: string