import{slash as e}from"../../../../utils/path/slash.js";function s({schemaFiles:n}){return`${n.map((o,t)=>`import * as schema${t} from '${e(o)}';`).join(`
`)}

const FUNCTIONS_PROPERTY_NAME = 'functions';
const TAGS_PROPERTY_NAME = 'tags';

export const schema = {
    ${n.map((o,t)=>`    ...schema${t},`).join(`
`)}
  functions: {
      ${n.map((o,t)=>`    ...schema${t}[FUNCTIONS_PROPERTY_NAME],`).join(`
`)}
  },
  tags: {
      ${n.map((o,t)=>`    ...schema${t}[TAGS_PROPERTY_NAME],`).join(`
`)}
  }
};`}function a({componentsFiles:n}){return`${n.map((o,t)=>`import * as components${t} from '${e(o)}';`).join(`
`)}
export const components = {
${n.map((o,t)=>`  ...components${t},`).join(`
`)}
};`}function m(n){return`
export const serverProps = {
${n.map(([r,o])=>`  "${r}": () => import('${e(o)}'),`).join(`
`)}
};`}function c(n){return`
export const requestHandlers = {
${n.map(([r,o])=>`  "${r}": () => import('${e(o)}'),`).join(`
`)}
};`}function i(n){return`
export const mcpToolHandlers = {
${n.map(([r,o])=>`  "${r}": () => import('${e(o)}'),`).join(`
`)}
};`}function $(n){return`
export const middleware = {
${n.map(({id:r,importPath:o})=>`  "${r}": () => import('${e(o)}'),`).join(`
`)}
};`}export{c as generateApiRequestHandlersEntry,a as generateMarkdocComponentsEntry,s as generateMarkdocSchemasEntry,i as generateMcpToolHandlersEntry,$ as generateMiddlewareEntry,m as generateServerPropsEntry};
