From d3076dfebcd5e5f2a9d95435f11b8a72e2b3e9a7 Mon Sep 17 00:00:00 2001 From: gbuomprisco Date: Sat, 15 Jun 2024 11:30:20 +0800 Subject: [PATCH] Update sorting options in CMS client The sorting options in the CMS client have been updated. Specifically, the 'slug' option has been removed from 'sortBy'. This change simplifies the options available for sorting operations. --- packages/cms/core/src/cms-client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cms/core/src/cms-client.ts b/packages/cms/core/src/cms-client.ts index caed5862a..d53379760 100644 --- a/packages/cms/core/src/cms-client.ts +++ b/packages/cms/core/src/cms-client.ts @@ -37,7 +37,7 @@ export namespace Cms { parentIds?: string[]; language?: string | undefined; sortDirection?: 'asc' | 'desc'; - sortBy?: 'publishedAt' | 'order' | 'title' | 'slug'; + sortBy?: 'publishedAt' | 'order' | 'title'; } export interface GetCategoriesOptions {