getAllBlockIds() — ui Function Reference
Architecture documentation for the getAllBlockIds() function in blocks.ts from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 87aaf320_3f44_6ded_49f3_79833fbc4422["getAllBlockIds()"] 79002c8a_43c0_28c4_2b18_096fa400899d["blocks.ts"] 87aaf320_3f44_6ded_49f3_79833fbc4422 -->|defined in| 79002c8a_43c0_28c4_2b18_096fa400899d 3bdd95c1_b977_a6c0_8d7f_89d3386ab1c1["getAllBlocks()"] 87aaf320_3f44_6ded_49f3_79833fbc4422 -->|calls| 3bdd95c1_b977_a6c0_8d7f_89d3386ab1c1 style 87aaf320_3f44_6ded_49f3_79833fbc4422 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/v4/lib/blocks.ts lines 6–16
export async function getAllBlockIds(
types: z.infer<typeof registryItemSchema>["type"][] = [
"registry:block",
"registry:internal",
],
categories: string[] = []
): Promise<string[]> {
const blocks = await getAllBlocks(types, categories)
return blocks.map((block) => block.name)
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does getAllBlockIds() do?
getAllBlockIds() is a function in the ui codebase, defined in apps/v4/lib/blocks.ts.
Where is getAllBlockIds() defined?
getAllBlockIds() is defined in apps/v4/lib/blocks.ts at line 6.
What does getAllBlockIds() call?
getAllBlockIds() calls 1 function(s): getAllBlocks.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free