Home / Function/ tasks() — ui Function Reference

tasks() — ui Function Reference

Architecture documentation for the tasks() function in seed.ts from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  9cade178_c539_c69b_78d7_d37303bb481e["tasks()"]
  6f3fa41a_77dd_53a6_d902_dfd1aee3d525["seed.ts"]
  9cade178_c539_c69b_78d7_d37303bb481e -->|defined in| 6f3fa41a_77dd_53a6_d902_dfd1aee3d525
  style 9cade178_c539_c69b_78d7_d37303bb481e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/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,
}))

Subdomains

Frequently Asked Questions

What does tasks() do?
tasks() is a function in the ui codebase, defined in deprecated/www/app/(app)/examples/tasks/data/seed.ts.
Where is tasks() defined?
tasks() is defined in deprecated/www/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