Skip to main content
Version: 3.0.0-beta

Function: updateDateAutoValues()

updateDateAutoValues<M>(__namedParameters): EntityValues<M>

Update the automatic values in an entity before save

Type Parameters​

• M extends Record<string, any>

Parameters​

• __namedParameters

• __namedParameters.inputValues: Partial<M>

• __namedParameters.properties: ResolvedProperties<M>

• __namedParameters.setDateToMidnight

• __namedParameters.status: EntityStatus

• __namedParameters.timestampNowValue: any

Returns​

EntityValues<M>

Defined in​

packages/firecms_core/src/util/entities.ts:84

Sign up to our newsletter to get the latest news and updates. No spam!