meals-made-easy-app/src/app/model/RecipeComment.model.ts

18 lines
387 B
TypeScript

import { ResourceOwner } from './ResourceOwner.model';
import { SliceView } from './SliceView.model';
export interface RecipeComments {
slice: SliceView;
content: RecipeComment[];
}
export interface RecipeComment {
id: number;
created: string;
modified: string | null;
text: string;
rawText: string | null;
owner: ResourceOwner;
recipeId: number;
}