@qualcomm-ui/mdx-vite 2.6.4 → 2.8.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"generate-knowledge.d.ts","sourceRoot":"","sources":["../../src/open-web-ui-knowledge/generate-knowledge.ts"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAA;AA6/BjD;;;GAGG;AACH,wBAAsB,QAAQ,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAG1E;AAED,wBAAgB,2BAA2B,SA8B1C"}
1
+ {"version":3,"file":"generate-knowledge.d.ts","sourceRoot":"","sources":["../../src/open-web-ui-knowledge/generate-knowledge.ts"],"names":[],"mappings":"AAyCA,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,SAAS,CAAA;AA8kCjD;;;GAGG;AACH,wBAAsB,QAAQ,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC,CAG1E;AAED,wBAAgB,2BAA2B,SA8B1C"}
@@ -1 +1 @@
1
- {"version":3,"file":"load-config-from-env.d.ts","sourceRoot":"","sources":["../../src/open-web-ui-knowledge/load-config-from-env.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAC,SAAS,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAA;AAE5D,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,SAAS,GACjB,oBAAoB,CA+BtB"}
1
+ {"version":3,"file":"load-config-from-env.d.ts","sourceRoot":"","sources":["../../src/open-web-ui-knowledge/load-config-from-env.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAC,SAAS,EAAE,oBAAoB,EAAC,MAAM,SAAS,CAAA;AAW5D,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,SAAS,GACjB,oBAAoB,CAkDtB"}
@@ -1,46 +1,19 @@
1
- export interface WebUiKnowledgeConfig {
2
- baseUrl?: string;
3
- /**
4
- * Clean the output path before generating.
5
- */
1
+ import type { KnowledgeExtraFile, KnowledgeIntegrationConfig } from "../docs-plugin/types";
2
+ export interface WebUiKnowledgeConfig extends KnowledgeIntegrationConfig {
6
3
  clean?: boolean;
7
- /**
8
- * Optional description for the project.
9
- */
10
- description?: string;
11
4
  docPropsPath?: string;
12
- /**
13
- * Paths to exclude, relative to the resolved page directory
14
- * (`${appDirectory}/${pageDirectory}`)
15
- */
16
- exclude?: string[];
17
- /**
18
- * Include relative imports for demo files.
19
- */
20
- includeImports?: boolean;
21
- metadata?: string[] | undefined;
22
- /**
23
- * Optional name for the project.
24
- */
25
- name?: string;
5
+ extraFiles?: KnowledgeExtraFile[];
26
6
  outputMode: "per-page" | "aggregated";
27
7
  outputPath: string;
28
- /**
29
- * Prefix to prepend to each page title.
30
- */
31
- pageTitlePrefix?: string;
32
- /**
33
- * Resolved route dir from the root of the project.
34
- */
35
8
  routeDir: string;
36
9
  verbose?: boolean;
37
10
  }
38
- export interface CliConfig extends Omit<WebUiKnowledgeConfig, "docPropsPath" | "knowledgeId" | "outputPath" | "routeDir"> {
11
+ export interface CliConfig extends Omit<WebUiKnowledgeConfig, "docPropsPath" | "metadata" | "outputPath" | "routeDir"> {
12
+ envFilePath?: string;
39
13
  /**
40
- * Path to the environment file for this request. Variables like the knowledge
41
- * id, auth keys, and OWUI endpoint are defined here.
14
+ * CLI metadata as `key=value` strings.
42
15
  */
43
- envFilePath?: string;
16
+ metadata?: string[];
44
17
  outputPath?: string;
45
18
  }
46
19
  export interface GlobalCliOpts {
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/open-web-ui-knowledge/types.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MA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