├── .gitignore ├── README.md ├── app ├── [id] │ ├── loading.tsx │ └── page.tsx ├── error.tsx ├── favicon.ico ├── globals.css ├── layout.tsx ├── loading.tsx └── page.tsx ├── components.json ├── components ├── book-pagination.tsx ├── filters.tsx ├── grid.tsx ├── photo.tsx ├── search.tsx ├── ui │ ├── button.tsx │ ├── checkbox.tsx │ ├── collapsible.tsx │ ├── input.tsx │ ├── label.tsx │ ├── pagination.tsx │ ├── scroll-area.tsx │ ├── select.tsx │ ├── skeleton.tsx │ └── slider.tsx └── welcome-toast.tsx ├── drizzle.config.ts ├── lib ├── ai │ ├── create-embeddings.ts │ └── embeddings.ts ├── db │ ├── authors.json │ ├── books.json │ ├── drizzle.ts │ ├── migrate.ts │ ├── queries.ts │ ├── schema.ts │ ├── seed-authors.ts │ ├── seed-books.ts │ ├── seed-thumbhash.ts │ └── seed-utils.ts ├── url-state.ts ├── use-backpressure.tsx └── utils.ts ├── next.config.ts ├── package.json ├── pnpm-lock.yaml ├── postcss.config.mjs ├── tailwind.config.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/README.md -------------------------------------------------------------------------------- /app/[id]/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/app/[id]/loading.tsx -------------------------------------------------------------------------------- /app/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/app/[id]/page.tsx -------------------------------------------------------------------------------- /app/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/app/error.tsx -------------------------------------------------------------------------------- /app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/app/favicon.ico -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/app/loading.tsx -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/app/page.tsx -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components.json -------------------------------------------------------------------------------- /components/book-pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/book-pagination.tsx -------------------------------------------------------------------------------- /components/filters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/filters.tsx -------------------------------------------------------------------------------- /components/grid.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/grid.tsx -------------------------------------------------------------------------------- /components/photo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/photo.tsx -------------------------------------------------------------------------------- /components/search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/search.tsx -------------------------------------------------------------------------------- /components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/button.tsx -------------------------------------------------------------------------------- /components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /components/ui/collapsible.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/collapsible.tsx -------------------------------------------------------------------------------- /components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/input.tsx -------------------------------------------------------------------------------- /components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/label.tsx -------------------------------------------------------------------------------- /components/ui/pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/pagination.tsx -------------------------------------------------------------------------------- /components/ui/scroll-area.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/scroll-area.tsx -------------------------------------------------------------------------------- /components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/select.tsx -------------------------------------------------------------------------------- /components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /components/ui/slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/ui/slider.tsx -------------------------------------------------------------------------------- /components/welcome-toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/components/welcome-toast.tsx -------------------------------------------------------------------------------- /drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/drizzle.config.ts -------------------------------------------------------------------------------- /lib/ai/create-embeddings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/ai/create-embeddings.ts -------------------------------------------------------------------------------- /lib/ai/embeddings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/ai/embeddings.ts -------------------------------------------------------------------------------- /lib/db/authors.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/authors.json -------------------------------------------------------------------------------- /lib/db/books.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/books.json -------------------------------------------------------------------------------- /lib/db/drizzle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/drizzle.ts -------------------------------------------------------------------------------- /lib/db/migrate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/migrate.ts -------------------------------------------------------------------------------- /lib/db/queries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/queries.ts -------------------------------------------------------------------------------- /lib/db/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/schema.ts -------------------------------------------------------------------------------- /lib/db/seed-authors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/seed-authors.ts -------------------------------------------------------------------------------- /lib/db/seed-books.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/seed-books.ts -------------------------------------------------------------------------------- /lib/db/seed-thumbhash.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/seed-thumbhash.ts -------------------------------------------------------------------------------- /lib/db/seed-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/db/seed-utils.ts -------------------------------------------------------------------------------- /lib/url-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/url-state.ts -------------------------------------------------------------------------------- /lib/use-backpressure.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/use-backpressure.tsx -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/next.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/postcss.config.mjs -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vercel-labs/book-inventory/HEAD/tsconfig.json --------------------------------------------------------------------------------