import type { Entity } from '../../../entity/index.js'; import type { Paths } from '../../../schema/index.js'; export interface FormatItemOptions { transform?: boolean; attributes?: Paths[]; partial?: boolean; } export interface InferReadItemOptions> { attributes: OPTIONS extends { attributes: string[]; } ? OPTIONS['attributes'][number] : undefined; partial: OPTIONS extends { partial: boolean; } ? OPTIONS['partial'] : undefined; }