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

[Chore]: Technical: Translate table utils #1742

Merged
merged 11 commits into from
Mar 21, 2022

Conversation

HeimEndyd
Copy link
Collaborator

No description provided.

Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
*/
export function createDataContainer(
data: any[],
options: Partial<DataContainerOptions> = defaultOptions
Copy link
Contributor

Choose a reason for hiding this comment

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

both inputDataFormat and fields are optional, this should just be options: DataContainerOptions

@@ -18,34 +18,44 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

import {DataContainerInterface} from './data-container-interface';

export type SharedRowOptions = DataRow | boolean | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe move to the end of this file, after DataRow is defined?

import {RGBColor} from 'reducers/types';
import {Layer} from 'layers';
import {Filter} from 'reducers/vis-state-updaters';
import {FieldDomain} from 'reducers/vis-state-updaters';
Copy link
Contributor

Choose a reason for hiding this comment

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

merge 2 imports from 'reducers/vis-state-updaters'

Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
Signed-off-by: Maksim Suslov <maksim.suslov@actionengine.com>
@HeimEndyd HeimEndyd merged commit 7a11260 into master Mar 21, 2022
@delete-merged-branch delete-merged-branch bot deleted the ms/js_to_ts_convertion_utils_table_utils branch March 21, 2022 09:04
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