import { FakeEntityBuilder } from '../core/FakeEntityBuilder.js';
/**
 * Factory that returns a typed faker function for a given schema.
 * - requiredKeys must be keys of the schema
 * - excludedFields must be keys of the schema
 * - returned function requires the required keys, all else optional
 */ export function createFakeSchemaFactory(schema, _requiredKeys, excludedFields) {
    const builder = new FakeEntityBuilder(schema);
    return (overrides)=>{
        return builder.build({
            overrides,
            excludedFields: excludedFields ?? []
        });
    };
}

//# sourceMappingURL=schemaFaker.js.map