From ebe840b156dd433bc9e12c6db3f340e32835dd44 Mon Sep 17 00:00:00 2001 From: Espen Hovlandsdal Date: Wed, 14 Aug 2024 04:38:36 -0700 Subject: [PATCH] fix: deprecate studioHost, externalStudioHost in typings (#879) --- src/types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/types.ts b/src/types.ts index 793463b6..2083ab95 100644 --- a/src/types.ts +++ b/src/types.ts @@ -372,6 +372,10 @@ export interface SanityProjectMember { export interface SanityProject { id: string displayName: string + /** + * @deprecated Use the `/user-applications` endpoint instead, which lists all deployed studios/applications + * @see https://www.sanity.io/help/studio-host-user-applications + */ studioHost: string | null organizationId: string | null isBlocked: boolean @@ -384,6 +388,10 @@ export interface SanityProject { metadata: { cliInitializedAt?: string color?: string + /** + * @deprecated Use the `/user-applications` endpoint instead, which lists all deployed studios/applications + * @see https://www.sanity.io/help/studio-host-user-applications + */ externalStudioHost?: string } }