Keep content type documentation scoped in the client catalog
This commit is contained in:
1 parent
ac11a30aed
commit
166b2a4ece
1 file changed
+3
-3
@@ -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> = 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<ArrayBuffer> }
|
||||
|
||||
/** The values of a record, as one union. */
|
||||
type ValuesOf<T> = 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. */
|
||||
|
||||
Reference in new issue
Block a user