- Removed MatToolbar and MatIcon imports from app.component.ts and updated app.component.html. - Reduced toast notification timeout from 3000ms to 1000ms in app.config.ts. - Changed default redirect path from 'auth' to 'chat' in app.routes.ts. - Added ToolbarComponent to AuthModule and ChatModule. - Updated login and register components to include the toolbar. - Simplified toast notifications in login and register components. - Implemented chat service to manage channels and messages. - Created message and profile picture components for chat feed. - Enhanced channel list component to handle selected channels. - Improved feed component to display messages based on selected channel.
9 lines
177 B
TypeScript
9 lines
177 B
TypeScript
import { Timestamp } from "rxjs"
|
|
|
|
export class Message {
|
|
public id!: number
|
|
public sender!: string
|
|
public channel!: number
|
|
public time!: Date
|
|
public content!: string
|
|
} |