From 840086e7f5a76410ce25251eb1d2b856273c668b Mon Sep 17 00:00:00 2001 From: Bas Kiers Date: Tue, 14 Jan 2025 15:56:25 +0100 Subject: [PATCH] feat: add locale query param to resource endpoints (#2509) --- lib/entities/resource.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/entities/resource.ts b/lib/entities/resource.ts index b708d38c6..eb95ed1ed 100644 --- a/lib/entities/resource.ts +++ b/lib/entities/resource.ts @@ -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 = {