사용자의 uuid -> ksuid로 변경, 테이블 구조 변경

This commit is contained in:
Dohyun Lim committed 2026-01-28 14:05:15 +09:00
1 parent dc7351d0f9
commit aa8d9d7c14
13 files changed
+170 -75

No files matched your search

+3 -3
View File
@@ -91,7 +91,7 @@ class GenerateUrlsRequest(GenerateRequestInfo):
class GenerateUploadResponse(BaseModel):
"""파일 업로드 기반 생성 응답 스키마"""
task_id: str = Field(..., description="작업 고유 식별자 (UUID7)")
task_id: str = Field(..., description="작업 고유 식별자 (KSUID)")
status: Literal["processing", "completed", "failed"] = Field(
..., description="작업 상태"
)
@@ -102,7 +102,7 @@ class GenerateUploadResponse(BaseModel):
class GenerateResponse(BaseModel):
"""생성 응답 스키마"""
task_id: str = Field(..., description="작업 고유 식별자 (UUID7)")
task_id: str = Field(..., description="작업 고유 식별자 (KSUID)")
status: Literal["processing", "completed", "failed"] = Field(
..., description="작업 상태"
)
@@ -291,7 +291,7 @@ class ImageUploadResponse(BaseModel):
}
)
task_id: str = Field(..., description="작업 고유 식별자 (새로 생성된 UUID7)")
task_id: str = Field(..., description="작업 고유 식별자 (새로 생성된 KSUID)")
total_count: int = Field(..., description="총 업로드된 이미지 개수")
url_count: int = Field(..., description="URL로 등록된 이미지 개수")
file_count: int = Field(..., description="파일로 업로드된 이미지 개수")