import { crawlComponents } from '../crawler/components';
import { crawlApi } from '../crawler/api';
import { crawlGraphQL } from '../crawler/graphql';
import { crawlHooks } from '../crawler/hooks';
import { crawlTypes } from '../crawler/types';
export function buildProjectModel(rootPath: string) {
return {
components: crawlComponents(rootPath),
apiRoutes: crawlApi(rootPath),
graphqlOps: crawlGraphQL(rootPath),
hooks: crawlHooks(rootPath),
types: crawlTypes(rootPath),
};
}