diff --git a/src/graphql/helpers.ts b/src/graphql/helpers.ts index 96b2c73d..a31cd889 100644 --- a/src/graphql/helpers.ts +++ b/src/graphql/helpers.ts @@ -111,6 +111,7 @@ export function formatSpace({ } space.validation = space.validation || { name: 'any', params: {} }; space.treasuries = space.treasuries || []; + space.labels = space.labels || []; space.verified = verified ?? null; space.flagged = flagged ?? null; diff --git a/src/graphql/schema.gql b/src/graphql/schema.gql index 6453f31a..66a36d03 100644 --- a/src/graphql/schema.gql +++ b/src/graphql/schema.gql @@ -413,6 +413,7 @@ type Space { voteValidation: Validation delegationPortal: DelegationPortal treasuries: [Treasury] + labels: [Label] activeProposals: Int proposalsCount: Int proposalsCount1d: Int @@ -614,6 +615,13 @@ type Treasury { network: String } +type Label { + id: String + name: String + description: String + color: String +} + type BoostSettings { enabled: Boolean bribeEnabled: Boolean