Skip to content

Commit

Permalink
fix(SearchGroupTicketsParams): fix flow type
Browse files Browse the repository at this point in the history
* Fix: Fixes for GWP-6481
* Fix: Changes to calendarEvents, removing calendarEvent
* Update: CalendarEvent type changes
* Fix: FlowType fixes for tickets query params
  • Loading branch information
solomon-gumball authored and bassettsj committed Nov 28, 2016
1 parent ad8051e commit bf3eb33
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/api/tickets/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,10 @@ type ESTicketSearchFields = {
timezone?: string
}

type QueryParamFields = {
type SearchGroupTicketsQuery = {
field: string,
operator: string,
value: string
value: string | boolean
}

type BoundingBoxFields = {
Expand All @@ -153,17 +153,17 @@ type BoundingBoxFields = {
}
}

type SearchGroupTicketsQuery = {
type QueryParamFields = {
limit?: number,
offset?: number
}

export type SearchGroupTicketsParams = {
group_id: number,
query_params?: Array<QueryParamFields>,
query_params?: QueryParamFields,
bounding_box?: BoundingBoxFields,
timezone?: string,
query?: SearchGroupTicketsQuery
query?: Array<SearchGroupTicketsQuery>
}

type GetCurrentCustomerTicketsQuery = {
Expand Down

0 comments on commit bf3eb33

Please sign in to comment.