import { Schema } from '@data-client/endpoint'; import { ExtractCollection } from './extractCollection.js'; export type ExtractObject> = { [K in keyof S]: S[K] extends Schema ? ExtractCollection : never; }[keyof S];