Helper to get virtual fields for a manifest.
Exported for use in create-model.ts to ensure type consistency.
Note: Relation field types are added via intersection pattern when defining
the final instance type, not inferred from the manifest. This avoids
circular type errors for bidirectional relations.
Helper to get virtual fields for a manifest. Exported for use in create-model.ts to ensure type consistency.
Note: Relation field types are added via intersection pattern when defining the final instance type, not inferred from the manifest. This avoids circular type errors for bidirectional relations.