You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to have two different kinds of parts that will be retrieved by endpoints. The first type is a partPreview, which has relevant relations excluding submissions and reviews, which will be used to display parts on the parts tab. The second type is a part, which includes submissions and reviews, and will be used for all information on a parts page. We want query args, a shared type, and a transformer for the part type.
Acceptance Criteria
There is a parts-review.query-args.ts file with query args for part-preview, which returns the model with all relevant information within a part, including submissions and reviews
There is a transformer in parts-review.transformer.ts that converts a prisma model type into the part shared type
there is a shared type in parts-review.types.ts in the shared folder with corresponding interfaces and relevant data
Proposed Solution
Will be very similar to the partPreview additions, but will utilize query args, transformers, and shared types for submissions and reviews.
Mocks
No response
The text was updated successfully, but these errors were encountered:
Description
We need to have two different kinds of parts that will be retrieved by endpoints. The first type is a partPreview, which has relevant relations excluding submissions and reviews, which will be used to display parts on the parts tab. The second type is a part, which includes submissions and reviews, and will be used for all information on a parts page. We want query args, a shared type, and a transformer for the part type.
Acceptance Criteria
Proposed Solution
Will be very similar to the partPreview additions, but will utilize query args, transformers, and shared types for submissions and reviews.
Mocks
No response
The text was updated successfully, but these errors were encountered: