Skip to content

Function: makeAttributionNode¶

core.makeAttributionNode

â–¸ makeAttributionNode<T>(node): T

A helper for constructing attribution text, links, or images that render along with a Pack value.

Many APIs have licensing requirements that ask for specific attribution to be included when using their data. For example, a stock photo API may require attribution text and a logo.

Any IdentityDefinition can include one or more attribution nodes that will be rendered any time a value with that identity is rendered in a doc.

Type parameters¶

Name Type
T extends AttributionNode

Parameters¶

Name Type
node T

Returns¶

T

Defined in¶

schema.ts:1230