getNote() — ui Function Reference
Architecture documentation for the getNote() function in note.server.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD c82fe746_b76b_d3be_0cf2_3384bb28276c["getNote()"] 62fec141_1f2c_3dbb_0c78_55df1f858117["note.server.ts"] c82fe746_b76b_d3be_0cf2_3384bb28276c -->|defined in| 62fec141_1f2c_3dbb_0c78_55df1f858117 style c82fe746_b76b_d3be_0cf2_3384bb28276c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/shadcn/test/fixtures/frameworks/remix-indie-stack/app/models/note.server.ts lines 5–15
export function getNote({
id,
userId,
}: Pick<Note, "id"> & {
userId: User["id"];
}) {
return prisma.note.findFirst({
select: { id: true, body: true, title: true },
where: { id, userId },
});
}
Domain
Subdomains
Source
Frequently Asked Questions
What does getNote() do?
getNote() is a function in the ui codebase, defined in packages/shadcn/test/fixtures/frameworks/remix-indie-stack/app/models/note.server.ts.
Where is getNote() defined?
getNote() is defined in packages/shadcn/test/fixtures/frameworks/remix-indie-stack/app/models/note.server.ts at line 5.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free