import {Photo} from '@serenity-js/core/lib/model/artifacts'
public class | source

Photo

Extends:

TinyTypeArtifact → Photo

Static Method Summary

Static Public Methods
public static

fromBase64(value: string): *

public static

fromBuffer(value: Buffer | ArrayBuffer): *

Method Summary

Public Methods
public

map(fn: *): *

Inherited Summary

From class Artifact
public static

fromJSON(o: SerialisedArtifact): *

public static

ofType(name: string): ArtifactType | undefined

public

toJSON(): SerialisedArtifact

Static Public Methods

public static fromBase64(value: string): * source

Params:

NameTypeAttributeDescription
value string

Returns:

*

public static fromBuffer(value: Buffer | ArrayBuffer): * source

Params:

NameTypeAttributeDescription
value Buffer | ArrayBuffer

Returns:

*

Public Methods

public map(fn: *): * source

Params:

NameTypeAttributeDescription
fn *

Returns:

*