Class: ColonyGraph
Constructors
constructor
• new ColonyGraph(colony
)
Do not instantiate manually. Use the graph
property on a Colony to access this class
Parameters
Name | Type |
---|---|
colony | Colony |
Methods
getTeamsWithMetadata
▸ getTeamsWithMetadata(): Promise
<null
| GraphDomain
[]>
Fetch all teams of a Colony including their Metadata
Deprecated
- will be replaced in v2.0
This queries the Colony graph database for all teams including their metadata. The metadata is fetched from IPFS
Returns
Promise
<null
| GraphDomain
[]>