From 4da09fc9fb1f410bd539b0b2b19674ac00c570ea Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Thu, 15 Sep 2022 18:55:46 -0400 Subject: [PATCH] foundkey-js: update LiteInstanceMetadata fields Ads were removed in #5, and some client components need the icon/favicon URLs. Changelog: Changed --- packages/foundkey-js/src/entities.ts | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/packages/foundkey-js/src/entities.ts b/packages/foundkey-js/src/entities.ts index 6746d0fed..49af7dcaf 100644 --- a/packages/foundkey-js/src/entities.ts +++ b/packages/foundkey-js/src/entities.ts @@ -280,13 +280,8 @@ export type LiteInstanceMetadata = { enableDiscordIntegration: boolean; enableServiceWorker: boolean; emojis: CustomEmoji[]; - ads: { - id: ID; - ratio: number; - place: string; - url: string; - imageUrl: string; - }[]; + iconUrl: string; + faviconUrl: string; }; export type DetailedInstanceMetadata = LiteInstanceMetadata & {