move startupService to common

This commit is contained in:
DEV Sam Hayes
2025-02-04 20:13:45 +01:00
parent a652718bc7
commit b21701f677
8 changed files with 37 additions and 25 deletions

View File

@@ -0,0 +1,16 @@
import { StorageServiceConfig } from '@common';
import { ChromeSessionHandler } from './chrome-session-handler';
import { ChromeSyncYesHandler } from './chrome-sync-yes-handler';
import { ChromeSyncNoHandler } from './chrome-sync-no-handler';
import { ChromeMetaHandler } from './chrome-meta-handler';
export const getNewStorageServiceConfig = () => {
const storageConfig: StorageServiceConfig = {
browserSessionHandler: new ChromeSessionHandler(),
browserSyncYesHandler: new ChromeSyncYesHandler(),
browserSyncNoHandler: new ChromeSyncNoHandler(),
gootiMetaHandler: new ChromeMetaHandler(),
};
return storageConfig;
};