vchikalkin eb5bf5eee6 feat: add subscription_rewards relation to customer and subscription history schemas, and update TypeScript definitions
- Introduced a new 'subscription_rewards' relation in both the customer and subscription history schemas to link them with subscription rewards.
- Updated the 'expiresAt' field in the subscription schema to be required, ensuring better data integrity.
- Adjusted the default value for 'maxOrdersPerMonth' in the subscription setting schema from 30 to 20, and removed unused fields to streamline the model.
- Updated TypeScript definitions to reflect these changes, ensuring type safety and consistency across the application.
2025-09-11 11:36:55 +03:00
..
2024-11-28 23:29:05 +03:00