@g1cloud/entity-modeler-next 5.0.0-beta.14 → 5.0.0-beta.16
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 +26 -4
- package/dist/core/propagation.d.ts +12 -0
- package/dist/editor/controller.d.ts +7 -0
- package/dist/entity-modeler-next.css +1 -1
- package/dist/entity-modeler.js +11022 -10772
- package/dist/entity-modeler.umd.cjs +26 -26
- package/dist/i18n/ko.d.ts +1 -0
- package/dist/view/DiagramCanvas.vue.d.ts +1 -0
- package/dist/view/nodeInternals.d.ts +15 -0
- package/package.json +3 -4
package/dist/agent/resolver.d.ts
CHANGED
|
@@ -175,6 +175,32 @@ export type ResolveError = {
|
|
|
175
175
|
entity: Handle;
|
|
176
176
|
handle: Handle;
|
|
177
177
|
keys: string[];
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* associationEnd.update patch의 `navigable`(양 end) — end1(from): inverse nav 실체화/철거는
|
|
181
|
+
* RELATION_REF 속성 생성·삭제가 동반되는 GUI 토글 소유(통과 시 "navigable=true ⟺ RELATION_REF 존재"
|
|
182
|
+
* 불변식이 깨져 로드 자가치유가 비결정 실체화를 반복). end2(to): JPA 소유측 참조는 관계 존재와
|
|
183
|
+
* 동치라 고정 true — 참조 없는 FK는 관계가 아니라 일반 컬럼으로 모델링.
|
|
184
|
+
*/
|
|
185
|
+
| {
|
|
186
|
+
code: 'navigable-toggle-unsupported';
|
|
187
|
+
opIndex: number;
|
|
188
|
+
handle: AssocHandle;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* FK 파생 속성(RELATION* + 물리 컬럼) 직접 삭제 — 관계가 소유하는 파생물이라 직접 지우면 관계
|
|
192
|
+
* end.attributeRef가 끊긴다(GUI removeAttribute 가드 동형, Option B). `association`(양 끝 엔티티명)의
|
|
193
|
+
* 관계를 association.remove로 삭제하도록 유도.
|
|
194
|
+
*/
|
|
195
|
+
| {
|
|
196
|
+
code: 'attribute-fk-managed';
|
|
197
|
+
opIndex: number;
|
|
198
|
+
entity: Handle;
|
|
199
|
+
handle: Handle;
|
|
200
|
+
association: {
|
|
201
|
+
from: string;
|
|
202
|
+
to: string;
|
|
203
|
+
};
|
|
178
204
|
};
|
|
179
205
|
export type ResolveResult = {
|
|
180
206
|
ok: true;
|
|
@@ -193,8 +219,4 @@ export interface ResolverOptions {
|
|
|
193
219
|
*/
|
|
194
220
|
embeddableCatalog?: EmbeddableCatalog;
|
|
195
221
|
}
|
|
196
|
-
/**
|
|
197
|
-
* 심볼릭 op 배치를 OpShape 배치로 해소한다.
|
|
198
|
-
* 전부 해소되면 `{ok:true, ops}`, 하나라도 실패하면 `{ok:false, errors}`(모든 실패 누적 — 에이전트가 한 번에 재질의).
|
|
199
|
-
*/
|
|
200
222
|
export declare function resolveSymbolicOps(model: LogicalModel, ops: SymbolicOp[], options?: ResolverOptions): ResolveResult;
|
|
@@ -47,6 +47,18 @@ export declare function reconcileForeignAttributes(logical: LogicalModel, childE
|
|
|
47
47
|
* self-association은 비식별이라 자식 식별자를 바꾸지 않아 더 전파되지 않는다(자연 종료).
|
|
48
48
|
*/
|
|
49
49
|
export declare function planPropagation(logical: LogicalModel, changedEntityId: ModelId, idFactory?: IdFactory): Map<ModelId, ReconcilePlan>;
|
|
50
|
+
/**
|
|
51
|
+
* "자식의 FK 집합이 직접 바뀌는" 트리거(관계 삭제·identifying 토글·부모 엔터티 삭제)의
|
|
52
|
+
* seed reconcile + 후손 cascade 통합 계획. futureLogical은 트리거 변경이 이미 반영된 상태여야 한다.
|
|
53
|
+
* 반환은 seed(자식)부터 후손 순서의 목록 — 빈 계획은 제외.
|
|
54
|
+
*
|
|
55
|
+
* editor controller(→Command)와 agent resolver(→OpShape)가 이 산식을 공유한다 — 계약 4(cascade =
|
|
56
|
+
* 클라 명시 분해)의 계산 주체를 한 곳에 두어 쓰기 경로별 분해 드리프트를 구조적으로 차단한다.
|
|
57
|
+
*/
|
|
58
|
+
export declare function planChildReconcileWithCascade(futureLogical: LogicalModel, childId: ModelId, idFactory?: IdFactory): Array<{
|
|
59
|
+
entityId: ModelId;
|
|
60
|
+
plan: ReconcilePlan;
|
|
61
|
+
}>;
|
|
50
62
|
/**
|
|
51
63
|
* 주어진 속성이 "연관관계가 관리하는 FK 컬럼"이면 그 소유 연관관계를 돌려준다(아니면 undefined).
|
|
52
64
|
*
|
|
@@ -512,4 +512,11 @@ export declare function createEditorController(initial?: EditorState, options?:
|
|
|
512
512
|
largeEntityThreshold?: number;
|
|
513
513
|
/** CHK-DSN-3 초기 활성 여부 — 기본 false. 런타임은 flagEntitiesWithoutRelations로 사용자가 토글. */
|
|
514
514
|
flagEntitiesWithoutRelations?: boolean;
|
|
515
|
+
/**
|
|
516
|
+
* 검증(validateModel) 재실행 디바운스 창(ms, 기본 250). validateModel은 전체 모델 스캔이라 키 입력마다
|
|
517
|
+
* 동기 재실행하면 대형 다이어그램에서 입력 지연의 주요 축(VE-1) — 기본은 변경 신호(revision) 기반
|
|
518
|
+
* 트레일링 디바운스. `0` 이하 주입 시 현행 동기 computed 그대로(변경 직후 즉시 일관성이 필요한
|
|
519
|
+
* 테스트·소비자용 escape hatch).
|
|
520
|
+
*/
|
|
521
|
+
validationDebounceMs?: number;
|
|
515
522
|
}): EditorController;
|