mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 05:41:56 +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 { Component, OnInit } from '@angular/core';
|
||||||
import { MarkdownService } from '../markdown.service';
|
import { MarkdownService } from '../markdown.service';
|
||||||
|
|
||||||
|
class Message {
|
||||||
|
originator: string;
|
||||||
|
timestamp: Date;
|
||||||
|
message: string;
|
||||||
|
}
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-logs',
|
selector: 'app-logs',
|
||||||
|
Loading…
Reference in New Issue
Block a user