Skip to content

Commit c8f161a

Browse files
committed
docs: add JSDoc comment to ListDatabasesOutput type to clarify public usage for UI components
1 parent e20f572 commit c8f161a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/mongodb/metadata/listDatabases.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export const ListDatabasesOutputSchema = {
1515
totalCount: z.number(),
1616
};
1717

18+
// JSDoc comment needed to tell knip that this is intentionally public
19+
/** @public - Used by UI components */
1820
export type ListDatabasesOutput = z.infer<z.ZodObject<typeof ListDatabasesOutputSchema>>;
1921

2022
export class ListDatabasesTool extends MongoDBToolBase {

0 commit comments

Comments
 (0)