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
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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user