29 lines
732 B
TypeScript
29 lines
732 B
TypeScript
/**
|
|
* Transcript Share Service - Stubbed
|
|
*
|
|
* This service is stubbed to ensure no session transcripts or user
|
|
* identification data is sent to external services, even during
|
|
* feedback surveys.
|
|
*/
|
|
|
|
export type TranscriptShareResult = {
|
|
success: boolean
|
|
transcriptId?: string
|
|
}
|
|
|
|
export type TranscriptShareTrigger =
|
|
| 'bad_feedback_survey'
|
|
| 'good_feedback_survey'
|
|
| 'frustration'
|
|
| 'memory_survey'
|
|
|
|
export async function submitTranscriptShare(
|
|
_messages: any[],
|
|
_trigger: TranscriptShareTrigger,
|
|
_appearanceId: string,
|
|
): Promise<TranscriptShareResult> {
|
|
// Always return failure to prevent sharing data.
|
|
// This effectively disables the feature without crashing the UI.
|
|
return { success: false };
|
|
}
|