@g1cloud/entity-modeler-next 5.1.10 → 5.2.0
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.
- package/dist/agent/resolver.d.ts +33 -0
- package/dist/core/inheritedColumns.d.ts +1 -1
- package/dist/core/javaTypes.d.ts +19 -3
- package/dist/core/scaffoldJava.d.ts +34 -0
- package/dist/core/serializedTypeRef.d.ts +49 -0
- package/dist/core/stereotype.d.ts +40 -0
- package/dist/core/types.d.ts +35 -1
- package/dist/editor/attribute.d.ts +1 -1
- package/dist/editor/controller.d.ts +7 -0
- package/dist/editor/entity.d.ts +5 -0
- package/dist/entity-modeler-next.css +1 -1
- package/dist/entity-modeler.js +11191 -10761
- package/dist/entity-modeler.umd.cjs +23 -23
- package/dist/i18n/ko.d.ts +10 -1
- package/dist/index.d.ts +1 -1
- package/dist/view/SerializedTypeEdge.vue.d.ts +13 -0
- package/dist/view/serializedTypeEdges.d.ts +12 -0
- package/dist/view/useAttributeEditing.d.ts +3 -1
- package/package.json +1 -1
package/dist/i18n/ko.d.ts
CHANGED
|
@@ -401,8 +401,17 @@ export declare const ko: {
|
|
|
401
401
|
readonly 'em.check.name8': "속성 \"{name}\"의 컬럼 물리명이 비어 있습니다 — DDL·코드 생성에서 이 컬럼이 통째로 누락됩니다. 물리명을 채우세요";
|
|
402
402
|
readonly 'em.check.name9': "두 엔티티가 같은 테이블 \"{name}\"에 매핑됩니다 — 컬럼이 한 테이블에 뒤섞입니다. 테이블 물리명을 구분하세요";
|
|
403
403
|
readonly 'em.check.name10': "인덱스 이름이 중복됩니다: \"{name}\" — 인덱스 이름은 DB 스키마 전역에서 유일해야 합니다";
|
|
404
|
+
readonly 'em.entity.valueTypeSwitchEmbedded': "\"{name}\"은(는) 현재 {owners}개 엔티티에 임베드되어 있어 직렬화 타입/임베더블 사이를 바로 전환할 수 없습니다 — 임베드 속성을 먼저 정리한 뒤 전환하세요(직렬화 타입은 관계가 아니라 타입 참조로 지목됩니다)";
|
|
405
|
+
readonly 'em.attr.serializedNoColumnNote': "직렬화 타입은 필드별 물리 컬럼이 없습니다 — 소비 속성의 컬럼 하나에 통째로 직렬화됩니다";
|
|
406
|
+
readonly 'em.entity.noOwnTableNote': "값 타입은 자체 테이블이 없습니다 — 임베더블은 소유자 테이블로 펼쳐지고, 직렬화 타입은 소비 속성의 컬럼 하나에 직렬화됩니다";
|
|
407
|
+
readonly 'em.entity.serializedTypeHasRelations': "\"{name}\"은(는) 연관관계 {count}개에 참여 중이라 직렬화 타입으로 바꿀 수 없습니다 — 연관을 먼저 정리하세요(직렬화 타입은 관계가 아니라 소비 속성의 타입 참조로 지목됩니다)";
|
|
408
|
+
readonly 'em.entity.serializedContainer': "컨테이너";
|
|
409
|
+
readonly 'em.entity.serializedContainerNone': "없음 (단일 값)";
|
|
410
|
+
readonly 'em.entity.serializedMapKey': "Map 키 타입";
|
|
411
|
+
readonly 'em.entity.serializedMapKeyPlaceholder': "예: PromoType (미지정 시 코드젠이 임시 Object + 손채움)";
|
|
412
|
+
readonly 'em.entity.noIndexNote': "직렬화 타입은 인덱스를 가질 수 없습니다 — 인덱스는 컬럼에 걸리는데 이 타입은 소비 속성의 컬럼 하나에 통째로 직렬화됩니다";
|
|
404
413
|
readonly 'em.check.jpa1': "JPA 엔티티에 식별자(PK) 속성이 없습니다";
|
|
405
|
-
readonly 'em.check.jpa2': "
|
|
414
|
+
readonly 'em.check.jpa2': "값 타입(임베더블·직렬화 타입)은 식별자 속성을 가질 수 없습니다: \"{name}\"";
|
|
406
415
|
readonly 'em.check.jpa4': "식별 관계 사이클입니다 (PK 무한 의존): {path}";
|
|
407
416
|
readonly 'em.check.jpa5': "{which}: cascade ALL이 개별 cascade와 중복됩니다 (ALL이 모두 포함)";
|
|
408
417
|
readonly 'em.check.jpa7': "{which}: 컬렉션(to-many) 연관에 EAGER 페치는 성능 위험이 있습니다";
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { resolveColumnPhysicalName, resolveEffectiveColumn, type ColumnResolveCo
|
|
|
15
15
|
export { resolveQuickFix, type QuickFixPlan } from './core/quickFix';
|
|
16
16
|
export { collectSharedColumns, resolveSharedColumn, sharedColumnScopeEntities, type ResolvedSharedColumn, } from './core/sharedColumn';
|
|
17
17
|
export { JAVA_TYPES, SELECTABLE_JAVA_TYPES, javaTypeLabel, CUSTOM_TYPE_VALUE, GROUP_CODE_ENUM_VALUE, DEFAULT_JAVA_TYPE, type JavaTypeDef, } from './core/javaTypes';
|
|
18
|
-
export { scaffoldEntityJava, isGeneratable, type ScaffoldOptions, type ScaffoldedEntity, type ConverterAxis, type ConverterCatalog, } from './core/scaffoldJava';
|
|
18
|
+
export { scaffoldEntityJava, isGeneratable, type ScaffoldOptions, type ScaffoldedEntity, type ConverterAxis, type ConverterCatalog, type CustomTypeEntry, type CustomTypeCatalog, } from './core/scaffoldJava';
|
|
19
19
|
export { migrateLegacyMoney } from './core/migrateLegacyMoney';
|
|
20
20
|
export { dedupeModelIds, type DedupeResult } from './core/dedupeModelIds';
|
|
21
21
|
export { multiplicityLabel } from './core/associationNav';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GraphNode } from '@vue-flow/core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
sourceNode: GraphNode;
|
|
5
|
+
targetNode: GraphNode;
|
|
6
|
+
data: {
|
|
7
|
+
consumerRef: string;
|
|
8
|
+
typeRef: string;
|
|
9
|
+
usageCount: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LogicalModel, ModelId } from '../core/types';
|
|
2
|
+
export interface SerializedTypeEdgePlan {
|
|
3
|
+
/** 이 직렬화 타입을 `type` 으로 쓰는 엔티티(선의 출발). */
|
|
4
|
+
consumerRef: ModelId;
|
|
5
|
+
/** 지목된 직렬화 타입 엔티티(선의 도착). */
|
|
6
|
+
typeRef: ModelId;
|
|
7
|
+
/** 그 엔티티가 이 타입을 쓰는 속성 수 — 툴팁·디버깅용(선은 하나로 접힌다). */
|
|
8
|
+
usageCount: number;
|
|
9
|
+
}
|
|
10
|
+
/** 합성 엣지 id — (소비자, 직렬화 타입) 쌍이 키다(같은 쌍이면 같은 선). */
|
|
11
|
+
export declare function serializedTypeEdgeId(consumerRef: ModelId, typeRef: ModelId): string;
|
|
12
|
+
export declare function planSerializedTypeEdges(logical: LogicalModel): SerializedTypeEdgePlan[];
|
|
@@ -5,7 +5,8 @@ import { JavaTypeDef } from '../core/javaTypes';
|
|
|
5
5
|
import { isMultiColumnFk } from '../core/fkDerived';
|
|
6
6
|
export declare function useAttributeEditing(c: EditorController, entityId: () => string): {
|
|
7
7
|
entity: ComputedRef<Entity | null>;
|
|
8
|
-
|
|
8
|
+
isValueType: ComputedRef<boolean>;
|
|
9
|
+
isColumnless: ComputedRef<boolean>;
|
|
9
10
|
focusedAttrIds: ComputedRef<Set<string>>;
|
|
10
11
|
personalInfoItems: string[];
|
|
11
12
|
piiLabel: (v: string) => string;
|
|
@@ -39,6 +40,7 @@ export declare function useAttributeEditing(c: EditorController, entityId: () =>
|
|
|
39
40
|
attrPiiValue: (a: Attribute) => string;
|
|
40
41
|
setAttrPii: (a: Attribute, v: string) => void;
|
|
41
42
|
predefinedCustomTypeCatalog: ComputedRef<import('..').PredefinedCustomTypeCatalog>;
|
|
43
|
+
serializedTypeNames: ComputedRef<string[]>;
|
|
42
44
|
embeddableCatalog: ComputedRef<import('..').EmbeddableCatalog>;
|
|
43
45
|
predefinedLabel: (e: EmbeddableCatalogEntry) => string;
|
|
44
46
|
groupCodeCatalog: ComputedRef<import('..').GroupCodeCatalog>;
|