SeedCompany / cord-api-v3

Bible translation project management API
MIT License
18 stars 4 forks source link

Project.isMember flag & filter #3263

Closed CarsonF closed 1 week ago

github-actions[bot] commented 1 week ago

🗞 GraphQL Summary

View schema changes ```diff @@ -2245,8 +2245,11 @@ Same as `engagements` field just typed as a list of concrete InternshipEngagements instead of the interface. InternshipProjects will only have InternshipEngagements. """ internshipEngagements(input: EngagementListInput = {count: 25, order: ASC, page: 1, sort: "createdAt"}): SecuredInternshipEngagementList! + + """Is the requesting user a member of this project?""" + isMember: Boolean! marketingLocation: SecuredLocation! marketingRegionOverride: SecuredLocation! modifiedAt: DateTime! mouEnd: SecuredDateNullable! @@ -2748,8 +2751,11 @@ financialReports(input: PeriodicReportListInput = {count: 25, order: ASC, page: 1, sort: "start"}): SecuredPeriodicReportList! id: ID! initialMouEnd: SecuredDateNullable! + """Is the requesting user a member of this project?""" + isMember: Boolean! + """ Same as `engagements` field just typed as a list of concrete LanguageEngagements instead of the interface. TranslationProjects will only have LanguageEngagements. """ @@ -2866,8 +2872,11 @@ financialReports(input: PeriodicReportListInput = {count: 25, order: ASC, page: 1, sort: "start"}): SecuredPeriodicReportList! id: ID! initialMouEnd: SecuredDateNullable! + """Is the requesting user a member of this project?""" + isMember: Boolean! + """ Same as `engagements` field just typed as a list of concrete LanguageEngagements instead of the interface. TranslationProjects will only have LanguageEngagements. """ @@ -4460,8 +4469,11 @@ """The object's ID""" id: ID! initialMouEnd: SecuredDateNullable! + + """Is the requesting user a member of this project?""" + isMember: Boolean! marketingLocation: SecuredLocation! marketingRegionOverride: SecuredLocation! modifiedAt: DateTime! mouEnd: SecuredDateNullable! @@ -4578,8 +4590,11 @@ input ProjectFilters { """Only projects created within this time range""" createdAt: DateTimeFilter + """Only projects that the requesting user is a member of""" + isMember: Boolean + """only mine""" mine: Boolean """Only projects modified within this time range""" @@ -6815,8 +6830,11 @@ """The object's ID""" id: ID! initialMouEnd: SecuredDateNullable! + """Is the requesting user a member of this project?""" + isMember: Boolean! + """ Same as `engagements` field just typed as a list of concrete LanguageEngagements instead of the interface. TranslationProjects will only have LanguageEngagements. """ ```

⚠️ Dangerous Changes