gymspace-shared
Version:
Shared types and interfaces for GymSpace
46 lines (35 loc) • 806 B
Markdown
and constants for the GymSpace ecosystem.
```bash
npm install gymspace-shared
yarn add gymspace-shared
pnpm add gymspace-shared
```
```typescript
import {
IUser,
IGym,
Permission,
UserType,
ContractStatus,
PERMISSIONS
} from 'gymspace-shared';
// Use the types in your application
const user: IUser = {
id: '123',
email: 'user@example.com',
type: UserType.Client,
// ...
};
```
- **Types & Interfaces**: Core domain models (User, Gym, Organization, etc.)
- **Enums**: Status types, user types, and other enumerations
- **Constants**: Permission definitions, cache TTLs, and other constants
- **Utilities**: Common type utilities and helpers
## License
MIT © GymSpace Team
Shared types, interfaces,