@frontmcp/uipack 0.6.1 → 0.6.3

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 (315) hide show
  1. package/CLAUDE.md +88 -105
  2. package/README.md +1 -0
  3. package/adapters/index.d.ts +1 -1
  4. package/adapters/index.d.ts.map +1 -1
  5. package/adapters/index.js +35 -2
  6. package/adapters/platform-meta.d.ts +29 -0
  7. package/adapters/platform-meta.d.ts.map +1 -1
  8. package/base-template/default-base-template.d.ts +0 -1
  9. package/base-template/default-base-template.d.ts.map +1 -1
  10. package/base-template/index.js +32 -37
  11. package/build/builders/base-builder.d.ts +124 -0
  12. package/build/builders/base-builder.d.ts.map +1 -0
  13. package/build/builders/esbuild-config.d.ts +94 -0
  14. package/build/builders/esbuild-config.d.ts.map +1 -0
  15. package/build/builders/hybrid-builder.d.ts +93 -0
  16. package/build/builders/hybrid-builder.d.ts.map +1 -0
  17. package/build/builders/index.d.ts +17 -0
  18. package/build/builders/index.d.ts.map +1 -0
  19. package/build/builders/inline-builder.d.ts +83 -0
  20. package/build/builders/inline-builder.d.ts.map +1 -0
  21. package/build/builders/static-builder.d.ts +78 -0
  22. package/build/builders/static-builder.d.ts.map +1 -0
  23. package/build/builders/types.d.ts +341 -0
  24. package/build/builders/types.d.ts.map +1 -0
  25. package/build/cdn-resources.d.ts +3 -2
  26. package/build/cdn-resources.d.ts.map +1 -1
  27. package/build/hybrid-data.d.ts +127 -0
  28. package/build/hybrid-data.d.ts.map +1 -0
  29. package/build/index.d.ts +4 -0
  30. package/build/index.d.ts.map +1 -1
  31. package/build/index.js +1901 -173
  32. package/build/ui-components-browser.d.ts +64 -0
  33. package/build/ui-components-browser.d.ts.map +1 -0
  34. package/build/widget-manifest.d.ts.map +1 -1
  35. package/bundler/file-cache/component-builder.d.ts.map +1 -1
  36. package/bundler/file-cache/storage/redis.d.ts.map +1 -1
  37. package/bundler/index.js +11 -6
  38. package/dependency/cdn-registry.d.ts +1 -1
  39. package/dependency/cdn-registry.d.ts.map +1 -1
  40. package/dependency/import-map.d.ts.map +1 -1
  41. package/dependency/index.js +93 -121
  42. package/dependency/resolver.d.ts.map +1 -1
  43. package/esm/adapters/{index.js → index.mjs} +34 -2
  44. package/esm/base-template/{index.js → index.mjs} +32 -37
  45. package/esm/build/{index.js → index.mjs} +1872 -173
  46. package/esm/bundler/{index.js → index.mjs} +12 -7
  47. package/esm/dependency/{index.js → index.mjs} +93 -121
  48. package/esm/handlebars/{index.js → index.mjs} +0 -1
  49. package/esm/{index.js → index.mjs} +2532 -827
  50. package/esm/package.json +15 -16
  51. package/esm/registry/{index.js → index.mjs} +200 -265
  52. package/esm/renderers/{index.js → index.mjs} +110 -201
  53. package/esm/runtime/{index.js → index.mjs} +44 -35
  54. package/esm/styles/{index.js → index.mjs} +6 -6
  55. package/esm/theme/{index.js → index.mjs} +90 -42
  56. package/esm/tool-template/{index.js → index.mjs} +35 -28
  57. package/esm/typings/{index.js → index.mjs} +157 -1
  58. package/esm/utils/{index.js → index.mjs} +24 -0
  59. package/esm/validation/{index.js → index.mjs} +0 -1
  60. package/handlebars/expression-extractor.d.ts.map +1 -1
  61. package/handlebars/index.d.ts.map +1 -1
  62. package/handlebars/index.js +0 -1
  63. package/index.d.ts +2 -1
  64. package/index.d.ts.map +1 -1
  65. package/index.js +2560 -831
  66. package/package.json +7 -6
  67. package/preview/claude-preview.d.ts +67 -0
  68. package/preview/claude-preview.d.ts.map +1 -0
  69. package/preview/generic-preview.d.ts +67 -0
  70. package/preview/generic-preview.d.ts.map +1 -0
  71. package/preview/index.d.ts +36 -0
  72. package/preview/index.d.ts.map +1 -0
  73. package/preview/openai-preview.d.ts +70 -0
  74. package/preview/openai-preview.d.ts.map +1 -0
  75. package/preview/types.d.ts +185 -0
  76. package/preview/types.d.ts.map +1 -0
  77. package/registry/index.js +200 -265
  78. package/registry/render-template.d.ts.map +1 -1
  79. package/renderers/index.d.ts +2 -2
  80. package/renderers/index.d.ts.map +1 -1
  81. package/renderers/index.js +114 -205
  82. package/renderers/mdx-client.renderer.d.ts +124 -0
  83. package/renderers/mdx-client.renderer.d.ts.map +1 -0
  84. package/renderers/registry.d.ts +2 -2
  85. package/renderers/registry.d.ts.map +1 -1
  86. package/renderers/types.d.ts +3 -2
  87. package/renderers/types.d.ts.map +1 -1
  88. package/renderers/utils/transpiler.d.ts +8 -27
  89. package/renderers/utils/transpiler.d.ts.map +1 -1
  90. package/runtime/index.js +44 -35
  91. package/runtime/mcp-bridge.d.ts.map +1 -1
  92. package/runtime/renderer-runtime.d.ts.map +1 -1
  93. package/runtime/wrapper.d.ts.map +1 -1
  94. package/styles/index.js +6 -6
  95. package/styles/variants.d.ts +1 -1
  96. package/styles/variants.d.ts.map +1 -1
  97. package/theme/cdn.d.ts.map +1 -1
  98. package/theme/css-to-theme.d.ts +91 -0
  99. package/theme/css-to-theme.d.ts.map +1 -0
  100. package/theme/index.d.ts +2 -1
  101. package/theme/index.d.ts.map +1 -1
  102. package/theme/index.js +92 -43
  103. package/theme/platforms.d.ts +1 -6
  104. package/theme/platforms.d.ts.map +1 -1
  105. package/theme/theme.d.ts.map +1 -1
  106. package/tool-template/builder.d.ts.map +1 -1
  107. package/tool-template/index.js +35 -28
  108. package/typings/index.d.ts +4 -4
  109. package/typings/index.d.ts.map +1 -1
  110. package/typings/index.js +162 -1
  111. package/typings/schemas.d.ts +30 -0
  112. package/typings/schemas.d.ts.map +1 -1
  113. package/typings/type-fetcher.d.ts +74 -1
  114. package/typings/type-fetcher.d.ts.map +1 -1
  115. package/typings/types.d.ts +72 -1
  116. package/typings/types.d.ts.map +1 -1
  117. package/utils/escape-html.d.ts +44 -0
  118. package/utils/escape-html.d.ts.map +1 -1
  119. package/utils/index.d.ts +1 -1
  120. package/utils/index.d.ts.map +1 -1
  121. package/utils/index.js +26 -0
  122. package/validation/index.js +0 -1
  123. package/validation/template-validator.d.ts.map +1 -1
  124. package/esm/adapters/index.d.ts +0 -13
  125. package/esm/adapters/index.d.ts.map +0 -1
  126. package/esm/adapters/platform-meta.d.ts +0 -166
  127. package/esm/adapters/platform-meta.d.ts.map +0 -1
  128. package/esm/adapters/response-builder.d.ts +0 -108
  129. package/esm/adapters/response-builder.d.ts.map +0 -1
  130. package/esm/adapters/serving-mode.d.ts +0 -107
  131. package/esm/adapters/serving-mode.d.ts.map +0 -1
  132. package/esm/base-template/bridge.d.ts +0 -90
  133. package/esm/base-template/bridge.d.ts.map +0 -1
  134. package/esm/base-template/default-base-template.d.ts +0 -92
  135. package/esm/base-template/default-base-template.d.ts.map +0 -1
  136. package/esm/base-template/index.d.ts +0 -15
  137. package/esm/base-template/index.d.ts.map +0 -1
  138. package/esm/base-template/polyfills.d.ts +0 -31
  139. package/esm/base-template/polyfills.d.ts.map +0 -1
  140. package/esm/base-template/theme-styles.d.ts +0 -74
  141. package/esm/base-template/theme-styles.d.ts.map +0 -1
  142. package/esm/bridge-runtime/iife-generator.d.ts +0 -62
  143. package/esm/bridge-runtime/iife-generator.d.ts.map +0 -1
  144. package/esm/bridge-runtime/index.d.ts +0 -10
  145. package/esm/bridge-runtime/index.d.ts.map +0 -1
  146. package/esm/build/cdn-resources.d.ts +0 -243
  147. package/esm/build/cdn-resources.d.ts.map +0 -1
  148. package/esm/build/index.d.ts +0 -295
  149. package/esm/build/index.d.ts.map +0 -1
  150. package/esm/build/widget-manifest.d.ts +0 -362
  151. package/esm/build/widget-manifest.d.ts.map +0 -1
  152. package/esm/bundler/cache.d.ts +0 -173
  153. package/esm/bundler/cache.d.ts.map +0 -1
  154. package/esm/bundler/file-cache/component-builder.d.ts +0 -167
  155. package/esm/bundler/file-cache/component-builder.d.ts.map +0 -1
  156. package/esm/bundler/file-cache/hash-calculator.d.ts +0 -155
  157. package/esm/bundler/file-cache/hash-calculator.d.ts.map +0 -1
  158. package/esm/bundler/file-cache/index.d.ts +0 -12
  159. package/esm/bundler/file-cache/index.d.ts.map +0 -1
  160. package/esm/bundler/file-cache/storage/filesystem.d.ts +0 -149
  161. package/esm/bundler/file-cache/storage/filesystem.d.ts.map +0 -1
  162. package/esm/bundler/file-cache/storage/index.d.ts +0 -11
  163. package/esm/bundler/file-cache/storage/index.d.ts.map +0 -1
  164. package/esm/bundler/file-cache/storage/interface.d.ts +0 -152
  165. package/esm/bundler/file-cache/storage/interface.d.ts.map +0 -1
  166. package/esm/bundler/file-cache/storage/redis.d.ts +0 -139
  167. package/esm/bundler/file-cache/storage/redis.d.ts.map +0 -1
  168. package/esm/bundler/index.d.ts +0 -35
  169. package/esm/bundler/index.d.ts.map +0 -1
  170. package/esm/bundler/sandbox/enclave-adapter.d.ts +0 -121
  171. package/esm/bundler/sandbox/enclave-adapter.d.ts.map +0 -1
  172. package/esm/bundler/sandbox/executor.d.ts +0 -14
  173. package/esm/bundler/sandbox/executor.d.ts.map +0 -1
  174. package/esm/bundler/sandbox/policy.d.ts +0 -62
  175. package/esm/bundler/sandbox/policy.d.ts.map +0 -1
  176. package/esm/bundler/types.d.ts +0 -702
  177. package/esm/bundler/types.d.ts.map +0 -1
  178. package/esm/dependency/cdn-registry.d.ts +0 -98
  179. package/esm/dependency/cdn-registry.d.ts.map +0 -1
  180. package/esm/dependency/import-map.d.ts +0 -186
  181. package/esm/dependency/import-map.d.ts.map +0 -1
  182. package/esm/dependency/import-parser.d.ts +0 -82
  183. package/esm/dependency/import-parser.d.ts.map +0 -1
  184. package/esm/dependency/index.d.ts +0 -17
  185. package/esm/dependency/index.d.ts.map +0 -1
  186. package/esm/dependency/resolver.d.ts +0 -164
  187. package/esm/dependency/resolver.d.ts.map +0 -1
  188. package/esm/dependency/schemas.d.ts +0 -486
  189. package/esm/dependency/schemas.d.ts.map +0 -1
  190. package/esm/dependency/template-loader.d.ts +0 -204
  191. package/esm/dependency/template-loader.d.ts.map +0 -1
  192. package/esm/dependency/template-processor.d.ts +0 -118
  193. package/esm/dependency/template-processor.d.ts.map +0 -1
  194. package/esm/dependency/types.d.ts +0 -739
  195. package/esm/dependency/types.d.ts.map +0 -1
  196. package/esm/handlebars/expression-extractor.d.ts +0 -147
  197. package/esm/handlebars/expression-extractor.d.ts.map +0 -1
  198. package/esm/handlebars/helpers.d.ts +0 -339
  199. package/esm/handlebars/helpers.d.ts.map +0 -1
  200. package/esm/handlebars/index.d.ts +0 -195
  201. package/esm/handlebars/index.d.ts.map +0 -1
  202. package/esm/index.d.ts +0 -50
  203. package/esm/index.d.ts.map +0 -1
  204. package/esm/registry/index.d.ts +0 -46
  205. package/esm/registry/index.d.ts.map +0 -1
  206. package/esm/registry/render-template.d.ts +0 -91
  207. package/esm/registry/render-template.d.ts.map +0 -1
  208. package/esm/registry/tool-ui.registry.d.ts +0 -294
  209. package/esm/registry/tool-ui.registry.d.ts.map +0 -1
  210. package/esm/registry/uri-utils.d.ts +0 -56
  211. package/esm/registry/uri-utils.d.ts.map +0 -1
  212. package/esm/renderers/cache.d.ts +0 -145
  213. package/esm/renderers/cache.d.ts.map +0 -1
  214. package/esm/renderers/html.renderer.d.ts +0 -123
  215. package/esm/renderers/html.renderer.d.ts.map +0 -1
  216. package/esm/renderers/index.d.ts +0 -36
  217. package/esm/renderers/index.d.ts.map +0 -1
  218. package/esm/renderers/mdx.renderer.d.ts +0 -120
  219. package/esm/renderers/mdx.renderer.d.ts.map +0 -1
  220. package/esm/renderers/registry.d.ts +0 -133
  221. package/esm/renderers/registry.d.ts.map +0 -1
  222. package/esm/renderers/types.d.ts +0 -342
  223. package/esm/renderers/types.d.ts.map +0 -1
  224. package/esm/renderers/utils/detect.d.ts +0 -107
  225. package/esm/renderers/utils/detect.d.ts.map +0 -1
  226. package/esm/renderers/utils/hash.d.ts +0 -40
  227. package/esm/renderers/utils/hash.d.ts.map +0 -1
  228. package/esm/renderers/utils/index.d.ts +0 -9
  229. package/esm/renderers/utils/index.d.ts.map +0 -1
  230. package/esm/renderers/utils/transpiler.d.ts +0 -89
  231. package/esm/renderers/utils/transpiler.d.ts.map +0 -1
  232. package/esm/runtime/adapters/html.adapter.d.ts +0 -59
  233. package/esm/runtime/adapters/html.adapter.d.ts.map +0 -1
  234. package/esm/runtime/adapters/index.d.ts +0 -26
  235. package/esm/runtime/adapters/index.d.ts.map +0 -1
  236. package/esm/runtime/adapters/mdx.adapter.d.ts +0 -73
  237. package/esm/runtime/adapters/mdx.adapter.d.ts.map +0 -1
  238. package/esm/runtime/adapters/types.d.ts +0 -95
  239. package/esm/runtime/adapters/types.d.ts.map +0 -1
  240. package/esm/runtime/csp.d.ts +0 -48
  241. package/esm/runtime/csp.d.ts.map +0 -1
  242. package/esm/runtime/index.d.ts +0 -17
  243. package/esm/runtime/index.d.ts.map +0 -1
  244. package/esm/runtime/mcp-bridge.d.ts +0 -101
  245. package/esm/runtime/mcp-bridge.d.ts.map +0 -1
  246. package/esm/runtime/renderer-runtime.d.ts +0 -133
  247. package/esm/runtime/renderer-runtime.d.ts.map +0 -1
  248. package/esm/runtime/sanitizer.d.ts +0 -172
  249. package/esm/runtime/sanitizer.d.ts.map +0 -1
  250. package/esm/runtime/types.d.ts +0 -415
  251. package/esm/runtime/types.d.ts.map +0 -1
  252. package/esm/runtime/wrapper.d.ts +0 -421
  253. package/esm/runtime/wrapper.d.ts.map +0 -1
  254. package/esm/styles/index.d.ts +0 -8
  255. package/esm/styles/index.d.ts.map +0 -1
  256. package/esm/styles/variants.d.ts +0 -51
  257. package/esm/styles/variants.d.ts.map +0 -1
  258. package/esm/theme/cdn.d.ts +0 -195
  259. package/esm/theme/cdn.d.ts.map +0 -1
  260. package/esm/theme/index.d.ts +0 -18
  261. package/esm/theme/index.d.ts.map +0 -1
  262. package/esm/theme/platforms.d.ts +0 -107
  263. package/esm/theme/platforms.d.ts.map +0 -1
  264. package/esm/theme/presets/github-openai.d.ts +0 -50
  265. package/esm/theme/presets/github-openai.d.ts.map +0 -1
  266. package/esm/theme/presets/index.d.ts +0 -11
  267. package/esm/theme/presets/index.d.ts.map +0 -1
  268. package/esm/theme/theme.d.ts +0 -396
  269. package/esm/theme/theme.d.ts.map +0 -1
  270. package/esm/tool-template/builder.d.ts +0 -213
  271. package/esm/tool-template/builder.d.ts.map +0 -1
  272. package/esm/tool-template/index.d.ts +0 -16
  273. package/esm/tool-template/index.d.ts.map +0 -1
  274. package/esm/types/index.d.ts +0 -14
  275. package/esm/types/index.d.ts.map +0 -1
  276. package/esm/types/ui-config.d.ts +0 -641
  277. package/esm/types/ui-config.d.ts.map +0 -1
  278. package/esm/types/ui-runtime.d.ts +0 -1008
  279. package/esm/types/ui-runtime.d.ts.map +0 -1
  280. package/esm/typings/cache/cache-adapter.d.ts +0 -125
  281. package/esm/typings/cache/cache-adapter.d.ts.map +0 -1
  282. package/esm/typings/cache/index.d.ts +0 -10
  283. package/esm/typings/cache/index.d.ts.map +0 -1
  284. package/esm/typings/cache/memory-cache.d.ts +0 -92
  285. package/esm/typings/cache/memory-cache.d.ts.map +0 -1
  286. package/esm/typings/dts-parser.d.ts +0 -90
  287. package/esm/typings/dts-parser.d.ts.map +0 -1
  288. package/esm/typings/index.d.ts +0 -48
  289. package/esm/typings/index.d.ts.map +0 -1
  290. package/esm/typings/schemas.d.ts +0 -232
  291. package/esm/typings/schemas.d.ts.map +0 -1
  292. package/esm/typings/type-fetcher.d.ts +0 -89
  293. package/esm/typings/type-fetcher.d.ts.map +0 -1
  294. package/esm/typings/types.d.ts +0 -320
  295. package/esm/typings/types.d.ts.map +0 -1
  296. package/esm/utils/escape-html.d.ts +0 -58
  297. package/esm/utils/escape-html.d.ts.map +0 -1
  298. package/esm/utils/index.d.ts +0 -10
  299. package/esm/utils/index.d.ts.map +0 -1
  300. package/esm/utils/safe-stringify.d.ts +0 -30
  301. package/esm/utils/safe-stringify.d.ts.map +0 -1
  302. package/esm/validation/error-box.d.ts +0 -56
  303. package/esm/validation/error-box.d.ts.map +0 -1
  304. package/esm/validation/index.d.ts +0 -13
  305. package/esm/validation/index.d.ts.map +0 -1
  306. package/esm/validation/schema-paths.d.ts +0 -118
  307. package/esm/validation/schema-paths.d.ts.map +0 -1
  308. package/esm/validation/template-validator.d.ts +0 -143
  309. package/esm/validation/template-validator.d.ts.map +0 -1
  310. package/esm/validation/wrapper.d.ts +0 -97
  311. package/esm/validation/wrapper.d.ts.map +0 -1
  312. package/renderers/mdx.renderer.d.ts +0 -120
  313. package/renderers/mdx.renderer.d.ts.map +0 -1
  314. /package/esm/bridge-runtime/{index.js → index.mjs} +0 -0
  315. /package/esm/types/{index.js → index.mjs} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"ui-runtime.d.ts","sourceRoot":"","sources":["../../../src/types/ui-runtime.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAGH,OAAO,KAAK,EAAE,iBAAiB,IAAI,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAGtC,YAAY,EACV,eAAe,EACf,eAAe,EACf,iBAAiB,EACjB,uBAAuB,EACvB,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,aAAa,CAAC;AAGrB,KAAK,iBAAiB,GAAG,kBAAkB,CAAC;AAM5C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,UAAU,GAAG,MAAM,CAAC;AAMpE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,SAAS,CAAC;AAMhD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,QAAQ,CAAC;AAM5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,UAAU,GAAG,cAAc,CAAC;AAEnE;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,YAAY,GAAG,KAAK,CAAC;AAM1D;;;;;;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backends (memory, Redis, filesystem, etc.).
6
- *
7
- * @packageDocumentation
8
- */
9
- import type { TypeCacheEntry, TypeCacheStats } from '../types';
10
- /**
11
- * Abstract interface for type cache storage.
12
- *
13
- * Implementations must provide:
14
- * - get/set/has/delete operations
15
- * - TTL support
16
- * - Statistics tracking
17
- *
18
- * @example Memory cache implementation
19
- * ```typescript
20
- * class MemoryTypeCache implements TypeCacheAdapter {
21
- * private cache = new Map<string, TypeCacheEntry>();
22
- *
23
- * async get(key: string) {
24
- * return this.cache.get(key);
25
- * }
26
- *
27
- * async set(key: string, entry: TypeCacheEntry) {
28
- * this.cache.set(key, entry);
29
- * }
30
- * // ...
31
- * }
32
- * ```
33
- *
34
- * @example Redis cache implementation
35
- * ```typescript
36
- * class RedisTypeCache implements TypeCacheAdapter {
37
- * constructor(private redis: Redis) {}
38
- *
39
- * async get(key: string) {
40
- * const data = await this.redis.get(key);
41
- * return data ? JSON.parse(data) : undefined;
42
- * }
43
- *
44
- * async set(key: string, entry: TypeCacheEntry, ttl?: number) {
45
- * const data = JSON.stringify(entry);
46
- * if (ttl) {
47
- * await this.redis.setex(key, ttl / 1000, data);
48
- * } else {
49
- * await this.redis.set(key, data);
50
- * }
51
- * }
52
- * // ...
53
- * }
54
- * ```
55
- */
56
- export interface TypeCacheAdapter {
57
- /**
58
- * Get a cached entry by key.
59
- *
60
- * @param key - Cache key (typically `types:{packageName}@{version}`)
61
- * @returns The cached entry or undefined if not found/expired
62
- */
63
- get(key: string): Promise<TypeCacheEntry | undefined>;
64
- /**
65
- * Store an entry in the cache.
66
- *
67
- * @param key - Cache key
68
- * @param entry - Entry to store
69
- * @param ttl - Optional TTL in milliseconds
70
- */
71
- set(key: string, entry: TypeCacheEntry, ttl?: number): Promise<void>;
72
- /**
73
- * Check if a key exists in the cache.
74
- *
75
- * @param key - Cache key to check
76
- * @returns true if the key exists and is not expired
77
- */
78
- has(key: string): Promise<boolean>;
79
- /**
80
- * Delete a cached entry.
81
- *
82
- * @param key - Cache key to delete
83
- * @returns true if the entry was deleted
84
- */
85
- delete(key: string): Promise<boolean>;
86
- /**
87
- * Clear all cached entries.
88
- */
89
- clear(): Promise<void>;
90
- /**
91
- * Get cache statistics.
92
- *
93
- * @returns Current cache statistics
94
- */
95
- getStats(): Promise<TypeCacheStats>;
96
- }
97
- /**
98
- * Options for cache adapter initialization.
99
- */
100
- export interface TypeCacheOptions {
101
- /**
102
- * Maximum number of entries to store.
103
- *
104
- * @default 500
105
- */
106
- maxSize?: number;
107
- /**
108
- * Default TTL in milliseconds.
109
- * 0 means infinite TTL.
110
- *
111
- * @default 3600000 (1 hour)
112
- */
113
- defaultTtl?: number;
114
- /**
115
- * Whether to track access statistics.
116
- *
117
- * @default true
118
- */
119
- trackStats?: boolean;
120
- }
121
- /**
122
- * Default cache options.
123
- */
124
- export declare const DEFAULT_CACHE_OPTIONS: Required<TypeCacheOptions>;
125
- //# sourceMappingURL=cache-adapter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cache-adapter.d.ts","sourceRoot":"","sources":["../../../../src/typings/cache/cache-adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IAEtD;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErE;;;;;OAKG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEnC;;;;;OAKG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEtC;;OAEG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvB;;;;OAIG;IACH,QAAQ,IAAI,OAAO,CAAC,cAAc,CAAC,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,QAAQ,CAAC,gBAAgB,CAI5D,CAAC"}
@@ -1,10 +0,0 @@
1
- /**
2
- * Type Cache Module
3
- *
4
- * Exports cache adapters and utilities for TypeScript type caching.
5
- *
6
- * @packageDocumentation
7
- */
8
- export { type TypeCacheAdapter, type TypeCacheOptions, DEFAULT_CACHE_OPTIONS } from './cache-adapter';
9
- export { MemoryTypeCache, globalTypeCache } from './memory-cache';
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/typings/cache/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAGtG,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,92 +0,0 @@
1
- /**
2
- * Memory Type Cache Implementation
3
- *
4
- * LRU-based in-memory cache for TypeScript type definitions.
5
- * Provides fast, bounded caching with TTL support.
6
- *
7
- * @packageDocumentation
8
- */
9
- import type { TypeCacheEntry, TypeCacheStats } from '../types';
10
- import type { TypeCacheAdapter, TypeCacheOptions } from './cache-adapter';
11
- /**
12
- * LRU-based in-memory cache for TypeScript type definitions.
13
- *
14
- * Features:
15
- * - Content-addressable keys
16
- * - LRU eviction when max size reached
17
- * - Optional TTL for time-based expiration
18
- * - Access statistics tracking
19
- *
20
- * @example
21
- * ```typescript
22
- * const cache = new MemoryTypeCache({ maxSize: 500, defaultTtl: 3600000 });
23
- *
24
- * // Store a type result
25
- * await cache.set('types:react@18.2.0', {
26
- * result: { specifier: 'react', ... },
27
- * cachedAt: Date.now(),
28
- * size: 12345,
29
- * accessCount: 1,
30
- * });
31
- *
32
- * // Retrieve it later
33
- * const entry = await cache.get('types:react@18.2.0');
34
- * if (entry) {
35
- * console.log('Cache hit!', entry.result.content);
36
- * }
37
- * ```
38
- */
39
- export declare class MemoryTypeCache implements TypeCacheAdapter {
40
- private cache;
41
- private readonly maxSize;
42
- private readonly defaultTtl;
43
- private readonly trackStats;
44
- /** Cache statistics */
45
- private stats;
46
- constructor(options?: TypeCacheOptions);
47
- /**
48
- * Get a cached entry by key.
49
- */
50
- get(key: string): Promise<TypeCacheEntry | undefined>;
51
- /**
52
- * Store an entry in the cache.
53
- */
54
- set(key: string, entry: TypeCacheEntry, ttl?: number): Promise<void>;
55
- /**
56
- * Check if a key exists in the cache.
57
- */
58
- has(key: string): Promise<boolean>;
59
- /**
60
- * Delete a cached entry.
61
- */
62
- delete(key: string): Promise<boolean>;
63
- /**
64
- * Clear all cached entries.
65
- */
66
- clear(): Promise<void>;
67
- /**
68
- * Get cache statistics.
69
- */
70
- getStats(): Promise<TypeCacheStats>;
71
- /**
72
- * Get current cache size.
73
- */
74
- get size(): number;
75
- /**
76
- * Get number of evictions.
77
- */
78
- get evictions(): number;
79
- /**
80
- * Clean up expired entries.
81
- * Call periodically to free memory from expired entries.
82
- *
83
- * @returns Number of entries cleaned up
84
- */
85
- cleanup(): number;
86
- }
87
- /**
88
- * Global type cache instance.
89
- * Shared across all TypeFetcher instances.
90
- */
91
- export declare const globalTypeCache: MemoryTypeCache;
92
- //# sourceMappingURL=memory-cache.d.ts.map
@@ -1 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,MAAM,eAAe,iBAG1B,CAAC"}
@@ -1,90 +0,0 @@
1
- /**
2
- * .d.ts File Parser
3
- *
4
- * Parses TypeScript declaration files to extract imports, exports,
5
- * and triple-slash references for recursive dependency resolution.
6
- *
7
- * @packageDocumentation
8
- */
9
- import type { DtsParseResult } from './types';
10
- /**
11
- * Parse a .d.ts file to extract imports, exports, and references.
12
- *
13
- * @param content - The .d.ts file content
14
- * @returns Parsed imports and dependencies
15
- *
16
- * @example
17
- * ```typescript
18
- * const content = `
19
- * import { FC } from 'react';
20
- * export { Card } from './components';
21
- * /// <reference types="node" />
22
- * `;
23
- *
24
- * const result = parseDtsImports(content);
25
- * // result.externalPackages = ['react', 'node']
26
- * // result.relativeImports = ['./components']
27
- * ```
28
- */
29
- export declare function parseDtsImports(content: string): DtsParseResult;
30
- /**
31
- * Check if a specifier is a relative import.
32
- *
33
- * @param specifier - The import specifier
34
- * @returns true if the specifier is a relative path
35
- */
36
- export declare function isRelativeImport(specifier: string): boolean;
37
- /**
38
- * Extract the package name from a specifier.
39
- *
40
- * Handles scoped packages (@org/package) and subpath imports.
41
- *
42
- * @param specifier - The import specifier
43
- * @returns The package name
44
- *
45
- * @example
46
- * ```typescript
47
- * getPackageFromSpecifier('react') // 'react'
48
- * getPackageFromSpecifier('react/jsx-runtime') // 'react'
49
- * getPackageFromSpecifier('@frontmcp/ui') // '@frontmcp/ui'
50
- * getPackageFromSpecifier('@frontmcp/ui/react') // '@frontmcp/ui'
51
- * ```
52
- */
53
- export declare function getPackageFromSpecifier(specifier: string): string;
54
- /**
55
- * Get the subpath from a specifier.
56
- *
57
- * @param specifier - The import specifier
58
- * @returns The subpath or undefined if none
59
- *
60
- * @example
61
- * ```typescript
62
- * getSubpathFromSpecifier('react') // undefined
63
- * getSubpathFromSpecifier('react/jsx-runtime') // 'jsx-runtime'
64
- * getSubpathFromSpecifier('@frontmcp/ui/react') // 'react'
65
- * ```
66
- */
67
- export declare function getSubpathFromSpecifier(specifier: string): string | undefined;
68
- /**
69
- * Parse an import statement to extract the specifier.
70
- *
71
- * @param statement - The import statement string
72
- * @returns The specifier or null if not a valid import
73
- *
74
- * @example
75
- * ```typescript
76
- * parseImportStatement('import { Card } from "@frontmcp/ui/react"')
77
- * // '@frontmcp/ui/react'
78
- * ```
79
- */
80
- export declare function parseImportStatement(statement: string): string | null;
81
- /**
82
- * Combine multiple .d.ts contents into a single file.
83
- *
84
- * Deduplicates triple-slash references and organizes imports.
85
- *
86
- * @param contents - Map of URL to .d.ts content
87
- * @returns Combined .d.ts content
88
- */
89
- export declare function combineDtsContents(contents: Map<string, string>): string;
90
- //# sourceMappingURL=dts-parser.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dts-parser.d.ts","sourceRoot":"","sources":["../../../src/typings/dts-parser.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAa,cAAc,EAAE,MAAM,SAAS,CAAC;AAwCzD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,CA2F/D;AAaD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAQ3D;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAiBjE;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM7E;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAcrE;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAoDxE"}
@@ -1,48 +0,0 @@
1
- /**
2
- * TypeScript Type Fetching Engine
3
- *
4
- * Fetches TypeScript .d.ts files from esm.sh CDN based on import statements.
5
- * Resolves dependencies recursively and combines them into single outputs.
6
- *
7
- * @module @frontmcp/ui/typings
8
- *
9
- * @example Basic usage
10
- * ```typescript
11
- * import { createTypeFetcher } from '@frontmcp/ui/typings';
12
- *
13
- * const fetcher = createTypeFetcher({
14
- * maxDepth: 2,
15
- * timeout: 10000,
16
- * maxConcurrency: 5,
17
- * });
18
- *
19
- * const result = await fetcher.fetchBatch({
20
- * imports: [
21
- * 'import { Card } from "@frontmcp/ui/react"',
22
- * 'import React from "react"',
23
- * ],
24
- * });
25
- *
26
- * // result.results[0].content = combined .d.ts for @frontmcp/ui
27
- * // result.results[1].content = combined .d.ts for react
28
- * ```
29
- *
30
- * @example With custom cache
31
- * ```typescript
32
- * import { createTypeFetcher, MemoryTypeCache } from '@frontmcp/ui/typings';
33
- *
34
- * const cache = new MemoryTypeCache({
35
- * maxSize: 1000,
36
- * defaultTtl: 2 * 60 * 60 * 1000, // 2 hours
37
- * });
38
- *
39
- * const fetcher = createTypeFetcher({}, cache);
40
- * ```
41
- */
42
- export type { TypeFetchResult, TypeFetchError, TypeFetchErrorCode, TypeFetchBatchRequest, TypeFetchBatchResult, TypeCacheEntry, TypeCacheStats, DtsImport, DtsParseResult, TypeFetcherOptions, PackageResolution, } from './types';
43
- export { DEFAULT_TYPE_FETCHER_OPTIONS, TYPE_CACHE_PREFIX, DEFAULT_TYPE_CACHE_TTL } from './types';
44
- export { typeFetchErrorCodeSchema, typeFetchResultSchema, typeFetchErrorSchema, typeFetchBatchRequestSchema, typeFetchBatchResultSchema, typeCacheEntrySchema, typeCacheStatsSchema, dtsImportTypeSchema, dtsImportSchema, dtsParseResultSchema, typeFetcherOptionsSchema, packageResolutionSchema, validateBatchRequest, safeParseBatchRequest, validateTypeFetcherOptions, safeParseTypeFetcherOptions, type TypeFetchErrorCodeInput, type TypeFetchErrorCodeOutput, type TypeFetchResultInput, type TypeFetchResultOutput, type TypeFetchErrorInput, type TypeFetchErrorOutput, type TypeFetchBatchRequestInput, type TypeFetchBatchRequestOutput, type TypeFetchBatchResultInput, type TypeFetchBatchResultOutput, type TypeCacheEntryInput, type TypeCacheEntryOutput, type TypeCacheStatsInput, type TypeCacheStatsOutput, type DtsImportInput, type DtsImportOutput, type DtsParseResultInput, type DtsParseResultOutput, type TypeFetcherOptionsInput, type TypeFetcherOptionsOutput, type PackageResolutionInput, type PackageResolutionOutput, type SafeParseResult, } from './schemas';
45
- export { type TypeCacheAdapter, type TypeCacheOptions, DEFAULT_CACHE_OPTIONS, MemoryTypeCache, globalTypeCache, } from './cache';
46
- export { parseDtsImports, isRelativeImport, getPackageFromSpecifier, getSubpathFromSpecifier, parseImportStatement, combineDtsContents, } from './dts-parser';
47
- export { TypeFetcher, createTypeFetcher } from './type-fetcher';
48
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/typings/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AAMH,YAAY,EACV,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,SAAS,EACT,cAAc,EACd,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,4BAA4B,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAMlG,OAAO,EAEL,wBAAwB,EAExB,qBAAqB,EACrB,oBAAoB,EACpB,2BAA2B,EAC3B,0BAA0B,EAE1B,oBAAoB,EACpB,oBAAoB,EAEpB,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EAEpB,wBAAwB,EACxB,uBAAuB,EAEvB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,2BAA2B,EAE3B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,eAAe,GACrB,MAAM,WAAW,CAAC;AAMnB,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,qBAAqB,EACrB,eAAe,EACf,eAAe,GAChB,MAAM,SAAS,CAAC;AAMjB,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,cAAc,CAAC;AAMtB,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
@@ -1,232 +0,0 @@
1
- /**
2
- * TypeScript Type Fetching Engine Schemas
3
- *
4
- * Zod validation schemas for type fetching configuration and results.
5
- *
6
- * @packageDocumentation
7
- */
8
- import { z } from 'zod';
9
- /**
10
- * Schema for type fetch error codes.
11
- */
12
- export declare const typeFetchErrorCodeSchema: z.ZodEnum<{
13
- NETWORK_ERROR: "NETWORK_ERROR";
14
- TIMEOUT: "TIMEOUT";
15
- NO_TYPES_HEADER: "NO_TYPES_HEADER";
16
- INVALID_SPECIFIER: "INVALID_SPECIFIER";
17
- PACKAGE_NOT_FOUND: "PACKAGE_NOT_FOUND";
18
- PARSE_ERROR: "PARSE_ERROR";
19
- }>;
20
- export type TypeFetchErrorCodeInput = z.input<typeof typeFetchErrorCodeSchema>;
21
- export type TypeFetchErrorCodeOutput = z.output<typeof typeFetchErrorCodeSchema>;
22
- /**
23
- * Schema for a single type fetch result.
24
- */
25
- export declare const typeFetchResultSchema: z.ZodObject<{
26
- specifier: z.ZodString;
27
- resolvedPackage: z.ZodString;
28
- version: z.ZodString;
29
- content: z.ZodString;
30
- fetchedUrls: z.ZodArray<z.ZodString>;
31
- fetchedAt: z.ZodString;
32
- }, z.core.$strict>;
33
- export type TypeFetchResultInput = z.input<typeof typeFetchResultSchema>;
34
- export type TypeFetchResultOutput = z.output<typeof typeFetchResultSchema>;
35
- /**
36
- * Schema for a type fetch error.
37
- */
38
- export declare const typeFetchErrorSchema: z.ZodObject<{
39
- specifier: z.ZodString;
40
- code: z.ZodEnum<{
41
- NETWORK_ERROR: "NETWORK_ERROR";
42
- TIMEOUT: "TIMEOUT";
43
- NO_TYPES_HEADER: "NO_TYPES_HEADER";
44
- INVALID_SPECIFIER: "INVALID_SPECIFIER";
45
- PACKAGE_NOT_FOUND: "PACKAGE_NOT_FOUND";
46
- PARSE_ERROR: "PARSE_ERROR";
47
- }>;
48
- message: z.ZodString;
49
- url: z.ZodOptional<z.ZodString>;
50
- }, z.core.$strict>;
51
- export type TypeFetchErrorInput = z.input<typeof typeFetchErrorSchema>;
52
- export type TypeFetchErrorOutput = z.output<typeof typeFetchErrorSchema>;
53
- /**
54
- * Schema for batch type fetch request.
55
- */
56
- export declare const typeFetchBatchRequestSchema: z.ZodObject<{
57
- imports: z.ZodArray<z.ZodString>;
58
- maxDepth: z.ZodOptional<z.ZodNumber>;
59
- timeout: z.ZodOptional<z.ZodNumber>;
60
- maxConcurrency: z.ZodOptional<z.ZodNumber>;
61
- skipCache: z.ZodOptional<z.ZodBoolean>;
62
- versionOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
63
- }, z.core.$strict>;
64
- export type TypeFetchBatchRequestInput = z.input<typeof typeFetchBatchRequestSchema>;
65
- export type TypeFetchBatchRequestOutput = z.output<typeof typeFetchBatchRequestSchema>;
66
- /**
67
- * Schema for batch type fetch result.
68
- */
69
- export declare const typeFetchBatchResultSchema: z.ZodObject<{
70
- results: z.ZodArray<z.ZodObject<{
71
- specifier: z.ZodString;
72
- resolvedPackage: z.ZodString;
73
- version: z.ZodString;
74
- content: z.ZodString;
75
- fetchedUrls: z.ZodArray<z.ZodString>;
76
- fetchedAt: z.ZodString;
77
- }, z.core.$strict>>;
78
- errors: z.ZodArray<z.ZodObject<{
79
- specifier: z.ZodString;
80
- code: z.ZodEnum<{
81
- NETWORK_ERROR: "NETWORK_ERROR";
82
- TIMEOUT: "TIMEOUT";
83
- NO_TYPES_HEADER: "NO_TYPES_HEADER";
84
- INVALID_SPECIFIER: "INVALID_SPECIFIER";
85
- PACKAGE_NOT_FOUND: "PACKAGE_NOT_FOUND";
86
- PARSE_ERROR: "PARSE_ERROR";
87
- }>;
88
- message: z.ZodString;
89
- url: z.ZodOptional<z.ZodString>;
90
- }, z.core.$strict>>;
91
- totalTimeMs: z.ZodNumber;
92
- cacheHits: z.ZodNumber;
93
- networkRequests: z.ZodNumber;
94
- }, z.core.$strict>;
95
- export type TypeFetchBatchResultInput = z.input<typeof typeFetchBatchResultSchema>;
96
- export type TypeFetchBatchResultOutput = z.output<typeof typeFetchBatchResultSchema>;
97
- /**
98
- * Schema for a cache entry.
99
- */
100
- export declare const typeCacheEntrySchema: z.ZodObject<{
101
- result: z.ZodObject<{
102
- specifier: z.ZodString;
103
- resolvedPackage: z.ZodString;
104
- version: z.ZodString;
105
- content: z.ZodString;
106
- fetchedUrls: z.ZodArray<z.ZodString>;
107
- fetchedAt: z.ZodString;
108
- }, z.core.$strict>;
109
- cachedAt: z.ZodNumber;
110
- size: z.ZodNumber;
111
- accessCount: z.ZodNumber;
112
- }, z.core.$strict>;
113
- export type TypeCacheEntryInput = z.input<typeof typeCacheEntrySchema>;
114
- export type TypeCacheEntryOutput = z.output<typeof typeCacheEntrySchema>;
115
- /**
116
- * Schema for cache statistics.
117
- */
118
- export declare const typeCacheStatsSchema: z.ZodObject<{
119
- entries: z.ZodNumber;
120
- totalSize: z.ZodNumber;
121
- hits: z.ZodNumber;
122
- misses: z.ZodNumber;
123
- hitRate: z.ZodNumber;
124
- }, z.core.$strict>;
125
- export type TypeCacheStatsInput = z.input<typeof typeCacheStatsSchema>;
126
- export type TypeCacheStatsOutput = z.output<typeof typeCacheStatsSchema>;
127
- /**
128
- * Schema for import type.
129
- */
130
- export declare const dtsImportTypeSchema: z.ZodEnum<{
131
- import: "import";
132
- export: "export";
133
- reference: "reference";
134
- "declare-module": "declare-module";
135
- }>;
136
- /**
137
- * Schema for a parsed .d.ts import.
138
- */
139
- export declare const dtsImportSchema: z.ZodObject<{
140
- type: z.ZodEnum<{
141
- import: "import";
142
- export: "export";
143
- reference: "reference";
144
- "declare-module": "declare-module";
145
- }>;
146
- specifier: z.ZodString;
147
- statement: z.ZodString;
148
- line: z.ZodNumber;
149
- }, z.core.$strict>;
150
- export type DtsImportInput = z.input<typeof dtsImportSchema>;
151
- export type DtsImportOutput = z.output<typeof dtsImportSchema>;
152
- /**
153
- * Schema for .d.ts parse result.
154
- */
155
- export declare const dtsParseResultSchema: z.ZodObject<{
156
- imports: z.ZodArray<z.ZodObject<{
157
- type: z.ZodEnum<{
158
- import: "import";
159
- export: "export";
160
- reference: "reference";
161
- "declare-module": "declare-module";
162
- }>;
163
- specifier: z.ZodString;
164
- statement: z.ZodString;
165
- line: z.ZodNumber;
166
- }, z.core.$strict>>;
167
- externalPackages: z.ZodArray<z.ZodString>;
168
- relativeImports: z.ZodArray<z.ZodString>;
169
- }, z.core.$strict>;
170
- export type DtsParseResultInput = z.input<typeof dtsParseResultSchema>;
171
- export type DtsParseResultOutput = z.output<typeof dtsParseResultSchema>;
172
- /**
173
- * Schema for type fetcher options.
174
- */
175
- export declare const typeFetcherOptionsSchema: z.ZodObject<{
176
- maxDepth: z.ZodOptional<z.ZodNumber>;
177
- timeout: z.ZodOptional<z.ZodNumber>;
178
- maxConcurrency: z.ZodOptional<z.ZodNumber>;
179
- cdnBaseUrl: z.ZodOptional<z.ZodString>;
180
- }, z.core.$strict>;
181
- export type TypeFetcherOptionsInput = z.input<typeof typeFetcherOptionsSchema>;
182
- export type TypeFetcherOptionsOutput = z.output<typeof typeFetcherOptionsSchema>;
183
- /**
184
- * Schema for package resolution result.
185
- */
186
- export declare const packageResolutionSchema: z.ZodObject<{
187
- packageName: z.ZodString;
188
- subpath: z.ZodOptional<z.ZodString>;
189
- version: z.ZodString;
190
- typesUrl: z.ZodString;
191
- }, z.core.$strict>;
192
- export type PackageResolutionInput = z.input<typeof packageResolutionSchema>;
193
- export type PackageResolutionOutput = z.output<typeof packageResolutionSchema>;
194
- /**
195
- * Safe parse result type.
196
- */
197
- export type SafeParseResult<T> = {
198
- success: true;
199
- data: T;
200
- } | {
201
- success: false;
202
- error: z.ZodError;
203
- };
204
- /**
205
- * Validate a batch request.
206
- *
207
- * @param data - Data to validate
208
- * @returns Validated batch request or throws ZodError
209
- */
210
- export declare function validateBatchRequest(data: unknown): TypeFetchBatchRequestOutput;
211
- /**
212
- * Safely validate a batch request.
213
- *
214
- * @param data - Data to validate
215
- * @returns Safe parse result with success flag
216
- */
217
- export declare function safeParseBatchRequest(data: unknown): SafeParseResult<TypeFetchBatchRequestOutput>;
218
- /**
219
- * Validate type fetcher options.
220
- *
221
- * @param data - Data to validate
222
- * @returns Validated options or throws ZodError
223
- */
224
- export declare function validateTypeFetcherOptions(data: unknown): TypeFetcherOptionsOutput;
225
- /**
226
- * Safely validate type fetcher options.
227
- *
228
- * @param data - Data to validate
229
- * @returns Safe parse result with success flag
230
- */
231
- export declare function safeParseTypeFetcherOptions(data: unknown): SafeParseResult<TypeFetcherOptionsOutput>;
232
- //# sourceMappingURL=schemas.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../src/typings/schemas.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,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