@damourlabs/euro-clinical-trials
Version:
A Nuxt 3 application for visualizing and managing clinical trials data in Europe, built with modern web technologies.
10 lines (8 loc) • 455 B
text/typescript
// ~/composables/useRegulatoryApprovalsStore.ts
import type { RegulatoryApproval } from '~/server/database/schema'
import { RegulatoryApprovalsRepository } from '~/repositories/RegulatoryApprovalsRepository'
const regulatoryApprovalsRepository = new RegulatoryApprovalsRepository()
export const useRegulatoryApprovalsStore = createEntityStore<RegulatoryApproval, RegulatoryApprovalsRepository>(
'regulatoryApproval',
regulatoryApprovalsRepository,
)