@contentful/mcp-tools 0.2.4 → 0.2.5
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/index.d.ts +72 -72
- package/dist/index.js +13 -24
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -176,10 +176,10 @@ declare class ContentfulMcpTools {
|
|
|
176
176
|
openWorldHint: boolean;
|
|
177
177
|
};
|
|
178
178
|
tool: (params: {
|
|
179
|
-
spaceId: string;
|
|
180
|
-
environmentId: string;
|
|
181
179
|
name: string;
|
|
182
180
|
description: string;
|
|
181
|
+
spaceId: string;
|
|
182
|
+
environmentId: string;
|
|
183
183
|
instruction: {
|
|
184
184
|
template: string;
|
|
185
185
|
variables: {
|
|
@@ -744,9 +744,9 @@ declare class ContentfulMcpTools {
|
|
|
744
744
|
openWorldHint: boolean;
|
|
745
745
|
};
|
|
746
746
|
tool: (params: {
|
|
747
|
+
title: string;
|
|
747
748
|
spaceId: string;
|
|
748
749
|
environmentId: string;
|
|
749
|
-
title: string;
|
|
750
750
|
file: {
|
|
751
751
|
fileName: string;
|
|
752
752
|
contentType: string;
|
|
@@ -1334,13 +1334,13 @@ declare class ContentfulMcpTools {
|
|
|
1334
1334
|
})[];
|
|
1335
1335
|
}>]>>>;
|
|
1336
1336
|
}, "strip", zod.ZodTypeAny, {
|
|
1337
|
+
in?: (string | number)[] | undefined;
|
|
1337
1338
|
message?: string | null | undefined;
|
|
1338
1339
|
size?: {
|
|
1339
1340
|
min?: number | undefined;
|
|
1340
1341
|
max?: number | undefined;
|
|
1341
1342
|
} | undefined;
|
|
1342
1343
|
linkContentType?: string[] | undefined;
|
|
1343
|
-
in?: (string | number)[] | undefined;
|
|
1344
1344
|
linkMimetypeGroup?: string[] | undefined;
|
|
1345
1345
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1346
1346
|
enabledMarks?: string[] | undefined;
|
|
@@ -1399,13 +1399,13 @@ declare class ContentfulMcpTools {
|
|
|
1399
1399
|
})[];
|
|
1400
1400
|
}> | undefined;
|
|
1401
1401
|
}, {
|
|
1402
|
+
in?: (string | number)[] | undefined;
|
|
1402
1403
|
message?: string | null | undefined;
|
|
1403
1404
|
size?: {
|
|
1404
1405
|
min?: number | undefined;
|
|
1405
1406
|
max?: number | undefined;
|
|
1406
1407
|
} | undefined;
|
|
1407
1408
|
linkContentType?: string[] | undefined;
|
|
1408
|
-
in?: (string | number)[] | undefined;
|
|
1409
1409
|
linkMimetypeGroup?: string[] | undefined;
|
|
1410
1410
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1411
1411
|
enabledMarks?: string[] | undefined;
|
|
@@ -1682,13 +1682,13 @@ declare class ContentfulMcpTools {
|
|
|
1682
1682
|
})[];
|
|
1683
1683
|
}>]>>>;
|
|
1684
1684
|
}, "strip", zod.ZodTypeAny, {
|
|
1685
|
+
in?: (string | number)[] | undefined;
|
|
1685
1686
|
message?: string | null | undefined;
|
|
1686
1687
|
size?: {
|
|
1687
1688
|
min?: number | undefined;
|
|
1688
1689
|
max?: number | undefined;
|
|
1689
1690
|
} | undefined;
|
|
1690
1691
|
linkContentType?: string[] | undefined;
|
|
1691
|
-
in?: (string | number)[] | undefined;
|
|
1692
1692
|
linkMimetypeGroup?: string[] | undefined;
|
|
1693
1693
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1694
1694
|
enabledMarks?: string[] | undefined;
|
|
@@ -1747,13 +1747,13 @@ declare class ContentfulMcpTools {
|
|
|
1747
1747
|
})[];
|
|
1748
1748
|
}> | undefined;
|
|
1749
1749
|
}, {
|
|
1750
|
+
in?: (string | number)[] | undefined;
|
|
1750
1751
|
message?: string | null | undefined;
|
|
1751
1752
|
size?: {
|
|
1752
1753
|
min?: number | undefined;
|
|
1753
1754
|
max?: number | undefined;
|
|
1754
1755
|
} | undefined;
|
|
1755
1756
|
linkContentType?: string[] | undefined;
|
|
1756
|
-
in?: (string | number)[] | undefined;
|
|
1757
1757
|
linkMimetypeGroup?: string[] | undefined;
|
|
1758
1758
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1759
1759
|
enabledMarks?: string[] | undefined;
|
|
@@ -1816,13 +1816,13 @@ declare class ContentfulMcpTools {
|
|
|
1816
1816
|
type: string;
|
|
1817
1817
|
linkType?: string | undefined;
|
|
1818
1818
|
validations?: {
|
|
1819
|
+
in?: (string | number)[] | undefined;
|
|
1819
1820
|
message?: string | null | undefined;
|
|
1820
1821
|
size?: {
|
|
1821
1822
|
min?: number | undefined;
|
|
1822
1823
|
max?: number | undefined;
|
|
1823
1824
|
} | undefined;
|
|
1824
1825
|
linkContentType?: string[] | undefined;
|
|
1825
|
-
in?: (string | number)[] | undefined;
|
|
1826
1826
|
linkMimetypeGroup?: string[] | undefined;
|
|
1827
1827
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1828
1828
|
enabledMarks?: string[] | undefined;
|
|
@@ -1885,13 +1885,13 @@ declare class ContentfulMcpTools {
|
|
|
1885
1885
|
type: string;
|
|
1886
1886
|
linkType?: string | undefined;
|
|
1887
1887
|
validations?: {
|
|
1888
|
+
in?: (string | number)[] | undefined;
|
|
1888
1889
|
message?: string | null | undefined;
|
|
1889
1890
|
size?: {
|
|
1890
1891
|
min?: number | undefined;
|
|
1891
1892
|
max?: number | undefined;
|
|
1892
1893
|
} | undefined;
|
|
1893
1894
|
linkContentType?: string[] | undefined;
|
|
1894
|
-
in?: (string | number)[] | undefined;
|
|
1895
1895
|
linkMimetypeGroup?: string[] | undefined;
|
|
1896
1896
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1897
1897
|
enabledMarks?: string[] | undefined;
|
|
@@ -1952,22 +1952,22 @@ declare class ContentfulMcpTools {
|
|
|
1952
1952
|
}[] | undefined;
|
|
1953
1953
|
}>>;
|
|
1954
1954
|
}, "strip", zod.ZodTypeAny, {
|
|
1955
|
-
type: string;
|
|
1956
|
-
id: string;
|
|
1957
1955
|
name: string;
|
|
1956
|
+
type: string;
|
|
1958
1957
|
required: boolean;
|
|
1958
|
+
id: string;
|
|
1959
1959
|
localized: boolean;
|
|
1960
1960
|
items?: {
|
|
1961
1961
|
type: string;
|
|
1962
1962
|
linkType?: string | undefined;
|
|
1963
1963
|
validations?: {
|
|
1964
|
+
in?: (string | number)[] | undefined;
|
|
1964
1965
|
message?: string | null | undefined;
|
|
1965
1966
|
size?: {
|
|
1966
1967
|
min?: number | undefined;
|
|
1967
1968
|
max?: number | undefined;
|
|
1968
1969
|
} | undefined;
|
|
1969
1970
|
linkContentType?: string[] | undefined;
|
|
1970
|
-
in?: (string | number)[] | undefined;
|
|
1971
1971
|
linkMimetypeGroup?: string[] | undefined;
|
|
1972
1972
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
1973
1973
|
enabledMarks?: string[] | undefined;
|
|
@@ -2029,13 +2029,13 @@ declare class ContentfulMcpTools {
|
|
|
2029
2029
|
} | undefined;
|
|
2030
2030
|
linkType?: string | undefined;
|
|
2031
2031
|
validations?: {
|
|
2032
|
+
in?: (string | number)[] | undefined;
|
|
2032
2033
|
message?: string | null | undefined;
|
|
2033
2034
|
size?: {
|
|
2034
2035
|
min?: number | undefined;
|
|
2035
2036
|
max?: number | undefined;
|
|
2036
2037
|
} | undefined;
|
|
2037
2038
|
linkContentType?: string[] | undefined;
|
|
2038
|
-
in?: (string | number)[] | undefined;
|
|
2039
2039
|
linkMimetypeGroup?: string[] | undefined;
|
|
2040
2040
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2041
2041
|
enabledMarks?: string[] | undefined;
|
|
@@ -2099,22 +2099,22 @@ declare class ContentfulMcpTools {
|
|
|
2099
2099
|
settings?: Record<string, any> | undefined;
|
|
2100
2100
|
defaultValue?: any;
|
|
2101
2101
|
}, {
|
|
2102
|
-
type: string;
|
|
2103
|
-
id: string;
|
|
2104
2102
|
name: string;
|
|
2103
|
+
type: string;
|
|
2105
2104
|
required: boolean;
|
|
2105
|
+
id: string;
|
|
2106
2106
|
localized: boolean;
|
|
2107
2107
|
items?: {
|
|
2108
2108
|
type: string;
|
|
2109
2109
|
linkType?: string | undefined;
|
|
2110
2110
|
validations?: {
|
|
2111
|
+
in?: (string | number)[] | undefined;
|
|
2111
2112
|
message?: string | null | undefined;
|
|
2112
2113
|
size?: {
|
|
2113
2114
|
min?: number | undefined;
|
|
2114
2115
|
max?: number | undefined;
|
|
2115
2116
|
} | undefined;
|
|
2116
2117
|
linkContentType?: string[] | undefined;
|
|
2117
|
-
in?: (string | number)[] | undefined;
|
|
2118
2118
|
linkMimetypeGroup?: string[] | undefined;
|
|
2119
2119
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2120
2120
|
enabledMarks?: string[] | undefined;
|
|
@@ -2176,13 +2176,13 @@ declare class ContentfulMcpTools {
|
|
|
2176
2176
|
} | undefined;
|
|
2177
2177
|
linkType?: string | undefined;
|
|
2178
2178
|
validations?: {
|
|
2179
|
+
in?: (string | number)[] | undefined;
|
|
2179
2180
|
message?: string | null | undefined;
|
|
2180
2181
|
size?: {
|
|
2181
2182
|
min?: number | undefined;
|
|
2182
2183
|
max?: number | undefined;
|
|
2183
2184
|
} | undefined;
|
|
2184
2185
|
linkContentType?: string[] | undefined;
|
|
2185
|
-
in?: (string | number)[] | undefined;
|
|
2186
2186
|
linkMimetypeGroup?: string[] | undefined;
|
|
2187
2187
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2188
2188
|
enabledMarks?: string[] | undefined;
|
|
@@ -2347,26 +2347,26 @@ declare class ContentfulMcpTools {
|
|
|
2347
2347
|
openWorldHint: boolean;
|
|
2348
2348
|
};
|
|
2349
2349
|
tool: (params: {
|
|
2350
|
+
name: string;
|
|
2350
2351
|
spaceId: string;
|
|
2351
2352
|
environmentId: string;
|
|
2352
|
-
name: string;
|
|
2353
2353
|
fields: {
|
|
2354
|
-
type: string;
|
|
2355
|
-
id: string;
|
|
2356
2354
|
name: string;
|
|
2355
|
+
type: string;
|
|
2357
2356
|
required: boolean;
|
|
2357
|
+
id: string;
|
|
2358
2358
|
localized: boolean;
|
|
2359
2359
|
items?: {
|
|
2360
2360
|
type: string;
|
|
2361
2361
|
linkType?: string | undefined;
|
|
2362
2362
|
validations?: {
|
|
2363
|
+
in?: (string | number)[] | undefined;
|
|
2363
2364
|
message?: string | null | undefined;
|
|
2364
2365
|
size?: {
|
|
2365
2366
|
min?: number | undefined;
|
|
2366
2367
|
max?: number | undefined;
|
|
2367
2368
|
} | undefined;
|
|
2368
2369
|
linkContentType?: string[] | undefined;
|
|
2369
|
-
in?: (string | number)[] | undefined;
|
|
2370
2370
|
linkMimetypeGroup?: string[] | undefined;
|
|
2371
2371
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2372
2372
|
enabledMarks?: string[] | undefined;
|
|
@@ -2428,13 +2428,13 @@ declare class ContentfulMcpTools {
|
|
|
2428
2428
|
} | undefined;
|
|
2429
2429
|
linkType?: string | undefined;
|
|
2430
2430
|
validations?: {
|
|
2431
|
+
in?: (string | number)[] | undefined;
|
|
2431
2432
|
message?: string | null | undefined;
|
|
2432
2433
|
size?: {
|
|
2433
2434
|
min?: number | undefined;
|
|
2434
2435
|
max?: number | undefined;
|
|
2435
2436
|
} | undefined;
|
|
2436
2437
|
linkContentType?: string[] | undefined;
|
|
2437
|
-
in?: (string | number)[] | undefined;
|
|
2438
2438
|
linkMimetypeGroup?: string[] | undefined;
|
|
2439
2439
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2440
2440
|
enabledMarks?: string[] | undefined;
|
|
@@ -2751,13 +2751,13 @@ declare class ContentfulMcpTools {
|
|
|
2751
2751
|
})[];
|
|
2752
2752
|
}>]>>>;
|
|
2753
2753
|
}, "strip", zod.ZodTypeAny, {
|
|
2754
|
+
in?: (string | number)[] | undefined;
|
|
2754
2755
|
message?: string | null | undefined;
|
|
2755
2756
|
size?: {
|
|
2756
2757
|
min?: number | undefined;
|
|
2757
2758
|
max?: number | undefined;
|
|
2758
2759
|
} | undefined;
|
|
2759
2760
|
linkContentType?: string[] | undefined;
|
|
2760
|
-
in?: (string | number)[] | undefined;
|
|
2761
2761
|
linkMimetypeGroup?: string[] | undefined;
|
|
2762
2762
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2763
2763
|
enabledMarks?: string[] | undefined;
|
|
@@ -2816,13 +2816,13 @@ declare class ContentfulMcpTools {
|
|
|
2816
2816
|
})[];
|
|
2817
2817
|
}> | undefined;
|
|
2818
2818
|
}, {
|
|
2819
|
+
in?: (string | number)[] | undefined;
|
|
2819
2820
|
message?: string | null | undefined;
|
|
2820
2821
|
size?: {
|
|
2821
2822
|
min?: number | undefined;
|
|
2822
2823
|
max?: number | undefined;
|
|
2823
2824
|
} | undefined;
|
|
2824
2825
|
linkContentType?: string[] | undefined;
|
|
2825
|
-
in?: (string | number)[] | undefined;
|
|
2826
2826
|
linkMimetypeGroup?: string[] | undefined;
|
|
2827
2827
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
2828
2828
|
enabledMarks?: string[] | undefined;
|
|
@@ -3099,13 +3099,13 @@ declare class ContentfulMcpTools {
|
|
|
3099
3099
|
})[];
|
|
3100
3100
|
}>]>>>;
|
|
3101
3101
|
}, "strip", zod.ZodTypeAny, {
|
|
3102
|
+
in?: (string | number)[] | undefined;
|
|
3102
3103
|
message?: string | null | undefined;
|
|
3103
3104
|
size?: {
|
|
3104
3105
|
min?: number | undefined;
|
|
3105
3106
|
max?: number | undefined;
|
|
3106
3107
|
} | undefined;
|
|
3107
3108
|
linkContentType?: string[] | undefined;
|
|
3108
|
-
in?: (string | number)[] | undefined;
|
|
3109
3109
|
linkMimetypeGroup?: string[] | undefined;
|
|
3110
3110
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3111
3111
|
enabledMarks?: string[] | undefined;
|
|
@@ -3164,13 +3164,13 @@ declare class ContentfulMcpTools {
|
|
|
3164
3164
|
})[];
|
|
3165
3165
|
}> | undefined;
|
|
3166
3166
|
}, {
|
|
3167
|
+
in?: (string | number)[] | undefined;
|
|
3167
3168
|
message?: string | null | undefined;
|
|
3168
3169
|
size?: {
|
|
3169
3170
|
min?: number | undefined;
|
|
3170
3171
|
max?: number | undefined;
|
|
3171
3172
|
} | undefined;
|
|
3172
3173
|
linkContentType?: string[] | undefined;
|
|
3173
|
-
in?: (string | number)[] | undefined;
|
|
3174
3174
|
linkMimetypeGroup?: string[] | undefined;
|
|
3175
3175
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3176
3176
|
enabledMarks?: string[] | undefined;
|
|
@@ -3233,13 +3233,13 @@ declare class ContentfulMcpTools {
|
|
|
3233
3233
|
type: string;
|
|
3234
3234
|
linkType?: string | undefined;
|
|
3235
3235
|
validations?: {
|
|
3236
|
+
in?: (string | number)[] | undefined;
|
|
3236
3237
|
message?: string | null | undefined;
|
|
3237
3238
|
size?: {
|
|
3238
3239
|
min?: number | undefined;
|
|
3239
3240
|
max?: number | undefined;
|
|
3240
3241
|
} | undefined;
|
|
3241
3242
|
linkContentType?: string[] | undefined;
|
|
3242
|
-
in?: (string | number)[] | undefined;
|
|
3243
3243
|
linkMimetypeGroup?: string[] | undefined;
|
|
3244
3244
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3245
3245
|
enabledMarks?: string[] | undefined;
|
|
@@ -3302,13 +3302,13 @@ declare class ContentfulMcpTools {
|
|
|
3302
3302
|
type: string;
|
|
3303
3303
|
linkType?: string | undefined;
|
|
3304
3304
|
validations?: {
|
|
3305
|
+
in?: (string | number)[] | undefined;
|
|
3305
3306
|
message?: string | null | undefined;
|
|
3306
3307
|
size?: {
|
|
3307
3308
|
min?: number | undefined;
|
|
3308
3309
|
max?: number | undefined;
|
|
3309
3310
|
} | undefined;
|
|
3310
3311
|
linkContentType?: string[] | undefined;
|
|
3311
|
-
in?: (string | number)[] | undefined;
|
|
3312
3312
|
linkMimetypeGroup?: string[] | undefined;
|
|
3313
3313
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3314
3314
|
enabledMarks?: string[] | undefined;
|
|
@@ -3369,22 +3369,22 @@ declare class ContentfulMcpTools {
|
|
|
3369
3369
|
}[] | undefined;
|
|
3370
3370
|
}>>;
|
|
3371
3371
|
}, "strip", zod.ZodTypeAny, {
|
|
3372
|
-
type: string;
|
|
3373
|
-
id: string;
|
|
3374
3372
|
name: string;
|
|
3373
|
+
type: string;
|
|
3375
3374
|
required: boolean;
|
|
3375
|
+
id: string;
|
|
3376
3376
|
localized: boolean;
|
|
3377
3377
|
items?: {
|
|
3378
3378
|
type: string;
|
|
3379
3379
|
linkType?: string | undefined;
|
|
3380
3380
|
validations?: {
|
|
3381
|
+
in?: (string | number)[] | undefined;
|
|
3381
3382
|
message?: string | null | undefined;
|
|
3382
3383
|
size?: {
|
|
3383
3384
|
min?: number | undefined;
|
|
3384
3385
|
max?: number | undefined;
|
|
3385
3386
|
} | undefined;
|
|
3386
3387
|
linkContentType?: string[] | undefined;
|
|
3387
|
-
in?: (string | number)[] | undefined;
|
|
3388
3388
|
linkMimetypeGroup?: string[] | undefined;
|
|
3389
3389
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3390
3390
|
enabledMarks?: string[] | undefined;
|
|
@@ -3446,13 +3446,13 @@ declare class ContentfulMcpTools {
|
|
|
3446
3446
|
} | undefined;
|
|
3447
3447
|
linkType?: string | undefined;
|
|
3448
3448
|
validations?: {
|
|
3449
|
+
in?: (string | number)[] | undefined;
|
|
3449
3450
|
message?: string | null | undefined;
|
|
3450
3451
|
size?: {
|
|
3451
3452
|
min?: number | undefined;
|
|
3452
3453
|
max?: number | undefined;
|
|
3453
3454
|
} | undefined;
|
|
3454
3455
|
linkContentType?: string[] | undefined;
|
|
3455
|
-
in?: (string | number)[] | undefined;
|
|
3456
3456
|
linkMimetypeGroup?: string[] | undefined;
|
|
3457
3457
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3458
3458
|
enabledMarks?: string[] | undefined;
|
|
@@ -3516,22 +3516,22 @@ declare class ContentfulMcpTools {
|
|
|
3516
3516
|
settings?: Record<string, any> | undefined;
|
|
3517
3517
|
defaultValue?: any;
|
|
3518
3518
|
}, {
|
|
3519
|
-
type: string;
|
|
3520
|
-
id: string;
|
|
3521
3519
|
name: string;
|
|
3520
|
+
type: string;
|
|
3522
3521
|
required: boolean;
|
|
3522
|
+
id: string;
|
|
3523
3523
|
localized: boolean;
|
|
3524
3524
|
items?: {
|
|
3525
3525
|
type: string;
|
|
3526
3526
|
linkType?: string | undefined;
|
|
3527
3527
|
validations?: {
|
|
3528
|
+
in?: (string | number)[] | undefined;
|
|
3528
3529
|
message?: string | null | undefined;
|
|
3529
3530
|
size?: {
|
|
3530
3531
|
min?: number | undefined;
|
|
3531
3532
|
max?: number | undefined;
|
|
3532
3533
|
} | undefined;
|
|
3533
3534
|
linkContentType?: string[] | undefined;
|
|
3534
|
-
in?: (string | number)[] | undefined;
|
|
3535
3535
|
linkMimetypeGroup?: string[] | undefined;
|
|
3536
3536
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3537
3537
|
enabledMarks?: string[] | undefined;
|
|
@@ -3593,13 +3593,13 @@ declare class ContentfulMcpTools {
|
|
|
3593
3593
|
} | undefined;
|
|
3594
3594
|
linkType?: string | undefined;
|
|
3595
3595
|
validations?: {
|
|
3596
|
+
in?: (string | number)[] | undefined;
|
|
3596
3597
|
message?: string | null | undefined;
|
|
3597
3598
|
size?: {
|
|
3598
3599
|
min?: number | undefined;
|
|
3599
3600
|
max?: number | undefined;
|
|
3600
3601
|
} | undefined;
|
|
3601
3602
|
linkContentType?: string[] | undefined;
|
|
3602
|
-
in?: (string | number)[] | undefined;
|
|
3603
3603
|
linkMimetypeGroup?: string[] | undefined;
|
|
3604
3604
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3605
3605
|
enabledMarks?: string[] | undefined;
|
|
@@ -3787,22 +3787,22 @@ declare class ContentfulMcpTools {
|
|
|
3787
3787
|
name?: string | undefined;
|
|
3788
3788
|
description?: string | undefined;
|
|
3789
3789
|
fields?: {
|
|
3790
|
-
type: string;
|
|
3791
|
-
id: string;
|
|
3792
3790
|
name: string;
|
|
3791
|
+
type: string;
|
|
3793
3792
|
required: boolean;
|
|
3793
|
+
id: string;
|
|
3794
3794
|
localized: boolean;
|
|
3795
3795
|
items?: {
|
|
3796
3796
|
type: string;
|
|
3797
3797
|
linkType?: string | undefined;
|
|
3798
3798
|
validations?: {
|
|
3799
|
+
in?: (string | number)[] | undefined;
|
|
3799
3800
|
message?: string | null | undefined;
|
|
3800
3801
|
size?: {
|
|
3801
3802
|
min?: number | undefined;
|
|
3802
3803
|
max?: number | undefined;
|
|
3803
3804
|
} | undefined;
|
|
3804
3805
|
linkContentType?: string[] | undefined;
|
|
3805
|
-
in?: (string | number)[] | undefined;
|
|
3806
3806
|
linkMimetypeGroup?: string[] | undefined;
|
|
3807
3807
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3808
3808
|
enabledMarks?: string[] | undefined;
|
|
@@ -3864,13 +3864,13 @@ declare class ContentfulMcpTools {
|
|
|
3864
3864
|
} | undefined;
|
|
3865
3865
|
linkType?: string | undefined;
|
|
3866
3866
|
validations?: {
|
|
3867
|
+
in?: (string | number)[] | undefined;
|
|
3867
3868
|
message?: string | null | undefined;
|
|
3868
3869
|
size?: {
|
|
3869
3870
|
min?: number | undefined;
|
|
3870
3871
|
max?: number | undefined;
|
|
3871
3872
|
} | undefined;
|
|
3872
3873
|
linkContentType?: string[] | undefined;
|
|
3873
|
-
in?: (string | number)[] | undefined;
|
|
3874
3874
|
linkMimetypeGroup?: string[] | undefined;
|
|
3875
3875
|
enabledNodeTypes?: (_contentful_rich_text_types.BLOCKS | _contentful_rich_text_types.INLINES)[] | undefined;
|
|
3876
3876
|
enabledMarks?: string[] | undefined;
|
|
@@ -4302,16 +4302,16 @@ declare class ContentfulMcpTools {
|
|
|
4302
4302
|
contentTypeId: zod.ZodString;
|
|
4303
4303
|
fields: zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodObject<{
|
|
4304
4304
|
nodeType: zod.ZodLiteral<_contentful_rich_text_types.BLOCKS.DOCUMENT>;
|
|
4305
|
-
data: zod.
|
|
4305
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
4306
4306
|
content: zod.ZodArray<zod.ZodType<unknown, zod.ZodTypeDef, unknown>, "many">;
|
|
4307
4307
|
}, "strip", zod.ZodTypeAny, {
|
|
4308
|
-
data: Record<string, any>;
|
|
4309
4308
|
content: unknown[];
|
|
4309
|
+
data: Record<string, any>;
|
|
4310
4310
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4311
4311
|
}, {
|
|
4312
4312
|
content: unknown[];
|
|
4313
|
+
data: Record<string, any>;
|
|
4313
4314
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4314
|
-
data?: Record<string, any> | undefined;
|
|
4315
4315
|
}>, zod.ZodObject<{
|
|
4316
4316
|
sys: zod.ZodObject<{
|
|
4317
4317
|
type: zod.ZodLiteral<"Link">;
|
|
@@ -4523,8 +4523,8 @@ declare class ContentfulMcpTools {
|
|
|
4523
4523
|
spaceId: string;
|
|
4524
4524
|
environmentId: string;
|
|
4525
4525
|
fields: Record<string, Record<string, string | number | boolean | string[] | Record<string, any> | {
|
|
4526
|
-
data: Record<string, any>;
|
|
4527
4526
|
content: unknown[];
|
|
4527
|
+
data: Record<string, any>;
|
|
4528
4528
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4529
4529
|
} | {
|
|
4530
4530
|
sys: {
|
|
@@ -4602,16 +4602,16 @@ declare class ContentfulMcpTools {
|
|
|
4602
4602
|
entryId: zod.ZodString;
|
|
4603
4603
|
fields: zod.ZodRecord<zod.ZodString, zod.ZodRecord<zod.ZodString, zod.ZodUnion<[zod.ZodString, zod.ZodNumber, zod.ZodBoolean, zod.ZodObject<{
|
|
4604
4604
|
nodeType: zod.ZodLiteral<_contentful_rich_text_types.BLOCKS.DOCUMENT>;
|
|
4605
|
-
data: zod.
|
|
4605
|
+
data: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
4606
4606
|
content: zod.ZodArray<zod.ZodType<unknown, zod.ZodTypeDef, unknown>, "many">;
|
|
4607
4607
|
}, "strip", zod.ZodTypeAny, {
|
|
4608
|
-
data: Record<string, any>;
|
|
4609
4608
|
content: unknown[];
|
|
4609
|
+
data: Record<string, any>;
|
|
4610
4610
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4611
4611
|
}, {
|
|
4612
4612
|
content: unknown[];
|
|
4613
|
+
data: Record<string, any>;
|
|
4613
4614
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4614
|
-
data?: Record<string, any> | undefined;
|
|
4615
4615
|
}>, zod.ZodObject<{
|
|
4616
4616
|
sys: zod.ZodObject<{
|
|
4617
4617
|
type: zod.ZodLiteral<"Link">;
|
|
@@ -4823,8 +4823,8 @@ declare class ContentfulMcpTools {
|
|
|
4823
4823
|
spaceId: string;
|
|
4824
4824
|
environmentId: string;
|
|
4825
4825
|
fields: Record<string, Record<string, string | number | boolean | string[] | Record<string, any> | {
|
|
4826
|
-
data: Record<string, any>;
|
|
4827
4826
|
content: unknown[];
|
|
4827
|
+
data: Record<string, any>;
|
|
4828
4828
|
nodeType: _contentful_rich_text_types.BLOCKS.DOCUMENT;
|
|
4829
4829
|
} | {
|
|
4830
4830
|
sys: {
|
|
@@ -5000,9 +5000,9 @@ declare class ContentfulMcpTools {
|
|
|
5000
5000
|
openWorldHint: boolean;
|
|
5001
5001
|
};
|
|
5002
5002
|
tool: (params: {
|
|
5003
|
+
name: string;
|
|
5003
5004
|
spaceId: string;
|
|
5004
5005
|
environmentId: string;
|
|
5005
|
-
name: string;
|
|
5006
5006
|
sourceEnvironmentId?: string | undefined;
|
|
5007
5007
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5008
5008
|
};
|
|
@@ -5096,15 +5096,15 @@ declare class ContentfulMcpTools {
|
|
|
5096
5096
|
openWorldHint: boolean;
|
|
5097
5097
|
};
|
|
5098
5098
|
tool: (params: {
|
|
5099
|
-
|
|
5099
|
+
default: boolean;
|
|
5100
|
+
optional: boolean;
|
|
5101
|
+
name: string;
|
|
5100
5102
|
spaceId: string;
|
|
5101
5103
|
environmentId: string;
|
|
5102
|
-
|
|
5104
|
+
code: string;
|
|
5103
5105
|
fallbackCode: string | null;
|
|
5104
5106
|
contentDeliveryApi: boolean;
|
|
5105
5107
|
contentManagementApi: boolean;
|
|
5106
|
-
default: boolean;
|
|
5107
|
-
optional: boolean;
|
|
5108
5108
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5109
5109
|
};
|
|
5110
5110
|
listLocales: {
|
|
@@ -5150,19 +5150,19 @@ declare class ContentfulMcpTools {
|
|
|
5150
5150
|
contentManagementApi: zod.ZodOptional<zod.ZodBoolean>;
|
|
5151
5151
|
optional: zod.ZodOptional<zod.ZodBoolean>;
|
|
5152
5152
|
}, "strip", zod.ZodTypeAny, {
|
|
5153
|
-
|
|
5153
|
+
optional?: boolean | undefined;
|
|
5154
5154
|
name?: string | undefined;
|
|
5155
|
+
code?: string | undefined;
|
|
5155
5156
|
fallbackCode?: string | undefined;
|
|
5156
5157
|
contentDeliveryApi?: boolean | undefined;
|
|
5157
5158
|
contentManagementApi?: boolean | undefined;
|
|
5158
|
-
optional?: boolean | undefined;
|
|
5159
5159
|
}, {
|
|
5160
|
-
|
|
5160
|
+
optional?: boolean | undefined;
|
|
5161
5161
|
name?: string | undefined;
|
|
5162
|
+
code?: string | undefined;
|
|
5162
5163
|
fallbackCode?: string | undefined;
|
|
5163
5164
|
contentDeliveryApi?: boolean | undefined;
|
|
5164
5165
|
contentManagementApi?: boolean | undefined;
|
|
5165
|
-
optional?: boolean | undefined;
|
|
5166
5166
|
}>;
|
|
5167
5167
|
};
|
|
5168
5168
|
annotations: {
|
|
@@ -5175,12 +5175,12 @@ declare class ContentfulMcpTools {
|
|
|
5175
5175
|
spaceId: string;
|
|
5176
5176
|
environmentId: string;
|
|
5177
5177
|
fields: {
|
|
5178
|
-
|
|
5178
|
+
optional?: boolean | undefined;
|
|
5179
5179
|
name?: string | undefined;
|
|
5180
|
+
code?: string | undefined;
|
|
5180
5181
|
fallbackCode?: string | undefined;
|
|
5181
5182
|
contentDeliveryApi?: boolean | undefined;
|
|
5182
5183
|
contentManagementApi?: boolean | undefined;
|
|
5183
|
-
optional?: boolean | undefined;
|
|
5184
5184
|
};
|
|
5185
5185
|
localeId: string;
|
|
5186
5186
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
@@ -5332,10 +5332,10 @@ declare class ContentfulMcpTools {
|
|
|
5332
5332
|
openWorldHint: boolean;
|
|
5333
5333
|
};
|
|
5334
5334
|
tool: (params: {
|
|
5335
|
+
name: string;
|
|
5335
5336
|
spaceId: string;
|
|
5336
5337
|
environmentId: string;
|
|
5337
5338
|
id: string;
|
|
5338
|
-
name: string;
|
|
5339
5339
|
visibility: "private" | "public";
|
|
5340
5340
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5341
5341
|
};
|
|
@@ -5580,8 +5580,8 @@ declare class ContentfulMcpTools {
|
|
|
5580
5580
|
openWorldHint: boolean;
|
|
5581
5581
|
};
|
|
5582
5582
|
tool: (params: {
|
|
5583
|
-
organizationId: string;
|
|
5584
5583
|
version: number;
|
|
5584
|
+
organizationId: string;
|
|
5585
5585
|
conceptId: string;
|
|
5586
5586
|
uri?: string | null | undefined;
|
|
5587
5587
|
prefLabel?: Record<string, string> | undefined;
|
|
@@ -5625,8 +5625,8 @@ declare class ContentfulMcpTools {
|
|
|
5625
5625
|
openWorldHint: boolean;
|
|
5626
5626
|
};
|
|
5627
5627
|
tool: (params: {
|
|
5628
|
-
organizationId: string;
|
|
5629
5628
|
version: number;
|
|
5629
|
+
organizationId: string;
|
|
5630
5630
|
conceptId: string;
|
|
5631
5631
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5632
5632
|
};
|
|
@@ -5789,8 +5789,8 @@ declare class ContentfulMcpTools {
|
|
|
5789
5789
|
openWorldHint: boolean;
|
|
5790
5790
|
};
|
|
5791
5791
|
tool: (params: {
|
|
5792
|
-
organizationId: string;
|
|
5793
5792
|
version: number;
|
|
5793
|
+
organizationId: string;
|
|
5794
5794
|
conceptSchemeId: string;
|
|
5795
5795
|
uri?: string | null | undefined;
|
|
5796
5796
|
prefLabel?: Record<string, string> | undefined;
|
|
@@ -5825,8 +5825,8 @@ declare class ContentfulMcpTools {
|
|
|
5825
5825
|
openWorldHint: boolean;
|
|
5826
5826
|
};
|
|
5827
5827
|
tool: (params: {
|
|
5828
|
-
organizationId: string;
|
|
5829
5828
|
version: number;
|
|
5829
|
+
organizationId: string;
|
|
5830
5830
|
conceptSchemeId: string;
|
|
5831
5831
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
5832
5832
|
};
|
|
@@ -5915,6 +5915,7 @@ declare class ContentfulMcpTools {
|
|
|
5915
5915
|
useVerboseRenderer: zod.ZodOptional<zod.ZodBoolean>;
|
|
5916
5916
|
config: zod.ZodOptional<zod.ZodString>;
|
|
5917
5917
|
}, "strip", zod.ZodTypeAny, {
|
|
5918
|
+
config?: string | undefined;
|
|
5918
5919
|
spaceId?: string | undefined;
|
|
5919
5920
|
environmentId?: string | undefined;
|
|
5920
5921
|
host?: string | undefined;
|
|
@@ -5956,8 +5957,8 @@ declare class ContentfulMcpTools {
|
|
|
5956
5957
|
rawProxy?: boolean | undefined;
|
|
5957
5958
|
errorLogFile?: string | undefined;
|
|
5958
5959
|
useVerboseRenderer?: boolean | undefined;
|
|
5959
|
-
config?: string | undefined;
|
|
5960
5960
|
}, {
|
|
5961
|
+
config?: string | undefined;
|
|
5961
5962
|
spaceId?: string | undefined;
|
|
5962
5963
|
environmentId?: string | undefined;
|
|
5963
5964
|
host?: string | undefined;
|
|
@@ -5999,7 +6000,6 @@ declare class ContentfulMcpTools {
|
|
|
5999
6000
|
rawProxy?: boolean | undefined;
|
|
6000
6001
|
errorLogFile?: string | undefined;
|
|
6001
6002
|
useVerboseRenderer?: boolean | undefined;
|
|
6002
|
-
config?: string | undefined;
|
|
6003
6003
|
}>>;
|
|
6004
6004
|
import: zod.ZodOptional<zod.ZodObject<{
|
|
6005
6005
|
spaceId: zod.ZodOptional<zod.ZodString>;
|
|
@@ -6025,6 +6025,7 @@ declare class ContentfulMcpTools {
|
|
|
6025
6025
|
useVerboseRenderer: zod.ZodOptional<zod.ZodBoolean>;
|
|
6026
6026
|
config: zod.ZodOptional<zod.ZodString>;
|
|
6027
6027
|
}, "strip", zod.ZodTypeAny, {
|
|
6028
|
+
config?: string | undefined;
|
|
6028
6029
|
content?: Record<string, any> | undefined;
|
|
6029
6030
|
spaceId?: string | undefined;
|
|
6030
6031
|
environmentId?: string | undefined;
|
|
@@ -6038,7 +6039,6 @@ declare class ContentfulMcpTools {
|
|
|
6038
6039
|
rawProxy?: boolean | undefined;
|
|
6039
6040
|
errorLogFile?: string | undefined;
|
|
6040
6041
|
useVerboseRenderer?: boolean | undefined;
|
|
6041
|
-
config?: string | undefined;
|
|
6042
6042
|
contentModelOnly?: boolean | undefined;
|
|
6043
6043
|
skipLocales?: boolean | undefined;
|
|
6044
6044
|
skipContentUpdates?: boolean | undefined;
|
|
@@ -6048,6 +6048,7 @@ declare class ContentfulMcpTools {
|
|
|
6048
6048
|
assetsDirectory?: string | undefined;
|
|
6049
6049
|
rateLimit?: number | undefined;
|
|
6050
6050
|
}, {
|
|
6051
|
+
config?: string | undefined;
|
|
6051
6052
|
content?: Record<string, any> | undefined;
|
|
6052
6053
|
spaceId?: string | undefined;
|
|
6053
6054
|
environmentId?: string | undefined;
|
|
@@ -6061,7 +6062,6 @@ declare class ContentfulMcpTools {
|
|
|
6061
6062
|
rawProxy?: boolean | undefined;
|
|
6062
6063
|
errorLogFile?: string | undefined;
|
|
6063
6064
|
useVerboseRenderer?: boolean | undefined;
|
|
6064
|
-
config?: string | undefined;
|
|
6065
6065
|
contentModelOnly?: boolean | undefined;
|
|
6066
6066
|
skipLocales?: boolean | undefined;
|
|
6067
6067
|
skipContentUpdates?: boolean | undefined;
|
|
@@ -6081,6 +6081,7 @@ declare class ContentfulMcpTools {
|
|
|
6081
6081
|
environmentId: string;
|
|
6082
6082
|
confirmation?: boolean | undefined;
|
|
6083
6083
|
export?: {
|
|
6084
|
+
config?: string | undefined;
|
|
6084
6085
|
spaceId?: string | undefined;
|
|
6085
6086
|
environmentId?: string | undefined;
|
|
6086
6087
|
host?: string | undefined;
|
|
@@ -6122,9 +6123,9 @@ declare class ContentfulMcpTools {
|
|
|
6122
6123
|
rawProxy?: boolean | undefined;
|
|
6123
6124
|
errorLogFile?: string | undefined;
|
|
6124
6125
|
useVerboseRenderer?: boolean | undefined;
|
|
6125
|
-
config?: string | undefined;
|
|
6126
6126
|
} | undefined;
|
|
6127
6127
|
import?: {
|
|
6128
|
+
config?: string | undefined;
|
|
6128
6129
|
content?: Record<string, any> | undefined;
|
|
6129
6130
|
spaceId?: string | undefined;
|
|
6130
6131
|
environmentId?: string | undefined;
|
|
@@ -6138,7 +6139,6 @@ declare class ContentfulMcpTools {
|
|
|
6138
6139
|
rawProxy?: boolean | undefined;
|
|
6139
6140
|
errorLogFile?: string | undefined;
|
|
6140
6141
|
useVerboseRenderer?: boolean | undefined;
|
|
6141
|
-
config?: string | undefined;
|
|
6142
6142
|
contentModelOnly?: boolean | undefined;
|
|
6143
6143
|
skipLocales?: boolean | undefined;
|
|
6144
6144
|
skipContentUpdates?: boolean | undefined;
|
|
@@ -6246,6 +6246,7 @@ declare class ContentfulMcpTools {
|
|
|
6246
6246
|
contentOnly: boolean;
|
|
6247
6247
|
downloadAssets: boolean;
|
|
6248
6248
|
maxAllowedLimit: number;
|
|
6249
|
+
config?: string | undefined;
|
|
6249
6250
|
host?: string | undefined;
|
|
6250
6251
|
proxy?: string | undefined;
|
|
6251
6252
|
headers?: Record<string, string> | undefined;
|
|
@@ -6272,7 +6273,6 @@ declare class ContentfulMcpTools {
|
|
|
6272
6273
|
rawProxy?: boolean | undefined;
|
|
6273
6274
|
errorLogFile?: string | undefined;
|
|
6274
6275
|
useVerboseRenderer?: boolean | undefined;
|
|
6275
|
-
config?: string | undefined;
|
|
6276
6276
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
6277
6277
|
};
|
|
6278
6278
|
importSpace: {
|
|
@@ -6322,6 +6322,7 @@ declare class ContentfulMcpTools {
|
|
|
6322
6322
|
uploadAssets: boolean;
|
|
6323
6323
|
skipAssetUpdates: boolean;
|
|
6324
6324
|
rateLimit: number;
|
|
6325
|
+
config?: string | undefined;
|
|
6325
6326
|
content?: Record<string, any> | undefined;
|
|
6326
6327
|
host?: string | undefined;
|
|
6327
6328
|
proxy?: string | undefined;
|
|
@@ -6330,7 +6331,6 @@ declare class ContentfulMcpTools {
|
|
|
6330
6331
|
rawProxy?: boolean | undefined;
|
|
6331
6332
|
errorLogFile?: string | undefined;
|
|
6332
6333
|
useVerboseRenderer?: boolean | undefined;
|
|
6333
|
-
config?: string | undefined;
|
|
6334
6334
|
assetsDirectory?: string | undefined;
|
|
6335
6335
|
}, extra?: _modelcontextprotocol_sdk_shared_protocol_js.RequestHandlerExtra<_modelcontextprotocol_sdk_types_js.ServerRequest, _modelcontextprotocol_sdk_types_js.ServerNotification>) => Promise<ToolResponse>;
|
|
6336
6336
|
};
|
package/dist/index.js
CHANGED
|
@@ -2237,8 +2237,8 @@ var markSchema = z36.object({
|
|
|
2237
2237
|
var textNodeSchema = z36.object({
|
|
2238
2238
|
nodeType: z36.literal("text"),
|
|
2239
2239
|
value: z36.string(),
|
|
2240
|
-
marks: z36.array(markSchema)
|
|
2241
|
-
data: z36.record(z36.any())
|
|
2240
|
+
marks: z36.array(markSchema),
|
|
2241
|
+
data: z36.record(z36.any())
|
|
2242
2242
|
});
|
|
2243
2243
|
var inlineNodeSchema = z36.lazy(
|
|
2244
2244
|
() => z36.object({
|
|
@@ -2283,7 +2283,7 @@ var topLevelBlockNodeSchema = z36.lazy(
|
|
|
2283
2283
|
);
|
|
2284
2284
|
var richTextDocumentSchema = z36.object({
|
|
2285
2285
|
nodeType: z36.literal(BLOCKS2.DOCUMENT),
|
|
2286
|
-
data: z36.record(z36.any())
|
|
2286
|
+
data: z36.record(z36.any()),
|
|
2287
2287
|
content: z36.array(topLevelBlockNodeSchema)
|
|
2288
2288
|
}).describe("Contentful Rich Text document");
|
|
2289
2289
|
var linkSchema = z36.object({
|
|
@@ -2305,28 +2305,17 @@ var locationSchema = z36.object({
|
|
|
2305
2305
|
lon: z36.number()
|
|
2306
2306
|
});
|
|
2307
2307
|
var fieldValueSchema = z36.union([
|
|
2308
|
-
z36.string(),
|
|
2309
|
-
|
|
2310
|
-
z36.
|
|
2311
|
-
// Integer, Number
|
|
2312
|
-
z36.boolean(),
|
|
2313
|
-
// Boolean
|
|
2308
|
+
z36.string().describe("Symbol, Text, or Date field"),
|
|
2309
|
+
z36.number().describe("Integer or Number field"),
|
|
2310
|
+
z36.boolean().describe("Boolean field"),
|
|
2314
2311
|
richTextDocumentSchema,
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
z36.array(z36.string()),
|
|
2323
|
-
// Array<Symbol>
|
|
2324
|
-
z36.array(linkSchema),
|
|
2325
|
-
// Array<Link>
|
|
2326
|
-
z36.array(resourceLinkSchema),
|
|
2327
|
-
// Array<ResourceLink>
|
|
2328
|
-
z36.record(z36.any())
|
|
2329
|
-
// Object (freeform JSON)
|
|
2312
|
+
linkSchema.describe("Link field (Entry or Asset reference)"),
|
|
2313
|
+
resourceLinkSchema.describe("ResourceLink field"),
|
|
2314
|
+
locationSchema.describe("Location field"),
|
|
2315
|
+
z36.array(z36.string()).describe("Array field of Symbols"),
|
|
2316
|
+
z36.array(linkSchema).describe("Array field of Links"),
|
|
2317
|
+
z36.array(resourceLinkSchema).describe("Array field of ResourceLinks"),
|
|
2318
|
+
z36.record(z36.any()).describe("Object field (freeform JSON, not for RichText)")
|
|
2330
2319
|
]);
|
|
2331
2320
|
var localizedFieldSchema = z36.record(fieldValueSchema);
|
|
2332
2321
|
var entryFieldsSchema = z36.record(localizedFieldSchema).describe(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentful/mcp-tools",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@contentful/rich-text-types": "^16.8.5",
|
|
44
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
44
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
45
45
|
"contentful-export": "^7.21.78",
|
|
46
46
|
"contentful-import": "^9.4.129",
|
|
47
47
|
"contentful-management": "^11.54.3",
|
|
48
|
-
"fast-xml-parser": "^5.
|
|
48
|
+
"fast-xml-parser": "^5.3.8",
|
|
49
49
|
"outdent": "^0.8.0",
|
|
50
50
|
"tsup": "^8.5.0",
|
|
51
51
|
"vitest": "^3.2.4",
|