generated from mattermost/mattermost-plugin-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. create and delete WP feature 2. notification webhook handler
- Loading branch information
Showing
12 changed files
with
589 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package main | ||
|
||
type AvailableAssignees struct { | ||
Links Links `json:"_links"` | ||
Type string `json:"_type"` | ||
Total int64 `json:"total"` | ||
Count int64 `json:"count"` | ||
Embedded struct { | ||
Elements []AvailableAssigneesElement `json:"elements"` | ||
} `json:"_embedded"` | ||
} | ||
|
||
type AvailableAssigneesElement struct { | ||
Links AvailableAssigneeLinks `json:"_links"` | ||
Type string `json:"_type"` | ||
ID int `json:"id"` | ||
Avatar string `json:"avatar"` | ||
Email string `json:"email"` | ||
FirstName string `json:"firstName"` | ||
LastName string `json:"lastName"` | ||
Login string `json:"login"` | ||
Status string `json:"status"` | ||
CreatedAt string `json:"createdAt"` | ||
UpdatedAt string `json:"updatedAt"` | ||
} | ||
|
||
type AvailableAssigneeLinks struct { | ||
Delete Lock `json:"delete"` | ||
Self Self `json:"self"` | ||
Lock Lock `json:"lock"` | ||
} | ||
|
||
type Lock struct { | ||
Href string `json:"href"` | ||
Method string `json:"method"` | ||
Title string `json:"title"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package main | ||
|
||
type Notification struct { | ||
Action string `json:"action"` | ||
TimeEntry TimeEntries `json:"time_entry"` | ||
Project Projects `json:"project"` | ||
WorkPackage WorkPackages `json:"work_package"` | ||
Attachment Attachment `json:"attachment"` | ||
} |
Oops, something went wrong.