🧹 Moved Sb1 API to separate workspace and created common workspace

- Created common workspace
- Create Sparebank1Api workspace
- Moved logger to common
- Moved SB1 types to types.ts
- Logger will avoid duplicating first line when capturing console.logs
- Updated imports and added type keyword
- Added nonUniqueId type
This commit is contained in:
2025-02-09 12:35:08 +01:00
parent efa9e785f2
commit c5b1ec20d6
23 changed files with 202 additions and 151 deletions

3
packages/common/date.ts Normal file
View File

@ -0,0 +1,3 @@
import { type Dayjs } from "dayjs"
export const toISODateString = (day: Dayjs): string => day.format("YYYY-MM-DD")