@adcp/sdk API Reference - v7.9.0
    Preparing search index...

    Variable AssetConst

    Asset: {
        image: (
            fields: Omit<ImageAsset, "asset_type">,
        ) => Tagged<ImageAsset, "image">;
        video: (
            fields: Omit<VideoAsset, "asset_type">,
        ) => Tagged<VideoAsset, "video">;
        audio: (
            fields: Omit<AudioAsset, "asset_type">,
        ) => Tagged<AudioAsset, "audio">;
        text: (fields: Omit<TextAsset, "asset_type">) => Tagged<TextAsset, "text">;
        url: (fields: Omit<URLAsset, "asset_type">) => Tagged<URLAsset, "url">;
        html: (fields: Omit<HTMLAsset, "asset_type">) => Tagged<HTMLAsset, "html">;
        javascript: (
            fields: Omit<JavaScriptAsset, "asset_type">,
        ) => Tagged<JavaScriptAsset, "javascript">;
        css: (fields: Omit<CSSAsset, "asset_type">) => Tagged<CSSAsset, "css">;
        markdown: (
            fields: Omit<MarkdownAsset, "asset_type">,
        ) => Tagged<MarkdownAsset, "markdown">;
        webhook: (
            fields: Omit<WebhookAsset, "asset_type">,
        ) => Tagged<WebhookAsset, "webhook">;
    } = ...

    Grouped accessor for every creative-asset builder. Asset.image({...}) reads better in assets-by-role manifests and gives one-dot autocomplete over the whole family. The individual named exports remain the primary entry points.

    Type Declaration