@@ -35,16 +35,16 @@ data Error =
3535
3636data SimpleOwner = SimpleUserOwner {
3737 simpleOwnerAvatarUrl :: ! Text
38- ,simpleOwnerLogin :: ! (Name SimpleOwner )
38+ ,simpleOwnerLogin :: ! (Name GithubOwner )
3939 ,simpleOwnerUrl :: ! Text
40- ,simpleOwnerId :: ! (Id SimpleOwner )
40+ ,simpleOwnerId :: ! (Id GithubOwner )
4141 ,simpleOwnerGravatarId :: ! (Maybe Text )
4242 }
4343 | SimpleOrganizationOwner {
4444 simpleOwnerAvatarUrl :: ! Text
45- ,simpleOwnerLogin :: ! (Name SimpleOwner )
45+ ,simpleOwnerLogin :: ! (Name GithubOwner )
4646 ,simpleOwnerUrl :: ! Text
47- ,simpleOwnerId :: ! (Id SimpleOwner )
47+ ,simpleOwnerId :: ! (Id GithubOwner )
4848} deriving (Show , Data , Typeable , Eq , Ord , Generic )
4949
5050instance NFData SimpleOwner where rnf = genericRnf
@@ -183,9 +183,9 @@ data GithubOwner = GithubUser {
183183 ,githubOwnerCompany :: ! (Maybe Text )
184184 ,githubOwnerEmail :: ! (Maybe Text )
185185 ,githubOwnerUrl :: ! Text
186- ,githubOwnerId :: ! (Id SimpleOwner )
186+ ,githubOwnerId :: ! (Id GithubOwner )
187187 ,githubOwnerHtmlUrl :: ! Text
188- ,githubOwnerLogin :: ! (Name SimpleOwner )
188+ ,githubOwnerLogin :: ! (Name GithubOwner )
189189 }
190190 | GithubOrganization {
191191 githubOwnerCreatedAt :: ! UTCTime
@@ -201,9 +201,9 @@ data GithubOwner = GithubUser {
201201 ,githubOwnerLocation :: ! (Maybe Text )
202202 ,githubOwnerCompany :: ! (Maybe Text )
203203 ,githubOwnerUrl :: ! Text
204- ,githubOwnerId :: ! (Id SimpleOwner )
204+ ,githubOwnerId :: ! (Id GithubOwner )
205205 ,githubOwnerHtmlUrl :: ! Text
206- ,githubOwnerLogin :: ! (Name SimpleOwner )
206+ ,githubOwnerLogin :: ! (Name GithubOwner )
207207} deriving (Show , Data , Typeable , Eq , Ord , Generic )
208208
209209instance NFData GithubOwner where rnf = genericRnf
0 commit comments