Commit 2409c98
feat(asana): expand provider to 101 core REST actions (#215)
## Summary
- expand the Asana provider from its original small action set to 101
core collaboration REST actions across workspaces, users, teams,
projects, sections, tasks, stories/comments, tags, custom
fields/settings, and attachments
- add a shared typed Asana runtime with consistent pagination, error
mapping, request validation, and injected SSRF-guarded egress
- complete advanced project/task search filters, asynchronous duplicate
job responses, date and placement constraints, and official provider
scopes
- support safe external and transit-file attachments with public URL
validation, multipart uploads, encoded filenames, and the 100 MiB limit
- keep provider loading lazy and split definitions/runtime by resource
responsibility
Reference: https://developers.asana.com/reference/rest-api-reference
## Verification
- `npm run fix-check`
- `npx vitest run src/providers/asana/runtime.test.ts` — 259 passed
- `npm test` — 59 files, 825 tests passed
- `npm run build`
- catalog generation — 1129 providers, 12254 actions
- verified 101 unique Asana definitions match 101 executors
- built and smoke-tested the Docker image locally; health passed and the
live catalog exposed all 101 Asana actions
## Notes
- specialized and enterprise-oriented Asana resource families remain out
of scope
- the provider continues to use Personal Access Token authentication;
OAuth-only attachment app linking is intentionally not exposed
---------
Co-authored-by: Kevin Cui <bh@bugs.cc>1 parent 97ca60a commit 2409c98
21 files changed
Lines changed: 8796 additions & 783 deletions
File tree
- src/providers/asana
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
0 commit comments