Skip to content

MarketplaceSourceNpm

Base classes

Name Children Inherits
ClaudeCodeBaseModel
clawd_code_sdk.models.base
Base model for all Claude Code Pydantic models.

⋔ Inheritance diagram

graph TD
  1839600123["settings.MarketplaceSourceNpm"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  2604142835 --> 1839600123
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeCodeBaseModel

Where to fetch the marketplace from.

Source code in src/clawd_code_sdk/models/settings.py
class MarketplaceSourceNpm(ClaudeCodeBaseModel):
    """Where to fetch the marketplace from."""

    model_config = ConfigDict(
        extra="forbid",
    )
    source: Literal["npm"] = "npm"
    """
    Identifies the marketplace source type
    """
    package: str
    """
    NPM package containing marketplace.json
    """

package instance-attribute

package: str

NPM package containing marketplace.json

source class-attribute instance-attribute

source: Literal['npm'] = 'npm'

Identifies the marketplace source type

:fa-brands-github: Show source on GitHub