File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,18 @@ export interface IncludeQueryFilter {
1616
1717export type QueryFilter = ExcludeQueryFilter | IncludeQueryFilter ;
1818
19+ export interface QuerySpec {
20+ name ?: string ;
21+ uses : string ;
22+ }
23+
1924/**
2025 * Format of the config file supplied by the user.
2126 */
2227export interface UserConfig {
2328 name ?: string ;
2429 "disable-default-queries" ?: boolean ;
25- queries ?: Array < {
26- name ?: string ;
27- uses : string ;
28- } > ;
30+ queries ?: QuerySpec [ ] ;
2931 "paths-ignore" ?: string [ ] ;
3032 paths ?: string [ ] ;
3133
@@ -58,7 +60,7 @@ export interface AugmentationProperties {
5860 /**
5961 * The queries input from the `with` block of the action declaration
6062 */
61- queriesInput ?: Array < { uses : string } > ;
63+ queriesInput ?: QuerySpec [ ] ;
6264
6365 /**
6466 * Whether or not the packs input combines with the packs in the config.
You can’t perform that action at this time.
0 commit comments