@iammrdulal/shared-types
v1.0.0
Published
Shared TypeScript types for Ravintola SaaS platform
Readme
@iammrdulal/shared-types
Shared TypeScript type definitions for the Ravintola SaaS platform.
Structure
src/common.ts— Types shared across all apps (User, Order, Product, Category, etc.)src/admin.ts— Admin dashboard types (Floor, Table, Kot, Shift, Expense, Inventory, etc.)src/public.ts— Customer-facing types for venue-web (VenueInfo, ThemeConfig, WebsiteData, etc.)
Usage
npm install @iammrdulal/shared-types// Import common types
import type { User, Order, Product, ApiResponse } from "@iammrdulal/shared-types";
// Import admin-specific types
import type { Floor, Table, Kot, Shift } from "@iammrdulal/shared-types";
// Import public/venue types
import type { VenueInfo, WebsiteData, ThemeConfig } from "@iammrdulal/shared-types";Development
npm install
npm run buildPublishing
This package can be published to:
- npm (public or private)
- GitHub Packages (recommended for private use)
npm publish --access=restricted