Appearance
Documentation / @geoverse/editor-core / FeatureVersion
Interface: FeatureVersion
Defined in: packages/editor-core/src/history/index.ts:18
单个版本的全量快照(对照 feature_history 一行)。
Properties
actor?
ts
optional actor?: string;Defined in: packages/editor-core/src/history/index.ts:28
featureId
ts
featureId: string;Defined in: packages/editor-core/src/history/index.ts:19
geometry?
ts
optional geometry?: Geometry;Defined in: packages/editor-core/src/history/index.ts:24
remove 版可空。
op
ts
op: HistoryOp;Defined in: packages/editor-core/src/history/index.ts:22
properties
ts
properties: Record<string, unknown>;Defined in: packages/editor-core/src/history/index.ts:25
txId?
ts
optional txId?: string;Defined in: packages/editor-core/src/history/index.ts:27
关联 ChangeSet.txId。
validFrom
ts
validFrom: number;Defined in: packages/editor-core/src/history/index.ts:30
as-of 用(epoch ms)。
validTo?
ts
optional validTo?: number;Defined in: packages/editor-core/src/history/index.ts:32
undefined = 当前版本。
version
ts
version: number;Defined in: packages/editor-core/src/history/index.ts:21
与 feature.version 同源(乐观锁序号即历史序号)。
