chore: remove unused tracking properties and types
This commit is contained in:
@@ -3,8 +3,6 @@ export type TrackingProps = {
|
||||
pageId: string
|
||||
createdDate: string
|
||||
publishedDate: string
|
||||
pageName: string
|
||||
pageType: string
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,8 +10,6 @@ export type TrackingData = {
|
||||
pathName: string
|
||||
queryString: string
|
||||
pageId: string
|
||||
pageName: string
|
||||
pageType: string
|
||||
publishedDate: string
|
||||
createdDate: string
|
||||
}
|
||||
|
||||
@@ -11,7 +11,6 @@ import type { AllRequestResponse } from "./utils/all"
|
||||
import type {
|
||||
AsideTypenameEnum,
|
||||
Typename,
|
||||
PagesTypenameEnum,
|
||||
} from "./utils/typename"
|
||||
|
||||
export type Asides =
|
||||
@@ -34,7 +33,6 @@ export type Breadcrumbs = {
|
||||
}
|
||||
|
||||
export type BlockPage = {
|
||||
__typename: PagesTypenameEnum.CurrentBlocksPage
|
||||
aside: Asides[]
|
||||
blocks: Blocks[]
|
||||
breadcrumbs: Breadcrumbs
|
||||
|
||||
@@ -11,10 +11,6 @@ export enum BlocksTypenameEnum {
|
||||
CurrentBlocksPageBlocksText = "CurrentBlocksPageBlocksText",
|
||||
}
|
||||
|
||||
export enum PagesTypenameEnum {
|
||||
CurrentBlocksPage = "CurrentBlocksPage",
|
||||
}
|
||||
|
||||
export type BlocksTypename = keyof typeof BlocksTypenameEnum
|
||||
|
||||
export type Typename<T, K> = T & {
|
||||
|
||||
Reference in New Issue
Block a user