initial commit. Cloned timetracker repository

This commit is contained in:
Daniel Goc
2026-03-10 09:02:57 +01:00
commit f2952bcef0
189 changed files with 21334 additions and 0 deletions

23
bo/src/utils/fake.ts Normal file
View File

@@ -0,0 +1,23 @@
export const getLangs = async () => {
return new Promise((resolve) => {
setTimeout(() => {
resolve({
'some.key': 'this is translated text',
'key.two': 'this is second key',
'routing.login': 'Routing Translation',
})
}, 200)
})
}
export const getL = async () => {
return new Promise((resolve) => {
setTimeout(() => {
resolve([
{ code: 'en', name: 'English', flag: '🇬🇧' },
{ code: 'pl', name: 'Polski', flag: '🇵🇱' },
{ code: 'cs', name: 'Čeština', flag: '🇨🇿' },
])
}, Math.random() * 1000)
})
}