@zeplin/extension-model
    Preparing search index...

    Class Version

    An interface that represents a Version.

    Index

    Constructors

    Properties

    assets?: Asset[]

    Assets included in the version.

    backgroundColor?: Color

    Background color used in the version.

    componentNames?: string[]

    List of names of the components used in the version.

    Layout grid used in the version

    image?: VersionImage

    Image of the version

    layers?: Layer[]

    List of layers included in the version.

    links?: VersionLink[]

    Links to other screens in the version.

    source?: VersionSource

    Source of the version. Possible values are defined in Version.SOURCES.

    Accessors

    • get ALLOWED_FIELDS(): string[]

      Returns string[]

    Methods

    • Creates a Version instance from a JSON string

      Parameters

      • json: string

        JSON string representing a version

      Returns Version

      A new Version instance