mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[feature] New user sign-up via web page (#2796)
* [feature] User sign-up form and admin notifs * add chosen + filtered languages to migration * remove stray comment * chosen languages schmosen schmanguages * proper error on local account missing
This commit is contained in:
@ -26,13 +26,14 @@ type Notification struct {
|
||||
// The id of the notification in the database.
|
||||
ID string `json:"id"`
|
||||
// The type of event that resulted in the notification.
|
||||
// follow = Someone followed you
|
||||
// follow_request = Someone requested to follow you
|
||||
// mention = Someone mentioned you in their status
|
||||
// reblog = Someone boosted one of your statuses
|
||||
// favourite = Someone favourited one of your statuses
|
||||
// poll = A poll you have voted in or created has ended
|
||||
// status = Someone you enabled notifications for has posted a status
|
||||
// follow = Someone followed you. `account` will be set.
|
||||
// follow_request = Someone requested to follow you. `account` will be set.
|
||||
// mention = Someone mentioned you in their status. `status` will be set. `account` will be set.
|
||||
// reblog = Someone boosted one of your statuses. `status` will be set. `account` will be set.
|
||||
// favourite = Someone favourited one of your statuses. `status` will be set. `account` will be set.
|
||||
// poll = A poll you have voted in or created has ended. `status` will be set. `account` will be set.
|
||||
// status = Someone you enabled notifications for has posted a status. `status` will be set. `account` will be set.
|
||||
// admin.sign_up = Someone has signed up for a new account on the instance. `account` will be set.
|
||||
Type string `json:"type"`
|
||||
// The timestamp of the notification (ISO 8601 Datetime)
|
||||
CreatedAt string `json:"created_at"`
|
||||
|
Reference in New Issue
Block a user