MCPcopy Create free account
hub / github.com/bsoc-bitbyte/busify / OrderStore

Interface OrderStore

frontend/src/store/orderStore.tsx:3–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {create} from 'zustand';
2
3interface OrderStore {
4 orderID: string;
5 source: string;
6 destination: string;
7 date: string;
8 scheduleId: string;
9 time: string;
10 ticketQuantity: number;
11 price: number;
12 passengerDetail: PassengerDetail[];
13 addPassenger: (newRoll: string) => void;
14 removePassenger: (emailID: string) => void;
15}
16
17interface PassengerDetail {
18 emailID: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected