@nuxt/scripts 1.0.0-beta.13 → 1.0.0-beta.15
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/dist/client/200.html +1 -1
- package/dist/client/404.html +1 -1
- package/dist/client/_nuxt/{48AF9EJD.js → C4LyqEA2.js} +1 -1
- package/dist/client/_nuxt/{DP0kj6Xn.js → C4oLgKn5.js} +1 -1
- package/dist/client/_nuxt/{C4Cj8gBr.js → CAywURt7.js} +4 -4
- package/dist/client/_nuxt/{Bk6ed9rg.js → CSWa0Nc-.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/0f5f1d62-f186-4aef-a618-dcef5ec637c1.json +1 -0
- package/dist/client/index.html +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -2
- package/dist/registry.mjs +13 -0
- package/dist/runtime/components/ScriptVimeoPlayer.d.vue.ts +9 -0
- package/dist/runtime/components/ScriptVimeoPlayer.vue +12 -9
- package/dist/runtime/components/ScriptVimeoPlayer.vue.d.ts +9 -0
- package/dist/runtime/components/ScriptYouTubePlayer.d.vue.ts +2 -2
- package/dist/runtime/components/ScriptYouTubePlayer.vue +2 -0
- package/dist/runtime/components/ScriptYouTubePlayer.vue.d.ts +2 -2
- package/dist/runtime/registry/npm.d.ts +1 -1
- package/dist/runtime/registry/npm.js +1 -3
- package/dist/types-source.d.mts +375 -0
- package/dist/types-source.d.ts +375 -0
- package/dist/types-source.mjs +1199 -0
- package/package.json +10 -5
- package/dist/client/_nuxt/builds/meta/0e95b1cc-8751-4000-8cb4-a6ef270b636f.json +0 -1
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import * as valibot from 'valibot';
|
|
2
|
+
|
|
3
|
+
declare const ClarityOptions: valibot.ObjectSchema<{
|
|
4
|
+
/**
|
|
5
|
+
* The Clarity token.
|
|
6
|
+
*/
|
|
7
|
+
readonly id: valibot.SchemaWithPipe<readonly [valibot.StringSchema<undefined>, valibot.MinLengthAction<string, 10, undefined>]>;
|
|
8
|
+
}, undefined>;
|
|
9
|
+
declare const CloudflareWebAnalyticsOptions: valibot.ObjectSchema<{
|
|
10
|
+
/**
|
|
11
|
+
* The Cloudflare Web Analytics token.
|
|
12
|
+
*/
|
|
13
|
+
readonly token: valibot.SchemaWithPipe<readonly [valibot.StringSchema<undefined>, valibot.MinLengthAction<string, 32, undefined>]>;
|
|
14
|
+
/**
|
|
15
|
+
* Cloudflare Web Analytics enables measuring SPAs automatically by overriding the History API’s pushState function
|
|
16
|
+
* and listening to the onpopstate. Hash-based router is not supported.
|
|
17
|
+
*
|
|
18
|
+
* @default true
|
|
19
|
+
*/
|
|
20
|
+
readonly spa: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
declare const CrispOptions: valibot.ObjectSchema<{
|
|
23
|
+
/**
|
|
24
|
+
* The Crisp ID.
|
|
25
|
+
*/
|
|
26
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* Extra configuration options. Used to configure the locale.
|
|
29
|
+
* Same as CRISP_RUNTIME_CONFIG.
|
|
30
|
+
* @see https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/language-customization/
|
|
31
|
+
*/
|
|
32
|
+
readonly runtimeConfig: valibot.OptionalSchema<valibot.ObjectSchema<{
|
|
33
|
+
readonly locale: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
34
|
+
}, undefined>, undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Associated a session, equivalent to using CRISP_TOKEN_ID variable.
|
|
37
|
+
* Same as CRISP_TOKEN_ID.
|
|
38
|
+
* @see https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/session-continuity/
|
|
39
|
+
*/
|
|
40
|
+
readonly tokenId: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Restrict the domain that the Crisp cookie is set on.
|
|
43
|
+
* Same as CRISP_COOKIE_DOMAIN.
|
|
44
|
+
* @see https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/cookie-policies/
|
|
45
|
+
*/
|
|
46
|
+
readonly cookieDomain: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* The cookie expiry in seconds.
|
|
49
|
+
* Same as CRISP_COOKIE_EXPIRATION.
|
|
50
|
+
* @see https://docs.crisp.chat/guides/chatbox-sdks/web-sdk/cookie-policies/#change-cookie-expiration-date
|
|
51
|
+
*/
|
|
52
|
+
readonly cookieExpiry: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
53
|
+
}, undefined>;
|
|
54
|
+
declare const DatabuddyAnalyticsOptions: valibot.ObjectSchema<{
|
|
55
|
+
readonly clientId: valibot.StringSchema<undefined>;
|
|
56
|
+
readonly scriptUrl: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
57
|
+
readonly apiUrl: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
58
|
+
readonly disabled: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
59
|
+
readonly trackScreenViews: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
60
|
+
readonly trackPerformance: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
61
|
+
readonly trackSessions: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
62
|
+
readonly trackWebVitals: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
63
|
+
readonly trackErrors: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
64
|
+
readonly trackOutgoingLinks: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
65
|
+
readonly trackScrollDepth: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
66
|
+
readonly trackEngagement: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
67
|
+
readonly trackInteractions: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
68
|
+
readonly trackAttributes: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
69
|
+
readonly trackHashChanges: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
70
|
+
readonly trackExitIntent: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
71
|
+
readonly trackBounceRate: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
72
|
+
readonly enableBatching: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
73
|
+
readonly batchSize: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
74
|
+
readonly batchTimeout: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
75
|
+
readonly enableRetries: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
76
|
+
readonly maxRetries: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
77
|
+
readonly initialRetryDelay: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
78
|
+
readonly samplingRate: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
79
|
+
readonly sdk: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
80
|
+
readonly sdkVersion: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
81
|
+
readonly enableObservability: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
82
|
+
readonly observabilityService: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
83
|
+
readonly observabilityEnvironment: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
84
|
+
readonly observabilityVersion: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
85
|
+
readonly enableLogging: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
86
|
+
readonly enableTracing: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
87
|
+
readonly enableErrorTracking: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
88
|
+
}, undefined>;
|
|
89
|
+
declare const FathomAnalyticsOptions: valibot.ObjectSchema<{
|
|
90
|
+
/**
|
|
91
|
+
* The Fathom Analytics site ID.
|
|
92
|
+
*/
|
|
93
|
+
readonly site: valibot.StringSchema<undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* The Fathom Analytics tracking mode.
|
|
96
|
+
*/
|
|
97
|
+
readonly spa: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"auto", undefined>, valibot.LiteralSchema<"history", undefined>, valibot.LiteralSchema<"hash", undefined>], undefined>, undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Automatically track page views.
|
|
100
|
+
*/
|
|
101
|
+
readonly auto: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* Enable canonical URL tracking.
|
|
104
|
+
*/
|
|
105
|
+
readonly canonical: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* Honor Do Not Track requests.
|
|
108
|
+
*/
|
|
109
|
+
readonly honorDnt: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
110
|
+
}, undefined>;
|
|
111
|
+
declare const GoogleAdsenseOptions: valibot.ObjectSchema<{
|
|
112
|
+
/**
|
|
113
|
+
* The Google Adsense ID.
|
|
114
|
+
*/
|
|
115
|
+
readonly client: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* Enable or disable Auto Ads.
|
|
118
|
+
*/
|
|
119
|
+
readonly autoAds: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
120
|
+
}, undefined>;
|
|
121
|
+
declare const GoogleAnalyticsOptions: valibot.ObjectSchema<{
|
|
122
|
+
readonly id: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
123
|
+
readonly l: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
124
|
+
}, undefined>;
|
|
125
|
+
declare const GoogleMapsOptions: valibot.ObjectSchema<{
|
|
126
|
+
readonly apiKey: valibot.StringSchema<undefined>;
|
|
127
|
+
readonly libraries: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, undefined>;
|
|
128
|
+
readonly language: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
129
|
+
readonly region: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
130
|
+
readonly v: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"weekly", undefined>, valibot.LiteralSchema<"quarterly", undefined>, valibot.LiteralSchema<"beta", undefined>, valibot.LiteralSchema<"alpha", undefined>, valibot.StringSchema<undefined>], undefined>, undefined>;
|
|
131
|
+
}, undefined>;
|
|
132
|
+
declare const GoogleRecaptchaOptions: valibot.ObjectSchema<{
|
|
133
|
+
readonly siteKey: valibot.StringSchema<undefined>;
|
|
134
|
+
readonly enterprise: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
135
|
+
readonly recaptchaNet: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
136
|
+
readonly hl: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
137
|
+
}, undefined>;
|
|
138
|
+
declare const GoogleSignInOptions: valibot.ObjectSchema<{
|
|
139
|
+
readonly clientId: valibot.StringSchema<undefined>;
|
|
140
|
+
readonly autoSelect: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
141
|
+
readonly context: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"signin", undefined>, valibot.LiteralSchema<"signup", undefined>, valibot.LiteralSchema<"use", undefined>], undefined>, undefined>;
|
|
142
|
+
readonly useFedcmForPrompt: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
143
|
+
readonly cancelOnTapOutside: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
144
|
+
readonly uxMode: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"popup", undefined>, valibot.LiteralSchema<"redirect", undefined>], undefined>, undefined>;
|
|
145
|
+
readonly loginUri: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
146
|
+
readonly itpSupport: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
147
|
+
readonly allowedParentOrigin: valibot.OptionalSchema<valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>], undefined>, undefined>;
|
|
148
|
+
readonly hd: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
149
|
+
}, undefined>;
|
|
150
|
+
declare const GoogleTagManagerOptions: valibot.ObjectSchema<{
|
|
151
|
+
/** GTM container ID (format: GTM-XXXXXX) */
|
|
152
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
153
|
+
/** Optional dataLayer variable name */
|
|
154
|
+
readonly l: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
155
|
+
/** Authentication token for environment-specific container versions */
|
|
156
|
+
readonly auth: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
157
|
+
/** Preview environment name */
|
|
158
|
+
readonly preview: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
159
|
+
/** Forces GTM cookies to take precedence when true */
|
|
160
|
+
readonly cookiesWin: valibot.OptionalSchema<valibot.UnionSchema<[valibot.BooleanSchema<undefined>, valibot.LiteralSchema<"x", undefined>], undefined>, undefined>;
|
|
161
|
+
/** Enables debug mode when true */
|
|
162
|
+
readonly debug: valibot.OptionalSchema<valibot.UnionSchema<[valibot.BooleanSchema<undefined>, valibot.LiteralSchema<"x", undefined>], undefined>, undefined>;
|
|
163
|
+
/** No Personal Advertising - disables advertising features when true */
|
|
164
|
+
readonly npa: valibot.OptionalSchema<valibot.UnionSchema<[valibot.BooleanSchema<undefined>, valibot.LiteralSchema<"1", undefined>], undefined>, undefined>;
|
|
165
|
+
/** Custom dataLayer name (alternative to "l" property) */
|
|
166
|
+
readonly dataLayer: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
167
|
+
/** Environment name for environment-specific container */
|
|
168
|
+
readonly envName: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
169
|
+
/** Referrer policy for analytics requests */
|
|
170
|
+
readonly authReferrerPolicy: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
171
|
+
/** Default consent settings for GTM */
|
|
172
|
+
readonly defaultConsent: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
173
|
+
}, undefined>;
|
|
174
|
+
declare const HotjarOptions: valibot.ObjectSchema<{
|
|
175
|
+
readonly id: valibot.NumberSchema<undefined>;
|
|
176
|
+
readonly sv: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
177
|
+
}, undefined>;
|
|
178
|
+
declare const InstagramEmbedOptions: valibot.ObjectSchema<{
|
|
179
|
+
/**
|
|
180
|
+
* The Instagram post URL to embed
|
|
181
|
+
* e.g., https://www.instagram.com/p/ABC123/
|
|
182
|
+
*/
|
|
183
|
+
readonly postUrl: valibot.StringSchema<undefined>;
|
|
184
|
+
/**
|
|
185
|
+
* Whether to include captions in the embed
|
|
186
|
+
* @default true
|
|
187
|
+
*/
|
|
188
|
+
readonly captions: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
189
|
+
/**
|
|
190
|
+
* Custom API endpoint for fetching embed HTML
|
|
191
|
+
* @default '/api/_scripts/instagram-embed'
|
|
192
|
+
*/
|
|
193
|
+
readonly apiEndpoint: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
194
|
+
}, undefined>;
|
|
195
|
+
declare const IntercomOptions: valibot.ObjectSchema<{
|
|
196
|
+
readonly app_id: valibot.StringSchema<undefined>;
|
|
197
|
+
readonly api_base: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"https://api-iam.intercom.io", undefined>, valibot.LiteralSchema<"https://api-iam.eu.intercom.io", undefined>, valibot.LiteralSchema<"https://api-iam.au.intercom.io", undefined>], undefined>, undefined>;
|
|
198
|
+
readonly name: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
199
|
+
readonly email: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
200
|
+
readonly user_id: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
201
|
+
readonly alignment: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"left", undefined>, valibot.LiteralSchema<"right", undefined>], undefined>, undefined>;
|
|
202
|
+
readonly horizontal_padding: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
203
|
+
readonly vertical_padding: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
204
|
+
}, undefined>;
|
|
205
|
+
declare const MatomoAnalyticsOptions: valibot.ObjectSchema<{
|
|
206
|
+
readonly matomoUrl: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
207
|
+
readonly siteId: valibot.OptionalSchema<valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.NumberSchema<undefined>], undefined>, undefined>;
|
|
208
|
+
readonly cloudId: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
209
|
+
readonly trackerUrl: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
210
|
+
readonly trackPageView: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
211
|
+
readonly enableLinkTracking: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
212
|
+
readonly disableCookies: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
213
|
+
readonly watch: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
214
|
+
}, undefined>;
|
|
215
|
+
declare const MetaPixelOptions: valibot.ObjectSchema<{
|
|
216
|
+
readonly id: valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.NumberSchema<undefined>], undefined>;
|
|
217
|
+
}, undefined>;
|
|
218
|
+
declare const NpmOptions: valibot.ObjectSchema<{
|
|
219
|
+
readonly packageName: valibot.StringSchema<undefined>;
|
|
220
|
+
readonly file: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
221
|
+
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
222
|
+
readonly provider: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"jsdelivr", undefined>, valibot.LiteralSchema<"cdnjs", undefined>, valibot.LiteralSchema<"unpkg", undefined>], undefined>, undefined>;
|
|
223
|
+
}, undefined>;
|
|
224
|
+
declare const PayPalOptions: valibot.ObjectSchema<{
|
|
225
|
+
readonly clientId: valibot.StringSchema<undefined>;
|
|
226
|
+
readonly buyerCountry: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
227
|
+
readonly commit: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
228
|
+
readonly components: valibot.OptionalSchema<valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>], undefined>, undefined>;
|
|
229
|
+
readonly currency: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
230
|
+
readonly debug: valibot.OptionalSchema<valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.BooleanSchema<undefined>], undefined>, undefined>;
|
|
231
|
+
readonly disableFunding: valibot.OptionalSchema<valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>], undefined>, undefined>;
|
|
232
|
+
readonly enableFunding: valibot.OptionalSchema<valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>], undefined>, undefined>;
|
|
233
|
+
readonly integrationDate: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
234
|
+
readonly intent: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
235
|
+
readonly locale: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
236
|
+
/**
|
|
237
|
+
* loadScript() supports an array for merchantId, even though
|
|
238
|
+
* merchant-id technically may not contain multiple values.
|
|
239
|
+
* For an array with a length of > 1 it automatically sets
|
|
240
|
+
* merchantId to "*" and moves the actual values to dataMerchantId
|
|
241
|
+
*/
|
|
242
|
+
readonly merchantId: valibot.OptionalSchema<valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>], undefined>, undefined>;
|
|
243
|
+
readonly partnerAttributionId: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
244
|
+
readonly vault: valibot.OptionalSchema<valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.BooleanSchema<undefined>], undefined>, undefined>;
|
|
245
|
+
readonly sandbox: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
246
|
+
}, undefined>;
|
|
247
|
+
declare const PostHogOptions: valibot.ObjectSchema<{
|
|
248
|
+
readonly apiKey: valibot.StringSchema<undefined>;
|
|
249
|
+
readonly region: valibot.OptionalSchema<valibot.UnionSchema<[valibot.LiteralSchema<"us", undefined>, valibot.LiteralSchema<"eu", undefined>], undefined>, undefined>;
|
|
250
|
+
readonly apiHost: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
251
|
+
readonly autocapture: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
252
|
+
readonly capturePageview: valibot.OptionalSchema<valibot.UnionSchema<[valibot.BooleanSchema<undefined>, valibot.LiteralSchema<"history_change", undefined>], undefined>, undefined>;
|
|
253
|
+
readonly capturePageleave: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
254
|
+
readonly disableSessionRecording: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
255
|
+
readonly config: valibot.OptionalSchema<valibot.RecordSchema<valibot.StringSchema<undefined>, valibot.AnySchema, undefined>, undefined>;
|
|
256
|
+
}, undefined>;
|
|
257
|
+
declare const RedditPixelOptions: valibot.ObjectSchema<{
|
|
258
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
259
|
+
}, undefined>;
|
|
260
|
+
declare const RybbitAnalyticsOptions: valibot.ObjectSchema<{
|
|
261
|
+
readonly siteId: valibot.UnionSchema<[valibot.StringSchema<undefined>, valibot.NumberSchema<undefined>], undefined>;
|
|
262
|
+
readonly autoTrackPageview: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
263
|
+
readonly trackSpa: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
264
|
+
readonly trackQuery: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
265
|
+
readonly trackOutbound: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
266
|
+
readonly trackErrors: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
267
|
+
readonly sessionReplay: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
268
|
+
readonly webVitals: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
269
|
+
readonly skipPatterns: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, undefined>;
|
|
270
|
+
readonly maskPatterns: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, undefined>;
|
|
271
|
+
readonly debounce: valibot.OptionalSchema<valibot.NumberSchema<undefined>, undefined>;
|
|
272
|
+
readonly apiKey: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
273
|
+
}, undefined>;
|
|
274
|
+
declare const SegmentOptions: valibot.ObjectSchema<{
|
|
275
|
+
readonly writeKey: valibot.StringSchema<undefined>;
|
|
276
|
+
readonly analyticsKey: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
277
|
+
}, undefined>;
|
|
278
|
+
declare const InitObjectPropertiesSchema: valibot.ObjectSchema<{
|
|
279
|
+
readonly user_email: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
280
|
+
readonly ip_address: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
281
|
+
readonly user_phone_number: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
282
|
+
readonly user_hashed_email: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
283
|
+
readonly user_hashed_phone_number: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
284
|
+
readonly firstname: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
285
|
+
readonly lastname: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
286
|
+
readonly geo_city: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
287
|
+
readonly geo_region: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
288
|
+
readonly geo_postal_code: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
289
|
+
readonly geo_country: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
290
|
+
readonly age: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
291
|
+
}, undefined>;
|
|
292
|
+
declare const SnapTrPixelOptions: valibot.ObjectSchema<{
|
|
293
|
+
readonly user_email: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
294
|
+
readonly ip_address: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
295
|
+
readonly user_phone_number: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
296
|
+
readonly user_hashed_email: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
297
|
+
readonly user_hashed_phone_number: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
298
|
+
readonly firstname: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
299
|
+
readonly lastname: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
300
|
+
readonly geo_city: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
301
|
+
readonly geo_region: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
302
|
+
readonly geo_postal_code: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
303
|
+
readonly geo_country: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
304
|
+
readonly age: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
305
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
306
|
+
readonly trackPageView: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
307
|
+
}, undefined>;
|
|
308
|
+
declare const StripeOptions: valibot.ObjectSchema<{
|
|
309
|
+
readonly advancedFraudSignals: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
310
|
+
}, undefined>;
|
|
311
|
+
declare const TikTokPixelOptions: valibot.ObjectSchema<{
|
|
312
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
313
|
+
readonly trackPageView: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
314
|
+
}, undefined>;
|
|
315
|
+
declare const UmamiAnalyticsOptions: valibot.ObjectSchema<{
|
|
316
|
+
readonly websiteId: valibot.StringSchema<undefined>;
|
|
317
|
+
/**
|
|
318
|
+
* By default, Umami will send data to wherever the script is located.
|
|
319
|
+
* You can override this to send data to another location.
|
|
320
|
+
*/
|
|
321
|
+
readonly hostUrl: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
322
|
+
/**
|
|
323
|
+
* By default, Umami tracks all pageviews and events for you automatically.
|
|
324
|
+
* You can disable this behavior and track events yourself using the tracker functions.
|
|
325
|
+
* https://umami.is/docs/tracker-functions
|
|
326
|
+
*/
|
|
327
|
+
readonly autoTrack: valibot.OptionalSchema<valibot.BooleanSchema<undefined>, undefined>;
|
|
328
|
+
/**
|
|
329
|
+
* If you want the tracker to only run on specific domains, you can add them to your tracker script.
|
|
330
|
+
* This is a comma delimited list of domain names.
|
|
331
|
+
* Helps if you are working in a staging/development environment.
|
|
332
|
+
*/
|
|
333
|
+
readonly domains: valibot.OptionalSchema<valibot.ArraySchema<valibot.StringSchema<undefined>, undefined>, undefined>;
|
|
334
|
+
/**
|
|
335
|
+
* If you want the tracker to collect events under a specific tag.
|
|
336
|
+
* Events can be filtered in the dashboard by a specific tag.
|
|
337
|
+
*/
|
|
338
|
+
readonly tag: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
339
|
+
/**
|
|
340
|
+
* Function that will be called before data is sent to Umami.
|
|
341
|
+
* The function takes two parameters: type and payload.
|
|
342
|
+
* Return the payload to continue sending, or return a falsy value to cancel.
|
|
343
|
+
*/
|
|
344
|
+
readonly beforeSend: valibot.OptionalSchema<valibot.UnionSchema<[valibot.CustomSchema<(type: string, payload: Record<string, any>) => Record<string, any> | null | false, undefined>, valibot.StringSchema<undefined>], undefined>, undefined>;
|
|
345
|
+
}, undefined>;
|
|
346
|
+
declare const XEmbedOptions: valibot.ObjectSchema<{
|
|
347
|
+
/**
|
|
348
|
+
* The tweet ID to embed
|
|
349
|
+
*/
|
|
350
|
+
readonly tweetId: valibot.StringSchema<undefined>;
|
|
351
|
+
/**
|
|
352
|
+
* Optional: Custom API endpoint for fetching tweet data
|
|
353
|
+
* @default '/api/_scripts/x-embed'
|
|
354
|
+
*/
|
|
355
|
+
readonly apiEndpoint: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
356
|
+
/**
|
|
357
|
+
* Optional: Custom image proxy endpoint
|
|
358
|
+
* @default '/api/_scripts/x-embed-image'
|
|
359
|
+
*/
|
|
360
|
+
readonly imageProxyEndpoint: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
361
|
+
}, undefined>;
|
|
362
|
+
declare const XPixelOptions: valibot.ObjectSchema<{
|
|
363
|
+
readonly id: valibot.StringSchema<undefined>;
|
|
364
|
+
readonly version: valibot.OptionalSchema<valibot.StringSchema<undefined>, undefined>;
|
|
365
|
+
}, undefined>;
|
|
366
|
+
|
|
367
|
+
interface ExtractedDeclaration {
|
|
368
|
+
name: string;
|
|
369
|
+
kind: 'interface' | 'type' | 'const';
|
|
370
|
+
code: string;
|
|
371
|
+
}
|
|
372
|
+
declare function getRegistryTypes(): Record<string, ExtractedDeclaration[]>;
|
|
373
|
+
|
|
374
|
+
export { ClarityOptions, CloudflareWebAnalyticsOptions, CrispOptions, DatabuddyAnalyticsOptions, FathomAnalyticsOptions, GoogleAdsenseOptions, GoogleAnalyticsOptions, GoogleMapsOptions, GoogleRecaptchaOptions, GoogleSignInOptions, GoogleTagManagerOptions, HotjarOptions, InitObjectPropertiesSchema, InstagramEmbedOptions, IntercomOptions, MatomoAnalyticsOptions, MetaPixelOptions, NpmOptions, PayPalOptions, PostHogOptions, RedditPixelOptions, RybbitAnalyticsOptions, SegmentOptions, SnapTrPixelOptions, StripeOptions, TikTokPixelOptions, UmamiAnalyticsOptions, XEmbedOptions, XPixelOptions, getRegistryTypes };
|
|
375
|
+
export type { ExtractedDeclaration };
|