Files
ISA-Frontend/libs/checkout/data-access/src/lib/schemas/contributor-helper.schema.ts
Lorenz Hilpert 2b5da00249 feat(checkout): add reward order confirmation feature with schema migrations
- 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
2025-10-21 14:28:52 +02:00

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>;