chore(events,catalog/github): update docs from review comment

Signed-off-by: Rogerio Angeliski <angeliski@hotmail.com>
This commit is contained in:
Rogerio Angeliski
2022-11-24 15:47:47 +00:00
parent e90b092d2a
commit f96bd38dc0
3 changed files with 5 additions and 6 deletions
@@ -53,7 +53,7 @@ type Repository = {
url: string;
isArchived: boolean;
repositoryTopics: string[];
defaultBranchRef: string | null;
defaultBranchRef?: string;
isCatalogInfoFilePresent: boolean;
};
@@ -213,7 +213,7 @@ export class GithubEntityProvider implements EntityProvider, EventSubscriber {
return {
url: r.url,
name: r.name,
defaultBranchRef: r.defaultBranchRef?.name || null,
defaultBranchRef: r.defaultBranchRef?.name,
repositoryTopics: r.repositoryTopics.nodes.map(t => t.topic.name),
isArchived: r.isArchived,
isCatalogInfoFilePresent: