Replace json config with SQLite database

This commit is contained in:
Wolfgang Kulhanek
2025-10-22 16:51:40 +02:00
parent c122b9ac90
commit f08004a4f1
8 changed files with 929 additions and 2 deletions

View File

@@ -4,6 +4,8 @@ import logger from "./logger";
import { SmapiToken, SmapiAuthTokens } from "./smapi_auth";
import { either as E } from "fp-ts";
export { SQLiteSmapiTokenStore } from "./sqlite_smapi_token_store";
export interface SmapiTokenStore {
get(token: string): SmapiToken | undefined;
set(token: string, fullSmapiToken: SmapiToken): void;