SeedCompany / cord-api-v3

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

Expose progressReports GQL query #3288

Closed CarsonF closed 2 weeks ago

CarsonF commented 2 weeks ago

https://seed-company-squad.monday.com/boards/5989610236/pulses/7125526862

github-actions[bot] commented 2 weeks ago

🗞 GraphQL Summary

View schema changes ```diff @@ -4292,8 +4292,18 @@ varianceExplanation: ProgressReportVarianceExplanation! workflowEvents: [ProgressReportWorkflowEvent!]! } +input ProgressReportFilters { + """Filter reports on the end date""" + end: DateFilter + engagement: EngagementFilters + + """Filter reports on the start date""" + start: DateFilter + status: [ProgressReportStatus!] +} + """ An object whose `items` is a list of progress reports and additional authorization information. The value is only given if `canRead` is `true` otherwise it is an empty list. The `can*` properties are specific to the user making the request. @@ -4320,8 +4330,23 @@ """The total number of items across all pages""" total: Int! } +input ProgressReportListInput { + """The number of items to return in a single page""" + count: Int! = 25 + filter: ProgressReportFilters + + """The order in which to sort the list""" + order: Order! = ASC + + """1-indexed page number for offset pagination.""" + page: Int = 1 + + """The field in which to sort on""" + sort: String = "start" +} + type ProgressReportMedia { """Whether the requesting user can delete this resource""" canDelete: Boolean! canEdit: Boolean! @@ -5149,8 +5174,11 @@ """Look up products""" products(input: ProductListInput = {count: 25, order: ASC, page: 1, sort: "createdAt"}): ProductListOutput! + """List of progress reports""" + progressReports(input: ProgressReportListInput = {count: 25, order: ASC, page: 1, sort: "start"}): ProgressReportList! + """Look up a project by its ID""" project(changeset: ID, id: ID!): Project! """Look up a project member by ID""" ```