OBJECT
Sequence
A contiguous flow of content
link GraphQL Schema definition
- type Sequence {
- # The id of the sequence
- String! :
- # The type of the sequence (main, heading...)
- String! :
- # The number of blocks in the sequence
- Int! :
- # The blocks in the sequence
- #
- # Arguments
- # withScopes: Only return blocks where the list of scopes is open
- # positions: Only return blocks whose zero-indexed position is in
- # the list
- # withBlockScope: Only return blocks with the specified block
- # scope (eg 'blockScope/p'
- # withScriptureCV: Only return blocks that contain items within
- # the specified chapter, verse or chapterVerse range
- # attSpecs: Ordered list of attribute specs whose values must
- # match those in 'attValues'
- # attValues: Ordered list of attribute values, used in
- # conjunction with \'attSpecs\'
- # allAtts: If true, blocks where all attSpecs match will be
- # included
- # withChars: Return blocks containing a token whose payload is an
- # exact match to one of the specified strings
- # withMatchingChars: Return blocks containing a token whose
- # payload matches the specified regexes
- # allChars: If true, blocks where all regexes match will be
- # included
- (
- String!], : [
- Int!], : [
- String, :
- String, :
- AttSpec!]!], : [[
- String!]!], : [[
- Boolean, :
- String!], : [
- String!], : [
- Boolean :
- ): [Block!]!
- # The items for each block in the sequence
- Item!]!] : [[
- # The tokens for each block in the sequence
- Item!]!] : [[
- # The text for each block in the sequence
- #
- # Arguments
- # normalizeSpace: If true, converts each whitespace character to
- # a single space
- Boolean): [String!] ( :
- # The text for the sequence
- #
- # Arguments
- # normalizeSpace: If true, converts each whitespace character to
- # a single space
- Boolean): String! ( :
- # Sequence content grouped by scopes or milestones
- #
- # Arguments
- # byScopes: Produce one itemGroup for every different match of
- # the list of scopes
- # byMilestones: Start a new itemGroup whenever a milestone in the
- # list is encountered
- String!], : [String!]): [ItemGroup!]! ( : [
- # A list of the tags of this sequence
- String!]! : [
- # A list of the tags of this sequence as key/value tuples
- KeyValue!]! : [
- # Whether or not the sequence has the specified tag
- #
- # Arguments
- # tagName: The specified tag
- String!): Boolean! ( :
- # A list of wordLike token strings in a main sequence
- #
- # Arguments
- # coerceCase: Whether to coerce the strings
- # (toLower|toUpper|none)
- String): [String!]! ( :
- # Returns true if a main sequence contains the specified tokens
- #
- # Arguments
- # chars: Token strings to be matched exactly
- # allChars: If true all tokens must match
- String!], : Boolean): Boolean! ( : [
- # Returns true if a main sequence contains a match for specified regexes
- #
- # Arguments
- # chars: Regexes to be matched
- # allChars: If true all regexes must match
- String!], : Boolean): Boolean! ( : [
- }