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