File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,21 +8,23 @@ import Media from "./collections/Media";
88import Homepage from "./globals/Homepage" ;
99import dashboardAnalytics from "../../dist/index" ;
1010
11+ import { PlausibleProvider , GoogleProvider } from "../../dist/types/providers" ;
12+
1113const PLAUSIBLE_API_KEY = process . env . PLAUSIBLE_API_KEY ;
1214const PLAUSIBLE_HOST = process . env . PLAUSIBLE_HOST ;
1315const PLAUSIBLE_SITE_ID = process . env . PLAUSIBLE_SITE_ID ;
1416
1517const GOOGLE_PROPERTY_ID = process . env . GOOGLE_PROPERTY_ID ;
1618const GOOGLE_CREDENTIALS_FILE = process . env . GOOGLE_CREDENTIALS_FILE ;
1719
18- const plausibleProvider = {
20+ const plausibleProvider : PlausibleProvider = {
1921 source : "plausible" ,
2022 apiSecret : PLAUSIBLE_API_KEY ,
2123 siteId : PLAUSIBLE_SITE_ID ,
2224 host : PLAUSIBLE_HOST ,
2325} ;
2426
25- const googleProvider = {
27+ const googleProvider : GoogleProvider = {
2628 source : "google" ,
2729 //credentials: GOOGLE_CREDENTIALS_FILE,
2830 propertyId : GOOGLE_PROPERTY_ID ,
You can’t perform that action at this time.
0 commit comments