refactor: 저장소 공개 범위(visibility) UI 제거 + 기본 공개(public) 생성
사용자 입력/표시에서 저장소 공개 범위를 제거하고 새 저장소는 공개로 생성한다. (Gitea 역방향 동기화에 쓰이는 Repo 엔티티 visibility 컬럼은 유지) 백엔드: - CreateRepoDto/UpdateRepoDto 에서 visibility 제거 - RepoService.create 가 visibility 를 'public' 으로 고정 - update 의 visibility 변경·Gitea private 푸시 로직 제거(공개범위는 Gitea 기준) - RepoResponse/toResponse 에서 visibility 제거 프론트: - types/repo ApiRepo/Create/Update 페이로드에서 visibility 제거 - ProjectReposPage 연동 폼의 공개 범위 입력 + 목록 배지 + 관련 CSS 제거 - mock Visibility 타입·orphan Repo 뷰의 visibility 제거 런타임 검증: 저장소 응답에 visibility 없음, repos.visibility 컬럼 유지(Gitea 동기화). 백엔드 build/lint 0·14 tests, 프론트 type-check/lint/build 0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -6,9 +6,6 @@
|
||||
/** 업무 상태 */
|
||||
export type TaskStatus = 'todo' | 'prog' | 'review' | 'done' | 'changes'
|
||||
|
||||
/** 저장소 공개 여부 */
|
||||
export type Visibility = 'private' | 'public'
|
||||
|
||||
/** 사용자(멤버) */
|
||||
export interface User {
|
||||
id: string
|
||||
@@ -46,7 +43,6 @@ export interface Repo {
|
||||
owner: string
|
||||
slug: string
|
||||
desc: string
|
||||
visibility: Visibility
|
||||
branch: string
|
||||
members: User[]
|
||||
/** 멤버 스택에서 추가로 더 있는 인원 수(+N) */
|
||||
|
||||
Reference in New Issue
Block a user