secured-finance-watcher-ts/package.json
Prathamesh Musale f9a8227719 Update GQL schema types with arguments on plural fields (#7)
Part of [Support arguments on nested GQL query selections](https://www.notion.so/Support-arguments-on-nested-GQL-query-selections-6731b85910894a2bb7496ef7a44044cc)

Queries like the following are supported now:

```gql
query($userId: ID!)  {
  user(id: $userId) {
    orderCount
    orders(orderBy: createdAt, orderDirection: desc) {
      id
      orderId
      inputAmount
      status
      createdAt
    }
  }
}

query($userId: ID!)  {
  user(id: $userId) {
    transactions(orderBy: createdAt, orderDirection: desc) {
      id
      currency
      maturity
      side
      executionPrice
      futureValue
      amount
      averagePrice
      createdAt
      feeInFV
      user {
        id
      }
    }
  }
}
```

Reviewed-on: #7
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-08-01 13:40:27 +00:00

78 lines
3.1 KiB
JSON

{
"name": "@cerc-io/secured-finance-watcher-ts",
"version": "0.1.4",
"description": "secured-finance-watcher-ts",
"private": true,
"main": "dist/index.js",
"scripts": {
"lint": "eslint --max-warnings=0 .",
"build": "yarn clean && tsc && yarn copy-assets",
"clean": "rm -rf ./dist",
"prepare": "husky install",
"copy-assets": "copyfiles -u 1 src/**/*.gql dist/",
"server": "DEBUG=vulcanize:* YARN_CHILD_PROCESS=true node --enable-source-maps dist/server.js",
"server:dev": "DEBUG=vulcanize:* YARN_CHILD_PROCESS=true ts-node src/server.ts",
"job-runner": "DEBUG=vulcanize:* YARN_CHILD_PROCESS=true node --enable-source-maps dist/job-runner.js",
"job-runner:dev": "DEBUG=vulcanize:* YARN_CHILD_PROCESS=true ts-node src/job-runner.ts",
"watch:contract": "DEBUG=vulcanize:* ts-node src/cli/watch-contract.ts",
"fill": "DEBUG=vulcanize:* ts-node src/fill.ts",
"fill:state": "DEBUG=vulcanize:* ts-node src/fill.ts --state",
"reset": "DEBUG=vulcanize:* ts-node src/cli/reset.ts",
"checkpoint": "DEBUG=vulcanize:* node --enable-source-maps dist/cli/checkpoint.js",
"checkpoint:dev": "DEBUG=vulcanize:* ts-node src/cli/checkpoint.ts",
"export-state": "DEBUG=vulcanize:* node --enable-source-maps dist/cli/export-state.js",
"export-state:dev": "DEBUG=vulcanize:* ts-node src/cli/export-state.ts",
"import-state": "DEBUG=vulcanize:* node --enable-source-maps dist/cli/import-state.js",
"import-state:dev": "DEBUG=vulcanize:* ts-node src/cli/import-state.ts",
"inspect-cid": "DEBUG=vulcanize:* ts-node src/cli/inspect-cid.ts",
"index-block": "DEBUG=vulcanize:* ts-node src/cli/index-block.ts"
},
"repository": {
"type": "git",
"url": "https://git.vdb.to/cerc-io/secured-finance-watcher-ts"
},
"author": "",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/cerc-io/watcher-ts/issues"
},
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
"dependencies": {
"@apollo/client": "^3.3.19",
"@cerc-io/cli": "^0.2.105",
"@cerc-io/ipld-eth-client": "^0.2.105",
"@cerc-io/solidity-mapper": "^0.2.105",
"@cerc-io/util": "^0.2.105",
"@cerc-io/graph-node": "^0.2.105",
"@ethersproject/providers": "^5.4.4",
"debug": "^4.3.1",
"decimal.js": "^10.3.1",
"ethers": "^5.4.4",
"graphql": "^15.5.0",
"json-bigint": "^1.0.0",
"reflect-metadata": "^0.1.13",
"typeorm": "0.2.37",
"yargs": "^17.0.1"
},
"devDependencies": {
"@ethersproject/abi": "^5.3.0",
"@types/debug": "^4.1.5",
"@types/json-bigint": "^1.0.0",
"@types/yargs": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"copyfiles": "^2.4.1",
"eslint": "^8.35.0",
"eslint-config-semistandard": "^15.0.1",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-standard": "^5.0.0",
"husky": "^7.0.2",
"ts-node": "^10.2.1",
"typescript": "^5.0.2",
"winston": "^3.13.0"
}
}