@graphprotocol/graph-cli 0.37.3-alpha-20230112190020-19838fd → 0.37.3-alpha-20230112191704-2a846e3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/dist/commands/create.js +5 -1
- package/package.json +1 -1
- package/src/commands/create.ts +5 -1
package/CHANGELOG.md
CHANGED
package/dist/commands/create.js
CHANGED
|
@@ -73,7 +73,11 @@ exports.default = {
|
|
|
73
73
|
// @ts-expect-error TODO: why are the arguments not typed?
|
|
74
74
|
requestError,
|
|
75
75
|
// @ts-expect-error TODO: why are the arguments not typed?
|
|
76
|
-
jsonRpcError
|
|
76
|
+
jsonRpcError,
|
|
77
|
+
// TODO: why are the arguments not typed?
|
|
78
|
+
// TODO: this argument is unused, but removing it fails the basic-event-handlers tests
|
|
79
|
+
// @ts-expect-error
|
|
80
|
+
res) {
|
|
77
81
|
if (jsonRpcError) {
|
|
78
82
|
spinner.fail(`Error creating the subgraph: ${jsonRpcError.message}`);
|
|
79
83
|
process.exitCode = 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphprotocol/graph-cli",
|
|
3
|
-
"version": "0.37.3-alpha-
|
|
3
|
+
"version": "0.37.3-alpha-20230112191704-2a846e3",
|
|
4
4
|
"license": "(Apache-2.0 OR MIT)",
|
|
5
5
|
"description": "CLI for building for and deploying to The Graph",
|
|
6
6
|
"main": "dist/cli.js",
|
package/src/commands/create.ts
CHANGED
|
@@ -15,7 +15,7 @@ ${chalk.dim('Options:')}
|
|
|
15
15
|
-g, --node <url> Graph node to create the subgraph in
|
|
16
16
|
`
|
|
17
17
|
|
|
18
|
-
export interface
|
|
18
|
+
export interface CreateOptions {
|
|
19
19
|
accessToken?: string
|
|
20
20
|
help?: boolean
|
|
21
21
|
node?: string
|
|
@@ -86,6 +86,10 @@ export default {
|
|
|
86
86
|
requestError,
|
|
87
87
|
// @ts-expect-error TODO: why are the arguments not typed?
|
|
88
88
|
jsonRpcError,
|
|
89
|
+
// TODO: why are the arguments not typed?
|
|
90
|
+
// TODO: this argument is unused, but removing it fails the basic-event-handlers tests
|
|
91
|
+
// @ts-expect-error
|
|
92
|
+
res,
|
|
89
93
|
) {
|
|
90
94
|
if (jsonRpcError) {
|
|
91
95
|
spinner.fail(`Error creating the subgraph: ${jsonRpcError.message}`)
|