-
Notifications
You must be signed in to change notification settings - Fork 16
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
Improve Source types #687
Improve Source types #687
Conversation
VictorVelarde
commented
May 24, 2023
- id for Source is mandatory
- credentials: it can be omitted (and provided by setDefaultCredentials in deck.gl/carto)
- sqlParameters: it can be omitted
connection?: string; | ||
credentials: Credentials; | ||
queryParameters: QueryParameters; | ||
connection: string; |
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.
mandatory, but it was missing!
@@ -7,10 +7,9 @@ import { AnyAction, Reducer } from 'redux'; | |||
import { Feature, Polygon, MultiPolygon } from 'geojson'; | |||
|
|||
type Source = SourceProps & { | |||
id: string |
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.
now id is in SourceProps
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.
The rest in file are just formatter changes
Pull Request Test Coverage Report for Build 5081508370
💛 - Coveralls |
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.
LGTM