Skip to content

Commit 0997480

Browse files
Phil Whittakerclaude
andcommitted
Remove legacy individual tool exports from template, stylesheet, and static-file collections
Clean up unused legacy exports that are no longer needed. The ToolCollectionExport pattern and backwards-compatible ToolTools functions provide the necessary interfaces. Changes: - Remove legacy individual tool exports from template/index.ts - Remove legacy individual tool exports from stylesheet/index.ts - Remove legacy individual tool exports from static-file/index.ts - Delete obsolete imaging implementation plan document 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 84984b6 commit 0997480

File tree

4 files changed

+1
-133
lines changed

4 files changed

+1
-133
lines changed

src/umb-management-api/tools/imaging/IMPLEMENTATION_PLAN.md

Lines changed: 0 additions & 100 deletions
This file was deleted.

src/umb-management-api/tools/static-file/index.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,4 @@ export const StaticFileCollection: ToolCollectionExport = {
3030
// Backwards compatibility export
3131
export const StaticFileTools = (user: CurrentUserResponseModel) => {
3232
return StaticFileCollection.tools(user);
33-
};
34-
35-
// Individual tool exports for backward compatibility
36-
export { default as GetStaticFilesTool } from "./items/get/get-static-files.js";
37-
export { default as GetStaticFileRootTool } from "./items/get/get-root.js";
38-
export { default as GetStaticFileChildrenTool } from "./items/get/get-children.js";
39-
export { default as GetStaticFileAncestorsTool } from "./items/get/get-ancestors.js";
33+
};

src/umb-management-api/tools/stylesheet/index.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,3 @@ export const StylesheetCollection: ToolCollectionExport = {
5555
export const StylesheetTools = (user: CurrentUserResponseModel) => {
5656
return StylesheetCollection.tools(user);
5757
};
58-
59-
// Legacy exports for backward compatibility
60-
export { default as CreateStylesheetTool } from "./post/create-stylesheet.js";
61-
export { default as CreateStylesheetFolderTool } from "./post/create-stylesheet-folder.js";
62-
export { default as GetStylesheetByPathTool } from "./get/get-stylesheet-by-path.js";
63-
export { default as GetStylesheetFolderByPathTool } from "./get/get-stylesheet-folder-by-path.js";
64-
export { default as UpdateStylesheetTool } from "./put/update-stylesheet.js";
65-
export { default as RenameStylesheetTool } from "./put/rename-stylesheet.js";
66-
export { default as DeleteStylesheetTool } from "./delete/delete-stylesheet.js";
67-
export { default as DeleteStylesheetFolderTool } from "./delete/delete-stylesheet-folder.js";
68-
export { default as GetStylesheetAncestorsTool } from "./items/get/get-ancestors.js";
69-
export { default as GetStylesheetChildrenTool } from "./items/get/get-children.js";
70-
export { default as GetStylesheetRootTool } from "./items/get/get-root.js";
71-
export { default as GetStylesheetSearchTool } from "./items/get/get-search.js";

src/umb-management-api/tools/template/index.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,3 @@ export const TemplateTools = (user: CurrentUserResponseModel) => {
5858
return TemplateCollection.tools(user);
5959
};
6060

61-
// Legacy exports for backward compatibility
62-
export { default as CreateTemplateTool } from "./post/create-template.js";
63-
export { default as GetTemplateTool } from "./get/get-template.js";
64-
export { default as GetTemplatesByIdArrayTool } from "./get/get-template-by-id-array.js";
65-
export { default as UpdateTemplateTool } from "./put/update-template.js";
66-
export { default as DeleteTemplateTool } from "./delete/delete-template.js";
67-
export { default as ExecuteTemplateQueryTool } from "./post/execute-template-query.js";
68-
export { default as GetTemplateQuerySettingsTool } from "./get/get-template-query-settings.js";
69-
export { default as GetTemplateAncestorsTool } from "./items/get/get-ancestors.js";
70-
export { default as GetTemplateChildrenTool } from "./items/get/get-children.js";
71-
export { default as GetTemplateRootTool } from "./items/get/get-root.js";
72-
export { default as GetTemplateSearchTool } from "./items/get/get-search.js";

0 commit comments

Comments
 (0)