TwarrtEdit
final class TwarrtEdit : ModelWhen a Twarrt is edited, a TwarrtEdit is created and associated with the
twarrt.
This is done for accountability purposes and the data collected is intended to be viewable
only by users with an access level of .moderator or above.
- 
                  
                  DeclarationSwift static let schema: String
- 
                  
                  The edit’s ID. DeclarationSwift @ID var id: UUID?
- 
                  
                  The previous contents of the post. The previous text of the post. DeclarationSwift @Field var text: String
- 
                  
                  The previous images, if any. DeclarationSwift @OptionalField var images: [String]?
- 
                  
                  Timestamp of the model’s creation, set automatically. DeclarationSwift @Timestamp var createdAt: Date?
- 
                  
                  DeclarationSwift init()
- 
                  
                  Initializes a new TwarrtEdit with the current contents of a twarrt.. Call on the twarrt BEFORE editing it to save previous contents. DeclarationSwift init(twarrt: Twarrt, editorID: UUID) throwsParameterstwarrtThe Twarrt that will be edited. 
 View on GitHub
            View on GitHub
           TwarrtEdit Class Reference
      TwarrtEdit Class Reference