threefoldtecharchive / tfchain_explorer

explorer UI for grid 3
https://explorer.dev.grid.tf
2 stars 0 forks source link

Support for new types #232

Open DylanVerstraete opened 2 years ago

DylanVerstraete commented 2 years ago

Grapqhl changelog

Farms

New field: certification is an enum of

enum FarmCertification {
  NotCertified
  Gold
}

Farming Policy is reworked

Contains following fields:

type FarmingPolicy @entity {
  gridVersion: Int!
  farmingPolicyID: Int!
  name: String
  cu: Int
  su: Int
  nu: Int
  ipv4: Int
  minimalUptime: Int
  policyCreated: Int
  policyEnd: Int
  immutable: Boolean
  default: Boolean
  nodeCertification: NodeCertification
  farmCertification: FarmCertification
}

This struct is linked on a Node.

Nodes

Certification table name is renamed

now an enum of:

enum NodeCertification {
  Diy
  Certified
}