@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.
- package/dist/cli.js +133 -45
- package/dist/cli.js.map +4 -4
- package/dist/docs-plugin/__tests__/remark-frontmatter-description.spec.d.ts +2 -0
- package/dist/docs-plugin/__tests__/remark-frontmatter-description.spec.d.ts.map +1 -0
- package/dist/docs-plugin/internal/config-schema.d.ts +24 -37
- package/dist/docs-plugin/internal/config-schema.d.ts.map +1 -1
- package/dist/docs-plugin/internal/search-indexer.d.ts.map +1 -1
- package/dist/docs-plugin/internal/utils.d.ts.map +1 -1
- package/dist/docs-plugin/internal/zod.d.ts +2 -2
- package/dist/docs-plugin/internal/zod.d.ts.map +1 -1
- package/dist/docs-plugin/mdx-plugins.d.ts.map +1 -1
- package/dist/docs-plugin/remark/index.d.ts +1 -0
- package/dist/docs-plugin/remark/index.d.ts.map +1 -1
- package/dist/docs-plugin/remark/remark-frontmatter-description.d.ts +8 -0
- package/dist/docs-plugin/remark/remark-frontmatter-description.d.ts.map +1 -0
- package/dist/docs-plugin/types.d.ts +71 -0
- package/dist/docs-plugin/types.d.ts.map +1 -1
- package/dist/index.js +79 -27
- package/dist/index.js.map +4 -4
- package/dist/open-web-ui-knowledge/generate-knowledge.d.ts.map +1 -1
- package/dist/open-web-ui-knowledge/load-config-from-env.d.ts.map +1 -1
- package/dist/open-web-ui-knowledge/types.d.ts +7 -34
- package/dist/open-web-ui-knowledge/types.d.ts.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +5 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-knowledge.d.ts","sourceRoot":"","sources":["../../src/open-web-ui-knowledge/generate-knowledge.ts"],"names":[],"mappings":"
|
|
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;
|
|
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
|
-
|
|
2
|
-
|
|
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" | "
|
|
11
|
+
export interface CliConfig extends Omit<WebUiKnowledgeConfig, "docPropsPath" | "metadata" | "outputPath" | "routeDir"> {
|
|
12
|
+
envFilePath?: string;
|
|
39
13
|
/**
|
|
40
|
-
*
|
|
41
|
-
* id, auth keys, and OWUI endpoint are defined here.
|
|
14
|
+
* CLI metadata as `key=value` strings.
|
|
42
15
|
*/
|
|
43
|
-
|
|
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,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/open-web-ui-knowledge/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,kBAAkB,EAClB,0BAA0B,EAC3B,MAAM,sBAAsB,CAAA;AAE7B,MAAM,WAAW,oBAAqB,SAAQ,0BAA0B;IACtE,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,kBAAkB,EAAE,CAAA;IACjC,UAAU,EAAE,UAAU,GAAG,YAAY,CAAA;IACrC,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,WAAW,SACf,SAAQ,IAAI,CACV,oBAAoB,EACpB,cAAc,GAAG,UAAU,GAAG,YAAY,GAAG,UAAU,CACxD;IACD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAA;CACb"}
|