@@ -26,12 +26,33 @@ func gitHubTeamMemberColumns() []*plugin.Column {
2626 cols := []* plugin.Column {
2727 {Name : "slug" , Type : proto .ColumnType_STRING , Description : "The team slug name." ,
2828 Transform : transform .FromField ("Description.Slug" )},
29+ {Name : "organization" , Type : proto .ColumnType_STRING , Description : "The team organization" ,
30+ Transform : transform .FromField ("Description.Organization" )},
2931 {Name : "role" , Type : proto .ColumnType_STRING , Description : "The team member's role (MEMBER, MAINTAINER)." ,
3032 Transform : transform .FromField ("Description.Role" )},
3133 {Name : "login_id" , Type : proto .ColumnType_STRING , Description : "Unique identifier for the user login." ,
3234 Transform : transform .FromField ("Description.LoginID" )},
35+ {Name : "login" , Type : proto .ColumnType_STRING , Description : "The login name of the user." ,
36+ Transform : transform .FromField ("Description.Login" )},
37+ {Name : "id" , Type : proto .ColumnType_INT , Description : "The ID of the user." ,
38+ Transform : transform .FromField ("Description.Id" )},
39+ {Name : "name" , Type : proto .ColumnType_STRING , Description : "The name of the user." ,
40+ Transform : transform .FromField ("Description.Name" )},
41+ {Name : "node_id" , Type : proto .ColumnType_STRING , Description : "The node ID of the user." ,
42+ Transform : transform .FromField ("Description.NodeId" )},
43+ {Name : "email" , Type : proto .ColumnType_STRING , Description : "The email of the user." ,
44+ Transform : transform .FromField ("Description.Email" )},
45+ {Name : "created_at" , Type : proto .ColumnType_TIMESTAMP , Description : "Timestamp when user was created." ,
46+ Transform : transform .FromField ("Description.CreatedAt" ).NullIfZero ().Transform (convertTimestamp )},
47+ {Name : "company" , Type : proto .ColumnType_STRING , Description : "The company on the users profile." ,
48+ Transform : transform .FromField ("Description.Company" )},
49+ {Name : "interaction_ability" , Type : proto .ColumnType_JSON , Description : "The interaction ability settings for this user." ,
50+ Transform : transform .FromField ("Description.InteractionAbility" )},
51+ {Name : "is_site_admin" , Type : proto .ColumnType_BOOL , Description : "If true, user is a site administrator." ,
52+ Transform : transform .FromField ("Description.IsSiteAdmin" )},
53+ {Name : "location" , Type : proto .ColumnType_STRING , Description : "The location of the user." ,
54+ Transform : transform .FromField ("Description.Location" )},
3355 }
3456
35- cols = append (cols , sharedUserColumns ()... )
3657 return cols
3758}
0 commit comments