renamed typing.ts -> types.ts
This commit is contained in:
parent
4eae414f38
commit
9c7b630247
10 changed files with 9 additions and 9 deletions
|
@ -14,7 +14,7 @@ import { saveIndex } from "./searchIndex"
|
||||||
import postProcess from "./postProcess"
|
import postProcess from "./postProcess"
|
||||||
import clean from "./clean"
|
import clean from "./clean"
|
||||||
|
|
||||||
import { Map, ParseMode, SeriesMap, PortfolioData } from "../types/typing"
|
import { Map, ParseMode, SeriesMap, PortfolioData } from "../types/types"
|
||||||
|
|
||||||
export const map: Map = {
|
export const map: Map = {
|
||||||
date: {},
|
date: {},
|
||||||
|
|
|
@ -18,7 +18,7 @@ import "katex/contrib/mhchem" // chemical formula
|
||||||
import { JSDOM } from "jsdom" // HTML DOM parsing
|
import { JSDOM } from "jsdom" // HTML DOM parsing
|
||||||
|
|
||||||
import { nthIndex } from "./util"
|
import { nthIndex } from "./util"
|
||||||
import { MarkdownData, ParseMode } from "../types/typing"
|
import { MarkdownData, ParseMode } from "../types/types"
|
||||||
|
|
||||||
const md = markdownIt({
|
const md = markdownIt({
|
||||||
// https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md
|
// https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { contentDirectoryPath } from "./config"
|
||||||
import { addDocument } from "./searchIndex"
|
import { addDocument } from "./searchIndex"
|
||||||
import { map, seriesMap } from "."
|
import { map, seriesMap } from "."
|
||||||
|
|
||||||
import { MarkdownData, ParseMode, PostData } from "../types/typing"
|
import { MarkdownData, ParseMode, PostData } from "../types/types"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Data that's passed from {@link parseFile} to other function
|
* Data that's passed from {@link parseFile} to other function
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import styled from "styled-components"
|
import styled from "styled-components"
|
||||||
import { useNavigate } from "react-router-dom"
|
import { useNavigate } from "react-router-dom"
|
||||||
|
|
||||||
import { PostData } from "../../types/typing"
|
import { PostData } from "../../types/types"
|
||||||
|
|
||||||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {
|
||||||
faHourglass,
|
faHourglass,
|
||||||
} from "@fortawesome/free-solid-svg-icons"
|
} from "@fortawesome/free-solid-svg-icons"
|
||||||
|
|
||||||
import { FetchedPage } from "../../../types/typing"
|
import { FetchedPage } from "../../../types/types"
|
||||||
import theming from "../../styles/theming"
|
import theming from "../../styles/theming"
|
||||||
|
|
||||||
const StyledMetaContainer = styled.div`
|
const StyledMetaContainer = styled.div`
|
||||||
|
|
|
@ -3,7 +3,7 @@ import { Helmet } from "react-helmet-async"
|
||||||
import { useLocation } from "react-router-dom"
|
import { useLocation } from "react-router-dom"
|
||||||
import styled from "styled-components"
|
import styled from "styled-components"
|
||||||
|
|
||||||
import { FetchedPage, Map } from "../../../types/typing"
|
import { FetchedPage, Map } from "../../../types/types"
|
||||||
|
|
||||||
import MainContent from "../../components/MainContent"
|
import MainContent from "../../components/MainContent"
|
||||||
import Loading from "../../components/Loading"
|
import Loading from "../../components/Loading"
|
||||||
|
|
|
@ -12,7 +12,7 @@ import PostCard from "../components/PostCard"
|
||||||
import _map from "../data/map.json"
|
import _map from "../data/map.json"
|
||||||
import theming from "../styles/theming"
|
import theming from "../styles/theming"
|
||||||
|
|
||||||
import { Map } from "../../types/typing"
|
import { Map } from "../../types/types"
|
||||||
|
|
||||||
const map: Map = _map
|
const map: Map = _map
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ import Select from "react-select"
|
||||||
import theming from "../../styles/theming"
|
import theming from "../../styles/theming"
|
||||||
|
|
||||||
import _map from "../../data/map.json"
|
import _map from "../../data/map.json"
|
||||||
import { Map } from "../../../types/typing"
|
import { Map } from "../../../types/types"
|
||||||
|
|
||||||
const map: Map = _map
|
const map: Map = _map
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ import SearchBar from "./SearchBar"
|
||||||
import TagSelect, { TagsData } from "./TagSelect"
|
import TagSelect, { TagsData } from "./TagSelect"
|
||||||
import { ClearDateButton, DateRangeControl, StyledDateRange } from "./DateRange"
|
import { ClearDateButton, DateRangeControl, StyledDateRange } from "./DateRange"
|
||||||
|
|
||||||
import { Map } from "../../../types/typing"
|
import { Map } from "../../../types/types"
|
||||||
|
|
||||||
import "react-date-range/dist/styles.css"
|
import "react-date-range/dist/styles.css"
|
||||||
import "react-date-range/dist/theme/default.css"
|
import "react-date-range/dist/theme/default.css"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue