Skip to content

Instantly share code, notes, and snippets.

@kbrandwijk
kbrandwijk / graphcool.lua
Created November 12, 2017 15:16
Graphcool autocomplete for clink/cmder
-- For clink, place this file in one of the folders described here:
-- https://github.com/mridgers/clink/blob/master/docs/clink.md#file-locations
-- For cmder, place this file in the cmder config folder
local parser = clink.arg.new_parser
local no_options_parser = parser({})
local target_options = {
@kbrandwijk
kbrandwijk / gateway.yml
Last active October 31, 2017 01:20
Graphcool API Gateway configuration
endpoints:
- url: http://localhost:60000/simple/v1/cj9bgncpa00040157l0nft8x4
authentication: caller
- url: ${env:GRAPHCOOL_SECOND_ENDPOINT}
authentication:
token: ${env:GRAPHCOOL_TOKEN}
types:
- sdl: ./src/linkingSchema.graphql
- code: ./src/permissionSchema.ts