This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | const gql = require('graphql-tag'); | |
| const { makeExecutableSchema } = require('graphql-tools'); | |
| const books = [ | |
| // ... | |
| ]; | |
| const typeDefs = gql` | |
| # ... | |
| `; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { Modifier, EditorState, RichUtils } from 'draft-js'; | |
| import getCurrentlySelectedBlock from './getCurrentlySelectedBlock'; | |
| export const ALIGNMENTS = { | |
| CENTER: 'center', | |
| JUSTIFY: 'justify', | |
| LEFT: 'left', | |
| RIGHT: 'right' | |
| }; |