detail page complated
This commit is contained in:
64
src/widgets/detail/lib/constant.ts
Normal file
64
src/widgets/detail/lib/constant.ts
Normal file
@@ -0,0 +1,64 @@
|
||||
import { PlagiarismCheck } from './types';
|
||||
|
||||
export const MOCK_CHECKS: Record<string, PlagiarismCheck> = {
|
||||
'1': {
|
||||
id: 'chk-001',
|
||||
sender: {
|
||||
id: 'usr-101',
|
||||
name: 'Doston Nabijonov',
|
||||
email: 'doston.dev@example.com',
|
||||
avatarUrl: 'https://i.pravatar.cc/150?img=12',
|
||||
},
|
||||
|
||||
fileName: 'machine_learning_thesis.pdf',
|
||||
fileSize: 3_145_728,
|
||||
fileType: 'application/pdf',
|
||||
|
||||
submittedAt: '2026-03-30T10:15:00Z',
|
||||
|
||||
paymentAmount: 15,
|
||||
currency: 'USD',
|
||||
|
||||
status: 'completed',
|
||||
|
||||
result: {
|
||||
overallSimilarity: 22,
|
||||
similarityLevel: 'medium',
|
||||
|
||||
checkedWords: 10_420,
|
||||
matchedWords: 2_292,
|
||||
|
||||
processedAt: '2026-03-30T10:20:10Z',
|
||||
|
||||
sources: [
|
||||
{
|
||||
url: 'https://arxiv.org/abs/1706.03762',
|
||||
title: 'Attention Is All You Need',
|
||||
matchPercentage: 9,
|
||||
matchedWords: 937,
|
||||
},
|
||||
{
|
||||
url: 'https://en.wikipedia.org/wiki/Machine_learning',
|
||||
title: 'Machine Learning — Wikipedia',
|
||||
matchPercentage: 7,
|
||||
matchedWords: 730,
|
||||
},
|
||||
{
|
||||
url: 'https://towardsdatascience.com/introduction-to-neural-networks',
|
||||
title: 'Introduction to Neural Networks',
|
||||
matchPercentage: 6,
|
||||
matchedWords: 625,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
certificate: {
|
||||
id: 'cert-9001',
|
||||
issuedAt: '2026-03-30T10:21:00Z',
|
||||
expiresAt: '2027-03-30T10:21:00Z',
|
||||
verificationCode: 'PLAG-9001-VERIFY',
|
||||
issuerName: 'Global Plagiarism Checker',
|
||||
downloadUrl: '/certificates/cert-9001.pdf',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user