• Determine what the managed timestamp field names are for the given model definition and return the mapping.

    All timestamp fields are included in the mapping, regardless of whether the final field names are the defaults or customized in the @model directive.

    Parameters

    Returns {
        createdAt: string;
        updatedAt: string;
    }

    An object mapping createdAt and updatedAt to their field names.

    • createdAt: string
    • updatedAt: string