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

feat: update import logic #432

Merged
merged 5 commits into from
Jan 28, 2023
Merged

Conversation

hetao92
Copy link
Contributor

@hetao92 hetao92 commented Jan 16, 2023

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number:

Description:

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

@hetao92 hetao92 changed the title feat: update import logic 【WIP】feat: update import logic Jan 16, 2023
@hetao92 hetao92 added the wip Solution: work in progress label Jan 16, 2023
});
};

updateBasicConfig = (key: string, value: any) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

updateConfigItemName = <T extends keyof IBasicConfig>(payload: { [K in T]?: Person[K] }) => {
  ...
}


getGraphAddress = async () => {
const { code, data } = await service.execNGQL({ gql: 'show hosts graph;' });
return code !== 0 ? [] : data.tables.reduce((acc, cur) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

data.tables.reduce<string[]>((acc, cur) => {})

@hetao92 hetao92 removed the wip Solution: work in progress label Jan 28, 2023
@hetao92 hetao92 changed the title 【WIP】feat: update import logic feat: update import logic Jan 28, 2023
@hetao92 hetao92 merged commit e96a308 into vesoft-inc:next-version Jan 28, 2023
@hetao92 hetao92 deleted the next-version branch January 28, 2023 10:48
@hetao92 hetao92 restored the next-version branch January 29, 2023 10:12
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