import type { ShopeeTokensStorage, ShopeeTokens, } from '.' export class InMemoryTokenStorage implements ShopeeTokensStorage { private store: Record = {} constructor() { } async saveTokens(shopId: string, tokens: ShopeeTokens): Promise { this.store[shopId] = tokens } async loadTokens(shopId: string): Promise { return this.store[shopId] } }