File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1+ import { NitroModules } from 'react-native-nitro-modules'
2+ import { NitroSQLiteOnLoad as NitroSQLiteOnLoadSpec } from './specs/NitroSQLiteOnLoad.nitro'
3+
4+ const NitroSQLiteOnLoad =
5+ NitroModules . createHybridObject < NitroSQLiteOnLoadSpec > ( 'NitroSQLiteOnLoad' )
6+ export const init = ( ) => NitroSQLiteOnLoad . init ( )
Original file line number Diff line number Diff line change 1+ // NOOP on iOS
2+ export const init = ( ) => { }
Original file line number Diff line number Diff line change 11import { transaction } from './operations/transaction'
2- import { HybridNitroSQLite , init } from './nitro'
2+ import { HybridNitroSQLite } from './nitro'
33import { open } from './operations/session'
44import { execute , executeAsync } from './operations/execute'
55import { SQLiteNullValue } from './types'
6+ import { init } from './OnLoad'
67export type * from './types'
78export { typeORMDriver } from './typeORM'
89
Original file line number Diff line number Diff line change 11import { NitroModules } from 'react-native-nitro-modules'
22import type { NitroSQLite as NitroSQLiteSpec } from './specs/NitroSQLite.nitro'
33import type { PendingTransaction } from './operations/transaction'
4- import { NitroSQLiteOnLoad as NitroSQLiteOnLoadSpec } from './specs/NitroSQLiteOnLoad.nitro'
5-
6- const NitroSQLiteOnLoad =
7- NitroModules . createHybridObject < NitroSQLiteOnLoadSpec > ( 'NitroSQLiteOnLoad' )
8- export const init = ( ) => NitroSQLiteOnLoad . init ( )
94
105export const HybridNitroSQLite =
116 NitroModules . createHybridObject < NitroSQLiteSpec > ( 'NitroSQLite' )
You can’t perform that action at this time.
0 commit comments