API layer for sandbox app 434 (three workflows: Order Booking, Store, Daily Reports) — ZinoClient, per-workflow client singletons, config ids, types, and the source API docs. Component library (Tailwind v4 + design tokens): buttons, reusable (Card/Badge/Input/Select/Pagination/Modal/Spinner/EmptyState), generic + wired record views (rv) and detail views (dv). Screens + routing (react-router v7): login gate, auth-guarded console shell with tab nav, and deep-linkable record/detail routes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
18 lines
494 B
TypeScript
18 lines
494 B
TypeScript
import { storeClient } from '../../api/clients';
|
|
import { STORE } from '../../api/config';
|
|
import { DetailView } from './DetailView';
|
|
import type { WiredDetailViewProps } from './OrderDetail';
|
|
|
|
/** Store detail view (Store workflow). */
|
|
export function StoreDetail({ instanceId, columns }: WiredDetailViewProps) {
|
|
return (
|
|
<DetailView
|
|
client={storeClient}
|
|
dvUid={STORE.detailViews.STORE}
|
|
instanceId={instanceId}
|
|
title="Store"
|
|
columns={columns}
|
|
/>
|
|
);
|
|
}
|