storage/mod.ts

27 lines
504 B
TypeScript

import {
KeyValueStorage,
MemoryStorage,
RefScopedStorage,
ScopedStorage,
} from "./src/basic.ts";
import {
getLocalStorage,
getMemoryStorage,
getRemoteStorage,
} from "./src/main.ts";
import { LocalStorage } from "./src/local.ts";
import { RestRemoteStorage } from "./src/remote.ts";
export type TKStorage = KeyValueStorage;
export {
getLocalStorage,
getMemoryStorage,
getRemoteStorage,
LocalStorage,
MemoryStorage,
RefScopedStorage,
RestRemoteStorage,
ScopedStorage,
};