File

src/app/_models/post.model.ts

Properties

author
author: string
Type : string
comment
comment: string
Type : string
date
date: string
Type : string
profilePhoto
profilePhoto: 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 ""