monday-sdk-js 0.3.4 → 0.4.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "monday-sdk-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/mondaycom/monday-sdk-js",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"@babel/preset-env": "^7.6.0",
|
|
26
26
|
"@babel/preset-react": "^7.0.0",
|
|
27
27
|
"@babel/register": "^7.6.0",
|
|
28
|
+
"@types/source-map": "^0.5.2",
|
|
28
29
|
"babel-loader": "^8.0.6",
|
|
29
30
|
"chai": "^4.2.0",
|
|
30
31
|
"eslint": "^6.8.0",
|
|
@@ -33,11 +34,10 @@
|
|
|
33
34
|
"prettier": "^1.19.1",
|
|
34
35
|
"sinon": "^9.0.0",
|
|
35
36
|
"sinon-chai": "^3.5.0",
|
|
37
|
+
"typescript": "^4.9.5",
|
|
36
38
|
"webpack": "^4.38.0",
|
|
37
39
|
"webpack-cli": "^3.3.6",
|
|
38
|
-
"webpack-dev-server": "^3.7.2"
|
|
39
|
-
"@types/source-map": "^0.5.2",
|
|
40
|
-
"typescript": "^4.9.5"
|
|
40
|
+
"webpack-dev-server": "^3.7.2"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"start": "webpack-dev-server",
|
|
@@ -9,6 +9,12 @@ type BlockTypes = 'normal text' | 'large title' | 'medium title' | 'small title'
|
|
|
9
9
|
interface BlockContent { deltaFormat: Array<object> };
|
|
10
10
|
|
|
11
11
|
export interface ClientExecute {
|
|
12
|
+
/**
|
|
13
|
+
* Type fallback to account for new execute methods during the AI hackathon.
|
|
14
|
+
* This will be removed when the 0.4.0 version goes out of beta.
|
|
15
|
+
*/
|
|
16
|
+
execute (type: any, params?: any): Promise<any>;
|
|
17
|
+
|
|
12
18
|
/**
|
|
13
19
|
* Opens a popup card with information from the selected item
|
|
14
20
|
* @param type Which action to perform
|