Options
All
  • Public
  • Public/Protected
  • All
Menu
description

A DTO class that consists of the transferable properties of an account's [remote] activity.

since

v0.3.0

Hierarchy

Index

Constructors

Properties

address: string

The Address of this account on dHealth Network. The account's address typically refers to a human-readable series of 39 characters, starting either with a T, for TESTNET addresses, or with a N, for MAINNET addresses.

example

"NDAPPH6ZGD4D6LBWFLGFZUT2KQ5OLBLU32K3HNY"

access

public

var

{string}

assets: any

This property represents an amount of received assets

This field is not required and not indexed.

example

"swim"

access

public

var

{string}

distance: number

This field represents distance user completed during an activity.

This field is not required and not indexed.

example

"swim"

access

public

var

{string}

elapsedTime: number

This property represents time that user spent on completing activity.

This field is not required and not indexed.

example

"swim"

access

public

var

{string}

elevationGain: number

This property represents an elevation gain

This field is not required and not indexed.

example

"swim"

access

public

var

{string}

provider: string

The OAuth provider name. This is usually the name of the platform of which an account has completed an activity.

This field is required and not indexed.

example

"strava"

access

public

var

{string}

slug: string

The activity slug is composed of the date of the activity, the index of it on a daily basis, the activity identifier and the athlete identifier.

example

"20220910-1-123456"

access

public

var

{number}

sport: string

Activity type field. Gets populated once user completes an activity.

This field is not required and not indexed.

example

"swim"

access

public

var

{string}

Generated using TypeDoc