ProfileEditLogData
public struct ProfileEditLogData : Content
Used to return data moderators need to view previous edits a user made to their profile.
This structure will have either the profileData or profileImage field populated.
An array of these stucts is placed inside ProfileModerationData.
-
Declaration
Swift
var editID: UUID -
Declaration
Swift
var createdAt: Date -
Declaration
Swift
var author: UserHeader -
Declaration
Swift
var profileData: UserProfileUploadData? -
Declaration
Swift
var profileImage: String? -
Declaration
Swift
init(_ edit: ProfileEdit, on req: Request) throws
View on GitHub