From 59317a39f95390fdb3f9ef930b0cfcb9e8243a2b Mon Sep 17 00:00:00 2001 From: Lei Nelissen Date: Sun, 8 Mar 2026 22:15:08 +0100 Subject: [PATCH] fix: failing relational queries --- .../drizzle-orm@1.0.0-beta.16-ea816b6.patch | 48 ++++++++++++ pnpm-lock.yaml | 74 +++++++++---------- pnpm-workspace.yaml | 1 + src/store/index.ts | 7 -- src/store/sources/actions.ts | 2 +- src/store/sync-cursors/db.ts | 22 +++--- 6 files changed, 96 insertions(+), 58 deletions(-) create mode 100644 patches/drizzle-orm@1.0.0-beta.16-ea816b6.patch diff --git a/patches/drizzle-orm@1.0.0-beta.16-ea816b6.patch b/patches/drizzle-orm@1.0.0-beta.16-ea816b6.patch new file mode 100644 index 0000000..661de5a --- /dev/null +++ b/patches/drizzle-orm@1.0.0-beta.16-ea816b6.patch @@ -0,0 +1,48 @@ +diff --git a/op-sqlite/session.cjs b/op-sqlite/session.cjs +index 949ffbbb6affc930c0393ff02533b49f32c16da3..cc2f700a3614d48b381825debe699de46be8cc98 100644 +--- a/op-sqlite/session.cjs ++++ b/op-sqlite/session.cjs +@@ -91,7 +91,8 @@ var OPSQLitePreparedQuery = class extends __sqlite_core_session_ts.SQLitePrepare + const { query, logger, customResultMapper, client } = this; + const params = (0, __sql_sql_ts.fillPlaceholders)(query.params, placeholderValues ?? {}); + logger.logQuery(query.sql, params); +- return customResultMapper(client.execute(query.sql, params).rows?._array || []); ++ const result = await client.execute(query.sql, params); ++ return customResultMapper(result.rows || []); + } + async get(placeholderValues) { + if (this.isRqbV2Query) return this.getRqbV2(placeholderValues); +@@ -111,7 +112,8 @@ var OPSQLitePreparedQuery = class extends __sqlite_core_session_ts.SQLitePrepare + const { customResultMapper, query, logger, client } = this; + const params = (0, __sql_sql_ts.fillPlaceholders)(query.params, placeholderValues ?? {}); + logger.logQuery(query.sql, params); +- const row = (client.execute(query.sql, params).rows?._array || [])[0]; ++ const result = await client.execute(query.sql, params); ++ const row = (result.rows || [])[0]; + if (!row) return; + return customResultMapper([row]); + } +diff --git a/op-sqlite/session.js b/op-sqlite/session.js +index e39afe1383ecff6c0d285afa3c12a332c9441f1a..25d454d96bde70802af6cc34401a3403771f7148 100644 +--- a/op-sqlite/session.js ++++ b/op-sqlite/session.js +@@ -90,7 +90,8 @@ var OPSQLitePreparedQuery = class extends SQLitePreparedQuery$1 { + const { query, logger, customResultMapper, client } = this; + const params = fillPlaceholders(query.params, placeholderValues ?? {}); + logger.logQuery(query.sql, params); +- return customResultMapper(client.execute(query.sql, params).rows?._array || []); ++ const result = await client.execute(query.sql, params); ++ return customResultMapper(result.rows || []); + } + async get(placeholderValues) { + if (this.isRqbV2Query) return this.getRqbV2(placeholderValues); +@@ -110,7 +111,8 @@ var OPSQLitePreparedQuery = class extends SQLitePreparedQuery$1 { + const { customResultMapper, query, logger, client } = this; + const params = fillPlaceholders(query.params, placeholderValues ?? {}); + logger.logQuery(query.sql, params); +- const row = (client.execute(query.sql, params).rows?._array || [])[0]; ++ const result = await client.execute(query.sql, params); ++ const row = (result.rows || [])[0]; + if (!row) return; + return customResultMapper([row]); + } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a4b962c..8000f4a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,12 +8,12 @@ patchedDependencies: '@iternio/react-native-auto-play': hash: 2ab8be0081e20edc9203f48ede10d78ffcdb6eb30798e0d0b92d8d29b19777fc path: patches/@iternio__react-native-auto-play.patch + drizzle-orm@1.0.0-beta.16-ea816b6: + hash: 0d4b2ce2163e4ccab257f772eeb8a6e395266b70ea6c6ce549bf47a1adee2a34 + path: patches/drizzle-orm@1.0.0-beta.16-ea816b6.patch react-native-track-player: hash: e7b3a1d9dfe94a2a6a4067d693dff8c4d67147057264361b27db20fd497ef184 path: patches/react-native-track-player.patch - react-native-webview: - hash: 2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65 - path: patches/react-native-webview.patch importers: @@ -33,7 +33,7 @@ importers: version: 2.2.0(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) '@react-native-community/datetimepicker': specifier: ^8.6.0 - version: 8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + version: 8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) '@react-native-community/netinfo': specifier: ^11.4.1 version: 11.5.2(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) @@ -69,7 +69,7 @@ importers: version: 4.1.0 drizzle-orm: specifier: 1.0.0-beta.16-ea816b6 - version: 1.0.0-beta.16-ea816b6(@op-engineering/op-sqlite@15.2.5(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(@sinclair/typebox@0.34.48)(@types/mssql@9.1.9(@azure/core-client@1.10.1))(mssql@11.0.1(@azure/core-client@1.10.1))(zod@4.3.6) + version: 1.0.0-beta.16-ea816b6(patch_hash=0d4b2ce2163e4ccab257f772eeb8a6e395266b70ea6c6ce549bf47a1adee2a34)(@op-engineering/op-sqlite@15.2.5(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(@sinclair/typebox@0.34.48)(@types/mssql@9.1.9(@azure/core-client@1.10.1))(mssql@11.0.1(@azure/core-client@1.10.1))(zod@4.3.6) events: specifier: 3.3.0 version: 3.3.0 @@ -117,7 +117,7 @@ importers: version: 3.6.1(@expo/config-plugins@10.1.2)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) react-native-modal-datetime-picker: specifier: 18.0.0 - version: 18.0.0(@react-native-community/datetimepicker@8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) + version: 18.0.0(@react-native-community/datetimepicker@8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) react-native-nitro-modules: specifier: ^0.33.2 version: 0.33.9(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) @@ -141,7 +141,7 @@ importers: version: 4.1.2(patch_hash=e7b3a1d9dfe94a2a6a4067d693dff8c4d67147057264361b27db20fd497ef184)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) react-native-webview: specifier: ^13.16.0 - version: 13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + version: 13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) react-native-worklets: specifier: ^0.7.2 version: 0.7.4(@babel/core@7.28.6)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) @@ -187,7 +187,7 @@ importers: version: 3.1.0 '@sentry/react-native': specifier: 7.10.0 - version: 7.10.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + version: 7.10.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) '@types/events': specifier: ^3.0.3 version: 3.0.3 @@ -7753,9 +7753,9 @@ snapshots: '@expo/sudo-prompt@9.3.2': optional: true - '@expo/vector-icons@14.1.0(expo-font@13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3)': + '@expo/vector-icons@14.1.0(expo-font@13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3)': dependencies: - expo-font: 13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3) + expo-font: 13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3) react: 19.2.3 react-native: 0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3) optional: true @@ -8204,13 +8204,13 @@ snapshots: - typescript - utf-8-validate - '@react-native-community/datetimepicker@8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3)': + '@react-native-community/datetimepicker@8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3)': dependencies: invariant: 2.2.4 react: 19.2.3 react-native: 0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3) optionalDependencies: - expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) '@react-native-community/netinfo@11.5.2(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3)': dependencies: @@ -8704,7 +8704,7 @@ snapshots: '@sentry/core@10.36.0': {} - '@sentry/react-native@7.10.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3)': + '@sentry/react-native@7.10.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3)': dependencies: '@sentry/babel-plugin-component-annotate': 4.7.0 '@sentry/browser': 10.36.0 @@ -8715,7 +8715,7 @@ snapshots: react: 19.2.3 react-native: 0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3) optionalDependencies: - expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) transitivePeerDependencies: - encoding - supports-color @@ -9961,7 +9961,7 @@ snapshots: esbuild: 0.25.12 jiti: 2.6.1 - drizzle-orm@1.0.0-beta.16-ea816b6(@op-engineering/op-sqlite@15.2.5(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(@sinclair/typebox@0.34.48)(@types/mssql@9.1.9(@azure/core-client@1.10.1))(mssql@11.0.1(@azure/core-client@1.10.1))(zod@4.3.6): + drizzle-orm@1.0.0-beta.16-ea816b6(patch_hash=0d4b2ce2163e4ccab257f772eeb8a6e395266b70ea6c6ce549bf47a1adee2a34)(@op-engineering/op-sqlite@15.2.5(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(@sinclair/typebox@0.34.48)(@types/mssql@9.1.9(@azure/core-client@1.10.1))(mssql@11.0.1(@azure/core-client@1.10.1))(zod@4.3.6): dependencies: '@types/mssql': 9.1.9(@azure/core-client@1.10.1) mssql: 11.0.1(@azure/core-client@1.10.1) @@ -10348,43 +10348,43 @@ snapshots: jest-mock: 30.2.0 jest-util: 30.2.0 - expo-asset@11.1.7(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3): + expo-asset@11.1.7(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3): dependencies: '@expo/image-utils': 0.7.6 - expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) - expo-constants: 17.1.8(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) + expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + expo-constants: 17.1.8(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) react: 19.2.3 react-native: 0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3) transitivePeerDependencies: - supports-color optional: true - expo-constants@17.1.8(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)): + expo-constants@17.1.8(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)): dependencies: '@expo/config': 11.0.13 '@expo/env': 1.0.7 - expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) react-native: 0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3) transitivePeerDependencies: - supports-color optional: true - expo-file-system@18.1.11(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)): + expo-file-system@18.1.11(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)): dependencies: - expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) react-native: 0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3) optional: true - expo-font@13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3): + expo-font@13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3): dependencies: - expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) fontfaceobserver: 2.3.0 react: 19.2.3 optional: true - expo-keep-awake@14.1.4(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3): + expo-keep-awake@14.1.4(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3): dependencies: - expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + expo: 53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) react: 19.2.3 optional: true @@ -10404,7 +10404,7 @@ snapshots: invariant: 2.2.4 optional: true - expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3): + expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3): dependencies: '@babel/runtime': 7.28.6 '@expo/cli': 0.24.11 @@ -10412,13 +10412,13 @@ snapshots: '@expo/config-plugins': 10.0.3 '@expo/fingerprint': 0.12.4 '@expo/metro-config': 0.20.13 - '@expo/vector-icons': 14.1.0(expo-font@13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + '@expo/vector-icons': 14.1.0(expo-font@13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) babel-preset-expo: 13.1.11(@babel/core@7.28.6) - expo-asset: 11.1.7(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) - expo-constants: 17.1.8(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) - expo-file-system: 18.1.11(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) - expo-font: 13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3) - expo-keep-awake: 14.1.4(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3) + expo-asset: 11.1.7(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + expo-constants: 17.1.8(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) + expo-file-system: 18.1.11(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)) + expo-font: 13.3.2(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3) + expo-keep-awake: 14.1.4(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react@19.2.3) expo-modules-autolinking: 2.1.9 expo-modules-core: 2.3.12 react: 19.2.3 @@ -10426,7 +10426,7 @@ snapshots: react-native-edge-to-edge: 1.6.0(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) whatwg-url-without-unicode: 8.0.0-3 optionalDependencies: - react-native-webview: 13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + react-native-webview: 13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) transitivePeerDependencies: - '@babel/core' - babel-plugin-react-compiler @@ -12555,9 +12555,9 @@ snapshots: optionalDependencies: '@expo/config-plugins': 10.1.2 - react-native-modal-datetime-picker@18.0.0(@react-native-community/datetimepicker@8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)): + react-native-modal-datetime-picker@18.0.0(@react-native-community/datetimepicker@8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3)): dependencies: - '@react-native-community/datetimepicker': 8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) + '@react-native-community/datetimepicker': 8.6.0(expo@53.0.7(@babel/core@7.28.6)(react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3))(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3) prop-types: 15.8.1 react-native: 0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3) @@ -12619,7 +12619,7 @@ snapshots: react-native-uuid@2.0.3: {} - react-native-webview@13.16.1(patch_hash=2bf2ed0feba988e3f2d2ebc497218220b351ab5157dc5fedf7085f8525cacb65)(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3): + react-native-webview@13.16.1(react-native@0.83.4(@babel/core@7.28.6)(@react-native-community/cli@20.1.2(typescript@5.9.3))(@react-native/metro-config@0.83.4(@babel/core@7.28.6))(@types/react@19.2.9)(react@19.2.3))(react@19.2.3): dependencies: escape-string-regexp: 4.0.0 invariant: 2.2.4 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index dae5cd4..c720ef6 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -5,3 +5,4 @@ onlyBuiltDependencies: patchedDependencies: react-native-track-player: patches/react-native-track-player.patch '@iternio/react-native-auto-play': patches/@iternio__react-native-auto-play.patch + drizzle-orm@1.0.0-beta.16-ea816b6: patches/drizzle-orm@1.0.0-beta.16-ea816b6.patch diff --git a/src/store/index.ts b/src/store/index.ts index 51129fd..cab9ed7 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -17,13 +17,6 @@ console.log('[DB] Database path:', sqliteDb.getDbPath()); // Create drizzle instance with v2 relations — exported as singleton export const db = drizzle(sqliteDb, { schema, relations, logger: true }); -// The v2 relational query builder (db.query) is broken in this beta of drizzle-orm: -// allRqbV2/getRqbV2 in op-sqlite/session.js call client.execute().rows?._array which is -// always undefined with the current op-sqlite, returning empty results for every query. -// The v1 builder (db._query) goes through executeRawAsync instead and works correctly. -// Replace db.query with db._query until the upstream bug is fixed. -// (db as any).query = (db as any)._query; - /** * Run database migrations * Migrations should be generated using drizzle-kit diff --git a/src/store/sources/actions.ts b/src/store/sources/actions.ts index 3cccf93..eaa971e 100644 --- a/src/store/sources/actions.ts +++ b/src/store/sources/actions.ts @@ -12,7 +12,7 @@ type Source = InferSelectModel; * Retrieve all sources from the database */ export async function getSources() { - return db.select().from(sources).all(); + return db.query.sources.findMany(); } /** diff --git a/src/store/sync-cursors/db.ts b/src/store/sync-cursors/db.ts index 488eb35..a6cf08d 100644 --- a/src/store/sync-cursors/db.ts +++ b/src/store/sync-cursors/db.ts @@ -15,8 +15,6 @@ export async function createCursorIfNotExists( parentEntityType?: string, pageSize: number = 500, ) { - console.log('Creating cursor', { sourceId, entityType, parentEntityId, parentEntityType }); - await db.insert(syncCursors).values({ sourceId, entityType, @@ -29,16 +27,14 @@ export async function createCursorIfNotExists( await sqliteDb.flushPendingReactiveQueries(); - console.log('Inserted cursor'); - - const cursor = await db.select().from(syncCursors).where(and( - eq(syncCursors.sourceId, sourceId), - eq(syncCursors.entityType, entityType), - parentEntityId !== undefined ? eq(syncCursors.parentEntityId, parentEntityId) : isNull(syncCursors.parentEntityId), - parentEntityType !== undefined ? eq(syncCursors.parentEntityType, parentEntityType) : isNull(syncCursors.parentEntityType), - )).get(); - - console.log('Retrieved cursor', cursor); + const cursor = await db.query.syncCursors.findFirst({ + where: { + sourceId, + entityType, + parentEntityId: parentEntityId, + parentEntityType: parentEntityType, + } + }) return cursor; } @@ -70,4 +66,4 @@ export async function markCursorComplete( eq(syncCursors.entityType, entityType), parentEntityId !== undefined ? eq(syncCursors.parentEntityId, parentEntityId) : isNull(syncCursors.parentEntityId), )); -} \ No newline at end of file +}