| 18 | import { narrowEvent } from './xstate_helpers' |
| 19 | |
| 20 | export interface FilesContext { |
| 21 | filesById: Map<string, ReturnType<typeof spawnFile>> |
| 22 | filesByName: Map<string, ReturnType<typeof spawnFile>> |
| 23 | root: string |
| 24 | inputsByName: Map<string, BaseAsset | Script> |
| 25 | excluded: Set<FileType> |
| 26 | lastError?: Error |
| 27 | } |
| 28 | const filesContext: FilesContext = { |
| 29 | filesById: new Map(), |
| 30 | filesByName: new Map(), |
nothing calls this directly
no outgoing calls
no test coverage detected