Skip to main content

Interface: SemanticChange

Defined in: packages/core/src/migrate/types.ts:23

Properties

compat

compat: Compat;

Defined in: packages/core/src/migrate/types.ts:26


from?

optional from?: unknown;

Defined in: packages/core/src/migrate/types.ts:29


kind

kind: string;

Defined in: packages/core/src/migrate/types.ts:25

Stable machine key: added, removed, renamed, type-widened, …


message

message: LocalizedString;

Defined in: packages/core/src/migrate/types.ts:31


suggestedStep?

optional suggestedStep?: MigrationStep;

Defined in: packages/core/src/migrate/types.ts:37

The step that would carry the data across. Present on every T change, and on some B ones as a starting point a person must complete — a remapChoices with an empty map is a prompt, not an instruction.


target?

optional target?: string;

Defined in: packages/core/src/migrate/types.ts:28

The field name this is about, when it is about one.


to?

optional to?: unknown;

Defined in: packages/core/src/migrate/types.ts:30