@appcorp/app-corp-vista 0.0.41 → 0.0.42
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/data/vista-chat-props.js
CHANGED
|
@@ -126,28 +126,28 @@ exports.vistaChatV2Props = {
|
|
|
126
126
|
message: 'Hello from User',
|
|
127
127
|
id: 'item-1',
|
|
128
128
|
createdAt: '2025-01-11 10:09:49.891',
|
|
129
|
-
status: 'DELIVERED',
|
|
129
|
+
// status: 'DELIVERED',
|
|
130
130
|
isUser: true,
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
message: 'Hello from Psychic',
|
|
134
134
|
id: 'item-2',
|
|
135
135
|
createdAt: '2025-01-11 10:15:49.891',
|
|
136
|
-
status: 'DELIVERED',
|
|
136
|
+
// status: 'DELIVERED',
|
|
137
137
|
isUser: false,
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
message: 'Hello from User',
|
|
141
141
|
id: 'item-3',
|
|
142
142
|
createdAt: '2025-01-11 10:19:49.891',
|
|
143
|
-
status: 'DELIVERED',
|
|
143
|
+
// status: 'DELIVERED',
|
|
144
144
|
isUser: true,
|
|
145
145
|
},
|
|
146
146
|
{
|
|
147
147
|
message: 'Hello from User',
|
|
148
148
|
id: 'item-4',
|
|
149
149
|
createdAt: '2025-01-11 10:29:49.891',
|
|
150
|
-
status: 'DELIVERED',
|
|
150
|
+
// status: 'DELIVERED',
|
|
151
151
|
isUser: true,
|
|
152
152
|
},
|
|
153
153
|
],
|
package/package.json
CHANGED
|
@@ -27,13 +27,19 @@ export interface VistaChatV2Psychic {
|
|
|
27
27
|
avatarUrl: string;
|
|
28
28
|
avatarAlt: string;
|
|
29
29
|
}
|
|
30
|
+
export interface VistaChatV2Message {
|
|
31
|
+
createdAt: string;
|
|
32
|
+
id: string;
|
|
33
|
+
isUser: boolean;
|
|
34
|
+
message: string;
|
|
35
|
+
}
|
|
30
36
|
export interface VistaChatV2Props {
|
|
31
37
|
actionItems: VistaChatV2ActionItem[];
|
|
32
38
|
chatId: string;
|
|
33
39
|
chatValue: string;
|
|
34
40
|
handleChatOnChange: (k: string, v: string) => void;
|
|
35
41
|
sectionHeading: string;
|
|
36
|
-
messages:
|
|
42
|
+
messages: VistaChatV2Message[];
|
|
37
43
|
user: VistaChatV2User;
|
|
38
44
|
psychic: VistaChatV2Psychic;
|
|
39
45
|
}
|