Skip to content

Commit

Permalink
fix(typings): add MutationSelectionQueryParams type
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Jan 29, 2024
1 parent dff1bcc commit 5bf3eee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,11 @@ export type QueryParamsWithoutQueryOptions = {
} & QueryParams

/** @internal */
export type MutationSelection = {query: string; params?: QueryParams} | {id: string | string[]}
export type MutationSelectionQueryParams = {[key: string]: Any}
/** @internal */
export type MutationSelection =
| {query: string; params?: MutationSelectionQueryParams}
| {id: string | string[]}
/** @internal */
export type PatchSelection = string | string[] | MutationSelection
/** @internal */
Expand Down

0 comments on commit 5bf3eee

Please sign in to comment.