@longzai-intelligence-github-markdown/config 0.0.5 → 0.0.6
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/index.d.ts +0 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import "./rolldown-runtime-BqT_7tdF.js";
|
|
2
1
|
import * as z from "zod";
|
|
3
2
|
import { ConfigLoadError, ConfigLoadOk, ConfigLoadResult, ConfigLoadResult as ConfigLoadResult$1 } from "@longzai-intelligence-shared-config/core";
|
|
4
|
-
//#region src/github-markdown-config.schema.d.ts
|
|
5
3
|
/**
|
|
6
4
|
* 配置结构(lzi-github-markdown.config.ts 默认导出形态)
|
|
7
5
|
*/
|
|
@@ -23,8 +21,6 @@ type GithubMarkdownConfig = z.infer<typeof GithubMarkdownConfigSchema>;
|
|
|
23
21
|
* @returns 原样返回(运行时校验由加载方执行,此处 identity 语义)
|
|
24
22
|
*/
|
|
25
23
|
declare function defineConfig(config?: GithubMarkdownConfig): GithubMarkdownConfig;
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/loader.utils.d.ts
|
|
28
24
|
/**
|
|
29
25
|
* 配置文件约定名,全局 ADR 0090 就地配置一律以工具命名,与 bin/env 前缀三同源
|
|
30
26
|
*/
|
|
@@ -43,8 +39,6 @@ declare function discoverConfigPath(explicitPath?: string): string | undefined;
|
|
|
43
39
|
* @returns 成功为绝对路径形态配置与文件路径,失败为可读错误,未找到即配置文件必备违规
|
|
44
40
|
*/
|
|
45
41
|
declare function loadGithubMarkdownConfig(explicitPath?: string): Promise<ConfigLoadResult$1<GithubMarkdownConfig>>;
|
|
46
|
-
//#endregion
|
|
47
|
-
//#region src/scaffold.utils.d.ts
|
|
48
42
|
/**
|
|
49
43
|
* 配置骨架生成(config init 用)
|
|
50
44
|
*
|
|
@@ -74,5 +68,4 @@ type ScaffoldParams = {
|
|
|
74
68
|
* @returns lzi-github-markdown.config.ts 全文
|
|
75
69
|
*/
|
|
76
70
|
declare function scaffoldConfigText(params?: ScaffoldParams): string;
|
|
77
|
-
//#endregion
|
|
78
71
|
export { CONFIG_FILENAME, type ConfigLoadError, type ConfigLoadOk, type ConfigLoadResult, GithubMarkdownConfig, GithubMarkdownConfigSchema, ScaffoldParams, defineConfig, discoverConfigPath, loadGithubMarkdownConfig, scaffoldConfigText };
|