@mindly/ui-components 8.9.5 → 8.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,8 +6,9 @@ type CompanionSessionsHistoryFeatureProps = {
6
6
  weekLabels: Record<string, string>;
7
7
  language: SupportedLocales;
8
8
  loadMoreLabel: string;
9
+ type?: 'client' | 'therapist';
9
10
  handleSessionClick: (sessionId: string) => void;
10
11
  handleLoadMore: () => void;
11
12
  };
12
- declare const CompanionSessionsHistoryFeature: ({ weeks, hasNext, status, weekLabels, language, loadMoreLabel, handleSessionClick, handleLoadMore, }: CompanionSessionsHistoryFeatureProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const CompanionSessionsHistoryFeature: ({ weeks, hasNext, status, weekLabels, language, loadMoreLabel, type, handleSessionClick, handleLoadMore, }: CompanionSessionsHistoryFeatureProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export default CompanionSessionsHistoryFeature;
@@ -4,6 +4,7 @@ export interface AiCompanionSessionItem {
4
4
  session_summary: string;
5
5
  session_title?: string;
6
6
  session_review?: AiCompanionSessionReview;
7
+ is_viewed_by_therapist?: boolean;
7
8
  }
8
9
  export interface AiCompanionSessionReview {
9
10
  created_at: string;