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

+4 -4
View File
@@ -1,6 +1,6 @@
import { IMeta, Pic } from "src/types"
import type { Meta, Pic } from "@/types"
export function meta(props: Partial<IMeta>): IMeta {
export function meta(props: Partial<Meta>): Meta {
const path = props.url || "/"
const url = `https://art.shlisselburg.org${path}`
@@ -28,9 +28,9 @@ export class MetaBuilder {
private image?: Pic
private title?: string
private description?: string
private data?: Partial<IMeta>
private data?: Partial<Meta>
setData(param: Partial<IMeta>) {
setData(param: Partial<Meta>) {
this.data = param
return this
}