updateDateAutoValues
@firecms/core / updateDateAutoValues
Function: updateDateAutoValues()
Section titled “Function: updateDateAutoValues()”updateDateAutoValues<
M>(__namedParameters):M
Defined in: util/entities.ts:86
Update the automatic values in an entity before save
Type Parameters
Section titled “Type Parameters”M extends Record<string, any>
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”inputValues
Section titled “inputValues”Partial<EntityValues<M>>
properties
Section titled “properties”setDateToMidnight
Section titled “setDateToMidnight”(input?) => any
status
Section titled “status”timestampNowValue
Section titled “timestampNowValue”any
Returns
Section titled “Returns”M