spec(frontend): Skeb Buttonの実装 (MisskeyIO#573)
This commit is contained in:
parent
197e39781d
commit
efc5d97eab
16 changed files with 483 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue