File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
demos/react-native-web-supabase-todolist/library/powersync Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 11import { AttachmentTable } from '@powersync/attachments' ;
2- import { column , Schema , Table } from '@powersync/react-native ' ;
2+ import { column , Schema , Table } from '@powersync/common ' ;
33
44export const LIST_TABLE = 'lists' ;
55export const TODO_TABLE = 'todos' ;
@@ -28,8 +28,8 @@ export const AppSchema = new Schema({
2828 todos,
2929 lists,
3030 attachments : new AttachmentTable ( {
31- name : 'attachments' ,
32- } ) ,
31+ name : 'attachments'
32+ } )
3333} ) ;
3434
3535export type Database = ( typeof AppSchema ) [ 'types' ] ;
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ module.exports = () => {
4141 '@journeyapps/wa-sqlite' : '@journeyapps/wa-sqlite' ,
4242 '@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js' :
4343 '@journeyapps/wa-sqlite/src/examples/IDBBatchAtomicVFS.js' ,
44+ '@journeyapps/wa-sqlite/src/examples/AccessHandlePoolVFS.js' :
45+ '@journeyapps/wa-sqlite/src/examples/AccessHandlePoolVFS.js' ,
46+ '@journeyapps/wa-sqlite/src/examples/OPFSCoopSyncVFS.js' :
47+ '@journeyapps/wa-sqlite/src/examples/OPFSCoopSyncVFS.js' ,
48+
4449 '@powersync/common' : '@powersync/common' ,
4550 'async-mutex' : 'async-mutex' ,
4651 comlink : 'comlink' ,
You can’t perform that action at this time.
0 commit comments