Skip to content

Commit

Permalink
[Backport 8.x] Add rule_type_counts to QueryRulesetListResponse spec (#…
Browse files Browse the repository at this point in the history
…3151)

Co-authored-by: Kathleen DeRusso <[email protected]>
  • Loading branch information
github-actions[bot] and kderusso authored Nov 19, 2024
1 parent a1d3320 commit f71ba1b
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
27 changes: 25 additions & 2 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion specification/query_rules/list_rulesets/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ export class QueryRulesetListItem {
rule_total_count: integer

/**
* A map of criteria type to the number of rules of that type
* A map of criteria type (e.g. exact) to the number of rules of that type
*/
rule_criteria_types_counts: Dictionary<string, integer>

/**
* A map of rule type (e.g. pinned) to the number of rules of that type
*/
rule_type_counts: Dictionary<string, integer>
}

0 comments on commit f71ba1b

Please sign in to comment.