├── types.d.ts ├── read_me_files ├── datatable.gif └── world_domination.gif ├── src ├── context │ └── index.ts ├── Test.tsx ├── components │ ├── TableBody.tsx │ ├── AddItemRow.tsx │ ├── ChipSelected.tsx │ ├── cells │ │ ├── CellSelect.tsx │ │ ├── CellTemplate.tsx │ │ ├── BooleanCell.tsx │ │ ├── Cell.tsx │ │ ├── CellStringEditor.tsx │ │ ├── ChipEditor.tsx │ │ └── CellSelectEditor.tsx │ ├── DataTable.tsx │ ├── TableHeader.tsx │ ├── TableRow.tsx │ ├── BaseHTML.tsx │ ├── Chip.tsx │ └── RowMenu.tsx ├── schema │ └── dataTable.ts ├── database │ └── index.ts └── controllers │ └── tableController.tsx ├── .dockerignore ├── Dockerfile ├── package.json ├── tsconfig.json ├── .gitignore ├── main.tsx ├── README.md ├── uno.config.ts └── public └── dist ├── scripts.js └── unocss.css /types.d.ts: -------------------------------------------------------------------------------- 1 | declare namespace JSX { 2 | interface HtmlTag { 3 | _?:string; 4 | } 5 | } -------------------------------------------------------------------------------- /read_me_files/datatable.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markkitz/notion-htmx/HEAD/read_me_files/datatable.gif -------------------------------------------------------------------------------- /read_me_files/world_domination.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/markkitz/notion-htmx/HEAD/read_me_files/world_domination.gif -------------------------------------------------------------------------------- /src/context/index.ts: -------------------------------------------------------------------------------- 1 | import { Elysia } from "elysia"; 2 | import { db } from "../database"; 3 | 4 | export const ctx = new Elysia({ 5 | name: "@app/ctx", 6 | }) 7 | .decorate("db", db); -------------------------------------------------------------------------------- /src/Test.tsx: -------------------------------------------------------------------------------- 1 | export default function Test() { 2 | return ( 3 |