File

src/app/_models/post.model.ts

Properties

author
author: string
Type : string
comments
comments: Comment[]
Type : Comment[]
content
content: string
Type : string
date
date: string
Type : string
objectID
objectID: string
Type : string
tags
tags: string[]
Type : string[]
title
title: string
Type : string
export interface Post {
  objectID: string;
  title: string;
  content: string;
  author: string;
  tags: string[];
  date: string;
  comments: Array<Comment>;
}

export interface Comment {
  author: string;
  comment: string;
  date: string;
  profilePhoto: string;
}

results matching ""

    No results matching ""