add add contact mock messages
This commit is contained in:
parent
aa53013cc4
commit
f0a89bd5e4
5 changed files with 24 additions and 20 deletions
|
|
@ -27,8 +27,8 @@ export default defineComponent({
|
|||
|
||||
const emittMessage = () => {
|
||||
console.log('testing')
|
||||
counter.value++;
|
||||
emitter.emit('animateSend', Messages[counter.value])
|
||||
counter.value++;
|
||||
}
|
||||
return {
|
||||
emittMessage
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ import { Message } from "@/types/message/index";
|
|||
|
||||
export const Messages: Message[] = [
|
||||
{
|
||||
content: "Welcome",
|
||||
context: "ai",
|
||||
content: "Good morning Dave",
|
||||
context: "launch",
|
||||
subContext: "",
|
||||
modifier: "ai",
|
||||
id: "2",
|
||||
|
|
@ -11,15 +11,15 @@ export const Messages: Message[] = [
|
|||
},
|
||||
{
|
||||
content:
|
||||
"add friend",
|
||||
context: "launch",
|
||||
"add contact",
|
||||
context: "addcontact",
|
||||
subContext: "",
|
||||
modifier: "sf",
|
||||
id: "1",
|
||||
time: ""
|
||||
},
|
||||
{
|
||||
content: "Did you mean to addcontact?",
|
||||
content: "I'm looking for name, crimata_idto addcontact. Feel free toenter only a subset of thisinformation, but then let meknow when you are done",
|
||||
context: "addcontact",
|
||||
subContext: "",
|
||||
modifier: "ai",
|
||||
|
|
@ -27,8 +27,8 @@ export const Messages: Message[] = [
|
|||
time: ""
|
||||
},
|
||||
{
|
||||
content: "yes",
|
||||
context: "fulfill",
|
||||
content: "andrew gundersen",
|
||||
context: "addcontact",
|
||||
subContext: "",
|
||||
modifier: "sf",
|
||||
id: "6",
|
||||
|
|
@ -36,16 +36,16 @@ export const Messages: Message[] = [
|
|||
},
|
||||
|
||||
{
|
||||
content: "Hey Anna, did you get the paper done?",
|
||||
context: "Mesage from Tommy McConville",
|
||||
subContext: "New Conversation",
|
||||
modifier: "ai",
|
||||
content: "[email protected]",
|
||||
context: "addcontact",
|
||||
subContext: "",
|
||||
modifier: "sf",
|
||||
id: "3",
|
||||
time: ""
|
||||
},
|
||||
{
|
||||
content: "Hey do you know Enrique Hernandez?",
|
||||
context: "Message from Crimata",
|
||||
content: "I already have a contact forandrew gundersen. Are you sureyou want this?",
|
||||
context: "addcontact",
|
||||
subContext: "",
|
||||
modifier: "ai",
|
||||
id: "7",
|
||||
|
|
|
|||
Loading…
Reference in a new issue