decidim-api 0.24.3 → 0.25.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/decidim/api/graphiql_controller.rb +6 -3
- data/app/{assets/javascripts/decidim/api/docs.js.es6 → packs/entrypoints/decidim_api_docs.js} +7 -6
- data/app/packs/entrypoints/decidim_api_graphiql.js +90 -0
- data/app/packs/entrypoints/decidim_api_graphiql.scss +10 -0
- data/app/{assets → packs}/stylesheets/decidim/api/docs.scss +0 -0
- data/app/views/decidim/api/graphiql/show.html.erb +24 -0
- data/app/views/layouts/decidim/api/documentation.html.erb +2 -2
- data/config/assets.rb +9 -0
- data/lib/decidim/api/engine.rb +15 -7
- data/lib/decidim/api/graphiql/config.rb +53 -0
- data/lib/decidim/api/version.rb +1 -1
- metadata +19 -53
- data/app/assets/config/decidim_api_manifest.css +0 -3
- data/app/assets/config/decidim_api_manifest.js +0 -1
- data/vendor/assets/javascripts/decidim/api/graphql-docs.js +0 -7851
- data/vendor/assets/javascripts/decidim/api/react-dom.js +0 -42
- data/vendor/assets/javascripts/decidim/api/react.js +0 -20595
@@ -1,42 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* ReactDOM v15.3.2
|
3
|
-
*
|
4
|
-
* Copyright 2013-present, Facebook, Inc.
|
5
|
-
* All rights reserved.
|
6
|
-
*
|
7
|
-
* This source code is licensed under the BSD-style license found in the
|
8
|
-
* LICENSE file in the root directory of this source tree. An additional grant
|
9
|
-
* of patent rights can be found in the PATENTS file in the same directory.
|
10
|
-
*
|
11
|
-
*/
|
12
|
-
// Based off https://github.com/ForbesLindesay/umd/blob/master/template.js
|
13
|
-
;(function(f) {
|
14
|
-
// CommonJS
|
15
|
-
if (typeof exports === "object" && typeof module !== "undefined") {
|
16
|
-
module.exports = f(require('react'));
|
17
|
-
|
18
|
-
// RequireJS
|
19
|
-
} else if (typeof define === "function" && define.amd) {
|
20
|
-
define(['react'], f);
|
21
|
-
|
22
|
-
// <script>
|
23
|
-
} else {
|
24
|
-
var g;
|
25
|
-
if (typeof window !== "undefined") {
|
26
|
-
g = window;
|
27
|
-
} else if (typeof global !== "undefined") {
|
28
|
-
g = global;
|
29
|
-
} else if (typeof self !== "undefined") {
|
30
|
-
g = self;
|
31
|
-
} else {
|
32
|
-
// works providing we're not in "use strict";
|
33
|
-
// needed for Java 8 Nashorn
|
34
|
-
// see https://github.com/facebook/react/issues/3037
|
35
|
-
g = this;
|
36
|
-
}
|
37
|
-
g.ReactDOM = f(g.React);
|
38
|
-
}
|
39
|
-
|
40
|
-
})(function(React) {
|
41
|
-
return React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
42
|
-
});
|