Convenience helper to infer instance type from a manifest with additional instance methods.
This is much cleaner than manually calling InferInstance<MergeManifestMethods<...>>. Use this in your manifest file to define the instance type.
The model manifest
Additional instance methods (optional, defaults to no methods)
// In models/manifests/review.tsexport type ReviewInstance = ManifestInstance<typeof reviewManifest, ReviewInstanceMethods>; Copy
// In models/manifests/review.tsexport type ReviewInstance = ManifestInstance<typeof reviewManifest, ReviewInstanceMethods>;
Convenience helper to infer instance type from a manifest with additional instance methods.
This is much cleaner than manually calling InferInstance<MergeManifestMethods<...>>. Use this in your manifest file to define the instance type.