Fuse.js API Reference
All of Fuse.js is fully typesafe and has TSDoc annotations, so you should be able to rely on your IDE's autocomplete to discover methods most of the time. Since most of the API is based on the previously existing Pothos and urql libraries, GitHub copilot also works well:
- Data layer (
fuse
)- node
- addNodeFields
- t (field builder)
- arg
- boolean
- float
- id
- int
- string
- list
- connection
- expose
- addQueryFields
- addMutationFields
- objectType
- addObjectFields
- inputType
- enumType
- unionType
- interfaceType
- node
- Next.js
- React client components (
@/fuse/client
) - React server components (
@/fuse/server
) - React pages components (
@/fuse/pages
) - API Route (
fuse/next
)- createAPIRouteHandler
- createPagesRouteHandler
- Plugin (
fuse/next/plugin
)- nextFusePlugin
- React client components (