Skip to content

Commit c8d91b8

Browse files
committed
Fix typo and add npmignore
1 parent e96ab2d commit c8d91b8

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

.npmignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
coverage/
2+
media/
3+
src/
4+
.github/
5+
.devcontainer/
6+
.editorconfig/
7+
.eslintrc.js/
8+
.prettierrc/
9+
.jest.config.json
10+
tests/
11+
tsconfig.json
12+
*.md

src/mutation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const info = debug('gotql:info')
1111
* Performs a mutation on the specified GraphQL endpoint
1212
*
1313
* @param {string} endPoint GraphQL Endpoint
14-
* @param {queryType} query The JSON getQL query object
14+
* @param {queryType} query The JSON gotQL query object
1515
* @param {userOpts} [options] User options
1616
* @public
1717
* @return {Promise<any>} A response object containing all the data

src/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const info = debug('gotql:info')
1010
* Performs a query on the specified GraphQL endpoint
1111
*
1212
* @param {string} endPoint GraphQL Endpoint
13-
* @param {queryType} query The JSON getQL query object
13+
* @param {queryType} query The JSON gotQL query object
1414
* @param {userOpts} [options] User options
1515
* @public
1616
* @return {Promise<any>} A response object containing all the data

src/types/QueryType.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { LiteralObject } from './Literal'
22
/**
3-
* @typedef {object} queryType An getQL JSON query type
3+
* @typedef {object} queryType An gotQL JSON query type
44
* @prop {string} [name] Query name (it is needed when there are multiple queries)
55
* @prop {operation} operation Operation object
66
* @prop {Object.<string, { type: string, value: string }>} [variables] Query variables

0 commit comments

Comments
 (0)