Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release version v1.0.0-134 #2183

Merged
merged 52 commits into from
Dec 13, 2024
Merged
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
a1b6db1
Merge pull request #2174 from undb-io/main
nichenqin Dec 2, 2024
a35c2db
feat: try to add sql.js
nichenqin Dec 2, 2024
c6654ff
feat: allow to migrate sql js
nichenqin Dec 2, 2024
b214393
chore: sql-js create init db
nichenqin Dec 2, 2024
6048ba4
fix: fix type issue
nichenqin Dec 2, 2024
ba1372e
feat: add data service package
nichenqin Dec 2, 2024
4f450c4
refactor: add frontend di
nichenqin Dec 3, 2024
dac47eb
fix: fix lock file
nichenqin Dec 3, 2024
93fabe9
feat: template sqlite
nichenqin Dec 4, 2024
34dca3f
fix: fix oauth
nichenqin Dec 4, 2024
224922e
fix: fix oauth
nichenqin Dec 4, 2024
4b48570
chore: add dummy qb
nichenqin Dec 4, 2024
dd17abb
Revert "fix: fix oauth"
nichenqin Dec 4, 2024
95eb3c9
Revert "chore: add dummy qb"
nichenqin Dec 4, 2024
1816df5
fix: fix oauth
nichenqin Dec 4, 2024
f5066f2
Merge pull request #2178 from undb-io/main
nichenqin Dec 4, 2024
46bb169
fix: fix lock file
nichenqin Dec 4, 2024
b59b0dd
fix: fix aggregate count
nichenqin Dec 5, 2024
52ac118
chore: data service aggregate
nichenqin Dec 5, 2024
ec1fccf
chore: view widget readonly
nichenqin Dec 5, 2024
f850988
chore: view widget readonly
nichenqin Dec 5, 2024
d807e88
fix: fix export
nichenqin Dec 5, 2024
cd29a27
fix: fix template dashbord default value
nichenqin Dec 5, 2024
113a7e8
chore: default not include data
nichenqin Dec 5, 2024
8d58d71
fix: remove magic string
nichenqin Dec 5, 2024
ad19393
fix: fix template url
nichenqin Dec 5, 2024
16a95b7
fix: fix reference cell readonly
nichenqin Dec 5, 2024
c371276
fix: fix template i18n
nichenqin Dec 5, 2024
51e3ac7
chore: i18n
nichenqin Dec 5, 2024
d7ffb2e
chore: template header redirect to home page
nichenqin Dec 5, 2024
4c23da1
fix: readonly select cell
nichenqin Dec 5, 2024
899ee50
fix: readonly long text cell
nichenqin Dec 5, 2024
dbdacb0
fix: remove everything template
nichenqin Dec 5, 2024
b0408ae
fix: fix sortable number
nichenqin Dec 8, 2024
00a89ba
chore: fix create kanban view
nichenqin Dec 8, 2024
640718c
feat: init playground
nichenqin Dec 7, 2024
86bfd7a
chore: add more data service impl
nichenqin Dec 8, 2024
25f2d09
fix: fix vite config
nichenqin Dec 8, 2024
f996759
fix: fix vite config
nichenqin Dec 9, 2024
ce1c141
chore: add playground alert
nichenqin Dec 9, 2024
8454032
style: make playground style nice
nichenqin Dec 9, 2024
1f77040
chore: add some playground menu button
nichenqin Dec 9, 2024
77864ca
chore: add some playground command handler
nichenqin Dec 9, 2024
8a7b75e
fix: delete records clear selection
nichenqin Dec 9, 2024
239066e
chore: playground
nichenqin Dec 9, 2024
93ba25a
chore: playground
nichenqin Dec 10, 2024
4087238
chore: upgrade dependencies
nichenqin Dec 10, 2024
b8ad341
chore: change base
nichenqin Dec 10, 2024
4b56f67
refactor: data service
nichenqin Dec 12, 2024
79669f7
chore: playground
nichenqin Dec 13, 2024
ebe24b2
Merge pull request #2179 from undb-io/feature/playground
nichenqin Dec 13, 2024
97a8eb7
Prepare release v1.0.0-134
web-flow Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "chore: add dummy qb"
This reverts commit 4b48570.
nichenqin committed Dec 4, 2024
commit 95eb3c9e6894b71edf69e8200ccfe276b7444a8d
Binary file modified bun.lockb
Binary file not shown.
22 changes: 2 additions & 20 deletions packages/persistence/src/qb.client.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { drizzle } from "drizzle-orm/sql-js"
import { DummyDriver, Kysely, SqliteAdapter, SqliteIntrospector, SqliteQueryCompiler, type Dialect } from "kysely"
import { SqlJsDialect } from "kysely-wasm"
import InitSqlJs from "sql.js"
import { migrate } from "./migrate.client"
@@ -27,7 +26,8 @@ export const createSqljsQueryBuilder = async (db?: InitSqlJs.Database): Promise<
return db
},
onWrite: {
func: (buffer) => {},
func: (buffer) => {
},
isThrottle: true,
},
})
@@ -38,21 +38,3 @@ export const createSqljsQueryBuilder = async (db?: InitSqlJs.Database): Promise<

return createQueryBuilderWithDialect(dialect)
}

export const createDummyQueryBuilder = () => {
const dialect: Dialect = {
createAdapter() {
return new SqliteAdapter()
},
createDriver() {
return new DummyDriver()
},
createIntrospector(db: Kysely<unknown>) {
return new SqliteIntrospector(db)
},
createQueryCompiler() {
return new SqliteQueryCompiler()
},
}
return createQueryBuilderWithDialect(dialect)
}