@uptrademedia/site-kit 1.0.5 → 1.0.8

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.
Files changed (169) hide show
  1. package/dist/analytics/index.js +7 -7
  2. package/dist/analytics/index.mjs +3 -3
  3. package/dist/api-QUIPJJCX.js +77 -0
  4. package/dist/api-QUIPJJCX.js.map +1 -0
  5. package/dist/api-V3BA5PMX.mjs +4 -0
  6. package/dist/api-V3BA5PMX.mjs.map +1 -0
  7. package/dist/blog/index.d.mts +2 -2
  8. package/dist/blog/index.d.ts +2 -2
  9. package/dist/blog/index.js +40 -6
  10. package/dist/blog/index.js.map +1 -1
  11. package/dist/blog/index.mjs +40 -6
  12. package/dist/blog/index.mjs.map +1 -1
  13. package/dist/blog/server.d.mts +3 -2
  14. package/dist/blog/server.d.ts +3 -2
  15. package/dist/blog/server.js +13 -6
  16. package/dist/blog/server.js.map +1 -1
  17. package/dist/blog/server.mjs +13 -6
  18. package/dist/blog/server.mjs.map +1 -1
  19. package/dist/{chunk-FKVJOT2F.mjs → chunk-42EXHJTC.mjs} +196 -7
  20. package/dist/chunk-42EXHJTC.mjs.map +1 -0
  21. package/dist/{scanner-AZV5I6US.mjs → chunk-44OMJFCG.mjs} +354 -14
  22. package/dist/chunk-44OMJFCG.mjs.map +1 -0
  23. package/dist/chunk-4TGJYNHV.js +981 -0
  24. package/dist/chunk-4TGJYNHV.js.map +1 -0
  25. package/dist/chunk-4XPGGLVP.mjs +53 -0
  26. package/dist/{chunk-NYKRE2FL.mjs.map → chunk-4XPGGLVP.mjs.map} +1 -1
  27. package/dist/{generators-TO2FKJR6.mjs → chunk-6ONUXZDO.mjs} +26 -9
  28. package/dist/chunk-6ONUXZDO.mjs.map +1 -0
  29. package/dist/chunk-CG53ASWX.mjs +729 -0
  30. package/dist/chunk-CG53ASWX.mjs.map +1 -0
  31. package/dist/{scanner-ETJAMIT7.js → chunk-DERI27QC.js} +448 -102
  32. package/dist/chunk-DERI27QC.js.map +1 -0
  33. package/dist/chunk-DYM5ML2V.mjs +1518 -0
  34. package/dist/chunk-DYM5ML2V.mjs.map +1 -0
  35. package/dist/chunk-FLZZOX44.js +1526 -0
  36. package/dist/chunk-FLZZOX44.js.map +1 -0
  37. package/dist/{chunk-7H6I3ECV.mjs → chunk-FQVGK746.mjs} +63 -3
  38. package/dist/chunk-FQVGK746.mjs.map +1 -0
  39. package/dist/{chunk-GQ6ZOU2N.mjs → chunk-JGQPAXTL.mjs} +4 -4
  40. package/dist/{chunk-GQ6ZOU2N.mjs.map → chunk-JGQPAXTL.mjs.map} +1 -1
  41. package/dist/{chunk-V3F5J6CV.js → chunk-JUEVN4Q4.js} +196 -7
  42. package/dist/chunk-JUEVN4Q4.js.map +1 -0
  43. package/dist/chunk-KKMGTT7F.mjs +968 -0
  44. package/dist/chunk-KKMGTT7F.mjs.map +1 -0
  45. package/dist/{chunk-XQJX252G.mjs → chunk-MB3WR5KJ.mjs} +28 -18
  46. package/dist/chunk-MB3WR5KJ.mjs.map +1 -0
  47. package/dist/{chunk-2IHTEKHU.mjs → chunk-QD5CN2OI.mjs} +16 -7
  48. package/dist/chunk-QD5CN2OI.mjs.map +1 -0
  49. package/dist/{chunk-SBVEYCSV.js → chunk-QQB4FO4Q.js} +7 -7
  50. package/dist/{chunk-SBVEYCSV.js.map → chunk-QQB4FO4Q.js.map} +1 -1
  51. package/dist/{generators-YZWIGHCO.js → chunk-S2GXR5HY.js} +26 -9
  52. package/dist/chunk-S2GXR5HY.js.map +1 -0
  53. package/dist/{chunk-O2OHHBUD.js → chunk-TDK7DLCH.js} +30 -20
  54. package/dist/chunk-TDK7DLCH.js.map +1 -0
  55. package/dist/{chunk-QP5NCO2E.js → chunk-VDI7KYME.js} +67 -2
  56. package/dist/chunk-VDI7KYME.js.map +1 -0
  57. package/dist/chunk-VOR53RUR.js +753 -0
  58. package/dist/chunk-VOR53RUR.js.map +1 -0
  59. package/dist/{chunk-GAJLEDRD.js → chunk-ZKJ7JKFV.js} +16 -7
  60. package/dist/chunk-ZKJ7JKFV.js.map +1 -0
  61. package/dist/chunk-ZSMWDLMK.js +63 -0
  62. package/dist/{chunk-EQCVQC35.js.map → chunk-ZSMWDLMK.js.map} +1 -1
  63. package/dist/cli/index.js +37269 -0
  64. package/dist/cli/index.js.map +1 -0
  65. package/dist/cli/index.mjs +37233 -0
  66. package/dist/cli/index.mjs.map +1 -0
  67. package/dist/commerce/index.js +1 -1
  68. package/dist/commerce/index.mjs +1 -1
  69. package/dist/commerce/server.d.mts +12 -3
  70. package/dist/commerce/server.d.ts +12 -3
  71. package/dist/commerce/server.js +71 -70
  72. package/dist/commerce/server.js.map +1 -1
  73. package/dist/commerce/server.mjs +71 -70
  74. package/dist/commerce/server.mjs.map +1 -1
  75. package/dist/engage/index.d.mts +6 -4
  76. package/dist/engage/index.d.ts +6 -4
  77. package/dist/engage/index.js +8 -4
  78. package/dist/engage/index.mjs +2 -2
  79. package/dist/forms/index.js +1 -1
  80. package/dist/forms/index.mjs +1 -1
  81. package/dist/generators-5EU4PTVF.js +33 -0
  82. package/dist/generators-5EU4PTVF.js.map +1 -0
  83. package/dist/generators-TYPILCWD.mjs +4 -0
  84. package/dist/generators-TYPILCWD.mjs.map +1 -0
  85. package/dist/images/index.js +11 -11
  86. package/dist/images/index.mjs +4 -4
  87. package/dist/index.d.mts +154 -5
  88. package/dist/index.d.ts +154 -5
  89. package/dist/index.js +940 -24
  90. package/dist/index.js.map +1 -1
  91. package/dist/index.mjs +819 -7
  92. package/dist/index.mjs.map +1 -1
  93. package/dist/llms/index.d.mts +657 -0
  94. package/dist/llms/index.d.ts +657 -0
  95. package/dist/llms/index.js +101 -0
  96. package/dist/llms/index.js.map +1 -0
  97. package/dist/llms/index.mjs +4 -0
  98. package/dist/llms/index.mjs.map +1 -0
  99. package/dist/migrator-ARLHUNB3.mjs +4 -0
  100. package/dist/migrator-ARLHUNB3.mjs.map +1 -0
  101. package/dist/migrator-VZLBH3VY.js +37 -0
  102. package/dist/migrator-VZLBH3VY.js.map +1 -0
  103. package/dist/redirects/index.js +1 -1
  104. package/dist/redirects/index.mjs +1 -1
  105. package/dist/reputation/index.js +1 -1
  106. package/dist/reputation/index.mjs +1 -1
  107. package/dist/{routing-BWjUF7lp.d.ts → routing-CF91y6NO.d.ts} +1 -1
  108. package/dist/{routing-CgmRi9tD.d.mts → routing-CIOFpFCB.d.mts} +1 -1
  109. package/dist/scanner-7ZMUM2P5.mjs +4 -0
  110. package/dist/scanner-7ZMUM2P5.mjs.map +1 -0
  111. package/dist/scanner-OY7UF3WA.js +53 -0
  112. package/dist/scanner-OY7UF3WA.js.map +1 -0
  113. package/dist/seo/index.d.mts +267 -7
  114. package/dist/seo/index.d.ts +267 -7
  115. package/dist/seo/index.js +433 -24
  116. package/dist/seo/index.js.map +1 -1
  117. package/dist/seo/index.mjs +401 -11
  118. package/dist/seo/index.mjs.map +1 -1
  119. package/dist/seo/server.d.mts +11 -4
  120. package/dist/seo/server.d.ts +11 -4
  121. package/dist/seo/server.js +17 -17
  122. package/dist/seo/server.mjs +3 -3
  123. package/dist/setup/client.js +1 -1
  124. package/dist/setup/client.mjs +1 -1
  125. package/dist/setup/index.js +3 -3
  126. package/dist/setup/index.mjs +2 -2
  127. package/dist/setup/server.js +3 -3
  128. package/dist/setup/server.mjs +2 -2
  129. package/dist/sitemap/index.js +2 -2
  130. package/dist/sitemap/index.js.map +1 -1
  131. package/dist/sitemap/index.mjs +2 -2
  132. package/dist/sitemap/index.mjs.map +1 -1
  133. package/dist/{types-C0pJGfbH.d.mts → types-D6FHAVWX.d.mts} +99 -3
  134. package/dist/{types-C0pJGfbH.d.ts → types-D6FHAVWX.d.ts} +99 -3
  135. package/dist/{types-BN4OwtCO.d.mts → types-DI0jnhjJ.d.mts} +2 -0
  136. package/dist/{types-BN4OwtCO.d.ts → types-DI0jnhjJ.d.ts} +2 -0
  137. package/dist/{types-BmzutFwy.d.ts → types-j8X4vUhB.d.mts} +19 -2
  138. package/dist/{types-BmzutFwy.d.mts → types-j8X4vUhB.d.ts} +19 -2
  139. package/dist/{web-vitals-BH55V7EJ.js → web-vitals-444RLW3B.js} +11 -11
  140. package/dist/{web-vitals-BH55V7EJ.js.map → web-vitals-444RLW3B.js.map} +1 -1
  141. package/dist/{web-vitals-RJYPWAR3.mjs → web-vitals-KPICZIEF.mjs} +3 -3
  142. package/dist/{web-vitals-RJYPWAR3.mjs.map → web-vitals-KPICZIEF.mjs.map} +1 -1
  143. package/package.json +17 -10
  144. package/dist/api-N35S3EES.js +0 -57
  145. package/dist/api-N35S3EES.js.map +0 -1
  146. package/dist/api-SYBTK7Z7.mjs +0 -4
  147. package/dist/api-SYBTK7Z7.mjs.map +0 -1
  148. package/dist/chunk-2IHTEKHU.mjs.map +0 -1
  149. package/dist/chunk-7H6I3ECV.mjs.map +0 -1
  150. package/dist/chunk-BGJLOJ7T.mjs +0 -605
  151. package/dist/chunk-BGJLOJ7T.mjs.map +0 -1
  152. package/dist/chunk-EQCVQC35.js +0 -35
  153. package/dist/chunk-FKVJOT2F.mjs.map +0 -1
  154. package/dist/chunk-GAJLEDRD.js.map +0 -1
  155. package/dist/chunk-NYKRE2FL.mjs +0 -31
  156. package/dist/chunk-O2OHHBUD.js.map +0 -1
  157. package/dist/chunk-QAYJV4KK.js +0 -608
  158. package/dist/chunk-QAYJV4KK.js.map +0 -1
  159. package/dist/chunk-QP5NCO2E.js.map +0 -1
  160. package/dist/chunk-V3F5J6CV.js.map +0 -1
  161. package/dist/chunk-XQJX252G.mjs.map +0 -1
  162. package/dist/generators-TO2FKJR6.mjs.map +0 -1
  163. package/dist/generators-YZWIGHCO.js.map +0 -1
  164. package/dist/migrator-V6KS75EA.mjs +0 -265
  165. package/dist/migrator-V6KS75EA.mjs.map +0 -1
  166. package/dist/migrator-XKM7YQCY.js +0 -272
  167. package/dist/migrator-XKM7YQCY.js.map +0 -1
  168. package/dist/scanner-AZV5I6US.mjs.map +0 -1
  169. package/dist/scanner-ETJAMIT7.js.map +0 -1
@@ -0,0 +1,101 @@
1
+ 'use strict';
2
+
3
+ var chunkVOR53RUR_js = require('../chunk-VOR53RUR.js');
4
+ require('../chunk-ZSMWDLMK.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "AEOBlock", {
9
+ enumerable: true,
10
+ get: function () { return chunkVOR53RUR_js.AEOBlock; }
11
+ });
12
+ Object.defineProperty(exports, "AEOCitedContent", {
13
+ enumerable: true,
14
+ get: function () { return chunkVOR53RUR_js.AEOCitedContent; }
15
+ });
16
+ Object.defineProperty(exports, "AEOClaim", {
17
+ enumerable: true,
18
+ get: function () { return chunkVOR53RUR_js.AEOClaim; }
19
+ });
20
+ Object.defineProperty(exports, "AEOComparison", {
21
+ enumerable: true,
22
+ get: function () { return chunkVOR53RUR_js.AEOComparison; }
23
+ });
24
+ Object.defineProperty(exports, "AEODefinition", {
25
+ enumerable: true,
26
+ get: function () { return chunkVOR53RUR_js.AEODefinition; }
27
+ });
28
+ Object.defineProperty(exports, "AEOEntity", {
29
+ enumerable: true,
30
+ get: function () { return chunkVOR53RUR_js.AEOEntity; }
31
+ });
32
+ Object.defineProperty(exports, "AEOProvenanceList", {
33
+ enumerable: true,
34
+ get: function () { return chunkVOR53RUR_js.AEOProvenanceList; }
35
+ });
36
+ Object.defineProperty(exports, "AEOStep", {
37
+ enumerable: true,
38
+ get: function () { return chunkVOR53RUR_js.AEOStep; }
39
+ });
40
+ Object.defineProperty(exports, "AEOSteps", {
41
+ enumerable: true,
42
+ get: function () { return chunkVOR53RUR_js.AEOSteps; }
43
+ });
44
+ Object.defineProperty(exports, "AEOSummary", {
45
+ enumerable: true,
46
+ get: function () { return chunkVOR53RUR_js.AEOSummary; }
47
+ });
48
+ Object.defineProperty(exports, "DEFAULT_SPEAKABLE_SELECTORS", {
49
+ enumerable: true,
50
+ get: function () { return chunkVOR53RUR_js.DEFAULT_SPEAKABLE_SELECTORS; }
51
+ });
52
+ Object.defineProperty(exports, "SpeakableSchema", {
53
+ enumerable: true,
54
+ get: function () { return chunkVOR53RUR_js.SpeakableSchema; }
55
+ });
56
+ Object.defineProperty(exports, "createLLMsFullTxtHandler", {
57
+ enumerable: true,
58
+ get: function () { return chunkVOR53RUR_js.createLLMsFullTxtHandler; }
59
+ });
60
+ Object.defineProperty(exports, "createLLMsTxtHandler", {
61
+ enumerable: true,
62
+ get: function () { return chunkVOR53RUR_js.createLLMsTxtHandler; }
63
+ });
64
+ Object.defineProperty(exports, "createSpeakableSchema", {
65
+ enumerable: true,
66
+ get: function () { return chunkVOR53RUR_js.createSpeakableSchema; }
67
+ });
68
+ Object.defineProperty(exports, "generateLLMsFullTxt", {
69
+ enumerable: true,
70
+ get: function () { return chunkVOR53RUR_js.generateLLMsFullTxt; }
71
+ });
72
+ Object.defineProperty(exports, "generateLLMsTxt", {
73
+ enumerable: true,
74
+ get: function () { return chunkVOR53RUR_js.generateLLMsTxt; }
75
+ });
76
+ Object.defineProperty(exports, "getBusinessInfo", {
77
+ enumerable: true,
78
+ get: function () { return chunkVOR53RUR_js.getBusinessInfo; }
79
+ });
80
+ Object.defineProperty(exports, "getFAQItems", {
81
+ enumerable: true,
82
+ get: function () { return chunkVOR53RUR_js.getFAQItems; }
83
+ });
84
+ Object.defineProperty(exports, "getLLMsData", {
85
+ enumerable: true,
86
+ get: function () { return chunkVOR53RUR_js.getLLMsData; }
87
+ });
88
+ Object.defineProperty(exports, "getPageSummaries", {
89
+ enumerable: true,
90
+ get: function () { return chunkVOR53RUR_js.getPageSummaries; }
91
+ });
92
+ Object.defineProperty(exports, "getServices", {
93
+ enumerable: true,
94
+ get: function () { return chunkVOR53RUR_js.getServices; }
95
+ });
96
+ Object.defineProperty(exports, "getSpeakableSelectorsForPage", {
97
+ enumerable: true,
98
+ get: function () { return chunkVOR53RUR_js.getSpeakableSelectorsForPage; }
99
+ });
100
+ //# sourceMappingURL=index.js.map
101
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,4 @@
1
+ export { AEOBlock, AEOCitedContent, AEOClaim, AEOComparison, AEODefinition, AEOEntity, AEOProvenanceList, AEOStep, AEOSteps, AEOSummary, DEFAULT_SPEAKABLE_SELECTORS, SpeakableSchema, createLLMsFullTxtHandler, createLLMsTxtHandler, createSpeakableSchema, generateLLMsFullTxt, generateLLMsTxt, getBusinessInfo, getFAQItems, getLLMsData, getPageSummaries, getServices, getSpeakableSelectorsForPage } from '../chunk-CG53ASWX.mjs';
2
+ import '../chunk-4XPGGLVP.mjs';
3
+ //# sourceMappingURL=index.mjs.map
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -0,0 +1,4 @@
1
+ export { migrateAnalytics, migrateFAQ, migrateFile, migrateFiles, migrateMetadata, migrateSchema, migrateSitemap } from './chunk-KKMGTT7F.mjs';
2
+ import './chunk-4XPGGLVP.mjs';
3
+ //# sourceMappingURL=migrator-ARLHUNB3.mjs.map
4
+ //# sourceMappingURL=migrator-ARLHUNB3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"migrator-ARLHUNB3.mjs"}
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ var chunk4TGJYNHV_js = require('./chunk-4TGJYNHV.js');
4
+ require('./chunk-ZSMWDLMK.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "migrateAnalytics", {
9
+ enumerable: true,
10
+ get: function () { return chunk4TGJYNHV_js.migrateAnalytics; }
11
+ });
12
+ Object.defineProperty(exports, "migrateFAQ", {
13
+ enumerable: true,
14
+ get: function () { return chunk4TGJYNHV_js.migrateFAQ; }
15
+ });
16
+ Object.defineProperty(exports, "migrateFile", {
17
+ enumerable: true,
18
+ get: function () { return chunk4TGJYNHV_js.migrateFile; }
19
+ });
20
+ Object.defineProperty(exports, "migrateFiles", {
21
+ enumerable: true,
22
+ get: function () { return chunk4TGJYNHV_js.migrateFiles; }
23
+ });
24
+ Object.defineProperty(exports, "migrateMetadata", {
25
+ enumerable: true,
26
+ get: function () { return chunk4TGJYNHV_js.migrateMetadata; }
27
+ });
28
+ Object.defineProperty(exports, "migrateSchema", {
29
+ enumerable: true,
30
+ get: function () { return chunk4TGJYNHV_js.migrateSchema; }
31
+ });
32
+ Object.defineProperty(exports, "migrateSitemap", {
33
+ enumerable: true,
34
+ get: function () { return chunk4TGJYNHV_js.migrateSitemap; }
35
+ });
36
+ //# sourceMappingURL=migrator-VZLBH3VY.js.map
37
+ //# sourceMappingURL=migrator-VZLBH3VY.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"migrator-VZLBH3VY.js"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkBZBJVG5Y_js = require('../chunk-BZBJVG5Y.js');
4
- require('../chunk-EQCVQC35.js');
4
+ require('../chunk-ZSMWDLMK.js');
5
5
 
6
6
 
7
7
 
@@ -1,4 +1,4 @@
1
1
  export { clearRedirectCache, fetchRedirectRules, generateNextRedirects, handleManagedRedirects } from '../chunk-VDMZZL2O.mjs';
2
- import '../chunk-NYKRE2FL.mjs';
2
+ import '../chunk-4XPGGLVP.mjs';
3
3
  //# sourceMappingURL=index.mjs.map
4
4
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkUJQ73OS6_js = require('../chunk-UJQ73OS6.js');
4
- require('../chunk-EQCVQC35.js');
4
+ require('../chunk-ZSMWDLMK.js');
5
5
 
6
6
 
7
7
 
@@ -1,4 +1,4 @@
1
1
  export { TestimonialSection, fetchReviewStats, fetchReviews } from '../chunk-QD66FTXZ.mjs';
2
- import '../chunk-NYKRE2FL.mjs';
2
+ import '../chunk-4XPGGLVP.mjs';
3
3
  //# sourceMappingURL=index.mjs.map
4
4
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,4 @@
1
- import { l as GetRedirectOptions, R as RedirectResult, p as GetRobotsOptions, o as RobotsDirective, r as GetSitemapEntriesOptions, q as SitemapEntry } from './types-BmzutFwy.js';
1
+ import { m as GetRedirectOptions, R as RedirectResult, q as GetRobotsOptions, p as RobotsDirective, s as GetSitemapEntriesOptions, r as SitemapEntry } from './types-j8X4vUhB.js';
2
2
 
3
3
  /**
4
4
  * Get redirect for a path if one exists
@@ -1,4 +1,4 @@
1
- import { l as GetRedirectOptions, R as RedirectResult, p as GetRobotsOptions, o as RobotsDirective, r as GetSitemapEntriesOptions, q as SitemapEntry } from './types-BmzutFwy.mjs';
1
+ import { m as GetRedirectOptions, R as RedirectResult, q as GetRobotsOptions, p as RobotsDirective, s as GetSitemapEntriesOptions, r as SitemapEntry } from './types-j8X4vUhB.mjs';
2
2
 
3
3
  /**
4
4
  * Get redirect for a path if one exists
@@ -0,0 +1,4 @@
1
+ export { scanCodebase, scanForAnalytics, scanForFAQs, scanForForms, scanForImages, scanForManagedFAQPaths, scanForMetadata, scanForSchemas, scanForSitemapFiles, scanForSitemaps, scanForWidgets } from './chunk-44OMJFCG.mjs';
2
+ import './chunk-4XPGGLVP.mjs';
3
+ //# sourceMappingURL=scanner-7ZMUM2P5.mjs.map
4
+ //# sourceMappingURL=scanner-7ZMUM2P5.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"scanner-7ZMUM2P5.mjs"}
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ var chunkDERI27QC_js = require('./chunk-DERI27QC.js');
4
+ require('./chunk-ZSMWDLMK.js');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "scanCodebase", {
9
+ enumerable: true,
10
+ get: function () { return chunkDERI27QC_js.scanCodebase; }
11
+ });
12
+ Object.defineProperty(exports, "scanForAnalytics", {
13
+ enumerable: true,
14
+ get: function () { return chunkDERI27QC_js.scanForAnalytics; }
15
+ });
16
+ Object.defineProperty(exports, "scanForFAQs", {
17
+ enumerable: true,
18
+ get: function () { return chunkDERI27QC_js.scanForFAQs; }
19
+ });
20
+ Object.defineProperty(exports, "scanForForms", {
21
+ enumerable: true,
22
+ get: function () { return chunkDERI27QC_js.scanForForms; }
23
+ });
24
+ Object.defineProperty(exports, "scanForImages", {
25
+ enumerable: true,
26
+ get: function () { return chunkDERI27QC_js.scanForImages; }
27
+ });
28
+ Object.defineProperty(exports, "scanForManagedFAQPaths", {
29
+ enumerable: true,
30
+ get: function () { return chunkDERI27QC_js.scanForManagedFAQPaths; }
31
+ });
32
+ Object.defineProperty(exports, "scanForMetadata", {
33
+ enumerable: true,
34
+ get: function () { return chunkDERI27QC_js.scanForMetadata; }
35
+ });
36
+ Object.defineProperty(exports, "scanForSchemas", {
37
+ enumerable: true,
38
+ get: function () { return chunkDERI27QC_js.scanForSchemas; }
39
+ });
40
+ Object.defineProperty(exports, "scanForSitemapFiles", {
41
+ enumerable: true,
42
+ get: function () { return chunkDERI27QC_js.scanForSitemapFiles; }
43
+ });
44
+ Object.defineProperty(exports, "scanForSitemaps", {
45
+ enumerable: true,
46
+ get: function () { return chunkDERI27QC_js.scanForSitemaps; }
47
+ });
48
+ Object.defineProperty(exports, "scanForWidgets", {
49
+ enumerable: true,
50
+ get: function () { return chunkDERI27QC_js.scanForWidgets; }
51
+ });
52
+ //# sourceMappingURL=scanner-OY7UF3WA.js.map
53
+ //# sourceMappingURL=scanner-OY7UF3WA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"scanner-OY7UF3WA.js"}
@@ -1,9 +1,172 @@
1
- import { G as GetManagedMetadataOptions, M as ManagedMetadataResult, j as GetABVariantOptions, i as ABTestResult, b as ManagedSchemaProps, d as ManagedFAQProps, f as ManagedInternalLinksProps, h as ManagedContentProps, g as ManagedContentBlock, n as ManagedScriptsProps } from '../types-BmzutFwy.mjs';
2
- export { A as ABTest, F as FAQItem, l as GetRedirectOptions, p as GetRobotsOptions, r as GetSitemapEntriesOptions, c as ManagedFAQData, e as ManagedLink, k as ManagedRedirect, m as ManagedScript, R as RedirectResult, o as RobotsDirective, S as SEOPageData, a as SchemaMarkup, q as SitemapEntry, U as UptradeSEOConfig } from '../types-BmzutFwy.mjs';
3
- export { g as generateSitemap, a as getRedirect, b as getRobotsDirective, i as isIndexable } from '../routing-CgmRi9tD.mjs';
1
+ import { G as GetManagedMetadataOptions, M as ManagedMetadataResult, k as GetABVariantOptions, j as ABTestResult, b as ManagedSchemaProps, d as ManagedFAQProps, f as ManagedInternalLinksProps, h as ManagedContentProps, g as ManagedContentBlock, o as ManagedScriptsProps } from '../types-j8X4vUhB.mjs';
2
+ export { A as ABTest, F as FAQItem, m as GetRedirectOptions, q as GetRobotsOptions, s as GetSitemapEntriesOptions, c as ManagedFAQData, e as ManagedLink, l as ManagedRedirect, n as ManagedScript, R as RedirectResult, p as RobotsDirective, S as SEOPageData, a as SchemaMarkup, r as SitemapEntry, U as UptradeSEOConfig } from '../types-j8X4vUhB.mjs';
3
+ export { g as generateSitemap, a as getRedirect, b as getRobotsDirective, i as isIndexable } from '../routing-CIOFpFCB.mjs';
4
4
  import * as React from 'react';
5
5
  import 'next';
6
6
 
7
+ /**
8
+ * @uptrade/site-kit/seo - Server-Only API Functions
9
+ *
10
+ * SECURITY: These functions use private environment variables
11
+ * and should ONLY be imported in server-side code (RSC, API routes, server actions).
12
+ *
13
+ * DO NOT import this file in client components or it will expose API keys.
14
+ */
15
+
16
+ /**
17
+ * Fetch SEO page data - cached per request
18
+ * @server-only
19
+ */
20
+ declare const getSEOPageData: (projectId: string, path: string) => Promise<any>;
21
+ /**
22
+ * Fetch schema markups for a page - cached per request
23
+ * @server-only
24
+ */
25
+ declare const getSchemaMarkups: (projectId: string, path: string, options?: {
26
+ includeTypes?: string[];
27
+ excludeTypes?: string[];
28
+ }) => Promise<any[]>;
29
+ /**
30
+ * Fetch FAQ data for a page - cached per request
31
+ * @server-only
32
+ */
33
+ declare const getFAQData: (projectId: string, path: string) => Promise<any>;
34
+ /**
35
+ * Fetch internal links for a page - cached per request
36
+ * @server-only
37
+ */
38
+ declare const getInternalLinks: (projectId: string, sourcePath: string, options?: {
39
+ position?: string;
40
+ limit?: number;
41
+ }) => Promise<any[]>;
42
+ /**
43
+ * Fetch content block - cached per request
44
+ * @server-only
45
+ */
46
+ declare const getContentBlock: (projectId: string, path: string, section: string) => Promise<any>;
47
+ /**
48
+ * Fetch A/B test and determine variant - cached per request
49
+ * @server-only
50
+ */
51
+ declare const getABTest: (projectId: string, path: string, field: string) => Promise<any>;
52
+ /**
53
+ * Record A/B test impression
54
+ * @server-only
55
+ */
56
+ declare function recordABImpression(testId: string, variant: 'a' | 'b', sessionId?: string): Promise<void>;
57
+ /**
58
+ * Fetch redirect for a path - cached per request
59
+ * @server-only
60
+ */
61
+ declare const getRedirectData: (projectId: string, path: string) => Promise<any>;
62
+ /**
63
+ * Fetch managed scripts - cached per request
64
+ * @server-only
65
+ */
66
+ declare const getManagedScripts: (projectId: string, position: string, currentPath?: string) => Promise<any[]>;
67
+ /**
68
+ * Fetch robots directive for a page - cached per request
69
+ * @server-only
70
+ */
71
+ declare const getRobotsData: (projectId: string, path: string) => Promise<any>;
72
+ /**
73
+ * Fetch sitemap entries - cached per request
74
+ * @server-only
75
+ */
76
+ declare const getSitemapEntries: (projectId: string, options?: {
77
+ publishedOnly?: boolean;
78
+ }) => Promise<any[]>;
79
+ /**
80
+ * Register/sync sitemap entries from the client site
81
+ * Call this at build time to populate seo_pages from your sitemap.xml
82
+ * @server-only
83
+ *
84
+ * @example
85
+ * ```ts
86
+ * // scripts/register-sitemap.ts (run at build time)
87
+ * import { registerSitemap } from '@uptrade/seo/server'
88
+ *
89
+ * await registerSitemap([
90
+ * { path: '/', priority: 1.0, changefreq: 'daily' },
91
+ * { path: '/about', priority: 0.8, changefreq: 'weekly' },
92
+ * ])
93
+ * ```
94
+ */
95
+ declare function registerSitemap(entries: Array<{
96
+ path: string;
97
+ title?: string;
98
+ priority?: number;
99
+ changefreq?: 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never';
100
+ }>): Promise<{
101
+ success: boolean;
102
+ created: number;
103
+ updated: number;
104
+ }>;
105
+ /**
106
+ * Entity types for the knowledge graph
107
+ */
108
+ type EntityType = 'organization' | 'person' | 'service' | 'product' | 'location' | 'concept' | 'credential';
109
+ /**
110
+ * Entity from the knowledge graph
111
+ */
112
+ interface SEOEntity {
113
+ id: string;
114
+ project_id: string;
115
+ entity_type: EntityType;
116
+ name: string;
117
+ slug: string;
118
+ properties: Record<string, unknown>;
119
+ knows_about: string[];
120
+ same_as: string[];
121
+ schema_type?: string;
122
+ is_primary: boolean;
123
+ }
124
+ /**
125
+ * Fetch entities for a project - cached per request
126
+ * Returns the entity graph for enhanced schema markup
127
+ * @server-only
128
+ */
129
+ declare const getEntities: (projectId: string, options?: {
130
+ type?: EntityType;
131
+ }) => Promise<SEOEntity[]>;
132
+ /**
133
+ * Fetch primary entity (the business) - cached per request
134
+ * @server-only
135
+ */
136
+ declare const getPrimaryEntity: (projectId: string) => Promise<SEOEntity | null>;
137
+ /**
138
+ * Fetch entity-enhanced schema for a page
139
+ * Returns Organization schema with knowsAbout, areaServed, employee, etc.
140
+ * @server-only
141
+ */
142
+ declare const getEntityEnhancedSchema: (projectId: string, pagePath: string) => Promise<object[]>;
143
+ /**
144
+ * Get AI visibility score for a page
145
+ * @server-only
146
+ */
147
+ declare const getVisibilityScore: (projectId: string, pagePath: string) => Promise<{
148
+ overall_score: number;
149
+ entity_coverage: number;
150
+ answer_density: number;
151
+ chunk_readability: number;
152
+ authority_signals: number;
153
+ schema_completeness: number;
154
+ } | null>;
155
+ /**
156
+ * Get AI visibility summary for project
157
+ * @server-only
158
+ */
159
+ declare const getVisibilitySummary: (projectId: string) => Promise<{
160
+ overall_score: number;
161
+ total_entities: number;
162
+ pages_analyzed: number;
163
+ top_recommendations: Array<{
164
+ priority: string;
165
+ type: string;
166
+ message: string;
167
+ }>;
168
+ } | null>;
169
+
7
170
  /**
8
171
  * Get managed metadata for a page
9
172
  *
@@ -51,10 +214,35 @@ declare function getManagedMetadataWithAB(options: GetManagedMetadataOptions & {
51
214
  sessionId?: string;
52
215
  }): Promise<ManagedMetadataResult>;
53
216
 
217
+ /**
218
+ * Speakable configuration for schema markup
219
+ */
220
+ interface SpeakableSpec {
221
+ /** CSS selectors for speakable content */
222
+ cssSelector?: string[];
223
+ /** XPath selectors for speakable content */
224
+ xpath?: string[];
225
+ }
226
+ /**
227
+ * Extended schema props with speakable and entity support
228
+ */
229
+ interface EnhancedManagedSchemaProps extends ManagedSchemaProps {
230
+ /** Add speakable specification to page schema */
231
+ speakable?: SpeakableSpec | boolean;
232
+ /** Page type for speakable (WebPage or Article) */
233
+ pageType?: 'WebPage' | 'Article';
234
+ /** Page name for speakable schema */
235
+ pageName?: string;
236
+ /** Page URL for speakable schema */
237
+ pageUrl?: string;
238
+ /** Include entity-enhanced schema from knowledge graph (AI Visibility) */
239
+ includeEntityGraph?: boolean;
240
+ }
54
241
  /**
55
242
  * ManagedSchema - Server Component that injects JSON-LD schema
56
243
  *
57
- * Fetches schema markup from Portal and renders as script tags
244
+ * Fetches schema markup from Portal and renders as script tags.
245
+ * Now with speakable support for voice assistants and AI systems.
58
246
  *
59
247
  * @example
60
248
  * ```tsx
@@ -67,6 +255,9 @@ declare function getManagedMetadataWithAB(options: GetManagedMetadataOptions & {
67
255
  * <ManagedSchema
68
256
  * projectId={process.env.UPTRADE_PROJECT_ID!}
69
257
  * path={`/services/${params.slug}`}
258
+ * speakable={true}
259
+ * pageName="Family Law Services"
260
+ * pageUrl="https://example.com/services/family-law"
70
261
  * />
71
262
  * <main>...</main>
72
263
  * </>
@@ -74,7 +265,7 @@ declare function getManagedMetadataWithAB(options: GetManagedMetadataOptions & {
74
265
  * }
75
266
  * ```
76
267
  */
77
- declare function ManagedSchema({ projectId, path, additionalSchemas, includeTypes, excludeTypes, }: ManagedSchemaProps): Promise<React.ReactElement | null>;
268
+ declare function ManagedSchema({ projectId, path, additionalSchemas, includeTypes, excludeTypes, speakable, pageType, pageName, pageUrl, includeEntityGraph, }: EnhancedManagedSchemaProps): Promise<React.ReactElement | null>;
78
269
  /**
79
270
  * Generate schema for a specific type with managed data
80
271
  *
@@ -180,7 +371,7 @@ declare function ManagedInternalLinks({ projectId, path, position, limit, classN
180
371
  * }
181
372
  * ```
182
373
  */
183
- declare function ManagedContent({ projectId, path, section, fallback, className, components, }: ManagedContentProps): Promise<React.ReactElement | null>;
374
+ declare function ManagedContent({ projectId, path, section, fallback, className, components, injectEntityAnnotations: shouldInjectEntities, }: ManagedContentProps): Promise<React.ReactElement | null>;
184
375
  /**
185
376
  * Get content block data without rendering
186
377
  *
@@ -234,6 +425,75 @@ declare function ManagedNoScripts({ projectId, path, }: {
234
425
  path?: string;
235
426
  }): Promise<React.ReactElement | null>;
236
427
 
428
+ /**
429
+ * LocationPageContent - Server Component for fetching location page sections
430
+ *
431
+ * Usage:
432
+ * <LocationPageContent
433
+ * projectId="uuid"
434
+ * path="/areas/seattle-wa/plumbing"
435
+ * section="hero"
436
+ * />
437
+ *
438
+ * This component fetches content from seo_location_pages.sections for a given
439
+ * path and section, making it editable in Portal without code deploys.
440
+ */
441
+
442
+ interface LocationPageContentProps {
443
+ /** Uptrade project ID */
444
+ projectId: string;
445
+ /** Page path (e.g., /areas/seattle-wa/plumbing) */
446
+ path: string;
447
+ /** Section ID or type to fetch (e.g., "hero", "intro", "services") */
448
+ section: string;
449
+ /** Fallback content if section not found */
450
+ fallback?: React.ReactNode;
451
+ /** Additional className for wrapper */
452
+ className?: string;
453
+ /** Custom renderer for the section data */
454
+ render?: (data: LocationSectionData) => React.ReactNode;
455
+ }
456
+ interface LocationSectionData {
457
+ type: string;
458
+ content: any;
459
+ }
460
+ interface HeroSectionContent {
461
+ title: string;
462
+ subtitle?: string;
463
+ cta_text?: string;
464
+ cta_href?: string;
465
+ stats?: Array<{
466
+ label: string;
467
+ value: string;
468
+ }>;
469
+ background_image?: string;
470
+ }
471
+ interface ServiceGridContent {
472
+ services: Array<{
473
+ title: string;
474
+ description: string;
475
+ href: string;
476
+ icon?: string;
477
+ }>;
478
+ }
479
+ interface TextSectionContent {
480
+ heading?: string;
481
+ paragraphs: string[];
482
+ html?: string;
483
+ }
484
+ /**
485
+ * Fetch location page section content from Portal
486
+ * Cached with React's cache() for request deduplication
487
+ */
488
+ declare const getLocationSection: (projectId: string, path: string, section: string) => Promise<LocationSectionData | null>;
489
+ /**
490
+ * LocationPageContent - Server Component
491
+ *
492
+ * Fetches and renders a section of a location page from Portal.
493
+ * Content is fully editable in Portal → SEO → Location Pages.
494
+ */
495
+ declare function LocationPageContent({ projectId, path, section, fallback, className, render, }: LocationPageContentProps): Promise<React.ReactElement | null>;
496
+
237
497
  /**
238
498
  * SitemapSync - Automatically sync sitemap.xml to Portal API
239
499
  *
@@ -270,4 +530,4 @@ interface SitemapSyncProps {
270
530
  }
271
531
  declare function SitemapSync({ sitemapUrl, syncInterval, debug, }: SitemapSyncProps): null;
272
532
 
273
- export { ABTestResult, GetABVariantOptions, GetManagedMetadataOptions, ManagedContent, ManagedContentBlock, ManagedContentProps, ManagedFAQ, ManagedFAQProps, ManagedInternalLinks, ManagedInternalLinksProps, ManagedMetadataResult, ManagedNoScripts, ManagedSchema, ManagedSchemaProps, ManagedScripts, ManagedScriptsProps, SitemapSync, createBreadcrumbSchema, createSchema, ManagedSchema as default, getABVariant, getManagedContentData, getManagedMetadata, getManagedMetadataWithAB };
533
+ export { ABTestResult, type EntityType, GetABVariantOptions, GetManagedMetadataOptions, type HeroSectionContent as LocationHeroContent, LocationPageContent, type LocationPageContentProps, type LocationSectionData, type ServiceGridContent as LocationServicesContent, type TextSectionContent as LocationTextContent, ManagedContent, ManagedContentBlock, ManagedContentProps, ManagedFAQ, ManagedFAQProps, ManagedInternalLinks, ManagedInternalLinksProps, ManagedMetadataResult, ManagedNoScripts, ManagedSchema, ManagedSchemaProps, ManagedScripts, ManagedScriptsProps, type SEOEntity, SitemapSync, createBreadcrumbSchema, createSchema, ManagedSchema as default, getABTest, getABVariant, getContentBlock, getEntities, getEntityEnhancedSchema, getFAQData, getInternalLinks, getLocationSection, getManagedContentData, getManagedMetadata, getManagedMetadataWithAB, getManagedScripts, getPrimaryEntity, getRedirectData, getRobotsData, getSEOPageData, getSchemaMarkups, getSitemapEntries, getVisibilityScore, getVisibilitySummary, recordABImpression, registerSitemap };