Skip to content

Commit

Permalink
add storage providers for expo-sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
wernst committed Jun 1, 2024
1 parent 6afd5be commit 3897fc7
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-shoes-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@triplit/db': patch
---

Add storage providers for expo-sqlite
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"dependencies": {
"@sinclair/typebox": "^0.32.15",
"@triplit/tuple-database": "2.2.17",
"@triplit/tuple-database": "2.2.22",
"idb": "^7.1.1",
"nanoid": "^3.0.0",
"pino": "^8.11.0",
Expand Down
1 change: 1 addition & 0 deletions packages/db/src/storage/adapter-sqlite.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@triplit/tuple-database/storage/AdapterSQLiteStorage.js';
1 change: 1 addition & 0 deletions packages/db/src/storage/expo-sqlite-legacy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { ExpoSQLiteLegacyTupleStorage as ExpoSQLiteLegacyStorage } from '@triplit/tuple-database/storage/ExpoSQLiteLegacyStorage.js';
1 change: 1 addition & 0 deletions packages/db/src/storage/expo-sqlite.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { ExpoSQLiteTupleStorage as ExpoSQLiteStorage } from '@triplit/tuple-database/storage/ExpoSQLiteStorage.js';
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6747,7 +6747,7 @@ __metadata:
"@sinclair/typebox": "npm:^0.32.15"
"@stryker-mutator/core": "npm:^7.3.0"
"@stryker-mutator/vitest-runner": "npm:^7.3.0"
"@triplit/tuple-database": "npm:2.2.17"
"@triplit/tuple-database": "npm:2.2.22"
"@triplit/types": "workspace:^"
"@vitest/coverage-c8": "npm:^0.29.2"
"@vitest/coverage-v8": "npm:^0.33.0"
Expand Down Expand Up @@ -6851,9 +6851,9 @@ __metadata:
languageName: unknown
linkType: soft

"@triplit/tuple-database@npm:2.2.17":
version: 2.2.17
resolution: "@triplit/tuple-database@npm:2.2.17"
"@triplit/tuple-database@npm:2.2.22":
version: 2.2.22
resolution: "@triplit/tuple-database@npm:2.2.22"
dependencies:
elen: "npm:^1.0.10"
fractional-indexing: "npm:^3.1.0"
Expand All @@ -6867,7 +6867,7 @@ __metadata:
peerDependenciesMeta:
react:
optional: true
checksum: 10/3f301582663368c68578c028e18c8944eeff9c5f4abb0d2c40d445a9a791b569c42a01f7f453ff1b0f885f516e377af2b6354bf187d6402b9b2d615672b3f410
checksum: 10/5802e847d7f2d837157b9d23d5b2d2122fce0513c049776edd9775fad9156d3c4c11232a1c2777399d30e767daa186c573215f7b7dd5b9d5d6baf9d49d2ff5b9
languageName: node
linkType: hard

Expand Down

0 comments on commit 3897fc7

Please sign in to comment.