Renammed the queries folder to helpers
This commit is contained in:
parent
08170887b9
commit
b043e453c7
|
@ -4,13 +4,13 @@ import { UploadImageFragment } from "graphql/generated";
|
|||
import { useMediaMobile } from "hooks/useMediaQuery";
|
||||
import Head from "next/head";
|
||||
import { useRouter } from "next/router";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import {
|
||||
getOgImage,
|
||||
OgImage,
|
||||
prettyLanguage,
|
||||
prettySlug,
|
||||
} from "queries/helpers";
|
||||
} from "helpers/helpers";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useSwipeable } from "react-swipeable";
|
||||
import { ImageQuality } from "./Img";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { prettyLanguage } from "queries/helpers";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { prettyLanguage } from "helpers/helpers";
|
||||
import { Dispatch, SetStateAction } from "react";
|
||||
import ToolTip from "../ToolTip";
|
||||
import Button from "./Button";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { arrayMove } from "queries/helpers";
|
||||
import { arrayMove } from "helpers/helpers";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
interface Props {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import Chip from "components/Chip";
|
||||
import Button from "components/Inputs/Button";
|
||||
import { GetLibraryItemQuery } from "graphql/generated";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { prettyinlineTitle, prettySlug } from "queries/helpers";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { prettyinlineTitle, prettySlug } from "helpers/helpers";
|
||||
import { useState } from "react";
|
||||
|
||||
interface Props {
|
||||
|
|
|
@ -9,8 +9,8 @@ import RecorderChip from "components/RecorderChip";
|
|||
import ToolTip from "components/ToolTip";
|
||||
import { GetLibraryItemScansQuery } from "graphql/generated";
|
||||
import useSmartLanguage from "hooks/useSmartLanguage";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { getStatusDescription, isInteger } from "queries/helpers";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { getStatusDescription, isInteger } from "helpers/helpers";
|
||||
import { Dispatch, SetStateAction } from "react";
|
||||
|
||||
interface Props {
|
||||
|
|
|
@ -7,8 +7,8 @@ import {
|
|||
UploadImageFragment,
|
||||
} from "graphql/generated";
|
||||
import useSmartLanguage from "hooks/useSmartLanguage";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { getStatusDescription } from "queries/helpers";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { getStatusDescription } from "helpers/helpers";
|
||||
import { Dispatch, SetStateAction } from "react";
|
||||
|
||||
interface Props {
|
||||
|
|
|
@ -6,7 +6,7 @@ import ToolTip from "components/ToolTip";
|
|||
import { useAppLayout } from "contexts/AppLayoutContext";
|
||||
import Markdown from "markdown-to-jsx";
|
||||
import { useRouter } from "next/router";
|
||||
import { slugify } from "queries/helpers";
|
||||
import { slugify } from "helpers/helpers";
|
||||
import React, { useState } from "react";
|
||||
import ReactDOMServer from "react-dom/server";
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import { useRouter } from "next/router";
|
||||
import { slugify } from "queries/helpers";
|
||||
import { slugify } from "helpers/helpers";
|
||||
import { preprocessMarkDawn } from "./Markdawn";
|
||||
|
||||
interface Props {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import HorizontalLine from "components/HorizontalLine";
|
||||
import Button from "components/Inputs/Button";
|
||||
import { useAppLayout } from "contexts/AppLayoutContext";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props {
|
||||
href: string;
|
||||
|
|
|
@ -6,7 +6,7 @@ import { useAppLayout } from "contexts/AppLayoutContext";
|
|||
import { useMediaDesktop } from "hooks/useMediaQuery";
|
||||
import Markdown from "markdown-to-jsx";
|
||||
import Link from "next/link";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props {
|
||||
langui: AppStaticProps["langui"];
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { GetPostQuery } from "graphql/generated";
|
||||
import useSmartLanguage from "hooks/useSmartLanguage";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { getStatusDescription, prettySlug } from "queries/helpers";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { getStatusDescription, prettySlug } from "helpers/helpers";
|
||||
import AppLayout from "./AppLayout";
|
||||
import Chip from "./Chip";
|
||||
import HorizontalLine from "./HorizontalLine";
|
||||
|
|
|
@ -5,13 +5,13 @@ import {
|
|||
UploadImageFragment,
|
||||
} from "graphql/generated";
|
||||
import Link from "next/link";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import {
|
||||
prettyDate,
|
||||
prettyDuration,
|
||||
prettyPrice,
|
||||
prettyShortenNumber,
|
||||
} from "queries/helpers";
|
||||
} from "helpers/helpers";
|
||||
import Chip from "./Chip";
|
||||
import Img, { ImageQuality } from "./Img";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import Chip from "components/Chip";
|
||||
import { RecorderChipFragment } from "graphql/generated";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import Img, { ImageQuality } from "./Img";
|
||||
import Markdawn from "./Markdown/Markdawn";
|
||||
import ToolTip from "./ToolTip";
|
||||
|
|
|
@ -3,8 +3,8 @@ import Img, { ImageQuality } from "components/Img";
|
|||
import InsetBox from "components/InsetBox";
|
||||
import Markdawn from "components/Markdown/Markdawn";
|
||||
import { GetContentQuery, UploadImageFragment } from "graphql/generated";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { prettyinlineTitle, prettySlug, slugify } from "queries/helpers";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { prettyinlineTitle, prettySlug, slugify } from "helpers/helpers";
|
||||
|
||||
interface Props {
|
||||
pre_title?: string | null | undefined;
|
||||
|
|
|
@ -4,8 +4,8 @@ import {
|
|||
Enum_Componenttranslationschronologyitem_Status,
|
||||
GetChronologyItemsQuery,
|
||||
} from "graphql/generated";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { getStatusDescription } from "queries/helpers";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { getStatusDescription } from "helpers/helpers";
|
||||
|
||||
interface Props {
|
||||
item: Exclude<
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import ChronologyItemComponent from "components/Wiki/Chronology/ChronologyItemComponent";
|
||||
import { GetChronologyItemsQuery } from "graphql/generated";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props {
|
||||
year: number;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import LanguageSwitcher from "components/Inputs/LanguageSwitcher";
|
||||
import { useAppLayout } from "contexts/AppLayoutContext";
|
||||
import { useRouter } from "next/router";
|
||||
import { AppStaticProps } from "queries/getAppStaticProps";
|
||||
import { getPreferredLanguage } from "queries/helpers";
|
||||
import { AppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { getPreferredLanguage } from "helpers/helpers";
|
||||
import { useEffect, useMemo, useState } from "react";
|
||||
|
||||
interface Props<T> {
|
||||
|
|
|
@ -4,7 +4,7 @@ import ReturnButton, {
|
|||
} from "components/PanelComponents/ReturnButton";
|
||||
import ContentPanel from "components/Panels/ContentPanel";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import ReturnButton, {
|
|||
} from "components/PanelComponents/ReturnButton";
|
||||
import ContentPanel from "components/Panels/ContentPanel";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import PostPage, { Post } from "components/PostPage";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
post: Post;
|
||||
|
|
|
@ -4,8 +4,8 @@ import { getReadySdk } from "graphql/sdk";
|
|||
import { GetStaticPropsContext } from "next";
|
||||
import { useRouter } from "next/router";
|
||||
import { RequestMailProps, ResponseMailProps } from "pages/api/mail";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { randomInt } from "queries/helpers";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { randomInt } from "helpers/helpers";
|
||||
import { useState } from "react";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
|
|
|
@ -3,7 +3,7 @@ import NavOption from "components/PanelComponents/NavOption";
|
|||
import PanelHeader from "components/PanelComponents/PanelHeader";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import PostPage, { Post } from "components/PostPage";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
post: Post;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import PostPage, { Post } from "components/PostPage";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
post: Post;
|
||||
|
|
|
@ -3,7 +3,7 @@ import NavOption from "components/PanelComponents/NavOption";
|
|||
import PanelHeader from "components/PanelComponents/PanelHeader";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {}
|
||||
|
||||
|
|
|
@ -16,8 +16,8 @@ import {
|
|||
GetStaticPathsResult,
|
||||
GetStaticPropsContext,
|
||||
} from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { getVideoThumbnailURL } from "queries/helpers";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { getVideoThumbnailURL } from "helpers/helpers";
|
||||
import { useState } from "react";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
|
|
|
@ -13,8 +13,8 @@ import ThumbnailPreview from "components/PreviewCard";
|
|||
import { GetVideosPreviewQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { getVideoThumbnailURL, prettyDate } from "queries/helpers";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { getVideoThumbnailURL, prettyDate } from "helpers/helpers";
|
||||
import { useState } from "react";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
|
|
|
@ -19,8 +19,8 @@ import {
|
|||
GetStaticPathsResult,
|
||||
GetStaticPropsContext,
|
||||
} from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { getVideoFile, prettyDate, prettyShortenNumber } from "queries/helpers";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { getVideoFile, prettyDate, prettyShortenNumber } from "helpers/helpers";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
video: Exclude<
|
||||
|
|
|
@ -2,7 +2,7 @@ import AppLayout from "components/AppLayout";
|
|||
import PanelHeader from "components/PanelComponents/PanelHeader";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {}
|
||||
|
||||
|
|
|
@ -21,13 +21,13 @@ import {
|
|||
GetStaticPathsResult,
|
||||
GetStaticPropsContext,
|
||||
} from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import {
|
||||
getStatusDescription,
|
||||
prettyinlineTitle,
|
||||
prettyLanguage,
|
||||
prettySlug,
|
||||
} from "queries/helpers";
|
||||
} from "helpers/helpers";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
content: Exclude<
|
||||
|
|
|
@ -11,8 +11,8 @@ import ThumbnailPreview from "components/PreviewCard";
|
|||
import { GetContentsQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { prettyinlineTitle, prettySlug } from "queries/helpers";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { prettyinlineTitle, prettySlug } from "helpers/helpers";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
} from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
contents: DevGetContentsQuery;
|
||||
|
|
|
@ -11,7 +11,7 @@ import {
|
|||
} from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
libraryItems: DevGetLibraryItemsQuery;
|
||||
|
|
|
@ -7,7 +7,7 @@ import ContentPanel, {
|
|||
import Popup from "components/Popup";
|
||||
import ToolTip from "components/ToolTip";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { useCallback, useState } from "react";
|
||||
import TurndownService from "turndown";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import AppLayout from "components/AppLayout";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import PostPage, { Post } from "components/PostPage";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
post: Post;
|
||||
|
|
|
@ -27,7 +27,7 @@ import {
|
|||
GetStaticPathsResult,
|
||||
GetStaticPropsContext,
|
||||
} from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import {
|
||||
convertMmToInch,
|
||||
prettyDate,
|
||||
|
@ -37,7 +37,7 @@ import {
|
|||
prettyPrice,
|
||||
prettyURL,
|
||||
sortContent,
|
||||
} from "queries/helpers";
|
||||
} from "helpers/helpers";
|
||||
import { useState } from "react";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
|
|
|
@ -18,8 +18,8 @@ import {
|
|||
GetStaticPathsResult,
|
||||
GetStaticPropsContext,
|
||||
} from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { prettyinlineTitle, prettySlug, sortContent } from "queries/helpers";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { prettyinlineTitle, prettySlug, sortContent } from "helpers/helpers";
|
||||
import { useState } from "react";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
|
|
|
@ -11,13 +11,13 @@ import ThumbnailPreview from "components/PreviewCard";
|
|||
import { GetLibraryItemsPreviewQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import {
|
||||
convertPrice,
|
||||
prettyDate,
|
||||
prettyinlineTitle,
|
||||
prettyItemSubType,
|
||||
} from "queries/helpers";
|
||||
} from "helpers/helpers";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
|
|
|
@ -2,7 +2,7 @@ import AppLayout from "components/AppLayout";
|
|||
import PanelHeader from "components/PanelComponents/PanelHeader";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {}
|
||||
export default function Merch(props: Props): JSX.Element {
|
||||
|
|
|
@ -6,7 +6,7 @@ import {
|
|||
GetStaticPathsResult,
|
||||
GetStaticPropsContext,
|
||||
} from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
post: Post;
|
||||
|
|
|
@ -9,8 +9,8 @@ import ThumbnailPreview from "components/PreviewCard";
|
|||
import { GetPostsPreviewQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { prettyDate, prettySlug } from "queries/helpers";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { prettyDate, prettySlug } from "helpers/helpers";
|
||||
import { useState } from "react";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
|
|
|
@ -11,8 +11,8 @@ import { useAppLayout } from "contexts/AppLayoutContext";
|
|||
import { GetChronologyItemsQuery, GetErasQuery } from "graphql/generated";
|
||||
import { getReadySdk } from "graphql/sdk";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { prettySlug } from "queries/helpers";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
import { prettySlug } from "helpers/helpers";
|
||||
|
||||
interface Props extends AppStaticProps {
|
||||
chronologyItems: Exclude<
|
||||
|
|
|
@ -3,7 +3,7 @@ import NavOption from "components/PanelComponents/NavOption";
|
|||
import PanelHeader from "components/PanelComponents/PanelHeader";
|
||||
import SubPanel from "components/Panels/SubPanel";
|
||||
import { GetStaticPropsContext } from "next";
|
||||
import { AppStaticProps, getAppStaticProps } from "queries/getAppStaticProps";
|
||||
import { AppStaticProps, getAppStaticProps } from "helpers/getAppStaticProps";
|
||||
|
||||
interface Props extends AppStaticProps {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue