/** * NOTE: * This module is temporary until the backing-types API is implemented in @nexus/schema * This should be deleted once it's done. */ import * as NexusSchema from '@nexus/schema'; import * as BackingTypes from '../nexus-schema-backing-types'; declare type RootTyping = BackingTypes.GetNexusFutureGen<'types'> | NexusSchema.core.RootTypingImport; export interface NexusObjectTypeConfig extends Exclude, 'rootTyping'> { /** * Root type information for this type. * By default, types are extracted for any .ts file in your project. You can configure that from the `schema.rootTypingsGlobPattern` setting * * @example * * export type MyRootType = { ... } * * schema.objectType({ * name: 'MyObjectType', * rootTyping: 'MyRootType' * }) */ rootTyping?: RootTyping; } export interface NexusInterfaceTypeConfig extends Exclude, 'rootTyping'> { /** * Root type information for this type. * By default, types are extracted for any .ts file in your project. You can configure that from the `schema.rootTypingsGlobPattern` setting * * @example * * export type MyRootType = { ... } * * schema.interfaceType({ * name: 'MyInterfaceType', * rootTyping: 'MyRootType' * }) */ rootTyping?: RootTyping; } export interface NexusUnionTypeConfig extends Exclude, 'rootTyping'> { /** * Root type information for this type. * By default, types are extracted for any .ts file in your project. You can configure that from the `schema.rootTypingsGlobPattern` setting * * @example * * export type MyRootType = { ... } * * schema.unionType({ * name: 'MyUnionType', * rootTyping: 'MyRootType' * }) */ rootTyping?: RootTyping; } export interface NexusEnumTypeConfig extends Exclude, 'rootTyping'> { /** * Root type information for this type. * By default, types are extracted for any .ts file in your project. You can configure that from the `schema.rootTypingsGlobPattern` setting * * @example * * export type MyRootType = { ... } * * schema.enumType({ * name: 'MyEnumType', * rootTyping: 'MyRootType' * }) */ rootTyping?: RootTyping; } export interface NexusScalarTypeConfig extends Exclude, 'rootTyping'> { /** * Root type information for this type. * By default, types are extracted for any .ts file in your project. You can configure that from the `schema.rootTypingsGlobPattern` setting * * @example * * export type MyRootType = { ... } * * schema.scalarType({ * name: 'MyScalarType', * rootTyping: 'MyRootType' * }) */ rootTyping?: RootTyping; } export {}; //# sourceMappingURL=custom-types.d.ts.map