From 27b6921d3c8ccd1502da2f58dfd84dce1aa64430 Mon Sep 17 00:00:00 2001 From: tamaina Date: Fri, 16 Jun 2023 06:21:11 +0000 Subject: [PATCH] follow upstream --- packages/misskey-js/src/endpoints.ts | 4 +++- packages/misskey-js/src/schemas/instance-meta.ts | 7 +++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/misskey-js/src/endpoints.ts b/packages/misskey-js/src/endpoints.ts index 0c783609c..64c792748 100644 --- a/packages/misskey-js/src/endpoints.ts +++ b/packages/misskey-js/src/endpoints.ts @@ -1873,7 +1873,9 @@ export const endpoints = { }, mascotImageUrl: { type: ['string', 'null'] }, bannerUrl: { type: ['string', 'null'] }, - errorImageUrl: { type: ['string', 'null'] }, + serverErrorImageUrl: { type: ['string', 'null'] }, + notFoundImageUrl: { type: ['string', 'null'] }, + infoImageUrl: { type: ['string', 'null'] }, iconUrl: { type: ['string', 'null'] }, backgroundImageUrl: { type: ['string', 'null'] }, logoImageUrl: { type: ['string', 'null'] }, diff --git a/packages/misskey-js/src/schemas/instance-meta.ts b/packages/misskey-js/src/schemas/instance-meta.ts index 833d4fdb7..b76bf9f42 100644 --- a/packages/misskey-js/src/schemas/instance-meta.ts +++ b/packages/misskey-js/src/schemas/instance-meta.ts @@ -32,10 +32,9 @@ export const InstanceMetaSharedSchema = { default: '/assets/ai.png', }, bannerUrl: { type: ['string', 'null'] }, - errorImageUrl: { - type: ['string', 'null'], - default: 'https://xn--931a.moe/aiart/yubitun.png', - }, + serverErrorImageUrl: { type: ['string', 'null'] }, + infoImageUrl: { type: ['string', 'null'] }, + notFoundImageUrl: { type: ['string', 'null'] }, iconUrl: { type: ['string', 'null'] }, backgroundImageUrl: { type: ['string', 'null'] }, logoImageUrl: { type: ['string', 'null'] },