From 82b6ad68259e9f4b30fc5d60d5830593cdfcc218 Mon Sep 17 00:00:00 2001 From: Enzo Cioppettini <48031343+ecioppettini@users.noreply.github.com> Date: Mon, 6 May 2024 12:38:24 -0300 Subject: [PATCH] paima-utils: export BaseConfigWithoutDefaults --- packages/engine/paima-standalone/src/utils/input.ts | 3 +-- packages/paima-sdk/paima-utils/src/index.ts | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/engine/paima-standalone/src/utils/input.ts b/packages/engine/paima-standalone/src/utils/input.ts index 9a6f16e4..eedb0984 100644 --- a/packages/engine/paima-standalone/src/utils/input.ts +++ b/packages/engine/paima-standalone/src/utils/input.ts @@ -1,6 +1,6 @@ import { FunnelFactory } from '@paima/funnel'; import paimaRuntime, { registerDocs, registerValidationErrorHandler } from '@paima/runtime'; -import { ENV, GlobalConfig, doLog } from '@paima/utils'; +import { ENV, GlobalConfig, doLog, BaseConfigWithoutDefaults } from '@paima/utils'; import { exec } from 'child_process'; import { createInterface } from 'readline'; import { gameSM } from '../sm.js'; @@ -17,7 +17,6 @@ import { import { importOpenApiJson, importTsoaFunction } from './import.js'; import type { Template } from './types.js'; import RegisterRoutes, { EngineService } from '@paima/rest'; -import { BaseConfigWithoutDefaults } from '@paima/utils/src/config/loading.js'; // Prompt user for input in the CLI export const userPrompt = (query: string): Promise => { diff --git a/packages/paima-sdk/paima-utils/src/index.ts b/packages/paima-sdk/paima-utils/src/index.ts index 4b0c7b82..370374d5 100644 --- a/packages/paima-sdk/paima-utils/src/index.ts +++ b/packages/paima-sdk/paima-utils/src/index.ts @@ -15,6 +15,7 @@ import { defaultEvmMainNetworkName, defaultCardanoNetworkName, defaultMinaNetworkName, + BaseConfigWithoutDefaults, } from './config/loading.js'; export * from './config.js'; @@ -41,6 +42,7 @@ export { defaultEvmMainNetworkName, defaultCardanoNetworkName, defaultMinaNetworkName, + BaseConfigWithoutDefaults, }; export const DEFAULT_GAS_PRICE = '61000000000' as const;