@urbicon-ui/docs-gen 6.1.4

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 (263) hide show
  1. package/README.md +92 -0
  2. package/dist/cli/CLI.d.ts +10 -0
  3. package/dist/cli/CLI.d.ts.map +1 -0
  4. package/dist/cli/CLI.js +340 -0
  5. package/dist/cli/CLI.js.map +1 -0
  6. package/dist/cli/index.d.ts +2 -0
  7. package/dist/cli/index.d.ts.map +1 -0
  8. package/dist/cli/index.js +7 -0
  9. package/dist/cli/index.js.map +1 -0
  10. package/dist/core/discovery/ComponentFinder.d.ts +43 -0
  11. package/dist/core/discovery/ComponentFinder.d.ts.map +1 -0
  12. package/dist/core/discovery/ComponentFinder.js +421 -0
  13. package/dist/core/discovery/ComponentFinder.js.map +1 -0
  14. package/dist/core/discovery/FileStructureAnalyzer.d.ts +15 -0
  15. package/dist/core/discovery/FileStructureAnalyzer.d.ts.map +1 -0
  16. package/dist/core/discovery/FileStructureAnalyzer.js +35 -0
  17. package/dist/core/discovery/FileStructureAnalyzer.js.map +1 -0
  18. package/dist/core/discovery/MetadataExtractor.d.ts +15 -0
  19. package/dist/core/discovery/MetadataExtractor.d.ts.map +1 -0
  20. package/dist/core/discovery/MetadataExtractor.js +47 -0
  21. package/dist/core/discovery/MetadataExtractor.js.map +1 -0
  22. package/dist/core/discovery/index.d.ts +2 -0
  23. package/dist/core/discovery/index.d.ts.map +1 -0
  24. package/dist/core/discovery/index.js +2 -0
  25. package/dist/core/discovery/index.js.map +1 -0
  26. package/dist/core/enrichment/APIDataGenerator.d.ts +77 -0
  27. package/dist/core/enrichment/APIDataGenerator.d.ts.map +1 -0
  28. package/dist/core/enrichment/APIDataGenerator.js +663 -0
  29. package/dist/core/enrichment/APIDataGenerator.js.map +1 -0
  30. package/dist/core/enrichment/index.d.ts +2 -0
  31. package/dist/core/enrichment/index.d.ts.map +1 -0
  32. package/dist/core/enrichment/index.js +6 -0
  33. package/dist/core/enrichment/index.js.map +1 -0
  34. package/dist/core/extraction/ExtractionCoordinator.d.ts +53 -0
  35. package/dist/core/extraction/ExtractionCoordinator.d.ts.map +1 -0
  36. package/dist/core/extraction/ExtractionCoordinator.js +352 -0
  37. package/dist/core/extraction/ExtractionCoordinator.js.map +1 -0
  38. package/dist/core/extraction/index.d.ts +2 -0
  39. package/dist/core/extraction/index.d.ts.map +1 -0
  40. package/dist/core/extraction/index.js +2 -0
  41. package/dist/core/extraction/index.js.map +1 -0
  42. package/dist/core/generation/GenerationCoordinator.d.ts +51 -0
  43. package/dist/core/generation/GenerationCoordinator.d.ts.map +1 -0
  44. package/dist/core/generation/GenerationCoordinator.js +206 -0
  45. package/dist/core/generation/GenerationCoordinator.js.map +1 -0
  46. package/dist/core/generation/index.d.ts +2 -0
  47. package/dist/core/generation/index.d.ts.map +1 -0
  48. package/dist/core/generation/index.js +2 -0
  49. package/dist/core/generation/index.js.map +1 -0
  50. package/dist/core/index.d.ts +7 -0
  51. package/dist/core/index.d.ts.map +1 -0
  52. package/dist/core/index.js +16 -0
  53. package/dist/core/index.js.map +1 -0
  54. package/dist/core/pipeline/ErrorHandler.d.ts +129 -0
  55. package/dist/core/pipeline/ErrorHandler.d.ts.map +1 -0
  56. package/dist/core/pipeline/ErrorHandler.js +321 -0
  57. package/dist/core/pipeline/ErrorHandler.js.map +1 -0
  58. package/dist/core/pipeline/PipelineOrchestrator.d.ts +45 -0
  59. package/dist/core/pipeline/PipelineOrchestrator.d.ts.map +1 -0
  60. package/dist/core/pipeline/PipelineOrchestrator.js +216 -0
  61. package/dist/core/pipeline/PipelineOrchestrator.js.map +1 -0
  62. package/dist/core/pipeline/index.d.ts +1 -0
  63. package/dist/core/pipeline/index.d.ts.map +1 -0
  64. package/dist/core/pipeline/index.js +2 -0
  65. package/dist/core/pipeline/index.js.map +1 -0
  66. package/dist/extractors/BaseExtractor.d.ts +33 -0
  67. package/dist/extractors/BaseExtractor.d.ts.map +1 -0
  68. package/dist/extractors/BaseExtractor.js +68 -0
  69. package/dist/extractors/BaseExtractor.js.map +1 -0
  70. package/dist/extractors/ExtractorFactory.d.ts +35 -0
  71. package/dist/extractors/ExtractorFactory.d.ts.map +1 -0
  72. package/dist/extractors/ExtractorFactory.js +88 -0
  73. package/dist/extractors/ExtractorFactory.js.map +1 -0
  74. package/dist/extractors/documentation/index.d.ts +1 -0
  75. package/dist/extractors/documentation/index.d.ts.map +1 -0
  76. package/dist/extractors/documentation/index.js +2 -0
  77. package/dist/extractors/documentation/index.js.map +1 -0
  78. package/dist/extractors/index.d.ts +1 -0
  79. package/dist/extractors/index.d.ts.map +1 -0
  80. package/dist/extractors/index.js +2 -0
  81. package/dist/extractors/index.js.map +1 -0
  82. package/dist/extractors/typescript/ExamplesExtractor.d.ts +32 -0
  83. package/dist/extractors/typescript/ExamplesExtractor.d.ts.map +1 -0
  84. package/dist/extractors/typescript/ExamplesExtractor.js +209 -0
  85. package/dist/extractors/typescript/ExamplesExtractor.js.map +1 -0
  86. package/dist/extractors/typescript/InheritanceExtractor.d.ts +45 -0
  87. package/dist/extractors/typescript/InheritanceExtractor.d.ts.map +1 -0
  88. package/dist/extractors/typescript/InheritanceExtractor.js +368 -0
  89. package/dist/extractors/typescript/InheritanceExtractor.js.map +1 -0
  90. package/dist/extractors/typescript/LocalTypesExtractor.d.ts +20 -0
  91. package/dist/extractors/typescript/LocalTypesExtractor.d.ts.map +1 -0
  92. package/dist/extractors/typescript/LocalTypesExtractor.js +100 -0
  93. package/dist/extractors/typescript/LocalTypesExtractor.js.map +1 -0
  94. package/dist/extractors/typescript/PropsExtractor.d.ts +142 -0
  95. package/dist/extractors/typescript/PropsExtractor.d.ts.map +1 -0
  96. package/dist/extractors/typescript/PropsExtractor.js +709 -0
  97. package/dist/extractors/typescript/PropsExtractor.js.map +1 -0
  98. package/dist/extractors/typescript/TypeScriptBaseExtractor.d.ts +74 -0
  99. package/dist/extractors/typescript/TypeScriptBaseExtractor.d.ts.map +1 -0
  100. package/dist/extractors/typescript/TypeScriptBaseExtractor.js +249 -0
  101. package/dist/extractors/typescript/TypeScriptBaseExtractor.js.map +1 -0
  102. package/dist/extractors/typescript/index.d.ts +1 -0
  103. package/dist/extractors/typescript/index.d.ts.map +1 -0
  104. package/dist/extractors/typescript/index.js +2 -0
  105. package/dist/extractors/typescript/index.js.map +1 -0
  106. package/dist/extractors/variants/TailwindVariantsParser.d.ts +16 -0
  107. package/dist/extractors/variants/TailwindVariantsParser.d.ts.map +1 -0
  108. package/dist/extractors/variants/TailwindVariantsParser.js +53 -0
  109. package/dist/extractors/variants/TailwindVariantsParser.js.map +1 -0
  110. package/dist/extractors/variants/VariantsExtractor.d.ts +45 -0
  111. package/dist/extractors/variants/VariantsExtractor.d.ts.map +1 -0
  112. package/dist/extractors/variants/VariantsExtractor.js +340 -0
  113. package/dist/extractors/variants/VariantsExtractor.js.map +1 -0
  114. package/dist/extractors/variants/index.d.ts +2 -0
  115. package/dist/extractors/variants/index.d.ts.map +1 -0
  116. package/dist/extractors/variants/index.js +2 -0
  117. package/dist/extractors/variants/index.js.map +1 -0
  118. package/dist/generators/api/APIFileGenerator.d.ts +32 -0
  119. package/dist/generators/api/APIFileGenerator.d.ts.map +1 -0
  120. package/dist/generators/api/APIFileGenerator.js +450 -0
  121. package/dist/generators/api/APIFileGenerator.js.map +1 -0
  122. package/dist/generators/api/TypeDefinitionGenerator.d.ts +1 -0
  123. package/dist/generators/api/TypeDefinitionGenerator.d.ts.map +1 -0
  124. package/dist/generators/api/TypeDefinitionGenerator.js +2 -0
  125. package/dist/generators/api/TypeDefinitionGenerator.js.map +1 -0
  126. package/dist/generators/api/index.d.ts +2 -0
  127. package/dist/generators/api/index.d.ts.map +1 -0
  128. package/dist/generators/api/index.js +2 -0
  129. package/dist/generators/api/index.js.map +1 -0
  130. package/dist/generators/index.d.ts +5 -0
  131. package/dist/generators/index.d.ts.map +1 -0
  132. package/dist/generators/index.js +4 -0
  133. package/dist/generators/index.js.map +1 -0
  134. package/dist/generators/llm/LLMDocumentationGenerator.d.ts +34 -0
  135. package/dist/generators/llm/LLMDocumentationGenerator.d.ts.map +1 -0
  136. package/dist/generators/llm/LLMDocumentationGenerator.js +480 -0
  137. package/dist/generators/llm/LLMDocumentationGenerator.js.map +1 -0
  138. package/dist/generators/llm/LLMFormatter.d.ts +4 -0
  139. package/dist/generators/llm/LLMFormatter.d.ts.map +1 -0
  140. package/dist/generators/llm/LLMFormatter.js +8 -0
  141. package/dist/generators/llm/LLMFormatter.js.map +1 -0
  142. package/dist/generators/llm/LlmsFullAssembler.d.ts +20 -0
  143. package/dist/generators/llm/LlmsFullAssembler.d.ts.map +1 -0
  144. package/dist/generators/llm/LlmsFullAssembler.js +63 -0
  145. package/dist/generators/llm/LlmsFullAssembler.js.map +1 -0
  146. package/dist/generators/llm/index.d.ts +1 -0
  147. package/dist/generators/llm/index.d.ts.map +1 -0
  148. package/dist/generators/llm/index.js +2 -0
  149. package/dist/generators/llm/index.js.map +1 -0
  150. package/dist/generators/mcp/MCPCatalogAssembler.d.ts +27 -0
  151. package/dist/generators/mcp/MCPCatalogAssembler.d.ts.map +1 -0
  152. package/dist/generators/mcp/MCPCatalogAssembler.js +147 -0
  153. package/dist/generators/mcp/MCPCatalogAssembler.js.map +1 -0
  154. package/dist/generators/mcp/MCPCatalogGenerator.d.ts +55 -0
  155. package/dist/generators/mcp/MCPCatalogGenerator.d.ts.map +1 -0
  156. package/dist/generators/mcp/MCPCatalogGenerator.js +153 -0
  157. package/dist/generators/mcp/MCPCatalogGenerator.js.map +1 -0
  158. package/dist/generators/svelte/PageGenerator.d.ts +82 -0
  159. package/dist/generators/svelte/PageGenerator.d.ts.map +1 -0
  160. package/dist/generators/svelte/PageGenerator.js +557 -0
  161. package/dist/generators/svelte/PageGenerator.js.map +1 -0
  162. package/dist/generators/svelte/PlaygroundPresets.d.ts +2 -0
  163. package/dist/generators/svelte/PlaygroundPresets.d.ts.map +1 -0
  164. package/dist/generators/svelte/PlaygroundPresets.js +4 -0
  165. package/dist/generators/svelte/PlaygroundPresets.js.map +1 -0
  166. package/dist/generators/svelte/SectionMerger.d.ts +38 -0
  167. package/dist/generators/svelte/SectionMerger.d.ts.map +1 -0
  168. package/dist/generators/svelte/SectionMerger.js +154 -0
  169. package/dist/generators/svelte/SectionMerger.js.map +1 -0
  170. package/dist/generators/svelte/TemplateEngine.d.ts +91 -0
  171. package/dist/generators/svelte/TemplateEngine.d.ts.map +1 -0
  172. package/dist/generators/svelte/TemplateEngine.js +500 -0
  173. package/dist/generators/svelte/TemplateEngine.js.map +1 -0
  174. package/dist/generators/svelte/index.d.ts +8 -0
  175. package/dist/generators/svelte/index.d.ts.map +1 -0
  176. package/dist/generators/svelte/index.js +11 -0
  177. package/dist/generators/svelte/index.js.map +1 -0
  178. package/dist/generators/svelte/renderers/ApiRenderer.d.ts +17 -0
  179. package/dist/generators/svelte/renderers/ApiRenderer.d.ts.map +1 -0
  180. package/dist/generators/svelte/renderers/ApiRenderer.js +44 -0
  181. package/dist/generators/svelte/renderers/ApiRenderer.js.map +1 -0
  182. package/dist/generators/svelte/renderers/ExampleRenderer.d.ts +33 -0
  183. package/dist/generators/svelte/renderers/ExampleRenderer.d.ts.map +1 -0
  184. package/dist/generators/svelte/renderers/ExampleRenderer.js +137 -0
  185. package/dist/generators/svelte/renderers/ExampleRenderer.js.map +1 -0
  186. package/dist/generators/svelte/renderers/OverviewRenderer.d.ts +9 -0
  187. package/dist/generators/svelte/renderers/OverviewRenderer.d.ts.map +1 -0
  188. package/dist/generators/svelte/renderers/OverviewRenderer.js +45 -0
  189. package/dist/generators/svelte/renderers/OverviewRenderer.js.map +1 -0
  190. package/dist/generators/svelte/renderers/PlaygroundRenderer.d.ts +35 -0
  191. package/dist/generators/svelte/renderers/PlaygroundRenderer.d.ts.map +1 -0
  192. package/dist/generators/svelte/renderers/PlaygroundRenderer.js +319 -0
  193. package/dist/generators/svelte/renderers/PlaygroundRenderer.js.map +1 -0
  194. package/dist/generators/svelte/renderers/TypesRenderer.d.ts +9 -0
  195. package/dist/generators/svelte/renderers/TypesRenderer.d.ts.map +1 -0
  196. package/dist/generators/svelte/renderers/TypesRenderer.js +23 -0
  197. package/dist/generators/svelte/renderers/TypesRenderer.js.map +1 -0
  198. package/dist/generators/svelte/renderers/UsageRenderer.d.ts +14 -0
  199. package/dist/generators/svelte/renderers/UsageRenderer.d.ts.map +1 -0
  200. package/dist/generators/svelte/renderers/UsageRenderer.js +91 -0
  201. package/dist/generators/svelte/renderers/UsageRenderer.js.map +1 -0
  202. package/dist/generators/svelte/renderers/VariantsRenderer.d.ts +43 -0
  203. package/dist/generators/svelte/renderers/VariantsRenderer.d.ts.map +1 -0
  204. package/dist/generators/svelte/renderers/VariantsRenderer.js +277 -0
  205. package/dist/generators/svelte/renderers/VariantsRenderer.js.map +1 -0
  206. package/dist/generators/svelte/renderers/index.d.ts +8 -0
  207. package/dist/generators/svelte/renderers/index.d.ts.map +1 -0
  208. package/dist/generators/svelte/renderers/index.js +8 -0
  209. package/dist/generators/svelte/renderers/index.js.map +1 -0
  210. package/dist/generators/svelte/types.d.ts +13 -0
  211. package/dist/generators/svelte/types.d.ts.map +1 -0
  212. package/dist/generators/svelte/types.js +2 -0
  213. package/dist/generators/svelte/types.js.map +1 -0
  214. package/dist/index.d.ts +5 -0
  215. package/dist/index.d.ts.map +1 -0
  216. package/dist/index.js +4 -0
  217. package/dist/index.js.map +1 -0
  218. package/dist/parsers/SvelteDocsParser.d.ts +44 -0
  219. package/dist/parsers/SvelteDocsParser.d.ts.map +1 -0
  220. package/dist/parsers/SvelteDocsParser.js +141 -0
  221. package/dist/parsers/SvelteDocsParser.js.map +1 -0
  222. package/dist/parsers/index.d.ts +2 -0
  223. package/dist/parsers/index.d.ts.map +1 -0
  224. package/dist/parsers/index.js +6 -0
  225. package/dist/parsers/index.js.map +1 -0
  226. package/dist/schema/ConfigurationBuilder.d.ts +55 -0
  227. package/dist/schema/ConfigurationBuilder.d.ts.map +1 -0
  228. package/dist/schema/ConfigurationBuilder.js +447 -0
  229. package/dist/schema/ConfigurationBuilder.js.map +1 -0
  230. package/dist/schema/index.d.ts +1 -0
  231. package/dist/schema/index.d.ts.map +1 -0
  232. package/dist/schema/index.js +2 -0
  233. package/dist/schema/index.js.map +1 -0
  234. package/dist/tsconfig.tsbuildinfo +1 -0
  235. package/dist/types/configuration.d.ts +255 -0
  236. package/dist/types/configuration.d.ts.map +1 -0
  237. package/dist/types/configuration.js +2 -0
  238. package/dist/types/configuration.js.map +1 -0
  239. package/dist/types/core.d.ts +96 -0
  240. package/dist/types/core.d.ts.map +1 -0
  241. package/dist/types/core.js +2 -0
  242. package/dist/types/core.js.map +1 -0
  243. package/dist/types/docs-config.d.ts +5 -0
  244. package/dist/types/docs-config.d.ts.map +1 -0
  245. package/dist/types/docs-config.js +51 -0
  246. package/dist/types/docs-config.js.map +1 -0
  247. package/dist/types/index.d.ts +6 -0
  248. package/dist/types/index.d.ts.map +1 -0
  249. package/dist/types/index.js +9 -0
  250. package/dist/types/index.js.map +1 -0
  251. package/dist/types/validation.d.ts +321 -0
  252. package/dist/types/validation.d.ts.map +1 -0
  253. package/dist/types/validation.js +2 -0
  254. package/dist/types/validation.js.map +1 -0
  255. package/dist/utils/DeploymentManager.d.ts +80 -0
  256. package/dist/utils/DeploymentManager.d.ts.map +1 -0
  257. package/dist/utils/DeploymentManager.js +360 -0
  258. package/dist/utils/DeploymentManager.js.map +1 -0
  259. package/dist/utils/index.d.ts +1 -0
  260. package/dist/utils/index.d.ts.map +1 -0
  261. package/dist/utils/index.js +2 -0
  262. package/dist/utils/index.js.map +1 -0
  263. package/package.json +74 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docs-config.js","sourceRoot":"","sources":["../../src/types/docs-config.ts"],"names":[],"mappings":"AAEA,8DAA8D;AAC9D,MAAM,UAAU,uBAAuB,CAAC,MAAe;IACrD,OAAO,OAAO,MAAM,KAAK,QAAQ,IAAI,MAAM,KAAK,IAAI,CAAC;AACvD,CAAC;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,GAAG,0BAA0B,CAAC,UAAU,EAAE,GAAG,EAAE,GAAG,UAAU,CAAC,UAAU,EAAE,GAAG,EAAE;YACrF,QAAQ,EAAE;gBACR,GAAG,0BAA0B,CAAC,UAAU,EAAE,QAAQ;gBAClD,GAAG,UAAU,CAAC,UAAU,EAAE,QAAQ;aACnC;SACF;QACD,GAAG,EAAE,EAAE,GAAG,0BAA0B,CAAC,GAAG,EAAE,GAAG,UAAU,CAAC,GAAG,EAAE;QAC7D,IAAI,EAAE,EAAE,GAAG,0BAA0B,CAAC,IAAI,EAAE,GAAG,UAAU,CAAC,IAAI,EAAE;KACjE,CAAC;AACJ,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type { ComponentInfo, ComponentStats, CrossReference, InheritanceInfo, PackageInfo, PropExample, PropInfo, PropSource, VariantExample, VariantInfo } from '@urbicon-ui/shared-types';
2
+ export * from './configuration';
3
+ export * from './core';
4
+ export * from './docs-config';
5
+ export * from './validation';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,aAAa,EACb,cAAc,EACd,cAAc,EACd,eAAe,EACf,WAAW,EACX,WAAW,EACX,QAAQ,EACR,UAAU,EACV,cAAc,EACd,WAAW,EACZ,MAAM,0BAA0B,CAAC;AAGlC,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AAGvB,cAAc,eAAe,CAAC;AAE9B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,9 @@
1
+ // Core types
2
+ // Configuration types
3
+ export * from './configuration';
4
+ export * from './core';
5
+ // Docs config helpers used by LLM (docsConfig extraction)
6
+ export * from './docs-config';
7
+ // Validation types
8
+ export * from './validation';
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,aAAa;AAgBb,sBAAsB;AACtB,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AAEvB,0DAA0D;AAC1D,cAAc,eAAe,CAAC;AAC9B,mBAAmB;AACnB,cAAc,cAAc,CAAC"}
@@ -0,0 +1,321 @@
1
+ /**
2
+ * Validation result
3
+ */
4
+ export interface ValidationResult {
5
+ /** Validation success status */
6
+ valid: boolean;
7
+ /** Validation errors */
8
+ errors: ValidationError[];
9
+ /** Validation warnings */
10
+ warnings: ValidationWarning[];
11
+ /** Validation metadata */
12
+ metadata?: ValidationMetadata;
13
+ }
14
+ /**
15
+ * Validation error
16
+ */
17
+ export interface ValidationError {
18
+ /** Error type/category */
19
+ type: string;
20
+ /** Error message */
21
+ message: string;
22
+ /** Field or location of error */
23
+ field?: string;
24
+ /** Error value */
25
+ value?: unknown;
26
+ /** Error severity */
27
+ severity?: 'error' | 'critical';
28
+ /** Source location */
29
+ location?: SourceLocation;
30
+ /** Error context */
31
+ context?: unknown;
32
+ /** Suggested fix */
33
+ suggestion?: string;
34
+ /** Error code for programmatic handling */
35
+ code?: string;
36
+ }
37
+ /**
38
+ * Validation warning
39
+ */
40
+ export interface ValidationWarning {
41
+ /** Warning type/category */
42
+ type: string;
43
+ /** Warning message */
44
+ message: string;
45
+ /** Field or location of warning */
46
+ field?: string;
47
+ /** Warning value */
48
+ value?: unknown;
49
+ /** Source location */
50
+ location?: SourceLocation;
51
+ /** Warning context */
52
+ context?: unknown;
53
+ /** Suggested improvement */
54
+ suggestion?: string;
55
+ /** Warning code for programmatic handling */
56
+ code?: string;
57
+ /** Warning category */
58
+ category?: 'performance' | 'accessibility' | 'best-practice' | 'syntax' | 'style';
59
+ }
60
+ /**
61
+ * Validation metadata
62
+ */
63
+ export interface ValidationMetadata {
64
+ /** Validation timestamp */
65
+ timestamp: string;
66
+ /** Validator version */
67
+ version: string;
68
+ /** Source file being validated */
69
+ sourceFile?: string;
70
+ /** Validation duration (ms) */
71
+ duration?: number;
72
+ /** Validation context */
73
+ context?: ValidationContext;
74
+ /** Validation statistics */
75
+ stats?: ValidationStats;
76
+ }
77
+ /**
78
+ * Validation context
79
+ */
80
+ export interface ValidationContext {
81
+ /** Component being validated */
82
+ component?: string;
83
+ /** Package context */
84
+ package?: string;
85
+ /** Environment context */
86
+ environment?: string;
87
+ /** Dependency versions */
88
+ dependencies?: Record<string, string>;
89
+ /** Validation configuration */
90
+ config?: ValidationConfig;
91
+ }
92
+ /**
93
+ * Validation statistics
94
+ */
95
+ export interface ValidationStats {
96
+ /** Total items validated */
97
+ totalChecks: number;
98
+ /** Number of errors found */
99
+ errorCount: number;
100
+ /** Number of warnings found */
101
+ warningCount: number;
102
+ /** Validation coverage percentage */
103
+ coverage?: number;
104
+ /** Performance metrics */
105
+ performance?: {
106
+ checkDuration: number;
107
+ memoryUsage?: number;
108
+ };
109
+ }
110
+ /**
111
+ * Source location information
112
+ */
113
+ export interface SourceLocation {
114
+ /** File path */
115
+ file: string;
116
+ /** Line number */
117
+ line: number;
118
+ /** Column number */
119
+ column: number;
120
+ /** Length of the problematic text */
121
+ length?: number;
122
+ /** Offset from start of file */
123
+ offset?: number;
124
+ /** End line (for multi-line issues) */
125
+ endLine?: number;
126
+ /** End column (for multi-line issues) */
127
+ endColumn?: number;
128
+ }
129
+ /**
130
+ * Validation configuration
131
+ */
132
+ export interface ValidationConfig {
133
+ /** Validation rules to enable */
134
+ rules: ValidationRule[];
135
+ /** Strict mode settings */
136
+ strict?: boolean;
137
+ /** Fail on warnings */
138
+ failOnWarnings?: boolean;
139
+ /** Maximum allowed errors */
140
+ maxErrors?: number;
141
+ /** Validation scope */
142
+ scope?: ValidationScope;
143
+ /** Custom validators */
144
+ customValidators?: CustomValidator[];
145
+ /** Schema validation configuration (from docs-gen) */
146
+ schema?: Record<string, unknown>;
147
+ /** Example validation configuration (from docs-gen) */
148
+ examples?: Record<string, unknown>;
149
+ /** Component validation configuration (from docs-gen) */
150
+ components?: Record<string, unknown>;
151
+ /** Strict mode (docs-gen alias for strict) */
152
+ strictMode?: boolean;
153
+ }
154
+ /**
155
+ * Validation rule configuration
156
+ */
157
+ export interface ValidationRule {
158
+ /** Rule identifier */
159
+ id: string;
160
+ /** Rule name */
161
+ name: string;
162
+ /** Rule enabled status */
163
+ enabled: boolean;
164
+ /** Rule severity level */
165
+ severity: 'error' | 'warning' | 'info';
166
+ /** Rule options */
167
+ options?: Record<string, unknown>;
168
+ /** Rule description */
169
+ description?: string;
170
+ /** Path to validation function */
171
+ rule?: string;
172
+ /** Custom error message */
173
+ message?: string;
174
+ }
175
+ /**
176
+ * Validation scope
177
+ */
178
+ export interface ValidationScope {
179
+ /** Files to include */
180
+ include?: string[];
181
+ /** Files to exclude */
182
+ exclude?: string[];
183
+ /** Components to validate */
184
+ components?: string[];
185
+ /** Validation types to run */
186
+ types?: ValidationType[];
187
+ }
188
+ /**
189
+ * Validation types
190
+ */
191
+ export type ValidationType = 'syntax' | 'schema' | 'examples' | 'components' | 'accessibility' | 'performance' | 'types' | 'links' | 'images' | 'custom';
192
+ /**
193
+ * Custom validator
194
+ */
195
+ export interface CustomValidator {
196
+ /** Validator identifier */
197
+ id: string;
198
+ /** Validator name */
199
+ name: string;
200
+ /** Validator function */
201
+ validate: ValidatorFunction;
202
+ /** Validator options */
203
+ options?: Record<string, unknown>;
204
+ /** Validator description */
205
+ description?: string;
206
+ }
207
+ /**
208
+ * Validator function type
209
+ */
210
+ export type ValidatorFunction = (input: unknown, context: ValidationContext) => ValidationResult | Promise<ValidationResult>;
211
+ /**
212
+ * Extraction result with validation
213
+ * From: docs-gen/ExtractionResult
214
+ */
215
+ export interface ExtractionResult<T = unknown> {
216
+ /** Extraction success status */
217
+ success: boolean;
218
+ /** Extracted data */
219
+ data?: T;
220
+ /** Extraction errors */
221
+ errors: ExtractionError[];
222
+ /** Extraction warnings */
223
+ warnings: ExtractionWarning[];
224
+ /** Extraction metadata */
225
+ metadata: ExtractionMetadata;
226
+ }
227
+ /**
228
+ * Extraction error
229
+ */
230
+ export interface ExtractionError {
231
+ /** Error type */
232
+ type: string;
233
+ /** Error message */
234
+ message: string;
235
+ /** Source location */
236
+ location?: SourceLocation;
237
+ /** Error context */
238
+ context?: unknown;
239
+ /** Recovery suggestion */
240
+ recovery?: string;
241
+ }
242
+ /**
243
+ * Extraction warning
244
+ */
245
+ export interface ExtractionWarning {
246
+ /** Warning type */
247
+ type: string;
248
+ /** Warning message */
249
+ message: string;
250
+ /** Improvement suggestion */
251
+ suggestion?: string;
252
+ /** Source location */
253
+ location?: SourceLocation;
254
+ }
255
+ /**
256
+ * Extraction metadata
257
+ */
258
+ export interface ExtractionMetadata {
259
+ /** Extraction duration (ms) */
260
+ duration: number;
261
+ /** Extractor version */
262
+ extractorVersion: string;
263
+ /** Source file */
264
+ sourceFile: string;
265
+ /** Extraction timestamp */
266
+ timestamp: string;
267
+ /** Extraction context */
268
+ context?: {
269
+ component?: string;
270
+ package?: string;
271
+ environment?: string;
272
+ };
273
+ }
274
+ /**
275
+ * Validation report summary
276
+ */
277
+ export interface ValidationReport {
278
+ /** Overall validation status */
279
+ status: 'passed' | 'failed' | 'warning';
280
+ /** Summary statistics */
281
+ summary: ValidationSummary;
282
+ /** Validation results by file */
283
+ results: Record<string, ValidationResult>;
284
+ /** Report metadata */
285
+ metadata: ValidationReportMetadata;
286
+ }
287
+ /**
288
+ * Validation summary
289
+ */
290
+ export interface ValidationSummary {
291
+ /** Total files validated */
292
+ totalFiles: number;
293
+ /** Files with errors */
294
+ filesWithErrors: number;
295
+ /** Files with warnings */
296
+ filesWithWarnings: number;
297
+ /** Total errors */
298
+ totalErrors: number;
299
+ /** Total warnings */
300
+ totalWarnings: number;
301
+ /** Validation duration */
302
+ duration: number;
303
+ }
304
+ /**
305
+ * Validation report metadata
306
+ */
307
+ export interface ValidationReportMetadata {
308
+ /** Report generated timestamp */
309
+ generated: string;
310
+ /** Validator version */
311
+ version: string;
312
+ /** Validation configuration used */
313
+ config: ValidationConfig;
314
+ /** Environment information */
315
+ environment: {
316
+ nodeVersion?: string;
317
+ platform?: string;
318
+ cwd?: string;
319
+ };
320
+ }
321
+ //# sourceMappingURL=validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../src/types/validation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,gCAAgC;IAChC,KAAK,EAAE,OAAO,CAAC;IACf,wBAAwB;IACxB,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,0BAA0B;IAC1B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,oBAAoB;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAChC,sBAAsB;IACtB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,oBAAoB;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oBAAoB;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,2CAA2C;IAC3C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,sBAAsB;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oBAAoB;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sBAAsB;IACtB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,sBAAsB;IAC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AC/B,gCAAgC;IAChC,MAAM,EAAE,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;IACxC,yBAAyB;IACzB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,iCAAiC;IACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC1C,sBAAsB;IACtB,QAAQ,EAAE,wBAAwB,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,wBAAwB;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,mBAAmB;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,0BAA0B;IAC1B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,iCAAiC;IACjC,SAAS,EAAE,MAAM,CAAC;IAClB,wBAAwB;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,MAAM,EAAE,gBAAgB,CAAC;IACzB,8BAA8B;IAC9B,WAAW,EAAE;QACX,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;CACH"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=validation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validation.js","sourceRoot":"","sources":["../../src/types/validation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,80 @@
1
+ import type { GenerationResult, GeneratorConfig } from '../types';
2
+ export interface DeploymentConfig {
3
+ svelteTarget: string;
4
+ apiTarget?: string;
5
+ llmTarget?: string;
6
+ createBackup: boolean;
7
+ cleanTarget: boolean;
8
+ runPrettier?: boolean;
9
+ }
10
+ export interface DeploymentResult {
11
+ success: boolean;
12
+ deployedFiles: string[];
13
+ errors: string[];
14
+ stats: {
15
+ totalFiles: number;
16
+ totalSize: number;
17
+ duration: number;
18
+ };
19
+ }
20
+ /**
21
+ * Manages deployment of generated documentation files to their target locations
22
+ * Implements clean separation between generation and deployment
23
+ */
24
+ export declare class DeploymentManager {
25
+ private config;
26
+ constructor(config: DeploymentConfig);
27
+ /**
28
+ * Deploy generated files to their target locations
29
+ */
30
+ deploy(generationResult: GenerationResult): Promise<DeploymentResult>;
31
+ /**
32
+ * Deploy Svelte pages to target directory
33
+ */
34
+ private deploySveltePages;
35
+ /**
36
+ * Deploy API file to target location (optional)
37
+ */
38
+ private deployAPIFile;
39
+ private deployLLM;
40
+ /**
41
+ * Copy entire directory recursively
42
+ */
43
+ private copyDirectory;
44
+ /**
45
+ * Create backup of existing files
46
+ */
47
+ private createBackup;
48
+ /**
49
+ * Clean target directory
50
+ */
51
+ private cleanDirectory;
52
+ /**
53
+ * Run prettier on the deployed files
54
+ */
55
+ private runPrettier;
56
+ /**
57
+ * Validate deployment paths
58
+ */
59
+ validatePaths(): {
60
+ valid: boolean;
61
+ errors: string[];
62
+ };
63
+ }
64
+ export declare class DeploymentFactory {
65
+ /**
66
+ * Create deployment manager for Urbicon docs
67
+ */
68
+ static forBlocks(): DeploymentManager;
69
+ static forDocs(): DeploymentManager;
70
+ static forTable(): DeploymentManager;
71
+ /**
72
+ * Create deployment manager with custom config
73
+ */
74
+ static custom(config: DeploymentConfig): DeploymentManager;
75
+ /**
76
+ * Create deployment manager from docs config
77
+ */
78
+ static fromConfig(docsConfig: GeneratorConfig): DeploymentManager;
79
+ }
80
+ //# sourceMappingURL=DeploymentManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeploymentManager.d.ts","sourceRoot":"","sources":["../../src/utils/DeploymentManager.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,UAAU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