import { defineStore } from 'pinia' import { useWorkflowStoreLogic } from '~/stores/workflow-store' import { receptionService } from '~/services/reception' import type { ReceptionData, ReceptionPayload } from '~/services/dto/reception-data' export const useReceptionStore = defineStore('reception', () => { const { current, isLoading, setCurrent, clearCurrent, load, create, update } = useWorkflowStoreLogic(receptionService) return { current, isLoading, setCurrent, clearCurrent, loadReception: load, createReception: create, updateReception: update } })