@fumes/types
v0.1.9
Published
A TypeScript library containing shared type definitions and models for the Fumes application ecosystem.
Readme
@fumes/types
A TypeScript library containing shared type definitions and models for the Fumes application ecosystem.
Installation
npm install @fumes/typesUsage
import { User, Booking, Vehicle } from '@fumes/types';
// Use the types in your application
const user: User = {
// ... user properties
};Available Types
This library exports the following types and models:
- User Models: User, Member, Role, Author
- Booking Models: Booking, Fleet, Expense
- Vehicle Models: Vehicle and related types
- Navigation Models: Navigation components and structures
- Form Models: Base form components and validation
- Integration Models: Third-party service integrations
- Dashboard Models: Dashboard-specific types
- Constants: Shared application constants
Angular Compatibility
This library supports Angular versions 17.x through 23.x, ensuring long-term compatibility with future Angular releases.
Development
Building the Library
To build the library:
ng build @fumes/typesPublishing to npm
To publish a new version:
- Update the version in
package.json - Build and publish:
# Using the provided script
./build-and-publish.sh
# Or manually
ng build @fumes/types
cd dist/fumes/types
npm publish --access publicVersion Management
The library follows semantic versioning. When making changes:
- Patch (0.1.x): Bug fixes and minor updates
- Minor (0.x.0): New features that are backward compatible
- Major (x.0.0): Breaking changes
License
This library is part of the Fumes application ecosystem.
