OBJECT
Block
Part of a sequence, roughly equivalent to a USFM paragraph
link GraphQL Schema definition
- type Block {
- # The length in bytes of the succinct representation of c (block items)
- Int! :
- # The length in bytes of the succinct representation of bg (block grafts)
- Int! :
- # The length in bytes of the succinct representation of os (open scopes)
- Int! :
- # The length in bytes of the succinct representation of is (included scopes)
- Int! :
- # The length in bytes of the succinct representation of nt (nextToken at the start
- # of the block)
- Int! :
- # The number of items in the succinct representation of c (block items)
- Int! :
- # The number of items in the succinct representation of bg (block grafts)
- Int! :
- # The number of items in the succinct representation of os (open scopes)
- Int! :
- # The number of items in the succinct representation of is (included scopes)
- Int! :
- # A list of included scopes for this block
- Item!]! : [
- # A list of open scopes for this block
- Item!]! : [
- # The block scope for this block
- Item! :
- # A list of block grafts for this block
- Item!]! : [
- # The value of nextToken at the start of this block
- Int! :
- # A list of items from the c (content) field of the block
- #
- # Arguments
- # withScopes: Only return items that are within specific scopes
- # anyScope: If true, withScopes filtering matches items within at
- # least one of the specified scopes
- # withScriptureCV: Only return items that are within a
- # chapterVerse range (ch or ch:v or ch:v-v or ch:v-ch:v)
- # includeContext: If true, adds scope and nextToken information
- # to each token
- (
- String!], : [
- Boolean, :
- String, :
- Boolean :
- ): [Item!]!
- # A list of tokens from the c (content) field of the block
- #
- # Arguments
- # withScopes: Only return tokens that are within specific scopes
- # anyScope: If true, withScopes filtering matches tokens within
- # at least one of the specified scopes
- # withScriptureCV: Only return tokens that are within a
- # chapterVerse range (ch or ch:v or ch:v-v or ch:v-ch:v)
- # includeContext: If true, adds scope and nextToken information
- # to each token
- # withChars: Return tokens whose payload is an exact match to one
- # of the specified strings
- # withMatchingChars: Return tokens whose payload matches one of
- # the specified regexes
- # withSubTypes: Return tokens with one of the specified subTypes
- (
- String!], : [
- Boolean, :
- String, :
- Boolean, :
- String!], : [
- String!], : [
- String!] : [
- ): [Item!]!
- # The text of the block as a single string
- #
- # Arguments
- # withScriptureCV: Only return text that is within a chapterVerse
- # range (ch or ch:v or ch:v-v or ch:v-ch:v)
- # normalizeSpace: If true, converts each whitespace character to
- # a single space
- String, : Boolean): String! ( :
- # 'Block items grouped by scopes or milestones
- #
- # Arguments
- # byScopes: Produce one itemGroup for every match of the list of
- # scopes
- # byMilestones: Start a new itemGroup whenever a milestone in the
- # list is encountered
- String!], : [String!]): [ItemGroup]! ( : [
- # The block content as a string in a compact eyeballable format
- String! :
- # A list of the labels for the block\'s bs, os and is scopes
- #
- # Arguments
- # startsWith: Only include scopes that begin with this value
- String!]): [String!]! ( : [
- }