@i2analyze/notebook-sdk 0.2.0-dev.9 → 1.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.
- package/CHANGELOG.md +8 -84
- package/README.md +10 -0
- package/lib/gen/notebook-sdk-public.d.ts +3466 -2976
- package/lib/index.js +4 -5
- package/package.json +6 -7
package/lib/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* (C) Copyright IBM Corp. 2012, 2021 All Rights Reserved.
|
|
5
|
-
* US Government Users Restricted Rights - Use, duplication or
|
|
6
|
-
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
|
|
2
|
+
* i2, i2 Group, the i2 Group logo, and i2group.com are trademarks of N.Harris Computer Corporation.
|
|
3
|
+
* © N.Harris Computer Corporation (2022)
|
|
7
4
|
*/
|
|
8
5
|
const apiVersion = '1.0';
|
|
9
6
|
/**
|
|
@@ -14,6 +11,7 @@ const apiVersion = '1.0';
|
|
|
14
11
|
* @throws `Error` (through the promise) if the version of the SDK was incompatible with the deployed version of i2 Notebook,
|
|
15
12
|
* or if `pluginId` does not appear in the manifest.
|
|
16
13
|
* @public
|
|
14
|
+
* @i2since 1.0
|
|
17
15
|
*/
|
|
18
16
|
export function getEntryPointApi(pluginId) {
|
|
19
17
|
return window.notebook.getEntryPointApi(pluginId, apiVersion);
|
|
@@ -25,6 +23,7 @@ export function getEntryPointApi(pluginId) {
|
|
|
25
23
|
* @throws `Error` (through the promise) if the version of the SDK was incompatible with the deployed version of i2 Notebook.
|
|
26
24
|
*
|
|
27
25
|
* @public
|
|
26
|
+
* @i2since 1.0
|
|
28
27
|
*/
|
|
29
28
|
export function getToolViewApi() {
|
|
30
29
|
return new Promise((resolve) => {
|
package/package.json
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@i2analyze/notebook-sdk",
|
|
3
|
-
"version": "0.2
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "i2 Notebook SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"@i2analyze:registry": "https://registry.npmjs.org/"
|
|
8
8
|
},
|
|
9
9
|
"devDependencies": {
|
|
10
|
-
"@ibmi2/eslint-config": "^10.
|
|
11
|
-
"@ibmi2/
|
|
12
|
-
"@
|
|
13
|
-
"@microsoft/api-
|
|
14
|
-
"@microsoft/api-extractor": "7.15.2",
|
|
10
|
+
"@ibmi2/eslint-config": "^10.2.4",
|
|
11
|
+
"@ibmi2/webui-lerna-build-scripts": "^4.1.0",
|
|
12
|
+
"@microsoft/api-documenter": "7.13.33",
|
|
13
|
+
"@microsoft/api-extractor": "7.18.4",
|
|
15
14
|
"copyfiles": "^2.4.1",
|
|
16
15
|
"npm-run-all": "^4.1.2",
|
|
17
16
|
"rimraf": "^3.0.0",
|
|
18
|
-
"typescript": "^4.
|
|
17
|
+
"typescript": "^4.3.5"
|
|
19
18
|
},
|
|
20
19
|
"sideEffects": [
|
|
21
20
|
"**/*.spec.*"
|