From 4dbabefcbec0450666abc41962411647433e8d8f Mon Sep 17 00:00:00 2001 From: nzambello Date: Thu, 9 Jan 2025 08:34:01 +0200 Subject: [PATCH] chore: add missing types --- src/types.ts | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/types.ts b/src/types.ts index 089269d..11a05e4 100644 --- a/src/types.ts +++ b/src/types.ts @@ -892,7 +892,7 @@ export declare type Medium = { content?: string; mimeType: string; title?: string; - properties?: { [key: string]: string }; + properties?: { [key: string]: any }; creationTimestamp?: string; creationName?: string; lastChangeTimestamp?: string; @@ -911,6 +911,7 @@ export declare type DialogState = { confidence?: number; confidenceLevel?: 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH'; emission?: string; + translatedEmission?: string; continuationEmitted?: boolean; emitter?: string; completion?: boolean; @@ -937,20 +938,30 @@ export declare type DialogState = { media?: Medium[]; knownTags?: { [key: string]: string }; contextVars?: { [key: string]: string }; + memoryTags?: string[]; }; export declare type Message = { memoryID?: string; text: string; translatedText?: string; + questionAnswered?: string; acceptsFeedback?: boolean; generatedByAI?: boolean; fromUser?: boolean; media?: Medium[]; - emitter?: string; initial?: boolean; + emitter?: string; timestamp?: string; contextVars?: { [key: string]: string }; + date?: string; + dateUncertaintyDays?: number; + placeName?: string; + placeLatitude?: number; + placeLongitude?: number; + placeUncertaintyKm?: number; + tag?: string; + memoryTags?: string[]; }; export declare type ChatMedium = { @@ -973,7 +984,7 @@ export declare type ChatMedium = { /** * Key-value pairs for additional structured content storage. */ - properties?: { [key: string]: string }; + properties?: { [key: string]: any }; }; export declare type ChatLogLine = {