@coasys/ad4m / Exports / PerspectiveExpression
Class: PerspectiveExpression
The fields every expression carries, with DataType as its data.
Hierarchy
-
ExpressionShape<Perspective,ExpressionProof>↳
PerspectiveExpression
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• Abstract new PerspectiveExpression(author?, timestamp?, data?, proof?)
Parameters
| Name | Type |
|---|---|
author? | string |
timestamp? | string |
data? | Perspective |
proof? | ExpressionProof |
Inherited from
ExpressionGeneric(Perspective).constructor
Defined in
core/src/expression/Expression.ts:32 (opens in a new tab)
Properties
author
• author: string
Inherited from
ExpressionGeneric(Perspective).author
Defined in
core/src/expression/Expression.ts:26 (opens in a new tab)
data
• data: Perspective
Inherited from
ExpressionGeneric(Perspective).data
Defined in
core/src/expression/Expression.ts:28 (opens in a new tab)
proof
• proof: ExpressionProof
Inherited from
ExpressionGeneric(Perspective).proof
Defined in
core/src/expression/Expression.ts:29 (opens in a new tab)
timestamp
• timestamp: string
Inherited from
ExpressionGeneric(Perspective).timestamp
Defined in
core/src/expression/Expression.ts:27 (opens in a new tab)
Methods
fromWire
▸ Static fromWire(wire): PerspectiveExpression
Parameters
| Name | Type |
|---|---|
wire | PerspectiveExpression |
Returns
Defined in
core/src/perspectives/Perspective.ts:120 (opens in a new tab)