@univerjssheets-data-validationindexfunctionsGetdatavalidationdiffmutations

@univerjs/sheets-data-validation v0.5.4


Function: getDataValidationDiffMutations()

function getDataValidationDiffMutations(
   unitId, 
   subUnitId, 
   diffs, 
   accessor, 
   source, 
   fillDefaultValue): {
  redoMutations: IMutationInfo[];
  undoMutations: IMutationInfo[];
}

Defined in: sheets-data-validation/src/commands/commands/data-validation.command.ts:51

Parameters

ParameterTypeDefault value
unitIdstringundefined
subUnitIdstringundefined
diffsRangeMutation[]undefined
accessorIAccessorundefined
sourceDataValidationChangeSource'command'
fillDefaultValuebooleantrue

Returns

{
  redoMutations: IMutationInfo[];
  undoMutations: IMutationInfo[];
}
NameTypeDefined in
redoMutationsIMutationInfo[]sheets-data-validation/src/commands/commands/data-validation.command.ts:68
undoMutationsIMutationInfo[]sheets-data-validation/src/commands/commands/data-validation.command.ts:69