Skip to content

Commit

Permalink
add indexer account api queries
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmaayan committed Sep 25, 2023
1 parent cebeaf5 commit 3bc2523
Show file tree
Hide file tree
Showing 20 changed files with 994 additions and 2,624 deletions.
2 changes: 1 addition & 1 deletion ecosystem/typescript/sdk_v2/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
es2021: true,
node: true,
},
ignorePatterns: ["*.js", "examples/*", "src/indexer/generated/**", "scripts/publish_ans_contract.ts"],
ignorePatterns: ["*.js", "examples/*", "scripts/publish_ans_contract.ts"],
extends: ["airbnb-base", "airbnb-typescript/base", "prettier"],
parser: "@typescript-eslint/parser",
parserOptions: {
Expand Down
3 changes: 1 addition & 2 deletions ecosystem/typescript/sdk_v2/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
src/generated/*
src/indexer/generated/**
dist/
2 changes: 1 addition & 1 deletion ecosystem/typescript/sdk_v2/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
"^(\\.{1,2}/.*)\\.js$": "$1",
},
testEnvironment: "node",
coveragePathIgnorePatterns: ["./types/*", "./utils/memoize-decorator.ts", "./utils/hd-key.ts"],
coveragePathIgnorePatterns: ["./src/internal/queries/"],
testPathIgnorePatterns: ["dist/*"],
collectCoverage: true,
setupFiles: ["dotenv/config"],
Expand Down
9 changes: 0 additions & 9 deletions ecosystem/typescript/sdk_v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"_build:esm": "tsup src/index.ts --format esm --dts --out-dir dist/esm",
"_build:cjs": "tsup src/index.ts --format cjs --dts --out-dir dist/cjs",
"_build:types": "tsup src/types/index.ts --dts --out-dir dist/types",
"generate-openapi-response-types": "openapi -i ../../../../api/doc/spec.yaml -o ./src/types/generated --exportCore=false --exportServices=false",
"_fmt": "prettier 'src/**/*.ts' 'tests/**/*.ts' '.eslintrc.js'",
"fmt": "pnpm _fmt --write",
"lint": "eslint \"**/*.ts\"",
Expand All @@ -38,11 +37,6 @@
"tweetnacl": "1.0.3"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.13.5",
"@graphql-codegen/import-types-preset": "^2.2.3",
"@graphql-codegen/typescript": "^2.7.3",
"@graphql-codegen/typescript-graphql-request": "^4.5.8",
"@graphql-codegen/typescript-operations": "^2.5.3",
"@types/jest": "28.1.8",
"@types/node": "18.6.2",
"@typescript-eslint/eslint-plugin": "5.36.2",
Expand All @@ -53,10 +47,7 @@
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"graphql": "^16.5.0",
"graphql-request": "5.1.0",
"jest": "28.1.3",
"openapi-typescript-codegen": "https://github.com/aptos-labs/openapi-typescript-codegen/releases/download/v0.24.0-p1/openapi-typescript-codegen-v0.24.0-p1.tgz",
"prettier": "2.6.2",
"ts-jest": "28.0.8",
"ts-loader": "9.3.1",
Expand Down
Loading

0 comments on commit 3bc2523

Please sign in to comment.