From eb6b1e3f9b8b0e5f36790fdc16359fd020b9dab1 Mon Sep 17 00:00:00 2001 From: Quangnhankie Date: Thu, 21 Oct 2021 14:29:39 +0700 Subject: [PATCH] :sparkles: feat: get recipe-list :%s --- framework/commerce/types/recipes.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/framework/commerce/types/recipes.ts b/framework/commerce/types/recipes.ts index ce143c434..cc15e9a57 100644 --- a/framework/commerce/types/recipes.ts +++ b/framework/commerce/types/recipes.ts @@ -17,16 +17,15 @@ export type RecipesType = { totalItems: number } -export enum SortType { +export enum SortOrder { ASC = 'ASC', DESC = 'DESC', } export type GetAllRecipesOperation = { data: { items: T['items'][], totalItems: number } variables: { + excludeBlogIds:Array, take?: number - sort?: { - id: SortType - } + id?: SortOrder } } \ No newline at end of file