MCPcopy Create free account
hub / github.com/Y80/bmm / getAllNames

Function getAllNames

src/controllers/UserTag.controller.ts:108–110  ·  view source on GitHub ↗

获取所有标签的名称

()

Source from the content-addressed store, hash-verified

106
107 /** 获取所有标签的名称 */
108 async getAllNames() {
109 return (await this.getAll()).map(({ name }) => name)
110 },
111
112 async findMany(query?: z.output<typeof findManyTagsSchema>) {
113 const userId = await getAuthedUserId()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected