Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(docs): revert to original typescript with @noErrors

Sushmithamallesh2525b987f7e1
diff --git a/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx b/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
index 44dca28f9..5f10cc174 100644
--- a/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
+++ b/docs/content/changelog/01-20-26-file-modifier-anyof-support.mdx
@@ -27,56 +27,52 @@ We recommend updating to version `0.5.3` (TypeScript) or `0.10.8` (Python) or la
File properties inside `anyOf`, `oneOf`, or `allOf` were not detected:
-```json
-{
- "inputParameters": {
- "type": "object",
- "properties": {
- "fileInput": {
- "anyOf": [
- {
- "type": "string",
- "file_uploadable": true
- },
- {
- "type": "null"
- }
- ]
- }
+```typescript
+// @noErrors
+// This schema's file_uploadable was NOT being processed
+inputParameters: {
+ type: 'object',
+ properties: {
+ fileInput: {
+ anyOf: [
+ {
+ type: 'string',
+ file_uploadable: true // ❌ Not detected
+ },
+ {
+ type: 'null'
+ }
+ ]
}
}
}
```
-This schema's `file_uploadable` was **not** being processed.
-
### After (Fixed)
File properties are now correctly detected and processed at any nesting level:
-```json
-{
- "inputParameters": {
- "type": "object",
- "properties": {
- "fileInput": {
- "anyOf": [
- {
- "type": "string",
- "file_uploadable": true
- },
- {
- "type": "null"
- }
- ]
- }
+```typescript
+// @noErrors
+// Now properly detected and transformed
+inputParameters: {
+ type: 'object',
+ properties: {
+ fileInput: {
+ anyOf: [
+ {
+ type: 'string',
+ file_uploadable: true // ✅ Detected and processed
+ },
+ {
+ type: 'null'
+ }
+ ]
}
}
}
```
-Now properly detected and processed.
-
## Affected Scenarios
| Scenario | Before | After |