@antonytm/mcp-sitecore-server 0.20.5 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +11 -0
  3. package/dist/bundle.js +909 -61
  4. package/dist/config.d.ts +1 -0
  5. package/dist/config.js +1 -0
  6. package/dist/config.js.map +1 -1
  7. package/dist/register.js +23 -1
  8. package/dist/register.js.map +1 -1
  9. package/dist/tools/powershell/client.d.ts +1 -0
  10. package/dist/tools/powershell/client.js +3 -14
  11. package/dist/tools/powershell/client.js.map +1 -1
  12. package/dist/tools/powershell/command-builder.d.ts +6 -0
  13. package/dist/tools/powershell/command-builder.js +60 -0
  14. package/dist/tools/powershell/command-builder.js.map +1 -0
  15. package/dist/tools/powershell/composite/presentation/add-rendering-by-id.d.ts +3 -0
  16. package/dist/tools/powershell/composite/presentation/add-rendering-by-id.js +36 -0
  17. package/dist/tools/powershell/composite/presentation/add-rendering-by-id.js.map +1 -0
  18. package/dist/tools/powershell/composite/presentation/add-rendering-by-path.d.ts +3 -0
  19. package/dist/tools/powershell/composite/presentation/add-rendering-by-path.js +34 -0
  20. package/dist/tools/powershell/composite/presentation/add-rendering-by-path.js.map +1 -0
  21. package/dist/tools/powershell/composite/presentation/set-rendering-by-id.d.ts +3 -0
  22. package/dist/tools/powershell/composite/presentation/set-rendering-by-id.js +42 -0
  23. package/dist/tools/powershell/composite/presentation/set-rendering-by-id.js.map +1 -0
  24. package/dist/tools/powershell/composite/presentation/set-rendering-by-path.d.ts +3 -0
  25. package/dist/tools/powershell/composite/presentation/set-rendering-by-path.js +39 -0
  26. package/dist/tools/powershell/composite/presentation/set-rendering-by-path.js.map +1 -0
  27. package/dist/tools/powershell/composite/presentation/switch-rendering-by-id.d.ts +3 -0
  28. package/dist/tools/powershell/composite/presentation/switch-rendering-by-id.js +42 -0
  29. package/dist/tools/powershell/composite/presentation/switch-rendering-by-id.js.map +1 -0
  30. package/dist/tools/powershell/composite/presentation/switch-rendering-by-path.d.ts +3 -0
  31. package/dist/tools/powershell/composite/presentation/switch-rendering-by-path.js +39 -0
  32. package/dist/tools/powershell/composite/presentation/switch-rendering-by-path.js.map +1 -0
  33. package/dist/tools/powershell/composite/presentation/switch-rendering-by-unique-id.d.ts +3 -0
  34. package/dist/tools/powershell/composite/presentation/switch-rendering-by-unique-id.js +32 -0
  35. package/dist/tools/powershell/composite/presentation/switch-rendering-by-unique-id.js.map +1 -0
  36. package/dist/tools/powershell/simple/presentation/get-layout-by-id.js +3 -6
  37. package/dist/tools/powershell/simple/presentation/get-layout-by-id.js.map +1 -1
  38. package/dist/tools/powershell/simple/presentation/get-layout-by-path.js +3 -6
  39. package/dist/tools/powershell/simple/presentation/get-layout-by-path.js.map +1 -1
  40. package/dist/tools/powershell/simple/presentation/get-rendering-by-id.d.ts +3 -0
  41. package/dist/tools/powershell/simple/presentation/get-rendering-by-id.js +29 -0
  42. package/dist/tools/powershell/simple/presentation/get-rendering-by-id.js.map +1 -0
  43. package/dist/tools/powershell/simple/presentation/get-rendering-by-path.d.ts +3 -0
  44. package/dist/tools/powershell/simple/presentation/get-rendering-by-path.js +27 -0
  45. package/dist/tools/powershell/simple/presentation/get-rendering-by-path.js.map +1 -0
  46. package/dist/tools/powershell/simple/presentation/merge-layout-by-id.js +2 -6
  47. package/dist/tools/powershell/simple/presentation/merge-layout-by-id.js.map +1 -1
  48. package/dist/tools/powershell/simple/presentation/merge-layout-by-path.js +1 -3
  49. package/dist/tools/powershell/simple/presentation/merge-layout-by-path.js.map +1 -1
  50. package/dist/tools/powershell/simple/presentation/remove-rendering-by-id.d.ts +3 -0
  51. package/dist/tools/powershell/simple/presentation/remove-rendering-by-id.js +29 -0
  52. package/dist/tools/powershell/simple/presentation/remove-rendering-by-id.js.map +1 -0
  53. package/dist/tools/powershell/simple/presentation/remove-rendering-by-path.d.ts +3 -0
  54. package/dist/tools/powershell/simple/presentation/remove-rendering-by-path.js +27 -0
  55. package/dist/tools/powershell/simple/presentation/remove-rendering-by-path.js.map +1 -0
  56. package/dist/tools/powershell/simple/presentation/reset-layout-by-id.js +3 -6
  57. package/dist/tools/powershell/simple/presentation/reset-layout-by-id.js.map +1 -1
  58. package/dist/tools/powershell/simple/presentation/reset-layout-by-path.js +3 -6
  59. package/dist/tools/powershell/simple/presentation/reset-layout-by-path.js.map +1 -1
  60. package/dist/tools/powershell/utils.d.ts +2 -0
  61. package/dist/tools/powershell/utils.js +12 -0
  62. package/dist/tools/powershell/utils.js.map +1 -1
  63. package/package.json +6 -5
package/LICENSE CHANGED
@@ -186,7 +186,7 @@
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright [yyyy] [name of copyright owner]
189
+ Copyright 2025 Anton Tishchenko
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -84,6 +84,17 @@
84
84
  - [x] `presentation-merge-layout-by-path`: Merges final and shared layouts by item path
85
85
  - [x] `presentation-get-layout-device`: Gets the layout for the device specified
86
86
  - [x] `presentation-get-default-layout-device`: Gets the default layout
87
+ - [x] `presentation-get-rendering-by-id`: Gets rendering definition by item id
88
+ - [x] `presentation-get-rendering-by-path`: Gets rendering definition by item path
89
+ - [x] `presentation-remove-rendering-by-path`: Removes renderings from an item by owners item path
90
+ - [x] `presentation-remove-rendering-by-id`: Removes renderings from an item by owners item ID
91
+ - [x] `presentation-add-rendering-by-path`: Adds a rendering to presentation of an item specified by path
92
+ - [x] `presentation-add-rendering-by-id`: Adds a rendering to presentation of an item specified by item ID
93
+ - [x] `presentation-set-rendering-by-path`: Updates rendering specified by item path with new values
94
+ - [x] `presentation-set-rendering-by-id`: Updates rendering specified by item ID with new values
95
+ - [x] `presentation-switch-rendering-by-id`: Switches an existing rendering specified by item ID with an alternate one for the item specified by item ID
96
+ - [x] `presentation-switch-rendering-by-path`: Switches an existing rendering specified by path with an alternate one for the item specified by path
97
+ - [x] `presentation-switch-rendering-by-unique-id`: Switches an existing rendering specified by unique ID with an alternate one for the item specified by item ID
87
98
  - [x] Indexing
88
99
  - [x] `indexing-initialize-search-index`: initializes one or more search indexes
89
100
  - [x] `indexing-get-search-index`: returns a search index