diff --git a/llms-full.txt b/llms-full.txt index 7094a91..9353f4a 100644 --- a/llms-full.txt +++ b/llms-full.txt @@ -613,9 +613,9 @@ ships next. | | | | --- | --- | -| [**client**](https://github.com/mgpl-diagnostics/client) `frontend` | Headless, typed, zero-dependency SDK. Bring your own UI | +| [**client**](https://github.com/mgpl-diagnostics/client) `frontend` | Headless, typed, zero-dependency SDK for the GraphQL API. Bring your own UI | | [**report-studio**](https://github.com/mgpl-diagnostics/report-studio) `app` | Reference Next.js app: report and invoice designer, result entry | -| **api** `coming soon` | The backend: one GraphQL endpoint on Fastify that combines every kit | +| [**api**](https://github.com/mgpl-diagnostics/api) `backend` | The backend: one GraphQL endpoint on Fastify that combines every kit | | **lab-panel** `coming soon` | Registrations, samples, results, billing and books for every branch | | **auth client** `coming soon` | Sign-in for frontends, with adapters for TanStack Query and others | @@ -641,11 +641,11 @@ flowchart LR DB --> PG[(PostgreSQL)] DB --> R[(Redis)] AUTH --> R - RND -->|"REST, binary only"| PDF["A4 PDF"] + RND --> PDF["A4 PDF / HTML
inside the GraphQL response"] ``` -**GraphQL first.** REST appears only where it has to: PDF downloads, assets, health checks and payment -webhooks. +**One endpoint.** Everything goes through `POST /graphql`, PDFs included (as base64). The only other route +is a health check. ### ⚡ A taste @@ -956,7 +956,7 @@ const only = process.argv.slice(2).filter((a) => !a.startsWith("--")); // Required status checks per repo (job ids in .github/workflows/ci.yml). Repos without CI get none. const CHECKS = { "report-kit": ["ci"], "invoice-kit": ["ci"], client: ["ci"], "report-studio": ["ci"], - "catalog-kit": ["ci"], "db-kit": ["ci"], "auth-kit": ["ci"], "finance-kit": ["ci"], "tally-kit": ["ci"], + "catalog-kit": ["ci"], "db-kit": ["ci"], "auth-kit": ["ci"], "finance-kit": ["ci"], "tally-kit": ["ci"], api: ["ci"], }; const GITHUB_ACTIONS_APP_ID = 15368; diff --git a/profile/README.md b/profile/README.md index 5d88a9d..bb73093 100644 --- a/profile/README.md +++ b/profile/README.md @@ -89,9 +89,9 @@ ships next. | | | | --- | --- | -| [**client**](https://github.com/mgpl-diagnostics/client) `frontend` | Headless, typed, zero-dependency SDK. Bring your own UI | +| [**client**](https://github.com/mgpl-diagnostics/client) `frontend` | Headless, typed, zero-dependency SDK for the GraphQL API. Bring your own UI | | [**report-studio**](https://github.com/mgpl-diagnostics/report-studio) `app` | Reference Next.js app: report and invoice designer, result entry | -| **api** `coming soon` | The backend: one GraphQL endpoint on Fastify that combines every kit | +| [**api**](https://github.com/mgpl-diagnostics/api) `backend` | The backend: one GraphQL endpoint on Fastify that combines every kit | | **lab-panel** `coming soon` | Registrations, samples, results, billing and books for every branch | | **auth client** `coming soon` | Sign-in for frontends, with adapters for TanStack Query and others | @@ -117,11 +117,11 @@ flowchart LR DB --> PG[(PostgreSQL)] DB --> R[(Redis)] AUTH --> R - RND -->|"REST, binary only"| PDF["A4 PDF"] + RND --> PDF["A4 PDF / HTML
inside the GraphQL response"] ``` -**GraphQL first.** REST appears only where it has to: PDF downloads, assets, health checks and payment -webhooks. +**One endpoint.** Everything goes through `POST /graphql`, PDFs included (as base64). The only other route +is a health check. ### ⚡ A taste diff --git a/scripts/protect-repos.mjs b/scripts/protect-repos.mjs index 27e19c6..5c4abd8 100644 --- a/scripts/protect-repos.mjs +++ b/scripts/protect-repos.mjs @@ -27,7 +27,7 @@ const only = process.argv.slice(2).filter((a) => !a.startsWith("--")); // Required status checks per repo (job ids in .github/workflows/ci.yml). Repos without CI get none. const CHECKS = { "report-kit": ["ci"], "invoice-kit": ["ci"], client: ["ci"], "report-studio": ["ci"], - "catalog-kit": ["ci"], "db-kit": ["ci"], "auth-kit": ["ci"], "finance-kit": ["ci"], "tally-kit": ["ci"], + "catalog-kit": ["ci"], "db-kit": ["ci"], "auth-kit": ["ci"], "finance-kit": ["ci"], "tally-kit": ["ci"], api: ["ci"], }; const GITHUB_ACTIONS_APP_ID = 15368;