@nuxt/scripts 1.0.0-beta.3 → 1.0.0-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{DdVDSbUA.js → 6CwTUC2b.js} +1 -1
- package/dist/client/_nuxt/{CD5B-xvT.js → B71AlSZ1.js} +1 -1
- package/dist/client/_nuxt/{Ds2G8aQM.js → BYGJV5dd.js} +1 -1
- package/dist/client/_nuxt/V4W-T8W6.js +162 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/70b59a3e-a025-4a77-a25a-dfadf5b1749d.json +1 -0
- package/dist/client/_nuxt/entry.C5SUNdim.css +1 -0
- package/dist/client/_nuxt/error-404.1K8v8Su2.css +1 -0
- package/dist/client/_nuxt/error-500.B9qvKpQm.css +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.d.mts +6 -18
- package/dist/module.d.ts +164 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +908 -645
- package/dist/registry.d.ts +6 -0
- package/dist/registry.mjs +244 -78
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.d.vue.ts +16 -9
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue +57 -30
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMaps.vue.d.ts +16 -9
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.d.vue.ts +22 -39
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue +69 -72
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsAdvancedMarkerElement.vue.d.ts +22 -39
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.d.vue.ts +5 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue +25 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsCircle.vue.d.ts +5 -1
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.d.vue.ts +43 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.vue +61 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsGeoJson.vue.d.ts +43 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.d.vue.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue +22 -26
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsHeatmapLayer.vue.d.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.d.vue.ts +9 -5
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue +62 -53
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsInfoWindow.vue.d.ts +9 -5
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.d.vue.ts +26 -11
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue +48 -45
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarker.vue.d.ts +26 -11
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.d.vue.ts +15 -4
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue +47 -37
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsMarkerClusterer.vue.d.ts +15 -4
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.d.vue.ts +77 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue +209 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsOverlayView.vue.d.ts +77 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.d.vue.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue +23 -32
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPinElement.vue.d.ts +4 -0
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue +24 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolygon.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue +24 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsPolyline.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.d.vue.ts +7 -3
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue +25 -38
- package/dist/runtime/components/GoogleMaps/ScriptGoogleMapsRectangle.vue.d.ts +7 -3
- package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.d.ts +13 -0
- package/dist/runtime/components/GoogleMaps/bindGoogleMapsEvents.js +8 -0
- package/dist/runtime/components/GoogleMaps/injectionKeys.d.ts +13 -0
- package/dist/runtime/components/GoogleMaps/injectionKeys.js +3 -0
- package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.d.ts +26 -0
- package/dist/runtime/components/GoogleMaps/useGoogleMapsResource.js +42 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.d.vue.ts +87 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.vue +85 -0
- package/dist/runtime/components/ScriptBlueskyEmbed.vue.d.ts +87 -0
- package/dist/runtime/components/ScriptCrisp.vue +1 -1
- package/dist/runtime/components/ScriptGoogleAdsense.vue +1 -1
- package/dist/runtime/components/ScriptGravatar.d.vue.ts +22 -0
- package/dist/runtime/components/ScriptGravatar.vue +46 -0
- package/dist/runtime/components/ScriptGravatar.vue.d.ts +22 -0
- package/dist/runtime/components/ScriptInstagramEmbed.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptInstagramEmbed.vue +5 -2
- package/dist/runtime/components/ScriptInstagramEmbed.vue.d.ts +2 -2
- package/dist/runtime/components/ScriptIntercom.vue +4 -3
- package/dist/runtime/components/ScriptPayPalButtons.d.vue.ts +43 -32
- package/dist/runtime/components/ScriptPayPalButtons.vue +48 -79
- package/dist/runtime/components/ScriptPayPalButtons.vue.d.ts +43 -32
- package/dist/runtime/components/ScriptPayPalMessages.d.vue.ts +37 -23
- package/dist/runtime/components/ScriptPayPalMessages.vue +46 -50
- package/dist/runtime/components/ScriptPayPalMessages.vue.d.ts +37 -23
- package/dist/runtime/components/ScriptStripePricingTable.vue +2 -2
- package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +9 -0
- package/dist/runtime/components/ScriptVimeoPlayer.vue +13 -10
- package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +9 -0
- package/dist/runtime/components/ScriptXEmbed.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptXEmbed.vue +6 -3
- package/dist/runtime/components/ScriptXEmbed.vue.d.ts +2 -2
- package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptYouTubePlayer.vue +11 -5
- package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +2 -2
- package/dist/runtime/composables/useScript.js +13 -6
- package/dist/runtime/composables/useScriptEventPage.js +2 -2
- package/dist/runtime/composables/useScriptTriggerConsent.d.ts +10 -0
- package/dist/runtime/composables/useScriptTriggerConsent.js +33 -20
- package/dist/runtime/composables/useScriptTriggerElement.js +1 -1
- package/dist/runtime/composables/useScriptTriggerIdleTimeout.js +1 -1
- package/dist/runtime/registry/bing-uet.d.ts +20 -0
- package/dist/runtime/registry/bing-uet.js +29 -0
- package/dist/runtime/registry/bluesky-embed.d.ts +116 -0
- package/dist/runtime/registry/bluesky-embed.js +72 -0
- package/dist/runtime/registry/clarity.d.ts +10 -15
- package/dist/runtime/registry/clarity.js +22 -31
- package/dist/runtime/registry/cloudflare-web-analytics.d.ts +2 -13
- package/dist/runtime/registry/cloudflare-web-analytics.js +2 -14
- package/dist/runtime/registry/crisp.d.ts +10 -40
- package/dist/runtime/registry/crisp.js +2 -33
- package/dist/runtime/registry/databuddy-analytics.d.ts +2 -35
- package/dist/runtime/registry/databuddy-analytics.js +20 -45
- package/dist/runtime/registry/fathom-analytics.d.ts +7 -26
- package/dist/runtime/registry/fathom-analytics.js +2 -24
- package/dist/runtime/registry/google-adsense.d.ts +3 -11
- package/dist/runtime/registry/google-adsense.js +2 -11
- package/dist/runtime/registry/google-analytics.d.ts +3 -5
- package/dist/runtime/registry/google-analytics.js +3 -8
- package/dist/runtime/registry/google-maps.d.ts +3 -9
- package/dist/runtime/registry/google-maps.js +2 -8
- package/dist/runtime/registry/google-recaptcha.d.ts +2 -6
- package/dist/runtime/registry/google-recaptcha.js +4 -12
- package/dist/runtime/registry/google-sign-in.d.ts +2 -13
- package/dist/runtime/registry/google-sign-in.js +2 -22
- package/dist/runtime/registry/google-tag-manager.d.ts +3 -28
- package/dist/runtime/registry/google-tag-manager.js +4 -27
- package/dist/runtime/registry/gravatar.d.ts +26 -0
- package/dist/runtime/registry/gravatar.js +33 -0
- package/dist/runtime/registry/hotjar.d.ts +4 -6
- package/dist/runtime/registry/hotjar.js +2 -5
- package/dist/runtime/registry/instagram-embed.d.ts +3 -18
- package/dist/runtime/registry/instagram-embed.js +4 -19
- package/dist/runtime/registry/intercom.d.ts +4 -12
- package/dist/runtime/registry/intercom.js +2 -12
- package/dist/runtime/registry/matomo-analytics.d.ts +3 -12
- package/dist/runtime/registry/matomo-analytics.js +3 -12
- package/dist/runtime/registry/meta-pixel.d.ts +4 -6
- package/dist/runtime/registry/meta-pixel.js +2 -4
- package/dist/runtime/registry/mixpanel-analytics.d.ts +22 -0
- package/dist/runtime/registry/mixpanel-analytics.js +46 -0
- package/dist/runtime/registry/npm.d.ts +3 -7
- package/dist/runtime/registry/npm.js +2 -9
- package/dist/runtime/registry/paypal.d.ts +4 -25
- package/dist/runtime/registry/paypal.js +3 -66
- package/dist/runtime/registry/plausible-analytics.js +18 -13
- package/dist/runtime/registry/posthog.d.ts +10 -12
- package/dist/runtime/registry/posthog.js +7 -14
- package/dist/runtime/registry/reddit-pixel.d.ts +5 -6
- package/dist/runtime/registry/reddit-pixel.js +2 -4
- package/dist/runtime/registry/rybbit-analytics.d.ts +2 -14
- package/dist/runtime/registry/rybbit-analytics.js +10 -20
- package/dist/runtime/registry/schemas.d.ts +982 -0
- package/dist/runtime/registry/schemas.js +937 -0
- package/dist/runtime/registry/segment.d.ts +2 -5
- package/dist/runtime/registry/segment.js +2 -5
- package/dist/runtime/registry/snapchat-pixel.d.ts +4 -33
- package/dist/runtime/registry/snapchat-pixel.js +2 -20
- package/dist/runtime/registry/stripe.d.ts +3 -4
- package/dist/runtime/registry/stripe.js +2 -4
- package/dist/runtime/registry/tiktok-pixel.d.ts +4 -7
- package/dist/runtime/registry/tiktok-pixel.js +2 -6
- package/dist/runtime/registry/umami-analytics.d.ts +2 -31
- package/dist/runtime/registry/umami-analytics.js +2 -36
- package/dist/runtime/registry/vercel-analytics.d.ts +29 -0
- package/dist/runtime/registry/vercel-analytics.js +84 -0
- package/dist/runtime/registry/vimeo-player.d.ts +2 -2
- package/dist/runtime/registry/vimeo-player.js +1 -1
- package/dist/runtime/registry/x-embed.d.ts +3 -17
- package/dist/runtime/registry/x-embed.js +3 -18
- package/dist/runtime/registry/x-pixel.d.ts +4 -7
- package/dist/runtime/registry/x-pixel.js +2 -5
- package/dist/runtime/registry/youtube-player.d.ts +7 -7
- package/dist/runtime/registry/youtube-player.js +1 -1
- package/dist/runtime/server/{sw-handler.d.ts → bluesky-embed-image.d.ts} +1 -1
- package/dist/runtime/server/bluesky-embed-image.js +7 -0
- package/dist/runtime/server/bluesky-embed.d.ts +16 -0
- package/dist/runtime/server/bluesky-embed.js +59 -0
- package/dist/runtime/server/google-maps-geocode-proxy.d.ts +2 -0
- package/dist/runtime/server/google-maps-geocode-proxy.js +34 -0
- package/dist/runtime/server/google-static-maps-proxy.js +2 -13
- package/dist/runtime/server/gravatar-proxy.d.ts +2 -0
- package/dist/runtime/server/gravatar-proxy.js +46 -0
- package/dist/runtime/server/instagram-embed-asset.js +8 -41
- package/dist/runtime/server/instagram-embed-image.js +6 -53
- package/dist/runtime/server/instagram-embed.d.ts +16 -0
- package/dist/runtime/server/instagram-embed.js +173 -35
- package/dist/runtime/server/proxy-handler.js +144 -113
- package/dist/runtime/server/utils/image-proxy.d.ts +12 -0
- package/dist/runtime/server/utils/image-proxy.js +70 -0
- package/dist/runtime/server/utils/privacy.d.ts +1 -2
- package/dist/runtime/server/utils/privacy.js +54 -34
- package/dist/runtime/server/x-embed-image.js +5 -49
- package/dist/runtime/server/x-embed.js +3 -2
- package/dist/runtime/types.d.ts +74 -40
- package/dist/runtime/utils/pure.d.ts +1 -5
- package/dist/runtime/utils/pure.js +0 -67
- package/dist/runtime/utils.d.ts +4 -3
- package/dist/runtime/utils.js +24 -10
- package/dist/shared/scripts.D7e2ENu6.mjs +211 -0
- package/dist/stats.d.mts +202 -0
- package/dist/stats.d.ts +202 -0
- package/dist/stats.mjs +3860 -0
- package/dist/types-source.d.mts +17 -0
- package/dist/types-source.d.ts +17 -0
- package/dist/types-source.mjs +3614 -0
- package/package.json +52 -38
- package/dist/client/_nuxt/D-kOnTuH.js +0 -162
- package/dist/client/_nuxt/builds/meta/f1474569-6922-450d-bc3f-4fd5f3e1391a.json +0 -1
- package/dist/client/_nuxt/entry.D45OuV0w.css +0 -1
- package/dist/client/_nuxt/error-404.B57D-jUQ.css +0 -1
- package/dist/client/_nuxt/error-500.DTHUW7BI.css +0 -1
- package/dist/runtime/components/ScriptPayPalMarks.d.vue.ts +0 -52
- package/dist/runtime/components/ScriptPayPalMarks.vue +0 -69
- package/dist/runtime/components/ScriptPayPalMarks.vue.d.ts +0 -52
- package/dist/runtime/plugins/sw-register.client.d.ts +0 -2
- package/dist/runtime/plugins/sw-register.client.js +0 -12
- package/dist/runtime/server/sw-handler.js +0 -25
- package/dist/runtime/sw/proxy-sw.template.d.ts +0 -1
- package/dist/runtime/sw/proxy-sw.template.js +0 -54
|
@@ -0,0 +1,982 @@
|
|
|
1
|
+
export declare const BlueskyEmbedOptions: import("valibot").ObjectSchema<{
|
|
2
|
+
/**
|
|
3
|
+
* The Bluesky post URL to embed.
|
|
4
|
+
* @example 'https://bsky.app/profile/bsky.app/post/3mgnwwvj3u22a'
|
|
5
|
+
*/
|
|
6
|
+
readonly postUrl: import("valibot").StringSchema<undefined>;
|
|
7
|
+
/**
|
|
8
|
+
* Custom API endpoint for fetching post data.
|
|
9
|
+
* @default '/_scripts/embed/bluesky'
|
|
10
|
+
*/
|
|
11
|
+
readonly apiEndpoint: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
12
|
+
/**
|
|
13
|
+
* Custom image proxy endpoint.
|
|
14
|
+
* @default '/_scripts/embed/bluesky-image'
|
|
15
|
+
*/
|
|
16
|
+
readonly imageProxyEndpoint: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
export declare const ClarityOptions: import("valibot").ObjectSchema<{
|
|
19
|
+
/**
|
|
20
|
+
* The Clarity token.
|
|
21
|
+
* @see https://learn.microsoft.com/en-us/clarity/setup-clarity
|
|
22
|
+
*/
|
|
23
|
+
readonly id: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 10, undefined>]>;
|
|
24
|
+
}, undefined>;
|
|
25
|
+
export declare const CloudflareWebAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
26
|
+
/**
|
|
27
|
+
* The Cloudflare Web Analytics token.
|
|
28
|
+
* @see https://developers.cloudflare.com/analytics/web-analytics/get-started/
|
|
29
|
+
*/
|
|
30
|
+
readonly token: import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").MinLengthAction<string, 32, undefined>]>;
|
|
31
|
+
/**
|
|
32
|
+
* Cloudflare Web Analytics enables measuring SPAs automatically by overriding the History API's pushState function
|
|
33
|
+
* and listening to the onpopstate. Hash-based router is not supported.
|
|
34
|
+
*
|
|
35
|
+
* @default true
|
|
36
|
+
* @see https://developers.cloudflare.com/analytics/web-analytics/get-started/#spa-tracking
|
|
37
|
+
*/
|
|
38
|
+
readonly spa: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
39
|
+
}, undefined>;
|
|
40
|
+
export declare const CrispOptions: import("valibot").ObjectSchema<{
|
|
41
|
+
/**
|
|
42
|
+
* The Crisp ID.
|
|
43
|
+
*/
|
|
44
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
45
|
+
/**
|
|
46
|
+
* Extra configuration options. Used to configure the locale.
|
|
47
|
+
* Same as CRISP_RUNTIME_CONFIG.
|
|
48
|
+
* @see https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/language-customization/
|
|
49
|
+
*/
|
|
50
|
+
readonly runtimeConfig: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
51
|
+
readonly locale: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
52
|
+
}, undefined>, undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* Associated a session, equivalent to using CRISP_TOKEN_ID variable.
|
|
55
|
+
* Same as CRISP_TOKEN_ID.
|
|
56
|
+
* @see https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/session-continuity/
|
|
57
|
+
*/
|
|
58
|
+
readonly tokenId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Restrict the domain that the Crisp cookie is set on.
|
|
61
|
+
* Same as CRISP_COOKIE_DOMAIN.
|
|
62
|
+
* @see https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/cookie-policies/
|
|
63
|
+
*/
|
|
64
|
+
readonly cookieDomain: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The cookie expiry in seconds.
|
|
67
|
+
* Same as CRISP_COOKIE_EXPIRATION.
|
|
68
|
+
* @see https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/cookie-policies/#change-cookie-expiration-date
|
|
69
|
+
*/
|
|
70
|
+
readonly cookieExpiry: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
71
|
+
}, undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* @see https://www.databuddy.cc/docs/sdk
|
|
74
|
+
*/
|
|
75
|
+
export declare const DatabuddyAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
76
|
+
/**
|
|
77
|
+
* Your Databuddy client ID.
|
|
78
|
+
*/
|
|
79
|
+
readonly clientId: import("valibot").StringSchema<undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* Custom script URL for the Databuddy SDK.
|
|
82
|
+
* @default 'https://cdn.databuddy.cc/databuddy.js'
|
|
83
|
+
*/
|
|
84
|
+
readonly scriptUrl: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Custom API URL for sending analytics data.
|
|
87
|
+
* @default 'https://basket.databuddy.cc'
|
|
88
|
+
*/
|
|
89
|
+
readonly apiUrl: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Disable all tracking when set to `true`.
|
|
92
|
+
*/
|
|
93
|
+
readonly disabled: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Track screen/page views automatically.
|
|
96
|
+
* @default true
|
|
97
|
+
* @see https://www.databuddy.cc/docs/sdk#track-screen-views
|
|
98
|
+
*/
|
|
99
|
+
readonly trackScreenViews: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* Track page performance metrics.
|
|
102
|
+
* @default true
|
|
103
|
+
* @see https://www.databuddy.cc/docs/sdk#track-performance
|
|
104
|
+
*/
|
|
105
|
+
readonly trackPerformance: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Track user sessions.
|
|
108
|
+
* @default true
|
|
109
|
+
* @see https://www.databuddy.cc/docs/sdk#track-sessions
|
|
110
|
+
*/
|
|
111
|
+
readonly trackSessions: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* Track Web Vitals (LCP, FID, CLS, etc.).
|
|
114
|
+
*/
|
|
115
|
+
readonly trackWebVitals: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Track JavaScript errors.
|
|
118
|
+
*/
|
|
119
|
+
readonly trackErrors: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* Track outgoing link clicks.
|
|
122
|
+
*/
|
|
123
|
+
readonly trackOutgoingLinks: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* Track scroll depth.
|
|
126
|
+
*/
|
|
127
|
+
readonly trackScrollDepth: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* Track user engagement time.
|
|
130
|
+
*/
|
|
131
|
+
readonly trackEngagement: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* Track user interactions (clicks, form submissions, etc.).
|
|
134
|
+
*/
|
|
135
|
+
readonly trackInteractions: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* Track element attributes for detailed interaction context.
|
|
138
|
+
*/
|
|
139
|
+
readonly trackAttributes: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* Track hash changes in the URL.
|
|
142
|
+
*/
|
|
143
|
+
readonly trackHashChanges: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* Track exit intent behavior.
|
|
146
|
+
*/
|
|
147
|
+
readonly trackExitIntent: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* Track bounce rate metrics.
|
|
150
|
+
*/
|
|
151
|
+
readonly trackBounceRate: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* Enable event batching for better performance.
|
|
154
|
+
*/
|
|
155
|
+
readonly enableBatching: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* Maximum number of events per batch.
|
|
158
|
+
*/
|
|
159
|
+
readonly batchSize: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
160
|
+
/**
|
|
161
|
+
* Timeout (in ms) before flushing a batch.
|
|
162
|
+
*/
|
|
163
|
+
readonly batchTimeout: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
164
|
+
/**
|
|
165
|
+
* Enable automatic retries for failed requests.
|
|
166
|
+
*/
|
|
167
|
+
readonly enableRetries: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Maximum number of retry attempts.
|
|
170
|
+
*/
|
|
171
|
+
readonly maxRetries: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
172
|
+
/**
|
|
173
|
+
* Initial delay (in ms) before the first retry.
|
|
174
|
+
*/
|
|
175
|
+
readonly initialRetryDelay: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
176
|
+
/**
|
|
177
|
+
* Sampling rate (0 to 1). Set to `0.5` to track ~50% of sessions.
|
|
178
|
+
*/
|
|
179
|
+
readonly samplingRate: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
180
|
+
/**
|
|
181
|
+
* Custom SDK identifier.
|
|
182
|
+
*/
|
|
183
|
+
readonly sdk: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* Custom SDK version string.
|
|
186
|
+
*/
|
|
187
|
+
readonly sdkVersion: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
188
|
+
/**
|
|
189
|
+
* Enable observability/monitoring features.
|
|
190
|
+
*/
|
|
191
|
+
readonly enableObservability: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
192
|
+
/**
|
|
193
|
+
* The service name for observability reporting.
|
|
194
|
+
*/
|
|
195
|
+
readonly observabilityService: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
196
|
+
/**
|
|
197
|
+
* The environment name for observability (e.g., `'production'`, `'staging'`).
|
|
198
|
+
*/
|
|
199
|
+
readonly observabilityEnvironment: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* The version string for observability reporting.
|
|
202
|
+
*/
|
|
203
|
+
readonly observabilityVersion: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
204
|
+
/**
|
|
205
|
+
* Enable console logging for debugging.
|
|
206
|
+
*/
|
|
207
|
+
readonly enableLogging: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
208
|
+
/**
|
|
209
|
+
* Enable request tracing.
|
|
210
|
+
*/
|
|
211
|
+
readonly enableTracing: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
212
|
+
/**
|
|
213
|
+
* Enable error tracking via observability.
|
|
214
|
+
*/
|
|
215
|
+
readonly enableErrorTracking: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
216
|
+
}, undefined>;
|
|
217
|
+
export declare const FathomAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
218
|
+
/**
|
|
219
|
+
* The Fathom Analytics site ID.
|
|
220
|
+
* @see https://usefathom.com/docs/script/script-settings
|
|
221
|
+
*/
|
|
222
|
+
readonly site: import("valibot").StringSchema<undefined>;
|
|
223
|
+
/**
|
|
224
|
+
* The Fathom Analytics tracking mode.
|
|
225
|
+
* @default 'auto'
|
|
226
|
+
*/
|
|
227
|
+
readonly spa: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"auto", undefined>, import("valibot").LiteralSchema<"history", undefined>, import("valibot").LiteralSchema<"hash", undefined>], undefined>, undefined>;
|
|
228
|
+
/**
|
|
229
|
+
* Automatically track page views.
|
|
230
|
+
* @default true
|
|
231
|
+
*/
|
|
232
|
+
readonly auto: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
233
|
+
/**
|
|
234
|
+
* Enable canonical URL tracking.
|
|
235
|
+
* @default true
|
|
236
|
+
*/
|
|
237
|
+
readonly canonical: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
238
|
+
/**
|
|
239
|
+
* Honor Do Not Track requests.
|
|
240
|
+
* @default false
|
|
241
|
+
*/
|
|
242
|
+
readonly honorDnt: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
243
|
+
}, undefined>;
|
|
244
|
+
export declare const GoogleAdsenseOptions: import("valibot").ObjectSchema<{
|
|
245
|
+
/**
|
|
246
|
+
* The Google Adsense ID.
|
|
247
|
+
* @example 'ca-pub-XXXXXXXXXXXXXXXX'
|
|
248
|
+
*/
|
|
249
|
+
readonly client: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
250
|
+
/**
|
|
251
|
+
* Enable or disable Auto Ads.
|
|
252
|
+
* @default false
|
|
253
|
+
* @see https://support.google.com/adsense/answer/9261805
|
|
254
|
+
*/
|
|
255
|
+
readonly autoAds: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
256
|
+
}, undefined>;
|
|
257
|
+
export declare const GoogleAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
258
|
+
/**
|
|
259
|
+
* The GA4 measurement ID.
|
|
260
|
+
* @example 'G-XXXXXXXX'
|
|
261
|
+
* @see https://developers.google.com/analytics/devguides/collection/gtagjs
|
|
262
|
+
*/
|
|
263
|
+
readonly id: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
264
|
+
/**
|
|
265
|
+
* Global name for the dataLayer variable.
|
|
266
|
+
* @default 'dataLayer'
|
|
267
|
+
* @see https://developers.google.com/analytics/devguides/collection/gtagjs/setting-up-gtag#rename_the_data_layer
|
|
268
|
+
*/
|
|
269
|
+
readonly l: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
270
|
+
}, undefined>;
|
|
271
|
+
export declare const GoogleMapsOptions: import("valibot").ObjectSchema<{
|
|
272
|
+
/**
|
|
273
|
+
* Your Google Maps API key.
|
|
274
|
+
*/
|
|
275
|
+
readonly apiKey: import("valibot").StringSchema<undefined>;
|
|
276
|
+
/**
|
|
277
|
+
* The Google Maps libraries to load.
|
|
278
|
+
* @default ['places']
|
|
279
|
+
* @see https://developers.google.com/maps/documentation/javascript/libraries
|
|
280
|
+
*/
|
|
281
|
+
readonly libraries: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
282
|
+
/**
|
|
283
|
+
* The language code for the map UI and geocoding results.
|
|
284
|
+
* @see https://developers.google.com/maps/faq#languagesupport
|
|
285
|
+
*/
|
|
286
|
+
readonly language: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
287
|
+
/**
|
|
288
|
+
* The region code to bias geocoding results.
|
|
289
|
+
* @see https://developers.google.com/maps/documentation/javascript/localization#Region
|
|
290
|
+
*/
|
|
291
|
+
readonly region: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
292
|
+
/**
|
|
293
|
+
* The Google Maps JS API version to load.
|
|
294
|
+
* @default 'weekly'
|
|
295
|
+
* @see https://developers.google.com/maps/documentation/javascript/versions
|
|
296
|
+
*/
|
|
297
|
+
readonly v: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"weekly", undefined>, import("valibot").LiteralSchema<"quarterly", undefined>, import("valibot").LiteralSchema<"beta", undefined>, import("valibot").LiteralSchema<"alpha", undefined>, import("valibot").StringSchema<undefined>], undefined>, undefined>;
|
|
298
|
+
}, undefined>;
|
|
299
|
+
export declare const GoogleRecaptchaOptions: import("valibot").ObjectSchema<{
|
|
300
|
+
/**
|
|
301
|
+
* Your reCAPTCHA site key.
|
|
302
|
+
* @see https://developers.google.com/recaptcha/docs/display#render_param
|
|
303
|
+
*/
|
|
304
|
+
readonly siteKey: import("valibot").StringSchema<undefined>;
|
|
305
|
+
/**
|
|
306
|
+
* Use the Enterprise version of reCAPTCHA (enterprise.js instead of api.js).
|
|
307
|
+
* @see https://cloud.google.com/recaptcha-enterprise/docs/introduction
|
|
308
|
+
*/
|
|
309
|
+
readonly enterprise: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
310
|
+
/**
|
|
311
|
+
* Use recaptcha.net instead of google.com domain. Useful for regions where google.com is blocked.
|
|
312
|
+
*/
|
|
313
|
+
readonly recaptchaNet: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
314
|
+
/**
|
|
315
|
+
* Language code for the reCAPTCHA widget.
|
|
316
|
+
* @see https://developers.google.com/recaptcha/docs/language
|
|
317
|
+
*/
|
|
318
|
+
readonly hl: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
319
|
+
}, undefined>;
|
|
320
|
+
export declare const GoogleSignInOptions: import("valibot").ObjectSchema<{
|
|
321
|
+
/**
|
|
322
|
+
* Your Google API client ID.
|
|
323
|
+
* @example 'XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com'
|
|
324
|
+
* @see https://developers.google.com/identity/gsi/web/guides/get-google-api-clientid
|
|
325
|
+
*/
|
|
326
|
+
readonly clientId: import("valibot").StringSchema<undefined>;
|
|
327
|
+
/**
|
|
328
|
+
* Auto-select credentials when only one Google account is available.
|
|
329
|
+
* @see https://developers.google.com/identity/gsi/web/reference/js-reference#auto_select
|
|
330
|
+
*/
|
|
331
|
+
readonly autoSelect: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
332
|
+
/**
|
|
333
|
+
* The context text for the One Tap prompt.
|
|
334
|
+
* @see https://developers.google.com/identity/gsi/web/reference/js-reference#context
|
|
335
|
+
*/
|
|
336
|
+
readonly context: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"signin", undefined>, import("valibot").LiteralSchema<"signup", undefined>, import("valibot").LiteralSchema<"use", undefined>], undefined>, undefined>;
|
|
337
|
+
/**
|
|
338
|
+
* Enable FedCM (Federated Credential Management) API support. Mandatory from August 2025.
|
|
339
|
+
* @see https://developers.google.com/identity/gsi/web/guides/fedcm-migration
|
|
340
|
+
*/
|
|
341
|
+
readonly useFedcmForPrompt: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
342
|
+
/**
|
|
343
|
+
* Cancel the One Tap prompt if the user clicks outside.
|
|
344
|
+
* @default true
|
|
345
|
+
* @see https://developers.google.com/identity/gsi/web/reference/js-reference#cancel_on_tap_outside
|
|
346
|
+
*/
|
|
347
|
+
readonly cancelOnTapOutside: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
348
|
+
/**
|
|
349
|
+
* The UX mode for the sign-in flow.
|
|
350
|
+
* @see https://developers.google.com/identity/gsi/web/reference/js-reference#ux_mode
|
|
351
|
+
*/
|
|
352
|
+
readonly uxMode: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"popup", undefined>, import("valibot").LiteralSchema<"redirect", undefined>], undefined>, undefined>;
|
|
353
|
+
/**
|
|
354
|
+
* The URI to redirect to after sign-in when using redirect UX mode.
|
|
355
|
+
* @see https://developers.google.com/identity/gsi/web/reference/js-reference#login_uri
|
|
356
|
+
*/
|
|
357
|
+
readonly loginUri: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
358
|
+
/**
|
|
359
|
+
* Enable Intelligent Tracking Prevention (ITP) support for Safari.
|
|
360
|
+
* @see https://developers.google.com/identity/gsi/web/reference/js-reference#itp_support
|
|
361
|
+
*/
|
|
362
|
+
readonly itpSupport: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
363
|
+
/**
|
|
364
|
+
* Allowed parent origin(s) for iframe embedding.
|
|
365
|
+
* @see https://developers.google.com/identity/gsi/web/reference/js-reference#allowed_parent_origin
|
|
366
|
+
*/
|
|
367
|
+
readonly allowedParentOrigin: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>], undefined>, undefined>;
|
|
368
|
+
/**
|
|
369
|
+
* Restrict sign-in to a specific Google Workspace hosted domain.
|
|
370
|
+
* @example 'example.com'
|
|
371
|
+
* @see https://developers.google.com/identity/gsi/web/reference/js-reference#hd
|
|
372
|
+
*/
|
|
373
|
+
readonly hd: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
374
|
+
}, undefined>;
|
|
375
|
+
/**
|
|
376
|
+
* GTM configuration options with improved documentation
|
|
377
|
+
*/
|
|
378
|
+
export declare const GoogleTagManagerOptions: import("valibot").ObjectSchema<{
|
|
379
|
+
/**
|
|
380
|
+
* GTM container ID (format: GTM-XXXXXX)
|
|
381
|
+
* @see https://developers.google.com/tag-platform/tag-manager/web#install-the-container
|
|
382
|
+
*/
|
|
383
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
384
|
+
/**
|
|
385
|
+
* Optional dataLayer variable name
|
|
386
|
+
* @default 'dataLayer'
|
|
387
|
+
* @see https://developers.google.com/tag-platform/tag-manager/web/datalayer#rename_the_data_layer
|
|
388
|
+
*/
|
|
389
|
+
readonly l: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
390
|
+
/**
|
|
391
|
+
* Authentication token for environment-specific container versions
|
|
392
|
+
* @see https://support.google.com/tagmanager/answer/6328337
|
|
393
|
+
*/
|
|
394
|
+
readonly auth: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
395
|
+
/**
|
|
396
|
+
* Preview environment name
|
|
397
|
+
* @see https://support.google.com/tagmanager/answer/6328337
|
|
398
|
+
*/
|
|
399
|
+
readonly preview: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
400
|
+
/** Forces GTM cookies to take precedence when true */
|
|
401
|
+
readonly cookiesWin: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").BooleanSchema<undefined>, import("valibot").LiteralSchema<"x", undefined>], undefined>, undefined>;
|
|
402
|
+
/**
|
|
403
|
+
* Enables debug mode when true
|
|
404
|
+
* @see https://support.google.com/tagmanager/answer/6107056
|
|
405
|
+
*/
|
|
406
|
+
readonly debug: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").BooleanSchema<undefined>, import("valibot").LiteralSchema<"x", undefined>], undefined>, undefined>;
|
|
407
|
+
/**
|
|
408
|
+
* No Personal Advertising - disables advertising features when true
|
|
409
|
+
* @see https://developers.google.com/tag-platform/tag-manager/templates/consent-apis
|
|
410
|
+
*/
|
|
411
|
+
readonly npa: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").BooleanSchema<undefined>, import("valibot").LiteralSchema<"1", undefined>], undefined>, undefined>;
|
|
412
|
+
/** Custom dataLayer name (alternative to "l" property) */
|
|
413
|
+
readonly dataLayer: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
414
|
+
/**
|
|
415
|
+
* Environment name for environment-specific container
|
|
416
|
+
* @see https://support.google.com/tagmanager/answer/6328337
|
|
417
|
+
*/
|
|
418
|
+
readonly envName: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
419
|
+
/** Referrer policy for analytics requests */
|
|
420
|
+
readonly authReferrerPolicy: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
421
|
+
/**
|
|
422
|
+
* Default consent settings for GTM
|
|
423
|
+
* @see https://developers.google.com/tag-platform/tag-manager/templates/consent-apis
|
|
424
|
+
*/
|
|
425
|
+
readonly defaultConsent: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
426
|
+
}, undefined>;
|
|
427
|
+
export declare const HotjarOptions: import("valibot").ObjectSchema<{
|
|
428
|
+
/**
|
|
429
|
+
* Your Hotjar Site ID.
|
|
430
|
+
* @see https://help.hotjar.com/hc/en-us/articles/115012039247-Hotjar-Tracking-Code
|
|
431
|
+
*/
|
|
432
|
+
readonly id: import("valibot").NumberSchema<undefined>;
|
|
433
|
+
/**
|
|
434
|
+
* The Hotjar snippet version.
|
|
435
|
+
* @default 6
|
|
436
|
+
*/
|
|
437
|
+
readonly sv: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
438
|
+
}, undefined>;
|
|
439
|
+
export declare const InstagramEmbedOptions: import("valibot").ObjectSchema<{
|
|
440
|
+
/**
|
|
441
|
+
* The Instagram post URL to embed.
|
|
442
|
+
* @example 'https://www.instagram.com/p/C_XXXXXXXXX/'
|
|
443
|
+
* @see https://developers.facebook.com/docs/instagram/oembed/
|
|
444
|
+
*/
|
|
445
|
+
readonly postUrl: import("valibot").StringSchema<undefined>;
|
|
446
|
+
/**
|
|
447
|
+
* Whether to include captions in the embed.
|
|
448
|
+
* @default true
|
|
449
|
+
*/
|
|
450
|
+
readonly captions: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
451
|
+
/**
|
|
452
|
+
* Custom API endpoint for fetching embed HTML.
|
|
453
|
+
* @default '/_scripts/embed/instagram'
|
|
454
|
+
*/
|
|
455
|
+
readonly apiEndpoint: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
456
|
+
}, undefined>;
|
|
457
|
+
export declare const IntercomOptions: import("valibot").ObjectSchema<{
|
|
458
|
+
/**
|
|
459
|
+
* Your Intercom app ID.
|
|
460
|
+
* @see https://developers.intercom.com/installing-intercom/docs/javascript-api-attributes-objects
|
|
461
|
+
*/
|
|
462
|
+
readonly app_id: import("valibot").StringSchema<undefined>;
|
|
463
|
+
/**
|
|
464
|
+
* The regional API base URL. Choose based on your Intercom data hosting region.
|
|
465
|
+
*/
|
|
466
|
+
readonly api_base: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"https://api-iam.intercom.io", undefined>, import("valibot").LiteralSchema<"https://api-iam.eu.intercom.io", undefined>, import("valibot").LiteralSchema<"https://api-iam.au.intercom.io", undefined>], undefined>, undefined>;
|
|
467
|
+
/**
|
|
468
|
+
* The name of the logged-in user.
|
|
469
|
+
*/
|
|
470
|
+
readonly name: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
471
|
+
/**
|
|
472
|
+
* The email address of the logged-in user.
|
|
473
|
+
*/
|
|
474
|
+
readonly email: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
475
|
+
/**
|
|
476
|
+
* A unique identifier for the logged-in user.
|
|
477
|
+
*/
|
|
478
|
+
readonly user_id: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
479
|
+
/**
|
|
480
|
+
* The horizontal alignment of the Intercom messenger launcher.
|
|
481
|
+
* @default 'right'
|
|
482
|
+
*/
|
|
483
|
+
readonly alignment: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"left", undefined>, import("valibot").LiteralSchema<"right", undefined>], undefined>, undefined>;
|
|
484
|
+
/**
|
|
485
|
+
* The horizontal padding (in px) of the messenger launcher from the edge of the page.
|
|
486
|
+
* @default 20
|
|
487
|
+
*/
|
|
488
|
+
readonly horizontal_padding: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
489
|
+
/**
|
|
490
|
+
* The vertical padding (in px) of the messenger launcher from the bottom of the page.
|
|
491
|
+
* @default 20
|
|
492
|
+
*/
|
|
493
|
+
readonly vertical_padding: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
494
|
+
}, undefined>;
|
|
495
|
+
export declare const MatomoAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
496
|
+
/**
|
|
497
|
+
* The URL of your self-hosted Matomo instance.
|
|
498
|
+
* Either `matomoUrl` or `cloudId` is required.
|
|
499
|
+
* @example 'https://matomo.example.com'
|
|
500
|
+
* @see https://developer.matomo.org/guides/tracking-javascript-guide
|
|
501
|
+
*/
|
|
502
|
+
readonly matomoUrl: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
503
|
+
/**
|
|
504
|
+
* Your Matomo site ID.
|
|
505
|
+
* @default '1'
|
|
506
|
+
*/
|
|
507
|
+
readonly siteId: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>, undefined>;
|
|
508
|
+
/**
|
|
509
|
+
* Your Matomo Cloud ID (the subdomain portion of your `*.matomo.cloud` URL).
|
|
510
|
+
* Either `matomoUrl` or `cloudId` is required.
|
|
511
|
+
* @example 'mysite.matomo.cloud'
|
|
512
|
+
*/
|
|
513
|
+
readonly cloudId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
514
|
+
/**
|
|
515
|
+
* A custom tracker URL. Overrides the default tracker endpoint derived from `matomoUrl` or `cloudId`.
|
|
516
|
+
*/
|
|
517
|
+
readonly trackerUrl: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
518
|
+
/**
|
|
519
|
+
* Whether to track the initial page view on load.
|
|
520
|
+
* @deprecated Use `watch: true` (default) for automatic page view tracking.
|
|
521
|
+
*/
|
|
522
|
+
readonly trackPageView: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
523
|
+
/**
|
|
524
|
+
* Enable download and outlink tracking.
|
|
525
|
+
*/
|
|
526
|
+
readonly enableLinkTracking: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
527
|
+
/**
|
|
528
|
+
* Disable all tracking cookies for cookieless analytics.
|
|
529
|
+
*/
|
|
530
|
+
readonly disableCookies: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
531
|
+
/**
|
|
532
|
+
* Automatically track page views on route change.
|
|
533
|
+
* @default true
|
|
534
|
+
*/
|
|
535
|
+
readonly watch: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
536
|
+
}, undefined>;
|
|
537
|
+
export declare const MetaPixelOptions: import("valibot").ObjectSchema<{
|
|
538
|
+
/**
|
|
539
|
+
* Your Meta (Facebook) Pixel ID.
|
|
540
|
+
* @see https://developers.facebook.com/docs/meta-pixel/get-started
|
|
541
|
+
*/
|
|
542
|
+
readonly id: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
543
|
+
}, undefined>;
|
|
544
|
+
export declare const NpmOptions: import("valibot").ObjectSchema<{
|
|
545
|
+
/**
|
|
546
|
+
* The npm package name to load.
|
|
547
|
+
* @example 'lodash'
|
|
548
|
+
*/
|
|
549
|
+
readonly packageName: import("valibot").StringSchema<undefined>;
|
|
550
|
+
/**
|
|
551
|
+
* The specific file path within the package to load.
|
|
552
|
+
* @example '/dist/lodash.min.js'
|
|
553
|
+
*/
|
|
554
|
+
readonly file: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
555
|
+
/**
|
|
556
|
+
* The package version to load.
|
|
557
|
+
* @default 'latest'
|
|
558
|
+
*/
|
|
559
|
+
readonly version: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
560
|
+
/**
|
|
561
|
+
* The CDN provider to use for loading the package.
|
|
562
|
+
* @default 'unpkg'
|
|
563
|
+
* @see https://unpkg.com
|
|
564
|
+
* @see https://www.jsdelivr.com
|
|
565
|
+
* @see https://cdnjs.com
|
|
566
|
+
*/
|
|
567
|
+
readonly provider: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"jsdelivr", undefined>, import("valibot").LiteralSchema<"cdnjs", undefined>, import("valibot").LiteralSchema<"unpkg", undefined>], undefined>, undefined>;
|
|
568
|
+
}, undefined>;
|
|
569
|
+
export declare const PayPalOptions: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
|
|
570
|
+
/**
|
|
571
|
+
* Your PayPal client ID.
|
|
572
|
+
* @see https://developer.paypal.com/sdk/js/reference/
|
|
573
|
+
*/
|
|
574
|
+
readonly clientId: import("valibot").StringSchema<undefined>;
|
|
575
|
+
readonly clientToken: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
576
|
+
/**
|
|
577
|
+
* Use the PayPal sandbox environment. Defaults to `true` in development.
|
|
578
|
+
*/
|
|
579
|
+
readonly sandbox: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
580
|
+
}, undefined>, import("valibot").ObjectSchema<{
|
|
581
|
+
readonly clientId: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
582
|
+
/**
|
|
583
|
+
* A server-generated client token for authentication.
|
|
584
|
+
* @see https://docs.paypal.ai/payments/methods/paypal/sdk/js/v6/paypal-checkout
|
|
585
|
+
*/
|
|
586
|
+
readonly clientToken: import("valibot").StringSchema<undefined>;
|
|
587
|
+
/**
|
|
588
|
+
* Use the PayPal sandbox environment. Defaults to `true` in development.
|
|
589
|
+
*/
|
|
590
|
+
readonly sandbox: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
591
|
+
}, undefined>], undefined>;
|
|
592
|
+
export declare const PostHogOptions: import("valibot").ObjectSchema<{
|
|
593
|
+
/**
|
|
594
|
+
* Your PostHog project API key.
|
|
595
|
+
* @see https://posthog.com/docs/libraries/js#usage
|
|
596
|
+
*/
|
|
597
|
+
readonly apiKey: import("valibot").StringSchema<undefined>;
|
|
598
|
+
/**
|
|
599
|
+
* Your PostHog data region.
|
|
600
|
+
* @default 'us'
|
|
601
|
+
* @see https://posthog.com/docs/libraries/js#config
|
|
602
|
+
*/
|
|
603
|
+
readonly region: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"us", undefined>, import("valibot").LiteralSchema<"eu", undefined>], undefined>, undefined>;
|
|
604
|
+
/**
|
|
605
|
+
* Custom API host URL. Overrides the default derived from `region`.
|
|
606
|
+
* Useful for self-hosted instances or reverse proxies.
|
|
607
|
+
*/
|
|
608
|
+
readonly apiHost: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
609
|
+
/**
|
|
610
|
+
* Enable autocapture of clicks, form submissions, and page views.
|
|
611
|
+
* @default true
|
|
612
|
+
*/
|
|
613
|
+
readonly autocapture: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
614
|
+
/**
|
|
615
|
+
* Capture page views automatically. Set to `'history_change'` to only capture on history changes.
|
|
616
|
+
* @default true
|
|
617
|
+
*/
|
|
618
|
+
readonly capturePageview: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").BooleanSchema<undefined>, import("valibot").LiteralSchema<"history_change", undefined>], undefined>, undefined>;
|
|
619
|
+
/**
|
|
620
|
+
* Capture page leave events automatically.
|
|
621
|
+
* @default true
|
|
622
|
+
*/
|
|
623
|
+
readonly capturePageleave: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
624
|
+
/**
|
|
625
|
+
* Disable session recording.
|
|
626
|
+
*/
|
|
627
|
+
readonly disableSessionRecording: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
628
|
+
/**
|
|
629
|
+
* Additional PostHog configuration options passed directly to `posthog.init()`.
|
|
630
|
+
* @see https://posthog.com/docs/libraries/js#config
|
|
631
|
+
*/
|
|
632
|
+
readonly config: import("valibot").OptionalSchema<import("valibot").RecordSchema<import("valibot").StringSchema<undefined>, import("valibot").AnySchema, undefined>, undefined>;
|
|
633
|
+
}, undefined>;
|
|
634
|
+
export declare const RedditPixelOptions: import("valibot").ObjectSchema<{
|
|
635
|
+
/**
|
|
636
|
+
* Your Reddit Pixel advertiser ID.
|
|
637
|
+
* @see https://reddithelp.com/en/categories/advertising/managing-ads/installing-reddit-pixel
|
|
638
|
+
*/
|
|
639
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
640
|
+
}, undefined>;
|
|
641
|
+
export declare const RybbitAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
642
|
+
/**
|
|
643
|
+
* Your Rybbit site ID.
|
|
644
|
+
* @see https://rybbit.io/docs
|
|
645
|
+
*/
|
|
646
|
+
readonly siteId: import("valibot").UnionSchema<[import("valibot").StringSchema<undefined>, import("valibot").NumberSchema<undefined>], undefined>;
|
|
647
|
+
/**
|
|
648
|
+
* Automatically track page views.
|
|
649
|
+
* @default true
|
|
650
|
+
*/
|
|
651
|
+
readonly autoTrackPageview: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
652
|
+
/**
|
|
653
|
+
* Enable SPA (single-page app) route tracking.
|
|
654
|
+
* @default true
|
|
655
|
+
*/
|
|
656
|
+
readonly trackSpa: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
657
|
+
/**
|
|
658
|
+
* Include query parameters in tracked URLs.
|
|
659
|
+
*/
|
|
660
|
+
readonly trackQuery: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
661
|
+
/**
|
|
662
|
+
* Track outbound link clicks.
|
|
663
|
+
*/
|
|
664
|
+
readonly trackOutbound: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
665
|
+
/**
|
|
666
|
+
* Track JavaScript errors.
|
|
667
|
+
*/
|
|
668
|
+
readonly trackErrors: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
669
|
+
/**
|
|
670
|
+
* Enable session replay recording.
|
|
671
|
+
*/
|
|
672
|
+
readonly sessionReplay: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
673
|
+
/**
|
|
674
|
+
* Enable Web Vitals tracking (LCP, FID, CLS, etc.).
|
|
675
|
+
*/
|
|
676
|
+
readonly webVitals: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
677
|
+
/**
|
|
678
|
+
* URL patterns to skip from tracking (glob syntax).
|
|
679
|
+
*/
|
|
680
|
+
readonly skipPatterns: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
681
|
+
/**
|
|
682
|
+
* URL patterns to mask in tracked data (glob syntax).
|
|
683
|
+
*/
|
|
684
|
+
readonly maskPatterns: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
685
|
+
/**
|
|
686
|
+
* Debounce interval (in ms) for page view tracking.
|
|
687
|
+
*/
|
|
688
|
+
readonly debounce: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
689
|
+
/**
|
|
690
|
+
* API key for authenticated tracking.
|
|
691
|
+
*/
|
|
692
|
+
readonly apiKey: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
693
|
+
/**
|
|
694
|
+
* Override the analytics host URL. When first-party mode is enabled, this is
|
|
695
|
+
* auto-injected to route through the proxy. The SDK derives its API endpoint
|
|
696
|
+
* from the script src, so this changes the script src to `${analyticsHost}/script.js`.
|
|
697
|
+
*/
|
|
698
|
+
readonly analyticsHost: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
699
|
+
}, undefined>;
|
|
700
|
+
export declare const MixpanelAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
701
|
+
/**
|
|
702
|
+
* Your Mixpanel project token.
|
|
703
|
+
* @see https://docs.mixpanel.com/docs/tracking-methods/sdks/javascript#1-initialize-the-library
|
|
704
|
+
*/
|
|
705
|
+
readonly token: import("valibot").StringSchema<undefined>;
|
|
706
|
+
}, undefined>;
|
|
707
|
+
export declare const BingUetOptions: import("valibot").ObjectSchema<{
|
|
708
|
+
/**
|
|
709
|
+
* Your Bing UET tag ID.
|
|
710
|
+
* @see https://help.ads.microsoft.com/#apex/ads/en/56682/2-500
|
|
711
|
+
*/
|
|
712
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
713
|
+
/**
|
|
714
|
+
* Enable automatic SPA page tracking.
|
|
715
|
+
* @default true
|
|
716
|
+
*/
|
|
717
|
+
readonly enableAutoSpaTracking: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
718
|
+
}, undefined>;
|
|
719
|
+
export declare const SegmentOptions: import("valibot").ObjectSchema<{
|
|
720
|
+
/**
|
|
721
|
+
* Your Segment write key.
|
|
722
|
+
* @see https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/quickstart/
|
|
723
|
+
*/
|
|
724
|
+
readonly writeKey: import("valibot").StringSchema<undefined>;
|
|
725
|
+
/**
|
|
726
|
+
* The global variable name for the analytics instance.
|
|
727
|
+
* @default 'analytics'
|
|
728
|
+
*/
|
|
729
|
+
readonly analyticsKey: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
730
|
+
}, undefined>;
|
|
731
|
+
export declare const InitObjectPropertiesSchema: import("valibot").ObjectSchema<{
|
|
732
|
+
/**
|
|
733
|
+
* The user's email address (for matching).
|
|
734
|
+
*/
|
|
735
|
+
readonly user_email: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
736
|
+
/**
|
|
737
|
+
* The user's IP address.
|
|
738
|
+
*/
|
|
739
|
+
readonly ip_address: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
740
|
+
/**
|
|
741
|
+
* The user's phone number (for matching).
|
|
742
|
+
*/
|
|
743
|
+
readonly user_phone_number: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
744
|
+
/**
|
|
745
|
+
* SHA-256 hashed email address.
|
|
746
|
+
*/
|
|
747
|
+
readonly user_hashed_email: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
748
|
+
/**
|
|
749
|
+
* SHA-256 hashed phone number.
|
|
750
|
+
*/
|
|
751
|
+
readonly user_hashed_phone_number: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
752
|
+
/**
|
|
753
|
+
* The user's first name.
|
|
754
|
+
*/
|
|
755
|
+
readonly firstname: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
756
|
+
/**
|
|
757
|
+
* The user's last name.
|
|
758
|
+
*/
|
|
759
|
+
readonly lastname: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
760
|
+
/**
|
|
761
|
+
* The user's city.
|
|
762
|
+
*/
|
|
763
|
+
readonly geo_city: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
764
|
+
/**
|
|
765
|
+
* The user's region/state.
|
|
766
|
+
*/
|
|
767
|
+
readonly geo_region: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
768
|
+
/**
|
|
769
|
+
* The user's postal/zip code.
|
|
770
|
+
*/
|
|
771
|
+
readonly geo_postal_code: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
772
|
+
/**
|
|
773
|
+
* The user's country code.
|
|
774
|
+
*/
|
|
775
|
+
readonly geo_country: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
776
|
+
/**
|
|
777
|
+
* The user's age.
|
|
778
|
+
*/
|
|
779
|
+
readonly age: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
780
|
+
}, undefined>;
|
|
781
|
+
export declare const SnapTrPixelOptions: import("valibot").ObjectSchema<{
|
|
782
|
+
/**
|
|
783
|
+
* The user's email address (for matching).
|
|
784
|
+
*/
|
|
785
|
+
readonly user_email: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
786
|
+
/**
|
|
787
|
+
* The user's IP address.
|
|
788
|
+
*/
|
|
789
|
+
readonly ip_address: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
790
|
+
/**
|
|
791
|
+
* The user's phone number (for matching).
|
|
792
|
+
*/
|
|
793
|
+
readonly user_phone_number: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
794
|
+
/**
|
|
795
|
+
* SHA-256 hashed email address.
|
|
796
|
+
*/
|
|
797
|
+
readonly user_hashed_email: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
798
|
+
/**
|
|
799
|
+
* SHA-256 hashed phone number.
|
|
800
|
+
*/
|
|
801
|
+
readonly user_hashed_phone_number: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
802
|
+
/**
|
|
803
|
+
* The user's first name.
|
|
804
|
+
*/
|
|
805
|
+
readonly firstname: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
806
|
+
/**
|
|
807
|
+
* The user's last name.
|
|
808
|
+
*/
|
|
809
|
+
readonly lastname: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
810
|
+
/**
|
|
811
|
+
* The user's city.
|
|
812
|
+
*/
|
|
813
|
+
readonly geo_city: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
814
|
+
/**
|
|
815
|
+
* The user's region/state.
|
|
816
|
+
*/
|
|
817
|
+
readonly geo_region: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
818
|
+
/**
|
|
819
|
+
* The user's postal/zip code.
|
|
820
|
+
*/
|
|
821
|
+
readonly geo_postal_code: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
822
|
+
/**
|
|
823
|
+
* The user's country code.
|
|
824
|
+
*/
|
|
825
|
+
readonly geo_country: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
826
|
+
/**
|
|
827
|
+
* The user's age.
|
|
828
|
+
*/
|
|
829
|
+
readonly age: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
830
|
+
/**
|
|
831
|
+
* Your Snapchat Pixel ID.
|
|
832
|
+
* @see https://businesshelp.snapchat.com/s/article/pixel-website-install
|
|
833
|
+
*/
|
|
834
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
835
|
+
/**
|
|
836
|
+
* Whether to automatically track a `PAGE_VIEW` event on initialization.
|
|
837
|
+
*/
|
|
838
|
+
readonly trackPageView: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
839
|
+
}, undefined>;
|
|
840
|
+
export declare const StripeOptions: import("valibot").ObjectSchema<{
|
|
841
|
+
/**
|
|
842
|
+
* Whether to load Stripe's advanced fraud detection signals.
|
|
843
|
+
* Set to `false` to opt out.
|
|
844
|
+
* @default true
|
|
845
|
+
* @see https://docs.stripe.com/disputes/prevention/advanced-fraud-detection
|
|
846
|
+
*/
|
|
847
|
+
readonly advancedFraudSignals: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
848
|
+
}, undefined>;
|
|
849
|
+
export declare const TikTokPixelOptions: import("valibot").ObjectSchema<{
|
|
850
|
+
/**
|
|
851
|
+
* Your TikTok Pixel ID.
|
|
852
|
+
* @see https://ads.tiktok.com/help/article/get-started-pixel
|
|
853
|
+
*/
|
|
854
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
855
|
+
/**
|
|
856
|
+
* Whether to automatically track a page view on initialization.
|
|
857
|
+
* @default true
|
|
858
|
+
*/
|
|
859
|
+
readonly trackPageView: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
860
|
+
}, undefined>;
|
|
861
|
+
export declare const UmamiAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
862
|
+
/**
|
|
863
|
+
* Your Umami website ID.
|
|
864
|
+
* @see https://umami.is/docs/tracker-config
|
|
865
|
+
*/
|
|
866
|
+
readonly websiteId: import("valibot").StringSchema<undefined>;
|
|
867
|
+
/**
|
|
868
|
+
* By default, Umami will send data to wherever the script is located.
|
|
869
|
+
* You can override this to send data to another location.
|
|
870
|
+
* @see https://umami.is/docs/tracker-config#data-host-url
|
|
871
|
+
*/
|
|
872
|
+
readonly hostUrl: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
873
|
+
/**
|
|
874
|
+
* By default, Umami tracks all pageviews and events for you automatically.
|
|
875
|
+
* You can disable this behavior and track events yourself using the tracker functions.
|
|
876
|
+
* @default true
|
|
877
|
+
* @see https://umami.is/docs/tracker-functions
|
|
878
|
+
*/
|
|
879
|
+
readonly autoTrack: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
880
|
+
/**
|
|
881
|
+
* If you want the tracker to only run on specific domains, you can add them to your tracker script.
|
|
882
|
+
* This is a comma delimited list of domain names.
|
|
883
|
+
* Helps if you are working in a staging/development environment.
|
|
884
|
+
* @see https://umami.is/docs/tracker-config#data-domains
|
|
885
|
+
*/
|
|
886
|
+
readonly domains: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
887
|
+
/**
|
|
888
|
+
* If you want the tracker to collect events under a specific tag.
|
|
889
|
+
* Events can be filtered in the dashboard by a specific tag.
|
|
890
|
+
* @see https://umami.is/docs/tracker-config#data-tag
|
|
891
|
+
*/
|
|
892
|
+
readonly tag: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
893
|
+
/**
|
|
894
|
+
* Function that will be called before data is sent to Umami.
|
|
895
|
+
* The function takes two parameters: type and payload.
|
|
896
|
+
* Return the payload to continue sending, or return a falsy value to cancel.
|
|
897
|
+
* @see https://umami.is/docs/tracker-config#data-before-send
|
|
898
|
+
*/
|
|
899
|
+
readonly beforeSend: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").CustomSchema<(type: string, payload: Record<string, any>) => Record<string, any> | null | false, undefined>, import("valibot").StringSchema<undefined>], undefined>, undefined>;
|
|
900
|
+
}, undefined>;
|
|
901
|
+
export declare const XEmbedOptions: import("valibot").ObjectSchema<{
|
|
902
|
+
/**
|
|
903
|
+
* The tweet ID to embed.
|
|
904
|
+
* @example '1754336034228171055'
|
|
905
|
+
* @see https://developer.x.com/en/docs/twitter-for-websites/embedded-tweets/overview
|
|
906
|
+
*/
|
|
907
|
+
readonly tweetId: import("valibot").StringSchema<undefined>;
|
|
908
|
+
/**
|
|
909
|
+
* Optional: Custom API endpoint for fetching tweet data.
|
|
910
|
+
* @default '/_scripts/embed/x'
|
|
911
|
+
*/
|
|
912
|
+
readonly apiEndpoint: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
913
|
+
/**
|
|
914
|
+
* Optional: Custom image proxy endpoint.
|
|
915
|
+
* @default '/_scripts/embed/x-image'
|
|
916
|
+
*/
|
|
917
|
+
readonly imageProxyEndpoint: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
918
|
+
}, undefined>;
|
|
919
|
+
export declare const VercelAnalyticsOptions: import("valibot").ObjectSchema<{
|
|
920
|
+
/**
|
|
921
|
+
* The DSN of the project to send events to.
|
|
922
|
+
* Only required when self-hosting or deploying outside of Vercel.
|
|
923
|
+
*/
|
|
924
|
+
readonly dsn: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
925
|
+
/**
|
|
926
|
+
* Whether to disable automatic page view tracking on route changes.
|
|
927
|
+
* Set to true if you want to manually call pageview().
|
|
928
|
+
*/
|
|
929
|
+
readonly disableAutoTrack: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
930
|
+
/**
|
|
931
|
+
* The mode to use for the analytics script.
|
|
932
|
+
* - `auto` - Automatically detect the environment (default)
|
|
933
|
+
* - `production` - Always use production script
|
|
934
|
+
* - `development` - Always use development script (logs to console)
|
|
935
|
+
*/
|
|
936
|
+
readonly mode: import("valibot").OptionalSchema<import("valibot").UnionSchema<[import("valibot").LiteralSchema<"auto", undefined>, import("valibot").LiteralSchema<"development", undefined>, import("valibot").LiteralSchema<"production", undefined>], undefined>, undefined>;
|
|
937
|
+
/**
|
|
938
|
+
* Whether to enable debug logging.
|
|
939
|
+
* Automatically enabled in development/test environments.
|
|
940
|
+
*/
|
|
941
|
+
readonly debug: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
942
|
+
/**
|
|
943
|
+
* Custom endpoint for data collection.
|
|
944
|
+
* Useful for self-hosted or proxied setups.
|
|
945
|
+
*/
|
|
946
|
+
readonly endpoint: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
947
|
+
}, undefined>;
|
|
948
|
+
export declare const XPixelOptions: import("valibot").ObjectSchema<{
|
|
949
|
+
/**
|
|
950
|
+
* Your X (Twitter) Pixel ID.
|
|
951
|
+
* @see https://business.twitter.com/en/help/campaign-measurement-and-analytics/conversion-tracking-for-websites.html
|
|
952
|
+
*/
|
|
953
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
954
|
+
/**
|
|
955
|
+
* The X Pixel script version.
|
|
956
|
+
* @default '1.1'
|
|
957
|
+
*/
|
|
958
|
+
readonly version: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
959
|
+
}, undefined>;
|
|
960
|
+
export declare const GravatarOptions: import("valibot").ObjectSchema<{
|
|
961
|
+
/**
|
|
962
|
+
* Cache duration for proxied avatar images in seconds.
|
|
963
|
+
* @default 3600
|
|
964
|
+
*/
|
|
965
|
+
readonly cacheMaxAge: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
966
|
+
/**
|
|
967
|
+
* Default image to show when no Gravatar exists.
|
|
968
|
+
* @see https://docs.gravatar.com/general/images/#default-image
|
|
969
|
+
* @default 'mp'
|
|
970
|
+
*/
|
|
971
|
+
readonly default: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
972
|
+
/**
|
|
973
|
+
* Avatar size in pixels (1-2048).
|
|
974
|
+
* @default 80
|
|
975
|
+
*/
|
|
976
|
+
readonly size: import("valibot").OptionalSchema<import("valibot").NumberSchema<undefined>, undefined>;
|
|
977
|
+
/**
|
|
978
|
+
* Content rating filter.
|
|
979
|
+
* @default 'g'
|
|
980
|
+
*/
|
|
981
|
+
readonly rating: import("valibot").OptionalSchema<import("valibot").StringSchema<undefined>, undefined>;
|
|
982
|
+
}, undefined>;
|