From a859267aad27290624ee0b7b4cc5a5f3030ebbc9 Mon Sep 17 00:00:00 2001 From: douwepausma Date: Mon, 13 Jan 2025 10:51:41 +0100 Subject: [PATCH] fix: Add string array to populate types --- src/types/content-api.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/content-api.ts b/src/types/content-api.ts index 04fe36e..d17d931 100644 --- a/src/types/content-api.ts +++ b/src/types/content-api.ts @@ -67,9 +67,10 @@ export interface BaseQueryParams { * * Can be: * - a `string` to specify relation paths as `populate=name` + * - an `array` of strings to specify multiple relation paths * - an `object` to enable deeper population configurations */ - populate?: string | Record; + populate?: string | string[] | Record; /** * Specifies the fields of documents to include in the response.