Files
maher 703f50a09d
Some checks failed
Build / run (push) Has been cancelled
first commit
2025-10-29 11:42:25 +01:00

23 lines
544 B
TypeScript
Executable File

import {User} from '@common/auth/user';
import {NormalizedModel} from '@common/datatable/filters/normalized-model';
export interface Review {
id: number;
score: number;
reviewable_id: number;
reviewable_type: string;
user_id: number;
user?: User;
current_user_feedback?: boolean;
current_user_reported?: boolean;
helpful_count: number;
not_helpful_count: number;
reviewable: NormalizedModel;
title?: string;
body?: string;
reports_count?: number;
model_type: string;
created_at: string;
updated_at: string;
}