{"version":3,"file":"debugging.mjs","names":[],"sources":["../../src/types/debugging.ts"],"sourcesContent":["/**\n * An asynchronous event listener\n */\n\nimport algosdk from 'algosdk'\nimport { CompiledTeal } from './app'\n\n/** The directory name for AlgoKit project related files */\nexport const ALGOKIT_DIR = '.algokit'\n\n/** The directory name for debug source files */\nexport const SOURCES_DIR = 'sources'\n\n/** The file extension for TEAL files */\nexport const TEAL_FILE_EXT = '.teal'\n\n/** The file extension for TEAL source map files */\nexport const TEAL_SOURCEMAP_EXT = '.teal.map'\n\n/** The default maximum search depth for file operations */\nexport const DEFAULT_MAX_SEARCH_DEPTH = 10\n\n/**\n * Represents the data for a single TEAL source\n */\nexport interface TealSourceDebugEventData {\n  /** The name of the application */\n  appName: string\n  /** The name of the file */\n  fileName: string\n  /** The compiled TEAL code */\n  compiledTeal: CompiledTeal\n}\n\n/**\n * Represents the data for multiple TEAL sources debug events emitted whenever an app is compiled as part of a deploy in debug mode\n */\nexport interface TealSourcesDebugEventData {\n  /** An array of TEAL source debug event data */\n  sources: TealSourceDebugEventData[]\n}\n\n/**\n * Represents the data for AVM traces debug events emitted whenever a transaction is simulated in debug mode\n */\nexport interface AVMTracesEventData {\n  /** The simulation response from Algod */\n  simulateResponse: algosdk.modelsv2.SimulateResponse\n}\n"],"mappings":";;AAQA,MAAa,cAAc;;AAG3B,MAAa,cAAc;;AAG3B,MAAa,gBAAgB;;AAG7B,MAAa,qBAAqB;;AAGlC,MAAa,2BAA2B"}