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
+8 -2
View File
@@ -1,6 +1,6 @@
get:
operationId: getConfig
summary: Vrátí veřejnou runtime konfiguraci pro klienta (např. Sentry DSN). Nevyžaduje autentizaci.
summary: Vrátí veřejnou runtime konfiguraci pro klienta (např. Sentry DSN, limity objednávek). Nevyžaduje autentizaci.
security: [] # Nevyžaduje autentizaci
responses:
"200":
@@ -9,8 +9,14 @@ get:
application/json:
schema:
type: object
required: [sentry]
required: [sentry, limits]
properties:
limits:
type: object
required: [group]
properties:
group:
$ref: "../../schemas/_index.yml#/GroupLimits"
sentry:
type: object
required: [dsn, environment]