@univerjs/sheets-data-validation v0.5.0-beta.1 • Docs
Function: getDataValidationDiffMutations()
function getDataValidationDiffMutations(
unitId,
subUnitId,
diffs,
accessor,
source,
fillDefaultValue): {
redoMutations: IMutationInfo<object>[];
undoMutations: IMutationInfo<object>[];
}
Parameters
Parameter | Type | Default value |
---|---|---|
unitId | string | undefined |
subUnitId | string | undefined |
diffs | RangeMutation [] | undefined |
accessor | IAccessor | undefined |
source | DataValidationChangeSource | 'command' |
fillDefaultValue | boolean | true |
Returns
{
redoMutations: IMutationInfo<object>[];
undoMutations: IMutationInfo<object>[];
}
Name | Type | Defined in |
---|---|---|
redoMutations | IMutationInfo <object >[] | sheets-data-validation/src/commands/commands/data-validation.command.ts:67 |
undoMutations | IMutationInfo <object >[] | sheets-data-validation/src/commands/commands/data-validation.command.ts:68 |
Defined in
sheets-data-validation/src/commands/commands/data-validation.command.ts:51