@mindly/ui-components 8.9.5 → 8.10.1

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;
package/dist/index.d.ts CHANGED
@@ -1407,6 +1407,7 @@ interface AiCompanionSessionItem {
1407
1407
  session_summary: string;
1408
1408
  session_title?: string;
1409
1409
  session_review?: AiCompanionSessionReview;
1410
+ is_viewed_by_therapist?: boolean;
1410
1411
  }
1411
1412
  interface AiCompanionSessionReview {
1412
1413
  created_at: string;
@@ -4243,10 +4244,11 @@ type CompanionSessionsHistoryFeatureProps = {
4243
4244
  weekLabels: Record<string, string>;
4244
4245
  language: SupportedLocales;
4245
4246
  loadMoreLabel: string;
4247
+ type?: 'client' | 'therapist';
4246
4248
  handleSessionClick: (sessionId: string) => void;
4247
4249
  handleLoadMore: () => void;
4248
4250
  };
4249
- declare const CompanionSessionsHistoryFeature: ({ weeks, hasNext, status, weekLabels, language, loadMoreLabel, handleSessionClick, handleLoadMore, }: CompanionSessionsHistoryFeatureProps) => react_jsx_runtime.JSX.Element;
4251
+ declare const CompanionSessionsHistoryFeature: ({ weeks, hasNext, status, weekLabels, language, loadMoreLabel, type, handleSessionClick, handleLoadMore, }: CompanionSessionsHistoryFeatureProps) => react_jsx_runtime.JSX.Element;
4250
4252
 
4251
4253
  type SupportedCountryLocale = string;
4252
4254
  type Tabs = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "8.9.5",
3
+ "version": "8.10.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",