parent
29ec081180
commit
17c68852c2
@ -1,24 +1,22 @@
|
|||||||
import type { ResumesSection } from '@prisma/client';
|
import type { ResumesSection } from '@prisma/client';
|
||||||
|
|
||||||
declare module 'resume-comments' {
|
/**
|
||||||
/**
|
* Returned by `resumeReviewsRouter` (query for 'resumes.reviews.list') and received as prop by `Comment` in `CommentsList`
|
||||||
* Returned by `resumeReviewsRouter` (query for 'resumes.reviews.list') and received as prop by `Comment` in `CommentsList`
|
* frontend-friendly representation of the query
|
||||||
* frontend-friendly representation of the query
|
*/
|
||||||
*/
|
export type ResumeComment = {
|
||||||
type ResumeComment = {
|
createdAt: Date;
|
||||||
createdAt: Date;
|
description: string;
|
||||||
description: string;
|
hasVoted: boolean;
|
||||||
hasVoted: boolean;
|
id: string;
|
||||||
id: string;
|
numVotes: number;
|
||||||
numVotes: number;
|
resumeId: string;
|
||||||
resumeId: string;
|
resumesProfileId: string;
|
||||||
resumesProfileId: string;
|
section: ResumesSection;
|
||||||
section: ResumesSection;
|
updatedAt: Date;
|
||||||
updatedAt: Date;
|
user: {
|
||||||
user: {
|
image: string?;
|
||||||
image: string;
|
name: string?;
|
||||||
name: string;
|
userId: string;
|
||||||
userId: string;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
Loading…
Reference in new issue