first commit

This commit is contained in:
2026-10-03 13:40:26 +02:00
parent 732a5b5a16
commit 566f415fa7
555 changed files with 62704 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# web-shared-infrastructure
Cliente GraphQL de la web.
- **Import**: `@task-stream/web/shared/infrastructure`
- **Capa**: `infrastructure` · **Tags**: `scope:web-shared`, `type:infrastructure`
## Contenido
- `provideGraphql()`: Apollo con HTTP para queries/mutations y `graphql-ws` para subscriptions; caché desactivada.
- `AccessTokenSource` (puerto): de dónde sale el token (lo implementa identity).
- `API_CONFIG` / `apiConfigFromLocation()`: la API se sirve en el mismo origen (`/api`, `/graphql`).
## Comandos
```sh
npx nx lint web-shared-infrastructure
```
Reglas de dependencia entre capas: [Arquitectura](../../../../docs/02-arquitectura.md#21-capas-hexagonales).