loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at forgejo 27 lines 772 B view raw
1// Copyright 2015 The Gogs Authors. All rights reserved. 2// Copyright 2023 The Gitea Authors. All rights reserved. 3// SPDX-License-Identifier: MIT 4 5package structs 6 7// Email an email address belonging to a user 8type Email struct { 9 // swagger:strfmt email 10 Email string `json:"email" binding:"EmailWithAllowedDomain"` 11 Verified bool `json:"verified"` 12 Primary bool `json:"primary"` 13 UserID int64 `json:"user_id"` 14 UserName string `json:"username"` 15} 16 17// CreateEmailOption options when creating email addresses 18type CreateEmailOption struct { 19 // email addresses to add 20 Emails []string `json:"emails"` 21} 22 23// DeleteEmailOption options when deleting email addresses 24type DeleteEmailOption struct { 25 // email addresses to delete 26 Emails []string `json:"emails"` 27}