dyne / zenpub

Reflow federated economic network
GNU Affero General Public License v3.0
13 stars 3 forks source link

ProposedIntent to link Intent and Proposal #39

Open mayel opened 4 years ago

mayel commented 4 years ago

Follows from #15 for more fleshed out Intents

Represents many-to-many relationships between Proposals and Intents, supporting including intents in multiple proposals, as well as a proposal including multiple intents.

type ProposedIntent {
  id: ID!

  """
  This is a reciprocal intent of this proposal, not primary. Not meant to be used for intent matching.
  """
  reciprocal: Boolean

  """The intent which is part of this published proposal."""
  publishes: Intent!

  """The published proposal which this intent is part of."""
  publishedIn: Proposal!
}

type ProposedIntentResponse {
  proposedIntent: ProposedIntent
}