@umbraco-cms/mcp-dev 18.0.0-rc.3 → 18.0.1
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.
- package/dist/{chunk-JBQAP2FD.js → chunk-KKNLEZQN.js} +694 -1385
- package/dist/chunk-KKNLEZQN.js.map +1 -0
- package/dist/{chunk-QELOM36C.cjs → chunk-MVY77GF3.cjs} +55 -746
- package/dist/chunk-MVY77GF3.cjs.map +1 -0
- package/dist/collections.cjs +2 -2
- package/dist/collections.js +1 -1
- package/dist/index.cjs +88 -89
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +37 -0
- package/package.json +1 -2
- package/dist/chunk-JBQAP2FD.js.map +0 -1
- package/dist/chunk-QELOM36C.cjs.map +0 -1
package/dist/tool-types.d.ts
CHANGED
|
@@ -250,6 +250,20 @@ export interface GetDataTypeSchemaOutput {
|
|
|
250
250
|
jsonSchema?: unknown;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
|
+
export interface GetDataTypeSchemasInput {
|
|
254
|
+
id?: string[];
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export interface GetDataTypeSchemasOutput {
|
|
258
|
+
total: number;
|
|
259
|
+
items: {
|
|
260
|
+
id: string;
|
|
261
|
+
valueTypeName?: string | null;
|
|
262
|
+
jsonSchema?: unknown;
|
|
263
|
+
error?: string | null;
|
|
264
|
+
}[];
|
|
265
|
+
}
|
|
266
|
+
|
|
253
267
|
export interface GetDataTypeRootInput {
|
|
254
268
|
foldersOnly?: boolean;
|
|
255
269
|
/**
|
|
@@ -2850,6 +2864,10 @@ export interface CreateElementTypeInput {
|
|
|
2850
2864
|
tab?: string;
|
|
2851
2865
|
group?: string;
|
|
2852
2866
|
}[];
|
|
2867
|
+
/**
|
|
2868
|
+
* Allow standalone library elements to be created from this element type (Umbraco Element Library). Must be true before create-element will succeed for this type; otherwise create-element returns 'Operation not permitted' (NotAllowed).
|
|
2869
|
+
*/
|
|
2870
|
+
allowedInLibrary: boolean;
|
|
2853
2871
|
}
|
|
2854
2872
|
|
|
2855
2873
|
export interface CreateElementTypeOutput {
|
|
@@ -13954,6 +13972,14 @@ export interface GetRecycleBinMediaOriginalParentOutput {
|
|
|
13954
13972
|
id: string;
|
|
13955
13973
|
}
|
|
13956
13974
|
|
|
13975
|
+
export interface GetMediaTypeSchemaInput {
|
|
13976
|
+
id: string;
|
|
13977
|
+
}
|
|
13978
|
+
|
|
13979
|
+
export interface GetMediaTypeSchemaOutput {
|
|
13980
|
+
schema: unknown;
|
|
13981
|
+
}
|
|
13982
|
+
|
|
13957
13983
|
export interface GetMediaTypeFolderInput {
|
|
13958
13984
|
id: string;
|
|
13959
13985
|
}
|
|
@@ -14947,6 +14973,14 @@ export interface GetMemberByIdReferencedDescendantsOutput {
|
|
|
14947
14973
|
nextCursor?: string | null;
|
|
14948
14974
|
}
|
|
14949
14975
|
|
|
14976
|
+
export interface GetMemberTypeSchemaInput {
|
|
14977
|
+
id: string;
|
|
14978
|
+
}
|
|
14979
|
+
|
|
14980
|
+
export interface GetMemberTypeSchemaOutput {
|
|
14981
|
+
schema: unknown;
|
|
14982
|
+
}
|
|
14983
|
+
|
|
14950
14984
|
export interface FindMemberInput {
|
|
14951
14985
|
memberTypeId?: string;
|
|
14952
14986
|
memberGroupName?: string;
|
|
@@ -17704,6 +17738,7 @@ export interface CmsTools {
|
|
|
17704
17738
|
"get-data-type-batch": { input: GetDataTypeBatchInput; output: GetDataTypeBatchOutput };
|
|
17705
17739
|
"get-data-type-configuration": { input: GetDataTypeConfigurationInput; output: GetDataTypeConfigurationOutput };
|
|
17706
17740
|
"get-data-type-schema": { input: GetDataTypeSchemaInput; output: GetDataTypeSchemaOutput };
|
|
17741
|
+
"get-data-type-schemas": { input: GetDataTypeSchemasInput; output: GetDataTypeSchemasOutput };
|
|
17707
17742
|
"get-data-type-root": { input: GetDataTypeRootInput; output: GetDataTypeRootOutput };
|
|
17708
17743
|
"get-data-type-children": { input: GetDataTypeChildrenInput; output: GetDataTypeChildrenOutput };
|
|
17709
17744
|
"get-data-type-siblings": { input: GetDataTypeSiblingsInput; output: GetDataTypeSiblingsOutput };
|
|
@@ -17932,6 +17967,7 @@ export interface CmsTools {
|
|
|
17932
17967
|
"get-collection-media": { input: GetCollectionMediaInput; output: GetCollectionMediaOutput };
|
|
17933
17968
|
"get-recycle-bin-media-referenced-by": { input: GetRecycleBinMediaReferencedByInput; output: GetRecycleBinMediaReferencedByOutput };
|
|
17934
17969
|
"get-recycle-bin-media-original-parent": { input: GetRecycleBinMediaOriginalParentInput; output: GetRecycleBinMediaOriginalParentOutput };
|
|
17970
|
+
"get-media-type-schema": { input: GetMediaTypeSchemaInput; output: GetMediaTypeSchemaOutput };
|
|
17935
17971
|
"get-media-type-folder": { input: GetMediaTypeFolderInput; output: GetMediaTypeFolderOutput };
|
|
17936
17972
|
"create-media-type-folder": { input: CreateMediaTypeFolderInput; output: CreateMediaTypeFolderOutput };
|
|
17937
17973
|
"delete-media-type-folder": { input: DeleteMediaTypeFolderInput; output: unknown };
|
|
@@ -17967,6 +18003,7 @@ export interface CmsTools {
|
|
|
17967
18003
|
"get-member-are-referenced": { input: GetMemberAreReferencedInput; output: GetMemberAreReferencedOutput };
|
|
17968
18004
|
"get-member-by-id-referenced-by": { input: GetMemberByIdReferencedByInput; output: GetMemberByIdReferencedByOutput };
|
|
17969
18005
|
"get-member-by-id-referenced-descendants": { input: GetMemberByIdReferencedDescendantsInput; output: GetMemberByIdReferencedDescendantsOutput };
|
|
18006
|
+
"get-member-type-schema": { input: GetMemberTypeSchemaInput; output: GetMemberTypeSchemaOutput };
|
|
17970
18007
|
"find-member": { input: FindMemberInput; output: FindMemberOutput };
|
|
17971
18008
|
"get-item-member-search": { input: GetItemMemberSearchInput; output: GetItemMemberSearchOutput };
|
|
17972
18009
|
"get-member-ancestors-batch": { input: GetMemberAncestorsBatchInput; output: GetMemberAncestorsBatchOutput };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-cms/mcp-dev",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A model context protocol (MCP) server for Umbraco CMS",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
"@types/yargs": "^17.0.33",
|
|
71
71
|
"@umbraco-cms/mcp-hosted": "^1.0.0-beta.31",
|
|
72
72
|
"@umbraco-cms/mcp-server-sdk": "^1.0.0-beta.31",
|
|
73
|
-
"axios": "^1.8.4",
|
|
74
73
|
"dotenv": "^16.5.0",
|
|
75
74
|
"form-data": "^4.0.4",
|
|
76
75
|
"mime-types": "^3.0.1",
|