Skip to content

Add App info to ChannelData#644

Merged
MehakBindra merged 1 commit into
mainfrom
mehak-app-info
Jul 16, 2026
Merged

Add App info to ChannelData#644
MehakBindra merged 1 commit into
mainfrom
mehak-app-info

Conversation

@MehakBindra

@MehakBindra MehakBindra commented Jul 14, 2026

Copy link
Copy Markdown
Member

This pull request introduces support for including app-related metadata in channel data models. The main changes involve defining a new AppInfo type and integrating it with the existing ChannelData structure.

App metadata integration:

  • Added a new AppInfo type in app-info.ts to represent app details such as id and optional version.
  • Updated ChannelData in index.ts to include an optional app property of type AppInfo, allowing messages to carry information about the originating app.
  • Imported the new AppInfo type into index.ts for use in the ChannelData type.
  • Re-exported AppInfo from index.ts for easier access throughout the codebase.

Copilot AI review requested due to automatic review settings July 14, 2026 18:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request adds an AppInfo model and wires it into the existing ChannelData type so channel data payloads can optionally include metadata about the originating app.

Changes:

  • Introduced a new AppInfo type (id, optional version) under the channel-data models.
  • Extended ChannelData with an optional app?: AppInfo property.
  • Re-exported AppInfo from the channel-data barrel for easier downstream consumption.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/api/src/models/channel-data/index.ts Adds app?: AppInfo to ChannelData and re-exports the new model.
packages/api/src/models/channel-data/app-info.ts Defines the new AppInfo type used by ChannelData.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MehakBindra MehakBindra changed the title add app info Add App info to ChannelData Jul 14, 2026
@MehakBindra
MehakBindra added this pull request to the merge queue Jul 16, 2026
Merged via the queue into main with commit b3c793f Jul 16, 2026
7 checks passed
@MehakBindra
MehakBindra deleted the mehak-app-info branch July 16, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants