import { Services } from "../" ; import { KVStore } from "./kv" ; import { LockStore } from "./lock" ; import { MessageBus } from "./message" ; import { UserStore } from "./user" ; export function local ( ) { const kv = new KVStore ( ) ; const lock = new LockStore ( ) ; const msg = new MessageBus ( ) ; const user = new UserStore ( ) ; return { kvService : ( ) => kv , lockService : ( ) => lock , messageService : ( ) => msg , userService : ( ) => user , } ; }