- styled(block, style): ParagraphBlock
Parameters
- block: {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: boolean;
code?: boolean;
color?: string;
highlight?: string;
italic?: boolean;
link?: string;
strike?: boolean;
sub?: boolean;
sup?: boolean;
text: string;
underline?: boolean;
}
| {
color?: string;
highlight?: string;
mention: {
documentId?: string;
name?: string;
resourceId: string;
text?: string;
};
}
| {
color?: string;
highlight?: string;
icon: {
name: string;
};
}
| {
break: true;
})[];
id?: string;
kind: "paragraph";
}Optionalalign?: "center" | "left" | "right"
Optionalbackground?: string
content: (
| {
bold?: boolean;
code?: boolean;
color?: string;
highlight?: string;
italic?: boolean;
link?: string;
strike?: boolean;
sub?: boolean;
sup?: boolean;
text: string;
underline?: boolean;
}
| {
color?: string;
highlight?: string;
mention: {
documentId?: string;
name?: string;
resourceId: string;
text?: string;
};
}
| {
color?: string;
highlight?: string;
icon: {
name: string;
};
}
| {
break: true;
})[]
Optionalid?: string
kind: "paragraph"
- style: TextBlockStyle
- styled(block, style): HeadingBlock
Parameters
- block: {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: boolean;
code?: boolean;
color?: string;
highlight?: string;
italic?: boolean;
link?: string;
strike?: boolean;
sub?: boolean;
sup?: boolean;
text: string;
underline?: boolean;
}
| {
color?: string;
highlight?: string;
mention: {
documentId?: string;
name?: string;
resourceId: string;
text?: string;
};
}
| {
color?: string;
highlight?: string;
icon: {
name: string;
};
}
| {
break: true;
})[];
id?: string;
kind: "heading";
level: number;
}Optionalalign?: "center" | "left" | "right"
Optionalbackground?: string
content: (
| {
bold?: boolean;
code?: boolean;
color?: string;
highlight?: string;
italic?: boolean;
link?: string;
strike?: boolean;
sub?: boolean;
sup?: boolean;
text: string;
underline?: boolean;
}
| {
color?: string;
highlight?: string;
mention: {
documentId?: string;
name?: string;
resourceId: string;
text?: string;
};
}
| {
color?: string;
highlight?: string;
icon: {
name: string;
};
}
| {
break: true;
})[]
Optionalid?: string
kind: "heading"
level: number
- style: TextBlockStyle
- styled(block, style): QuoteBlock
Parameters
- block: {
children: (
| {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "paragraph";
}
| {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "heading";
level: number;
}
| ({ id?: string | undefined; kind: "quote"; color?: string | undefined; children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ ...; } | ... 2 more ... | { ...; })[]; } | ... 26 more ... | { ...; })[]; })
| {
id?: string;
kind: "code";
language?: string;
text: string;
}
| {
id?: string;
kind: "rule";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "bulletList";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "orderedList";
start?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "listItem";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "taskList";
}
| {
checked: boolean;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "taskItem";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "table";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "tableRow";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
colspan?: number;
header?: boolean;
id?: string;
kind: "tableCell";
rowspan?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
color?: string;
icon?: string;
id?: string;
kind: "callout";
tone:
| "info"
| "note"
| "success"
| "warning"
| "error"
| "custom";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "expand";
title: string;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "layout";
}
| {
background?: string;
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "layoutColumn";
width?: number;
}
| {
alt?: string;
fill?: boolean;
id?: string;
isTitleHidden?: boolean;
kind: "image";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
url: string;
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
kind: "embed";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
provider: "youtube" | "spotify" | "soundcloud";
title?: string;
url: string;
width?: number;
}
| {
display?: "list" | "grid" | "inline";
id?: string;
isTitleHidden?: boolean;
kind: "keyValue";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
rows: {
content?: (...) | (...);
id?: (...) | (...);
key: string;
rank?: (...) | (...);
text?: (...) | (...);
}[];
title?: string;
width?: number;
}
| {
id?: string;
kind: "infobox";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
rows: (
| {
children: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
display?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
rows: ...;
title?: ...;
}
| {
alt?: ...;
fill?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
url: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items: ...;
kind: ...;
mode: ...;
rank?: ...;
showIcon?: ...;
showMax?: ...;
showText?: ...;
title?: ...;
}
| {
filter?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items?: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
provider: ...;
rank?: ...;
title?: ...;
url: ...;
}
| {
displayHeight?: ...;
documentId?: ...;
fill?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
resourceId?: ...;
title?: ...;
viewport?: ...;
}
| {
id: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
})[];
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
items: {
color?: (...) | (...);
current: number;
icon: string;
id?: (...) | (...);
max: number;
name: string;
ratingIcon?: (...) | (...);
}[];
kind: "meter";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
mode:
| "bar"
| "wheel"
| "gauge-180"
| "gauge-270"
| "pool"
| "rating";
showIcon?: boolean;
showMax?: boolean;
showText?: boolean;
title?: string;
width?: number;
}
| {
filter?:
| {
field: string;
filterType: "field";
id: string;
operator:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
scope?: (...) | (...);
type: "filter";
value?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}
| {
filterType: "id";
id: string;
ids: (...)[];
operator: (...) | (...);
scope?: (...) | (...);
type: "filter";
}
| {
filterType: "tag";
id: string;
operator: (...) | (...) | (...);
scope?: (...) | (...);
tags: (...)[];
type: "filter";
}
| {
filterType: "custom";
id: string;
params?: (...) | (...);
predicate: string;
scope?: (...) | (...);
type: "filter";
}
| {
end?: (...) | (...);
field: string;
filterType: "date_range";
id: string;
scope?: (...) | (...);
start?: (...) | (...);
type: "filter";
}
| {
field?:
| (...)
| (...)
| (...)
| (...)
| (...);
filterType: "property";
id: string;
key?: (...) | (...);
operator:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
propertyType?: (...) | (...);
scope?: (...) | (...);
type: "filter";
value?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}
| {
filterType: "mention";
id: string;
key?: (...) | (...);
propertyType?: (...) | (...);
scope?: (...) | (...);
targetId: string;
type: "filter";
}
| {
filterType: "text";
id: string;
operator: "contains";
scope?: (...) | (...);
type: "filter";
value: string;
}
| {
filters: (...)[];
filterType: "composite";
id: string;
operator: (...) | (...) | (...);
scope?: (...) | (...);
type: "filter";
};
id?: string;
isTitleHidden?: boolean;
items?: {
documentId?: ...;
id?: ...;
rank?: ...;
resourceId: ...;
}[];
kind: "resourceCollection";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
items: {
documentId?: (...) | (...);
id?: (...) | (...);
rank?: (...) | (...);
resourceId: string;
}[];
kind: "resourceLink";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
displayHeight?: number;
documentId?: string;
fill?: boolean;
id?: string;
isTitleHidden?: boolean;
kind: "map";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
resourceId?: string;
title?: string;
viewport?: {
center: [(...), (...)];
zoom: number;
};
width?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "secret";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
width?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
isTitleHidden?: boolean;
kind: "textField";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
id: string;
kind: "unsupported";
})[];
color?: string;
id?: string;
kind: "quote";
}children: (
| {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "paragraph";
}
| {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "heading";
level: number;
}
| ({ id?: string | undefined; kind: "quote"; color?: string | undefined; children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ ...; } | ... 2 more ... | { ...; })[]; } | ... 26 more ... | { ...; })[]; })
| {
id?: string;
kind: "code";
language?: string;
text: string;
}
| {
id?: string;
kind: "rule";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "bulletList";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "orderedList";
start?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "listItem";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "taskList";
}
| {
checked: boolean;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "taskItem";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "table";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "tableRow";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
colspan?: number;
header?: boolean;
id?: string;
kind: "tableCell";
rowspan?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
color?: string;
icon?: string;
id?: string;
kind: "callout";
tone:
| "info"
| "note"
| "success"
| "warning"
| "error"
| "custom";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "expand";
title: string;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "layout";
}
| {
background?: string;
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "layoutColumn";
width?: number;
}
| {
alt?: string;
fill?: boolean;
id?: string;
isTitleHidden?: boolean;
kind: "image";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
url: string;
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
kind: "embed";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
provider: "youtube" | "spotify" | "soundcloud";
title?: string;
url: string;
width?: number;
}
| {
display?: "list" | "grid" | "inline";
id?: string;
isTitleHidden?: boolean;
kind: "keyValue";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
rows: {
content?: (...) | (...);
id?: (...) | (...);
key: string;
rank?: (...) | (...);
text?: (...) | (...);
}[];
title?: string;
width?: number;
}
| {
id?: string;
kind: "infobox";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
rows: (
| {
children: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
display?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
rows: ...;
title?: ...;
}
| {
alt?: ...;
fill?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
url: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items: ...;
kind: ...;
mode: ...;
rank?: ...;
showIcon?: ...;
showMax?: ...;
showText?: ...;
title?: ...;
}
| {
filter?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items?: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
provider: ...;
rank?: ...;
title?: ...;
url: ...;
}
| {
displayHeight?: ...;
documentId?: ...;
fill?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
resourceId?: ...;
title?: ...;
viewport?: ...;
}
| {
id: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
})[];
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
items: {
color?: (...) | (...);
current: number;
icon: string;
id?: (...) | (...);
max: number;
name: string;
ratingIcon?: (...) | (...);
}[];
kind: "meter";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
mode:
| "bar"
| "wheel"
| "gauge-180"
| "gauge-270"
| "pool"
| "rating";
showIcon?: boolean;
showMax?: boolean;
showText?: boolean;
title?: string;
width?: number;
}
| {
filter?:
| {
field: string;
filterType: "field";
id: string;
operator:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
scope?: (...) | (...);
type: "filter";
value?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}
| {
filterType: "id";
id: string;
ids: (...)[];
operator: (...) | (...);
scope?: (...) | (...);
type: "filter";
}
| {
filterType: "tag";
id: string;
operator: (...) | (...) | (...);
scope?: (...) | (...);
tags: (...)[];
type: "filter";
}
| {
filterType: "custom";
id: string;
params?: (...) | (...);
predicate: string;
scope?: (...) | (...);
type: "filter";
}
| {
end?: (...) | (...);
field: string;
filterType: "date_range";
id: string;
scope?: (...) | (...);
start?: (...) | (...);
type: "filter";
}
| {
field?:
| (...)
| (...)
| (...)
| (...)
| (...);
filterType: "property";
id: string;
key?: (...) | (...);
operator:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
propertyType?: (...) | (...);
scope?: (...) | (...);
type: "filter";
value?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}
| {
filterType: "mention";
id: string;
key?: (...) | (...);
propertyType?: (...) | (...);
scope?: (...) | (...);
targetId: string;
type: "filter";
}
| {
filterType: "text";
id: string;
operator: "contains";
scope?: (...) | (...);
type: "filter";
value: string;
}
| {
filters: (...)[];
filterType: "composite";
id: string;
operator: (...) | (...) | (...);
scope?: (...) | (...);
type: "filter";
};
id?: string;
isTitleHidden?: boolean;
items?: {
documentId?: ...;
id?: ...;
rank?: ...;
resourceId: ...;
}[];
kind: "resourceCollection";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
items: {
documentId?: (...) | (...);
id?: (...) | (...);
rank?: (...) | (...);
resourceId: string;
}[];
kind: "resourceLink";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
displayHeight?: number;
documentId?: string;
fill?: boolean;
id?: string;
isTitleHidden?: boolean;
kind: "map";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
resourceId?: string;
title?: string;
viewport?: {
center: [(...), (...)];
zoom: number;
};
width?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "secret";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
width?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
isTitleHidden?: boolean;
kind: "textField";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
id: string;
kind: "unsupported";
})[]
Optionalcolor?: string
Optionalid?: string
kind: "quote"
- style: QuoteStyle
- styled(block, style): LayoutColumnBlock
Parameters
- block: {
background?: string;
children: (
| {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "paragraph";
}
| {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "heading";
level: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
color?: string;
id?: string;
kind: "quote";
}
| {
id?: string;
kind: "code";
language?: string;
text: string;
}
| {
id?: string;
kind: "rule";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "bulletList";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "orderedList";
start?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "listItem";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "taskList";
}
| {
checked: boolean;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "taskItem";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "table";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "tableRow";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
colspan?: number;
header?: boolean;
id?: string;
kind: "tableCell";
rowspan?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
color?: string;
icon?: string;
id?: string;
kind: "callout";
tone:
| "info"
| "note"
| "success"
| "warning"
| "error"
| "custom";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "expand";
title: string;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "layout";
}
| ({ id?: string | undefined; kind: "layoutColumn"; width?: number | undefined; background?: string | undefined; children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ ...; } | ... 2 more ... | { ...; })[]; } | ... 26 more ....)
| {
alt?: string;
fill?: boolean;
id?: string;
isTitleHidden?: boolean;
kind: "image";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
url: string;
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
kind: "embed";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
provider: "youtube" | "spotify" | "soundcloud";
title?: string;
url: string;
width?: number;
}
| {
display?: "list" | "grid" | "inline";
id?: string;
isTitleHidden?: boolean;
kind: "keyValue";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
rows: {
content?: (...) | (...);
id?: (...) | (...);
key: string;
rank?: (...) | (...);
text?: (...) | (...);
}[];
title?: string;
width?: number;
}
| {
id?: string;
kind: "infobox";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
rows: (
| {
children: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
display?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
rows: ...;
title?: ...;
}
| {
alt?: ...;
fill?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
url: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items: ...;
kind: ...;
mode: ...;
rank?: ...;
showIcon?: ...;
showMax?: ...;
showText?: ...;
title?: ...;
}
| {
filter?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items?: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
provider: ...;
rank?: ...;
title?: ...;
url: ...;
}
| {
displayHeight?: ...;
documentId?: ...;
fill?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
resourceId?: ...;
title?: ...;
viewport?: ...;
}
| {
id: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
})[];
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
items: {
color?: (...) | (...);
current: number;
icon: string;
id?: (...) | (...);
max: number;
name: string;
ratingIcon?: (...) | (...);
}[];
kind: "meter";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
mode:
| "bar"
| "wheel"
| "gauge-180"
| "gauge-270"
| "pool"
| "rating";
showIcon?: boolean;
showMax?: boolean;
showText?: boolean;
title?: string;
width?: number;
}
| {
filter?:
| {
field: string;
filterType: "field";
id: string;
operator:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
scope?: (...) | (...);
type: "filter";
value?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}
| {
filterType: "id";
id: string;
ids: (...)[];
operator: (...) | (...);
scope?: (...) | (...);
type: "filter";
}
| {
filterType: "tag";
id: string;
operator: (...) | (...) | (...);
scope?: (...) | (...);
tags: (...)[];
type: "filter";
}
| {
filterType: "custom";
id: string;
params?: (...) | (...);
predicate: string;
scope?: (...) | (...);
type: "filter";
}
| {
end?: (...) | (...);
field: string;
filterType: "date_range";
id: string;
scope?: (...) | (...);
start?: (...) | (...);
type: "filter";
}
| {
field?:
| (...)
| (...)
| (...)
| (...)
| (...);
filterType: "property";
id: string;
key?: (...) | (...);
operator:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
propertyType?: (...) | (...);
scope?: (...) | (...);
type: "filter";
value?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}
| {
filterType: "mention";
id: string;
key?: (...) | (...);
propertyType?: (...) | (...);
scope?: (...) | (...);
targetId: string;
type: "filter";
}
| {
filterType: "text";
id: string;
operator: "contains";
scope?: (...) | (...);
type: "filter";
value: string;
}
| {
filters: (...)[];
filterType: "composite";
id: string;
operator: (...) | (...) | (...);
scope?: (...) | (...);
type: "filter";
};
id?: string;
isTitleHidden?: boolean;
items?: {
documentId?: ...;
id?: ...;
rank?: ...;
resourceId: ...;
}[];
kind: "resourceCollection";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
items: {
documentId?: (...) | (...);
id?: (...) | (...);
rank?: (...) | (...);
resourceId: string;
}[];
kind: "resourceLink";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
displayHeight?: number;
documentId?: string;
fill?: boolean;
id?: string;
isTitleHidden?: boolean;
kind: "map";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
resourceId?: string;
title?: string;
viewport?: {
center: [(...), (...)];
zoom: number;
};
width?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "secret";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
width?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
isTitleHidden?: boolean;
kind: "textField";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
id: string;
kind: "unsupported";
})[];
id?: string;
kind: "layoutColumn";
width?: number;
}Optionalbackground?: string
children: (
| {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "paragraph";
}
| {
align?: "center" | "left" | "right";
background?: string;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "heading";
level: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
color?: string;
id?: string;
kind: "quote";
}
| {
id?: string;
kind: "code";
language?: string;
text: string;
}
| {
id?: string;
kind: "rule";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "bulletList";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "orderedList";
start?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "listItem";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "taskList";
}
| {
checked: boolean;
content: (
| {
bold?: ...;
code?: ...;
color?: ...;
highlight?: ...;
italic?: ...;
link?: ...;
strike?: ...;
sub?: ...;
sup?: ...;
text: ...;
underline?: ...;
}
| {
color?: ...;
highlight?: ...;
mention: ...;
}
| {
color?: ...;
highlight?: ...;
icon: ...;
}
| {
break: ...;
})[];
id?: string;
kind: "taskItem";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "table";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "tableRow";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
colspan?: number;
header?: boolean;
id?: string;
kind: "tableCell";
rowspan?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
color?: string;
icon?: string;
id?: string;
kind: "callout";
tone:
| "info"
| "note"
| "success"
| "warning"
| "error"
| "custom";
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "expand";
title: string;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "layout";
}
| ({ id?: string | undefined; kind: "layoutColumn"; width?: number | undefined; background?: string | undefined; children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ ...; } | ... 2 more ... | { ...; })[]; } | ... 26 more ....)
| {
alt?: string;
fill?: boolean;
id?: string;
isTitleHidden?: boolean;
kind: "image";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
url: string;
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
kind: "embed";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
provider: "youtube" | "spotify" | "soundcloud";
title?: string;
url: string;
width?: number;
}
| {
display?: "list" | "grid" | "inline";
id?: string;
isTitleHidden?: boolean;
kind: "keyValue";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
rows: {
content?: (...) | (...);
id?: (...) | (...);
key: string;
rank?: (...) | (...);
text?: (...) | (...);
}[];
title?: string;
width?: number;
}
| {
id?: string;
kind: "infobox";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
rows: (
| {
children: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
display?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
rows: ...;
title?: ...;
}
| {
alt?: ...;
fill?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
url: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items: ...;
kind: ...;
mode: ...;
rank?: ...;
showIcon?: ...;
showMax?: ...;
showText?: ...;
title?: ...;
}
| {
filter?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items?: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
items: ...;
kind: ...;
rank?: ...;
title?: ...;
}
| {
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
provider: ...;
rank?: ...;
title?: ...;
url: ...;
}
| {
displayHeight?: ...;
documentId?: ...;
fill?: ...;
id?: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
resourceId?: ...;
title?: ...;
viewport?: ...;
}
| {
id: ...;
isHidden?: ...;
isTitleHidden?: ...;
kind: ...;
rank?: ...;
title?: ...;
})[];
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
items: {
color?: (...) | (...);
current: number;
icon: string;
id?: (...) | (...);
max: number;
name: string;
ratingIcon?: (...) | (...);
}[];
kind: "meter";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
mode:
| "bar"
| "wheel"
| "gauge-180"
| "gauge-270"
| "pool"
| "rating";
showIcon?: boolean;
showMax?: boolean;
showText?: boolean;
title?: string;
width?: number;
}
| {
filter?:
| {
field: string;
filterType: "field";
id: string;
operator:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
scope?: (...) | (...);
type: "filter";
value?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}
| {
filterType: "id";
id: string;
ids: (...)[];
operator: (...) | (...);
scope?: (...) | (...);
type: "filter";
}
| {
filterType: "tag";
id: string;
operator: (...) | (...) | (...);
scope?: (...) | (...);
tags: (...)[];
type: "filter";
}
| {
filterType: "custom";
id: string;
params?: (...) | (...);
predicate: string;
scope?: (...) | (...);
type: "filter";
}
| {
end?: (...) | (...);
field: string;
filterType: "date_range";
id: string;
scope?: (...) | (...);
start?: (...) | (...);
type: "filter";
}
| {
field?:
| (...)
| (...)
| (...)
| (...)
| (...);
filterType: "property";
id: string;
key?: (...) | (...);
operator:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
propertyType?: (...) | (...);
scope?: (...) | (...);
type: "filter";
value?:
| (...)
| (...)
| (...)
| (...)
| (...)
| (...)
| (...);
}
| {
filterType: "mention";
id: string;
key?: (...) | (...);
propertyType?: (...) | (...);
scope?: (...) | (...);
targetId: string;
type: "filter";
}
| {
filterType: "text";
id: string;
operator: "contains";
scope?: (...) | (...);
type: "filter";
value: string;
}
| {
filters: (...)[];
filterType: "composite";
id: string;
operator: (...) | (...) | (...);
scope?: (...) | (...);
type: "filter";
};
id?: string;
isTitleHidden?: boolean;
items?: {
documentId?: ...;
id?: ...;
rank?: ...;
resourceId: ...;
}[];
kind: "resourceCollection";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
id?: string;
isTitleHidden?: boolean;
items: {
documentId?: (...) | (...);
id?: (...) | (...);
rank?: (...) | (...);
resourceId: string;
}[];
kind: "resourceLink";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
displayHeight?: number;
documentId?: string;
fill?: boolean;
id?: string;
isTitleHidden?: boolean;
kind: "map";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
resourceId?: string;
title?: string;
viewport?: {
center: [(...), (...)];
zoom: number;
};
width?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
kind: "secret";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
width?: number;
}
| {
children: ({ id?: string | undefined; kind: "paragraph"; align?: "center" | "left" | "right" | undefined; background?: string | undefined; content: ({ text: string; bold?: boolean | undefined; italic?: boolean | undefined; ... 7 more ...; highlight?: string | undefined; } | { ...; } | { ...; } | { ...; })[]; } | ... 26 more ....;
id?: string;
isTitleHidden?: boolean;
kind: "textField";
layout?:
| "default"
| "wrapLeft"
| "wrapRight"
| "center"
| "alignStart"
| "alignEnd";
title?: string;
width?: number;
}
| {
id: string;
kind: "unsupported";
})[]
Optionalid?: string
kind: "layoutColumn"
Optionalwidth?: number
- style: ColumnStyle
Description
Text alignment. An omitted
alignisleft; reads omitleft.