mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
- Add new reward-order-confirmation feature library with components and store - Implement checkout completion orchestrator service for order finalization - Migrate checkout/oms/crm models to Zod schemas for better type safety - Add order creation facade and display order schemas - Update shopping cart facade with order completion flow - Add comprehensive tests for shopping cart facade - Update routing to include order confirmation page
10 lines
392 B
TypeScript
10 lines
392 B
TypeScript
import { z } from 'zod';
|
|
import { TouchBaseSchema, EntityContainerSchema } from '@isa/common/data-access';
|
|
|
|
export const ContributorHelperSchema = TouchBaseSchema.extend({
|
|
type: z.string().describe('Type').optional(),
|
|
contributor: EntityContainerSchema(z.any()).describe('Contributor information').optional(),
|
|
});
|
|
|
|
export type ContributorHelper = z.infer<typeof ContributorHelperSchema>;
|