Skip to content

Commit

Permalink
Add query filter schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
pleek91 committed Dec 20, 2024
1 parent 3be9c0e commit dbbd358
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/compositions/filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ export function useFlowRunFilter(defaultValue: MaybeReactive<FlowRunFilter> = {}
workQueueName: toRef(defaultValueReactive, 'workQueueName'),
workQueueNameIsNull: toRef(defaultValueReactive, 'workQueueNameIsNull'),
workQueueNameOperator: toRef(defaultValueReactive, 'workQueueNameOperator'),
workQueueId: toRef(defaultValueReactive, 'workQueueId'),
workQueueIdNull: toRef(defaultValueReactive, 'workQueueIdNull'),
workQueueIdOperator: toRef(defaultValueReactive, 'workQueueIdOperator'),
})

return withFilterFunctions(filter)
Expand All @@ -215,6 +218,9 @@ const flowRunFilterSchema: RouteQueryParamsSchema<FlowRunFilter> = {
workQueueNameOperator: OperatorRouteParam,
workQueueName: [StringRouteParam],
workQueueNameIsNull: BooleanRouteParam,
workQueueIdOperator: OperatorRouteParam,
workQueueId: [StringRouteParam],
workQueueIdNull: BooleanRouteParam,
state: stateFilterSchema,
flowVersion: [StringRouteParam],
expectedStartTimeBefore: DateRouteParam,
Expand Down

0 comments on commit dbbd358

Please sign in to comment.