@jupytergis/jupytergis-qgis 0.1.5 → 0.1.6

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 (2) hide show
  1. package/lib/plugins.js +5 -3
  2. package/package.json +4 -4
package/lib/plugins.js CHANGED
@@ -6,7 +6,7 @@ import { ConsolePanel, IConsoleTracker } from '@jupyterlab/console';
6
6
  import { PathExt } from '@jupyterlab/coreutils';
7
7
  import { IRenderMimeRegistry } from '@jupyterlab/rendermime';
8
8
  import { Widget } from '@lumino/widgets';
9
- import { requestAPI } from '@jupytergis/base';
9
+ import { logoMiniIcon, requestAPI } from '@jupytergis/base';
10
10
  import { JupyterGISWidgetFactory } from '@jupytergis/jupytergis-core';
11
11
  import { IJupyterGISDocTracker } from '@jupytergis/schema';
12
12
  import { QGSModelFactory, QGZModelFactory } from './modelfactory';
@@ -74,7 +74,8 @@ const activate = async (app, tracker, themeManager, drive, externalCommandRegist
74
74
  mimeTypes: ['application/octet-stream'],
75
75
  extensions: ['.qgs', '.QGS'],
76
76
  fileFormat: 'base64',
77
- contentType: 'QGS'
77
+ contentType: 'QGS',
78
+ icon: logoMiniIcon
78
79
  });
79
80
  app.docRegistry.addFileType({
80
81
  name: 'QGZ',
@@ -82,7 +83,8 @@ const activate = async (app, tracker, themeManager, drive, externalCommandRegist
82
83
  mimeTypes: ['application/octet-stream'],
83
84
  extensions: ['.qgz', '.QGZ'],
84
85
  fileFormat: 'base64',
85
- contentType: 'QGZ'
86
+ contentType: 'QGZ',
87
+ icon: logoMiniIcon
86
88
  });
87
89
  const QGISSharedModelFactory = () => {
88
90
  return new JupyterGISDoc();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupytergis/jupytergis-qgis",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "JupyterGIS QGIS extension.",
5
5
  "keywords": [
6
6
  "jupyter",
@@ -54,9 +54,9 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@jupyter/docprovider": "^2.0.0",
57
- "@jupytergis/base": "^0.1.5",
58
- "@jupytergis/jupytergis-core": "^0.1.5",
59
- "@jupytergis/schema": "^0.1.5",
57
+ "@jupytergis/base": "^0.1.6",
58
+ "@jupytergis/jupytergis-core": "^0.1.6",
59
+ "@jupytergis/schema": "^0.1.6",
60
60
  "@jupyterlab/application": "^4.0.0",
61
61
  "@jupyterlab/apputils": "^4.0.0",
62
62
  "@jupyterlab/coreutils": "^6.0.0",