Skip to content

Commit 1b5828f

Browse files
committed
Minor cleanup.
1 parent 1c2ee86 commit 1b5828f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

demos/react-native-web-supabase-todolist/library/powersync/AppSchema.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AttachmentTable } from '@powersync/attachments';
2-
import { column, Schema, Table } from '@powersync/react-native';
2+
import { column, Schema, Table } from '@powersync/common';
33

44
export const LIST_TABLE = 'lists';
55
export 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

3535
export type Database = (typeof AppSchema)['types'];

packages/web/webpack.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)