altair-graphql-core 4.2.1 → 4.2.2
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/build/config.d.ts +42 -30
- package/build/config.js +11 -16
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -4
- package/build/plugin/base.d.ts +1 -0
- package/build/plugin/base.js +1 -5
- package/build/plugin/context/context.interface.d.ts +3 -2
- package/build/plugin/context/context.interface.js +1 -2
- package/build/plugin/event/event.interfaces.d.ts +1 -0
- package/build/plugin/event/event.interfaces.js +1 -2
- package/build/plugin/panel.d.ts +1 -0
- package/build/plugin/panel.js +5 -9
- package/build/plugin/plugin.interfaces.d.ts +1 -0
- package/build/plugin/plugin.interfaces.js +5 -8
- package/build/plugin/ui-action.d.ts +1 -0
- package/build/plugin/ui-action.js +5 -9
- package/build/subscriptions/index.d.ts +1 -0
- package/build/subscriptions/index.js +9 -12
- package/build/subscriptions/providers/action-cable.d.ts +1 -0
- package/build/subscriptions/providers/action-cable.js +6 -13
- package/build/subscriptions/providers/app-sync.d.ts +1 -0
- package/build/subscriptions/providers/app-sync.js +14 -18
- package/build/subscriptions/providers/graphql-ws.d.ts +2 -0
- package/build/subscriptions/providers/graphql-ws.js +9 -11
- package/build/subscriptions/providers/ws.d.ts +2 -0
- package/build/subscriptions/providers/ws.js +10 -11
- package/build/subscriptions/subscription-provider.d.ts +1 -0
- package/build/subscriptions/subscription-provider.js +1 -5
- package/build/theme/defaults/dark.d.ts +1 -0
- package/build/theme/defaults/dark.js +16 -18
- package/build/theme/defaults/dracula.d.ts +1 -0
- package/build/theme/defaults/dracula.js +1 -3
- package/build/theme/defaults/light.d.ts +1 -0
- package/build/theme/defaults/light.js +1 -3
- package/build/theme/index.d.ts +1 -0
- package/build/theme/index.js +7 -23
- package/build/theme/theme.d.ts +1 -0
- package/build/theme/theme.js +31 -37
- package/build/types/shared.d.ts +1 -0
- package/build/types/shared.js +1 -2
- package/build/types/state/account.interfaces.d.ts +8 -0
- package/build/types/state/account.interfaces.js +1 -0
- package/build/types/state/collection.interfaces.d.ts +15 -4
- package/build/types/state/collection.interfaces.js +1 -2
- package/build/types/state/dialog.interfaces.d.ts +1 -0
- package/build/types/state/dialog.interfaces.js +1 -2
- package/build/types/state/docs.interfaces.d.ts +1 -0
- package/build/types/state/docs.interfaces.js +1 -2
- package/build/types/state/donation.interfaces.d.ts +1 -0
- package/build/types/state/donation.interfaces.js +1 -2
- package/build/types/state/environments.interfaces.d.ts +1 -0
- package/build/types/state/environments.interfaces.js +1 -2
- package/build/types/state/gql-schema.interfaces.d.ts +1 -0
- package/build/types/state/gql-schema.interfaces.js +1 -2
- package/build/types/state/header.interfaces.d.ts +1 -0
- package/build/types/state/header.interfaces.js +1 -2
- package/build/types/state/history.interfaces.d.ts +1 -0
- package/build/types/state/history.interfaces.js +1 -2
- package/build/types/state/layout.interfaces.d.ts +1 -0
- package/build/types/state/layout.interfaces.js +1 -2
- package/build/types/state/local.interfaces.d.ts +1 -0
- package/build/types/state/local.interfaces.js +1 -2
- package/build/types/state/per-window.interfaces.d.ts +1 -0
- package/build/types/state/per-window.interfaces.js +1 -2
- package/build/types/state/postrequest.interfaces.d.ts +1 -0
- package/build/types/state/postrequest.interfaces.js +1 -2
- package/build/types/state/prerequest.interfaces.d.ts +1 -0
- package/build/types/state/prerequest.interfaces.js +1 -2
- package/build/types/state/query.interfaces.d.ts +1 -0
- package/build/types/state/query.interfaces.js +1 -4
- package/build/types/state/settings.interfaces.d.ts +5 -0
- package/build/types/state/settings.interfaces.js +2 -4
- package/build/types/state/state.interfaces.d.ts +3 -0
- package/build/types/state/state.interfaces.js +1 -2
- package/build/types/state/stream.interfaces.d.ts +1 -0
- package/build/types/state/stream.interfaces.js +1 -2
- package/build/types/state/variable.interfaces.d.ts +1 -0
- package/build/types/state/variable.interfaces.js +1 -2
- package/build/types/state/window.interfaces.d.ts +4 -1
- package/build/types/state/window.interfaces.js +1 -2
- package/build/types/state/windows-meta.interfaces.d.ts +2 -0
- package/build/types/state/windows-meta.interfaces.js +1 -2
- package/build/utils/is_electron.d.ts +1 -0
- package/build/utils/is_electron.js +1 -3
- package/build/utils/logger.d.ts +1 -0
- package/build/utils/logger.js +7 -13
- package/package.json +3 -3
- package/tsconfig.json +3 -1
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const theme_1 = require("../theme");
|
|
1
|
+
import { foundations } from '../theme';
|
|
4
2
|
const theme = {
|
|
5
3
|
colors: {
|
|
6
|
-
bg:
|
|
4
|
+
bg: foundations.colors.black,
|
|
7
5
|
offBg: '#3f4349',
|
|
8
|
-
font:
|
|
9
|
-
offFont:
|
|
6
|
+
font: foundations.colors.white,
|
|
7
|
+
offFont: foundations.colors.lightGray,
|
|
10
8
|
border: '#565c64',
|
|
11
9
|
offBorder: '#565656',
|
|
12
10
|
headerBg: '#3f4349',
|
|
@@ -16,18 +14,18 @@ const theme = {
|
|
|
16
14
|
},
|
|
17
15
|
editor: {
|
|
18
16
|
colors: {
|
|
19
|
-
comment:
|
|
20
|
-
string:
|
|
21
|
-
number:
|
|
22
|
-
variable:
|
|
23
|
-
attribute:
|
|
24
|
-
keyword:
|
|
25
|
-
atom:
|
|
26
|
-
property:
|
|
27
|
-
definition:
|
|
28
|
-
punctuation:
|
|
29
|
-
cursor:
|
|
17
|
+
comment: foundations.colors.darkGray,
|
|
18
|
+
string: foundations.colors.orange,
|
|
19
|
+
number: foundations.colors.orange,
|
|
20
|
+
variable: foundations.colors.white,
|
|
21
|
+
attribute: foundations.colors.green,
|
|
22
|
+
keyword: foundations.colors.blue,
|
|
23
|
+
atom: foundations.colors.white,
|
|
24
|
+
property: foundations.colors.blue,
|
|
25
|
+
definition: foundations.colors.orange,
|
|
26
|
+
punctuation: foundations.colors.blue,
|
|
27
|
+
cursor: foundations.colors.blue,
|
|
30
28
|
}
|
|
31
29
|
},
|
|
32
30
|
};
|
|
33
|
-
|
|
31
|
+
export default theme;
|
package/build/theme/index.d.ts
CHANGED
package/build/theme/index.js
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}));
|
|
9
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
-
};
|
|
12
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
14
|
-
};
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.dracula = exports.dark = exports.light = void 0;
|
|
17
|
-
const light_1 = __importDefault(require("./defaults/light"));
|
|
18
|
-
const dark_1 = __importDefault(require("./defaults/dark"));
|
|
19
|
-
const dracula_1 = __importDefault(require("./defaults/dracula"));
|
|
20
|
-
__exportStar(require("./theme"), exports);
|
|
21
|
-
exports.light = light_1.default;
|
|
22
|
-
exports.dark = dark_1.default;
|
|
23
|
-
exports.dracula = dracula_1.default;
|
|
1
|
+
import lightTheme from './defaults/light';
|
|
2
|
+
import darkTheme from './defaults/dark';
|
|
3
|
+
import draculaTheme from './defaults/dracula';
|
|
4
|
+
export * from './theme';
|
|
5
|
+
export const light = lightTheme;
|
|
6
|
+
export const dark = darkTheme;
|
|
7
|
+
export const dracula = draculaTheme;
|
package/build/theme/theme.d.ts
CHANGED
|
@@ -102,3 +102,4 @@ export declare const hexToRgbStr: (hex: string) => string;
|
|
|
102
102
|
export declare const mergeThemes: (...customThemes: ICustomTheme[]) => ICustomTheme;
|
|
103
103
|
export declare const createTheme: (customTheme: ICustomTheme, extraTheme?: ICustomTheme) => ITheme;
|
|
104
104
|
export {};
|
|
105
|
+
//# sourceMappingURL=theme.d.ts.map
|
package/build/theme/theme.js
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.createTheme = exports.mergeThemes = exports.hexToRgbStr = exports.foundations = void 0;
|
|
7
|
-
const deepmerge_1 = __importDefault(require("deepmerge"));
|
|
1
|
+
import deepmerge from 'deepmerge';
|
|
8
2
|
const convertCssColorNameToHex = require('convert-css-color-name-to-hex');
|
|
9
|
-
|
|
3
|
+
export const foundations = {
|
|
10
4
|
easing: 'ease',
|
|
11
5
|
colors: {
|
|
12
6
|
black: '#33363b',
|
|
@@ -35,41 +29,41 @@ exports.foundations = {
|
|
|
35
29
|
},
|
|
36
30
|
},
|
|
37
31
|
};
|
|
38
|
-
const theme =
|
|
32
|
+
const theme = deepmerge(foundations, {
|
|
39
33
|
isSystem: false,
|
|
40
34
|
colors: {
|
|
41
|
-
primary:
|
|
42
|
-
secondary:
|
|
43
|
-
bg:
|
|
44
|
-
offBg:
|
|
45
|
-
font:
|
|
46
|
-
offFont:
|
|
47
|
-
border:
|
|
48
|
-
offBorder:
|
|
49
|
-
headerBg:
|
|
35
|
+
primary: foundations.colors.green,
|
|
36
|
+
secondary: foundations.colors.blue,
|
|
37
|
+
bg: foundations.colors.white,
|
|
38
|
+
offBg: foundations.colors.lightGray,
|
|
39
|
+
font: foundations.colors.black,
|
|
40
|
+
offFont: foundations.colors.darkGray,
|
|
41
|
+
border: foundations.colors.gray,
|
|
42
|
+
offBorder: foundations.colors.lightGray,
|
|
43
|
+
headerBg: foundations.colors.white,
|
|
50
44
|
},
|
|
51
45
|
shadow: {
|
|
52
|
-
color:
|
|
46
|
+
color: foundations.colors.black,
|
|
53
47
|
opacity: .1,
|
|
54
48
|
},
|
|
55
49
|
editor: {
|
|
56
50
|
fontFamily: {
|
|
57
51
|
default: 'JetBrains Mono',
|
|
58
52
|
},
|
|
59
|
-
fontSize:
|
|
53
|
+
fontSize: foundations.type.fontSize.bodySmaller,
|
|
60
54
|
colors: {
|
|
61
|
-
comment:
|
|
62
|
-
string:
|
|
63
|
-
number:
|
|
64
|
-
variable:
|
|
65
|
-
keyword:
|
|
66
|
-
atom:
|
|
67
|
-
attribute:
|
|
68
|
-
property:
|
|
69
|
-
punctuation:
|
|
70
|
-
definition:
|
|
71
|
-
builtin:
|
|
72
|
-
cursor:
|
|
55
|
+
comment: foundations.colors.darkGray,
|
|
56
|
+
string: foundations.colors.orange,
|
|
57
|
+
number: foundations.colors.orange,
|
|
58
|
+
variable: foundations.colors.black,
|
|
59
|
+
keyword: foundations.colors.blue,
|
|
60
|
+
atom: foundations.colors.black,
|
|
61
|
+
attribute: foundations.colors.green,
|
|
62
|
+
property: foundations.colors.blue,
|
|
63
|
+
punctuation: foundations.colors.blue,
|
|
64
|
+
definition: foundations.colors.orange,
|
|
65
|
+
builtin: foundations.colors.orange,
|
|
66
|
+
cursor: foundations.colors.blue,
|
|
73
67
|
},
|
|
74
68
|
}
|
|
75
69
|
});
|
|
@@ -101,7 +95,7 @@ const hexToRgb = (hex) => {
|
|
|
101
95
|
b: parseInt(result[3], 16)
|
|
102
96
|
} : undefined;
|
|
103
97
|
};
|
|
104
|
-
|
|
98
|
+
export const hexToRgbStr = (hex) => {
|
|
105
99
|
if (!hex) {
|
|
106
100
|
return '';
|
|
107
101
|
}
|
|
@@ -130,9 +124,9 @@ const rgbTint = (rgb, i) => {
|
|
|
130
124
|
b: rgb.b + (255 - rgb.b) * i * 0.1
|
|
131
125
|
};
|
|
132
126
|
};
|
|
133
|
-
|
|
134
|
-
return
|
|
127
|
+
export const mergeThemes = (...customThemes) => {
|
|
128
|
+
return deepmerge.all(customThemes);
|
|
135
129
|
};
|
|
136
|
-
|
|
137
|
-
return
|
|
130
|
+
export const createTheme = (customTheme, extraTheme = {}) => {
|
|
131
|
+
return deepmerge.all([theme, customTheme, extraTheme]);
|
|
138
132
|
};
|
package/build/types/shared.d.ts
CHANGED
package/build/types/shared.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -6,20 +6,31 @@ export interface CollectionState {
|
|
|
6
6
|
sortBy: SortByOptions;
|
|
7
7
|
}
|
|
8
8
|
export interface IQuery extends ExportWindowState {
|
|
9
|
-
id?:
|
|
9
|
+
id?: string;
|
|
10
|
+
serverId?: number;
|
|
10
11
|
created_at?: number;
|
|
11
12
|
updated_at?: number;
|
|
12
13
|
}
|
|
13
14
|
export interface IQueryCollection {
|
|
14
15
|
id?: number;
|
|
16
|
+
serverId?: number;
|
|
15
17
|
title: string;
|
|
18
|
+
queries: IQuery[];
|
|
16
19
|
description?: string;
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
/**
|
|
21
|
+
* path of the collection in the collection tree
|
|
22
|
+
* e.g. '/123/456'
|
|
23
|
+
*/
|
|
24
|
+
parentPath?: string;
|
|
19
25
|
created_at?: number;
|
|
20
26
|
updated_at?: number;
|
|
21
27
|
}
|
|
22
|
-
export interface
|
|
28
|
+
export interface IQueryCollectionTree extends IQueryCollection {
|
|
29
|
+
id: number;
|
|
30
|
+
collections?: IQueryCollectionTree[];
|
|
31
|
+
}
|
|
32
|
+
export interface ExportCollectionState extends IQueryCollectionTree {
|
|
23
33
|
version: 1;
|
|
24
34
|
type: 'collection';
|
|
25
35
|
}
|
|
36
|
+
//# sourceMappingURL=collection.interfaces.d.ts.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -56,6 +56,10 @@ export interface SettingsState {
|
|
|
56
56
|
* Reload schema on app start
|
|
57
57
|
*/
|
|
58
58
|
'schema.reloadOnStart'?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Disable update notification
|
|
61
|
+
*/
|
|
62
|
+
'alert.disableUpdateNotification'?: boolean;
|
|
59
63
|
/**
|
|
60
64
|
* Disable warning alerts
|
|
61
65
|
*/
|
|
@@ -82,3 +86,4 @@ export interface SettingsState {
|
|
|
82
86
|
'editor.shortcuts'?: Record<string, string>;
|
|
83
87
|
}
|
|
84
88
|
export {};
|
|
89
|
+
//# sourceMappingURL=settings.interfaces.d.ts.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AccountState } from './account.interfaces';
|
|
1
2
|
import { CollectionState } from './collection.interfaces';
|
|
2
3
|
import { DonationState } from './donation.interfaces';
|
|
3
4
|
import { EnvironmentsState } from './environments.interfaces';
|
|
@@ -13,4 +14,6 @@ export interface RootState {
|
|
|
13
14
|
collection: CollectionState;
|
|
14
15
|
environments: EnvironmentsState;
|
|
15
16
|
local: LocalState;
|
|
17
|
+
account: AccountState;
|
|
16
18
|
}
|
|
19
|
+
//# sourceMappingURL=state.interfaces.d.ts.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { GraphQLSchema } from 'graphql';
|
|
2
|
+
import { SubscriptionProviderIds } from '../../subscriptions';
|
|
2
3
|
import { PerWindowState } from './per-window.interfaces';
|
|
3
4
|
export interface WindowState {
|
|
4
|
-
[id: string]: PerWindowState;
|
|
5
|
+
[id: string]: PerWindowState | undefined;
|
|
5
6
|
}
|
|
6
7
|
/**
|
|
7
8
|
* Data structure for exported windows
|
|
@@ -19,6 +20,7 @@ export interface ExportWindowState {
|
|
|
19
20
|
variables: string;
|
|
20
21
|
subscriptionUrl: string;
|
|
21
22
|
subscriptionConnectionParams?: string;
|
|
23
|
+
subscriptionProvider?: SubscriptionProviderIds;
|
|
22
24
|
preRequestScript?: string;
|
|
23
25
|
preRequestScriptEnabled?: boolean;
|
|
24
26
|
postRequestScript?: string;
|
|
@@ -33,3 +35,4 @@ export interface ExportWindowState {
|
|
|
33
35
|
windowIdInCollection?: string;
|
|
34
36
|
gqlSchema?: GraphQLSchema;
|
|
35
37
|
}
|
|
38
|
+
//# sourceMappingURL=window.interfaces.d.ts.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
export {};
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.default = !!((window && window.process && window.process.versions.electron) || window.ipc);
|
|
1
|
+
export default !!((window && window.process && window.process.versions.electron) || window.ipc);
|
package/build/utils/logger.d.ts
CHANGED
package/build/utils/logger.js
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.createLogger = void 0;
|
|
7
|
-
const loglevel_1 = __importDefault(require("loglevel"));
|
|
8
|
-
const loglevel_plugin_prefix_1 = __importDefault(require("loglevel-plugin-prefix"));
|
|
9
|
-
loglevel_plugin_prefix_1.default.reg(loglevel_1.default);
|
|
10
|
-
exports.createLogger = (environment) => {
|
|
1
|
+
import loglevel from 'loglevel';
|
|
2
|
+
import prefix from 'loglevel-plugin-prefix';
|
|
3
|
+
prefix.reg(loglevel);
|
|
4
|
+
export const createLogger = (environment) => {
|
|
11
5
|
if (!environment.production) {
|
|
12
|
-
|
|
6
|
+
loglevel.setLevel('TRACE');
|
|
13
7
|
}
|
|
14
8
|
const PREVIOUS_VERSION_KEY = 'altair__debug_previous_version';
|
|
15
9
|
const CURRENT_VERSION_KEY = 'altair__debug_current_version';
|
|
@@ -36,10 +30,10 @@ exports.createLogger = (environment) => {
|
|
|
36
30
|
console.log('Previous version:', previousVersion());
|
|
37
31
|
console.log('Current version:', currentVersion());
|
|
38
32
|
console.groupEnd();
|
|
39
|
-
|
|
33
|
+
loglevel.setLevel('TRACE');
|
|
40
34
|
}
|
|
41
35
|
window._ALTAIR__ENABLE_DEBUG_MODE__ = value;
|
|
42
36
|
}
|
|
43
37
|
});
|
|
44
|
-
return
|
|
38
|
+
return loglevel;
|
|
45
39
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "altair-graphql-core",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.2",
|
|
4
4
|
"description": "Several of the core logic for altair graphql client",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@types/actioncable": "^5.2.5",
|
|
31
31
|
"@types/node": "^14.14.41",
|
|
32
32
|
"@types/uuid": "^8.3.0",
|
|
33
|
-
"ajv": "^
|
|
33
|
+
"ajv": "^6.12.3",
|
|
34
34
|
"ajv-cli": "^5.0.0",
|
|
35
35
|
"react": "^17.0.2",
|
|
36
36
|
"ts-node": "^8.5.4",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"util": "^0.12.4",
|
|
62
62
|
"uuid": "^8.3.2"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "e2e4d611e12de827ed0a47f09145bbdf4bae291e"
|
|
65
65
|
}
|