Files
plagiat/src/widgets/detail/lib/constant.ts
nabijonovdavronbek619@gmail.com 238c2c1653 complate detail page
2026-04-02 19:19:06 +05:00

75 lines
1.7 KiB
TypeScript

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',
},
},
};
export const blue = {
50: '#E6F1FB',
100: '#B5D4F4',
200: '#85B7EB',
400: '#378ADD',
600: '#185FA5',
800: '#0C447C',
900: '#042C53',
} as const;