diff --git a/src/components/GraphViewport.tsx b/src/components/GraphViewport.tsx index 8d8b615d..afbdd026 100644 --- a/src/components/GraphViewport.tsx +++ b/src/components/GraphViewport.tsx @@ -142,6 +142,8 @@ export default class GraphViewport extends Component< })} > { + await this.svgContainer.waitFor({ state: 'visible' }); await this.graphLoadingAnimation.waitFor({ state: 'hidden' }); } + async getGraphSVG(): Promise { + const svg = await this.svgContainer.innerHTML(); + return format(svg, { parser: 'html' }); + } + async submitSDL(sdl: string) { const { changeSchemaDialog } = this; const { sdlTab } = changeSchemaDialog; diff --git a/tests/demo.spec.ts b/tests/demo.spec.ts index d36959b7..4cc260a4 100644 --- a/tests/demo.spec.ts +++ b/tests/demo.spec.ts @@ -7,6 +7,9 @@ test('open demo', async ({ page }) => { const voyagerPage = await gotoVoyagerPage(page); await voyagerPage.waitForGraphToBeLoaded(); + expect + .soft(await voyagerPage.getGraphSVG()) + .toMatchSnapshot('demo-graph.svg'); await expect(voyagerPage.page).toHaveScreenshot('loaded-demo.png'); }); @@ -16,9 +19,15 @@ test('resize screen', async ({ page }) => { const voyagerPage = await gotoVoyagerPage(page); await voyagerPage.waitForGraphToBeLoaded(); + expect + .soft(await voyagerPage.getGraphSVG()) + .toMatchSnapshot('graph-before-resize.svg'); await expect(voyagerPage.page).toHaveScreenshot('demo-before-resize.png'); await page.setViewportSize({ width: 1024, height: 768 }); + expect + .soft(await voyagerPage.getGraphSVG()) + .toMatchSnapshot('graph-after-resize.svg'); await expect(voyagerPage.page).toHaveScreenshot('demo-after-resize.png'); }); @@ -47,6 +56,9 @@ for (const name of SchemaPresets) { // eslint-disable-next-line playwright/no-wait-for-timeout await page.waitForTimeout(200); // FIXME await voyagerPage.waitForGraphToBeLoaded(); + expect + .soft(await voyagerPage.getGraphSVG()) + .toMatchSnapshot(`${slug}-graph.svg`); await expect(voyagerPage.page).toHaveScreenshot(`show-${slug}-preset.png`); }); } @@ -86,6 +98,9 @@ test('use custom SDL', async ({ page }) => { await changeSchemaDialog.displayButton.click(); await voyagerPage.waitForGraphToBeLoaded(); + expect + .soft(await voyagerPage.getGraphSVG()) + .toMatchSnapshot('custom-sdl-graph.svg'); await expect(voyagerPage.page).toHaveScreenshot('display-sdl.png'); }); @@ -93,6 +108,9 @@ test('use custom SDL with custom directives', async ({ page }) => { const voyagerPage = await gotoVoyagerPage(page); await voyagerPage.submitSDL('type Query @foo { bar: String @baz }'); + expect + .soft(await voyagerPage.getGraphSVG()) + .toMatchSnapshot('custom-sdl-with-unknown-directives-graph.svg'); await expect(voyagerPage.page).toHaveScreenshot( 'display-sdl-with-unknown-directives.png', ); @@ -131,6 +149,9 @@ test('use custom introspection', async ({ page }) => { await changeSchemaDialog.displayButton.click(); await voyagerPage.waitForGraphToBeLoaded(); + expect + .soft(await voyagerPage.getGraphSVG()) + .toMatchSnapshot('custom-introspection-graph.svg'); await expect(voyagerPage.page).toHaveScreenshot('display-introspection.png'); }); @@ -147,6 +168,9 @@ test('use search params to pass url', async ({ page }) => { const voyagerPage = await gotoVoyagerPage(page, { url }); await voyagerPage.waitForGraphToBeLoaded(); + expect + .soft(await voyagerPage.getGraphSVG()) + .toMatchSnapshot('schema-from-url-graph.svg'); await expect(voyagerPage.page).toHaveScreenshot( 'display-schema-from-url.png', ); diff --git a/tests/demo.spec.ts-snapshots/custom-introspection-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/custom-introspection-graph-Demo-linux.svg new file mode 100644 index 00000000..0ea3aec1 --- /dev/null +++ b/tests/demo.spec.ts-snapshots/custom-introspection-graph-Demo-linux.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + Query + + + + + + foo + + + + String + + + + + + diff --git a/tests/demo.spec.ts-snapshots/custom-sdl-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/custom-sdl-graph-Demo-linux.svg new file mode 100644 index 00000000..5af96d14 --- /dev/null +++ b/tests/demo.spec.ts-snapshots/custom-sdl-graph-Demo-linux.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + Query + + + + + + foo + + + + String + + + + + + diff --git a/tests/demo.spec.ts-snapshots/custom-sdl-with-unknown-directives-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/custom-sdl-with-unknown-directives-graph-Demo-linux.svg new file mode 100644 index 00000000..247de2c4 --- /dev/null +++ b/tests/demo.spec.ts-snapshots/custom-sdl-with-unknown-directives-graph-Demo-linux.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + Query + + + + + + bar + + + + String + + + + + + diff --git a/tests/demo.spec.ts-snapshots/demo-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/demo-graph-Demo-linux.svg new file mode 100644 index 00000000..2308b9bc --- /dev/null +++ b/tests/demo.spec.ts-snapshots/demo-graph-Demo-linux.svg @@ -0,0 +1,4913 @@ + + + + + + + + + + + + + + + + + + + + + + Root + + + + + + allFilms + + + + + [ + + + Film + + + ] + + + + + + film + + + + Film + + + + + + allPeople + + + + + [ + + + Person + + + ] + + + + + + person + + + + Person + + + + + + allPlanets + + + + + [ + + + Planet + + + ] + + + + + + planet + + + + Planet + + + + + + allSpecies + + + + + [ + + + Species + + + ] + + + + + + species + + + + Species + + + + + + allStarships + + + + + [ + + + Starship + + + ] + + + + + + starship + + + + Starship + + + + + + allVehicles + + + + + [ + + + Vehicle + + + ] + + + + + + vehicle + + + + Vehicle + + + + + + + + + Film + + + + + + title + + + + String + + + + + + episodeID + + + + Int + + + + + + openingCrawl + + + + String + + + + + + director + + + + String + + + + + + producers + + + + [ + + + String + + + ] + + + + + + releaseDate + + + + String + + + + + + speciesConnection + + + + + [ + + + Species + + + ] + + + + + + starshipConnection + + + + + [ + + + Starship + + + ] + + + + + + vehicleConnection + + + + + [ + + + Vehicle + + + ] + + + + + + characterConnection + + + + + [ + + + Person + + + ] + + + + + + planetConnection + + + + + [ + + + Planet + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allFilms + + + + + + + + + Root:film + + + + + + + + + Person + + + + + + name + + + + String + + + + + + birthYear + + + + String + + + + + + eyeColor + + + + String + + + + + + gender + + + + String + + + + + + hairColor + + + + String + + + + + + height + + + + Int + + + + + + mass + + + + Int + + + + + + skinColor + + + + String + + + + + + homeworld + + + + Planet + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + species + + + + Species + + + + + + starshipConnection + + + + + [ + + + Starship + + + ] + + + + + + vehicleConnection + + + + + [ + + + Vehicle + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allPeople + + + + + + + + + Root:person + + + + + + + + + Planet + + + + + + name + + + + String + + + + + + diameter + + + + Int + + + + + + rotationPeriod + + + + Int + + + + + + orbitalPeriod + + + + Int + + + + + + gravity + + + + String + + + + + + population + + + + Int + + + + + + climates + + + + [ + + + String + + + ] + + + + + + terrains + + + + [ + + + String + + + ] + + + + + + surfaceWater + + + + Float + + + + + + residentConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allPlanets + + + + + + + + + Root:planet + + + + + + + + + Species + + + + + + name + + + + String + + + + + + classification + + + + String + + + + + + designation + + + + String + + + + + + averageHeight + + + + Float + + + + + + averageLifespan + + + + Int + + + + + + eyeColors + + + + [ + + + String + + + ] + + + + + + hairColors + + + + [ + + + String + + + ] + + + + + + skinColors + + + + [ + + + String + + + ] + + + + + + language + + + + String + + + + + + homeworld + + + + Planet + + + + + + personConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allSpecies + + + + + + + + + Root:species + + + + + + + + + Starship + + + + + + name + + + + String + + + + + + model + + + + String + + + + + + starshipClass + + + + String + + + + + + manufacturers + + + + [ + + + String + + + ] + + + + + + costInCredits + + + + Float + + + + + + length + + + + Float + + + + + + crew + + + + String + + + + + + passengers + + + + String + + + + + + maxAtmospheringSpeed + + + + Int + + + + + + hyperdriveRating + + + + Float + + + + + + MGLT + + + + Int + + + + + + cargoCapacity + + + + Float + + + + + + consumables + + + + String + + + + + + pilotConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allStarships + + + + + + + + + Root:starship + + + + + + + + + Vehicle + + + + + + name + + + + String + + + + + + model + + + + String + + + + + + vehicleClass + + + + String + + + + + + manufacturers + + + + [ + + + String + + + ] + + + + + + costInCredits + + + + Int + + + + + + length + + + + Float + + + + + + crew + + + + String + + + + + + passengers + + + + String + + + + + + maxAtmospheringSpeed + + + + Int + + + + + + cargoCapacity + + + + Int + + + + + + consumables + + + + String + + + + + + pilotConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allVehicles + + + + + + + + + Root:vehicle + + + + + + + + + Film:characterConnection + + + + + + + + + Film:planetConnection + + + + + + + + + Film:speciesConnection + + + + + + + + + Film:starshipConnection + + + + + + + + + Film:vehicleConnection + + + + + + + + + Person:filmConnection + + + + + + + + + Person:homeworld + + + + + + + + + Person:species + + + + + + + + + Person:starshipConnection + + + + + + + + + Person:vehicleConnection + + + + + + + + + Planet:filmConnection + + + + + + + + + Planet:residentConnection + + + + + + + + + Species:filmConnection + + + + + + + + + Species:personConnection + + + + + + + + + Species:homeworld + + + + + + + + + Starship:filmConnection + + + + + + + + + Starship:pilotConnection + + + + + + + + + Vehicle:filmConnection + + + + + + + + + Vehicle:pilotConnection + + + + + + diff --git a/tests/demo.spec.ts-snapshots/github-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/github-graph-Demo-linux.svg new file mode 100644 index 00000000..b9e3437f --- /dev/null +++ b/tests/demo.spec.ts-snapshots/github-graph-Demo-linux.svg @@ -0,0 +1,39272 @@ + + + + + + + + + + + + + + + + + + + + + + Query + + + + + + organization + + + + Organization + + + + + + repository + + + + Repository + + + + + + repositoryOwner + + + + RepositoryOwner + + + + + + resource + + + + UniformResourceLocatable + + + + + + search + + + + + [ + + + SearchResultItem + + + ]! + + + + + + user + + + + User + + + + + + viewer + + + + User + + + ! + + + + + + + + + Organization + + + + + + avatarURL + + + + String + + + ! + + + + + + gist + + + + Gist + + + + + + gists + + + + + [ + + + Gist + + + ]! + + + + + + id + + + + ID + + + ! + + + + + + login + + + + String + + + ! + + + + + + members + + + + + [ + + + User + + + ]! + + + + + + name + + + + String + + + ! + + + + + + path + + + + URI + + + ! + + + + + + project + + + + Project + + + + + + projects + + + + + [ + + + Project + + + ]! + + + + + + projectsPath + + + + URI + + + ! + + + + + + projectsUrl + + + + URI + + + ! + + + + + + repositories + + + + + [ + + + Repository + + + ]! + + + + + + repository + + + + Repository + + + + + + teams + + + + + [ + + + Team + + + ]! + + + + + + url + + + + URI + + + ! + + + + + + viewerCanCreateProjects + + + + Boolean + + + ! + + + + + + viewerCanCreateRepositories + + + + Boolean + + + ! + + + + + + + + + Query:organization + + + + + + + + + Repository + + + + + + commitComments + + + + + [ + + + CommitComment + + + ]! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + description + + + + String + + + + + + descriptionHTML + + + + HTML + + + ! + + + + + + diskUsage + + + + Int + + + ! + + + + + + forks + + + + + [ + + + Repository + + + ]! + + + + + + hasIssuesEnabled + + + + Boolean + + + ! + + + + + + hasWikiEnabled + + + + Boolean + + + ! + + + + + + homepageURL + + + + String + + + + + + id + + + + ID + + + ! + + + + + + isFork + + + + Boolean + + + ! + + + + + + isLocked + + + + Boolean + + + ! + + + + + + isMirror + + + + Boolean + + + ! + + + + + + isPrivate + + + + Boolean + + + ! + + + + + + issue + + + + Issue + + + + + + issueish + + + + Issueish + + + + + + issues + + + + + [ + + + Issue + + + ]! + + + + + + label + + + + Label + + + + + + labels + + + + + [ + + + Label + + + ] + + + + + + languages + + + + + [ + + + Language + + + !] + + + + + + license + + + + String + + + + + + lockReason + + + + RepositoryLockReason + + + + + + mentionableUsers + + + + + [ + + + User + + + ]! + + + + + + milestone + + + + Milestone + + + + + + milestones + + + + + [ + + + Milestone + + + ] + + + + + + mirrorURL + + + + String + + + + + + name + + + + String + + + ! + + + + + + object + + + + GitObject + + + + + + owner + + + + RepositoryOwner + + + ! + + + + + + parent + + + + Repository + + + + + + path + + + + URI + + + ! + + + + + + primaryLanguage + + + + Language + + + + + + project + + + + Project + + + + + + projects + + + + + [ + + + Project + + + ]! + + + + + + projectsPath + + + + URI + + + ! + + + + + + projectsUrl + + + + URI + + + ! + + + + + + pullRequest + + + + PullRequest + + + + + + pullRequests + + + + + [ + + + PullRequest + + + ]! + + + + + + pushedAt + + + + DateTime + + + + + + ref + + + + Ref + + + + + + refs + + + + + [ + + + Ref + + + ] + + + + + + releases + + + + + [ + + + Release + + + ]! + + + + + + stargazers + + + + + [ + + + User + + + !]! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + url + + + + URI + + + ! + + + + + + viewerCanCreateProjects + + + + Boolean + + + ! + + + + + + viewerCanSubscribe + + + + Boolean + + + ! + + + + + + viewerHasStarred + + + + Boolean + + + ! + + + + + + viewerSubscription + + + + SubscriptionState + + + ! + + + + + + watchers + + + + + [ + + + User + + + ]! + + + + + + + + + Query:repository + + + + + + + + + RepositoryOwner + + + <<interface>> + + + + + + avatarURL + + + + String + + + ! + + + + + + gist + + + + Gist + + + + + + gists + + + + + [ + + + Gist + + + ]! + + + + + + id + + + + ID + + + ! + + + + + + login + + + + String + + + ! + + + + + + path + + + + URI + + + ! + + + + + + repositories + + + + + [ + + + Repository + + + ]! + + + + + + repository + + + + Repository + + + + + + url + + + + URI + + + ! + + + + + implementations + + + + + User + + + + + + Organization + + + + + + + + + Query:repositoryOwner + + + + + + + + + UniformResourceLocatable + + + <<interface>> + + + + + + path + + + + URI + + + ! + + + + + + url + + + + URI + + + ! + + + + + implementations + + + + + Issue + + + + + + User + + + + + + Repository + + + + + + PullRequest + + + + + + Release + + + + + + Organization + + + + + + + + + Query:resource + + + + + + + + + SearchResultItem + + + <<union>> + + + + + possible types + + + + + Issue + + + + + + PullRequest + + + + + + Repository + + + + + + User + + + + + + Organization + + + + + + + + + Query:search + + + + + + + + + User + + + + + + avatarURL + + + + String + + + ! + + + + + + bio + + + + String + + + + + + bioHTML + + + + HTML + + + ! + + + + + + company + + + + String + + + + + + companyHTML + + + + HTML + + + ! + + + + + + contributedRepositories + + + + + [ + + + Repository + + + ]! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + email + + + + String + + + + + + followers + + + + + [ + + + User + + + ]! + + + + + + following + + + + + [ + + + User + + + ]! + + + + + + gist + + + + Gist + + + + + + gists + + + + + [ + + + Gist + + + ]! + + + + + + id + + + + ID + + + ! + + + + + + isBountyHunter + + + + Boolean + + + ! + + + + + + isDeveloperProgramMember + + + + Boolean + + + ! + + + + + + isEmployee + + + + Boolean + + + ! + + + + + + isHireable + + + + Boolean + + + ! + + + + + + isSiteAdmin + + + + Boolean + + + ! + + + + + + isViewer + + + + Boolean + + + ! + + + + + + location + + + + String + + + + + + login + + + + String + + + ! + + + + + + name + + + + String + + + + + + organizations + + + + + [ + + + Organization + + + ]! + + + + + + path + + + + URI + + + ! + + + + + + pinnedRepositories + + + + + [ + + + Repository + + + ]! + + + + + + pullRequests + + + + + [ + + + PullRequest + + + ]! + + + + + + repositories + + + + + [ + + + Repository + + + ]! + + + + + + repository + + + + Repository + + + + + + starredRepositories + + + + + [ + + + Repository + + + !]! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + url + + + + URI + + + ! + + + + + + viewerCanFollow + + + + Boolean + + + ! + + + + + + viewerIsFollowing + + + + Boolean + + + ! + + + + + + watching + + + + + [ + + + Repository + + + ]! + + + + + + websiteURL + + + + String + + + + + + + + + Query:user + + + + + + + + + Query:viewer + + + + + + + + + Organization:repositories + + + + + + + + + Organization:repository + + + + + + + + + Organization:members + + + + + + + + + Gist + + + + + + createdAt + + + + DateTime + + + ! + + + + + + description + + + + String + + + + + + id + + + + ID + + + ! + + + + + + name + + + + String + + + ! + + + + + + owner + + + + RepositoryOwner + + + + + + public + + + + Boolean + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + + + + Organization:gist + + + + + + + + + Organization:gists + + + + + + + + + Project + + + + + + body + + + + String + + + + + + bodyHTML + + + + HTML + + + ! + + + + + + columns + + + + + [ + + + ProjectColumn + + + ]! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + creator + + + + User + + + ! + + + + + + id + + + + ID + + + ! + + + + + + name + + + + String + + + ! + + + + + + number + + + + Int + + + ! + + + + + + owner + + + + ProjectOwner + + + ! + + + + + + path + + + + URI + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + url + + + + URI + + + ! + + + + + + viewerCanEdit + + + + Boolean + + + ! + + + + + + + + + Organization:project + + + + + + + + + Organization:projects + + + + + + + + + Team + + + + + + description + + + + String + + + + + + id + + + + ID + + + ! + + + + + + invitations + + + + + [ + + + OrganizationInvitation + + + ] + + + + + + name + + + + String + + + ! + + + + + + privacy + + + + TeamPrivacy + + + ! + + + + + + slug + + + + String + + + ! + + + + + + + + + Organization:teams + + + + + + + + + Repository:forks + + + + + + + + + Repository:parent + + + + + + + + + Repository:owner + + + + + + + + + Repository:mentionableUsers + + + + + + + + + Repository:stargazers + + + + + + + + + Repository:watchers + + + + + + + + + Repository:project + + + + + + + + + Repository:projects + + + + + + + + + CommitComment + + + + + + author + + + + User + + + + + + body + + + + String + + + ! + + + + + + bodyHTML + + + + HTML + + + ! + + + + + + commit + + + + Commit + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + createdViaEmail + + + + Boolean + + + ! + + + + + + editor + + + + User + + + + + + id + + + + ID + + + ! + + + + + + lastEditedAt + + + + DateTime + + + + + + liveReactionUpdatesEnabled + + + + Boolean + + + ! + + + + + + path + + + + String + + + + + + position + + + + Int + + + + + + reactionGroups + + + + [ + + + ReactionGroup + + + !] + + + + + + reactions + + + + + [ + + + Reaction + + + ]! + + + + + + reactionsWebsocket + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + viewerCanDelete + + + + Boolean + + + ! + + + + + + viewerCanEdit + + + + Boolean + + + ! + + + + + + viewerCanReact + + + + Boolean + + + ! + + + + + + viewerCannotEditReasons + + + + [ + + + CommentCannotEditReason + + + !]! + + + + + + viewerDidAuthor + + + + Boolean + + + ! + + + + + + + + + Repository:commitComments + + + + + + + + + Issue + + + + + + assignees + + + + + [ + + + User + + + ]! + + + + + + author + + + + User + + + + + + body + + + + String + + + ! + + + + + + bodyHTML + + + + HTML + + + ! + + + + + + bodyText + + + + String + + + ! + + + + + + comments + + + + + [ + + + IssueComment + + + ]! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + createdViaEmail + + + + Boolean + + + ! + + + + + + editor + + + + User + + + + + + id + + + + ID + + + ! + + + + + + labels + + + + + [ + + + Label + + + ] + + + + + + lastEditedAt + + + + DateTime + + + + + + liveReactionUpdatesEnabled + + + + Boolean + + + ! + + + + + + milestone + + + + Milestone + + + + + + number + + + + Int + + + ! + + + + + + participants + + + + + [ + + + User + + + ]! + + + + + + path + + + + URI + + + ! + + + + + + reactionGroups + + + + [ + + + ReactionGroup + + + !] + + + + + + reactions + + + + + [ + + + Reaction + + + ]! + + + + + + reactionsWebsocket + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + state + + + + IssueState + + + ! + + + + + + timeline + + + + + [ + + + IssueTimelineItem + + + ]! + + + + + + title + + + + String + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + url + + + + URI + + + ! + + + + + + viewerCanDelete + + + + Boolean + + + ! + + + + + + viewerCanEdit + + + + Boolean + + + ! + + + + + + viewerCanReact + + + + Boolean + + + ! + + + + + + viewerCannotEditReasons + + + + [ + + + CommentCannotEditReason + + + !]! + + + + + + viewerDidAuthor + + + + Boolean + + + ! + + + + + + websocket + + + + String + + + ! + + + + + + + + + Repository:issue + + + + + + + + + Repository:issues + + + + + + + + + Issueish + + + <<interface>> + + + + + + author + + + + User + + + + + + body + + + + String + + + ! + + + + + + bodyHTML + + + + HTML + + + ! + + + + + + id + + + + ID + + + ! + + + + + + labels + + + + + [ + + + Label + + + ] + + + + + + number + + + + Int + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + title + + + + String + + + ! + + + + + implementations + + + + + Issue + + + + + + PullRequest + + + + + + + + + Repository:issueish + + + + + + + + + Label + + + + + + color + + + + String + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issues + + + + + [ + + + Issue + + + ] + + + + + + name + + + + String + + + ! + + + + + + pullRequests + + + + + [ + + + PullRequest + + + ] + + + + + + repository + + + + Repository + + + ! + + + + + + + + + Repository:label + + + + + + + + + Repository:labels + + + + + + + + + Language + + + + + + color + + + + String + + + + + + id + + + + ID + + + ! + + + + + + name + + + + String + + + ! + + + + + + + + + Repository:languages + + + + + + + + + Repository:primaryLanguage + + + + + + + + + Milestone + + + + + + closedIssueCount + + + + Int + + + ! + + + + + + createdBy + + + + User + + + ! + + + + + + description + + + + String + + + + + + dueOn + + + + DateTime + + + + + + id + + + + ID + + + ! + + + + + + number + + + + Int + + + ! + + + + + + openIssueCount + + + + Int + + + ! + + + + + + path + + + + URI + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + state + + + + MilestoneState + + + ! + + + + + + title + + + + String + + + ! + + + + + + url + + + + URI + + + ! + + + + + + + + + Repository:milestone + + + + + + + + + Repository:milestones + + + + + + + + + GitObject + + + <<interface>> + + + + + + id + + + + ID + + + ! + + + + + + oid + + + + GitObjectID + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + implementations + + + + + Commit + + + + + + Tree + + + + + + Blob + + + + + + Tag + + + + + + + + + Repository:object + + + + + + + + + PullRequest + + + + + + author + + + + User + + + + + + baseRef + + + + Ref + + + + + + baseRefName + + + + String + + + ! + + + + + + body + + + + String + + + ! + + + + + + bodyHTML + + + + HTML + + + ! + + + + + + bodyText + + + + String + + + ! + + + + + + comments + + + + + [ + + + IssueComment + + + ]! + + + + + + commits + + + + + [ + + + Commit + + + ]! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + createdViaEmail + + + + Boolean + + + ! + + + + + + editor + + + + User + + + + + + headRef + + + + Ref + + + + + + headRefName + + + + String + + + ! + + + + + + id + + + + ID + + + ! + + + + + + labels + + + + + [ + + + Label + + + ] + + + + + + lastEditedAt + + + + DateTime + + + + + + liveReactionUpdatesEnabled + + + + Boolean + + + ! + + + + + + mergeCommit + + + + Commit + + + + + + number + + + + Int + + + ! + + + + + + path + + + + URI + + + ! + + + + + + reactionGroups + + + + [ + + + ReactionGroup + + + !] + + + + + + reactions + + + + + [ + + + Reaction + + + ]! + + + + + + reactionsWebsocket + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + reviewRequests + + + + + [ + + + ReviewRequest + + + ] + + + + + + reviews + + + + + [ + + + PullRequestReview + + + ] + + + + + + state + + + + PullRequestState + + + ! + + + + + + timeline + + + + + [ + + + IssueTimelineItem + + + ]! + + + + + + title + + + + String + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + url + + + + URI + + + ! + + + + + + viewerCanDelete + + + + Boolean + + + ! + + + + + + viewerCanEdit + + + + Boolean + + + ! + + + + + + viewerCanReact + + + + Boolean + + + ! + + + + + + viewerCannotEditReasons + + + + [ + + + CommentCannotEditReason + + + !]! + + + + + + viewerDidAuthor + + + + Boolean + + + ! + + + + + + websocket + + + + String + + + ! + + + + + + + + + Repository:pullRequest + + + + + + + + + Repository:pullRequests + + + + + + + + + Ref + + + + + + associatedPullRequests + + + + + [ + + + PullRequest + + + ]! + + + + + + id + + + + ID + + + ! + + + + + + name + + + + String + + + ! + + + + + + prefix + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + target + + + + GitObject + + + ! + + + + + + + + + Repository:ref + + + + + + + + + Repository:refs + + + + + + + + + Release + + + + + + description + + + + String + + + + + + id + + + + ID + + + ! + + + + + + name + + + + String + + + ! + + + + + + path + + + + URI + + + ! + + + + + + publishedAt + + + + DateTime + + + + + + releaseAsset + + + + + [ + + + ReleaseAsset + + + ]! + + + + + + releaseAssets + + + + + [ + + + ReleaseAsset + + + ]! + + + + + + tag + + + + Ref + + + + + + url + + + + URI + + + ! + + + + + + + + + Repository:releases + + + + + + + + + + + + + + + RepositoryOwner:repositories + + + + + + + + + RepositoryOwner:repository + + + + + + + + + + + + + + + RepositoryOwner:gist + + + + + + + + + RepositoryOwner:gists + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + User:organizations + + + + + + + + + User:contributedRepositories + + + + + + + + + User:pinnedRepositories + + + + + + + + + User:repositories + + + + + + + + + User:repository + + + + + + + + + User:starredRepositories + + + + + + + + + User:watching + + + + + + + + + User:followers + + + + + + + + + User:following + + + + + + + + + User:gist + + + + + + + + + User:gists + + + + + + + + + User:pullRequests + + + + + + + + + Gist:owner + + + + + + + + + Project:creator + + + + + + + + + ProjectColumn + + + + + + cards + + + + + [ + + + ProjectCard + + + ]! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + name + + + + String + + + ! + + + + + + project + + + + Project + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + + + + Project:columns + + + + + + + + + ProjectOwner + + + <<interface>> + + + + + + id + + + + ID + + + ! + + + + + + project + + + + Project + + + + + + projects + + + + + [ + + + Project + + + ]! + + + + + + projectsPath + + + + URI + + + ! + + + + + + projectsUrl + + + + URI + + + ! + + + + + + viewerCanCreateProjects + + + + Boolean + + + ! + + + + + implementations + + + + + Repository + + + + + + Organization + + + + + + + + + Project:owner + + + + + + + + + OrganizationInvitation + + + + + + email + + + + String + + + + + + id + + + + ID + + + ! + + + + + + inviter + + + + User + + + ! + + + + + + login + + + + String + + + + + + role + + + + OrganizationInvitationRole + + + ! + + + + + + + + + Team:invitations + + + + + + + + + CommitComment:repository + + + + + + + + + CommitComment:author + + + + + + + + + CommitComment:editor + + + + + + + + + Commit + + + + + + author + + + + GitActor + + + + + + blame + + + + Blame + + + ! + + + + + + comments + + + + + [ + + + CommitComment + + + ]! + + + + + + committedViaWeb + + + + Boolean + + + ! + + + + + + committer + + + + GitActor + + + + + + history + + + + + [ + + + Commit + + + ]! + + + + + + id + + + + ID + + + ! + + + + + + message + + + + String + + + ! + + + + + + messageBody + + + + String + + + ! + + + + + + messageBodyHTML + + + + HTML + + + ! + + + + + + messageHeadline + + + + String + + + ! + + + + + + messageHeadlineHTML + + + + HTML + + + ! + + + + + + oid + + + + GitObjectID + + + ! + + + + + + path + + + + URI + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + signature + + + + GitSignature + + + + + + status + + + + Status + + + + + + tree + + + + Tree + + + ! + + + + + + url + + + + URI + + + ! + + + + + + websocket + + + + String + + + ! + + + + + + + + + CommitComment:commit + + + + + + + + + ReactionGroup + + + + + + content + + + + ReactionContent + + + ! + + + + + + createdAt + + + + DateTime + + + + + + subject + + + + Reactable + + + ! + + + + + + users + + + + + [ + + + User + + + !]! + + + + + + viewerHasReacted + + + + Boolean + + + ! + + + + + + + + + CommitComment:reactionGroups + + + + + + + + + Reaction + + + + + + content + + + + ReactionContent + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + user + + + + User + + + ! + + + + + + + + + CommitComment:reactions + + + + + + + + + Issue:repository + + + + + + + + + Issue:assignees + + + + + + + + + Issue:author + + + + + + + + + Issue:editor + + + + + + + + + Issue:participants + + + + + + + + + Issue:labels + + + + + + + + + Issue:milestone + + + + + + + + + Issue:reactionGroups + + + + + + + + + Issue:reactions + + + + + + + + + IssueComment + + + + + + author + + + + User + + + + + + body + + + + String + + + ! + + + + + + bodyHTML + + + + HTML + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + createdViaEmail + + + + Boolean + + + ! + + + + + + editor + + + + User + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + lastEditedAt + + + + DateTime + + + + + + liveReactionUpdatesEnabled + + + + Boolean + + + ! + + + + + + reactionGroups + + + + [ + + + ReactionGroup + + + !] + + + + + + reactions + + + + + [ + + + Reaction + + + ]! + + + + + + reactionsWebsocket + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + viewerCanDelete + + + + Boolean + + + ! + + + + + + viewerCanEdit + + + + Boolean + + + ! + + + + + + viewerCanReact + + + + Boolean + + + ! + + + + + + viewerCannotEditReasons + + + + [ + + + CommentCannotEditReason + + + !]! + + + + + + viewerDidAuthor + + + + Boolean + + + ! + + + + + + websocket + + + + String + + + ! + + + + + + + + + Issue:comments + + + + + + + + + IssueTimelineItem + + + <<union>> + + + + + possible types + + + + + Commit + + + + + + PullRequestReview + + + + + + PullRequestReviewThread + + + + + + PullRequestReviewComment + + + + + + IssueComment + + + + + + ClosedEvent + + + + + + ReopenedEvent + + + + + + SubscribedEvent + + + + + + UnsubscribedEvent + + + + + + MergedEvent + + + + + + ReferencedEvent + + + + + + MentionedEvent + + + + + + AssignedEvent + + + + + + UnassignedEvent + + + + + + LabeledEvent + + + + + + UnlabeledEvent + + + + + + MilestonedEvent + + + + + + DemilestonedEvent + + + + + + RenamedEvent + + + + + + LockedEvent + + + + + + UnlockedEvent + + + + + + DeployedEvent + + + + + + HeadRefDeletedEvent + + + + + + HeadRefRestoredEvent + + + + + + HeadRefForcePushedEvent + + + + + + BaseRefForcePushedEvent + + + + + + ReviewRequestedEvent + + + + + + ReviewRequestRemovedEvent + + + + + + ReviewDismissedEvent + + + + + + + + + Issue:timeline + + + + + + + + + Issueish:repository + + + + + + + + + Issueish:author + + + + + + + + + + + + + + + Issueish:labels + + + + + + + + + + + + + + + Label:repository + + + + + + + + + Label:issues + + + + + + + + + Label:pullRequests + + + + + + + + + Milestone:repository + + + + + + + + + Milestone:createdBy + + + + + + + + + GitObject:repository + + + + + + + + + + + + + + + Tree + + + + + + entries + + + + [ + + + TreeEntry + + + !] + + + + + + id + + + + ID + + + ! + + + + + + oid + + + + GitObjectID + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + + + + + + + + + + Blob + + + + + + byteSize + + + + Int + + + ! + + + + + + id + + + + ID + + + ! + + + + + + isBinary + + + + Boolean + + + ! + + + + + + isTruncated + + + + Boolean + + + ! + + + + + + oid + + + + GitObjectID + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + text + + + + String + + + + + + + + + + + + + + + Tag + + + + + + id + + + + ID + + + ! + + + + + + message + + + + String + + + + + + name + + + + String + + + ! + + + + + + oid + + + + GitObjectID + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + tagger + + + + GitActor + + + + + + target + + + + GitObject + + + ! + + + + + + + + + + + + + + + PullRequest:repository + + + + + + + + + PullRequest:author + + + + + + + + + PullRequest:editor + + + + + + + + + PullRequest:labels + + + + + + + + + PullRequest:baseRef + + + + + + + + + PullRequest:headRef + + + + + + + + + PullRequest:commits + + + + + + + + + PullRequest:mergeCommit + + + + + + + + + PullRequest:reactionGroups + + + + + + + + + PullRequest:reactions + + + + + + + + + PullRequest:comments + + + + + + + + + PullRequest:timeline + + + + + + + + + ReviewRequest + + + + + + id + + + + ID + + + ! + + + + + + pullRequest + + + + PullRequest + + + ! + + + + + + reviewer + + + + User + + + ! + + + + + + + + + PullRequest:reviewRequests + + + + + + + + + PullRequestReview + + + + + + author + + + + User + + + ! + + + + + + body + + + + String + + + ! + + + + + + bodyHTML + + + + HTML + + + ! + + + + + + bodyText + + + + String + + + ! + + + + + + comments + + + + + [ + + + PullRequestReviewComment + + + ]! + + + + + + commit + + + + Commit + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + createdViaEmail + + + + Boolean + + + ! + + + + + + editor + + + + User + + + + + + id + + + + ID + + + ! + + + + + + lastEditedAt + + + + DateTime + + + + + + path + + + + URI + + + ! + + + + + + pullRequest + + + + PullRequest + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + state + + + + PullRequestReviewState + + + ! + + + + + + submittedAt + + + + DateTime + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + url + + + + URI + + + ! + + + + + + viewerCanDelete + + + + Boolean + + + ! + + + + + + viewerCanEdit + + + + Boolean + + + ! + + + + + + viewerCannotEditReasons + + + + [ + + + CommentCannotEditReason + + + !]! + + + + + + viewerDidAuthor + + + + Boolean + + + ! + + + + + + + + + PullRequest:reviews + + + + + + + + + Ref:repository + + + + + + + + + Ref:target + + + + + + + + + Ref:associatedPullRequests + + + + + + + + + Release:tag + + + + + + + + + ReleaseAsset + + + + + + id + + + + ID + + + ! + + + + + + name + + + + String + + + ! + + + + + + release + + + + Release + + + + + + url + + + + URI + + + ! + + + + + + + + + Release:releaseAsset + + + + + + + + + Release:releaseAssets + + + + + + + + + ProjectColumn:project + + + + + + + + + ProjectCard + + + + + + content + + + + ProjectCardItem + + + + + + createdAt + + + + DateTime + + + ! + + + + + + creator + + + + User + + + ! + + + + + + id + + + + ID + + + ! + + + + + + note + + + + String + + + + + + projectColumn + + + + ProjectColumn + + + ! + + + + + + state + + + + ProjectCardState + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + + + + ProjectColumn:cards + + + + + + + + + + + + + + + + + + + + + ProjectOwner:project + + + + + + + + + ProjectOwner:projects + + + + + + + + + OrganizationInvitation:inviter + + + + + + + + + Commit:repository + + + + + + + + + Commit:comments + + + + + + + + + Commit:history + + + + + + + + + Commit:tree + + + + + + + + + GitActor + + + + + + avatarURL + + + + String + + + ! + + + + + + date + + + + GitTimestamp + + + + + + email + + + + String + + + + + + name + + + + String + + + + + + user + + + + User + + + + + + + + + Commit:author + + + + + + + + + Commit:committer + + + + + + + + + Blame + + + + + + ranges + + + + [ + + + BlameRange + + + !]! + + + + + + + + + Commit:blame + + + + + + + + + GitSignature + + + <<interface>> + + + + + + email + + + + String + + + ! + + + + + + isValid + + + + Boolean + + + ! + + + + + + payload + + + + String + + + ! + + + + + + signature + + + + String + + + ! + + + + + + signer + + + + User + + + + + + state + + + + GitSignatureState + + + ! + + + + + implementations + + + + + GpgSignature + + + + + + SmimeSignature + + + + + + UnknownSignature + + + + + + + + + Commit:signature + + + + + + + + + Status + + + + + + commit + + + + Commit + + + + + + context + + + + StatusContext + + + + + + contexts + + + + [ + + + StatusContext + + + !]! + + + + + + id + + + + ID + + + ! + + + + + + state + + + + StatusState + + + ! + + + + + + + + + Commit:status + + + + + + + + + ReactionGroup:users + + + + + + + + + Reactable + + + <<interface>> + + + + + + id + + + + ID + + + ! + + + + + + liveReactionUpdatesEnabled + + + + Boolean + + + ! + + + + + + reactionGroups + + + + [ + + + ReactionGroup + + + !] + + + + + + reactions + + + + + [ + + + Reaction + + + ]! + + + + + + reactionsWebsocket + + + + String + + + ! + + + + + + viewerCanReact + + + + Boolean + + + ! + + + + + implementations + + + + + Issue + + + + + + PullRequest + + + + + + CommitComment + + + + + + PullRequestReviewComment + + + + + + IssueComment + + + + + + + + + ReactionGroup:subject + + + + + + + + + Reaction:user + + + + + + + + + IssueComment:repository + + + + + + + + + IssueComment:author + + + + + + + + + IssueComment:editor + + + + + + + + + IssueComment:issue + + + + + + + + + IssueComment:reactionGroups + + + + + + + + + IssueComment:reactions + + + + + + + + + + + + + + + + + + + + + + + + + + + PullRequestReviewThread + + + + + + comments + + + + + [ + + + PullRequestReviewComment + + + ]! + + + + + + id + + + + ID + + + ! + + + + + + pullRequest + + + + PullRequest + + + ! + + + + + + + + + + + + + + + PullRequestReviewComment + + + + + + author + + + + User + + + + + + body + + + + String + + + ! + + + + + + bodyHTML + + + + HTML + + + ! + + + + + + bodyText + + + + String + + + ! + + + + + + commit + + + + Commit + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + createdViaEmail + + + + Boolean + + + ! + + + + + + diffHunk + + + + String + + + ! + + + + + + editor + + + + User + + + + + + id + + + + ID + + + ! + + + + + + lastEditedAt + + + + DateTime + + + + + + liveReactionUpdatesEnabled + + + + Boolean + + + ! + + + + + + originalCommit + + + + Commit + + + ! + + + + + + originalPosition + + + + Int + + + ! + + + + + + path + + + + String + + + ! + + + + + + position + + + + Int + + + + + + pullRequest + + + + PullRequest + + + ! + + + + + + pullRequestReview + + + + PullRequestReview + + + ! + + + + + + reactionGroups + + + + [ + + + ReactionGroup + + + !] + + + + + + reactions + + + + + [ + + + Reaction + + + ]! + + + + + + reactionsWebsocket + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + url + + + + URI + + + ! + + + + + + viewerCanDelete + + + + Boolean + + + ! + + + + + + viewerCanEdit + + + + Boolean + + + ! + + + + + + viewerCanReact + + + + Boolean + + + ! + + + + + + viewerCannotEditReasons + + + + [ + + + CommentCannotEditReason + + + !]! + + + + + + viewerDidAuthor + + + + Boolean + + + ! + + + + + + websocket + + + + String + + + ! + + + + + + + + + + + + + + + ClosedEvent + + + + + + actor + + + + User + + + ! + + + + + + commit + + + + Commit + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + ReopenedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + SubscribedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + UnsubscribedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + MergedEvent + + + + + + actor + + + + User + + + ! + + + + + + commit + + + + Commit + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + mergeRef + + + + Ref + + + + + + mergeRefName + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + ReferencedEvent + + + + + + actor + + + + User + + + ! + + + + + + commit + + + + Commit + + + ! + + + + + + commitRepository + + + + Repository + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + MentionedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + AssignedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + subject + + + + User + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + UnassignedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + subject + + + + User + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + LabeledEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + label + + + + Label + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + UnlabeledEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + label + + + + Label + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + MilestonedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + milestoneTitle + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + DemilestonedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + milestoneTitle + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + RenamedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + currentTitle + + + + String + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + previousTitle + + + + String + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + LockedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + UnlockedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + DeployedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + deployment + + + + Deployment + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + ref + + + + Ref + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + HeadRefDeletedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + headRef + + + + Ref + + + + + + headRefName + + + + String + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + HeadRefRestoredEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + HeadRefForcePushedEvent + + + + + + actor + + + + User + + + ! + + + + + + afterCommit + + + + Commit + + + ! + + + + + + beforeCommit + + + + Commit + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + ref + + + + Ref + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + BaseRefForcePushedEvent + + + + + + actor + + + + User + + + ! + + + + + + afterCommit + + + + Commit + + + ! + + + + + + beforeCommit + + + + Commit + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + ref + + + + Ref + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + ReviewRequestedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + subject + + + + User + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + ReviewRequestRemovedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + subject + + + + User + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + ReviewDismissedEvent + + + + + + actor + + + + User + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + id + + + + ID + + + ! + + + + + + issue + + + + Issue + + + ! + + + + + + message + + + + String + + + ! + + + + + + previousReviewState + + + + PullRequestReviewState + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + review + + + + PullRequestReview + + + ! + + + + + + type + + + + IssueEventType + + + ! + + + + + + + + + + + + + + + Tree:repository + + + + + + + + + TreeEntry + + + + + + mode + + + + Int + + + ! + + + + + + name + + + + String + + + ! + + + + + + object + + + + GitObject + + + ! + + + + + + oid + + + + GitObjectID + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + type + + + + String + + + ! + + + + + + + + + Tree:entries + + + + + + + + + Blob:repository + + + + + + + + + Tag:repository + + + + + + + + + Tag:target + + + + + + + + + Tag:tagger + + + + + + + + + ReviewRequest:reviewer + + + + + + + + + ReviewRequest:pullRequest + + + + + + + + + PullRequestReview:repository + + + + + + + + + PullRequestReview:author + + + + + + + + + PullRequestReview:editor + + + + + + + + + PullRequestReview:pullRequest + + + + + + + + + PullRequestReview:commit + + + + + + + + + PullRequestReview:comments + + + + + + + + + ReleaseAsset:release + + + + + + + + + ProjectCard:creator + + + + + + + + + ProjectCard:projectColumn + + + + + + + + + ProjectCardItem + + + <<union>> + + + + + possible types + + + + + Issue + + + + + + PullRequest + + + + + + + + + ProjectCard:content + + + + + + + + + GitActor:user + + + + + + + + + BlameRange + + + + + + age + + + + Int + + + ! + + + + + + commit + + + + Commit + + + ! + + + + + + endingLine + + + + Int + + + ! + + + + + + startingLine + + + + Int + + + ! + + + + + + + + + Blame:ranges + + + + + + + + + GitSignature:signer + + + + + + + + + GpgSignature + + + + + + email + + + + String + + + ! + + + + + + isValid + + + + Boolean + + + ! + + + + + + keyId + + + + String + + + + + + payload + + + + String + + + ! + + + + + + signature + + + + String + + + ! + + + + + + signer + + + + User + + + + + + state + + + + GitSignatureState + + + ! + + + + + + + + + + + + + + + SmimeSignature + + + + + + email + + + + String + + + ! + + + + + + isValid + + + + Boolean + + + ! + + + + + + payload + + + + String + + + ! + + + + + + signature + + + + String + + + ! + + + + + + signer + + + + User + + + + + + state + + + + GitSignatureState + + + ! + + + + + + + + + + + + + + + UnknownSignature + + + + + + email + + + + String + + + ! + + + + + + isValid + + + + Boolean + + + ! + + + + + + payload + + + + String + + + ! + + + + + + signature + + + + String + + + ! + + + + + + signer + + + + User + + + + + + state + + + + GitSignatureState + + + ! + + + + + + + + + + + + + + + Status:commit + + + + + + + + + StatusContext + + + + + + commit + + + + Commit + + + + + + context + + + + String + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + creator + + + + User + + + + + + description + + + + String + + + + + + id + + + + ID + + + ! + + + + + + state + + + + StatusState + + + ! + + + + + + targetURL + + + + String + + + + + + + + + Status:context + + + + + + + + + Status:contexts + + + + + + + + + + + + + + + + + + + + + + + + + + + Reactable:reactionGroups + + + + + + + + + Reactable:reactions + + + + + + + + + + + + + + + + + + + + + PullRequestReviewThread:pullRequest + + + + + + + + + PullRequestReviewThread:comments + + + + + + + + + PullRequestReviewComment:repository + + + + + + + + + PullRequestReviewComment:author + + + + + + + + + PullRequestReviewComment:editor + + + + + + + + + PullRequestReviewComment:pullRequest + + + + + + + + + PullRequestReviewComment:commit + + + + + + + + + PullRequestReviewComment:originalCommit + + + + + + + + + PullRequestReviewComment:reactionGroups + + + + + + + + + PullRequestReviewComment:reactions + + + + + + + + + PullRequestReviewComment:pullRequestReview + + + + + + + + + ClosedEvent:repository + + + + + + + + + ClosedEvent:actor + + + + + + + + + ClosedEvent:issue + + + + + + + + + ClosedEvent:commit + + + + + + + + + ReopenedEvent:repository + + + + + + + + + ReopenedEvent:actor + + + + + + + + + ReopenedEvent:issue + + + + + + + + + SubscribedEvent:repository + + + + + + + + + SubscribedEvent:actor + + + + + + + + + SubscribedEvent:issue + + + + + + + + + UnsubscribedEvent:repository + + + + + + + + + UnsubscribedEvent:actor + + + + + + + + + UnsubscribedEvent:issue + + + + + + + + + MergedEvent:repository + + + + + + + + + MergedEvent:actor + + + + + + + + + MergedEvent:issue + + + + + + + + + MergedEvent:mergeRef + + + + + + + + + MergedEvent:commit + + + + + + + + + ReferencedEvent:commitRepository + + + + + + + + + ReferencedEvent:repository + + + + + + + + + ReferencedEvent:actor + + + + + + + + + ReferencedEvent:issue + + + + + + + + + ReferencedEvent:commit + + + + + + + + + MentionedEvent:repository + + + + + + + + + MentionedEvent:actor + + + + + + + + + MentionedEvent:issue + + + + + + + + + AssignedEvent:repository + + + + + + + + + AssignedEvent:actor + + + + + + + + + AssignedEvent:subject + + + + + + + + + AssignedEvent:issue + + + + + + + + + UnassignedEvent:repository + + + + + + + + + UnassignedEvent:actor + + + + + + + + + UnassignedEvent:subject + + + + + + + + + UnassignedEvent:issue + + + + + + + + + LabeledEvent:repository + + + + + + + + + LabeledEvent:actor + + + + + + + + + LabeledEvent:issue + + + + + + + + + LabeledEvent:label + + + + + + + + + UnlabeledEvent:repository + + + + + + + + + UnlabeledEvent:actor + + + + + + + + + UnlabeledEvent:issue + + + + + + + + + UnlabeledEvent:label + + + + + + + + + MilestonedEvent:repository + + + + + + + + + MilestonedEvent:actor + + + + + + + + + MilestonedEvent:issue + + + + + + + + + DemilestonedEvent:repository + + + + + + + + + DemilestonedEvent:actor + + + + + + + + + DemilestonedEvent:issue + + + + + + + + + RenamedEvent:repository + + + + + + + + + RenamedEvent:actor + + + + + + + + + RenamedEvent:issue + + + + + + + + + LockedEvent:repository + + + + + + + + + LockedEvent:actor + + + + + + + + + LockedEvent:issue + + + + + + + + + UnlockedEvent:repository + + + + + + + + + UnlockedEvent:actor + + + + + + + + + UnlockedEvent:issue + + + + + + + + + DeployedEvent:repository + + + + + + + + + DeployedEvent:actor + + + + + + + + + DeployedEvent:issue + + + + + + + + + DeployedEvent:ref + + + + + + + + + Deployment + + + + + + commit + + + + Commit + + + ! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + creator + + + + User + + + ! + + + + + + id + + + + ID + + + ! + + + + + + repository + + + + Repository + + + ! + + + + + + statuses + + + + + [ + + + DeploymentStatus + + + ] + + + + + + + + + DeployedEvent:deployment + + + + + + + + + HeadRefDeletedEvent:repository + + + + + + + + + HeadRefDeletedEvent:actor + + + + + + + + + HeadRefDeletedEvent:issue + + + + + + + + + HeadRefDeletedEvent:headRef + + + + + + + + + HeadRefRestoredEvent:repository + + + + + + + + + HeadRefRestoredEvent:actor + + + + + + + + + HeadRefRestoredEvent:issue + + + + + + + + + HeadRefForcePushedEvent:repository + + + + + + + + + HeadRefForcePushedEvent:actor + + + + + + + + + HeadRefForcePushedEvent:issue + + + + + + + + + HeadRefForcePushedEvent:ref + + + + + + + + + HeadRefForcePushedEvent:afterCommit + + + + + + + + + HeadRefForcePushedEvent:beforeCommit + + + + + + + + + BaseRefForcePushedEvent:repository + + + + + + + + + BaseRefForcePushedEvent:actor + + + + + + + + + BaseRefForcePushedEvent:issue + + + + + + + + + BaseRefForcePushedEvent:ref + + + + + + + + + BaseRefForcePushedEvent:afterCommit + + + + + + + + + BaseRefForcePushedEvent:beforeCommit + + + + + + + + + ReviewRequestedEvent:repository + + + + + + + + + ReviewRequestedEvent:actor + + + + + + + + + ReviewRequestedEvent:subject + + + + + + + + + ReviewRequestedEvent:issue + + + + + + + + + ReviewRequestRemovedEvent:repository + + + + + + + + + ReviewRequestRemovedEvent:actor + + + + + + + + + ReviewRequestRemovedEvent:subject + + + + + + + + + ReviewRequestRemovedEvent:issue + + + + + + + + + ReviewDismissedEvent:repository + + + + + + + + + ReviewDismissedEvent:actor + + + + + + + + + ReviewDismissedEvent:issue + + + + + + + + + ReviewDismissedEvent:review + + + + + + + + + TreeEntry:repository + + + + + + + + + TreeEntry:object + + + + + + + + + + + + + + + + + + + + + BlameRange:commit + + + + + + + + + GpgSignature:signer + + + + + + + + + SmimeSignature:signer + + + + + + + + + UnknownSignature:signer + + + + + + + + + StatusContext:creator + + + + + + + + + StatusContext:commit + + + + + + + + + Deployment:repository + + + + + + + + + Deployment:creator + + + + + + + + + Deployment:commit + + + + + + + + + DeploymentStatus + + + + + + creator + + + + User + + + ! + + + + + + deployment + + + + Deployment + + + ! + + + + + + description + + + + String + + + + + + environmentUrl + + + + String + + + + + + id + + + + ID + + + ! + + + + + + logUrl + + + + String + + + + + + state + + + + DeploymentState + + + ! + + + + + + + + + Deployment:statuses + + + + + + + + + DeploymentStatus:creator + + + + + + + + + DeploymentStatus:deployment + + + + + + diff --git a/tests/demo.spec.ts-snapshots/graph-after-resize-Demo-linux.svg b/tests/demo.spec.ts-snapshots/graph-after-resize-Demo-linux.svg new file mode 100644 index 00000000..0cb8e60e --- /dev/null +++ b/tests/demo.spec.ts-snapshots/graph-after-resize-Demo-linux.svg @@ -0,0 +1,4913 @@ + + + + + + + + + + + + + + + + + + + + + + Root + + + + + + allFilms + + + + + [ + + + Film + + + ] + + + + + + film + + + + Film + + + + + + allPeople + + + + + [ + + + Person + + + ] + + + + + + person + + + + Person + + + + + + allPlanets + + + + + [ + + + Planet + + + ] + + + + + + planet + + + + Planet + + + + + + allSpecies + + + + + [ + + + Species + + + ] + + + + + + species + + + + Species + + + + + + allStarships + + + + + [ + + + Starship + + + ] + + + + + + starship + + + + Starship + + + + + + allVehicles + + + + + [ + + + Vehicle + + + ] + + + + + + vehicle + + + + Vehicle + + + + + + + + + Film + + + + + + title + + + + String + + + + + + episodeID + + + + Int + + + + + + openingCrawl + + + + String + + + + + + director + + + + String + + + + + + producers + + + + [ + + + String + + + ] + + + + + + releaseDate + + + + String + + + + + + speciesConnection + + + + + [ + + + Species + + + ] + + + + + + starshipConnection + + + + + [ + + + Starship + + + ] + + + + + + vehicleConnection + + + + + [ + + + Vehicle + + + ] + + + + + + characterConnection + + + + + [ + + + Person + + + ] + + + + + + planetConnection + + + + + [ + + + Planet + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allFilms + + + + + + + + + Root:film + + + + + + + + + Person + + + + + + name + + + + String + + + + + + birthYear + + + + String + + + + + + eyeColor + + + + String + + + + + + gender + + + + String + + + + + + hairColor + + + + String + + + + + + height + + + + Int + + + + + + mass + + + + Int + + + + + + skinColor + + + + String + + + + + + homeworld + + + + Planet + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + species + + + + Species + + + + + + starshipConnection + + + + + [ + + + Starship + + + ] + + + + + + vehicleConnection + + + + + [ + + + Vehicle + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allPeople + + + + + + + + + Root:person + + + + + + + + + Planet + + + + + + name + + + + String + + + + + + diameter + + + + Int + + + + + + rotationPeriod + + + + Int + + + + + + orbitalPeriod + + + + Int + + + + + + gravity + + + + String + + + + + + population + + + + Int + + + + + + climates + + + + [ + + + String + + + ] + + + + + + terrains + + + + [ + + + String + + + ] + + + + + + surfaceWater + + + + Float + + + + + + residentConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allPlanets + + + + + + + + + Root:planet + + + + + + + + + Species + + + + + + name + + + + String + + + + + + classification + + + + String + + + + + + designation + + + + String + + + + + + averageHeight + + + + Float + + + + + + averageLifespan + + + + Int + + + + + + eyeColors + + + + [ + + + String + + + ] + + + + + + hairColors + + + + [ + + + String + + + ] + + + + + + skinColors + + + + [ + + + String + + + ] + + + + + + language + + + + String + + + + + + homeworld + + + + Planet + + + + + + personConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allSpecies + + + + + + + + + Root:species + + + + + + + + + Starship + + + + + + name + + + + String + + + + + + model + + + + String + + + + + + starshipClass + + + + String + + + + + + manufacturers + + + + [ + + + String + + + ] + + + + + + costInCredits + + + + Float + + + + + + length + + + + Float + + + + + + crew + + + + String + + + + + + passengers + + + + String + + + + + + maxAtmospheringSpeed + + + + Int + + + + + + hyperdriveRating + + + + Float + + + + + + MGLT + + + + Int + + + + + + cargoCapacity + + + + Float + + + + + + consumables + + + + String + + + + + + pilotConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allStarships + + + + + + + + + Root:starship + + + + + + + + + Vehicle + + + + + + name + + + + String + + + + + + model + + + + String + + + + + + vehicleClass + + + + String + + + + + + manufacturers + + + + [ + + + String + + + ] + + + + + + costInCredits + + + + Int + + + + + + length + + + + Float + + + + + + crew + + + + String + + + + + + passengers + + + + String + + + + + + maxAtmospheringSpeed + + + + Int + + + + + + cargoCapacity + + + + Int + + + + + + consumables + + + + String + + + + + + pilotConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allVehicles + + + + + + + + + Root:vehicle + + + + + + + + + Film:characterConnection + + + + + + + + + Film:planetConnection + + + + + + + + + Film:speciesConnection + + + + + + + + + Film:starshipConnection + + + + + + + + + Film:vehicleConnection + + + + + + + + + Person:filmConnection + + + + + + + + + Person:homeworld + + + + + + + + + Person:species + + + + + + + + + Person:starshipConnection + + + + + + + + + Person:vehicleConnection + + + + + + + + + Planet:filmConnection + + + + + + + + + Planet:residentConnection + + + + + + + + + Species:filmConnection + + + + + + + + + Species:personConnection + + + + + + + + + Species:homeworld + + + + + + + + + Starship:filmConnection + + + + + + + + + Starship:pilotConnection + + + + + + + + + Vehicle:filmConnection + + + + + + + + + Vehicle:pilotConnection + + + + + + diff --git a/tests/demo.spec.ts-snapshots/graph-before-resize-Demo-linux.svg b/tests/demo.spec.ts-snapshots/graph-before-resize-Demo-linux.svg new file mode 100644 index 00000000..0cb8e60e --- /dev/null +++ b/tests/demo.spec.ts-snapshots/graph-before-resize-Demo-linux.svg @@ -0,0 +1,4913 @@ + + + + + + + + + + + + + + + + + + + + + + Root + + + + + + allFilms + + + + + [ + + + Film + + + ] + + + + + + film + + + + Film + + + + + + allPeople + + + + + [ + + + Person + + + ] + + + + + + person + + + + Person + + + + + + allPlanets + + + + + [ + + + Planet + + + ] + + + + + + planet + + + + Planet + + + + + + allSpecies + + + + + [ + + + Species + + + ] + + + + + + species + + + + Species + + + + + + allStarships + + + + + [ + + + Starship + + + ] + + + + + + starship + + + + Starship + + + + + + allVehicles + + + + + [ + + + Vehicle + + + ] + + + + + + vehicle + + + + Vehicle + + + + + + + + + Film + + + + + + title + + + + String + + + + + + episodeID + + + + Int + + + + + + openingCrawl + + + + String + + + + + + director + + + + String + + + + + + producers + + + + [ + + + String + + + ] + + + + + + releaseDate + + + + String + + + + + + speciesConnection + + + + + [ + + + Species + + + ] + + + + + + starshipConnection + + + + + [ + + + Starship + + + ] + + + + + + vehicleConnection + + + + + [ + + + Vehicle + + + ] + + + + + + characterConnection + + + + + [ + + + Person + + + ] + + + + + + planetConnection + + + + + [ + + + Planet + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allFilms + + + + + + + + + Root:film + + + + + + + + + Person + + + + + + name + + + + String + + + + + + birthYear + + + + String + + + + + + eyeColor + + + + String + + + + + + gender + + + + String + + + + + + hairColor + + + + String + + + + + + height + + + + Int + + + + + + mass + + + + Int + + + + + + skinColor + + + + String + + + + + + homeworld + + + + Planet + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + species + + + + Species + + + + + + starshipConnection + + + + + [ + + + Starship + + + ] + + + + + + vehicleConnection + + + + + [ + + + Vehicle + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allPeople + + + + + + + + + Root:person + + + + + + + + + Planet + + + + + + name + + + + String + + + + + + diameter + + + + Int + + + + + + rotationPeriod + + + + Int + + + + + + orbitalPeriod + + + + Int + + + + + + gravity + + + + String + + + + + + population + + + + Int + + + + + + climates + + + + [ + + + String + + + ] + + + + + + terrains + + + + [ + + + String + + + ] + + + + + + surfaceWater + + + + Float + + + + + + residentConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allPlanets + + + + + + + + + Root:planet + + + + + + + + + Species + + + + + + name + + + + String + + + + + + classification + + + + String + + + + + + designation + + + + String + + + + + + averageHeight + + + + Float + + + + + + averageLifespan + + + + Int + + + + + + eyeColors + + + + [ + + + String + + + ] + + + + + + hairColors + + + + [ + + + String + + + ] + + + + + + skinColors + + + + [ + + + String + + + ] + + + + + + language + + + + String + + + + + + homeworld + + + + Planet + + + + + + personConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allSpecies + + + + + + + + + Root:species + + + + + + + + + Starship + + + + + + name + + + + String + + + + + + model + + + + String + + + + + + starshipClass + + + + String + + + + + + manufacturers + + + + [ + + + String + + + ] + + + + + + costInCredits + + + + Float + + + + + + length + + + + Float + + + + + + crew + + + + String + + + + + + passengers + + + + String + + + + + + maxAtmospheringSpeed + + + + Int + + + + + + hyperdriveRating + + + + Float + + + + + + MGLT + + + + Int + + + + + + cargoCapacity + + + + Float + + + + + + consumables + + + + String + + + + + + pilotConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allStarships + + + + + + + + + Root:starship + + + + + + + + + Vehicle + + + + + + name + + + + String + + + + + + model + + + + String + + + + + + vehicleClass + + + + String + + + + + + manufacturers + + + + [ + + + String + + + ] + + + + + + costInCredits + + + + Int + + + + + + length + + + + Float + + + + + + crew + + + + String + + + + + + passengers + + + + String + + + + + + maxAtmospheringSpeed + + + + Int + + + + + + cargoCapacity + + + + Int + + + + + + consumables + + + + String + + + + + + pilotConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allVehicles + + + + + + + + + Root:vehicle + + + + + + + + + Film:characterConnection + + + + + + + + + Film:planetConnection + + + + + + + + + Film:speciesConnection + + + + + + + + + Film:starshipConnection + + + + + + + + + Film:vehicleConnection + + + + + + + + + Person:filmConnection + + + + + + + + + Person:homeworld + + + + + + + + + Person:species + + + + + + + + + Person:starshipConnection + + + + + + + + + Person:vehicleConnection + + + + + + + + + Planet:filmConnection + + + + + + + + + Planet:residentConnection + + + + + + + + + Species:filmConnection + + + + + + + + + Species:personConnection + + + + + + + + + Species:homeworld + + + + + + + + + Starship:filmConnection + + + + + + + + + Starship:pilotConnection + + + + + + + + + Vehicle:filmConnection + + + + + + + + + Vehicle:pilotConnection + + + + + + diff --git a/tests/demo.spec.ts-snapshots/schema-from-url-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/schema-from-url-graph-Demo-linux.svg new file mode 100644 index 00000000..c8eb5f6e --- /dev/null +++ b/tests/demo.spec.ts-snapshots/schema-from-url-graph-Demo-linux.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + + + + + + + Query + + + + + + foo + + + + String + + + + + + diff --git a/tests/demo.spec.ts-snapshots/shopify-storefront-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/shopify-storefront-graph-Demo-linux.svg new file mode 100644 index 00000000..0f230fc1 --- /dev/null +++ b/tests/demo.spec.ts-snapshots/shopify-storefront-graph-Demo-linux.svg @@ -0,0 +1,7190 @@ + + + + + + + + + + + + + + + + + + + + + + QueryRoot + + + + + + customer + + + + Customer + + + + + + shop + + + + Shop + + + ! + + + + + + + + + Customer + + + + + + acceptsMarketing + + + + Boolean + + + ! + + + + + + addresses + + + + + [ + + + MailingAddress + + + !]! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + defaultAddress + + + + MailingAddress + + + + + + displayName + + + + String + + + ! + + + + + + email + + + + String + + + + + + firstName + + + + String + + + + + + id + + + + ID + + + ! + + + + + + lastName + + + + String + + + + + + orders + + + + + [ + + + Order + + + !]! + + + + + + phone + + + + String + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + + + + QueryRoot:customer + + + + + + + + + Shop + + + + + + articles + + + + + [ + + + Article + + + !]! + + + + + + blogs + + + + + [ + + + Blog + + + !]! + + + + + + collectionByHandle + + + + Collection + + + + + + collections + + + + + [ + + + Collection + + + !]! + + + + + + description + + + + String + + + + + + moneyFormat + + + + String + + + ! + + + + + + name + + + + String + + + ! + + + + + + paymentSettings + + + + PaymentSettings + + + ! + + + + + + primaryDomain + + + + Domain + + + ! + + + + + + privacyPolicy + + + + ShopPolicy + + + + + + productByHandle + + + + Product + + + + + + productTypes + + + + + [ + + + String + + + !]! + + + + + + products + + + + + [ + + + Product + + + !]! + + + + + + refundPolicy + + + + ShopPolicy + + + + + + termsOfService + + + + ShopPolicy + + + + + + + + + QueryRoot:shop + + + + + + + + + MailingAddress + + + + + + address1 + + + + String + + + + + + address2 + + + + String + + + + + + city + + + + String + + + + + + company + + + + String + + + + + + country + + + + String + + + + + + countryCode + + + + String + + + + + + firstName + + + + String + + + + + + formatted + + + + [ + + + String + + + !]! + + + + + + formattedArea + + + + String + + + + + + id + + + + ID + + + ! + + + + + + lastName + + + + String + + + + + + latitude + + + + Float + + + + + + longitude + + + + Float + + + + + + name + + + + String + + + + + + phone + + + + String + + + + + + province + + + + String + + + + + + provinceCode + + + + String + + + + + + zip + + + + String + + + + + + + + + Customer:addresses + + + + + + + + + Customer:defaultAddress + + + + + + + + + Order + + + + + + currencyCode + + + + CurrencyCode + + + ! + + + + + + customerLocale + + + + String + + + + + + customerUrl + + + + URL + + + + + + email + + + + String + + + + + + id + + + + ID + + + ! + + + + + + lineItems + + + + + [ + + + OrderLineItem + + + !]! + + + + + + orderNumber + + + + Int + + + ! + + + + + + phone + + + + String + + + + + + processedAt + + + + DateTime + + + ! + + + + + + shippingAddress + + + + MailingAddress + + + + + + subtotalPrice + + + + Money + + + + + + totalPrice + + + + Money + + + ! + + + + + + totalRefunded + + + + Money + + + ! + + + + + + totalShippingPrice + + + + Money + + + ! + + + + + + totalTax + + + + Money + + + + + + + + + Customer:orders + + + + + + + + + Article + + + + + + author + + + + ArticleAuthor + + + ! + + + + + + blog + + + + Blog + + + ! + + + + + + comments + + + + + [ + + + Comment + + + !]! + + + + + + content + + + + String + + + ! + + + + + + contentHtml + + + + HTML + + + ! + + + + + + excerpt + + + + String + + + + + + excerptHtml + + + + HTML + + + + + + id + + + + ID + + + ! + + + + + + image + + + + Image + + + + + + publishedAt + + + + DateTime + + + ! + + + + + + tags + + + + [ + + + String + + + !]! + + + + + + title + + + + String + + + ! + + + + + + url + + + + URL + + + ! + + + + + + + + + Shop:articles + + + + + + + + + Blog + + + + + + articles + + + + + [ + + + Article + + + !]! + + + + + + id + + + + ID + + + ! + + + + + + title + + + + String + + + ! + + + + + + url + + + + URL + + + ! + + + + + + + + + Shop:blogs + + + + + + + + + Collection + + + + + + description + + + + String + + + ! + + + + + + descriptionHtml + + + + HTML + + + ! + + + + + + handle + + + + String + + + ! + + + + + + id + + + + ID + + + ! + + + + + + image + + + + Image + + + + + + products + + + + + [ + + + Product + + + !]! + + + + + + title + + + + String + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + + + + Shop:collectionByHandle + + + + + + + + + Shop:collections + + + + + + + + + PaymentSettings + + + + + + acceptedCardBrands + + + + [ + + + CardBrand + + + !]! + + + + + + cardVaultUrl + + + + URL + + + ! + + + + + + countryCode + + + + CountryCode + + + ! + + + + + + currencyCode + + + + CurrencyCode + + + ! + + + + + + shopifyPaymentsAccountId + + + + String + + + + + + supportedDigitalWallets + + + + [ + + + DigitalWallet + + + !]! + + + + + + + + + Shop:paymentSettings + + + + + + + + + Domain + + + + + + host + + + + String + + + ! + + + + + + sslEnabled + + + + Boolean + + + ! + + + + + + url + + + + URL + + + ! + + + + + + + + + Shop:primaryDomain + + + + + + + + + ShopPolicy + + + + + + body + + + + String + + + ! + + + + + + id + + + + ID + + + ! + + + + + + title + + + + String + + + ! + + + + + + url + + + + URL + + + ! + + + + + + + + + Shop:privacyPolicy + + + + + + + + + Shop:refundPolicy + + + + + + + + + Shop:termsOfService + + + + + + + + + Product + + + + + + collections + + + + + [ + + + Collection + + + !]! + + + + + + createdAt + + + + DateTime + + + ! + + + + + + description + + + + String + + + ! + + + + + + descriptionHtml + + + + HTML + + + ! + + + + + + handle + + + + String + + + ! + + + + + + id + + + + ID + + + ! + + + + + + images + + + + + [ + + + Image + + + !]! + + + + + + options + + + + [ + + + ProductOption + + + !]! + + + + + + productType + + + + String + + + ! + + + + + + publishedAt + + + + DateTime + + + ! + + + + + + tags + + + + [ + + + String + + + !]! + + + + + + title + + + + String + + + ! + + + + + + updatedAt + + + + DateTime + + + ! + + + + + + variantBySelectedOptions + + + + ProductVariant + + + + + + variants + + + + + [ + + + ProductVariant + + + !]! + + + + + + vendor + + + + String + + + ! + + + + + + + + + Shop:productByHandle + + + + + + + + + Shop:products + + + + + + + + + Order:shippingAddress + + + + + + + + + OrderLineItem + + + + + + customAttributes + + + + [ + + + Attribute + + + !]! + + + + + + quantity + + + + Int + + + ! + + + + + + title + + + + String + + + ! + + + + + + variant + + + + ProductVariant + + + + + + + + + Order:lineItems + + + + + + + + + Article:blog + + + + + + + + + ArticleAuthor + + + + + + bio + + + + String + + + + + + email + + + + String + + + ! + + + + + + firstName + + + + String + + + ! + + + + + + lastName + + + + String + + + ! + + + + + + name + + + + String + + + ! + + + + + + + + + Article:author + + + + + + + + + Comment + + + + + + author + + + + CommentAuthor + + + ! + + + + + + content + + + + String + + + ! + + + + + + contentHtml + + + + HTML + + + ! + + + + + + id + + + + ID + + + ! + + + + + + + + + Article:comments + + + + + + + + + Image + + + + + + altText + + + + String + + + + + + id + + + + ID + + + + + + src + + + + URL + + + ! + + + + + + + + + Article:image + + + + + + + + + Blog:articles + + + + + + + + + Collection:products + + + + + + + + + Collection:image + + + + + + + + + Product:collections + + + + + + + + + Product:images + + + + + + + + + ProductOption + + + + + + id + + + + ID + + + ! + + + + + + name + + + + String + + + ! + + + + + + values + + + + [ + + + String + + + !]! + + + + + + + + + Product:options + + + + + + + + + ProductVariant + + + + + + availableForSale + + + + Boolean + + + ! + + + + + + compareAtPrice + + + + Money + + + + + + id + + + + ID + + + ! + + + + + + image + + + + Image + + + + + + price + + + + Money + + + ! + + + + + + product + + + + Product + + + ! + + + + + + selectedOptions + + + + [ + + + SelectedOption + + + !]! + + + + + + sku + + + + String + + + + + + title + + + + String + + + ! + + + + + + weight + + + + Float + + + + + + weightUnit + + + + WeightUnit + + + ! + + + + + + + + + Product:variantBySelectedOptions + + + + + + + + + Product:variants + + + + + + + + + OrderLineItem:variant + + + + + + + + + Attribute + + + + + + key + + + + String + + + ! + + + + + + value + + + + String + + + + + + + + + OrderLineItem:customAttributes + + + + + + + + + CommentAuthor + + + + + + email + + + + String + + + ! + + + + + + name + + + + String + + + ! + + + + + + + + + Comment:author + + + + + + + + + ProductVariant:product + + + + + + + + + ProductVariant:image + + + + + + + + + SelectedOption + + + + + + name + + + + String + + + ! + + + + + + value + + + + String + + + ! + + + + + + + + + ProductVariant:selectedOptions + + + + + + diff --git a/tests/demo.spec.ts-snapshots/star-wars-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/star-wars-graph-Demo-linux.svg new file mode 100644 index 00000000..66d384fd --- /dev/null +++ b/tests/demo.spec.ts-snapshots/star-wars-graph-Demo-linux.svg @@ -0,0 +1,4913 @@ + + + + + + + + + + + + + + + + + + + + + + Root + + + + + + allFilms + + + + + [ + + + Film + + + ] + + + + + + film + + + + Film + + + + + + allPeople + + + + + [ + + + Person + + + ] + + + + + + person + + + + Person + + + + + + allPlanets + + + + + [ + + + Planet + + + ] + + + + + + planet + + + + Planet + + + + + + allSpecies + + + + + [ + + + Species + + + ] + + + + + + species + + + + Species + + + + + + allStarships + + + + + [ + + + Starship + + + ] + + + + + + starship + + + + Starship + + + + + + allVehicles + + + + + [ + + + Vehicle + + + ] + + + + + + vehicle + + + + Vehicle + + + + + + + + + Film + + + + + + title + + + + String + + + + + + episodeID + + + + Int + + + + + + openingCrawl + + + + String + + + + + + director + + + + String + + + + + + producers + + + + [ + + + String + + + ] + + + + + + releaseDate + + + + String + + + + + + speciesConnection + + + + + [ + + + Species + + + ] + + + + + + starshipConnection + + + + + [ + + + Starship + + + ] + + + + + + vehicleConnection + + + + + [ + + + Vehicle + + + ] + + + + + + characterConnection + + + + + [ + + + Person + + + ] + + + + + + planetConnection + + + + + [ + + + Planet + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allFilms + + + + + + + + + Root:film + + + + + + + + + Person + + + + + + name + + + + String + + + + + + birthYear + + + + String + + + + + + eyeColor + + + + String + + + + + + gender + + + + String + + + + + + hairColor + + + + String + + + + + + height + + + + Int + + + + + + mass + + + + Int + + + + + + skinColor + + + + String + + + + + + homeworld + + + + Planet + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + species + + + + Species + + + + + + starshipConnection + + + + + [ + + + Starship + + + ] + + + + + + vehicleConnection + + + + + [ + + + Vehicle + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allPeople + + + + + + + + + Root:person + + + + + + + + + Planet + + + + + + name + + + + String + + + + + + diameter + + + + Int + + + + + + rotationPeriod + + + + Int + + + + + + orbitalPeriod + + + + Int + + + + + + gravity + + + + String + + + + + + population + + + + Int + + + + + + climates + + + + [ + + + String + + + ] + + + + + + terrains + + + + [ + + + String + + + ] + + + + + + surfaceWater + + + + Float + + + + + + residentConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allPlanets + + + + + + + + + Root:planet + + + + + + + + + Species + + + + + + name + + + + String + + + + + + classification + + + + String + + + + + + designation + + + + String + + + + + + averageHeight + + + + Float + + + + + + averageLifespan + + + + Int + + + + + + eyeColors + + + + [ + + + String + + + ] + + + + + + hairColors + + + + [ + + + String + + + ] + + + + + + skinColors + + + + [ + + + String + + + ] + + + + + + language + + + + String + + + + + + homeworld + + + + Planet + + + + + + personConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allSpecies + + + + + + + + + Root:species + + + + + + + + + Starship + + + + + + name + + + + String + + + + + + model + + + + String + + + + + + starshipClass + + + + String + + + + + + manufacturers + + + + [ + + + String + + + ] + + + + + + costInCredits + + + + Float + + + + + + length + + + + Float + + + + + + crew + + + + String + + + + + + passengers + + + + String + + + + + + maxAtmospheringSpeed + + + + Int + + + + + + hyperdriveRating + + + + Float + + + + + + MGLT + + + + Int + + + + + + cargoCapacity + + + + Float + + + + + + consumables + + + + String + + + + + + pilotConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allStarships + + + + + + + + + Root:starship + + + + + + + + + Vehicle + + + + + + name + + + + String + + + + + + model + + + + String + + + + + + vehicleClass + + + + String + + + + + + manufacturers + + + + [ + + + String + + + ] + + + + + + costInCredits + + + + Int + + + + + + length + + + + Float + + + + + + crew + + + + String + + + + + + passengers + + + + String + + + + + + maxAtmospheringSpeed + + + + Int + + + + + + cargoCapacity + + + + Int + + + + + + consumables + + + + String + + + + + + pilotConnection + + + + + [ + + + Person + + + ] + + + + + + filmConnection + + + + + [ + + + Film + + + ] + + + + + + created + + + + String + + + + + + edited + + + + String + + + + + + id + + + + ID + + + ! + + + + + + + + + Root:allVehicles + + + + + + + + + Root:vehicle + + + + + + + + + Film:characterConnection + + + + + + + + + Film:planetConnection + + + + + + + + + Film:speciesConnection + + + + + + + + + Film:starshipConnection + + + + + + + + + Film:vehicleConnection + + + + + + + + + Person:filmConnection + + + + + + + + + Person:homeworld + + + + + + + + + Person:species + + + + + + + + + Person:starshipConnection + + + + + + + + + Person:vehicleConnection + + + + + + + + + Planet:filmConnection + + + + + + + + + Planet:residentConnection + + + + + + + + + Species:filmConnection + + + + + + + + + Species:personConnection + + + + + + + + + Species:homeworld + + + + + + + + + Starship:filmConnection + + + + + + + + + Starship:pilotConnection + + + + + + + + + Vehicle:filmConnection + + + + + + + + + Vehicle:pilotConnection + + + + + + diff --git a/tests/demo.spec.ts-snapshots/yelp-graph-Demo-linux.svg b/tests/demo.spec.ts-snapshots/yelp-graph-Demo-linux.svg new file mode 100644 index 00000000..91aa2ce0 --- /dev/null +++ b/tests/demo.spec.ts-snapshots/yelp-graph-Demo-linux.svg @@ -0,0 +1,2179 @@ + + + + + + + + + + + + + + + + + + + + + + Query + + + + + + business + + + + Business + + + + + + reviews + + + + Reviews + + + + + + phone_search + + + + Businesses + + + + + + search + + + + Businesses + + + + + + + + + Business + + + + + + name + + + + String + + + + + + id + + + + String + + + + + + is_claimed + + + + Boolean + + + + + + is_closed + + + + Boolean + + + + + + url + + + + String + + + + + + phone + + + + String + + + + + + display_phone + + + + String + + + + + + review_count + + + + Int + + + + + + categories + + + + [ + + + Category + + + ] + + + + + + rating + + + + Float + + + + + + location + + + + Location + + + + + + coordinates + + + + Coordinates + + + + + + photos + + + + [ + + + String + + + ] + + + + + + hours + + + + [ + + + Hours + + + ] + + + + + + reviews + + + + [ + + + Review + + + ] + + + + + + + + + Query:business + + + + + + + + + Reviews + + + + + + review + + + + [ + + + Review + + + ] + + + + + + total + + + + Int + + + + + + + + + Query:reviews + + + + + + + + + Businesses + + + + + + business + + + + [ + + + Business + + + ] + + + + + + total + + + + Int + + + + + + + + + Query:phone_search + + + + + + + + + Query:search + + + + + + + + + Category + + + + + + title + + + + String + + + + + + alias + + + + String + + + + + + + + + Business:categories + + + + + + + + + Location + + + + + + address1 + + + + String + + + + + + address2 + + + + String + + + + + + address3 + + + + String + + + + + + city + + + + String + + + + + + state + + + + String + + + + + + zip_code + + + + String + + + + + + country + + + + String + + + + + + formatted_address + + + + String + + + + + + + + + Business:location + + + + + + + + + Coordinates + + + + + + latitude + + + + Float + + + + + + longitude + + + + Float + + + + + + + + + Business:coordinates + + + + + + + + + Hours + + + + + + hours_type + + + + String + + + + + + open + + + + [ + + + OpenHours + + + ] + + + + + + is_open_now + + + + Boolean + + + + + + + + + Business:hours + + + + + + + + + Review + + + + + + rating + + + + Int + + + + + + user + + + + User + + + + + + text + + + + String + + + + + + time_created + + + + String + + + + + + url + + + + String + + + + + + + + + Business:reviews + + + + + + + + + Reviews:review + + + + + + + + + Businesses:business + + + + + + + + + OpenHours + + + + + + is_overnight + + + + Boolean + + + + + + end + + + + String + + + + + + start + + + + String + + + + + + day + + + + Int + + + + + + + + + Hours:open + + + + + + + + + User + + + + + + image_url + + + + String + + + + + + name + + + + String + + + + + + + + + Review:user + + + + + +