@g1cloud/entity-modeler-next 5.0.0-beta.27 → 5.0.0-beta.30
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/adapter/healBackfill.d.ts +21 -3
- package/dist/agent/resolver.d.ts +7 -0
- package/dist/entity-modeler.js +8154 -8127
- package/dist/entity-modeler.umd.cjs +28 -28
- package/dist/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/adapter/propagationBackfill.d.ts +0 -32
package/dist/index.d.ts
CHANGED
|
@@ -37,7 +37,6 @@ export * from './agent/schema';
|
|
|
37
37
|
export * from './agent/buildAgentBatch';
|
|
38
38
|
export * from './adapter/diagramAdapter';
|
|
39
39
|
export { planHealBackfillOps, type HealBackfillPlan } from './adapter/healBackfill';
|
|
40
|
-
export { planPropagationBackfillOps, type PropagationBackfillPlan } from './adapter/propagationBackfill';
|
|
41
40
|
export type * from './adapter/persisted';
|
|
42
41
|
export { default as EntityNode } from './view/EntityNode.vue';
|
|
43
42
|
export { default as GroupNode } from './view/GroupNode.vue';
|
package/package.json
CHANGED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ModelId } from '../core/types';
|
|
2
|
-
import { OpShape } from '../command/op';
|
|
3
|
-
import { PDiagram, PDiagramV2 } from './persisted';
|
|
4
|
-
export interface PropagationBackfillPlan {
|
|
5
|
-
/** backfill op 배치 (비면 정렬 대상 없음 — 문서 skip). */
|
|
6
|
-
ops: OpShape[];
|
|
7
|
-
/** raw doc의 컨테이너 rev 스냅샷 — `buildAgentBatch(diagramId, revs, ops)` CAS base. */
|
|
8
|
-
revs: Record<ModelId, number>;
|
|
9
|
-
/** dry-run 리포트용 집계. */
|
|
10
|
-
summary: {
|
|
11
|
-
/** 방출한 `attribute.update {notNull}` 수. */
|
|
12
|
-
notNullPatches: number;
|
|
13
|
-
/** 승격(nullable→NOT NULL) / 강등(NOT NULL→nullable) 분해 — 방향 편중 확인용. */
|
|
14
|
-
promoted: number;
|
|
15
|
-
demoted: number;
|
|
16
|
-
/** 범위 밖이라 버린 계획 항목 수(무신호 절단 금지). */
|
|
17
|
-
skipped: {
|
|
18
|
-
adds: number;
|
|
19
|
-
removes: number;
|
|
20
|
-
otherPatches: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* v2 doc 하나에 대한 전파 backfill 계획을 산출한다.
|
|
26
|
-
*
|
|
27
|
-
* v1 doc은 빈 계획을 반환한다 — 스윕 라우트가 v2 컬렉션 대상이고, v1은 마이그레이션을 거쳐 v2가
|
|
28
|
-
* 된 뒤 대상이 된다. ⚠️ 단 v1→v2 마이그레이션(hydration)은 저장된 `notNull`을 그대로 옮기므로
|
|
29
|
-
* (`diagramAdapter` `assocFromHydrated`) **이후 새로 마이그레이션되는 문서는 다시 스윕이 필요하다**
|
|
30
|
-
* — AA-2 heal 스윕과 달리 이 축은 hydration이 치유하지 않는다.
|
|
31
|
-
*/
|
|
32
|
-
export declare function planPropagationBackfillOps(doc: PDiagram | PDiagramV2): PropagationBackfillPlan;
|