From 26f9341336b5433fcff0b9672f21057b22934bc5 Mon Sep 17 00:00:00 2001 From: instamenta Date: Wed, 11 Dec 2024 16:01:14 +0200 Subject: [PATCH] cleanup Signed-off-by: instamenta --- src/commands/network.ts | 2 +- src/commands/node/tasks.ts | 1 + src/core/helpers.ts | 1 + src/types/aliases.ts | 2 ++ 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/commands/network.ts b/src/commands/network.ts index 70c399b3a..ffcdd2e49 100644 --- a/src/commands/network.ts +++ b/src/commands/network.ts @@ -141,9 +141,9 @@ export class NetworkCommand extends BaseCommand { releaseTag?: string; persistentVolumeClaims?: string; valuesFile?: string; - genesisNetworkJson?: string; haproxyIpsParsed?: Record; envoyIpsParsed?: Record; + genesisNetworkJson?: string; } = {}, ) { let valuesArg = config.chartDirectory diff --git a/src/commands/node/tasks.ts b/src/commands/node/tasks.ts index 9b5292b93..f89947f65 100644 --- a/src/commands/node/tasks.ts +++ b/src/commands/node/tasks.ts @@ -457,6 +457,7 @@ export class NodeCommandTasks { */ _generateGossipKeys(generateMultiple: boolean) { const self = this; + return new Task( 'Generate gossip keys', (ctx: any, task: ListrTaskWrapper) => { diff --git a/src/core/helpers.ts b/src/core/helpers.ts index 85025fbb2..8fe84afa8 100644 --- a/src/core/helpers.ts +++ b/src/core/helpers.ts @@ -28,6 +28,7 @@ import {type NodeAlias, type NodeAliases} from '../types/aliases.js'; import {type CommandFlag} from '../types/flag_types.js'; import {type SoloLogger} from './logging.js'; import {type Duration} from './time/duration.js'; +import {NodeAddConfigClass} from '../commands/node/configs.js'; export function sleep(duration: Duration) { return new Promise(resolve => { diff --git a/src/types/aliases.ts b/src/types/aliases.ts index 3e035c731..e892f36cb 100644 --- a/src/types/aliases.ts +++ b/src/types/aliases.ts @@ -39,4 +39,6 @@ export type TaskFunction = ( export type ConfigBuilder = (argv, ctx, task) => Promise; +export type Nullable = T | null; + export type IP = string;