tasks() — ui Function Reference
Architecture documentation for the tasks() function in seed.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b2a4ca57_38d7_4af4_b9ae_69bc050e279a["tasks()"] 3cd18191_ec57_38de_f487_a8211244ca7a["seed.ts"] b2a4ca57_38d7_4af4_b9ae_69bc050e279a -->|defined in| 3cd18191_ec57_38de_f487_a8211244ca7a style b2a4ca57_38d7_4af4_b9ae_69bc050e279a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/app/(app)/examples/tasks/data/seed.ts lines 7–13
const tasks = Array.from({ length: 100 }, () => ({
id: `TASK-${faker.number.int({ min: 1000, max: 9999 })}`,
title: faker.hacker.phrase().replace(/^./, (letter) => letter.toUpperCase()),
status: faker.helpers.arrayElement(statuses).value,
label: faker.helpers.arrayElement(labels).value,
priority: faker.helpers.arrayElement(priorities).value,
}))
Domain
Subdomains
Source
Frequently Asked Questions
What does tasks() do?
tasks() is a function in the ui codebase, defined in apps/v4/app/(app)/examples/tasks/data/seed.ts.
Where is tasks() defined?
tasks() is defined in apps/v4/app/(app)/examples/tasks/data/seed.ts at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free