Type Alias DrupalClientOptions

DrupalClientOptions: NextDrupalOptions & {
    serializer?: Serializer;
    useDefaultResourceTypeEntry?: boolean;
}

Type declaration

  • Optionalserializer?: Serializer

    Override the default data serializer. You can use this to add your own JSON:API data deserializer.

    • Default value: jsona
    • Required: No

    Documentation

  • OptionaluseDefaultResourceTypeEntry?: boolean

    By default, the client will make a request to JSON:API to retrieve the endpoint url. You can turn this off and use the default endpoint based on the resource name.

    • Default value: false
    • Required: No

    Documentation