Skip to content

Commit

Permalink
fix bitmask doc on RelationFilter (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini authored Mar 26, 2024
1 parent e9b4668 commit a9244a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/bin/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@
"type": "number",
"format": "double",
"example": 255,
"description": "Filter which uses of the address are considered relevant for the query.\n\nThis is a bitmask, so you can combine multiple options\nex: `RelationFilterType.Input & RelationFilterType.Output`\n\nNote: relations only apply to credentials and not to full bech32 addresses",
"description": "Filter which uses of the address are considered relevant for the query.\n\nThis is a bitmask, so you can combine multiple options\nex: `RelationFilterType.Input | RelationFilterType.Output`\n\nNote: relations only apply to credentials and not to full bech32 addresses",
"pattern": "([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])"
},
"TransactionHistoryRequest": {
Expand Down
2 changes: 1 addition & 1 deletion webserver/shared/models/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { AssetName, PolicyId } from "./PolicyIdAssetMap";
* Filter which uses of the address are considered relevant for the query.
*
* This is a bitmask, so you can combine multiple options
* ex: `RelationFilterType.Input & RelationFilterType.Output`
* ex: `RelationFilterType.Input | RelationFilterType.Output`
*
* Note: relations only apply to credentials and not to full bech32 addresses
* @pattern ([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])
Expand Down

0 comments on commit a9244a5

Please sign in to comment.