Skip to content

Commit

Permalink
reduce builder surface
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Nov 29, 2023
1 parent 114f550 commit d57fa71
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/core/src/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export type GetContext<

type Builder = Omit<
typeof builder,
| 'loadableInterface'
| 'loadableUnion'
| 'simpleInterface'
| 'objectType'
| 'loadableInterfaceRef'
| 'loadableObjectRef'
Expand All @@ -70,7 +73,6 @@ type Builder = Omit<
| 'objectRef'
| 'scalarType'
| 'interfaceField'
| 'interfaceType'
| 'interfaceRef'
| 'listObject'
| 'node'
Expand All @@ -97,6 +99,7 @@ type Builder = Omit<
| 'relayMutationField'
>
const reducedBuilder: Builder = builder

export { reducedBuilder as builder }
export * from './errors'

Expand Down

0 comments on commit d57fa71

Please sign in to comment.