@mondaydotcomorg/atp-client 0.23.1 → 0.23.3
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.cjs +4 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -18
- package/dist/index.js.map +1 -1
- package/dist/tools/explore-api.d.ts.map +1 -1
- package/dist/tools/explore-api.js +2 -24
- package/dist/tools/explore-api.js.map +1 -1
- package/package.json +3 -3
- package/src/tools/explore-api.ts +3 -37
package/dist/index.js
CHANGED
|
@@ -1421,24 +1421,10 @@ function createExploreApiTool(client) {
|
|
|
1421
1421
|
const results = await Promise.all(pathsToExplore.map(async (path) => {
|
|
1422
1422
|
try {
|
|
1423
1423
|
const result = await client.exploreAPI(path);
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
path: result.path,
|
|
1429
|
-
items: result.items
|
|
1430
|
-
};
|
|
1431
|
-
} else {
|
|
1432
|
-
return {
|
|
1433
|
-
success: true,
|
|
1434
|
-
type: "function",
|
|
1435
|
-
name: result.name,
|
|
1436
|
-
description: result.description,
|
|
1437
|
-
definition: result.definition,
|
|
1438
|
-
group: result.group,
|
|
1439
|
-
path: result.path
|
|
1440
|
-
};
|
|
1441
|
-
}
|
|
1424
|
+
return {
|
|
1425
|
+
success: true,
|
|
1426
|
+
...result
|
|
1427
|
+
};
|
|
1442
1428
|
} catch (error) {
|
|
1443
1429
|
const message = error instanceof Error ? error.message : String(error);
|
|
1444
1430
|
return {
|