Extract datasource instances from app.tsx

This commit is contained in:
Przemek Więch
2026-06-10 17:31:51 +02:00
parent c755d8914b
commit 8f0b800d53
3 changed files with 16 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
import {EmbeddedDataSource} from './embedded';
import {GoogleDriveDataSource} from './google_drive';
import {GedcomUrlDataSource, UploadedDataSource} from './load_data';
export const uploadedDataSource = new UploadedDataSource();
export const gedcomUrlDataSource = new GedcomUrlDataSource();
export const embeddedDataSource = new EmbeddedDataSource();
export const googleDriveDataSource = new GoogleDriveDataSource();