diff --git a/src/types/type-declarations.ts b/src/types/type-declarations.ts index 435bb0c..2a940f3 100644 --- a/src/types/type-declarations.ts +++ b/src/types/type-declarations.ts @@ -60,7 +60,7 @@ export interface Output { } /* Google Analytics */ -export interface GoogleAnalyticsOptions { +export interface GoogleAnalyticsParams { id: string; } @@ -81,7 +81,7 @@ export interface GoogleAnalyticsApi { } /* Google Tag Manager */ -export interface GoogleTagManagerOptions { +export interface GoogleTagManagerParams { id: string; } @@ -111,3 +111,21 @@ export interface GoogleTagManagerApi { dataLayer: Record[]; google_tag_manager: GoogleTagManager; } + +/* Google Maps Embed */ +export interface GoogleMapsEmbedParams { + key: string; + mode: 'place' | 'view' | 'directions' | 'streetview' | 'search'; + q?: string; + center?: string; + zoom?: string; + maptype?: 'roadmap' | 'satellite'; + language?: string; + region?: string; +} + +/* Youtube Embed */ +export interface YoutubeEmbedAttributes { + videoid: string; + playlabel?: string; +}