docuflow / src /data.ts
Joedroid's picture
feat: replace simulated features with real implementations
3dac255
Raw
History Blame Contribute Delete
1.94 kB
import { Document, TeamMember } from "./types";
export const INITIAL_DOCUMENTS: Document[] = [
{
id: "sample-welcome",
title: "Welcome to Markdown Review.md",
content: `# πŸš€ Interactive Markdown & Document Review Workspace
Welcome to the ultimate document converter and real-time collaboration space.
## Core Features
1. **Pasted Text Conversion** β€” Drop raw text or standard Markdown right here.
2. **Side-by-Side Review** β€” See updates rendered live instantly using clean typographic styling.
3. **AI Proofreading & Humanizing** β€” Leverage top AI models (Gemini-3.5-flash & OpenRouter) for spellchecking, grammar correction, and tone adjustment.
4. **Cloud Workspace Synchronization** β€” Simulate real-time editing with encrypted local buffers.
### Sample Code Blocks to Test
\`\`\`javascript
// High-performance live formatting
function calculateReadingTime(text) {
const wordsPerMinute = 225;
const words = text.trim().split(/\\s+/).length;
return Math.ceil(words / wordsPerMinute);
}
console.log("Operational latency: 45ms");
\`\`\`
> "Good typography is invisible. Beautiful tools make the workflow seamless."
Enjoy collaborating with your workspace teammates Liam and Sarah! Edit this text to test.`,
version: 1,
lastSaved: new Date().toISOString(),
isSynced: true
},
{
id: "project-proposal",
title: "Enterprise Pitch Proposal.md",
content: `# Enterprise Expansion Pitch Proposal
## Objective
Establish a high-performance workspace for distributed engineering teams.
## High-performance Data Retrieval Strategy
- Minimize global bundle size
- Support secure server actions
- Fast visual feedback hooks
### Financials
- Editor Pro tier: $15/user/month
- Enterprise scale: Custom SLA contract
*Review suggested before finalizing.*`,
version: 1,
lastSaved: new Date().toISOString(),
isSynced: true
}
];
export const INITIAL_TEAM_MEMBERS: TeamMember[] = [];