diff --git a/docs/guide/custom-artifact.md b/docs/guide/custom-artifact.md index 3fae77652..c7634dd8e 100644 --- a/docs/guide/custom-artifact.md +++ b/docs/guide/custom-artifact.md @@ -65,6 +65,13 @@ Surgio 会根据 Artifact 的值来生成配置文件。你可以一次性配置 } ``` +### subscriptionUserInfoProvider + +- 类型: `string` +- 默认值: `undefined` + +subscriptionUserInfo 供应 Provider。默认情况下,仅当 `combineProviders` 为空(Provider只有一个)时才会生成 subscriptionUserInfo,定义此参数可以指定 subscriptionUserInfo 供应者。 + ### customParams - 类型: `object` diff --git a/src/validators/artifact.ts b/src/validators/artifact.ts index 098d4bc22..c43901aa7 100644 --- a/src/validators/artifact.ts +++ b/src/validators/artifact.ts @@ -11,4 +11,5 @@ export const ArtifactValidator = z.object({ destDir: z.ostring(), downloadUrl: z.ostring(), templateString: z.ostring(), + subscriptionUserInfoProvider: z.ostring(), })