mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 02:51:57 +00:00
Create Message class representing defined data format
This commit is contained in:
parent
e0bdf1d9ed
commit
6b9c2c19e3
@ -1,6 +1,11 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { MarkdownService } from '../markdown.service';
|
||||
|
||||
class Message {
|
||||
originator: string;
|
||||
timestamp: Date;
|
||||
message: string;
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'app-logs',
|
||||
|
Loading…
Reference in New Issue
Block a user