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 { ApolloServer } from 'apollo-server-express' | |
import * as express from 'express' | |
import { IResolvers } from 'graphql-tools' | |
import * as LRU from 'lru-cache' | |
import typeDefs, { Context } from './types' | |
const router = express.Router() | |
const resolvers: IResolvers<{}, Context> = { |
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 { spawn } from 'child_process' | |
import * as express from 'express' | |
import * as LRU from 'lru-cache' | |
const app = express() | |
const cache = LRU({ | |
max: 152, | |
maxAge: 36e2 | |
}) |
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 withData from '@/lib/withData' | |
import { ApolloClient } from 'apollo-boost' | |
import App, { AppProps, Container } from 'next/app' | |
import { ApolloProvider } from 'react-apollo' | |
export default withData( | |
class extends App<MyAppProps> { | |
public static async getInitialProps({ Component, ...ctx }) { | |
let pageProps = {} |
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
[Rainmeter] | |
Update=1000 | |
AccurateText=1 | |
DynamicWindowSize=1 | |
[Metadata] | |
Name=ForexFactoryCalendar | |
Author=Talasan Nicholson | |
Version=0.1 |
OlderNewer