altair-graphql-core 6.0.2 → 6.2.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.
@@ -144,14 +144,14 @@ export declare class AltairConfig {
144
144
  subscriptionsProtocol: string;
145
145
  query: string;
146
146
  variables: string;
147
- headers: IDictionary<any>;
147
+ headers: IDictionary;
148
148
  environments: IInitialEnvironments;
149
149
  preRequestScript: string;
150
150
  postRequestScript: string;
151
151
  instanceStorageNamespace: string;
152
152
  settings: Partial<SettingsState> | undefined;
153
153
  initialSubscriptionsProvider: SubscriptionProviderIds | undefined;
154
- initialSubscriptionsPayload: IDictionary<any>;
154
+ initialSubscriptionsPayload: IDictionary;
155
155
  initialHttpMethod: "POST" | "GET" | "PUT" | "DELETE";
156
156
  preserveState: boolean;
157
157
  windows: AltairWindowOptions[];
@@ -7,7 +7,7 @@ var AltairPanelLocation;
7
7
  AltairPanelLocation["HEADER"] = "header";
8
8
  AltairPanelLocation["SIDEBAR"] = "sidebar";
9
9
  AltairPanelLocation["RESULT_PANE_BOTTOM"] = "result_pane_bottom";
10
- })(AltairPanelLocation = exports.AltairPanelLocation || (exports.AltairPanelLocation = {}));
10
+ })(AltairPanelLocation || (exports.AltairPanelLocation = AltairPanelLocation = {}));
11
11
  /**
12
12
  * Used for dynamic panel elements. Can also be used for angular components in the future.
13
13
  */
@@ -10,7 +10,7 @@ var PluginSource;
10
10
  PluginSource["NPM"] = "npm";
11
11
  PluginSource["GITHUB"] = "github";
12
12
  PluginSource["URL"] = "url";
13
- })(PluginSource = exports.PluginSource || (exports.PluginSource = {}));
13
+ })(PluginSource || (exports.PluginSource = PluginSource = {}));
14
14
  /**
15
15
  * Specifies the type of the plugin.
16
16
  * Determines how the plugin would interact with Altair.
@@ -20,7 +20,7 @@ var PluginType;
20
20
  PluginType["HEADER"] = "header";
21
21
  PluginType["SIDEBAR"] = "sidebar";
22
22
  PluginType["ACTION_BUTTON"] = "action_button";
23
- })(PluginType = exports.PluginType || (exports.PluginType = {}));
23
+ })(PluginType || (exports.PluginType = PluginType = {}));
24
24
  const createPlugin = (name, manifest) => {
25
25
  return {
26
26
  name,
@@ -5,7 +5,7 @@ const uuid_1 = require("uuid");
5
5
  var AltairUiActionLocation;
6
6
  (function (AltairUiActionLocation) {
7
7
  AltairUiActionLocation["RESULT_PANE"] = "result_pane";
8
- })(AltairUiActionLocation = exports.AltairUiActionLocation || (exports.AltairUiActionLocation = {}));
8
+ })(AltairUiActionLocation || (exports.AltairUiActionLocation = AltairUiActionLocation = {}));
9
9
  class AltairUiAction {
10
10
  constructor(title, location, callback) {
11
11
  this.title = title;
package/build/config.d.ts CHANGED
@@ -144,14 +144,14 @@ export declare class AltairConfig {
144
144
  subscriptionsProtocol: string;
145
145
  query: string;
146
146
  variables: string;
147
- headers: IDictionary<any>;
147
+ headers: IDictionary;
148
148
  environments: IInitialEnvironments;
149
149
  preRequestScript: string;
150
150
  postRequestScript: string;
151
151
  instanceStorageNamespace: string;
152
152
  settings: Partial<SettingsState> | undefined;
153
153
  initialSubscriptionsProvider: SubscriptionProviderIds | undefined;
154
- initialSubscriptionsPayload: IDictionary<any>;
154
+ initialSubscriptionsPayload: IDictionary;
155
155
  initialHttpMethod: "POST" | "GET" | "PUT" | "DELETE";
156
156
  preserveState: boolean;
157
157
  windows: AltairWindowOptions[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "altair-graphql-core",
3
3
  "description": "Several of the core logic for altair graphql client",
4
- "version": "6.0.2",
4
+ "version": "6.2.0",
5
5
  "author": "Samuel Imolorhe <altair@sirmuel.design> (https://sirmuel.design)",
6
6
  "bugs": "https://github.com/altair-graphql/altair/issues",
7
7
  "dependencies": {
@@ -32,7 +32,7 @@
32
32
  "ajv-cli": "5.0.0",
33
33
  "react": "17.0.2",
34
34
  "ts-node": "9.1.1",
35
- "typescript": "4.9.5",
35
+ "typescript": "5.2.2",
36
36
  "typescript-json-schema": "0.50.1"
37
37
  },
38
38
  "engines": {
@@ -56,5 +56,5 @@
56
56
  "test": "echo \"Error: no test specified\" && exit 0"
57
57
  },
58
58
  "types": "./build/index.d.ts",
59
- "gitHead": "21e7b91966d54a054de4427387df58819ca0f00f"
59
+ "gitHead": "42aa0b010c561026999c8f9b0f774385900e53e8"
60
60
  }