File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
starters/express-apollo-prisma
src/graphql/schema/technology Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,6 @@ indent_size = 2
1414[* .md ]
1515max_line_length = off
1616trim_trailing_whitespace = false
17+
18+ [{package.json.eslintrc.json} ]
19+ indent_style = space
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments