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:
1 parent
7ab9147183
commit
9ee9bce197
20 files changed
+130
-100
No files matched your search
+8
-8
@@ -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[]
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user