Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

447 B
Raw Blame
import { FastifyPluginAsyncZod } from 'fastify-type-provider-zod'
import {
    entitiesMustBeOwnedByCurrentProject,
} from '../authentication/authorization'
import { storeEntryController } from './store-entry.controller'

export const storeEntryModule: FastifyPluginAsyncZod = async (app) => {
    app.addHook('preSerialization', entitiesMustBeOwnedByCurrentProject)
    await app.register(storeEntryController, { prefix: '/v1/store-entries' })
}