chore: set frontend to a blank state
This commit is contained in:
@@ -13,17 +13,12 @@ To regenerate the TypeScript client after backend API changes:
|
||||
|
||||
1. Start the backend server:
|
||||
```bash
|
||||
cargo run
|
||||
just backend run
|
||||
```
|
||||
|
||||
2. Download the OpenAPI spec:
|
||||
2. Execute the update script:
|
||||
```bash
|
||||
curl http://localhost:3100/specs > openapi.yaml
|
||||
```
|
||||
|
||||
3. Generate TypeScript types:
|
||||
```bash
|
||||
pnpm exec openapi-typescript openapi.yaml -o src/api/schema.ts
|
||||
just frontend sync
|
||||
```
|
||||
|
||||
## Usage Example
|
||||
|
||||
Reference in New Issue
Block a user