altair-static 4.6.4 → 5.0.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.
Files changed (34) hide show
  1. package/build/dist/3rdpartylicenses.txt +26 -7
  2. package/build/dist/assets/i18n/ach-UG.json +10 -1
  3. package/build/dist/assets/i18n/cs-CZ.json +10 -1
  4. package/build/dist/assets/i18n/da-DK.json +10 -1
  5. package/build/dist/assets/i18n/de-DE.json +12 -3
  6. package/build/dist/assets/i18n/default.json +4 -1
  7. package/build/dist/assets/i18n/en-US.json +10 -1
  8. package/build/dist/assets/i18n/es-ES.json +38 -29
  9. package/build/dist/assets/i18n/fi-FI.json +10 -1
  10. package/build/dist/assets/i18n/fr-FR.json +12 -3
  11. package/build/dist/assets/i18n/hu-HU.json +10 -1
  12. package/build/dist/assets/i18n/it-IT.json +18 -9
  13. package/build/dist/assets/i18n/ja-JP.json +15 -6
  14. package/build/dist/assets/i18n/ko-KR.json +10 -1
  15. package/build/dist/assets/i18n/nl-NL.json +10 -1
  16. package/build/dist/assets/i18n/no-NO.json +10 -1
  17. package/build/dist/assets/i18n/pl-PL.json +28 -19
  18. package/build/dist/assets/i18n/pt-BR.json +10 -1
  19. package/build/dist/assets/i18n/pt-PT.json +10 -1
  20. package/build/dist/assets/i18n/ro-RO.json +10 -1
  21. package/build/dist/assets/i18n/ru-RU.json +10 -1
  22. package/build/dist/assets/i18n/sr-SP.json +10 -1
  23. package/build/dist/assets/i18n/sv-SE.json +10 -1
  24. package/build/dist/assets/i18n/tr-TR.json +10 -1
  25. package/build/dist/assets/i18n/uk-UA.json +10 -1
  26. package/build/dist/assets/i18n/vi-VN.json +10 -1
  27. package/build/dist/assets/i18n/zh-CN.json +22 -13
  28. package/build/dist/assets/i18n/zh-TW.json +10 -1
  29. package/build/dist/assets/img/altair_logo.svg +7 -0
  30. package/build/dist/favicon.ico +0 -0
  31. package/build/dist/main.js +1 -1
  32. package/build/dist/styles.css +1 -1
  33. package/build/index.d.ts +13 -2
  34. package/package.json +5 -5
package/build/index.d.ts CHANGED
@@ -36,6 +36,7 @@ declare const theme: {
36
36
  white: string;
37
37
  green: string;
38
38
  blue: string;
39
+ rose: string;
39
40
  cerise: string;
40
41
  red: string;
41
42
  orange: string;
@@ -59,6 +60,7 @@ declare const theme: {
59
60
  colors: {
60
61
  primary: string;
61
62
  secondary: string;
63
+ tertiary: string;
62
64
  bg: string;
63
65
  offBg: string;
64
66
  font: string;
@@ -166,6 +168,10 @@ export interface SettingsState {
166
168
  * Number of items allowed in history pane
167
169
  */
168
170
  historyDepth?: number;
171
+ /**
172
+ * Disable line numbers
173
+ */
174
+ disableLineNumbers?: boolean;
169
175
  /**
170
176
  * Theme config object
171
177
  */
@@ -182,6 +188,10 @@ export interface SettingsState {
182
188
  * Contains shortcut to action mapping
183
189
  */
184
190
  "editor.shortcuts"?: Record<string, string>;
191
+ /**
192
+ * Disable new editor beta
193
+ */
194
+ "beta.disable.newEditor"?: boolean;
185
195
  }
186
196
  export interface AltairWindowOptions {
187
197
  /**
@@ -309,6 +319,7 @@ declare class AltairConfig {
309
319
  "vi-VN": string;
310
320
  };
311
321
  query_history_depth: number;
322
+ disableLineNumbers: boolean;
312
323
  defaultTheme: string;
313
324
  themes: string[];
314
325
  isTranslateMode: any;
@@ -319,14 +330,14 @@ declare class AltairConfig {
319
330
  subscriptionsProtocol: string;
320
331
  query: string;
321
332
  variables: string;
322
- headers: Record<string, any>;
333
+ headers: IDictionary<any>;
323
334
  environments: IInitialEnvironments;
324
335
  preRequestScript: string;
325
336
  postRequestScript: string;
326
337
  instanceStorageNamespace: string;
327
338
  settings: Partial<SettingsState>;
328
339
  initialSubscriptionsProvider: SubscriptionProviderIds;
329
- initialSubscriptionsPayload: Record<string, any>;
340
+ initialSubscriptionsPayload: IDictionary<any>;
330
341
  initialHttpMethod: "POST" | "GET" | "PUT" | "DELETE";
331
342
  preserveState: boolean;
332
343
  windows: AltairWindowOptions[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "altair-static",
3
- "version": "4.6.4",
3
+ "version": "5.0.2",
4
4
  "description": "Static package for altair graphql client",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -31,17 +31,17 @@
31
31
  "homepage": "https://github.com/altair-graphql/altair#readme",
32
32
  "devDependencies": {
33
33
  "@types/jest": "^24.0.23",
34
- "altair-app": "^4.6.4",
35
- "altair-graphql-core": "^4.6.4",
34
+ "altair-app": "^5.0.2",
35
+ "altair-graphql-core": "^5.0.2",
36
36
  "dts-bundle-generator": "^6.11.0",
37
37
  "esbuild": "^0.14.43",
38
38
  "jest": "28.0.0",
39
39
  "ts-jest": "28.0.7",
40
- "typescript": "4.0.7"
40
+ "typescript": "4.7.4"
41
41
  },
42
42
  "funding": {
43
43
  "type": "opencollective",
44
44
  "url": "https://opencollective.com/altair"
45
45
  },
46
- "gitHead": "c42d38f84e24f9fb475094783ec3fd2ba3cea2c8"
46
+ "gitHead": "b33b2f8322eaefacb500b2f67d0c0ee0382cb839"
47
47
  }