mondaycom / monday-sdk-js

Node.js and JavaScript SDK for developing over the monday.com platform
https://monday.com
MIT License
87 stars 39 forks source link

fix: api method type #127

Closed theteladras closed 10 months ago

theteladras commented 11 months ago

Description

The goal is to have the type of the api method set as a generic type so that the users can propagate the response type of the executed query.

The changes are done to be backwards compatible, so the generic type is defaulted to any.

In addition add the account_id in the response type, as it is shown to be the case.

image
theteladras commented 11 months ago

Hello there @DorShakedMonday!

I opened this minor PR last week, to improve the response type for the api call. Could you maybe check it out?

theteladras commented 10 months ago

@NadavAvraham Hey there.

Just wanted to check, if this change is looked into or can / should I close it?