Home > @uniformdev/canvas-contentful > AddClientArgs

AddClientArgs interface

Signature:

Properties

PropertyModifiersTypeDescription
clientContentfulClientApiThe Contentful client instance to use when fetching published data
previewClient?ContentfulClientApi(Optional) The Contentful client instance to use when fetching preview data. If the preview client is not passed, it defaults to the client.
source?string(Optional) The Contentful source public ID that this client maps to in the composition data. This is used to enable multiple Contentful spaces/environments as data sources. If unspecified, the client will be the default source that is used when no source public ID is in the data, or the source ID is 'default'.