@iexec/iapp
Version:
A CLI to guide you through the process of building an iExec iApp
47 lines (46 loc) • 1.68 kB
TypeScript
export declare const CONFIG_FILE = "iapp.config.json";
export declare const TEST_INPUT_DIR = "input";
export declare const TEST_OUTPUT_DIR = "output";
export declare const RUN_OUTPUT_DIR = "output";
export declare const CACHE_DIR = "cache";
export declare const PROTECTED_DATA_MOCK_DIR = "mock/protectedData";
export declare const IEXEC_OUT = "/iexec_out";
export declare const IEXEC_COMPUTED_JSON = "computed.json";
export declare const IEXEC_DETERMINISTIC_OUTPUT_PATH_KEY = "deterministic-output-path";
export declare const IEXEC_TDX_WORKER_HEAP_SIZE: number;
export declare const IEXEC_RESULT_UPLOAD_MAX_SIZE: number;
export declare const TASK_OBSERVATION_TIMEOUT = 180000;
export type TemplateName = 'JavaScript' | 'Python3.13';
/**
* legacy templates name still supported by the API but dropped in the CLI
*/
export declare const LEGACY_TEMPLATE_NAMES: string[];
export declare const TEMPLATES: Record<TemplateName, {
/**
* template title (as displayed in the CLI)
*/
title: string;
/**
* list all files to adapt depending on used features on a given template
*/
sourceFiles: string[];
/**
* main file where builder should start hacking
*/
mainFile: string;
/**
* template proposed by default
*/
default?: boolean;
}>;
type ChainConfig = {
rpcHostUrl: string;
ipfsGatewayUrl: string;
iexecExplorerUrl: string;
tdxWorkerpool: string;
};
export declare const DEFAULT_CHAIN = "arbitrum-sepolia-testnet";
export declare const DEPRECATED_CHAINS: string[];
export declare const CHAINS_CONFIGURATIONS: Record<string, ChainConfig>;
export declare const SUPPORTED_CHAINS: string[];
export {};