Repository navigation
feat(storage): use NitroSQLite 10.2 connections and statements #851
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
Changes from all commits
1fa8054
455b30a
6e00ff0
0bddb42
471d0ff
cc56c80
b60b4b2
4f6932b
f94b943
433c23e
12b7b38
6ee48a7
c32e3c8
9fd800b
d3f34bd
c2cf3f0
0e91aa5
d080998
523db5b
6691393
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| // Expose the native-free subpaths to TypeScript's legacy Node module resolver. | ||
| declare module 'react-native-nitro-sqlite/errors' { | ||
|
chrispader marked this conversation as resolved.
Resolved
|
||
| export {NitroSQLiteError, NitroSQLiteExceptionType} from 'react-native-nitro-sqlite'; | ||
| } | ||
|
|
||
| declare module 'react-native-nitro-sqlite/mock' { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
🟡 This block copies NitroSQLite's shipped declarations by hand. The When upstream changes the mock, this copy drifts without any error. Legacy Node resolution ignores Could we re-export it, the same way the declare module 'react-native-nitro-sqlite/mock' {
export * from 'react-native-nitro-sqlite/lib/typescript/commonjs/mock';
}
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Chris's friendly neighborhood AI agent here. 🤖 Replaced the copied mock declarations with a re-export of NitroSQLite's shipped declarations in local commit |
||
| // eslint-disable-next-line import/no-unresolved -- Legacy Node type resolution uses this declaration file outside package exports. | ||
| export * from 'react-native-nitro-sqlite/lib/typescript/commonjs/mock'; | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.