Skip to content

Commit 85932bb

Browse files
committed
fix: dustin's remarks
1 parent 21c7aed commit 85932bb

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

starters/express-apollo-prisma/.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ indent_size = 2
1414
[*.md]
1515
max_line_length = off
1616
trim_trailing_whitespace = false
17+
18+
[{package.json.eslintrc.json}]
19+
indent_style = space

starters/express-apollo-prisma/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@
1313
"scripts": {
1414
"codegen": "graphql-codegen && npm run format:codegen",
1515
"prepare": "npm run prisma:generate && npm run codegen",
16-
"test": "npm run prepare && jest",
16+
"test": "jest",
1717
"start": "npm run prepare && prisma migrate dev && nodemon",
18-
"dev:test": "jest",
19-
"dev:start": "nodemon",
18+
"dev": "nodemon",
2019
"build": "npm run prepare && tsc --project tsconfig.build.json",
2120
"lint": "eslint \"src/**/*.ts\"",
2221
"lint:fix": "npm run lint --fix",

starters/express-apollo-prisma/src/graphql/schema/technology/technology.typedefs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const technologyTypeDefs = gql`
1818
"""
1919
A page of technology items
2020
"""
21-
type TechnologyCollectionPage {
21+
type Collection {
2222
"Identifies the total count of technology records in data source"
2323
totalCount: Int!
2424
"A list of records of the requested page"
@@ -32,7 +32,7 @@ export const technologyTypeDefs = gql`
3232
"Returns a single Technology by ID"
3333
technology(id: ID!): Technology
3434
"Returns a list of Technologies"
35-
technologies(limit: Int = 5, offset: Int = 0): TechnologyCollectionPage!
35+
technologies(limit: Int = 5, offset: Int = 0): Collection!
3636
}
3737
3838
input CreateTechnology {

0 commit comments

Comments
 (0)