spec(frontend): Skeb Buttonの実装 (MisskeyIO#573)

This commit is contained in:
まっちゃとーにゅ 2024-03-29 17:05:02 +09:00 committed by GitHub
parent 197e39781d
commit efc5d97eab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 483 additions and 4 deletions

View file

@ -66,6 +66,14 @@ type Source = {
scope?: 'local' | 'global' | string[];
};
skebStatus?: {
method: string;
endpoint: string;
headers: { [x: string]: string };
parameters: { [x: string]: string };
userIdParameterName: string;
}
proxy?: string;
proxySmtp?: string;
proxyBypassHosts?: string[];
@ -140,6 +148,13 @@ export type Config = {
index: string;
scope?: 'local' | 'global' | string[];
} | undefined;
skebStatus: {
method: string;
endpoint: string;
headers: { [x: string]: string };
parameters: { [x: string]: string };
userIdParameterName: string;
} | undefined;
proxy: string | undefined;
proxySmtp: string | undefined;
proxyBypassHosts: string[] | undefined;
@ -266,6 +281,7 @@ export function loadConfig(): Config {
redisForObjectStorageQueue: config.redisForObjectStorageQueue ? convertRedisOptions(config.redisForObjectStorageQueue, host) : redisForJobQueue,
redisForWebhookDeliverQueue: config.redisForWebhookDeliverQueue ? convertRedisOptions(config.redisForWebhookDeliverQueue, host) : redisForJobQueue,
redisForTimelines: config.redisForTimelines ? convertRedisOptions(config.redisForTimelines, host) : redis,
skebStatus: config.skebStatus,
id: config.id,
proxy: config.proxy,
proxySmtp: config.proxySmtp,