mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-29 11:03:05 -05:00
improvement: repository screen header
This commit is contained in:
@@ -46,6 +46,9 @@ class GithubRepositoryRepository extends GithubRepositoryPinnableItem
|
||||
@override
|
||||
String description;
|
||||
|
||||
@override
|
||||
String homepageUrl;
|
||||
|
||||
@override
|
||||
bool isPrivate;
|
||||
|
||||
@@ -109,6 +112,7 @@ class GithubRepositoryRepository extends GithubRepositoryPinnableItem
|
||||
owner,
|
||||
name,
|
||||
description,
|
||||
homepageUrl,
|
||||
isPrivate,
|
||||
isFork,
|
||||
stargazers,
|
||||
@@ -667,6 +671,8 @@ class GithubRepositoryRepositoryInfo with EquatableMixin {
|
||||
|
||||
String description;
|
||||
|
||||
String homepageUrl;
|
||||
|
||||
bool isPrivate;
|
||||
|
||||
bool isFork;
|
||||
@@ -685,6 +691,7 @@ class GithubRepositoryRepositoryInfo with EquatableMixin {
|
||||
owner,
|
||||
name,
|
||||
description,
|
||||
homepageUrl,
|
||||
isPrivate,
|
||||
isFork,
|
||||
hasIssuesEnabled,
|
||||
@@ -803,6 +810,12 @@ class GithubRepositoryQuery
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'homepageUrl'),
|
||||
alias: null,
|
||||
arguments: [],
|
||||
directives: [],
|
||||
selectionSet: null),
|
||||
FieldNode(
|
||||
name: NameNode(value: 'isPrivate'),
|
||||
alias: null,
|
||||
@@ -1205,7 +1218,7 @@ class GithubRepositoryQuery
|
||||
arguments: [
|
||||
ArgumentNode(
|
||||
name: NameNode(value: 'first'),
|
||||
value: IntValueNode(value: '100'))
|
||||
value: IntValueNode(value: '10'))
|
||||
],
|
||||
directives: [],
|
||||
selectionSet: SelectionSetNode(selections: [
|
||||
|
||||
@@ -28,6 +28,7 @@ GithubRepositoryRepository _$GithubRepositoryRepositoryFromJson(
|
||||
json['owner'] as Map<String, dynamic>)
|
||||
..name = json['name'] as String
|
||||
..description = json['description'] as String
|
||||
..homepageUrl = json['homepageUrl'] as String
|
||||
..isPrivate = json['isPrivate'] as bool
|
||||
..isFork = json['isFork'] as bool
|
||||
..stargazers = json['stargazers'] == null
|
||||
@@ -79,6 +80,7 @@ Map<String, dynamic> _$GithubRepositoryRepositoryToJson(
|
||||
'owner': instance.owner?.toJson(),
|
||||
'name': instance.name,
|
||||
'description': instance.description,
|
||||
'homepageUrl': instance.homepageUrl,
|
||||
'isPrivate': instance.isPrivate,
|
||||
'isFork': instance.isFork,
|
||||
'stargazers': instance.stargazers?.toJson(),
|
||||
@@ -523,6 +525,7 @@ GithubRepositoryRepositoryInfo _$GithubRepositoryRepositoryInfoFromJson(
|
||||
json['owner'] as Map<String, dynamic>)
|
||||
..name = json['name'] as String
|
||||
..description = json['description'] as String
|
||||
..homepageUrl = json['homepageUrl'] as String
|
||||
..isPrivate = json['isPrivate'] as bool
|
||||
..isFork = json['isFork'] as bool
|
||||
..hasIssuesEnabled = json['hasIssuesEnabled'] as bool
|
||||
@@ -540,6 +543,7 @@ Map<String, dynamic> _$GithubRepositoryRepositoryInfoToJson(
|
||||
'owner': instance.owner?.toJson(),
|
||||
'name': instance.name,
|
||||
'description': instance.description,
|
||||
'homepageUrl': instance.homepageUrl,
|
||||
'isPrivate': instance.isPrivate,
|
||||
'isFork': instance.isFork,
|
||||
'hasIssuesEnabled': instance.hasIssuesEnabled,
|
||||
|
||||
@@ -12,6 +12,7 @@ query(
|
||||
}
|
||||
name
|
||||
description
|
||||
homepageUrl
|
||||
isPrivate
|
||||
isFork
|
||||
stargazers {
|
||||
@@ -88,7 +89,7 @@ query(
|
||||
name
|
||||
spdxId
|
||||
}
|
||||
repositoryTopics(first: 100) {
|
||||
repositoryTopics(first: 10) {
|
||||
nodes {
|
||||
url
|
||||
topic {
|
||||
|
||||
Reference in New Issue
Block a user