--- import Avatar from './Avatar.astro' import chats from '@data/chats.json' import people from '@data/people.json' import { requireIndex } from '@shared/lib/array' interface Person { full_name?: string photo?: string [key: string]: unknown } interface Message { 'timestamp'?: string 'person-id': number 'message'?: string 'loading'?: boolean 'gif'?: string } interface Props { wide?: boolean } const { wide } = Astro.props const messages = chats as Message[] const peopleList = people as Person[] ---