import { createAsyncThunk } from '@reduxjs/toolkit'; import { sleep } from '../../../utils/async'; import type { InsurancePlan } from '../types'; import { seedInsurancePlanCatalog } from '../services/insuranceApi'; export const seedInsurancePlans = createAsyncThunk( 'insurance/seedPlans', async () => { await sleep(140); return seedInsurancePlanCatalog(); }, );