feat: 同步精简接口并统一表单校验

This commit is contained in:
GJ committed 2026-09-10 22:34:47 +08:00
1 parent 82d7bde631
commit 2eea0ea72e
66 files changed
+1611 -1100

No files matched your search

@@ -8,13 +8,11 @@ export function keyframeFixture(patch: Partial<ShotKeyframe> = {}): ShotKeyframe
source: 'generated',
provider: 'seedream',
model: 'seedream-test',
prompt: '首帧提示词',
imageUrl: '/storage/keyframes/keyframe-1.png',
width: 1920,
height: 1080,
status: 'completed',
isPrimary: true,
providerTaskId: null,
error: null,
createdAt: '2026-08-31T00:00:00.000Z',
updatedAt: '2026-08-31T00:00:00.000Z',
@@ -29,9 +27,6 @@ export function videoFixture(patch: Partial<ShotVideo> = {}): ShotVideo {
shotId: 'shot-1',
provider: 'seedance',
model: 'seedance-test',
providerTaskId: 'provider-task-1',
prompt: '视频提示词',
negativePrompt: null,
status: 'completed',
videoUrl: '/storage/videos/video-1.mp4',
durationSeconds: 5,