From 7cd11a7b35b3b6617ec6c059a3ecc8584ddd242a Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Wed, 9 Sep 2026 14:32:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B4=80=EA=B3=84=EC=99=80=20=EC=B9=B4?= =?UTF-8?q?=ED=83=88=EB=A1=9C=EA=B7=B8=EA=B0=80=20=ED=99=98=EA=B2=BD=20?= =?UTF-8?q?=EA=B5=AC=EC=84=B1=EC=9D=84=20=EA=B0=80=EB=A6=AC=ED=82=AC=20?= =?UTF-8?q?=EC=88=98=20=EC=9E=88=EA=B2=8C=20=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 계약의 종류 enum 이 한 곳이 아니다. RecordKind 말고도 CatalogEntry.kind 와 ResolvedRelation.targetKind 가 따로 종류를 나열한다. 둘을 빠뜨리면 Case 가 셋업을 관계로 걸 수 없고, 걸어도 응답에서 종류가 튕긴다. 백엔드의 계약 union Jackson 테스트가 CatalogEntry 쪽을 잡았고, 프론트의 타입 검사가 ResolvedRelation 쪽을 잡았다. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01PTnWufiY9ATv57egkKKVAV --- public/release-manifest.json | 10 +++++----- .../contracts/management/canonical-source.json | 2 +- .../tech-log/contracts/public/canonical-source.json | 2 +- .../tech-log/contracts/studio/canonical-source.json | 4 ++-- src/features/tech-log/contracts/studio/generated.ts | 4 ++-- .../tech-log/contracts/studio/studio-api.openapi.yaml | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/public/release-manifest.json b/public/release-manifest.json index ad6c0de..aa2664d 100644 --- a/public/release-manifest.json +++ b/public/release-manifest.json @@ -38,28 +38,28 @@ }, "contractSet": { "setAlgorithm": "CA_CONTRACT_SET_V1", - "setDigest": "sha256:2348342224565150bb098988b0f2fceb6b7b41ddfc8563308a3817d686f01cd6", + "setDigest": "sha256:9f103bda702c05965e54732f975f68f5f850d9496fc2a59209d9891e64602d80", "packages": [ { "packageId": "@tech-log/management-contract", "version": "1.0.0", "digest": "sha256:0c226600c45b06433480a8a2ef3d812480dce3850c333bfcab5f626143ce77ea", "runtimeProtocolVersion": 1, - "sourceRevision": "1249527" + "sourceRevision": "4065e89" }, { "packageId": "@tech-log/public-contract", "version": "2.1.0", "digest": "sha256:0159d7b834d69252c6edcb5102166084769a58fe1c36764958b90511bb5ec2cc", "runtimeProtocolVersion": 1, - "sourceRevision": "1249527" + "sourceRevision": "4065e89" }, { "packageId": "@tech-log/studio-contract", "version": "3.1.0", - "digest": "sha256:035b07f07eb0d26062b940a3652960444274f34ac9cb273391a3df2326ed14a8", + "digest": "sha256:d06434f33a944f4bbcb26d8725e36c0391685125d2f902176c7ec4b16a78dc40", "runtimeProtocolVersion": 1, - "sourceRevision": "1249527" + "sourceRevision": "4065e89" } ] } diff --git a/src/features/tech-log/contracts/management/canonical-source.json b/src/features/tech-log/contracts/management/canonical-source.json index 18ab87d..6b4baf6 100644 --- a/src/features/tech-log/contracts/management/canonical-source.json +++ b/src/features/tech-log/contracts/management/canonical-source.json @@ -2,7 +2,7 @@ "packageId": "@tech-log/management-contract", "version": "1.0.0", "digest": "sha256:0c226600c45b06433480a8a2ef3d812480dce3850c333bfcab5f626143ce77ea", - "sourceRevision": "1249527", + "sourceRevision": "4065e89", "operationIds": [ "createCaseDraft", "getCaseForEdit", diff --git a/src/features/tech-log/contracts/public/canonical-source.json b/src/features/tech-log/contracts/public/canonical-source.json index 9019e62..f314c39 100644 --- a/src/features/tech-log/contracts/public/canonical-source.json +++ b/src/features/tech-log/contracts/public/canonical-source.json @@ -2,7 +2,7 @@ "packageId": "@tech-log/public-contract", "version": "2.1.0", "digest": "sha256:0159d7b834d69252c6edcb5102166084769a58fe1c36764958b90511bb5ec2cc", - "sourceRevision": "1249527", + "sourceRevision": "4065e89", "operationIds": [ "getPublicSite", "getPublicHome", diff --git a/src/features/tech-log/contracts/studio/canonical-source.json b/src/features/tech-log/contracts/studio/canonical-source.json index c9871a2..3210501 100644 --- a/src/features/tech-log/contracts/studio/canonical-source.json +++ b/src/features/tech-log/contracts/studio/canonical-source.json @@ -1,8 +1,8 @@ { "packageId": "@tech-log/studio-contract", "version": "3.1.0", - "digest": "sha256:035b07f07eb0d26062b940a3652960444274f34ac9cb273391a3df2326ed14a8", - "sourceRevision": "1249527", + "digest": "sha256:d06434f33a944f4bbcb26d8725e36c0391685125d2f902176c7ec4b16a78dc40", + "sourceRevision": "4065e89", "operationIds": [ "getStudioSession", "getStudioDashboard", diff --git a/src/features/tech-log/contracts/studio/generated.ts b/src/features/tech-log/contracts/studio/generated.ts index 7e1dd34..dab81d5 100644 --- a/src/features/tech-log/contracts/studio/generated.ts +++ b/src/features/tech-log/contracts/studio/generated.ts @@ -916,7 +916,7 @@ export interface components { /** Format: uuid */ targetId: string; /** @enum {string} */ - targetKind: "CASE" | "REFERENCE" | "QUESTION" | "PROJECT" | "PROJECT_DECISION" | "CONCEPT"; + targetKind: "CASE" | "REFERENCE" | "QUESTION" | "PROJECT" | "PROJECT_DECISION" | "CONCEPT" | "SETUP"; title: string; publicPath: string | null; reason: string; @@ -1422,7 +1422,7 @@ export interface components { type: components["schemas"]["CatalogEntryType"]; label: string; /** @enum {string} */ - kind?: "CASE" | "REFERENCE" | "QUESTION" | "PROJECT" | "PROJECT_DECISION" | "CONCEPT"; + kind?: "CASE" | "REFERENCE" | "QUESTION" | "PROJECT" | "PROJECT_DECISION" | "CONCEPT" | "SETUP"; publicPath?: string; dependencyRevision: components["schemas"]["DependencyRevision"]; }; diff --git a/src/features/tech-log/contracts/studio/studio-api.openapi.yaml b/src/features/tech-log/contracts/studio/studio-api.openapi.yaml index 56d6560..4c3b7b6 100644 --- a/src/features/tech-log/contracts/studio/studio-api.openapi.yaml +++ b/src/features/tech-log/contracts/studio/studio-api.openapi.yaml @@ -1312,7 +1312,7 @@ components: properties: id: { type: string, format: uuid } targetId: { type: string, format: uuid } - targetKind: { type: string, enum: [CASE, REFERENCE, QUESTION, PROJECT, PROJECT_DECISION, CONCEPT] } + targetKind: { type: string, enum: [CASE, REFERENCE, QUESTION, PROJECT, PROJECT_DECISION, CONCEPT, SETUP] } title: { type: string, minLength: 1, maxLength: 200 } publicPath: { type: [string, "null"], maxLength: 500 } reason: { type: string, maxLength: 100000 } @@ -1904,7 +1904,7 @@ components: id: { type: string, format: uuid } type: { $ref: "#/components/schemas/CatalogEntryType" } label: { type: string, minLength: 1, maxLength: 200 } - kind: { type: string, enum: [CASE, REFERENCE, QUESTION, PROJECT, PROJECT_DECISION, CONCEPT] } + kind: { type: string, enum: [CASE, REFERENCE, QUESTION, PROJECT, PROJECT_DECISION, CONCEPT, SETUP] } publicPath: { type: string, minLength: 1, maxLength: 500 } dependencyRevision: { $ref: "#/components/schemas/DependencyRevision" } CatalogPage: