Skip to content

Commit

Permalink
add missing options types (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
flashdesignory authored Jun 26, 2024
1 parent 553c94a commit 521f22f
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/types/type-declarations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface Output {
}

/* Google Analytics */
export interface GoogleAnalyticsOptions {
export interface GoogleAnalyticsParams {
id: string;
}

Expand All @@ -81,7 +81,7 @@ export interface GoogleAnalyticsApi {
}

/* Google Tag Manager */
export interface GoogleTagManagerOptions {
export interface GoogleTagManagerParams {
id: string;
}

Expand Down Expand Up @@ -111,3 +111,21 @@ export interface GoogleTagManagerApi {
dataLayer: Record<string, any>[];
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;
}

0 comments on commit 521f22f

Please sign in to comment.