SeedCompany / cord-api-v3

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

[EdgeDB] Project queries #3137

Closed andrewmurraydavid closed 5 months ago

andrewmurraydavid commented 5 months ago

Monday task

Description

Added Project queries for EdgeDB

Ready for review checklist

Use [N/A] if the item is not applicable to this PR or remove the item

  • [x] Change the task url above to the actual Monday task
  • [N/A] Add/update tests if needed
  • [x] Add reviewers to this PR
github-actions[bot] commented 5 months ago

🗞 GraphQL Summary

View schema changes ```diff @@ -2173,9 +2173,9 @@ engagements(input: EngagementListInput = {count: 25, filter: {}, order: ASC, page: 1, sort: "createdAt"}): SecuredEngagementList! estimatedSubmission: SecuredDateNullable! fieldRegion: SecuredFieldRegion! financialReportPeriod: SecuredReportPeriod! - financialReportReceivedAt: SecuredDateTime! + financialReportReceivedAt: SecuredDateTimeNullable! financialReports(input: PeriodicReportListInput = {count: 25, order: ASC, page: 1, sort: "end"}): SecuredPeriodicReportList! id: ID! initialMouEnd: SecuredDateNullable! @@ -4153,9 +4153,9 @@ engagements(input: EngagementListInput = {count: 25, filter: {}, order: ASC, page: 1, sort: "createdAt"}): SecuredEngagementList! estimatedSubmission: SecuredDateNullable! fieldRegion: SecuredFieldRegion! financialReportPeriod: SecuredReportPeriod! - financialReportReceivedAt: SecuredDateTime! + financialReportReceivedAt: SecuredDateTimeNullable! financialReports(input: PeriodicReportListInput = {count: 25, order: ASC, page: 1, sort: "end"}): SecuredPeriodicReportList! """The object's ID""" id: ID! @@ -4996,8 +4996,14 @@ canRead: Boolean! value: DateTime } +type SecuredDateTimeNullable implements Secured { + canEdit: Boolean! + canRead: Boolean! + value: DateTime +} + """ An object with a degree `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. @@ -6328,9 +6334,9 @@ engagements(input: EngagementListInput = {count: 25, filter: {}, order: ASC, page: 1, sort: "createdAt"}): SecuredEngagementList! estimatedSubmission: SecuredDateNullable! fieldRegion: SecuredFieldRegion! financialReportPeriod: SecuredReportPeriod! - financialReportReceivedAt: SecuredDateTime! + financialReportReceivedAt: SecuredDateTimeNullable! financialReports(input: PeriodicReportListInput = {count: 25, order: ASC, page: 1, sort: "end"}): SecuredPeriodicReportList! id: ID! initialMouEnd: SecuredDateNullable! ```

🚨 Breaking Changes