feat(short-drama-agent-front): 接入关系修复并优化配置与弹窗
This commit is contained in:
1 parent
2db8549818
commit
41d1cfe3ed
15 files changed
+1134
-323
No files matched your search
+7
-4
@@ -1,5 +1,5 @@
|
||||
import type { BreakdownState, EpisodePlan } from '@/features/breakdown/types'
|
||||
import type { CandidateCommitPreview, CandidateRevalidation } from '@/features/breakdown/candidate.types'
|
||||
import type { CandidateCommitCheckPreview, CandidateRevalidation } from '@/features/breakdown/candidate.types'
|
||||
import type { Checkpoint } from '@/features/workflows/types'
|
||||
|
||||
/**
|
||||
@@ -192,16 +192,18 @@ export function candidateReview(overrides: Partial<CandidateRevalidation> = {}):
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建七项门禁均通过的安全预检查响应。
|
||||
* 创建全部门禁均通过的安全预检查响应。
|
||||
* @param overrides 本次检查差异
|
||||
* @returns 只读安全检查
|
||||
*/
|
||||
export function commitPreview(overrides: Partial<CandidateCommitPreview> = {}): CandidateCommitPreview {
|
||||
export function commitPreview(overrides: Partial<CandidateCommitCheckPreview> = {}): CandidateCommitCheckPreview {
|
||||
return {
|
||||
projectId: 'candidate-project',
|
||||
checkpointId: 'candidate-current',
|
||||
ready: true,
|
||||
readOnly: true,
|
||||
relationIssues: [],
|
||||
relationRepairTargets: [],
|
||||
checks: {
|
||||
qualityPolicyMatches: true,
|
||||
episodeNumbersMatch: true,
|
||||
@@ -210,7 +212,8 @@ export function commitPreview(overrides: Partial<CandidateCommitPreview> = {}):
|
||||
noActiveVideos: true,
|
||||
noSubjectIdentities: true,
|
||||
noSubjectImages: true,
|
||||
noProtectedShots: true
|
||||
noProtectedShots: true,
|
||||
relationEvidenceValid: true
|
||||
},
|
||||
counts: {
|
||||
episodes: 1,
|
||||
|
||||
Reference in new issue
Block a user