package com.optix.android.domain.repository

import com.optix.android.domain.model.Workflow
import kotlinx.coroutines.flow.Flow

interface WorkflowRepository {
    suspend fun saveWorkflow(workflow: Workflow): Long
    suspend fun getWorkflow(id: Long): Workflow?
    fun getAllWorkflows(): Flow<List<Workflow>>
    suspend fun deleteWorkflow(id: Long)
}
