mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-06-07 05:57:41 +00:00
11 lines
334 B
TypeScript
11 lines
334 B
TypeScript
import { FastifyInstance } from 'fastify'
|
|
import { getAll, getBySlugUrl } from './read'
|
|
import { updateItem } from './update'
|
|
import { createList } from './create'
|
|
|
|
export default async (app: FastifyInstance) => {
|
|
await app.route(getAll)
|
|
await app.route(getBySlugUrl)
|
|
await app.route(createList)
|
|
await app.route(updateItem)
|
|
}
|