-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to the test perfs API (#54)
- Loading branch information
1 parent
eb8d375
commit 2682834
Showing
8 changed files
with
265 additions
and
107 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Field, ObjectType, ID } from '@nestjs/graphql'; | ||
|
||
@ObjectType() | ||
export default class Tag { | ||
@Field(() => ID, { | ||
nullable: true, | ||
}) | ||
id: string; | ||
|
||
@Field(() => String, { | ||
nullable: false, | ||
description: 'Name of the tag', | ||
}) | ||
name: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { Field, ObjectType, Int } from '@nestjs/graphql'; | ||
|
||
import TagEdge from './tagEdge'; | ||
|
||
@ObjectType() | ||
export default class TagConnection { | ||
@Field(() => [TagEdge], { | ||
nullable: false, | ||
description: 'A list of edges.', | ||
}) | ||
edges: TagEdge[]; | ||
|
||
@Field(() => Int, { | ||
nullable: false, | ||
description: 'Identifies the total count of items in the connection.', | ||
}) | ||
totalCount: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Field, ObjectType } from '@nestjs/graphql'; | ||
|
||
import Tag from './tag'; | ||
|
||
@ObjectType() | ||
export default class TagEdge { | ||
@Field(() => Tag, { | ||
nullable: false, | ||
description: 'The item at the end of the edge.', | ||
}) | ||
node: Tag; | ||
} |