Skip to content

Commit

Permalink
Fix type for Kysely jsonObjectFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
steida committed Sep 7, 2023
1 parent 17bec11 commit 143b94d
Show file tree
Hide file tree
Showing 4 changed files with 928 additions and 43 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-apricots-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"evolu": patch
---

Fix type for Kysely jsonObjectFrom
2 changes: 1 addition & 1 deletion packages/evolu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"react-native": "^0.72.4",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"user-agent-data-types": "^0.3.1",
"user-agent-data-types": "^0.4.1",
"vitest": "^0.34.3"
},
"peerDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions packages/evolu/src/Sqlite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ export interface QueryObject {

export type Value = null | string | number | Uint8Array;

// TODO: jsonObjectFrom
export type Row = ReadonlyRecord.ReadonlyRecord<Value | ReadonlyArray<Row>>;
export type Row = ReadonlyRecord.ReadonlyRecord<
Value | Row | ReadonlyArray<Row>
>;

export type Query = string & Brand.Brand<"Query">;

Expand Down
Loading

1 comment on commit 143b94d

@vercel
Copy link

@vercel vercel bot commented on 143b94d Sep 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

evolu – ./

evolu.vercel.app
www.evolu.dev
evolu-git-main-evolu.vercel.app
evolu-evolu.vercel.app
evolu.dev

Please sign in to comment.