Skip to content

definition

Ezra Weller edited this page Nov 7, 2019 · 8 revisions

Version: Pre-alpha

Datatype in the Javascript implementation of the Squad SDK. Representation of a Rust enum used in the metastore:

{ 
  Game: {
    name: "STRING",
    type_: "STRING",
    data: "STRING"
  }
}

OR

{
  Component: {
    name: "STRING",
    type_: "STRING",
    data: "STRING"
  }
}

OR

{
  Format: {
    name: "STRING",
    components: array of valid Holochain addresses of 'Component' definitions
  }
}

See the Holochain address type.

Clone this wiki locally