Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/bump deps node #331

Merged
merged 2 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
334 changes: 334 additions & 0 deletions .redocly.lint-ignore.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,334 @@
# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.
# See https://redoc.ly/docs/cli/ for more information.
src/definitions.yaml:
no-server-example.com:
- "#/servers/3/url"
tag-description:
- "#/tags/0/description"
- "#/tags/1/description"
- "#/tags/2/description"
- "#/tags/3/description"
- "#/tags/4/description"
- "#/tags/5/description"
- "#/tags/6/description"
- "#/tags/7/description"
- "#/tags/8/description"
- "#/tags/9/description"
- "#/tags/10/description"
- "#/tags/11/description"
- "#/tags/12/description"
- "#/tags/13/description"
- "#/tags/14/description"
- "#/tags/15/description"
- "#/tags/16/description"
- "#/tags/17/description"
no-ambiguous-paths:
- "#/paths/~1blocks~1slot~1{slot_number}"
- "#/paths/~1blocks~1{hash_or_number}~1txs"
- "#/paths/~1blocks~1{hash_or_number}~1addresses"
- "#/paths/~1assets~1policy~1{policy_id}"
- "#/paths/~1scripts~1datum~1{datum_hash}"
- "#/paths/~1nutlink~1tickers~1{ticker}"
src/paths/api/root/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/health/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/health/clock.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/latest/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/latest/txs.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/{hash_or_number}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/{hash_or_number}/next.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/{hash_or_number}/previous.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/slot/{slot_number}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/epoch/{epoch_number}/slot/{slot_number}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/txs/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/blocks/addresses/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/genesis/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/latest/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/latest/parameters.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/{number}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/{number}/next.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/{number}/previous.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/{number}/stakes.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/{number}/stakes/{pool_id}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/{number}/blocks/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/{number}/{pool_id}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/epochs/{number}/parameters.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/utxos.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/stakes.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/delegations.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/withdrawals.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/mirs.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/pool_updates.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/pool_retires.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/metadata/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/metadata/cbor.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/txs/{hash}/redeemers.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/tx/submit.yaml:
operation-operationId:
- "#/post/operationId"
src/paths/api/accounts/{stake_address}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/rewards.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/history.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/delegations.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/registrations.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/withdrawals.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/mirs.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/addresses.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/assets/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/accounts/{stake_address}/addresses/total.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/mempool/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/mempool/{hash}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/mempool/addresses/{address}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/metadata/txs/labels/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/metadata/txs/labels/{label}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/schemas/txs/tx_metadata_label_json.yaml:
spec:
- "#/items/properties/json_metadata/nullable"
src/paths/api/metadata/txs/labels/{label}/cbor.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/addresses/{address}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/addresses/{address}/extended.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/addresses/{address}/total.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/addresses/{address}/utxos/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/addresses/{address}/utxos/{asset}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/addresses/{address}/txs.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/addresses/{address}/transactions.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/extended.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/retired.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/retiring.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/{pool_id}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/{pool_id}/history.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/{pool_id}/metadata.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/{pool_id}/relays.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/{pool_id}/delegators.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/{pool_id}/blocks.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/pools/{pool_id}/updates.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/assets/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/assets/{asset}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/assets/{asset}/history.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/assets/{asset}/txs.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/assets/{asset}/transactions.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/assets/{asset}/addresses.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/assets/policy/{policy_id}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/scripts/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/scripts/{script_hash}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/scripts/{script_hash}/json.yaml:
operation-operationId:
- "#/get/operationId"
src/schemas/scripts/script_json.yaml:
spec:
- "#/properties/json/nullable"
src/paths/api/scripts/{script_hash}/cbor.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/scripts/{script_hash}/redeemers.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/scripts/datum/{datum_hash}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/scripts/datum/{datum_hash}/cbor.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/utils/addresses/xpub/{xpub}/{role}/{index}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/utils/txs/evaluate/index.yaml:
operation-operationId:
- "#/post/operationId"
src/paths/api/utils/txs/evaluate/utxos.yaml:
operation-operationId:
- "#/post/operationId"
src/paths/ipfs/gateway/{IPFS_path}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/ipfs/pin/add/{IPFS_path}/index.yaml:
operation-operationId:
- "#/post/operationId"
src/paths/ipfs/pin/list/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/ipfs/pin/list/{IPFS_path}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/ipfs/pin/remove/{IPFS_path}/index.yaml:
operation-operationId:
- "#/post/operationId"
src/paths/api/metrics/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/metrics/endpoints.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/network/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/network/eras.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/nutlink/{address}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/nutlink/{address}/tickers/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/nutlink/{address}/tickers/{ticker}/index.yaml:
operation-operationId:
- "#/get/operationId"
src/paths/api/nutlink/tickers/{ticker}/index.yaml:
operation-operationId:
- "#/get/operationId"
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Unreleased changes are in the `master` branch.

### Changed

- Updated deps - node 16 now required due to node-cbor pkg
- Updated deps - node 18 now required due to node-cbor pkg

## [0.1.60] - 2023-10-05

Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
"coverage": "vitest run --coverage"
},
"devDependencies": {
"@redocly/cli": "1.0.0-beta.123",
"@vitest/coverage-v8": "^0.34.6",
"openapi-typescript": "6.7.1",
"@redocly/cli": "1.5.0",
"@vitest/coverage-v8": "^1.0.4",
"openapi-typescript": "6.7.3",
"rimraf": "^5.0.5",
"typescript": "^5.3.2",
"vitest": "^0.34.6"
"vitest": "^1.0.4"
},
"dependencies": {
"ajv": "^8.12.0",
Expand All @@ -36,6 +36,6 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 2 additions & 0 deletions redocly.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
extends:
- recommended
theme:
openapi:
specUrl: "https://raw.githubusercontent.com/blockfrost/openapi/master/openapi.json"
6 changes: 3 additions & 3 deletions test/tests/__snapshots__/get-schema-for-endpoint.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Vitest Snapshot v1
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`getSchemaForEndpoint > generateSchemas 1`] = `
{
Expand Down Expand Up @@ -12763,7 +12763,7 @@ State \`gc\` means that a previously \`unpinned\` item has been garbage collecte
"tx_hash": "e865f2cc01ca7381cf98dcdc4de07a5e8674b8ea16e6a18e3ed60c186fde2b9c",
},
{
"cbor_metadata": "\\\\xa100a16b436f6d62696e6174696f6e8601010101010c",
"cbor_metadata": "\\xa100a16b436f6d62696e6174696f6e8601010101010c",
"metadata": "a100a16b436f6d62696e6174696f6e8601010101010c",
"tx_hash": "4237501da3cfdd53ade91e8911e764bd0699d88fd43b12f44a1f459b89bc91be",
},
Expand Down Expand Up @@ -18903,7 +18903,7 @@ relative to the start of the network
"200": {
"example": [
{
"cbor_metadata": "\\\\xa100a16b436f6d62696e6174696f6e8601010101010c",
"cbor_metadata": "\\xa100a16b436f6d62696e6174696f6e8601010101010c",
"label": "1968",
"metadata": "a100a16b436f6d62696e6174696f6e8601010101010c",
},
Expand Down
Loading
Loading