Skip to content

Commit

Permalink
Merge pull request #1035 from undb-xyz/release/v0.4.10
Browse files Browse the repository at this point in the history
  • Loading branch information
nichenqin authored May 24, 2023
2 parents ab0028f + 8b7d24b commit 42d4eb5
Show file tree
Hide file tree
Showing 20 changed files with 858 additions and 1,021 deletions.
4 changes: 3 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ node_modules
*.log
docker
out
.undb
.undb
**/.svelte-kit
.turbo
24 changes: 12 additions & 12 deletions apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
"name": "@undb/backend",
"version": "0.0.0",
"dependencies": {
"@mikro-orm/better-sqlite": "^5.7.7",
"@mikro-orm/core": "^5.7.7",
"@mikro-orm/migrations": "^5.7.7",
"@aws-sdk/client-s3": "^3.338.0",
"@mikro-orm/better-sqlite": "^5.7.10",
"@mikro-orm/core": "^5.7.10",
"@mikro-orm/migrations": "^5.7.10",
"@mikro-orm/nestjs": "^5.1.8",
"@nestjs/common": "^9.4.1",
"@nestjs/common": "^9.4.2",
"@nestjs/config": "^2.3.2",
"@nestjs/core": "^9.4.1",
"@nestjs/core": "^9.4.2",
"@nestjs/cqrs": "^9.0.4",
"@nestjs/jwt": "^10.0.3",
"@nestjs/passport": "^9.0.3",
"@nestjs/platform-express": "^9.4.1",
"@nestjs/platform-express": "^9.4.2",
"@nestjs/serve-static": "^3.0.1",
"@nestjs/terminus": "^9.2.2",
"@trpc/server": "^10.27.1",
Expand All @@ -22,14 +23,15 @@
"@undb/i18n": "^0.0.0",
"@undb/sqlite": "^0.0.0",
"@undb/trpc": "^0.0.0",
"aws-sdk-v3-nest": "^0.2.0",
"bcrypt": "^5.1.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"helmet": "^7.0.0",
"i18next": "^22.5.0",
"i18next-http-middleware": "^3.3.0",
"i18next-http-middleware": "^3.3.1",
"joi": "^17.9.2",
"nestjs-cls": "^3.3.1",
"nestjs-pino": "^3.2.0",
Expand All @@ -42,14 +44,12 @@
"reflect-metadata": "^0.1.13",
"rimraf": "^5.0.1",
"rxjs": "^7.8.1",
"@aws-sdk/client-s3": "^3.337.0",
"aws-sdk-v3-nest": "^0.2.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@nestjs/cli": "^9.5.0",
"@nestjs/schematics": "^9.2.0",
"@nestjs/testing": "^9.4.1",
"@nestjs/testing": "^9.4.2",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.59",
"@types/bcrypt": "^5.0.0",
Expand All @@ -58,7 +58,7 @@
"@types/express": "^4.17.17",
"@types/jest": "^29.5.1",
"@types/multer": "^1.4.7",
"@types/node": "^20.2.1",
"@types/node": "^20.2.3",
"@types/passport": "^1.0.12",
"@types/passport-jwt": "^3.0.8",
"@types/passport-local": "^1.0.35",
Expand All @@ -73,7 +73,7 @@
"npm-run-all": "^4.1.5",
"supertest": "^6.3.3",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.2",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig": "^0.0.0",
"tsconfig-paths": "^4.2.0",
Expand Down
18 changes: 9 additions & 9 deletions apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"format": "prettier --plugin-search-dir . --write ."
},
"devDependencies": {
"@event-calendar/core": "^1.1.1",
"@event-calendar/day-grid": "^1.1.1",
"@event-calendar/interaction": "^1.1.1",
"@event-calendar/time-grid": "^1.1.1",
"@playwright/test": "^1.34.0",
"@event-calendar/core": "^1.2.0",
"@event-calendar/day-grid": "^1.2.0",
"@event-calendar/interaction": "^1.2.0",
"@event-calendar/time-grid": "^1.2.0",
"@playwright/test": "^1.34.2",
"@popperjs/core": "^2.11.7",
"@revolist/revogrid": "^3.6.5",
"@revolist/svelte-datagrid": "^3.2.16",
Expand All @@ -34,8 +34,8 @@
"@types/lodash-es": "^4.17.7",
"@types/nprogress": "^0.2.0",
"@types/sortablejs": "^1.15.1",
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"@undb/core": "^0.0.0",
"@undb/i18n": "^0.0.0",
"@undb/trpc": "^0.0.0",
Expand All @@ -48,7 +48,7 @@
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-svelte3": "^4.0.0",
"flowbite": "^1.6.5",
"flowbite-svelte": "^0.36.4",
"flowbite-svelte": "^0.36.5",
"htm": "^3.1.1",
"i18next": "^22.5.0",
"i18next-browser-languagedetector": "^7.0.1",
Expand All @@ -74,7 +74,7 @@
"svelte-preprocess": "^5.0.3",
"svelte-previous": "^2.1.3",
"svelte-tiny-virtual-list": "^2.0.5",
"sveltekit-superforms": "^0.8.6",
"sveltekit-superforms": "^0.8.7",
"tailwindcss": "^3.3.2",
"trpc-svelte-query": "^1.0.0",
"tslib": "^2.5.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
selectable: true,
select: (info: { start: Date; end: Date }) => {
$createRecordInitial = {
[field.id.value]: [format(info.start, 'yyyy-MM-dd'), format(addDays(info.end, -1), 'yyyy-MM-dd')],
[field.id.value]: [format(info.start, 'yyyy-MM-dd'), format(info.end, 'yyyy-MM-dd')],
}
createRecordModal.open()
},
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/routes/(authed)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
</TransitionRoot>

<div class="hidden lg:fixed lg:inset-y-0 lg:z-30 lg:flex lg:w-72 lg:flex-col h-screen">
<div class="flex flex-1 grow flex-col gap-y-0 overflow-y-hidden border-r border-gray-200 bg-white h-full">
<div class="flex flex-1 grow flex-col gap-y-0 overflow-hidden border-r border-gray-200 bg-white h-full">
<div class="flex h-16 shrink-0 items-center px-6 gap-2">
<img class="h-6 w-auto" src={logo} alt="undb" />
<P size="lg" class="font-semibold select-none !text-blue-600">undb</P>
Expand Down
22 changes: 21 additions & 1 deletion apps/frontend/src/routes/(authed)/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<script lang="ts">
import cx from 'classnames'
import { Button, Card } from 'flowbite-svelte'
import type { LayoutData } from './$types'
import Empty from '$lib/table/Empty.svelte'
Expand Down Expand Up @@ -27,9 +28,28 @@
<main class="w-full p-10 grid lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2 gap-4">
{#each data.tables as table}
<Card href={`/t/${table.id}`} class="!max-w-none">
<h5 class="font-semibold">{table.name}</h5>
<div class="flex items-center gap-3">
<span
class={cx(
'text-gray-400 border-gray-200 group-hover:border-indigo-600 group-hover:text-indigo-600',
'flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border text-[0.625rem] font-medium bg-white',
)}
>
{table.name.slice(0, 1)}
</span>
<h5 class="font-semibold">{table.name}</h5>
</div>
</Card>
{/each}
<Card
class="!max-w-none cursor-pointer hover:bg-blue-500/90 hover:text-white transition"
on:click={() => createTableModal.open()}
>
<div class="flex items-center gap-2">
<i class="ti ti-plus" />
<p class="text-sm">{$t('Create New Table')}</p>
</div>
</Card>
</main>
{:else}
<Empty />
Expand Down
Loading

0 comments on commit 42d4eb5

Please sign in to comment.