hise-flow-graphs 1.0.2 → 1.0.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/.eslintrc.js +32 -30
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/src/@types/CertificateTypes.d.ts +60 -0
- package/src/@types/GeneralTypes.d.ts +8 -0
- package/src/@types/index.d.ts +1 -0
- package/src/components/Certificates/CertificateGraph/helpers.jsx +3 -0
- package/src/components/Certificates/ReadCertificate/{ReadNode.jsx → ReadNode.tsx} +2 -2
- package/src/components/Certificates/ReadCertificate/{helpers.js → helpers.ts} +11 -7
- package/src/components/Certificates/ReviewCertificate/{ReviewNode.jsx → ReviewNode.tsx} +5 -4
- package/src/components/Certificates/ReviewCertificate/ReviewNodes/{index.jsx → index.tsx} +24 -10
- package/src/components/Certificates/WorkspaceCertificate/ReplicaNode.tsx +31 -0
- package/src/components/Certificates/WorkspaceCertificate/WorkspaceIDENode.tsx +48 -0
- package/src/components/Certificates/WorkspaceCertificate/WorkspacePipelineNode.tsx +47 -0
- package/src/components/Certificates/WorkspaceCertificate/helpers.ts +4 -3
- package/src/components/Certificates/WorkspaceCertificate/index.tsx +8 -3
- package/src/components/Certificates/WorkspaceCertificate/style.css +10 -0
- package/src/state/{NodeContext.jsx → NodeContext.tsx} +10 -4
- package/webpack.config.js +1 -1
- package/src/components/Certificates/WorkspaceCertificate/ReplicaNode.jsx +0 -26
- package/src/types/CertificateTypes.d.ts +0 -23
- package/yarn-error.log +0 -4328
- /package/src/{index.js → index.ts} +0 -0
package/.eslintrc.js
CHANGED
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
env: {
|
|
3
|
+
browser: true,
|
|
4
|
+
es2021: true,
|
|
5
|
+
},
|
|
6
|
+
extends: [
|
|
7
|
+
'react-app',
|
|
8
|
+
'airbnb',
|
|
9
|
+
'plugin:react/recommended',
|
|
10
|
+
'plugin:flowtype/recommended',
|
|
11
|
+
'plugin:jsx-a11y/recommended',
|
|
12
|
+
],
|
|
13
|
+
parser: '@babel/eslint-parser',
|
|
14
|
+
parserOptions: {
|
|
15
|
+
ecmaFeatures: {
|
|
16
|
+
jsx: true,
|
|
5
17
|
},
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"parserOptions": {
|
|
24
|
-
"ecmaVersion": "latest",
|
|
25
|
-
"sourceType": "module"
|
|
26
|
-
},
|
|
27
|
-
"plugins": [
|
|
28
|
-
"react"
|
|
29
|
-
],
|
|
30
|
-
"rules": {
|
|
31
|
-
}
|
|
32
|
-
}
|
|
18
|
+
ecmaVersion: 'latest',
|
|
19
|
+
sourceType: 'module',
|
|
20
|
+
},
|
|
21
|
+
plugins: [
|
|
22
|
+
'react',
|
|
23
|
+
'flowtype',
|
|
24
|
+
],
|
|
25
|
+
rules: {
|
|
26
|
+
'react/function-component-definition': 'off',
|
|
27
|
+
'arrow-body-style': 'off',
|
|
28
|
+
'import/prefer-default-export': 'off',
|
|
29
|
+
'react/destructuring-assignment': 'off',
|
|
30
|
+
'react/prefer-exact-props': 'off',
|
|
31
|
+
'flowtype/define-flow-type': 1,
|
|
32
|
+
'flowtype/use-flow-type': 1,
|
|
33
|
+
},
|
|
34
|
+
};
|