File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
demos/angular-supabase-todolist/src/app Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 99 PowerSyncDatabase ,
1010 Schema ,
1111 Table ,
12- WASQLiteOpenFactory
12+ WASQLiteOpenFactory ,
13+ WASQLiteVFS
1314} from '@powersync/web' ;
1415
1516export interface ListRecord {
@@ -66,14 +67,15 @@ export class PowerSyncService {
6667 constructor ( ) {
6768 const factory = new WASQLiteOpenFactory ( {
6869 dbFilename : 'test.db' ,
69-
70+ vfs : WASQLiteVFS . OPFSCoopSyncVFS ,
7071 // Specify the path to the worker script
7172 worker : 'assets/@powersync/worker/WASQLiteDB.umd.js'
7273 } ) ;
7374
7475 this . db = new PowerSyncDatabase ( {
7576 schema : AppSchema ,
7677 database : factory ,
78+
7779 sync : {
7880 // Specify the path to the worker script
7981 worker : 'assets/@powersync/worker/SharedSyncImplementation.umd.js'
You can’t perform that action at this time.
0 commit comments