@datagrok/compute 1.45.2 → 1.45.4

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@datagrok/compute",
3
3
  "friendlyName": "Compute",
4
- "version": "1.45.2",
4
+ "version": "1.45.4",
5
5
  "author": {
6
6
  "name": "Andrey Sharapov",
7
7
  "email": "andrey.sharapov@softwarecountry.com"
@@ -13,52 +13,20 @@
13
13
  "directory": "packages/Compute"
14
14
  },
15
15
  "dependencies": {
16
- "@datagrok-libraries/compute-api": "^0.7.6",
17
- "@datagrok-libraries/compute-utils": "^1.46.1",
18
- "@datagrok-libraries/test": "^1.2.0",
19
- "@datagrok-libraries/utils": "^4.7.1",
20
- "cash-dom": "^8.1.5",
21
- "datagrok-api": "^1.27.0",
22
- "dayjs": "1.11.19",
23
- "exceljs": "^4.3.0",
24
- "rxjs": "^6.6.7",
25
- "source-map-loader": "^5.0.0",
26
- "ts-loader": "^9.5.1",
27
- "typescript": "^5.8.3"
16
+ "@datagrok-libraries/test": "1.4.1",
17
+ "cash-dom": "8.1.5",
18
+ "dayjs": "1.11.23",
19
+ "exceljs": "4.4.0",
20
+ "rxjs": "6.6.7",
21
+ "@datagrok-libraries/compute-api": "^0.8.0",
22
+ "@datagrok-libraries/compute-utils": "^1.47.0",
23
+ "@datagrok-libraries/utils": "^4.7.9",
24
+ "datagrok-api": "^1.27.11"
28
25
  },
29
26
  "devDependencies": {
30
27
  "@types/lodash.clonedeepwith": "^4.5.9",
31
- "@typescript-eslint/eslint-plugin": "^8.8.1",
32
- "@typescript-eslint/parser": "^8.8.1",
33
- "css-loader": "^7.1.2",
34
- "datagrok-tools": "^5.0.0",
35
- "eslint": "^8.0.1",
36
- "eslint-config-google": "^0.14.0",
37
- "style-loader": "^4.0.0",
38
- "webpack": "^5.95.0",
39
- "webpack-bundle-analyzer": "^4.10.2",
40
- "webpack-cli": "^5.1.4"
41
- },
42
- "scripts": {
43
- "link-api": "npm link datagrok-api",
44
- "link-utils": "npm link @datagrok-libraries/utils",
45
- "link-all": "npm link datagrok-api @datagrok-libraries/compute-utils",
46
- "debug-compute": "webpack & grok publish localhost --release",
47
- "release-compute": "webpack && grok publish localhost --release",
48
- "build-compute": "webpack",
49
- "build": "grok api && grok check --soft && webpack",
50
- "lint": "eslint . --ext .ts,.tsx",
51
- "lint-fix": "eslint . --ext .ts,.tsx --fix",
52
- "build-compute-local": "npm --prefix ./../../js-api run build && npm --prefix ./../../libraries/utils run build && npm run build",
53
- "debug-compute-dev": "webpack && grok publish dev",
54
- "release-compute-dev": "grok publish dev --release",
55
- "debug-compute-local": "grok publish local",
56
- "release-compute-local": "grok publish local --release",
57
- "debug-compute-localhost": "grok publish localhost",
58
- "release-compute-localhost": "grok publish localhost --release",
59
- "debug-compute-compose": "grok publish compose",
60
- "release-compute-compose": "grok publish compose --release",
61
- "build-all": "npm --prefix ./../../js-api run build && npm --prefix ./../../libraries/compute-utils run build && npm run build"
28
+ "@types/wu": "^2.1.44",
29
+ "webpack-bundle-analyzer": "^4.10.2"
62
30
  },
63
31
  "canEdit": [
64
32
  "Administrators"
@@ -70,8 +38,10 @@
70
38
  "meta": {
71
39
  "dartium": false
72
40
  },
73
- "overrides": {
74
- "datagrok-api": "$datagrok-api",
75
- "uuid": "^11.1.1"
41
+ "scripts": {
42
+ "build": "grok build",
43
+ "typecheck": "grok tsc --noEmit -p tsconfig.json",
44
+ "lint": "eslint --ext .ts,.tsx src",
45
+ "test": "grok test"
76
46
  }
77
- }
47
+ }
@@ -13,15 +13,15 @@ export namespace scripts {
13
13
  }
14
14
 
15
15
  /**
16
- Identify the beats in an ECG signal and compute the IBIs
17
- */
16
+ * Identify the beats in an ECG signal and compute the IBIs
17
+ */
18
18
  export async function intervalsFromECG(samplingFrequency: number , bpmMax: number , delta: number , k: number ): Promise<any> {
19
19
  return await grok.functions.call('Compute:IntervalsFromECG', { samplingFrequency, bpmMax, delta, k });
20
20
  }
21
21
 
22
22
  /**
23
- Predict the minimum filter size required for the separation of effluent from bioreactors, given the constraints of batch size and total batch time based on a training dataset of time vs filtrate volume for a given filter type, filter area and pressure
24
- */
23
+ * Predict the minimum filter size required for the separation of effluent from bioreactors, given the constraints of batch size and total batch time based on a training dataset of time vs filtrate volume for a given filter type, filter area and pressure
24
+ */
25
25
  export async function vmax(test_data: DG.DataFrame , test_area: number , vbatch: number , tbatch: number , sf: number ): Promise<{processedData: DG.DataFrame, vmax: number, q0: number, slope_est: number, slope_err: number, icept_est: number, icept_err: number, rsq: number, f_stat: number, df: number, sigma: number, resid_ss: number, expl_ss: number, ss_tot: number, amin: number}> {
26
26
  return await grok.functions.call('Compute:Vmax', { test_data, test_area, vbatch, tbatch, sf });
27
27
  }
@@ -37,8 +37,8 @@ export namespace funcs {
37
37
  }
38
38
 
39
39
  /**
40
- Creates an outliers selection viewer
41
- */
40
+ * Creates an outliers selection viewer
41
+ */
42
42
  export async function outliersSelection(): Promise<any> {
43
43
  return await grok.functions.call('Compute:OutliersSelection', {});
44
44
  }
package/src/package.ts CHANGED
@@ -20,9 +20,6 @@ import {
20
20
  mergeValidationResults as mergeValidationResultsInst,
21
21
  } from '@datagrok-libraries/compute-utils';
22
22
  import {ModelHandler} from '@datagrok-libraries/compute-utils/model-catalog';
23
- import {
24
- testPipeline as testPipelineInst,
25
- } from '@datagrok-libraries/compute-utils';
26
23
  import {
27
24
  deepCopy as deepCopyInst,
28
25
  } from '@datagrok-libraries/compute-utils';
@@ -63,7 +60,6 @@ class InputMock implements FuncCallInput {
63
60
  }
64
61
 
65
62
  // for compute-api pakage
66
- export const testPipeline = testPipelineInst;
67
63
  export const deepCopy = deepCopyInst;
68
64
  export const CompView = ComputationViewInst;
69
65
  export const RFV = RichFunctionViewInst;
@@ -0,0 +1,230 @@
1
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/packages/published/files/Compute/1.45.4.X-97a081b5/iH2sMtrHsj6dsOaPtk8eMNQPDnltRdls/1/dist/package.js
2
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/packages/published/files/Compute/1.45.4.X-97a081b5/iH2sMtrHsj6dsOaPtk8eMNQPDnltRdls/1/dist/package-test.js
3
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs?text=package.id%2520%253D%2520%252279fcde20-96d0-11f1-fa3f-9704861931d5%2522
4
+ CONSOLE LOG ENTRY: Running tests...
5
+ CONSOLE LOG ENTRY: [object Object]
6
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}}
7
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Simple inputs setParamValue}}
8
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/groups/a4b45840-9a50-11e6-9cc9-8546b8bf62e6?
9
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/help/datagrok/datagrok.md
10
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/font/Roboto-BoldItalic.woff2
11
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/font/Roboto-LightItalic.woff2
12
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
13
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/95463050-96d0-11f1-bab0-1dc70fd35418?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
14
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Simple inputs setParamValue}} with {{success}} for 316 ms
15
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
16
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Simple inputs inputs tweak}}
17
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
18
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/95e815a0-96d0-11f1-c922-d9f0abb333db?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
19
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Simple inputs inputs tweak}} with {{success}} for 619 ms
20
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
21
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Simple inputs setParamValue rerun}}
22
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
23
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/965a3860-96d0-11f1-915b-c594426984bb?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
24
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
25
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/96705870-96d0-11f1-8d9a-a1dfb2cf2fe9?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
26
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Simple inputs setParamValue rerun}} with {{success}} for 563 ms
27
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
28
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Simple inputs inputs tweak rerun}}
29
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
30
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/96cad480-96d0-11f1-a5ff-ad0905978b67?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
31
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
32
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/97224350-96d0-11f1-9667-838319b93e53?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
33
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Simple inputs inputs tweak rerun}} with {{success}} for 849 ms
34
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
35
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Simple inputs default values}}
36
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Simple inputs default values}} with {{success}} for 127 ms
37
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
38
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Complex inputs setParamValue}}
39
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
40
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/979688f0-96d0-11f1-da45-d3fb3046cea7
41
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
42
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
43
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/98883bf0-96d0-11f1-f72e-3599e31b0da3
44
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
45
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
46
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/979613c0-96d0-11f1-de96-b7fe690336d5?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
47
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/979688f0-96d0-11f1-da45-d3fb3046cea7/data?
48
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/98883bf0-96d0-11f1-f72e-3599e31b0da3/data?
49
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Complex inputs setParamValue}} with {{success}} for 3356 ms
50
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
51
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Complex inputs inputs tweak}}
52
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
53
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/99fd01a0-96d0-11f1-b5bb-e519783fddc1
54
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
55
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
56
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/9a9019e0-96d0-11f1-8788-6ba51559d29d
57
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
58
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
59
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/99fcb380-96d0-11f1-b04a-e5bc6d324e08?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
60
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/99fd01a0-96d0-11f1-b5bb-e519783fddc1/data?
61
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/9a9019e0-96d0-11f1-8788-6ba51559d29d/data?
62
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Complex inputs inputs tweak}} with {{success}} for 2630 ms
63
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
64
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Complex inputs setParamValue rerun}}
65
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
66
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/9b7570d0-96d0-11f1-e92e-d3e02a4ff930
67
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
68
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
69
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/9c0cced0-96d0-11f1-b206-29b1d72933ec
70
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
71
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
72
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/9b74d490-96d0-11f1-b878-0b07b4c5ecac?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
73
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/9b7570d0-96d0-11f1-e92e-d3e02a4ff930/data?
74
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/9c0cced0-96d0-11f1-b206-29b1d72933ec/data?
75
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
76
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/9cdc53d0-96d0-11f1-a20e-fd88940fb68c
77
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
78
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
79
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/9d755f80-96d0-11f1-ad96-133045c955f9
80
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
81
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
82
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/9cdbdea0-96d0-11f1-889e-29024be816d4?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
83
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/9cdc53d0-96d0-11f1-a20e-fd88940fb68c/data?
84
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/9d755f80-96d0-11f1-ad96-133045c955f9/data?
85
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Complex inputs setParamValue rerun}} with {{success}} for 4614 ms
86
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
87
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Inputs}} {{Complex inputs inputs tweak rerun}}
88
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
89
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/9e9a7e90-96d0-11f1-b0cc-474816181e4f
90
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
91
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
92
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/9f322ab0-96d0-11f1-8c42-79af97110d78
93
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
94
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
95
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/9e994610-96d0-11f1-b8db-d3bf5910c682?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
96
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/9e9a7e90-96d0-11f1-b0cc-474816181e4f/data?
97
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/9f322ab0-96d0-11f1-8c42-79af97110d78/data?
98
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
99
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/a017a8b0-96d0-11f1-f7ca-f7c26f37dded
100
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
101
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
102
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/a0a45850-96d0-11f1-d0f1-87988d5ab954
103
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
104
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
105
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a01781a0-96d0-11f1-e7aa-cb624d3b3020?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
106
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/a017a8b0-96d0-11f1-f7ca-f7c26f37dded/data?
107
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/a0a45850-96d0-11f1-d0f1-87988d5ab954/data?
108
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Inputs}} {{Complex inputs inputs tweak rerun}} with {{success}} for 5025 ms
109
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
110
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Validation}}
111
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Validation}} {{Validate on start}}
112
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Validation}} {{Validate on start}} with {{success}} for 1627 ms
113
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
114
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Validation}} {{Validate on input}}
115
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Validation}} {{Validate on input}} with {{success}} for 2027 ms
116
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
117
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute API: RFV Validation}} {{Revalidation sequence}}
118
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute API: RFV Validation}} {{Revalidation sequence}} with {{success}} for 2629 ms
119
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
120
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}}
121
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Simple inputs setParamValue}}
122
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/groups/a4b45840-9a50-11e6-9cc9-8546b8bf62e6?
123
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
124
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a571e5f0-96d0-11f1-8977-cb9702b7fc6e?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
125
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Simple inputs setParamValue}} with {{success}} for 183 ms
126
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
127
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Simple inputs inputs tweak}}
128
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
129
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a5f34af0-96d0-11f1-c778-7bf3063b85c3?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
130
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Simple inputs inputs tweak}} with {{success}} for 602 ms
131
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
132
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Simple inputs setParamValue rerun}}
133
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
134
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a640a7a0-96d0-11f1-f006-17ea0144501d?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
135
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
136
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a65456b0-96d0-11f1-8cfb-bd5b2c3d655f?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
137
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Simple inputs setParamValue rerun}} with {{success}} for 393 ms
138
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
139
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Simple inputs inputs tweak rerun}}
140
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
141
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a6977a30-96d0-11f1-95ff-f153b466d89c?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
142
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
143
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a6ebb4b0-96d0-11f1-9953-dd7da295d6f6?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
144
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Simple inputs inputs tweak rerun}} with {{success}} for 806 ms
145
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
146
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Simple inputs default values}}
147
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Simple inputs default values}} with {{success}} for 125 ms
148
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
149
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Complex inputs setParamValue}}
150
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
151
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/a744f840-96d0-11f1-8641-3d8f79a03546
152
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
153
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
154
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/a7ce7390-96d0-11f1-e578-45c4a2508356
155
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
156
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
157
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a744aa20-96d0-11f1-c259-bdca7c2e5c85?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
158
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/a744f840-96d0-11f1-8641-3d8f79a03546/data?
159
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/a7ce7390-96d0-11f1-e578-45c4a2508356/data?
160
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Complex inputs setParamValue}} with {{success}} for 2326 ms
161
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
162
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Complex inputs inputs tweak}}
163
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
164
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/a90c23b0-96d0-11f1-bc10-bbd64976ccda
165
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
166
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
167
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/a99fb120-96d0-11f1-e25d-51aa2ca63eb7
168
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
169
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
170
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/a90bd590-96d0-11f1-acd1-5f6eb4638f0a?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
171
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/a90c23b0-96d0-11f1-bc10-bbd64976ccda/data?
172
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/a99fb120-96d0-11f1-e25d-51aa2ca63eb7/data?
173
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Complex inputs inputs tweak}} with {{success}} for 2567 ms
174
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
175
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Complex inputs setParamValue rerun}}
176
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
177
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/aa7b4410-96d0-11f1-e7ce-27c3fdbdcef9
178
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
179
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
180
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/ab081ac0-96d0-11f1-bf31-0bea9a7d895a
181
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
182
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
183
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/aa7af5f0-96d0-11f1-c139-fb35bbb4823e?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
184
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/aa7b4410-96d0-11f1-e7ce-27c3fdbdcef9/data?
185
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/ab081ac0-96d0-11f1-bf31-0bea9a7d895a/data?
186
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
187
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/abc52930-96d0-11f1-83f5-bd3238e383b1
188
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
189
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
190
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/ac5ef830-96d0-11f1-eb28-e9558278758e
191
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
192
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
193
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/abc4db10-96d0-11f1-8235-ff7f77fffb07?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
194
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/abc52930-96d0-11f1-83f5-bd3238e383b1/data?
195
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/ac5ef830-96d0-11f1-eb28-e9558278758e/data?
196
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Complex inputs setParamValue rerun}} with {{success}} for 4364 ms
197
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
198
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Inputs}} {{Complex inputs inputs tweak rerun}}
199
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
200
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/ad7a0520-96d0-11f1-f84e-8991340c4221
201
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
202
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
203
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/ae1bea70-96d0-11f1-9dd3-416963c6d55e
204
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
205
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
206
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/ad79b700-96d0-11f1-d1d2-77eca13c4b62?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
207
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/ad7a0520-96d0-11f1-f84e-8991340c4221/data?
208
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/ae1bea70-96d0-11f1-9dd3-416963c6d55e/data?
209
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
210
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/af103580-96d0-11f1-94be-27345d913a81
211
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
212
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables?
213
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/projects/for_entity/afa8f310-96d0-11f1-ea9d-799ace0fbca1
214
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/privileges/permissions/user
215
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls?
216
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/funcs/calls/af0fe760-96d0-11f1-98ce-1f1be836493e?include=session.user%2Cfunc.package%2C+inputs%2C+outputs
217
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/af103580-96d0-11f1-94be-27345d913a81/data?
218
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/tables/afa8f310-96d0-11f1-ea9d-799ace0fbca1/data?
219
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Inputs}} {{Complex inputs inputs tweak rerun}} with {{success}} for 5359 ms
220
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
221
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Validation}}
222
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Validation}} {{Validate on start}}
223
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Validation}} {{Validate on start}} with {{success}} for 1624 ms
224
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
225
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Validation}} {{Validate on input}}
226
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Validation}} {{Validate on input}} with {{success}} for 2023 ms
227
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
228
+ CONSOLE LOG ENTRY: Package testing: Started {{Compute: RichFunctionView Validation}} {{Revalidation sequence}}
229
+ CONSOLE LOG ENTRY: Package testing: Finished {{Compute: RichFunctionView Validation}} {{Revalidation sequence}} with {{success}} for 2624 ms
230
+ CONSOLE LOG REQUEST: 200, http://localhost:8080/api/log/tests/package?benchmark=false&ciCd=true
Binary file
package/tsconfig.json CHANGED
@@ -1,72 +1,6 @@
1
1
  {
2
- "compilerOptions": {
3
- /* Visit https://aka.ms/tsconfig.json to read more about this file */
4
-
5
- /* Basic Options */
6
- // "incremental": true, /* Enable incremental compilation */
7
- "target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */
8
- "module": "es2020", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */
9
- "lib": ["es2023", "dom"], /* Specify library files to be included in the compilation. */
10
- // "allowJs": true, /* Allow javascript files to be compiled. */
11
- // "checkJs": true, /* Report errors in .js files. */
12
- // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'. */
13
- // "declaration": true, /* Generates corresponding '.d.ts' file. */
14
- // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
15
- "sourceMap": true, /* Generates corresponding '.map' file. */
16
- // "outFile": "./", /* Concatenate and emit output to single file. */
17
- // "outDir": "./", /* Redirect output structure to the directory. */
18
- // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
19
- // "composite": true, /* Enable project compilation */
20
- // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */
21
- // "removeComments": true, /* Do not emit comments to output. */
22
- // "noEmit": true, /* Do not emit outputs. */
23
- // "importHelpers": true, /* Import emit helpers from 'tslib'. */
24
- // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
25
- // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
26
-
27
- /* Strict Type-Checking Options */
28
- "strict": true, /* Enable all strict type-checking options. */
29
- // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
30
- // "strictNullChecks": true, /* Enable strict null checks. */
31
- // "strictFunctionTypes": true, /* Enable strict checking of function types. */
32
- // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
33
- // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
34
- // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
35
- // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
36
-
37
- /* Additional Checks */
38
- // "noUnusedLocals": true, /* Report errors on unused locals. */
39
- // "noUnusedParameters": true, /* Report errors on unused parameters. */
40
- // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
41
- // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
42
- // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
43
- // "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */
44
-
45
- /* Module Resolution Options */
46
- "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
47
- // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
48
- // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
49
- // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
50
- // "typeRoots": [], /* List of folders to include type definitions from. */
51
- // "types": [], /* Type declaration files to be included in compilation. */
52
- // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
53
- "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
54
- "resolveJsonModule": true, /* Allow importing JSON modules. */
55
- // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
56
- // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
57
-
58
- /* Source Map Options */
59
- // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
60
- // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
61
- // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
62
- // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
63
-
64
- /* Experimental Options */
65
- "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
66
- "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
67
-
68
- /* Advanced Options */
69
- "skipLibCheck": true, /* Skip type checking of declaration files. */
70
- "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
71
- }
2
+ "extends": "@datagrok/build-config/tsconfig.base.json",
3
+ "include": [
4
+ "src"
5
+ ]
72
6
  }
package/webpack.config.js CHANGED
@@ -1,69 +1,3 @@
1
- const path = require('path');
2
- const packageName = path.parse(require('./package.json').name).name.toLowerCase().replace(/-/g, '');
3
- const FuncGeneratorPlugin = require('datagrok-tools/plugins/func-gen-plugin');
4
- const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
5
-
6
- module.exports = (env) => {
7
- const stats = env.stats === 'true';
8
- const mode = env.NODE_ENV ?? 'production';
9
- return {
10
- mode,
11
- entry: {
12
- test: {
13
- filename: 'package-test.js',
14
- library: { type: 'var', name: `${packageName}_test` },
15
- import: './src/package-test.ts',
16
- },
17
- package: './src/package.ts',
18
- },
19
- resolve: {
20
- extensions: ['.wasm', '.ts', '.tsx', '.mjs', '.js', '.jsx', '.json'],
21
- },
22
- module: {
23
- rules: [
24
- { test: /\.tsx?$/, loader: 'ts-loader', options: { allowTsInNodeModules: true } },
25
- {
26
- test: /\.css$/,
27
- use: ['style-loader', 'css-loader'],
28
- },
29
- {
30
- test: /\.(ts|tsx|mjs|js|jsx)$/,
31
- enforce: 'pre',
32
- use: ['source-map-loader'],
33
- },
34
- ],
35
- },
36
- devtool: 'source-map',
37
- externals: { // external modules won't be loaded to the output, but taken from the environment
38
- 'datagrok-api/dg': 'DG',
39
- 'datagrok-api/grok': 'grok',
40
- 'datagrok-api/ui': 'ui',
41
- 'openchemlib/full.js': 'OCL',
42
- 'rxjs': 'rxjs',
43
- 'rxjs/operators': 'rxjs.operators',
44
- 'cash-dom': '$',
45
- 'dayjs': 'dayjs',
46
- 'wu': 'wu',
47
- 'exceljs': 'ExcelJS',
48
- 'html2canvas': 'html2canvas',
49
- },
50
- output: {
51
- filename: '[name].js',
52
- library: packageName,
53
- libraryTarget: 'var',
54
- path: path.resolve(__dirname, 'dist'),
55
- clean: true,
56
- },
57
- optimization: {
58
- concatenateModules: false,
59
- },
60
- plugins: [
61
- new BundleAnalyzerPlugin({
62
- defaultSizes: 'parsed',
63
- generateStatsFile: stats,
64
- analyzerMode: 'disabled',
65
- }),
66
- new FuncGeneratorPlugin({ outputPath: './src/package.g.ts' }),
67
- ]
68
- };
69
- }
1
+ // Generated at npm publish for servers before 1.28.0, which detect a bundled
2
+ // package by this file. The bundle itself is built by @datagrok/build-config.
3
+ module.exports = {};
package/.eslintrc.json DELETED
@@ -1,47 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "es2022": true
5
- },
6
- "extends": [
7
- "google"
8
- ],
9
- "parserOptions": {
10
- "ecmaVersion": 12,
11
- "sourceType": "module"
12
- },
13
- "ignorePatterns": ["*.d.ts", "*.js"],
14
- "rules": {
15
- "indent": [
16
- "error",
17
- 2
18
- ],
19
- "max-len": [
20
- "error",
21
- 120
22
- ],
23
- "require-jsdoc": "off",
24
- "spaced-comment": "off",
25
- "linebreak-style": "off",
26
- "no-unused-vars": "off",
27
- "@typescript-eslint/no-unused-vars": "warn",
28
- "curly": [
29
- "error",
30
- "multi-or-nest"
31
- ],
32
- "brace-style": [
33
- "error",
34
- "1tbs",
35
- {
36
- "allowSingleLine": true
37
- }
38
- ],
39
- "block-spacing": 2,
40
- "no-unused-vars": "off",
41
- "@typescript-eslint/no-unused-vars": "warn"
42
- },
43
- "parser": "@typescript-eslint/parser",
44
- "plugins": [
45
- "@typescript-eslint"
46
- ]
47
- }