Skip to content

Add webhooks capability to insight team capabilities #6842

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 24, 2025

Conversation

jnsdls
Copy link
Member

@jnsdls jnsdls commented Apr 24, 2025

depends on: https://app.graphite.dev/github/pr/thirdweb-dev/api-server/1580/Add-webhooks-capability-to-team-plan-configurations

Added webhooks boolean field to the insight capability in the TeamCapabilities type. Also created a changeset to document this addition.


PR-Codex overview

This PR introduces a new webhooks capability to the service utilities, enhancing the configuration options for both the mocks.ts and api.ts files.

Detailed summary

  • Added webhooks: true to the configuration in packages/service-utils/src/mocks.ts.
  • Updated the packages/service-utils/src/core/api.ts to include webhooks: boolean; in the interface.
  • Documented the addition of webhooks in the changeset file changeset/smooth-ghosts-rhyme.md.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Apr 24, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 5:22pm
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 5:22pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 5:22pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 5:22pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2025 5:22pm

Copy link

changeset-bot bot commented Apr 24, 2025

🦋 Changeset detected

Latest commit: 17828f4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@thirdweb-dev/service-utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jnsdls jnsdls marked this pull request as ready for review April 24, 2025 17:13
@jnsdls jnsdls requested a review from a team as a code owner April 24, 2025 17:13
Copy link
Member Author

jnsdls commented Apr 24, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.30%. Comparing base (1d598ce) to head (17828f4).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6842   +/-   ##
=======================================
  Coverage   55.30%   55.30%           
=======================================
  Files         896      896           
  Lines       57023    57023           
  Branches     3968     3968           
=======================================
  Hits        31536    31536           
  Misses      25390    25390           
  Partials       97       97           
Flag Coverage Δ
packages 55.30% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 51.16 KB (0%) 1.1 s (0%) 197 ms (+179.2% 🔺) 1.3 s
thirdweb (cjs) 143.77 KB (0%) 2.9 s (0%) 308 ms (+65.39% 🔺) 3.2 s
thirdweb (minimal + tree-shaking) 5.66 KB (0%) 114 ms (0%) 44 ms (+570.03% 🔺) 157 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 31 ms (+1338.02% 🔺) 41 ms
thirdweb/react (minimal + tree-shaking) 19.33 KB (0%) 387 ms (0%) 54 ms (+237.52% 🔺) 440 ms

@jnsdls jnsdls merged commit f2d0f11 into main Apr 24, 2025
24 checks passed
@jnsdls jnsdls deleted the Add_webhooks_capability_to_insight_team_capabilities branch April 24, 2025 17:23
@joaquim-verges joaquim-verges mentioned this pull request Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard. packages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant