@g1cloud/entity-modeler-next 5.2.4 → 5.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,22 @@ export interface JavaTypeDef {
9
9
  }
10
10
  /** CustomType 마커 — Attribute.type이 이 값이면 실제 타입명은 Attribute.customType에 있다. */
11
11
  export declare const CUSTOM_TYPE_VALUE = "CustomType";
12
+ /**
13
+ * ④ CustomType 마커가 가리키는 **실제 타입명** — 마커가 아니거나 이름이 비면 `undefined`.
14
+ *
15
+ * ★**폴백을 담지 않는 이유**: 마커를 못 벗겼을 때 무엇을 보일지는 소비처마다 다르다 —
16
+ * 캔버스는 자바 라벨(`PrimitiveInt`→`int`)을, `/text` 는 **저장값 그대로**(`PrimitiveInt`)를 낸다.
17
+ * 폴백까지 넣으면 한쪽이 반드시 틀린다 ⇒ 벗기는 규칙만 공유하고 폴백은 호출부가 고른다
18
+ * (`customTypeNameOf(a) ?? <소비처 폴백>`).
19
+ *
20
+ * ★**왜 공유하는가**: 이 규칙이 두 자리에 «각자» 적혀 있었고 `/text` 쪽만 틀렸다 — 속성의 `type`
21
+ * (리터럴 `"CustomType"`)을 그대로 표시해 **요소 타입 이름을 잃었다**(2026-08-29 프로덕션 실측
22
+ * 40건 중 39건). 캔버스는 맞았으므로 **화면과 AI 입력이 다른 것을 말하고** 있었고, 그 출력은
23
+ * 호스트 `/text` = **AI 의 주 읽기 경로**다. 산식이 아니라 «규칙»이라도 재기술하면 갈린다.
24
+ *
25
+ * 공백만인 값은 빈값으로 본다(리포 `isBlank` 시맨틱 · 실측 0건이라 도입 영향 없음).
26
+ */
27
+ export declare function customTypeNameOf(attr: Pick<Attribute, 'type' | 'customType'>): string | undefined;
12
28
  /** ⑤ 파생 타입 마커 — groupCode 지정 시 Attribute.type이 이 값으로 자동 설정된다(드롭다운 자유 선택 아님). */
13
29
  export declare const GROUP_CODE_ENUM_VALUE = "GroupCodeEnum";
14
30
  /** 신규 속성 생성·파생 타입 해제 시 환원할 기본 스칼라 타입(생성 기본값과 동일 출처). */