@ptc-org/nestjs-query-graphql
Version:
Nestjs graphql query adapter
12 lines (11 loc) • 421 B
TypeScript
import { Class } from '@ptc-org/nestjs-query-core';
export interface CreateOneInputType<C> {
input: C;
}
/**
* The abstract input type for create one operations.
*
* @param fieldName - The name of the field to be exposed in the graphql schema
* @param InputClass - The InputType to be used.
*/
export declare function CreateOneInputType<C>(fieldName: string, InputClass: Class<C>): Class<CreateOneInputType<C>>;