Skip to content

Conversation

rdonigian
Copy link
Contributor

No description provided.

Copy link

🗞 GraphQL Summary

View schema changes
@@ -21,8 +21,14 @@
 interface Actor {
   id: ID!
 }
 
+type AllianceMembership {
+  alliance: SecuredOrganization!
+  joinedAt: Date!
+  member: SecuredOrganization!
+}
+
 input AssignOrganizationToUser {
   orgId: ID!
   primary: Boolean
   userId: ID!
@@ -364,8 +370,22 @@
   createdAt: DateTime!
   id: ID!
 }
 
+input CreateAllianceMembership {
+  allianceId: ID!
+  joinedAt: Date
+  memberId: ID!
+}
+
+input CreateAllianceMembershipInput {
+  allianceMembership: CreateAllianceMembership!
+}
+
+type CreateAllianceMembershipOutput {
+  allianceMembership: AllianceMembership!
+}
+
 input CreateCommentInput {
   body: RichText!
   resourceId: ID!
   threadId: ID
@@ -728,9 +748,12 @@
 
 input CreateOrganization {
   acronym: String
   address: String
+  allianceMembers: [ID!] = []
+  joinedAlliances: [ID!] = []
   name: String!
+  parentId: ID
   reach: [OrganizationReach!]
   types: [OrganizationType!]
 }
 
@@ -1029,8 +1052,12 @@
   Primary
   Secondary
 }
 
+type DeleteAllianceMembershipOutput {
+  success: Boolean! @deprecated(reason: "This operation will not return if there is a failure.\nCheck the errors instead of using this field.\nIf you need to reference a field in the output use `__typename` instead.\nThis field will go away at any point in time without warning.")
+}
+
 type DeleteCommentOutput {
   success: Boolean! @deprecated(reason: "This operation will not return if there is a failure.\nCheck the errors instead of using this field.\nIf you need to reference a field in the output use `__typename` instead.\nThis field will go away at any point in time without warning.")
 }
 
@@ -3083,8 +3110,11 @@
   changeProgressReportCommunityStoryPrompt(input: ChangePrompt!): PromptVariantResponse!
   changeProgressReportHighlightPrompt(input: ChangePrompt!): PromptVariantResponse!
   changeProgressReportTeamNewsPrompt(input: ChangePrompt!): PromptVariantResponse!
 
+  """Create an alliance membership"""
+  createAllianceMembership(input: CreateAllianceMembershipInput!): CreateAllianceMembershipOutput!
+
   """Create a comment"""
   createComment(input: CreateCommentInput!): CreateCommentOutput!
 
   """Create a derivative scripture product"""
@@ -3172,8 +3202,11 @@
 
   """Create an unavailability"""
   createUnavailability(input: CreateUnavailabilityInput!): CreateUnavailabilityOutput! @deprecated(reason: "This is unfinished functionality, don't use")
 
+  """Delete an alliance membership"""
+  deleteAllianceMembership(id: ID!): DeleteAllianceMembershipOutput!
+
   """Delete a comment"""
   deleteComment(id: ID!): DeleteCommentOutput!
 
   """Delete an education"""
@@ -3506,16 +3539,19 @@
 
 type Organization implements Resource {
   acronym: SecuredStringNullable!
   address: SecuredStringNullable!
+  allianceMembers: SecuredAllianceMemberships!
   avatarLetters: String
 
   """Whether the requesting user can delete this resource"""
   canDelete: Boolean!
   createdAt: DateTime!
   id: ID!
+  joinedAlliances: SecuredAllianceMemberships!
   locations(input: LocationListInput = {count: 25, order: ASC, page: 1, sort: "name"}): SecuredLocationList!
   name: SecuredString!
+  parent: SecuredOrganization!
   reach: SecuredOrganizationReach!
 
   """
   Based on the projects' lowest sensitivity, and defaults to 'High' if no project is connected
@@ -5218,8 +5254,11 @@
   total: Int!
 }
 
 type Query {
+  """Read one field zone by id"""
+  allianceMembership(id: ID!): AllianceMembership!
+
   """Returns a list of available steps for the given constraints."""
   availableProductSteps(methodology: ProductMethodology, type: ProducibleType): [ProductStep!]!
   changeset(id: ID!): Changeset!
 
@@ -5703,8 +5742,19 @@
   value: Actor
 }
 
 """
+An object whose `value` is a list of alliance memberships and has additional authorization information.
+The value is only given if `canRead` is `true` otherwise it is empty: `[]`.
+These `can*` authorization properties are specific to the user making the request.
+"""
+type SecuredAllianceMemberships implements Secured {
+  canEdit: Boolean!
+  canRead: Boolean!
+  value: [AllianceMembership!]!
+}
+
+"""
 An object with a boolean `value` and additional authorization information.
 The value is only given if `canRead` is `true` otherwise it is `null`.
 These `can*` authorization properties are specific to the user making the request.
 """
@@ -7667,10 +7717,13 @@
 
 input UpdateOrganization {
   acronym: String
   address: String
+  allianceMembers: [ID!]
   id: ID!
+  joinedAlliances: [ID!]
   name: String
+  parentId: ID
   reach: [OrganizationReach!]
   types: [OrganizationType!]
 }
 

⚠️ Dangerous Changes

  • An optional field allianceMembers on input type CreateOrganization was added.
  • An optional field joinedAlliances on input type CreateOrganization was added.
  • An optional field parentId on input type CreateOrganization was added.
  • An optional field allianceMembers on input type UpdateOrganization was added.
  • An optional field joinedAlliances on input type UpdateOrganization was added.
  • An optional field parentId on input type UpdateOrganization was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant