@foal/graphiql 2.6.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017-2021 FoalTS
3
+ Copyright (c) 2017-2022 FoalTS
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -25,10 +25,10 @@ export declare class GraphiQLController {
25
25
  options: GraphiQLControllerOptions;
26
26
  apiEndpoint: string;
27
27
  cssThemeURL?: string;
28
- index(ctx: Context): Promise<HttpResponseOK | HttpResponseMovedPermanently>;
29
- getReactProduction(): Promise<HttpResponseOK>;
30
- getReactDomProduction(): Promise<HttpResponseOK>;
31
- getGraphiqlCss(): Promise<HttpResponseOK>;
32
- getGraphiqlJs(): Promise<HttpResponseOK>;
28
+ index(ctx: Context): Promise<HttpResponseMovedPermanently | HttpResponseOK<string>>;
29
+ getReactProduction(): Promise<HttpResponseOK<any>>;
30
+ getReactDomProduction(): Promise<HttpResponseOK<any>>;
31
+ getGraphiqlCss(): Promise<HttpResponseOK<any>>;
32
+ getGraphiqlJs(): Promise<HttpResponseOK<any>>;
33
33
  private createHttpResponseFile;
34
34
  }
package/lib/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * FoalTS
3
- * Copyright(c) 2017-2021 Loïc Poullain <loic.poullain@centraliens.net>
3
+ * Copyright(c) 2017-2022 Loïc Poullain <loic.poullain@centraliens.net>
4
4
  * Released under the MIT License.
5
5
  */
6
6
  export { GraphiQLController, GraphiQLControllerOptions } from './graphiql.controller';
package/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * FoalTS
4
- * Copyright(c) 2017-2021 Loïc Poullain <loic.poullain@centraliens.net>
4
+ * Copyright(c) 2017-2022 Loïc Poullain <loic.poullain@centraliens.net>
5
5
  * Released under the MIT License.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foal/graphiql",
3
- "version": "2.6.0",
3
+ "version": "2.8.0",
4
4
  "description": "GraphiQL integration for FoalTS",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -40,7 +40,7 @@
40
40
  "lib/"
41
41
  ],
42
42
  "dependencies": {
43
- "@foal/core": "^2.6.0"
43
+ "@foal/core": "^2.8.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/mocha": "7.0.2",
@@ -53,5 +53,5 @@
53
53
  "ts-node": "~9.0.0",
54
54
  "typescript": "~4.0.2"
55
55
  },
56
- "gitHead": "250d8220d4f6045f1e9eafd1902624ae61b4779d"
56
+ "gitHead": "3651abba986459ca1a2efb8a02f480b9a063fb4a"
57
57
  }