I'm going to model my data in Prismic. I have a series (about 20) and each series corresponds to one to multiple episodes (800 total). Each series will have a corresponding auto-generated page (via the series slug on the next.js page) to display the series information. It also displays a grid of episodes. How should I model these in terms of custom types, pages, and slices?
I'm thinking of creating custom types for series and episodes to manage their information and relationships. Then, I'll create a repeatable Series page type with a Hero and reusable Episode Carousel slices to render the information. I think I can drive the rendering of the individual series page with uid/slug. However, I have the following questions:
- Assuming that I define the episodes as children of the series type, how do I inject the child episodes into the Episode Carousel slice while allowing the content team to move things around on the series page?
- The same question applies to how to bind the series info into the Hero slice on the series page.