Skip to content

Commit

Permalink
fix: dustin's remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
iansamz committed Mar 27, 2023
1 parent 21c7aed commit 85932bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions starters/express-apollo-prisma/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ indent_size = 2
[*.md]
max_line_length = off
trim_trailing_whitespace = false

[{package.json.eslintrc.json}]
indent_style = space
5 changes: 2 additions & 3 deletions starters/express-apollo-prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
"scripts": {
"codegen": "graphql-codegen && npm run format:codegen",
"prepare": "npm run prisma:generate && npm run codegen",
"test": "npm run prepare && jest",
"test": "jest",
"start": "npm run prepare && prisma migrate dev && nodemon",
"dev:test": "jest",
"dev:start": "nodemon",
"dev": "nodemon",
"build": "npm run prepare && tsc --project tsconfig.build.json",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "npm run lint --fix",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const technologyTypeDefs = gql`
"""
A page of technology items
"""
type TechnologyCollectionPage {
type Collection {
"Identifies the total count of technology records in data source"
totalCount: Int!
"A list of records of the requested page"
Expand All @@ -32,7 +32,7 @@ export const technologyTypeDefs = gql`
"Returns a single Technology by ID"
technology(id: ID!): Technology
"Returns a list of Technologies"
technologies(limit: Int = 5, offset: Int = 0): TechnologyCollectionPage!
technologies(limit: Int = 5, offset: Int = 0): Collection!
}
input CreateTechnology {
Expand Down

0 comments on commit 85932bb

Please sign in to comment.