feat: 주제의 논지와 축을 Studio 에서 쓸 수 있게 한다
「주제·프로젝트」 화면은 주제를 만들고 지울 수만 있었다. 이름과 slug 말고는 쓸 자리가 없어, 주제가 답하는 질문(논지)도 축의 이름도 어디에도 적을 수 없었다 — 공개 주제 화면이 그 둘을 읽는데 쓸 곳이 없으니 늘 비어 있었다. 주제 편집 화면을 프로젝트 편집기와 같은 자리·같은 클래스로 둔다. 축(variant)은 주제 안의 접근/구조 하나다. 인증 경계라면 SPA·BFF·Mediator 가 각각 하나고, 각자 만들어 보고 무엇을 알게 됐는지가 다르다. 비교표가 읽는 것은 요약이 아니라 그 결론이라, 두 칸을 따로 둔다 — 기록의 요약 첫 줄을 잘라 쓰면 안 되는 자리다. 프로젝트에도 논지 칸을 둔다. 목적은 시작할 때 쓰는 글이고 논지는 끝나고 쓰는 글이다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011nAjrqNHGPNngN4aUbcyvJ
This commit is contained in:
co-authored by
Claude Opus 5
parent
15e6ea8f15
commit
3616502463
@@ -15,6 +15,7 @@ import type {
|
||||
ReleaseIndexPage,
|
||||
ReleaseUpdateRequest,
|
||||
TopicEdit,
|
||||
TopicVariantEdit,
|
||||
} from "../../contracts/management/contract.ts";
|
||||
|
||||
/**
|
||||
@@ -32,6 +33,18 @@ export type ManagementGateway = Readonly<{
|
||||
createTopic(input: TopicEdit): Promise<TopicEdit>;
|
||||
updateTopic(id: string, body: TopicEdit): Promise<TopicEdit>;
|
||||
deleteTopic(id: string, expectedVersion: number): Promise<void>;
|
||||
/*
|
||||
주제 안의 축. 「구조」「조회 전략」처럼 주제마다 이름이 다른 축 하나가 접근 하나고, 기록은
|
||||
거기에 걸린다. 아무 축에도 걸리지 않은 기록은 그 주제의 공통 기록이다.
|
||||
*/
|
||||
listTopicVariants(topicId: string): Promise<TopicVariantEdit[]>;
|
||||
createTopicVariant(topicId: string, body: TopicVariantEdit): Promise<TopicVariantEdit>;
|
||||
updateTopicVariant(
|
||||
topicId: string,
|
||||
variantId: string,
|
||||
body: TopicVariantEdit,
|
||||
): Promise<TopicVariantEdit>;
|
||||
deleteTopicVariant(topicId: string, variantId: string, expectedVersion: number): Promise<void>;
|
||||
listProjects(page?: number, size?: number): Promise<ProjectIndexPage>;
|
||||
/*
|
||||
홈 「지금 집중하는 것」 편집기가 쓰는 둘. 질문 항목은 `primaryProject` 를 들고 오므로 그것으로
|
||||
|
||||
Reference in New Issue
Block a user