structured-render - v2.17.1
Preparing search index...
structuredRenderSectionShape
Variable structuredRenderSectionShape
Const
structuredRenderSectionShape
:
Shape
<
TUnion
<
(
|
TUnsafe
<
SharedSectionTypes
<
"markdown"
>
&
{
markdown
:
string
}
>
|
TUnsafe
<
SharedSectionTypes
<
"codeBlock"
>
&
{
code
:
string
;
syntax
?:
string
|
null
;
}
,
>
|
TUnsafe
<
StructuredRenderEmpty
>
|
TUnsafe
<
SharedSectionTypes
<
"inlineCode"
>
&
{
code
:
string
}
>
|
TUnsafe
<
SharedSectionTypes
<
"tag"
>
&
{
color
?:
|
{
custom
:
{
backgroundColor
?:
(...)
|
(...)
|
(...)
;
foregroundColor
?:
(...)
|
(...)
|
(...)
;
}
;
}
|
{
variant
:
ViraColorVariant
}
|
null
;
text
:
Primitive
;
useBigTag
?:
boolean
|
null
;
}
,
>
|
TUnsafe
<
StructuredRenderSource
>
|
TUnsafe
<
StructuredRenderProcessing
>
|
TUnsafe
<
SharedSectionTypes
<
"copyCard"
>
&
{
disableCopy
?:
boolean
|
null
;
header
?:
Primitive
;
text
:
Primitive
;
}
,
>
|
TUnsafe
<
StructuredRenderIcon
<
string
>
>
|
TUnsafe
<
SharedSectionTypes
<
"collapsible"
>
&
{
content
:
(
|
RenderDataMarkdown
|
StructuredRenderCodeBlock
|
StructuredRenderEmpty
|
StructuredRenderInlineCode
|
StructuredRenderTag
|
StructuredRenderProcessing
|
StructuredRenderIcon
<
string
>
|
StructuredRenderList
<
string
>
|
StructuredRenderTable
<
string
>
|
StructuredRenderText
<
string
>
)
[]
;
header
:
Primitive
;
}
,
>
|
TUnsafe
<
SharedSectionTypes
<
"text"
>
&
{
icon
?:
StructuredRenderIcon
<
string
>
|
null
;
style
?:
StructuredRenderTextStyle
|
null
;
text
?:
Primitive
;
}
,
>
|
TUnsafe
<
SharedSectionTypes
<
"list"
>
&
{
items
:
StructuredRenderListItem
<
string
>
[]
;
}
,
>
|
TUnsafe
<
SharedSectionTypes
<
"table"
>
&
{
direction
:
StructuredRenderCellDirection
;
entries
:
{
data
:
Record
<
string
,
(...)
|
(...)
>
;
sources
?:
(...)
[]
|
null
;
}
[]
;
footerRows
?:
|
{
alignment
?:
(...)
|
(...)
|
(...)
;
cells
:
(...)
|
(...)
|
(...)
|
(...)
;
}
[]
|
null
;
headers
:
{
disableSort
?:
boolean
|
null
;
hidden
?:
boolean
|
null
;
key
:
string
;
sortKey
?:
string
|
null
;
text
?:
StructuredRenderText
<
(...)
>
|
null
;
}
[]
;
style
?:
StructuredRenderTextStyle
|
null
;
}
,
>
|
TUnsafe
<
SharedSectionTypes
<
"title"
>
&
{
icon
?:
StructuredRenderIcon
<
string
>
|
null
;
text
?:
Primitive
;
}
,
>
)
[]
,
>
,
>
= ...
A union of all structured render section shapes.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
structured-render - v2.17.1
Loading...
A union of all structured render section shapes.