Skip to content

Commit

Permalink
Merge pull request #15 from manifoldco/add-invite-type
Browse files Browse the repository at this point in the history
Add invite type
  • Loading branch information
mattcreager committed Jul 24, 2017
2 parents 8a4b15b + 63421ef commit 1fa4e3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion idtype/idtype.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ type Type uint16
// ############################################################################
//
var (
// users, orgs, teams
// users, orgs, teams, invites
User Type = 0x000 // User object
ForgotPasswordToken Type = 0x001 // ForgotPasswordToken object
Team Type = 0x002
TeamMembership Type = 0x003
Invite Type = 0x004

// Authentication
Token Type = 0x064 // Dashboard Auth
Expand Down Expand Up @@ -157,6 +158,7 @@ func init() {
Register(ForgotPasswordToken, true, "forgot_password_token")
Register(Team, true, "team")
Register(TeamMembership, true, "team_membership")
Register(Invite, true, "invite")

Register(Token, true, "token")
Register(OAuthCredential, true, "oauth_credential")
Expand Down

0 comments on commit 1fa4e3f

Please sign in to comment.