Skip to content

Commit

Permalink
feat: add locale query param to resource endpoints (#2509)
Browse files Browse the repository at this point in the history
  • Loading branch information
BasKiers authored Jan 14, 2025
1 parent f32251e commit 840086e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/entities/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ export type ResourceQueryOptions = LookupQueryOptions | SearchQueryOptions

type LookupQueryOptions = {
'sys.urn[in]': string
locale?: string
} & BasicCursorPaginationOptions

type SearchQueryOptions = {
query: string
locale?: string
} & BasicCursorPaginationOptions

export type ResourceProps = {
Expand Down

0 comments on commit 840086e

Please sign in to comment.