mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
Chore: update Orval with new state query param (#10860)
Preparing for the UI usage of this.
This commit is contained in:
parent
4490fe785d
commit
47c2bb7376
@ -3,6 +3,7 @@
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
import type { SearchChangeRequestsState } from './searchChangeRequestsState.js';
|
||||
|
||||
export type SearchChangeRequestsParams = {
|
||||
/**
|
||||
@ -13,6 +14,10 @@ export type SearchChangeRequestsParams = {
|
||||
* Filter by requested approver user ID
|
||||
*/
|
||||
requestedApproverId?: string;
|
||||
/**
|
||||
* Filter by open / closed change requests. Change requests that are in 'draft', 'in review', 'approved', or 'scheduled' states are considered open. Change requests that are in 'cancelled', 'applied', or 'rejected' states are considered closed.
|
||||
*/
|
||||
state?: SearchChangeRequestsState;
|
||||
/**
|
||||
* The number of change requests to skip when returning a page. By default it is set to 0.
|
||||
*/
|
||||
|
||||
14
frontend/src/openapi/models/searchChangeRequestsState.ts
Normal file
14
frontend/src/openapi/models/searchChangeRequestsState.ts
Normal file
@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by Orval
|
||||
* Do not edit manually.
|
||||
* See `gen:api` script in package.json
|
||||
*/
|
||||
|
||||
export type SearchChangeRequestsState =
|
||||
(typeof SearchChangeRequestsState)[keyof typeof SearchChangeRequestsState];
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const SearchChangeRequestsState = {
|
||||
'IS:open': 'IS:open',
|
||||
'IS:closed': 'IS:closed',
|
||||
} as const;
|
||||
Loading…
Reference in New Issue
Block a user