/** * @packageDocumentation * Routes are used to interact with Models via client side fetch requests and * are intended to be used within a HomeflowNext theme's `app/api/` directory. Routes * should be imported and called from exported api route functions within the project. * * The route functions follow CRUD naming conventions: * * - `index()` * - `show()` * * The routes are packaged together in an object and can be accessed * like so: * * ```ts * // from inside `app/api/properties/route.ts` in a HomeflowNext theme * import routes from './routes'; * * export async function GET(request: Request) { * return routes.properties.index(request); * } * ``` */ export { default as Property } from './api/routes/properties'; export { default as Place } from './api/routes/places'; export { default as Postcode } from './api/routes/postcodes'; //# sourceMappingURL=routes.d.ts.map