@uptrademedia/site-kit 1.1.7 → 1.2.1
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/analytics/index.d.mts +2 -2
- package/dist/analytics/index.d.ts +2 -2
- package/dist/analytics/index.js +6 -6
- package/dist/analytics/index.mjs +2 -2
- package/dist/{api-l44k92vp.d.mts → api-CWtoFJCO.d.mts} +1 -1
- package/dist/{api-l44k92vp.d.ts → api-CWtoFJCO.d.ts} +1 -1
- package/dist/blog/index.d.mts +2 -2
- package/dist/blog/index.d.ts +2 -2
- package/dist/blog/server.d.mts +1 -1
- package/dist/blog/server.d.ts +1 -1
- package/dist/{chunk-HEUULOSC.js → chunk-2MNLOYDD.js} +3 -3
- package/dist/{chunk-HEUULOSC.js.map → chunk-2MNLOYDD.js.map} +1 -1
- package/dist/{chunk-LHMD7CAR.mjs → chunk-2STSAGNT.mjs} +28 -6
- package/dist/chunk-2STSAGNT.mjs.map +1 -0
- package/dist/{chunk-3LOFIO77.mjs → chunk-44OMJFCG.mjs} +187 -193
- package/dist/chunk-44OMJFCG.mjs.map +1 -0
- package/dist/{chunk-CTKXFLIF.js → chunk-47ZS7MKZ.js} +119 -80
- package/dist/chunk-47ZS7MKZ.js.map +1 -0
- package/dist/{chunk-VFJ3NNCY.js → chunk-DERI27QC.js} +187 -193
- package/dist/chunk-DERI27QC.js.map +1 -0
- package/dist/{chunk-TOUIKTXU.mjs → chunk-FHTQUJ4M.mjs} +118 -80
- package/dist/chunk-FHTQUJ4M.mjs.map +1 -0
- package/dist/{chunk-IRNMIFOE.js → chunk-ICHCPLRB.js} +28 -6
- package/dist/chunk-ICHCPLRB.js.map +1 -0
- package/dist/{chunk-HGTTGJVZ.js → chunk-LBHEVL6U.js} +3 -3
- package/dist/{chunk-HGTTGJVZ.js.map → chunk-LBHEVL6U.js.map} +1 -1
- package/dist/{chunk-YT5SBY5W.mjs → chunk-MLJXNFUO.mjs} +3 -3
- package/dist/{chunk-YT5SBY5W.mjs.map → chunk-MLJXNFUO.mjs.map} +1 -1
- package/dist/{chunk-OW2C3ATV.mjs → chunk-R6V7DQ24.mjs} +3 -3
- package/dist/{chunk-OW2C3ATV.mjs.map → chunk-R6V7DQ24.mjs.map} +1 -1
- package/dist/cli/index.js +831 -740
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +825 -734
- package/dist/cli/index.mjs.map +1 -1
- package/dist/commerce/index.d.mts +3 -3
- package/dist/commerce/index.d.ts +3 -3
- package/dist/commerce/server.d.mts +1 -1
- package/dist/commerce/server.d.ts +1 -1
- package/dist/engage/index.d.mts +2 -2
- package/dist/engage/index.d.ts +2 -2
- package/dist/engage/index.js +4 -4
- package/dist/engage/index.mjs +1 -1
- package/dist/images/index.d.mts +1 -1
- package/dist/images/index.d.ts +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +4 -4
- package/dist/index.mjs +2 -2
- package/dist/llms/index.d.mts +23 -274
- package/dist/llms/index.d.ts +23 -274
- package/dist/llms/index.js +14 -14
- package/dist/llms/index.js.map +1 -1
- package/dist/llms/index.mjs +4 -4
- package/dist/llms/index.mjs.map +1 -1
- package/dist/robots/index.d.mts +46 -0
- package/dist/robots/index.d.ts +46 -0
- package/dist/robots/index.js +34 -0
- package/dist/robots/index.js.map +1 -0
- package/dist/robots/index.mjs +32 -0
- package/dist/robots/index.mjs.map +1 -0
- package/dist/{routing-D311WhuV.d.ts → routing-BI69sU8F.d.ts} +1 -1
- package/dist/{routing-bTjqOM8S.d.mts → routing-Bg1nr9N0.d.mts} +1 -1
- package/dist/{scanner-VNEXRTZF.mjs → scanner-7ZMUM2P5.mjs} +3 -3
- package/dist/{scanner-VNEXRTZF.mjs.map → scanner-7ZMUM2P5.mjs.map} +1 -1
- package/dist/{scanner-CVKYTPUO.js → scanner-OY7UF3WA.js} +14 -14
- package/dist/{scanner-CVKYTPUO.js.map → scanner-OY7UF3WA.js.map} +1 -1
- package/dist/seo/index.d.mts +3 -3
- package/dist/seo/index.d.ts +3 -3
- package/dist/seo/server.d.mts +2 -2
- package/dist/seo/server.d.ts +2 -2
- package/dist/setup/index.js +2 -2
- package/dist/setup/index.mjs +1 -1
- package/dist/setup/server.js +2 -2
- package/dist/setup/server.mjs +1 -1
- package/dist/sitemap/index.d.mts +5 -1
- package/dist/sitemap/index.d.ts +5 -1
- package/dist/sitemap/index.js +5 -4
- package/dist/sitemap/index.js.map +1 -1
- package/dist/sitemap/index.mjs +4 -3
- package/dist/sitemap/index.mjs.map +1 -1
- package/dist/{socket-loader-3FWQWPDQ.js → socket-loader-J26QHHOB.js} +2 -2
- package/dist/socket-loader-J26QHHOB.js.map +1 -0
- package/dist/{socket-loader-N5ETWMXW.mjs → socket-loader-R7S2YJ2J.mjs} +2 -2
- package/dist/socket-loader-R7S2YJ2J.mjs.map +1 -0
- package/dist/{types-C_pfGZhI.d.mts → types-Bsf5kX1n.d.mts} +1 -1
- package/dist/{types-C_pfGZhI.d.ts → types-Bsf5kX1n.d.ts} +1 -1
- package/dist/{types-DxhEH2tX.d.mts → types-CNZcDIoX.d.mts} +1 -1
- package/dist/{types-DxhEH2tX.d.ts → types-CNZcDIoX.d.ts} +1 -1
- package/dist/types-D8i7Alvv.d.mts +259 -0
- package/dist/types-D8i7Alvv.d.ts +259 -0
- package/dist/{types-DiZVgJKD.d.mts → types-DA_Kocle.d.mts} +1 -1
- package/dist/{types-DiZVgJKD.d.ts → types-DA_Kocle.d.ts} +1 -1
- package/dist/{types-CMNYdZwT.d.mts → types-DI0jnhjJ.d.mts} +1 -1
- package/dist/{types-CMNYdZwT.d.ts → types-DI0jnhjJ.d.ts} +1 -1
- package/dist/{types-BF2v5qX3.d.mts → types-wCtRFR0Y.d.mts} +1 -1
- package/dist/{types-BF2v5qX3.d.ts → types-wCtRFR0Y.d.ts} +1 -1
- package/dist/{useEventModal-x_RZRewW.d.mts → useEventModal-Bs0W9Iy_.d.mts} +2 -2
- package/dist/{useEventModal-5fIKdIaY.d.ts → useEventModal-Btu3uIjE.d.ts} +2 -2
- package/dist/{web-vitals-PW6MQOKS.js → web-vitals-444RLW3B.js} +3 -3
- package/dist/web-vitals-444RLW3B.js.map +1 -0
- package/dist/{web-vitals-YSIFBTH7.mjs → web-vitals-KPICZIEF.mjs} +3 -3
- package/dist/web-vitals-KPICZIEF.mjs.map +1 -0
- package/package.json +7 -1
- package/dist/chunk-3LOFIO77.mjs.map +0 -1
- package/dist/chunk-CTKXFLIF.js.map +0 -1
- package/dist/chunk-IRNMIFOE.js.map +0 -1
- package/dist/chunk-LHMD7CAR.mjs.map +0 -1
- package/dist/chunk-TOUIKTXU.mjs.map +0 -1
- package/dist/chunk-VFJ3NNCY.js.map +0 -1
- package/dist/socket-loader-3FWQWPDQ.js.map +0 -1
- package/dist/socket-loader-N5ETWMXW.mjs.map +0 -1
- package/dist/web-vitals-PW6MQOKS.js.map +0 -1
- package/dist/web-vitals-YSIFBTH7.mjs.map +0 -1
|
@@ -309,4 +309,4 @@ interface FetchEventsOptions {
|
|
|
309
309
|
category?: string;
|
|
310
310
|
}
|
|
311
311
|
|
|
312
|
-
export type {
|
|
312
|
+
export type { AdditionalFieldOption as A, CommerceOffering as C, EventTileProps as E, FetchOfferingsOptions as F, OfferingType as O, PriceType as P, RegistrationFormProps as R, UpcomingEventsProps as U, CommerceVariant as a, CheckoutResult as b, CommerceSchedule as c, OfferingStatus as d, CommerceCategory as e, CartItem as f, Cart as g, CheckoutCustomer as h, OfferingCardProps as i, OfferingListProps as j, OfferingDetailProps as k, ProductEmbedProps as l, EventEmbedProps as m, CheckoutFormProps as n, AdditionalField as o, CommerceApiConfig as p, FetchEventsOptions as q };
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uptrade/site-kit/llms - Types
|
|
3
|
+
*
|
|
4
|
+
* LLM Visibility Types for Answer Engine Optimization (AEO)
|
|
5
|
+
*/
|
|
6
|
+
interface LLMBusinessInfo {
|
|
7
|
+
/** Business/organization name */
|
|
8
|
+
name: string;
|
|
9
|
+
/** One-line tagline or mission */
|
|
10
|
+
tagline?: string;
|
|
11
|
+
/** Longer description (1-3 paragraphs) */
|
|
12
|
+
description: string;
|
|
13
|
+
/** Industry/category */
|
|
14
|
+
industry?: string;
|
|
15
|
+
/** Primary service area (city, region, or "nationwide") */
|
|
16
|
+
service_area?: string;
|
|
17
|
+
/** Year established */
|
|
18
|
+
founded?: string;
|
|
19
|
+
/** Website URL */
|
|
20
|
+
website: string;
|
|
21
|
+
}
|
|
22
|
+
interface LLMContactInfo {
|
|
23
|
+
/** Primary phone */
|
|
24
|
+
phone?: string;
|
|
25
|
+
/** Primary email */
|
|
26
|
+
email?: string;
|
|
27
|
+
/** Street address */
|
|
28
|
+
address?: string;
|
|
29
|
+
/** City */
|
|
30
|
+
city?: string;
|
|
31
|
+
/** State/province */
|
|
32
|
+
state?: string;
|
|
33
|
+
/** ZIP/postal code */
|
|
34
|
+
postal_code?: string;
|
|
35
|
+
/** Country */
|
|
36
|
+
country?: string;
|
|
37
|
+
/** Business hours (e.g., "Mon-Fri 9am-5pm EST") */
|
|
38
|
+
hours?: string;
|
|
39
|
+
}
|
|
40
|
+
interface LLMService {
|
|
41
|
+
/** Service name */
|
|
42
|
+
name: string;
|
|
43
|
+
/** Brief description */
|
|
44
|
+
description: string;
|
|
45
|
+
/** URL path to service page */
|
|
46
|
+
url?: string;
|
|
47
|
+
}
|
|
48
|
+
interface LLMFAQItem {
|
|
49
|
+
/** Question */
|
|
50
|
+
question: string;
|
|
51
|
+
/** Answer */
|
|
52
|
+
answer: string;
|
|
53
|
+
}
|
|
54
|
+
interface LLMPageSummary {
|
|
55
|
+
/** Page path */
|
|
56
|
+
path: string;
|
|
57
|
+
/** Page title */
|
|
58
|
+
title: string;
|
|
59
|
+
/** Brief description of page content */
|
|
60
|
+
description?: string;
|
|
61
|
+
}
|
|
62
|
+
interface GenerateLLMSTxtOptions {
|
|
63
|
+
/** Project ID for fetching data (optional - uses API key's project) */
|
|
64
|
+
projectId?: string;
|
|
65
|
+
/** When Portal returns empty services/faq/pages, use this to supply local site data */
|
|
66
|
+
getLocalData?: () => Promise<LLMsDataResponse | null>;
|
|
67
|
+
/** Include business info section */
|
|
68
|
+
includeBusinessInfo?: boolean;
|
|
69
|
+
/** Include services list */
|
|
70
|
+
includeServices?: boolean;
|
|
71
|
+
/** Include FAQ section */
|
|
72
|
+
includeFAQ?: boolean;
|
|
73
|
+
/** Include page index */
|
|
74
|
+
includePages?: boolean;
|
|
75
|
+
/** Include contact info */
|
|
76
|
+
includeContact?: boolean;
|
|
77
|
+
/** Maximum number of FAQ items */
|
|
78
|
+
maxFAQItems?: number;
|
|
79
|
+
/** Maximum number of pages to list */
|
|
80
|
+
maxPages?: number;
|
|
81
|
+
/** Custom sections to append */
|
|
82
|
+
customSections?: Array<{
|
|
83
|
+
title: string;
|
|
84
|
+
content: string;
|
|
85
|
+
}>;
|
|
86
|
+
}
|
|
87
|
+
interface LLMSTxtContent {
|
|
88
|
+
/** Raw markdown content */
|
|
89
|
+
markdown: string;
|
|
90
|
+
/** Metadata about generation */
|
|
91
|
+
metadata: {
|
|
92
|
+
generated_at: string;
|
|
93
|
+
project_id: string;
|
|
94
|
+
sections: string[];
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
interface SpeakableConfig {
|
|
98
|
+
/** CSS selectors for speakable content */
|
|
99
|
+
cssSelectors?: string[];
|
|
100
|
+
/** XPath selectors for speakable content */
|
|
101
|
+
xPaths?: string[];
|
|
102
|
+
}
|
|
103
|
+
interface SpeakableSchemaProps {
|
|
104
|
+
/** Page type - Article or WebPage */
|
|
105
|
+
type: 'Article' | 'WebPage';
|
|
106
|
+
/** Page name/title */
|
|
107
|
+
name: string;
|
|
108
|
+
/** Page URL */
|
|
109
|
+
url: string;
|
|
110
|
+
/** Speakable content selectors */
|
|
111
|
+
speakable: SpeakableConfig;
|
|
112
|
+
/** Additional schema properties */
|
|
113
|
+
additionalProperties?: Record<string, unknown>;
|
|
114
|
+
}
|
|
115
|
+
interface AEOBlockProps {
|
|
116
|
+
/** Block ID for speakable reference */
|
|
117
|
+
id?: string;
|
|
118
|
+
/** Type of content block */
|
|
119
|
+
type: 'summary' | 'definition' | 'answer' | 'list' | 'steps' | 'comparison';
|
|
120
|
+
/** Optional question (for Q&A format) */
|
|
121
|
+
question?: string;
|
|
122
|
+
/** Whether to mark as speakable */
|
|
123
|
+
speakable?: boolean;
|
|
124
|
+
/** Entity ID for knowledge graph linking */
|
|
125
|
+
entityId?: string;
|
|
126
|
+
/** Children content */
|
|
127
|
+
children: React.ReactNode;
|
|
128
|
+
/** Optional CSS class */
|
|
129
|
+
className?: string;
|
|
130
|
+
}
|
|
131
|
+
interface AEOSummaryProps {
|
|
132
|
+
/** Title for the summary */
|
|
133
|
+
title?: string;
|
|
134
|
+
/** Key points to highlight */
|
|
135
|
+
points: string[];
|
|
136
|
+
/** Whether to mark as speakable */
|
|
137
|
+
speakable?: boolean;
|
|
138
|
+
/** Entity ID for knowledge graph linking */
|
|
139
|
+
entityId?: string;
|
|
140
|
+
/** Optional CSS class */
|
|
141
|
+
className?: string;
|
|
142
|
+
}
|
|
143
|
+
interface AEODefinitionProps {
|
|
144
|
+
/** Term being defined */
|
|
145
|
+
term: string;
|
|
146
|
+
/** Definition */
|
|
147
|
+
definition: string;
|
|
148
|
+
/** Whether to mark as speakable */
|
|
149
|
+
speakable?: boolean;
|
|
150
|
+
/** Entity ID for knowledge graph linking */
|
|
151
|
+
entityId?: string;
|
|
152
|
+
/** Source for the definition (e.g., statute code) */
|
|
153
|
+
source?: string;
|
|
154
|
+
/** Optional CSS class */
|
|
155
|
+
className?: string;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* AEOClaimProps - AI-Verifiable Claim with Provenance
|
|
159
|
+
*
|
|
160
|
+
* For wrapping factual claims with machine-readable source attribution.
|
|
161
|
+
* LLMs heavily favor content with verifiable sources and confidence scores.
|
|
162
|
+
*/
|
|
163
|
+
interface AEOClaimProps {
|
|
164
|
+
/** Source reference (e.g., "KRS 281A.170", "NIH Study 2024") */
|
|
165
|
+
source: string;
|
|
166
|
+
/** URL to source document */
|
|
167
|
+
sourceUrl?: string;
|
|
168
|
+
/** Confidence score 0-1 */
|
|
169
|
+
confidence?: number;
|
|
170
|
+
/** Type of claim */
|
|
171
|
+
claimType?: 'fact' | 'statute' | 'study' | 'quote' | 'statistic';
|
|
172
|
+
/** When the source was retrieved */
|
|
173
|
+
retrievedAt?: string;
|
|
174
|
+
/** Children content */
|
|
175
|
+
children: React.ReactNode;
|
|
176
|
+
/** Optional CSS class */
|
|
177
|
+
className?: string;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* AEOEntityProps - Inline Entity Annotation
|
|
181
|
+
*
|
|
182
|
+
* For annotating entity mentions with knowledge graph IDs.
|
|
183
|
+
*/
|
|
184
|
+
interface AEOEntityProps {
|
|
185
|
+
/** Entity ID from knowledge graph */
|
|
186
|
+
entityId: string;
|
|
187
|
+
/** Entity type */
|
|
188
|
+
entityType: 'organization' | 'person' | 'service' | 'product' | 'location' | 'concept' | 'credential';
|
|
189
|
+
/** Canonical entity name */
|
|
190
|
+
name: string;
|
|
191
|
+
/** Entity URL */
|
|
192
|
+
url?: string;
|
|
193
|
+
/** Children content */
|
|
194
|
+
children: React.ReactNode;
|
|
195
|
+
/** Optional CSS class */
|
|
196
|
+
className?: string;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* ContentProvenance - Source attribution for content
|
|
200
|
+
*
|
|
201
|
+
* Links content to authoritative sources for AI verification.
|
|
202
|
+
*/
|
|
203
|
+
interface ContentProvenance {
|
|
204
|
+
/** Unique provenance ID */
|
|
205
|
+
id: string;
|
|
206
|
+
/** Type of source */
|
|
207
|
+
source_type: 'press_release' | 'news_article' | 'legal_statute' | 'research_paper' | 'official_document' | 'internal' | 'citation';
|
|
208
|
+
/** Source title */
|
|
209
|
+
title: string;
|
|
210
|
+
/** Source URL */
|
|
211
|
+
url?: string;
|
|
212
|
+
/** Publisher/organization name */
|
|
213
|
+
publisher?: string;
|
|
214
|
+
/** Publication date */
|
|
215
|
+
published_at?: string;
|
|
216
|
+
/** Date accessed */
|
|
217
|
+
accessed_at?: string;
|
|
218
|
+
/** Brief excerpt or summary */
|
|
219
|
+
excerpt?: string;
|
|
220
|
+
/** Confidence score 0-1 */
|
|
221
|
+
confidence?: number;
|
|
222
|
+
/** DOI or other identifier */
|
|
223
|
+
identifier?: string;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* AEOProvenanceListProps - Display provenance sources
|
|
227
|
+
*/
|
|
228
|
+
interface AEOProvenanceListProps {
|
|
229
|
+
/** List of provenance sources */
|
|
230
|
+
sources: ContentProvenance[];
|
|
231
|
+
/** Title for the section */
|
|
232
|
+
title?: string;
|
|
233
|
+
/** Optional CSS class */
|
|
234
|
+
className?: string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* AEOCitedContentProps - Content with inline citations
|
|
238
|
+
*
|
|
239
|
+
* Wraps content that has numbered citations referencing provenance sources.
|
|
240
|
+
*/
|
|
241
|
+
interface AEOCitedContentProps {
|
|
242
|
+
/** Content with [1], [2] style inline citations */
|
|
243
|
+
children: React.ReactNode;
|
|
244
|
+
/** Provenance sources (index matches citation number) */
|
|
245
|
+
sources: ContentProvenance[];
|
|
246
|
+
/** Whether to show sources list at bottom */
|
|
247
|
+
showSourcesList?: boolean;
|
|
248
|
+
/** Optional CSS class */
|
|
249
|
+
className?: string;
|
|
250
|
+
}
|
|
251
|
+
interface LLMsDataResponse {
|
|
252
|
+
business: LLMBusinessInfo;
|
|
253
|
+
contact?: LLMContactInfo;
|
|
254
|
+
services: LLMService[];
|
|
255
|
+
faq: LLMFAQItem[];
|
|
256
|
+
pages: LLMPageSummary[];
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type { AEOBlockProps as A, ContentProvenance as C, GenerateLLMSTxtOptions as G, LLMsDataResponse as L, SpeakableSchemaProps as S, LLMSTxtContent as a, SpeakableConfig as b, AEOSummaryProps as c, AEODefinitionProps as d, AEOClaimProps as e, LLMBusinessInfo as f, LLMContactInfo as g, LLMService as h, LLMFAQItem as i, LLMPageSummary as j, AEOEntityProps as k, AEOProvenanceListProps as l, AEOCitedContentProps as m };
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @uptrade/site-kit/llms - Types
|
|
3
|
+
*
|
|
4
|
+
* LLM Visibility Types for Answer Engine Optimization (AEO)
|
|
5
|
+
*/
|
|
6
|
+
interface LLMBusinessInfo {
|
|
7
|
+
/** Business/organization name */
|
|
8
|
+
name: string;
|
|
9
|
+
/** One-line tagline or mission */
|
|
10
|
+
tagline?: string;
|
|
11
|
+
/** Longer description (1-3 paragraphs) */
|
|
12
|
+
description: string;
|
|
13
|
+
/** Industry/category */
|
|
14
|
+
industry?: string;
|
|
15
|
+
/** Primary service area (city, region, or "nationwide") */
|
|
16
|
+
service_area?: string;
|
|
17
|
+
/** Year established */
|
|
18
|
+
founded?: string;
|
|
19
|
+
/** Website URL */
|
|
20
|
+
website: string;
|
|
21
|
+
}
|
|
22
|
+
interface LLMContactInfo {
|
|
23
|
+
/** Primary phone */
|
|
24
|
+
phone?: string;
|
|
25
|
+
/** Primary email */
|
|
26
|
+
email?: string;
|
|
27
|
+
/** Street address */
|
|
28
|
+
address?: string;
|
|
29
|
+
/** City */
|
|
30
|
+
city?: string;
|
|
31
|
+
/** State/province */
|
|
32
|
+
state?: string;
|
|
33
|
+
/** ZIP/postal code */
|
|
34
|
+
postal_code?: string;
|
|
35
|
+
/** Country */
|
|
36
|
+
country?: string;
|
|
37
|
+
/** Business hours (e.g., "Mon-Fri 9am-5pm EST") */
|
|
38
|
+
hours?: string;
|
|
39
|
+
}
|
|
40
|
+
interface LLMService {
|
|
41
|
+
/** Service name */
|
|
42
|
+
name: string;
|
|
43
|
+
/** Brief description */
|
|
44
|
+
description: string;
|
|
45
|
+
/** URL path to service page */
|
|
46
|
+
url?: string;
|
|
47
|
+
}
|
|
48
|
+
interface LLMFAQItem {
|
|
49
|
+
/** Question */
|
|
50
|
+
question: string;
|
|
51
|
+
/** Answer */
|
|
52
|
+
answer: string;
|
|
53
|
+
}
|
|
54
|
+
interface LLMPageSummary {
|
|
55
|
+
/** Page path */
|
|
56
|
+
path: string;
|
|
57
|
+
/** Page title */
|
|
58
|
+
title: string;
|
|
59
|
+
/** Brief description of page content */
|
|
60
|
+
description?: string;
|
|
61
|
+
}
|
|
62
|
+
interface GenerateLLMSTxtOptions {
|
|
63
|
+
/** Project ID for fetching data (optional - uses API key's project) */
|
|
64
|
+
projectId?: string;
|
|
65
|
+
/** When Portal returns empty services/faq/pages, use this to supply local site data */
|
|
66
|
+
getLocalData?: () => Promise<LLMsDataResponse | null>;
|
|
67
|
+
/** Include business info section */
|
|
68
|
+
includeBusinessInfo?: boolean;
|
|
69
|
+
/** Include services list */
|
|
70
|
+
includeServices?: boolean;
|
|
71
|
+
/** Include FAQ section */
|
|
72
|
+
includeFAQ?: boolean;
|
|
73
|
+
/** Include page index */
|
|
74
|
+
includePages?: boolean;
|
|
75
|
+
/** Include contact info */
|
|
76
|
+
includeContact?: boolean;
|
|
77
|
+
/** Maximum number of FAQ items */
|
|
78
|
+
maxFAQItems?: number;
|
|
79
|
+
/** Maximum number of pages to list */
|
|
80
|
+
maxPages?: number;
|
|
81
|
+
/** Custom sections to append */
|
|
82
|
+
customSections?: Array<{
|
|
83
|
+
title: string;
|
|
84
|
+
content: string;
|
|
85
|
+
}>;
|
|
86
|
+
}
|
|
87
|
+
interface LLMSTxtContent {
|
|
88
|
+
/** Raw markdown content */
|
|
89
|
+
markdown: string;
|
|
90
|
+
/** Metadata about generation */
|
|
91
|
+
metadata: {
|
|
92
|
+
generated_at: string;
|
|
93
|
+
project_id: string;
|
|
94
|
+
sections: string[];
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
interface SpeakableConfig {
|
|
98
|
+
/** CSS selectors for speakable content */
|
|
99
|
+
cssSelectors?: string[];
|
|
100
|
+
/** XPath selectors for speakable content */
|
|
101
|
+
xPaths?: string[];
|
|
102
|
+
}
|
|
103
|
+
interface SpeakableSchemaProps {
|
|
104
|
+
/** Page type - Article or WebPage */
|
|
105
|
+
type: 'Article' | 'WebPage';
|
|
106
|
+
/** Page name/title */
|
|
107
|
+
name: string;
|
|
108
|
+
/** Page URL */
|
|
109
|
+
url: string;
|
|
110
|
+
/** Speakable content selectors */
|
|
111
|
+
speakable: SpeakableConfig;
|
|
112
|
+
/** Additional schema properties */
|
|
113
|
+
additionalProperties?: Record<string, unknown>;
|
|
114
|
+
}
|
|
115
|
+
interface AEOBlockProps {
|
|
116
|
+
/** Block ID for speakable reference */
|
|
117
|
+
id?: string;
|
|
118
|
+
/** Type of content block */
|
|
119
|
+
type: 'summary' | 'definition' | 'answer' | 'list' | 'steps' | 'comparison';
|
|
120
|
+
/** Optional question (for Q&A format) */
|
|
121
|
+
question?: string;
|
|
122
|
+
/** Whether to mark as speakable */
|
|
123
|
+
speakable?: boolean;
|
|
124
|
+
/** Entity ID for knowledge graph linking */
|
|
125
|
+
entityId?: string;
|
|
126
|
+
/** Children content */
|
|
127
|
+
children: React.ReactNode;
|
|
128
|
+
/** Optional CSS class */
|
|
129
|
+
className?: string;
|
|
130
|
+
}
|
|
131
|
+
interface AEOSummaryProps {
|
|
132
|
+
/** Title for the summary */
|
|
133
|
+
title?: string;
|
|
134
|
+
/** Key points to highlight */
|
|
135
|
+
points: string[];
|
|
136
|
+
/** Whether to mark as speakable */
|
|
137
|
+
speakable?: boolean;
|
|
138
|
+
/** Entity ID for knowledge graph linking */
|
|
139
|
+
entityId?: string;
|
|
140
|
+
/** Optional CSS class */
|
|
141
|
+
className?: string;
|
|
142
|
+
}
|
|
143
|
+
interface AEODefinitionProps {
|
|
144
|
+
/** Term being defined */
|
|
145
|
+
term: string;
|
|
146
|
+
/** Definition */
|
|
147
|
+
definition: string;
|
|
148
|
+
/** Whether to mark as speakable */
|
|
149
|
+
speakable?: boolean;
|
|
150
|
+
/** Entity ID for knowledge graph linking */
|
|
151
|
+
entityId?: string;
|
|
152
|
+
/** Source for the definition (e.g., statute code) */
|
|
153
|
+
source?: string;
|
|
154
|
+
/** Optional CSS class */
|
|
155
|
+
className?: string;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* AEOClaimProps - AI-Verifiable Claim with Provenance
|
|
159
|
+
*
|
|
160
|
+
* For wrapping factual claims with machine-readable source attribution.
|
|
161
|
+
* LLMs heavily favor content with verifiable sources and confidence scores.
|
|
162
|
+
*/
|
|
163
|
+
interface AEOClaimProps {
|
|
164
|
+
/** Source reference (e.g., "KRS 281A.170", "NIH Study 2024") */
|
|
165
|
+
source: string;
|
|
166
|
+
/** URL to source document */
|
|
167
|
+
sourceUrl?: string;
|
|
168
|
+
/** Confidence score 0-1 */
|
|
169
|
+
confidence?: number;
|
|
170
|
+
/** Type of claim */
|
|
171
|
+
claimType?: 'fact' | 'statute' | 'study' | 'quote' | 'statistic';
|
|
172
|
+
/** When the source was retrieved */
|
|
173
|
+
retrievedAt?: string;
|
|
174
|
+
/** Children content */
|
|
175
|
+
children: React.ReactNode;
|
|
176
|
+
/** Optional CSS class */
|
|
177
|
+
className?: string;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* AEOEntityProps - Inline Entity Annotation
|
|
181
|
+
*
|
|
182
|
+
* For annotating entity mentions with knowledge graph IDs.
|
|
183
|
+
*/
|
|
184
|
+
interface AEOEntityProps {
|
|
185
|
+
/** Entity ID from knowledge graph */
|
|
186
|
+
entityId: string;
|
|
187
|
+
/** Entity type */
|
|
188
|
+
entityType: 'organization' | 'person' | 'service' | 'product' | 'location' | 'concept' | 'credential';
|
|
189
|
+
/** Canonical entity name */
|
|
190
|
+
name: string;
|
|
191
|
+
/** Entity URL */
|
|
192
|
+
url?: string;
|
|
193
|
+
/** Children content */
|
|
194
|
+
children: React.ReactNode;
|
|
195
|
+
/** Optional CSS class */
|
|
196
|
+
className?: string;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* ContentProvenance - Source attribution for content
|
|
200
|
+
*
|
|
201
|
+
* Links content to authoritative sources for AI verification.
|
|
202
|
+
*/
|
|
203
|
+
interface ContentProvenance {
|
|
204
|
+
/** Unique provenance ID */
|
|
205
|
+
id: string;
|
|
206
|
+
/** Type of source */
|
|
207
|
+
source_type: 'press_release' | 'news_article' | 'legal_statute' | 'research_paper' | 'official_document' | 'internal' | 'citation';
|
|
208
|
+
/** Source title */
|
|
209
|
+
title: string;
|
|
210
|
+
/** Source URL */
|
|
211
|
+
url?: string;
|
|
212
|
+
/** Publisher/organization name */
|
|
213
|
+
publisher?: string;
|
|
214
|
+
/** Publication date */
|
|
215
|
+
published_at?: string;
|
|
216
|
+
/** Date accessed */
|
|
217
|
+
accessed_at?: string;
|
|
218
|
+
/** Brief excerpt or summary */
|
|
219
|
+
excerpt?: string;
|
|
220
|
+
/** Confidence score 0-1 */
|
|
221
|
+
confidence?: number;
|
|
222
|
+
/** DOI or other identifier */
|
|
223
|
+
identifier?: string;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* AEOProvenanceListProps - Display provenance sources
|
|
227
|
+
*/
|
|
228
|
+
interface AEOProvenanceListProps {
|
|
229
|
+
/** List of provenance sources */
|
|
230
|
+
sources: ContentProvenance[];
|
|
231
|
+
/** Title for the section */
|
|
232
|
+
title?: string;
|
|
233
|
+
/** Optional CSS class */
|
|
234
|
+
className?: string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* AEOCitedContentProps - Content with inline citations
|
|
238
|
+
*
|
|
239
|
+
* Wraps content that has numbered citations referencing provenance sources.
|
|
240
|
+
*/
|
|
241
|
+
interface AEOCitedContentProps {
|
|
242
|
+
/** Content with [1], [2] style inline citations */
|
|
243
|
+
children: React.ReactNode;
|
|
244
|
+
/** Provenance sources (index matches citation number) */
|
|
245
|
+
sources: ContentProvenance[];
|
|
246
|
+
/** Whether to show sources list at bottom */
|
|
247
|
+
showSourcesList?: boolean;
|
|
248
|
+
/** Optional CSS class */
|
|
249
|
+
className?: string;
|
|
250
|
+
}
|
|
251
|
+
interface LLMsDataResponse {
|
|
252
|
+
business: LLMBusinessInfo;
|
|
253
|
+
contact?: LLMContactInfo;
|
|
254
|
+
services: LLMService[];
|
|
255
|
+
faq: LLMFAQItem[];
|
|
256
|
+
pages: LLMPageSummary[];
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type { AEOBlockProps as A, ContentProvenance as C, GenerateLLMSTxtOptions as G, LLMsDataResponse as L, SpeakableSchemaProps as S, LLMSTxtContent as a, SpeakableConfig as b, AEOSummaryProps as c, AEODefinitionProps as d, AEOClaimProps as e, LLMBusinessInfo as f, LLMContactInfo as g, LLMService as h, LLMFAQItem as i, LLMPageSummary as j, AEOEntityProps as k, AEOProvenanceListProps as l, AEOCitedContentProps as m };
|
|
@@ -124,4 +124,4 @@ interface AnalyticsContextValue {
|
|
|
124
124
|
visitorId: string | null;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
export type { AnalyticsContextValue as A, Conversion as C, PageView as P, Session as S, TrackEventOptions as T, WebVitalsData as W, TrackConversionOptions as a,
|
|
127
|
+
export type { AnalyticsContextValue as A, Conversion as C, PageView as P, Session as S, TrackEventOptions as T, WebVitalsData as W, TrackConversionOptions as a, AnalyticsEvent as b, AnalyticsConfig as c };
|
|
@@ -124,4 +124,4 @@ interface AnalyticsContextValue {
|
|
|
124
124
|
visitorId: string | null;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
export type { AnalyticsContextValue as A, Conversion as C, PageView as P, Session as S, TrackEventOptions as T, WebVitalsData as W, TrackConversionOptions as a,
|
|
127
|
+
export type { AnalyticsContextValue as A, Conversion as C, PageView as P, Session as S, TrackEventOptions as T, WebVitalsData as W, TrackConversionOptions as a, AnalyticsEvent as b, AnalyticsConfig as c };
|
|
@@ -176,4 +176,4 @@ interface BlogAnalytics {
|
|
|
176
176
|
created_at: string;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
export type { AuthorCardProps as A, BlogPost as B, RelatedPostsProps as R, TocItem as T, BlogListResult as a, BlogCategory as b, TableOfContentsProps as c,
|
|
179
|
+
export type { AuthorCardProps as A, BlogPost as B, RelatedPostsProps as R, TocItem as T, BlogListResult as a, BlogCategory as b, TableOfContentsProps as c, BlogAuthor as d, BlogTag as e, BlogListOptions as f, BlogPostProps as g, BlogPostRenderProps as h, BlogListProps as i, BlogListRenderProps as j, BlogAnalytics as k };
|
|
@@ -176,4 +176,4 @@ interface BlogAnalytics {
|
|
|
176
176
|
created_at: string;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
export type { AuthorCardProps as A, BlogPost as B, RelatedPostsProps as R, TocItem as T, BlogListResult as a, BlogCategory as b, TableOfContentsProps as c,
|
|
179
|
+
export type { AuthorCardProps as A, BlogPost as B, RelatedPostsProps as R, TocItem as T, BlogListResult as a, BlogCategory as b, TableOfContentsProps as c, BlogAuthor as d, BlogTag as e, BlogListOptions as f, BlogPostProps as g, BlogPostRenderProps as h, BlogListProps as i, BlogListRenderProps as j, BlogAnalytics as k };
|
|
@@ -263,4 +263,4 @@ interface GetSitemapEntriesOptions {
|
|
|
263
263
|
publishedOnly?: boolean;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
export type { ABTest as A, FAQItem as F,
|
|
266
|
+
export type { ABTest as A, FAQItem as F, GetManagedMetadataOptions as G, ManagedMetadataResult as M, RedirectResult as R, SEOPageData as S, UptradeSEOConfig as U, SchemaMarkup as a, ManagedSchemaProps as b, ManagedFAQData as c, ManagedFAQProps as d, ManagedLink as e, ManagedInternalLinksProps as f, ManagedContentBlock as g, ManagedContentProps as h, SEOEntity as i, ABTestResult as j, GetABVariantOptions as k, ManagedRedirect as l, GetRedirectOptions as m, ManagedScript as n, ManagedScriptsProps as o, RobotsDirective as p, GetRobotsOptions as q, SitemapEntry as r, GetSitemapEntriesOptions as s };
|
|
@@ -263,4 +263,4 @@ interface GetSitemapEntriesOptions {
|
|
|
263
263
|
publishedOnly?: boolean;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
export type { ABTest as A, FAQItem as F,
|
|
266
|
+
export type { ABTest as A, FAQItem as F, GetManagedMetadataOptions as G, ManagedMetadataResult as M, RedirectResult as R, SEOPageData as S, UptradeSEOConfig as U, SchemaMarkup as a, ManagedSchemaProps as b, ManagedFAQData as c, ManagedFAQProps as d, ManagedLink as e, ManagedInternalLinksProps as f, ManagedContentBlock as g, ManagedContentProps as h, SEOEntity as i, ABTestResult as j, GetABVariantOptions as k, ManagedRedirect as l, GetRedirectOptions as m, ManagedScript as n, ManagedScriptsProps as o, RobotsDirective as p, GetRobotsOptions as q, SitemapEntry as r, GetSitemapEntriesOptions as s };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as FetchOfferingsOptions, C as CommerceOffering, q as FetchEventsOptions, h as CheckoutCustomer, b as CheckoutResult, i as OfferingCardProps, j as OfferingListProps, E as EventTileProps, U as UpcomingEventsProps, l as ProductEmbedProps, m as EventEmbedProps, n as CheckoutFormProps, R as RegistrationFormProps, c as CommerceSchedule } from './types-CNZcDIoX.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -271,4 +271,4 @@ interface UseEventModalReturn {
|
|
|
271
271
|
}
|
|
272
272
|
declare function useEventModal(): UseEventModalReturn;
|
|
273
273
|
|
|
274
|
-
export {
|
|
274
|
+
export { formatDate as A, formatDateTime as B, type CreateCheckoutOptions as C, formatTime as D, EventTile as E, formatDateRange as F, getRelativeTimeUntil as G, getSpotsRemaining as H, isEventSoldOut as I, getOfferingUrl as J, OfferingCard as O, type ProcessorConfig as P, RegistrationForm as R, type ShippingAddress as S, UpcomingEvents as U, type ValidateAddressResult as V, fetchOffering as a, fetchLatestOffering as b, fetchProducts as c, fetchProductsPublic as d, fetchProductBySlug as e, fetchOfferings as f, fetchCategories as g, fetchServices as h, fetchUpcomingEvents as i, fetchNextEvent as j, fetchShippingRates as k, createCheckoutSession as l, fetchActiveProcessor as m, fetchProcessorConfig as n, type ShippingRate as o, OfferingList as p, ProductEmbed as q, registerForEvent as r, EventEmbed as s, CheckoutForm as t, CalendarView as u, validateAddress as v, EventModal as w, EventCalendar as x, useEventModal as y, formatPrice as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as FetchOfferingsOptions, C as CommerceOffering, q as FetchEventsOptions, h as CheckoutCustomer, b as CheckoutResult, i as OfferingCardProps, j as OfferingListProps, E as EventTileProps, U as UpcomingEventsProps, l as ProductEmbedProps, m as EventEmbedProps, n as CheckoutFormProps, R as RegistrationFormProps, c as CommerceSchedule } from './types-CNZcDIoX.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -271,4 +271,4 @@ interface UseEventModalReturn {
|
|
|
271
271
|
}
|
|
272
272
|
declare function useEventModal(): UseEventModalReturn;
|
|
273
273
|
|
|
274
|
-
export {
|
|
274
|
+
export { formatDate as A, formatDateTime as B, type CreateCheckoutOptions as C, formatTime as D, EventTile as E, formatDateRange as F, getRelativeTimeUntil as G, getSpotsRemaining as H, isEventSoldOut as I, getOfferingUrl as J, OfferingCard as O, type ProcessorConfig as P, RegistrationForm as R, type ShippingAddress as S, UpcomingEvents as U, type ValidateAddressResult as V, fetchOffering as a, fetchLatestOffering as b, fetchProducts as c, fetchProductsPublic as d, fetchProductBySlug as e, fetchOfferings as f, fetchCategories as g, fetchServices as h, fetchUpcomingEvents as i, fetchNextEvent as j, fetchShippingRates as k, createCheckoutSession as l, fetchActiveProcessor as m, fetchProcessorConfig as n, type ShippingRate as o, OfferingList as p, ProductEmbed as q, registerForEvent as r, EventEmbed as s, CheckoutForm as t, CalendarView as u, validateAddress as v, EventModal as w, EventCalendar as x, useEventModal as y, formatPrice as z };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkZSMWDLMK_js = require('./chunk-ZSMWDLMK.js');
|
|
4
4
|
|
|
5
|
-
// node_modules/web-vitals/dist/web-vitals.js
|
|
5
|
+
// node_modules/.pnpm/web-vitals@5.1.0/node_modules/web-vitals/dist/web-vitals.js
|
|
6
6
|
var e = -1;
|
|
7
7
|
var t = (t2) => {
|
|
8
8
|
addEventListener("pageshow", ((n2) => {
|
|
@@ -248,5 +248,5 @@ exports.onFCP = E;
|
|
|
248
248
|
exports.onINP = S;
|
|
249
249
|
exports.onLCP = x;
|
|
250
250
|
exports.onTTFB = $;
|
|
251
|
-
//# sourceMappingURL=web-vitals-
|
|
252
|
-
//# sourceMappingURL=web-vitals-
|
|
251
|
+
//# sourceMappingURL=web-vitals-444RLW3B.js.map
|
|
252
|
+
//# sourceMappingURL=web-vitals-444RLW3B.js.map
|