Interface SerializedActionCallWithModelIdOverrides

Serialized action call with model ID overrides. Can be generated with applySerializedActionAndTrackNewModelIds. To be applied with applySerializedActionAndSyncNewModelIds.

interface SerializedActionCallWithModelIdOverrides {
    actionName: string;
    args: readonly (JSONPrimitiveValue | SerializedActionCallArgument)[];
    modelIdOverrides: readonly Patch[];
    serialized: true;
    targetPath: Path;
    targetPathIds: readonly (null | string)[];
}

Hierarchy (View Summary)

Properties

actionName: string

Action name (name of the function).

args: readonly (JSONPrimitiveValue | SerializedActionCallArgument)[]

Serialized action arguments.

modelIdOverrides: readonly Patch[]

Model Id overrides to be applied at the end of applying the action.

serialized: true

Marks this action call as serialized.

targetPath: Path

Path to the model where the action will be run, as an array of string | number.

targetPathIds: readonly (null | string)[]

Ids of models along the path to the target, null if it is not a model.