@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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/lib2/features/CompanionSessionsHistoryFeature/CompanionSessionsHistoryFeature.d.ts +2 -1
- package/dist/cjs/lib2/shared/types/aiCompanion.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/lib2/features/CompanionSessionsHistoryFeature/CompanionSessionsHistoryFeature.d.ts +2 -1
- package/dist/esm/lib2/shared/types/aiCompanion.d.ts +1 -0
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
package/dist/esm/lib2/features/CompanionSessionsHistoryFeature/CompanionSessionsHistoryFeature.d.ts
CHANGED
|
@@ -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;
|
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 = {
|