From 166b2a4eceef4cd460e72c1991da63c995b600e5 Mon Sep 17 00:00:00 2001 From: yudshj Date: Thu, 19 Nov 2026 11:40:31 +0800 Subject: [PATCH] Keep content type documentation scoped in the client catalog --- .../client/ui-sidebar-right/src/client/contract/params.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/ui-sidebar-right/src/client/contract/params.ts b/packages/client/ui-sidebar-right/src/client/contract/params.ts index 756cc7468e..c0e56a4058 100644 --- a/packages/client/ui-sidebar-right/src/client/contract/params.ts +++ b/packages/client/ui-sidebar-right/src/client/contract/params.ts @@ -16,14 +16,14 @@ * constituent. The indexed access names the same union without the pair. */ +/** The values of a record, as one union. */ +type ValuesOf = T[keyof T] + /** Content owned by the open tab; bytes and text are not persisted in layout. */ export type PreviewContent = | { readonly mediaType: string; readonly text: string } | { readonly mediaType: string; readonly bytes: Uint8Array } -/** The values of a record, as one union. */ -type ValuesOf = T[keyof T] - /** Resource type → the parameters a resource of that type accepts. Merge-extensible. */ export interface SidebarRightResourceParamsMap { /** Transient input supplied by sidebarRight.openContent for this navigation. */