Skip to content

Commit

Permalink
Add rule_type_counts to QueryRulesetListResponse spec (#3150)
Browse files Browse the repository at this point in the history
* Add rule_type_counts to QueryRulesetListResponse spec

* Generate schema

(cherry picked from commit b74dd77)
  • Loading branch information
kderusso authored and github-actions[bot] committed Nov 19, 2024
1 parent 308b35b commit f67ddf5
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 f67ddf5

Please sign in to comment.