Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GraphqlModelOptionsShared

This type is meant to be exposed in the "default", shared helper

It adds "never" types to help the user detecting when they do something wrong (trying to define server fields client side)

Hierarchy

Index

Properties

Optional callbacks

callbacks: undefined

This is a server-only field. Please use "createGraphqlModelServer" if you want to create a model server-side

Optional defaultFragmentOptions

defaultFragmentOptions: DefaultFragmentOptions

multiTypeName

multiTypeName: string

Optional mutationResolvers

mutationResolvers: undefined

This is a server-only field. Please use "createGraphqlModelServer" if you want to create a model server-side

Optional queryResolvers

queryResolvers: undefined

This is a server-only field. Please use "createGraphqlModelServer" if you want to create a model server-side

typeName

typeName: string

Generated using TypeDoc