This file contains 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
Knex = require 'knex' | |
Promise = require 'bluebird' | |
FlormModel = require './flormModel' | |
Document = FlormModel.extend | |
tableName: 'documents' | |
# here's an example sideload construct. I want to know document editor ids, which are stored in the | |
# edges join table - that table stores parent_id and child_id polymorphically (with parent_type and child_type) | |
# also polymorphically with join type- 'grant: edit' denotes editorship. |
This file contains 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 NextApp, { | |
AppInitialProps | |
} from "next/app"; | |
import { | |
ApolloClient | |
} from "apollo-client"; | |
import { | |
ApolloProvider |