api: update compliance api

This commit is contained in:
Gianluca Zuccarelli 2024-09-27 13:45:12 +01:00 committed by Klara Simickova
parent aa02ad4e38
commit 4ff13d7c13
2 changed files with 7309 additions and 7123 deletions

File diff suppressed because it is too large Load diff

View file

@ -8,6 +8,7 @@ const injectedRtkApi = api.injectEndpoints({
params: {
limit: queryArg.limit,
offset: queryArg.offset,
ids_only: queryArg.idsOnly,
sort_by: queryArg.sortBy,
filter: queryArg.filter,
},
@ -37,6 +38,8 @@ export type PoliciesApiArg = {
limit?: number;
/** Offset of first item of paginated response */
offset?: number;
/** Indicates whether to return only resource IDs. */
idsOnly?: boolean;
/** Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default. */
sortBy?: (
| "title"