Skip to content
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

fix: added missing properties to the Message type definition #2240

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

gekkedev
Copy link
Contributor

Where I saw null, I assumed there could be other values so I added comments as a reminder to specify this later.
I have not seen labels in any messages, maybe it is already gone instead of just deprecated, so I marked it as optional.

src/api/model/message.ts Outdated Show resolved Hide resolved
src/api/model/message.ts Outdated Show resolved Hide resolved
@gekkedev gekkedev changed the title fix: added missing properties to the Message type definition docs: added missing properties to the Message type definition Jul 19, 2024
@gekkedev gekkedev changed the title docs: added missing properties to the Message type definition fix: added missing properties to the Message type definition Jul 19, 2024
@gekkedev
Copy link
Contributor Author

gekkedev commented Jul 22, 2024

@icleitoncosta could you take a look here as well? I'm getting a lot of TSC errors with a mostly working codebase, i.e.:

 error TS2339: Property 'xyz' does not exist on type 'Message'.

pls check if my commit c90b1bc change to the id attribute seems right to you - I've sometimes (but not always?) been getting objects there that match the structure of the Wid interface.

@icleitoncosta icleitoncosta merged commit a5f2d5e into wppconnect-team:master Aug 5, 2024
5 checks passed
Copy link

Pull Request Summary by devActivity

Metrics

Cycle Time: 40d 7h 57m Coding Time: 1m Pickup Time: 1m Review Time: 40d 7h 54m Comments: 1

Achievements

@gekkedev gekkedev deleted the patch-5 branch September 9, 2024 18:30
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.

2 participants