"use strict";

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

Object.defineProperty(exports, "__esModule", { value: true });
var React = require("react");
var ReactDOM = require("react-dom");
var MiddlewareApp_1 = require("./components/MiddlewareApp");
require("./styles/graphiql_dark.css");
require("./styles/graphiql_light.css");
require("./index.css");
if (process.env.NODE_ENV !== 'production') {}
/* tslint:disable-next-line */
// const { whyDidYouUpdate } = require('why-did-you-update')
// whyDidYouUpdate(React)

/* tslint:disable-next-line */
;
window['GraphQLPlayground'] = {
    init: function init(element, options) {
        ReactDOM.render(React.createElement(MiddlewareApp_1.default, _extends({ setTitle: true, showNewWorkspace: false, config: config, configString: JSON.stringify(config, null, 2) }, options)), element);
    }
};
var config = {
    projects: {
        graphcool: {
            extensions: {
                endpoints: {
                    asdf: 'https://api.graph.cool/simple/v1/asdf',
                    docs: 'https://api.graph.cool/simple/v1/graphcool-docs'
                }
            }
        },
        'tim01/test-service': {
            extensions: {
                endpoints: {
                    dev3: {
                        url: 'https://tim01_lol.prisma.sh/test-service/dev3',
                        headers: {
                            Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MjE3MzE3NDQsIm5iZiI6MTUyMTY0NTM0NH0.rulM7fCHkCZHmYKTHgMrwroKcOlkuWnjV8aQHBNpcKs"
                        }
                    }
                }
            }
        }
    }
};
//# sourceMappingURL=localDevIndex.jsx.map