Skip to content

Commit b74dd77

Browse files
authored
Add rule_type_counts to QueryRulesetListResponse spec (#3150)
* Add rule_type_counts to QueryRulesetListResponse spec * Generate schema
1 parent cf7d574 commit b74dd77

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

output/schema/schema.json

Lines changed: 25 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/query_rules/list_rulesets/types.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,12 @@ export class QueryRulesetListItem {
3131
rule_total_count: integer
3232

3333
/**
34-
* A map of criteria type to the number of rules of that type
34+
* A map of criteria type (e.g. exact) to the number of rules of that type
3535
*/
3636
rule_criteria_types_counts: Dictionary<string, integer>
37+
38+
/**
39+
* A map of rule type (e.g. pinned) to the number of rules of that type
40+
*/
41+
rule_type_counts: Dictionary<string, integer>
3742
}

0 commit comments

Comments
 (0)