underbbs/frontend/ts/settings.ts

19 lines
419 B
TypeScript
Raw Normal View History

export class AdapterConfig {
// common
public nickname: string = "";
public protocol: string = "";
// masto/misskey
public server: string | null = null;
public apiKey: string | null = null;
// nostr
public privkey: string | null = null;
public relays: string[] | null = null;
}
export class Settings {
public adapters: AdapterConfig[] = [];
static _instance: Settings = new Settings();
}