Skip to content

feat: add metadata.json for cloud destinations (213 files)#3775

Draft
varadarajan-tw wants to merge 2 commits into
mainfrom
feat/metadata-payload-cloud
Draft

feat: add metadata.json for cloud destinations (213 files)#3775
varadarajan-tw wants to merge 2 commits into
mainfrom
feat/metadata-payload-cloud

Conversation

@varadarajan-tw
Copy link
Copy Markdown
Contributor

@varadarajan-tw varadarajan-tw commented May 5, 2026

Generated metadata.json files for all 217 cloud destinations.

What

Adds co-located metadata.json to each cloud destination under packages/destination-actions/src/destinations/<name>/metadata.json. These files contain the public schema for each destination including:

  • Authentication: scheme, fields (label, type, required, choices, depends_on, multiple)
  • Actions: title, description, platform, defaultSubscription, hidden, hasPerformBatch, syncMode, hooks, fields
  • Action fields: type, required, multiple, allowNull, dynamic, default, choices, placeholder, nested properties, category, depends_on, readOnly, hidden, minimum, maximum, defaultObjectUI, disabledInputMethods, displayMode, additionalProperties
  • Hooks: label, description, inputFields, outputFields
  • SyncMode: default, label, description, choices
  • AudienceConfig: mode (synced/realtime), audienceFields, supportsAudienceFunctions
  • Presets: name, type, partnerAction, subscribe, mapping, eventSlug

Why

These metadata files enable downstream tooling and services to read destination configuration without importing TypeScript modules. They serve as a stable, language-agnostic contract for the destination's public interface.

Notes

Test plan

  • yarn generate:metadata-payload --mode=cloud produces 217 files
  • Output includes all enhanced fields (hooks, syncMode, audienceConfig, etc.)
  • Files pass prettier formatting

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings May 5, 2026 12:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.04%. Comparing base (218d114) to head (8174388).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3775   +/-   ##
=======================================
  Coverage   81.04%   81.04%           
=======================================
  Files        1352     1352           
  Lines       25472    25472           
  Branches     5326     5325    -1     
=======================================
  Hits        20643    20643           
  Misses       3869     3869           
  Partials      960      960           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 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
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 11, 2026 11:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 11, 2026 12:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 11, 2026 12:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 12, 2026 10:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 12, 2026 10:51
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 12, 2026 11:00
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 12, 2026 13:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings May 12, 2026 13:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@itsarijitray itsarijitray force-pushed the feat/metadata-payload-cloud branch from fb41a88 to 127d635 Compare May 14, 2026 06:45
Copilot AI review requested due to automatic review settings May 14, 2026 06:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Generated using generate:metadata-payload --mode=cloud. Each file contains
the destination's public schema: authentication, actions, fields, presets,
hooks, syncMode, and audienceConfig.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@itsarijitray itsarijitray force-pushed the feat/metadata-payload-cloud branch from 127d635 to dc65677 Compare May 14, 2026 06:50
Regenerated with latest generate:metadata-payload output including
syncMode, hooks, and audienceConfig enhancements.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 14, 2026 08:15
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants