mirror of
https://github.com/Spengreb/sync.git
synced 2026-05-15 03:52:06 +00:00
12 lines
302 B
JavaScript
12 lines
302 B
JavaScript
import { FileStore } from './filestore';
|
|
import { DatabaseStore } from './dbstore';
|
|
|
|
const CHANNEL_STORE = new FileStore();
|
|
|
|
export function load(channelName) {
|
|
return CHANNEL_STORE.load(channelName);
|
|
}
|
|
|
|
export function save(channelName, data) {
|
|
return CHANNEL_STORE.save(channelName, data);
|
|
}
|