From ca9a14f0d45316a85176bbb44f7f11c78f542266 Mon Sep 17 00:00:00 2001 From: Lion Ralfs Date: Thu, 8 Aug 2024 16:08:01 +0200 Subject: [PATCH] fix(types): GetReleaseResponse.community should be an object, not array (#318) --- lib/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/types.ts b/lib/types.ts index 986b16a..594da40 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -121,7 +121,7 @@ export type GetReleaseResponse = { artists: Array; data_quality: string; thumb: string; - community: Array<{ + community: { contributors: Array<{ resource_url: string; username: string }>; data_quality: string; have: number; @@ -129,7 +129,7 @@ export type GetReleaseResponse = { status: Status; submitter: { resource_url: string; username: string }; want: number; - }>; + }; companies: Array<{ catno: string; entity_type: string;