-
Notifications
You must be signed in to change notification settings - Fork 39
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
adding context types to get and listen methods #131
adding context types to get and listen methods #131
Conversation
package.json
Outdated
@@ -16,6 +16,7 @@ | |||
"server-sdk.js" | |||
], | |||
"dependencies": { | |||
"monday-ui-react-core": "^2.63.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this SDK is also used by nodejs servers, so we better only get the types from this package and also move this to devDependencies
types/client-context.type.ts
Outdated
@@ -0,0 +1,238 @@ | |||
import { Theme } from "monday-ui-react-core/dist/types/components/ThemeProvider/ThemeProviderConstants"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { Theme } from "monday-ui-react-core/dist/types/components/ThemeProvider/ThemeProviderConstants"; | |
import type { Theme } from "monday-ui-react-core/dist/types/components/ThemeProvider/ThemeProviderConstants"; |
package.json
Outdated
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "monday-sdk-js", | |||
"version": "0.4.12", | |||
"version": "0.4.13", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a big change, let's bump to 0.5.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job 👏
overriding settings type depending on you app settings configured in dev center
LISTEN: Typescript override the context with AppFeature[type]Context
GET: Context type without overriding well show the common context type for all feature types
LISTEN: Context type without overriding well show the common context type for all feature types
GET: javascript overriding context type by passing appFeatureType as an option
GET: javascript list of app feature types to get context type based on