fragmentDefinitionCoreObjectContents top-level constant

FragmentDefinitionNode const fragmentDefinitionCoreObjectContents

Implementation

const fragmentDefinitionCoreObjectContents = FragmentDefinitionNode(
  name: NameNode(value: 'CoreObjectContents'),
  typeCondition: TypeConditionNode(
    on: NamedTypeNode(name: NameNode(value: 'MoveValue'), isNonNull: false),
  ),
  directives: [],
  selectionSet: SelectionSetNode(
    selections: [
      FieldNode(
        name: NameNode(value: 'type'),
        alias: null,
        arguments: [],
        directives: [],
        selectionSet: SelectionSetNode(
          selections: [
            FieldNode(
              name: NameNode(value: 'repr'),
              alias: null,
              arguments: [],
              directives: [],
              selectionSet: null,
            ),
          ],
        ),
      ),
      FieldNode(
        name: NameNode(value: 'json'),
        alias: null,
        arguments: [],
        directives: [],
        selectionSet: null,
      ),
      FieldNode(
        name: NameNode(value: 'bcs'),
        alias: null,
        arguments: [],
        directives: [
          DirectiveNode(
            name: NameNode(value: 'include'),
            arguments: [
              ArgumentNode(
                name: NameNode(value: 'if'),
                value: VariableNode(name: NameNode(value: 'includeContent')),
              ),
            ],
          ),
        ],
        selectionSet: null,
      ),
      FieldNode(
        name: NameNode(value: 'display'),
        alias: null,
        arguments: [],
        directives: [
          DirectiveNode(
            name: NameNode(value: 'include'),
            arguments: [
              ArgumentNode(
                name: NameNode(value: 'if'),
                value: VariableNode(name: NameNode(value: 'includeDisplay')),
              ),
            ],
          ),
        ],
        selectionSet: SelectionSetNode(
          selections: [
            FieldNode(
              name: NameNode(value: 'output'),
              alias: null,
              arguments: [],
              directives: [],
              selectionSet: null,
            ),
          ],
        ),
      ),
    ],
  ),
);