@orlikfy/api-interfaces
v6.1.0
Published
TypeScript interfaces generated from the Orlikfy backend OpenAPI specification.
Readme
@orlikfy/api-interfaces
TypeScript interfaces generated from the Orlikfy backend OpenAPI specification.
Publishing New Version
1. Generate Latest OpenAPI Spec
Run the server locally to ensure the latest openapi.yaml is generated:
cd server
OPENAPI_GEN_ONLY=true npm run start:devNote: This step will be automated in the future.
2. Generate TypeScript Interfaces
From the server/ directory:
npm run api:generateThis generates TypeScript types from openapi.yaml into npm-api-interfaces/src/api.ts.
3. Build
From the npm-api-interfaces/ directory:
npm run build4. Update Version
Update the version in package.json:
npm version patch # or minor/major5. Publish
npm publish