import type { Project } from '@src/lib/project' import { systemIOMachine } from '@src/machines/systemIO/systemIOMachine' import type { SystemIOContext } from '@src/machines/systemIO/utils' import { SystemIOMachineActors } from '@src/machines/systemIO/utils' import { fromPromise } from 'xstate' export const systemIOMachineWeb = systemIOMachine.provide({ actors: { [SystemIOMachineActors.readFoldersFromProjectDirectory]: fromPromise( async ({ input: context }: { input: SystemIOContext }) => { const projects: Project[] = [] console.log('nothing!') return projects } ), }, })