Normalize interface naming — remove I prefix convention (#255)

* update pr workflow

* interface to types

* use consistent import

* import type syntax

* test plan note
This commit is contained in:
tmshv authored and GitHub committed 2026-02-08 15:57:11 +07:00
1 parent 7ab9147183
commit 9ee9bce197
20 files changed
+130 -100

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import { NextPage } from "next"
import type { NextPage } from "next"
import { Wrapper } from "@/components/Wrapper"
import { NotFound } from "@/components/NotFound"
import Copyright from "@/components/Copyright"
+10 -10
View File
@@ -1,11 +1,11 @@
import Head from "next/head"
import { App } from "src/components/App"
import { Page } from "src/components/Page"
import { App } from "@/components/App"
import { Page } from "@/components/Page"
import { NextSeo } from "next-seo"
import { MetaBuilder } from "src/lib/meta"
import { GetStaticProps, NextPage } from "next"
import { IBreadcumbsPart, IMenu, IMeta, ITag, Sign, Token } from "@/types"
import { Html } from "src/components/Html"
import { MetaBuilder } from "@/lib/meta"
import type { GetStaticProps, NextPage } from "next"
import type { BreadcrumbPart, MenuItem, Meta, Tag, Sign, Token } from "@/types"
import { Html } from "@/components/Html"
import { Youtube } from "@/components/Youtube"
import { paramsToSlug } from "@/remote/lib"
import { PageGrid } from "@/components/PageGrid"
@@ -17,11 +17,11 @@ import { getMenu, getPageBySlug, getUrls } from "@/remote/api"
type Props = {
title: string
tags: ITag[]
tags: Tag[]
date: string
breadcrumb: IBreadcumbsPart[]
meta?: IMeta
menu: IMenu[],
breadcrumb: BreadcrumbPart[]
meta?: Meta
menu: MenuItem[],
tokens: Token[]
documentSignature: Sign
}
+8 -8
View File
@@ -1,18 +1,18 @@
import Head from "next/head"
import { App } from "src/components/App"
import { App } from "@/components/App"
import { NextSeo } from "next-seo"
import { PageGrid } from "src/components/PageGrid"
import { HudozkaTitle } from "src/components/HudozkaTitle"
import { MetaBuilder } from "src/lib/meta"
import { GetStaticProps, NextPage } from "next"
import { IMenu, IMeta, PageCardDto } from "src/types"
import { PageGrid } from "@/components/PageGrid"
import { HudozkaTitle } from "@/components/HudozkaTitle"
import { MetaBuilder } from "@/lib/meta"
import type { GetStaticProps, NextPage } from "next"
import type { MenuItem, Meta, PageCardDto } from "@/types"
import { useMobile } from "@/hooks/useMobile"
import { getHomeCards, getMenu } from "@/remote/api"
type Props = {
title: string
meta: IMeta
menu: IMenu[]
meta: Meta
menu: MenuItem[]
items: PageCardDto[]
}