Deduplikace typů a sloučení kontejnerů

- Zavedení yarn workspaces
- Sloučení klienta a serveru do jednoho Docker kontejneru
- Společný dockerfile, builder
- Zbavení se nginx (není již potřeba)
This commit is contained in:
2023-07-22 19:37:03 +02:00
parent 0d0c5cb946
commit 3c0e8b2297
31 changed files with 1638 additions and 2527 deletions

View File

@@ -19,7 +19,7 @@ export default function Header() {
setModalOpen(false);
}
const isValidInteger = (str) => {
const isValidInteger = (str: string) => {
str = str.trim();
if (!str) {
return false;
@@ -66,7 +66,7 @@ export default function Header() {
if (sum % 11 !== 0) {
throw Error("Číslo účtu je neplatné")
}
} catch (e) {
} catch (e: any) {
alert(e.message)
return
}