@tientham/cestbon-shared-common
v1.0.0
Published
Shared types, enums, and constants for CestBon system
Maintainers
Readme
CestBon Shared Module
Shared types, enums, and constants for the CestBon system.
Installation
npm install @cestbon/shared-commonUsage
// Import specific enums
import { PlatformRoleEnum, OrderStatusEnum } from '@cestbon/shared-common/enums';
// Import specific types
import { IUser, ISessionAccount } from '@cestbon/shared-common/types';
// Import constants
import { HTTP_STATUS, DEFAULT_PAGE } from '@cestbon/shared-common/constants';
// Import everything
import { PlatformRoleEnum, IUser, HTTP_STATUS } from '@cestbon/shared-common';Structure
/enums- Shared enumerations/types- TypeScript interfaces and types/constants- Application constants
Development
npm run build # Build the package
npm run dev # Watch mode for development
npm run clean # Clean build files