'use client' import type { AppPartial } from '@dify/contracts/api/console/apps/types.gen' import { useTranslation } from 'react-i18next' import { APP_LIST_GRID_CLASS_NAME } from './constants' import { StarredAppCard } from './starred-app-card' type StarredAppListProps = { apps: AppPartial[] stepByStepTourCardTarget?: string stepByStepTourCardHighlightPart?: string stepByStepTourHighlightedCardCount?: number } const STARRED_APPS_HEADING_ID = 'starred-apps-heading' export const ALL_APPS_HEADING_ID = 'all-apps-heading' export function AppListSectionHeading({ id, label }: { id: string; label: string }) { return (