SeedCompany / cord-api-v3

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

Expose scripture parsing to GQL query as an adhoc util #3174

Closed CarsonF closed 5 months ago

CarsonF commented 5 months ago

Screenshot 2024-04-17 at 2 15 31 PM

github-actions[bot] commented 5 months ago

🗞 GraphQL Summary

View schema changes ```diff @@ -4822,8 +4822,9 @@ organization(id: ID!): Organization! """Look up organizations""" organizations(input: OrganizationListInput = {count: 25, order: ASC, page: 1, sort: "name"}): OrganizationListOutput! + parseScripture(text: [String!]!): ScriptureCollection! """Look up a partner by its ID""" partner(id: ID!): Partner! @@ -5033,8 +5034,19 @@ Behind OnTime } +type ScriptureCollection { + label: String! + ranges: [ScriptureRange!]! + + """The total number of verse equivalents in this scripture collection""" + totalVerseEquivalents: Float! + + """The total number of verses in this scripture collection""" + totalVerses: Int! +} + """ A range of scripture. i.e. Matthew 1:1-2:10 """ @@ -5060,8 +5072,11 @@ """The starting point""" start: ScriptureReference! + """The total number of verse equivalents in this scripture range""" + totalVerseEquivalents: Float! + """The total number of verses in this scripture range""" totalVerses: Int! } ```