Small format fixes
This commit is contained in:
parent
3720db8766
commit
62fa421080
|
@ -10,12 +10,16 @@ interface Props {
|
||||||
const { href, disableRoundedTop = false } = Astro.props;
|
const { href, disableRoundedTop = false } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<ConditionalWrapper condition={href !== undefined} wrapper={Link} props={{ href: href! }}>
|
<ConditionalWrapper condition={href !== undefined} wrapper={Link} props={{ href: href! }}>
|
||||||
<div id="card" class:list={{ "rounded-top": !disableRoundedTop }}>
|
<div id="card" class:list={{ "rounded-top": !disableRoundedTop }}>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</ConditionalWrapper>
|
</ConditionalWrapper>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#card {
|
#card {
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
|
|
|
@ -6,4 +6,6 @@ interface Props {
|
||||||
const { href } = Astro.props;
|
const { href } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<a href={href}><slot /></a>
|
<a href={href}><slot /></a>
|
||||||
|
|
|
@ -24,6 +24,8 @@ const {
|
||||||
} = Astro.props;
|
} = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<Card href={href} disableRoundedTop={disableRoundedTop}>
|
<Card href={href} disableRoundedTop={disableRoundedTop}>
|
||||||
<div id="card">
|
<div id="card">
|
||||||
{
|
{
|
||||||
|
@ -53,6 +55,8 @@ const {
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
:global(a > #card) {
|
:global(a > #card) {
|
||||||
& > #card > div > p > #title {
|
& > #card > div > p > #title {
|
||||||
|
|
|
@ -19,6 +19,8 @@ interface Props {
|
||||||
const { node, context } = Astro.props;
|
const { node, context } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
{
|
{
|
||||||
isBlockNodeSectionBlock(node) ? (
|
isBlockNodeSectionBlock(node) ? (
|
||||||
<RTSection node={node} context={context} />
|
<RTSection node={node} context={context} />
|
||||||
|
|
|
@ -11,6 +11,8 @@ interface Props {
|
||||||
const { node } = Astro.props;
|
const { node } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
{
|
{
|
||||||
node.fields.type === BreakBlockType.space ? (
|
node.fields.type === BreakBlockType.space ? (
|
||||||
<>
|
<>
|
||||||
|
@ -34,6 +36,8 @@ const { node } = Astro.props;
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
p {
|
p {
|
||||||
margin-block: 4rem;
|
margin-block: 4rem;
|
||||||
|
|
|
@ -11,6 +11,8 @@ interface Props {
|
||||||
const { node, context } = Astro.props;
|
const { node, context } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
{
|
{
|
||||||
context.depth < 2 ? (
|
context.depth < 2 ? (
|
||||||
<h2 id={node.anchorHash}>
|
<h2 id={node.anchorHash}>
|
||||||
|
@ -42,6 +44,8 @@ const { node, context } = Astro.props;
|
||||||
|
|
||||||
<RichText content={node.fields.content} context={{ ...context, depth: context.depth + 1 }} />
|
<RichText content={node.fields.content} context={{ ...context, depth: context.depth + 1 }} />
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
span {
|
span {
|
||||||
color: var(--color-base-650);
|
color: var(--color-base-650);
|
||||||
|
|
|
@ -11,10 +11,14 @@ interface Props {
|
||||||
const { node } = Astro.props;
|
const { node } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
{node.fields.lines.map((block) => <Block block={block} />)}
|
{node.fields.lines.map((block) => <Block block={block} />)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
padding-block: 1em;
|
padding-block: 1em;
|
||||||
|
|
|
@ -18,6 +18,8 @@ interface Props {
|
||||||
const { node, context } = Astro.props;
|
const { node, context } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
{
|
{
|
||||||
isLinkNodeCustomLinkNode(node) ? (
|
isLinkNodeCustomLinkNode(node) ? (
|
||||||
<RTCustomLink href={node.fields.url} newTab={node.fields.newTab}>
|
<RTCustomLink href={node.fields.url} newTab={node.fields.newTab}>
|
||||||
|
|
|
@ -7,6 +7,8 @@ interface Props {
|
||||||
const { href, newTab } = Astro.props;
|
const { href, newTab } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<a
|
<a
|
||||||
href={href}
|
href={href}
|
||||||
target={newTab ? "_blank" : undefined}
|
target={newTab ? "_blank" : undefined}
|
||||||
|
|
|
@ -13,6 +13,8 @@ const { doc } = Astro.props;
|
||||||
const { getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
|
const { getLocalizedUrl } = await getI18n(Astro.locals.currentLocale);
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
{
|
{
|
||||||
doc.relationTo === "folders" ? (
|
doc.relationTo === "folders" ? (
|
||||||
<a href={getLocalizedUrl(`/folders/${doc.value.slug}`)}>
|
<a href={getLocalizedUrl(`/folders/${doc.value.slug}`)}>
|
||||||
|
|
|
@ -18,6 +18,8 @@ interface Props {
|
||||||
const { node, context } = Astro.props;
|
const { node, context } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
{
|
{
|
||||||
isListNodeNumberListNode(node) ? (
|
isListNodeNumberListNode(node) ? (
|
||||||
<ol>
|
<ol>
|
||||||
|
|
|
@ -19,4 +19,6 @@ interface Props {
|
||||||
const { node, context } = Astro.props;
|
const { node, context } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<li>{node.children.map((node) => <RTNode node={node} context={context} />)}</li>
|
<li>{node.children.map((node) => <RTNode node={node} context={context} />)}</li>
|
||||||
|
|
|
@ -20,6 +20,8 @@ interface Props {
|
||||||
const { node, context } = Astro.props;
|
const { node, context } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<Icon
|
<Icon
|
||||||
name={node.checked ? "material-symbols:check-box" : "material-symbols:check-box-outline-blank"}
|
name={node.checked ? "material-symbols:check-box" : "material-symbols:check-box-outline-blank"}
|
||||||
|
@ -27,6 +29,8 @@ const { node, context } = Astro.props;
|
||||||
{node.children.map((node) => <RTNode node={node} context={context} />)}
|
{node.children.map((node) => <RTNode node={node} context={context} />)}
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
li {
|
li {
|
||||||
&::marker {
|
&::marker {
|
||||||
|
|
|
@ -18,6 +18,8 @@ interface Props {
|
||||||
const { node } = Astro.props;
|
const { node } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<ConditionalWrapper wrapper={RTBold} condition={Boolean(node.format & 1)}>
|
<ConditionalWrapper wrapper={RTBold} condition={Boolean(node.format & 1)}>
|
||||||
<ConditionalWrapper wrapper={RTItalic} condition={Boolean(node.format & 2)}>
|
<ConditionalWrapper wrapper={RTItalic} condition={Boolean(node.format & 2)}>
|
||||||
<ConditionalWrapper wrapper={RTLineThrough} condition={Boolean(node.format & 4)}>
|
<ConditionalWrapper wrapper={RTLineThrough} condition={Boolean(node.format & 4)}>
|
||||||
|
|
|
@ -2,4 +2,6 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<b><slot /></b>
|
<b><slot /></b>
|
||||||
|
|
|
@ -2,8 +2,12 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<span><slot /></span>
|
<span><slot /></span>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
span {
|
span {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
|
|
@ -2,4 +2,6 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<i><slot /></i>
|
<i><slot /></i>
|
||||||
|
|
|
@ -2,8 +2,12 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<span><slot /></span>
|
<span><slot /></span>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
span {
|
span {
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
|
|
|
@ -2,4 +2,6 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<sub><slot /></sub>
|
<sub><slot /></sub>
|
||||||
|
|
|
@ -2,4 +2,6 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<sup><slot /></sup>
|
<sup><slot /></sup>
|
||||||
|
|
|
@ -2,8 +2,12 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<span><slot /></span>
|
<span><slot /></span>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
span {
|
span {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
|
@ -12,6 +12,8 @@ interface Props {
|
||||||
const { node, context } = Astro.props;
|
const { node, context } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
{
|
{
|
||||||
isUploadNodeImageNode(node) ? (
|
isUploadNodeImageNode(node) ? (
|
||||||
<RTImage node={node} context={context} />
|
<RTImage node={node} context={context} />
|
||||||
|
|
|
@ -10,8 +10,12 @@ interface Props {
|
||||||
const { node } = Astro.props;
|
const { node } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<img src={node.value.url} />
|
<img src={node.value.url} />
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
img {
|
img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
@ -89,26 +89,26 @@ export type WordingKey =
|
||||||
| "pages.tableOfContent.break"
|
| "pages.tableOfContent.break"
|
||||||
| "global.languageOverride.availableLanguages"
|
| "global.languageOverride.availableLanguages"
|
||||||
| "timeline.title"
|
| "timeline.title"
|
||||||
| "timeline.eras.drakengard3"
|
| "timeline.description"
|
||||||
|
| "timeline.eras.cataclysm"
|
||||||
| "timeline.eras.drakengard"
|
| "timeline.eras.drakengard"
|
||||||
| "timeline.eras.drakengard2"
|
| "timeline.eras.drakengard2"
|
||||||
|
| "timeline.eras.drakengard3"
|
||||||
| "timeline.eras.nier"
|
| "timeline.eras.nier"
|
||||||
| "timeline.eras.nierAutomata"
|
| "timeline.eras.nierAutomata"
|
||||||
| "timeline.eras.cataclysm"
|
| "timeline.jumpTo"
|
||||||
| "timeline.description"
|
|
||||||
| "timeline.notes.title"
|
|
||||||
| "timeline.notes.content"
|
| "timeline.notes.content"
|
||||||
|
| "timeline.notes.title"
|
||||||
| "timeline.priorCataclysmNote.title"
|
| "timeline.priorCataclysmNote.title"
|
||||||
| "timeline.priorCataclysmNote.content"
|
| "timeline.priorCataclysmNote.content"
|
||||||
| "timeline.jumpTo"
|
|
||||||
| "timeline.year.during"
|
| "timeline.year.during"
|
||||||
| "timeline.eventFooter.languages"
|
|
||||||
| "timeline.eventFooter.sources"
|
| "timeline.eventFooter.sources"
|
||||||
|
| "timeline.eventFooter.languages"
|
||||||
| "timeline.eventFooter.note"
|
| "timeline.eventFooter.note"
|
||||||
| "global.sources.typeLabel.url"
|
|
||||||
| "global.sources.typeLabel.page"
|
|
||||||
| "global.sources.typeLabel.collectible"
|
| "global.sources.typeLabel.collectible"
|
||||||
| "global.sources.typeLabel.folder"
|
| "global.sources.typeLabel.collectible.range.custom"
|
||||||
| "global.sources.typeLabel.collectible.range.page"
|
| "global.sources.typeLabel.collectible.range.page"
|
||||||
| "global.sources.typeLabel.collectible.range.timestamp"
|
| "global.sources.typeLabel.collectible.range.timestamp"
|
||||||
| "global.sources.typeLabel.collectible.range.custom";
|
| "global.sources.typeLabel.folder"
|
||||||
|
| "global.sources.typeLabel.page"
|
||||||
|
| "global.sources.typeLabel.url";
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
import AppLayout from "components/AppLayout/AppLayout.astro";
|
import AppLayout from "components/AppLayout/AppLayout.astro";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<AppLayout
|
<AppLayout
|
||||||
pretitle="Guide to"
|
pretitle="Guide to"
|
||||||
title="Rich Text Editor"
|
title="Rich Text Editor"
|
||||||
|
|
|
@ -17,6 +17,8 @@ const displayedDate =
|
||||||
: formatTimelineDate(event.date);
|
: formatTimelineDate(event.date);
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<div class="event-container">
|
<div class="event-container">
|
||||||
{displayDate && <h3>{displayedDate}</h3>}
|
{displayDate && <h3>{displayedDate}</h3>}
|
||||||
|
|
||||||
|
@ -34,6 +36,8 @@ const displayedDate =
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.event-container {
|
.event-container {
|
||||||
&:has(h3) > div {
|
&:has(h3) > div {
|
||||||
|
|
|
@ -10,11 +10,15 @@ interface Props {
|
||||||
const { title, description } = Astro.props;
|
const { title, description } = Astro.props;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
{title && <h4>{title}</h4>}
|
{title && <h4>{title}</h4>}
|
||||||
{description && <RichText content={description} />}
|
{description && <RichText content={description} />}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
div {
|
div {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -22,6 +22,8 @@ const { availableLanguages, transcribers, proofreaders, translators, getPartialU
|
||||||
const { t } = await getI18n(Astro.locals.currentLocale);
|
const { t } = await getI18n(Astro.locals.currentLocale);
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<Tooltip trigger="click">
|
<Tooltip trigger="click">
|
||||||
<div id="tooltip-content" slot="tooltip-content">
|
<div id="tooltip-content" slot="tooltip-content">
|
||||||
{
|
{
|
||||||
|
@ -52,6 +54,8 @@ const { t } = await getI18n(Astro.locals.currentLocale);
|
||||||
</div>
|
</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#tooltip-content {
|
#tooltip-content {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|
|
@ -14,6 +14,8 @@ const { notes } = Astro.props;
|
||||||
const { t } = await getI18n(Astro.locals.currentLocale);
|
const { t } = await getI18n(Astro.locals.currentLocale);
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<Tooltip trigger="click">
|
<Tooltip trigger="click">
|
||||||
<div id="tooltip-content" slot="tooltip-content">
|
<div id="tooltip-content" slot="tooltip-content">
|
||||||
<RichText content={notes} />
|
<RichText content={notes} />
|
||||||
|
|
|
@ -13,6 +13,8 @@ const { year, events } = Astro.props;
|
||||||
const { formatTimelineDate } = await getI18n(Astro.locals.currentLocale);
|
const { formatTimelineDate } = await getI18n(Astro.locals.currentLocale);
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
{dataConfig.timeline.yearsWithABreakBefore.includes(year) && <hr id={`hr-${year}`} />}
|
{dataConfig.timeline.yearsWithABreakBefore.includes(year) && <hr id={`hr-${year}`} />}
|
||||||
|
|
||||||
<h2 id={year.toString()}>
|
<h2 id={year.toString()}>
|
||||||
|
@ -23,6 +25,8 @@ const { formatTimelineDate } = await getI18n(Astro.locals.currentLocale);
|
||||||
{events.map((event) => <TimelineEvent event={event} displayDate={events.length > 1} />)}
|
{events.map((event) => <TimelineEvent event={event} displayDate={events.length > 1} />)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
hr {
|
hr {
|
||||||
border: none;
|
border: none;
|
||||||
|
|
|
@ -14,6 +14,8 @@ const groupedEvents = groupBy(events, (event) => event.date.year);
|
||||||
const { getLocalizedUrl, t, formatTimelineDate } = await getI18n(Astro.locals.currentLocale);
|
const { getLocalizedUrl, t, formatTimelineDate } = await getI18n(Astro.locals.currentLocale);
|
||||||
---
|
---
|
||||||
|
|
||||||
|
{/* ------------------------------------------- HTML ------------------------------------------- */}
|
||||||
|
|
||||||
<AppEmptyLayout>
|
<AppEmptyLayout>
|
||||||
<AppLayoutBackgroundImg
|
<AppLayoutBackgroundImg
|
||||||
img={{
|
img={{
|
||||||
|
@ -81,6 +83,8 @@ const { getLocalizedUrl, t, formatTimelineDate } = await getI18n(Astro.locals.cu
|
||||||
{groupedEvents.map(({ key, values }) => <TimelineYear year={key} events={values} />)}
|
{groupedEvents.map(({ key, values }) => <TimelineYear year={key} events={values} />)}
|
||||||
</AppEmptyLayout>
|
</AppEmptyLayout>
|
||||||
|
|
||||||
|
{/* ------------------------------------------- CSS -------------------------------------------- */}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#summary {
|
#summary {
|
||||||
backdrop-filter: blur(5px);
|
backdrop-filter: blur(5px);
|
||||||
|
|
|
@ -20,8 +20,8 @@ export type RecorderBiographies =
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -46,25 +46,25 @@ export interface Config {
|
||||||
pages: Page;
|
pages: Page;
|
||||||
collectibles: Collectible;
|
collectibles: Collectible;
|
||||||
folders: Folder;
|
folders: Folder;
|
||||||
"chronology-events": ChronologyEvent;
|
'chronology-events': ChronologyEvent;
|
||||||
notes: Note;
|
notes: Note;
|
||||||
images: Image;
|
images: Image;
|
||||||
"background-images": BackgroundImage;
|
'background-images': BackgroundImage;
|
||||||
"recorders-thumbnails": RecordersThumbnail;
|
'recorders-thumbnails': RecordersThumbnail;
|
||||||
videos: Video;
|
videos: Video;
|
||||||
"videos-channels": VideosChannel;
|
'videos-channels': VideosChannel;
|
||||||
tags: Tag;
|
tags: Tag;
|
||||||
"tags-groups": TagsGroup;
|
'tags-groups': TagsGroup;
|
||||||
recorders: Recorder;
|
recorders: Recorder;
|
||||||
languages: Language;
|
languages: Language;
|
||||||
currencies: Currency;
|
currencies: Currency;
|
||||||
wordings: Wording;
|
wordings: Wording;
|
||||||
"generic-contents": GenericContent;
|
'generic-contents': GenericContent;
|
||||||
"payload-preferences": PayloadPreference;
|
'payload-preferences': PayloadPreference;
|
||||||
"payload-migrations": PayloadMigration;
|
'payload-migrations': PayloadMigration;
|
||||||
};
|
};
|
||||||
globals: {
|
globals: {
|
||||||
"home-folders": HomeFolder;
|
'home-folders': HomeFolder;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
@ -74,7 +74,7 @@ export interface Config {
|
||||||
export interface Page {
|
export interface Page {
|
||||||
id: string;
|
id: string;
|
||||||
slug: string;
|
slug: string;
|
||||||
type: "Content" | "Post" | "Generic";
|
type: 'Content' | 'Post' | 'Generic';
|
||||||
thumbnail?: string | Image | null;
|
thumbnail?: string | Image | null;
|
||||||
backgroundImage?: string | BackgroundImage | null;
|
backgroundImage?: string | BackgroundImage | null;
|
||||||
tags?: (string | Tag)[] | null;
|
tags?: (string | Tag)[] | null;
|
||||||
|
@ -92,8 +92,8 @@ export interface Page {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -107,8 +107,8 @@ export interface Page {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -125,7 +125,7 @@ export interface Page {
|
||||||
updatedBy: string | Recorder;
|
updatedBy: string | Recorder;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
_status?: ("draft" | "published") | null;
|
_status?: ('draft' | 'published') | null;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -236,7 +236,7 @@ export interface Recorder {
|
||||||
avatar?: string | RecordersThumbnail | null;
|
avatar?: string | RecordersThumbnail | null;
|
||||||
languages?: (string | Language)[] | null;
|
languages?: (string | Language)[] | null;
|
||||||
biographies?: RecorderBiographies;
|
biographies?: RecorderBiographies;
|
||||||
role?: ("Admin" | "Recorder" | "Api")[] | null;
|
role?: ('Admin' | 'Recorder' | 'Api')[] | null;
|
||||||
anonymize: boolean;
|
anonymize: boolean;
|
||||||
email: string;
|
email: string;
|
||||||
resetPasswordToken?: string | null;
|
resetPasswordToken?: string | null;
|
||||||
|
@ -300,8 +300,8 @@ export interface Folder {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -326,11 +326,11 @@ export interface Folder {
|
||||||
files?:
|
files?:
|
||||||
| (
|
| (
|
||||||
| {
|
| {
|
||||||
relationTo: "collectibles";
|
relationTo: 'collectibles';
|
||||||
value: string | Collectible;
|
value: string | Collectible;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
relationTo: "pages";
|
relationTo: 'pages';
|
||||||
value: string | Page;
|
value: string | Page;
|
||||||
}
|
}
|
||||||
)[]
|
)[]
|
||||||
|
@ -346,7 +346,7 @@ export interface Collectible {
|
||||||
id: string;
|
id: string;
|
||||||
slug: string;
|
slug: string;
|
||||||
thumbnail?: string | Image | null;
|
thumbnail?: string | Image | null;
|
||||||
nature: "Physical" | "Digital";
|
nature: 'Physical' | 'Digital';
|
||||||
languages?: (string | Language)[] | null;
|
languages?: (string | Language)[] | null;
|
||||||
tags?: (string | Tag)[] | null;
|
tags?: (string | Tag)[] | null;
|
||||||
translations: {
|
translations: {
|
||||||
|
@ -361,8 +361,8 @@ export interface Collectible {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -454,8 +454,8 @@ export interface Collectible {
|
||||||
pageInfoEnabled?: boolean | null;
|
pageInfoEnabled?: boolean | null;
|
||||||
pageInfo?: {
|
pageInfo?: {
|
||||||
pageCount: number;
|
pageCount: number;
|
||||||
bindingType?: ("Paperback" | "Hardcover") | null;
|
bindingType?: ('Paperback' | 'Hardcover') | null;
|
||||||
pageOrder?: ("Left to right" | "Right to left") | null;
|
pageOrder?: ('Left to right' | 'Right to left') | null;
|
||||||
};
|
};
|
||||||
folders?: (string | Folder)[] | null;
|
folders?: (string | Folder)[] | null;
|
||||||
parentItems?: (string | Collectible)[] | null;
|
parentItems?: (string | Collectible)[] | null;
|
||||||
|
@ -464,11 +464,11 @@ export interface Collectible {
|
||||||
| {
|
| {
|
||||||
content:
|
content:
|
||||||
| {
|
| {
|
||||||
relationTo: "pages";
|
relationTo: 'pages';
|
||||||
value: string | Page;
|
value: string | Page;
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
relationTo: "generic-contents";
|
relationTo: 'generic-contents';
|
||||||
value: string | GenericContent;
|
value: string | GenericContent;
|
||||||
};
|
};
|
||||||
range?:
|
range?:
|
||||||
|
@ -478,14 +478,14 @@ export interface Collectible {
|
||||||
end: number;
|
end: number;
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "pageRange";
|
blockType: 'pageRange';
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
start: string;
|
start: string;
|
||||||
end: string;
|
end: string;
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "timeRange";
|
blockType: 'timeRange';
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
translations?:
|
translations?:
|
||||||
|
@ -498,8 +498,8 @@ export interface Collectible {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -511,7 +511,7 @@ export interface Collectible {
|
||||||
| null;
|
| null;
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "other";
|
blockType: 'other';
|
||||||
}
|
}
|
||||||
)[]
|
)[]
|
||||||
| null;
|
| null;
|
||||||
|
@ -521,7 +521,7 @@ export interface Collectible {
|
||||||
updatedBy: string | Recorder;
|
updatedBy: string | Recorder;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
_status?: ("draft" | "published") | null;
|
_status?: ('draft' | 'published') | null;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -570,8 +570,8 @@ export interface ChronologyEvent {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -585,8 +585,8 @@ export interface ChronologyEvent {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -603,7 +603,7 @@ export interface ChronologyEvent {
|
||||||
updatedBy: string | Recorder;
|
updatedBy: string | Recorder;
|
||||||
updatedAt: string;
|
updatedAt: string;
|
||||||
createdAt: string;
|
createdAt: string;
|
||||||
_status?: ("draft" | "published") | null;
|
_status?: ('draft' | 'published') | null;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -613,7 +613,7 @@ export interface UrlBlock {
|
||||||
url: string;
|
url: string;
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "urlBlock";
|
blockType: 'urlBlock';
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -627,13 +627,13 @@ export interface CollectibleBlock {
|
||||||
page: number;
|
page: number;
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "page";
|
blockType: 'page';
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
timestamp: string;
|
timestamp: string;
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "timestamp";
|
blockType: 'timestamp';
|
||||||
}
|
}
|
||||||
| {
|
| {
|
||||||
translations: {
|
translations: {
|
||||||
|
@ -643,13 +643,13 @@ export interface CollectibleBlock {
|
||||||
}[];
|
}[];
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "other";
|
blockType: 'other';
|
||||||
}
|
}
|
||||||
)[]
|
)[]
|
||||||
| null;
|
| null;
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "collectibleBlock";
|
blockType: 'collectibleBlock';
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -659,7 +659,7 @@ export interface PageBlock {
|
||||||
page: string | Page;
|
page: string | Page;
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "pageBlock";
|
blockType: 'pageBlock';
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -674,8 +674,8 @@ export interface Note {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -693,7 +693,7 @@ export interface Video {
|
||||||
id: string;
|
id: string;
|
||||||
uid: string;
|
uid: string;
|
||||||
gone: boolean;
|
gone: boolean;
|
||||||
source: "YouTube" | "NicoNico" | "Tumblr";
|
source: 'YouTube' | 'NicoNico' | 'Tumblr';
|
||||||
title: string;
|
title: string;
|
||||||
description?: string | null;
|
description?: string | null;
|
||||||
likes?: number | null;
|
likes?: number | null;
|
||||||
|
@ -729,7 +729,7 @@ export interface Wording {
|
||||||
export interface PayloadPreference {
|
export interface PayloadPreference {
|
||||||
id: string;
|
id: string;
|
||||||
user: {
|
user: {
|
||||||
relationTo: "recorders";
|
relationTo: 'recorders';
|
||||||
value: string | Recorder;
|
value: string | Recorder;
|
||||||
};
|
};
|
||||||
key?: string | null;
|
key?: string | null;
|
||||||
|
@ -785,15 +785,15 @@ export interface LineBlock {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
};
|
};
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
};
|
};
|
||||||
blockType: "lineBlock";
|
blockType: 'lineBlock';
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -807,15 +807,15 @@ export interface CueBlock {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
};
|
};
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
};
|
};
|
||||||
blockType: "cueBlock";
|
blockType: 'cueBlock';
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -825,17 +825,17 @@ export interface TranscriptBlock {
|
||||||
lines: (LineBlock | CueBlock)[];
|
lines: (LineBlock | CueBlock)[];
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "transcriptBlock";
|
blockType: 'transcriptBlock';
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
* via the `definition` "BreakBlock".
|
* via the `definition` "BreakBlock".
|
||||||
*/
|
*/
|
||||||
export interface BreakBlock {
|
export interface BreakBlock {
|
||||||
type: "Scene break" | "Empty space" | "Solid line" | "Dotted line";
|
type: 'Scene break' | 'Empty space' | 'Solid line' | 'Dotted line';
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "breakBlock";
|
blockType: 'breakBlock';
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* This interface was referenced by `Config`'s JSON-Schema
|
* This interface was referenced by `Config`'s JSON-Schema
|
||||||
|
@ -849,8 +849,8 @@ export interface SectionBlock {
|
||||||
version: number;
|
version: number;
|
||||||
[k: string]: unknown;
|
[k: string]: unknown;
|
||||||
}[];
|
}[];
|
||||||
direction: ("ltr" | "rtl") | null;
|
direction: ('ltr' | 'rtl') | null;
|
||||||
format: "left" | "start" | "center" | "right" | "end" | "justify" | "";
|
format: 'left' | 'start' | 'center' | 'right' | 'end' | 'justify' | '';
|
||||||
indent: number;
|
indent: number;
|
||||||
type: string;
|
type: string;
|
||||||
version: number;
|
version: number;
|
||||||
|
@ -859,10 +859,11 @@ export interface SectionBlock {
|
||||||
};
|
};
|
||||||
id?: string | null;
|
id?: string | null;
|
||||||
blockName?: string | null;
|
blockName?: string | null;
|
||||||
blockType: "sectionBlock";
|
blockType: 'sectionBlock';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/////////////// CONSTANTS ///////////////
|
/////////////// CONSTANTS ///////////////
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue