Function: makeAttributionNode()¶
makeAttributionNode<
T>(node):T
Defined in: schema.ts:1815
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¶
| Type Parameter |
|---|
T extends AttributionNode |
Parameters¶
| Parameter | Type |
|---|---|
node |
T |
Returns¶
T