src/proto/chainscript_pb.js
function LinkMeta(properties) {
                this.refs = [];
                this.tags = [];
                if (properties)
                    for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                        if (properties[keys[i]] != null)
                            this[keys[i]] = properties[keys[i]];
            }
function LinkMeta(properties) {
                this.refs = [];
                this.tags = [];
                if (properties)
                    for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                        if (properties[keys[i]] != null)
                            this[keys[i]] = properties[keys[i]];
            }
function LinkMeta ( properties ) { this . refs = [ ] ; this . tags = [ ] ; if ( properties ) for ( var keys = Object . keys ( properties ) , i = 0 ; i < keys . length ; ++ i ) if ( properties [ keys [ i ] ] != null ) this [ keys [ i ] ] = properties [ keys [ i ] ] ; }
Properties of a LinkMeta.
@memberof stratumn.chainscript
@interface ILinkMeta
@property {string|null} [clientId] LinkMeta clientId
@property {Uint8Array|null} [prevLinkHash] LinkMeta prevLinkHash
@property {number|null} [priority] LinkMeta priority
@property {Array.<stratumn.chainscript.ILinkReference>|null} [refs] LinkMeta refs
@property {number|null} [outDegree] LinkMeta outDegree
@property {stratumn.chainscript.IProcess|null} [process] LinkMeta process
@property {string|null} [mapId] LinkMeta mapId
@property {string|null} [action] LinkMeta action
@property {string|null} [step] LinkMeta step
@property {Array.<string>|null} [tags] LinkMeta tags
@property {Uint8Array|null} [data] LinkMeta data
 
Constructs a new LinkMeta.
@memberof stratumn.chainscript
@classdesc Represents a LinkMeta.
@implements ILinkMeta
@constructor
@param {stratumn.chainscript.ILinkMeta=} [properties] Properties to set
Properties of a LinkMeta .