/** Utility type to mark properties which are lazy-loaded by the ORM and might not always be present. */ export type LazyLoaded = Partial; /** Utility which adds a numeric `id` property to a given ORM model (for select statements). */ export type WithId> = T & { id: number; };