Skip to content

Commit

Permalink
Merge pull request #253 from hunshcn/feat/subscriptionUserInfoProvider
Browse files Browse the repository at this point in the history
feat(types): ArtifactConfig add subscriptionUserInfoProvider
  • Loading branch information
geekdada authored Feb 3, 2024
2 parents 8947ca5 + ba75194 commit 14c51bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/guide/custom-artifact.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ Surgio 会根据 Artifact 的值来生成配置文件。你可以一次性配置
}
```

### subscriptionUserInfoProvider

- 类型: `string`
- 默认值: `undefined`

subscriptionUserInfo 供应 Provider。默认情况下,仅当 `combineProviders` 为空(Provider只有一个)时才会生成 subscriptionUserInfo,定义此参数可以指定 subscriptionUserInfo 供应者。

### customParams

- 类型: `object`
Expand Down
1 change: 1 addition & 0 deletions src/validators/artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export const ArtifactValidator = z.object({
destDir: z.ostring(),
downloadUrl: z.ostring(),
templateString: z.ostring(),
subscriptionUserInfoProvider: z.ostring(),
})

0 comments on commit 14c51bc

Please sign in to comment.