UNPKG

@iexec/iapp

Version:

A CLI to guide you through the process of building an iExec iApp

54 lines (53 loc) 2.04 kB
export declare const SCONE_TAG: string[]; export declare const DEFAULT_SCONE_VERSION = "v5.9"; export declare const SCONIFY_API_HTTP_URL = "https://iapp-api.iex.ec"; export declare const SCONIFY_API_WS_URL = "wss://iapp-api.iex.ec"; 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_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; }>; export declare const WS_SERVER_HEARTBEAT_INTERVAL = 15000; export declare const WS_RECONNECTION_DELAY = 6000; export declare const WS_RECONNECTION_MAX_ATTEMPTS: number; type ChainConfig = { rpcHostUrl: string; smsDebugUrl: string; ipfsGatewayUrl: string; iexecExplorerUrl: string; workerpoolDebug: string; }; export declare const DEFAULT_CHAIN = "bellecour"; export declare const CHAINS_CONFIGURATIONS: Record<string, ChainConfig>; export declare const SUPPORTED_CHAINS: string[]; export {};