feat(web,contracts): implement PR Merge Validation for anti-fraud payout
Some checks failed
Deploy to 110 WOOO Server / deploy (push) Failing after 6s

This commit is contained in:
OG T
2026-06-07 22:01:28 +08:00
parent 874281725a
commit c3f21c1d85
3 changed files with 81 additions and 2 deletions

View File

@@ -169,6 +169,8 @@ export const SubmitSolutionRequestSchema = z.object({
/** 接案時取得的冪等憑證,防止重複提交 */
claim_token: z.string().uuid(),
deliverables: z.record(z.string(), z.string()),
/** 必須在目標專案開啟 Pull Request並提供該 PR 的網址以供人類審核 */
github_pr_url: z.string().url().optional(),
});
export const SubmitSolutionResponseSchema = z.object({