feat: align Tracking component props with CMS data
This commit is contained in:
19
types/components/tracking.ts
Normal file
19
types/components/tracking.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export type TrackingProps = {
|
||||
pageData: {
|
||||
pageId: string
|
||||
createdDate: string
|
||||
publishedDate: string
|
||||
pageName: string
|
||||
pageType: string
|
||||
}
|
||||
}
|
||||
|
||||
export type TrackingData = {
|
||||
pathName: string
|
||||
queryString: string
|
||||
pageId: string
|
||||
pageName: string
|
||||
pageType: string
|
||||
publishedDate: string
|
||||
createdDate: string
|
||||
}
|
||||
Reference in New Issue
Block a user