resolvePublisherImageUrlV2()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
An https image url with its text variables replaced, each value percent-encoded so that it stays one part of the url. A marker without a value stays as typed. Undefined when the result is not an https url.
export declare function resolvePublisherImageUrlV2(url: string, values: Partial<Record<PublisherTextVariableV2, string>>): string | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
url | string | |
values | Partial<Record<PublisherTextVariableV2, string>> |
Returns
string | undefined