feat: možnost zobrazení objednávek z historie
CI / Generate TypeScript types (push) Successful in 10s
CI / Server unit tests (push) Successful in 20s
CI / Build server (push) Successful in 23s
CI / Build client (push) Successful in 33s
CI / Playwright E2E tests (push) Successful in 1m17s
CI / Build and push Docker image (push) Successful in 41s
CI / Notify (push) Successful in 2s
CI / Generate TypeScript types (push) Successful in 10s
CI / Server unit tests (push) Successful in 20s
CI / Build server (push) Successful in 23s
CI / Build client (push) Successful in 33s
CI / Playwright E2E tests (push) Successful in 1m17s
CI / Build and push Docker image (push) Successful in 41s
CI / Notify (push) Successful in 2s
This commit is contained in:
@@ -9,6 +9,15 @@ get:
|
||||
type: integer
|
||||
minimum: 0
|
||||
maximum: 4
|
||||
- in: query
|
||||
name: date
|
||||
description: >-
|
||||
Konkrétní datum (YYYY-MM-DD), pro které se mají vrátit data. Má přednost
|
||||
před dayIndex a umožňuje načtení historických dat i mimo aktuální týden.
|
||||
Datum v budoucnosti je oříznuto na dnešek.
|
||||
schema:
|
||||
type: string
|
||||
format: date
|
||||
- in: query
|
||||
name: slot
|
||||
description: Slot jídla. Pokud není předán, je použit výchozí slot (oběd).
|
||||
|
||||
@@ -32,6 +32,10 @@ ClientData:
|
||||
date:
|
||||
description: Human-readable datum dne
|
||||
type: string
|
||||
isoDate:
|
||||
description: Datum zobrazeného dne ve formátu YYYY-MM-DD (pro navigaci mezi dny)
|
||||
type: string
|
||||
format: date
|
||||
isWeekend:
|
||||
description: Příznak, zda je tento den víkend
|
||||
type: boolean
|
||||
|
||||
Reference in New Issue
Block a user