diff --git a/.eslintignore b/.eslintignore
index 2e9564de7..430f7bcc3 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -1,4 +1,5 @@
**/node_modules/
+src/**/__mocks__/**/*
dist/
Contracts/
src/Api/Apis.ts
diff --git a/.eslintrc.js b/.eslintrc.js
index 800988b8f..f32961a91 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -11,6 +11,7 @@ module.exports = {
},
parser: "@typescript-eslint/parser",
parserOptions: {
+ project: ["./tsconfig.json", "./tsconfig.test.json"],
ecmaFeatures: {
jsx: true,
},
@@ -35,6 +36,7 @@ module.exports = {
rules: {
"no-console": ["error", { allow: ["error", "warn", "dir"] }],
curly: "error",
+ "@typescript-eslint/switch-exhaustiveness-check": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-extraneous-class": "error",
"no-null/no-null": "error",
diff --git a/package-lock.json b/package-lock.json
index 952619bcd..1453876df 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -132,8 +132,8 @@
"@types/sinon": "2.3.3",
"@types/styled-components": "5.1.1",
"@types/underscore": "1.7.36",
- "@typescript-eslint/eslint-plugin": "4.0.1",
- "@typescript-eslint/parser": "4.0.1",
+ "@typescript-eslint/eslint-plugin": "4.22.0",
+ "@typescript-eslint/parser": "4.22.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.1",
"babel-jest": "24.9.0",
"babel-loader": "8.1.0",
@@ -549,6 +549,7 @@
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.9.0.tgz",
"integrity": "sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w==",
+ "dev": true,
"dependencies": {
"@babel/code-frame": "^7.8.3",
"@babel/generator": "^7.9.0",
@@ -609,9 +610,6 @@
"@babel/helper-validator-option": "^7.12.17",
"browserslist": "^4.14.5",
"semver": "^6.3.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
}
},
"node_modules/@babel/helper-compilation-targets/node_modules/semver": {
@@ -634,9 +632,6 @@
"@babel/helper-optimise-call-expression": "^7.12.13",
"@babel/helper-replace-supers": "^7.13.12",
"@babel/helper-split-export-declaration": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0"
}
},
"node_modules/@babel/helper-create-regexp-features-plugin": {
@@ -663,9 +658,6 @@
"lodash.debounce": "^4.0.8",
"resolve": "^1.14.2",
"semver": "^6.1.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.4.0-0"
}
},
"node_modules/@babel/helper-define-polyfill-provider/node_modules/semver": {
@@ -868,9 +860,6 @@
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/helper-remap-async-to-generator": "^7.13.0",
"@babel/plugin-syntax-async-generators": "^7.8.4"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-proposal-class-properties": {
@@ -910,9 +899,6 @@
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-proposal-json-strings": {
@@ -933,9 +919,6 @@
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-proposal-nullish-coalescing-operator": {
@@ -969,9 +952,6 @@
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-parameters": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-proposal-optional-catch-binding": {
@@ -993,9 +973,6 @@
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/helper-skip-transparent-expression-wrappers": "^7.12.1",
"@babel/plugin-syntax-optional-chaining": "^7.8.3"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-proposal-private-methods": {
@@ -1006,9 +983,6 @@
"dependencies": {
"@babel/helper-create-class-features-plugin": "^7.13.0",
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-proposal-private-property-in-object": {
@@ -1021,9 +995,6 @@
"@babel/helper-create-class-features-plugin": "^7.14.0",
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/plugin-syntax-private-property-in-object": "^7.14.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-proposal-unicode-property-regex": {
@@ -1073,9 +1044,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-syntax-decorators": {
@@ -1102,9 +1070,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.8.3"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-syntax-import-meta": {
@@ -1194,9 +1159,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-syntax-top-level-await": {
@@ -1253,9 +1215,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-classes": {
@@ -1289,9 +1248,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-dotall-regex": {
@@ -1369,9 +1325,6 @@
"@babel/helper-module-transforms": "^7.14.0",
"@babel/helper-plugin-utils": "^7.13.0",
"babel-plugin-dynamic-import-node": "^2.3.3"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-modules-commonjs": {
@@ -1384,9 +1337,6 @@
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/helper-simple-access": "^7.13.12",
"babel-plugin-dynamic-import-node": "^2.3.3"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-modules-systemjs": {
@@ -1410,9 +1360,6 @@
"dependencies": {
"@babel/helper-module-transforms": "^7.14.0",
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-named-capturing-groups-regex": {
@@ -1441,9 +1388,6 @@
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13",
"@babel/helper-replace-supers": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-parameters": {
@@ -1453,9 +1397,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-property-literals": {
@@ -1465,9 +1406,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-react-constant-elements": {
@@ -1477,9 +1415,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-react-display-name": {
@@ -1489,9 +1424,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-react-jsx": {
@@ -1505,9 +1437,6 @@
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/plugin-syntax-jsx": "^7.12.13",
"@babel/types": "^7.13.12"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-react-jsx-development": {
@@ -1517,9 +1446,6 @@
"dev": true,
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.17"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-react-jsx-self": {
@@ -1548,9 +1474,6 @@
"dependencies": {
"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-regenerator": {
@@ -1560,9 +1483,6 @@
"dev": true,
"dependencies": {
"regenerator-transform": "^0.14.2"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-reserved-words": {
@@ -1572,9 +1492,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-shorthand-properties": {
@@ -1584,9 +1501,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-spread": {
@@ -1597,9 +1511,6 @@
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/helper-skip-transparent-expression-wrappers": "^7.12.1"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-sticky-regex": {
@@ -1609,9 +1520,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-template-literals": {
@@ -1621,9 +1529,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-typeof-symbol": {
@@ -1633,9 +1538,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-typescript": {
@@ -1656,9 +1558,6 @@
"dev": true,
"dependencies": {
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/plugin-transform-unicode-regex": {
@@ -1669,9 +1568,6 @@
"dependencies": {
"@babel/helper-create-regexp-features-plugin": "^7.12.13",
"@babel/helper-plugin-utils": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/preset-env": {
@@ -1789,9 +1685,6 @@
"make-dir": "^2.1.0",
"pirates": "^4.0.0",
"source-map-support": "^0.5.16"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@babel/register/node_modules/find-cache-dir": {
@@ -3751,9 +3644,6 @@
"object-assign": "^4.1.1",
"prop-types": "^15.6.2",
"scheduler": "^0.19.1"
- },
- "peerDependencies": {
- "react": "^16.14.0"
}
},
"node_modules/@nteract/mathjax/node_modules/scheduler": {
@@ -4653,10 +4543,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/babel-plugin-remove-jsx-attribute": {
@@ -4666,10 +4552,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/babel-plugin-remove-jsx-empty-expression": {
@@ -4679,10 +4561,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/babel-plugin-replace-jsx-attribute-value": {
@@ -4692,10 +4570,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/babel-plugin-svg-dynamic-title": {
@@ -4705,10 +4579,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/babel-plugin-svg-em-dimensions": {
@@ -4718,10 +4588,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/babel-plugin-transform-react-native-svg": {
@@ -4731,10 +4597,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/babel-plugin-transform-svg-component": {
@@ -4744,10 +4606,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/babel-preset": {
@@ -4767,10 +4625,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/core": {
@@ -4785,10 +4639,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/core/node_modules/camelcase": {
@@ -4798,9 +4648,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/@svgr/hast-util-to-babel-ast": {
@@ -4813,10 +4660,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/plugin-jsx": {
@@ -4832,10 +4675,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/plugin-jsx/node_modules/@babel/core": {
@@ -4862,10 +4701,6 @@
},
"engines": {
"node": ">=6.9.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/babel"
}
},
"node_modules/@svgr/plugin-jsx/node_modules/semver": {
@@ -4889,10 +4724,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/webpack": {
@@ -4912,10 +4743,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/gregberge"
}
},
"node_modules/@svgr/webpack/node_modules/@babel/core": {
@@ -4942,10 +4769,6 @@
},
"engines": {
"node": ">=6.9.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/babel"
}
},
"node_modules/@svgr/webpack/node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": {
@@ -4957,9 +4780,6 @@
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/helper-skip-transparent-expression-wrappers": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.13.12"
- },
- "peerDependencies": {
- "@babel/core": "^7.13.0"
}
},
"node_modules/@svgr/webpack/node_modules/@babel/plugin-proposal-class-properties": {
@@ -4970,9 +4790,6 @@
"dependencies": {
"@babel/helper-create-class-features-plugin": "^7.13.0",
"@babel/helper-plugin-utils": "^7.13.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@svgr/webpack/node_modules/@babel/plugin-proposal-class-static-block": {
@@ -4983,9 +4800,6 @@
"dependencies": {
"@babel/helper-plugin-utils": "^7.13.0",
"@babel/plugin-syntax-class-static-block": "^7.12.13"
- },
- "peerDependencies": {
- "@babel/core": "^7.12.0"
}
},
"node_modules/@svgr/webpack/node_modules/@babel/preset-env": {
@@ -5067,9 +4881,6 @@
"babel-plugin-polyfill-regenerator": "^0.2.0",
"core-js-compat": "^3.9.0",
"semver": "^6.3.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@svgr/webpack/node_modules/@babel/preset-react": {
@@ -5084,9 +4895,6 @@
"@babel/plugin-transform-react-jsx": "^7.13.12",
"@babel/plugin-transform-react-jsx-development": "^7.12.17",
"@babel/plugin-transform-react-pure-annotations": "^7.12.1"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/@svgr/webpack/node_modules/loader-utils": {
@@ -5778,7 +5586,7 @@
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",
"integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",
- "devOptional": true,
+ "dev": true,
"dependencies": {
"@types/react": "*",
"hoist-non-react-statics": "^3.3.0"
@@ -6017,7 +5825,7 @@
"version": "12.11.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.11.1.tgz",
"integrity": "sha512-TJtwsqZ39pqcljJpajeoofYRfeZ7/I/OMUQ5pR4q5wOKf2ocrUvBAZUMhWsOvKx3dVc/aaV5GluBivt0sWqA5A==",
- "devOptional": true
+ "dev": true
},
"node_modules/@types/node-fetch": {
"version": "2.5.7",
@@ -6358,15 +6166,16 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.0.1.tgz",
- "integrity": "sha512-pQZtXupCn11O4AwpYVUX4PDFfmIJl90ZgrEBg0CEcqlwvPiG0uY81fimr1oMFblZnpKAq6prrT9a59pj1x58rw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz",
+ "integrity": "sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/experimental-utils": "4.0.1",
- "@typescript-eslint/scope-manager": "4.0.1",
+ "@typescript-eslint/experimental-utils": "4.22.0",
+ "@typescript-eslint/scope-manager": "4.22.0",
"debug": "^4.1.1",
"functional-red-black-tree": "^1.0.1",
+ "lodash": "^4.17.15",
"regexpp": "^3.0.0",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
@@ -6376,15 +6185,15 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/experimental-utils": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.0.1.tgz",
- "integrity": "sha512-gAqOjLiHoED79iYTt3F4uSHrYmg/GPz/zGezdB0jAdr6S6gwNiR/j7cTZ8nREKVzMVKLd9G3xbg1sV9GClW3sw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz",
+ "integrity": "sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg==",
"dev": true,
"dependencies": {
"@types/json-schema": "^7.0.3",
- "@typescript-eslint/scope-manager": "4.0.1",
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/typescript-estree": "4.0.1",
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/typescript-estree": "4.22.0",
"eslint-scope": "^5.0.0",
"eslint-utils": "^2.0.0"
},
@@ -6393,17 +6202,16 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.0.1.tgz",
- "integrity": "sha512-zGzleORFXrRWRJAMLTB2iJD1IZbCPkg4hsI8mGdpYlKaqzvKYSEWVAYh14eauaR+qIoZVWrXgYSXqLtTlxotiw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz",
+ "integrity": "sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/visitor-keys": "4.0.1",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0",
"debug": "^4.1.1",
"globby": "^11.0.1",
"is-glob": "^4.0.1",
- "lodash": "^4.17.15",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
},
@@ -6412,9 +6220,9 @@
}
},
"node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": {
- "version": "7.3.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
- "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -6441,14 +6249,14 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.0.1.tgz",
- "integrity": "sha512-1+qLmXHNAWSQ7RB6fdSQszAiA7JTwzakj5cNYjBTUmpH2cqilxMZEIV+DRKjVZs8NzP3ALmKexB0w/ExjcK9Iw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.22.0.tgz",
+ "integrity": "sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "4.0.1",
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/typescript-estree": "4.0.1",
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/typescript-estree": "4.22.0",
"debug": "^4.1.1"
},
"engines": {
@@ -6456,17 +6264,16 @@
}
},
"node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.0.1.tgz",
- "integrity": "sha512-zGzleORFXrRWRJAMLTB2iJD1IZbCPkg4hsI8mGdpYlKaqzvKYSEWVAYh14eauaR+qIoZVWrXgYSXqLtTlxotiw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz",
+ "integrity": "sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/visitor-keys": "4.0.1",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0",
"debug": "^4.1.1",
"globby": "^11.0.1",
"is-glob": "^4.0.1",
- "lodash": "^4.17.15",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
},
@@ -6475,9 +6282,9 @@
}
},
"node_modules/@typescript-eslint/parser/node_modules/semver": {
- "version": "7.3.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
- "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"dev": true,
"dependencies": {
"lru-cache": "^6.0.0"
@@ -6490,22 +6297,22 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.0.1.tgz",
- "integrity": "sha512-u3YEXVJ8jsj7QCJk3om0Y457fy2euEOkkzxIB/LKU3MdyI+FJ2gI0M4aKEaXzwCSfNDiZ13a3lDo5DVozc+XLQ==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.22.0.tgz",
+ "integrity": "sha512-OcCO7LTdk6ukawUM40wo61WdeoA7NM/zaoq1/2cs13M7GyiF+T4rxuA4xM+6LeHWjWbss7hkGXjFDRcKD4O04Q==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/visitor-keys": "4.0.1"
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0"
},
"engines": {
"node": "^8.10.0 || ^10.13.0 || >=11.10.1"
}
},
"node_modules/@typescript-eslint/types": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.0.1.tgz",
- "integrity": "sha512-S+gD3fgbkZYW2rnbjugNMqibm9HpEjqZBZkTiI3PwbbNGWmAcxolWIUwZ0SKeG4Dy2ktpKKaI/6+HGYVH8Qrlg==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.22.0.tgz",
+ "integrity": "sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA==",
"dev": true,
"engines": {
"node": "^8.10.0 || ^10.13.0 || >=11.10.1"
@@ -6543,12 +6350,12 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.0.1.tgz",
- "integrity": "sha512-yBSqd6FjnTzbg5RUy9J+9kJEyQjTI34JdGMJz+9ttlJzLCnGkBikxw+N5n2VDcc3CesbIEJ0MnZc5uRYnrEnCw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz",
+ "integrity": "sha512-nnMu4F+s4o0sll6cBSsTeVsT4cwxB7zECK3dFxzEjPBii9xLpq4yqqsy/FU5zMfan6G60DKZSCXAa3sHJZrcYw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "4.0.1",
+ "@typescript-eslint/types": "4.22.0",
"eslint-visitor-keys": "^2.0.0"
},
"engines": {
@@ -7016,11 +6823,7 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.0.2.tgz",
"integrity": "sha512-3OBzV2fBGZ5TBfdW50cha1lHDVf9vlvRXnjpVbJBa20pSZQaSkMJZiwA8V2vD9ogyeXn8nU5s5A6mHyf5jhMzA==",
- "dev": true,
- "peerDependencies": {
- "webpack": "4.x.x || 5.x.x",
- "webpack-cli": "4.x.x"
- }
+ "dev": true
},
"node_modules/@webpack-cli/info": {
"version": "1.2.3",
@@ -7029,24 +6832,13 @@
"dev": true,
"dependencies": {
"envinfo": "^7.7.3"
- },
- "peerDependencies": {
- "webpack-cli": "4.x.x"
}
},
"node_modules/@webpack-cli/serve": {
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.3.1.tgz",
"integrity": "sha512-0qXvpeYO6vaNoRBI52/UsbcaBydJCggoBBnIo/ovQQdn6fug0BgwsjorV1hVS7fMqGVTZGcVxv8334gjmbj5hw==",
- "dev": true,
- "peerDependencies": {
- "webpack-cli": "4.x.x"
- },
- "peerDependenciesMeta": {
- "webpack-dev-server": {
- "optional": true
- }
- }
+ "dev": true
},
"node_modules/@wojtekmaj/enzyme-adapter-react-17": {
"version": "0.6.1",
@@ -7062,11 +6854,6 @@
"prop-types": "^15.7.0",
"react-is": "^17.0.0",
"react-test-renderer": "^17.0.0"
- },
- "peerDependencies": {
- "enzyme": "^3.0.0",
- "react": "^17.0.0-0",
- "react-dom": "^17.0.0-0"
}
},
"node_modules/@wojtekmaj/enzyme-adapter-react-17/node_modules/react-is": {
@@ -7085,9 +6872,6 @@
"react-is": "^17.0.2",
"react-shallow-renderer": "^16.13.1",
"scheduler": "^0.20.2"
- },
- "peerDependencies": {
- "react": "17.0.2"
}
},
"node_modules/@wojtekmaj/enzyme-adapter-utils": {
@@ -7101,9 +6885,6 @@
"object.assign": "^4.1.0",
"object.fromentries": "^2.0.0",
"prop-types": "^15.7.0"
- },
- "peerDependencies": {
- "react": "^17.0.0-0"
}
},
"node_modules/@xtuc/ieee754": {
@@ -7836,9 +7617,6 @@
"@babel/compat-data": "^7.13.11",
"@babel/helper-define-polyfill-provider": "^0.2.0",
"semver": "^6.1.1"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/babel-plugin-polyfill-corejs2/node_modules/semver": {
@@ -7858,9 +7636,6 @@
"dependencies": {
"@babel/helper-define-polyfill-provider": "^0.2.0",
"core-js-compat": "^3.9.1"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/babel-plugin-polyfill-regenerator": {
@@ -7870,9 +7645,6 @@
"dev": true,
"dependencies": {
"@babel/helper-define-polyfill-provider": "^0.2.0"
- },
- "peerDependencies": {
- "@babel/core": "^7.0.0-0"
}
},
"node_modules/babel-plugin-styled-components": {
@@ -8386,10 +8158,6 @@
},
"engines": {
"node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/browserslist"
}
},
"node_modules/bs-logger": {
@@ -8826,9 +8594,6 @@
},
"engines": {
"node": ">=10.0.0"
- },
- "peerDependencies": {
- "webpack": ">=4.0.0 <6.0.0"
}
},
"node_modules/clipboard": {
@@ -9198,7 +8963,6 @@
"resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-8.1.1.tgz",
"integrity": "sha512-rYM2uzRxrLRpcyPqGceRBDpxxUV8vcDqIKxAUKfcnFpcrPxT5+XvhTxv7XLjo5AvEJFPdAE3zCogG2JVahqgSQ==",
"dev": true,
- "license": "MIT",
"dependencies": {
"fast-glob": "^3.2.5",
"glob-parent": "^5.1.1",
@@ -9210,13 +8974,6 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^5.1.0"
}
},
"node_modules/copy-webpack-plugin/node_modules/normalize-path": {
@@ -9238,9 +8995,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/copy-webpack-plugin/node_modules/schema-utils": {
@@ -9255,17 +9009,12 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
}
},
"node_modules/core-js": {
"version": "2.6.12",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz",
- "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==",
- "hasInstallScript": true
+ "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ=="
},
"node_modules/core-js-compat": {
"version": "3.11.1",
@@ -9275,10 +9024,6 @@
"dependencies": {
"browserslist": "^4.16.5",
"semver": "7.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/core-js"
}
},
"node_modules/core-js-compat/node_modules/semver": {
@@ -9293,8 +9038,7 @@
"node_modules/core-js-pure": {
"version": "3.8.3",
"resolved": "https://registry.npmjs.org/core-js-pure/-/core-js-pure-3.8.3.tgz",
- "integrity": "sha512-V5qQZVAr9K0xu7jXg1M7qTEwuxUgqr7dUOezGaNa7i+Xn9oXAU/d1fzqD9ObuwpVQOaorO5s70ckyi1woP9lVA==",
- "hasInstallScript": true
+ "integrity": "sha512-V5qQZVAr9K0xu7jXg1M7qTEwuxUgqr7dUOezGaNa7i+Xn9oXAU/d1fzqD9ObuwpVQOaorO5s70ckyi1woP9lVA=="
},
"node_modules/core-util-is": {
"version": "1.0.2",
@@ -9330,9 +9074,6 @@
},
"engines": {
"node": ">=8"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/cosmiconfig/node_modules/path-type": {
@@ -11101,7 +10842,6 @@
"resolved": "https://registry.npmjs.org/enzyme-to-json/-/enzyme-to-json-3.6.2.tgz",
"integrity": "sha512-Ynm6Z6R6iwQ0g2g1YToz6DWhxVnt8Dy1ijR2zynRKxTyBGA8rCDXU3rs2Qc4OKvUvc2Qoe1bcFK6bnPs20TrTg==",
"dev": true,
- "license": "MIT",
"dependencies": {
"@types/cheerio": "^0.22.22",
"lodash": "^4.17.21",
@@ -11109,9 +10849,6 @@
},
"engines": {
"node": ">=6.0.0"
- },
- "peerDependencies": {
- "enzyme": "^3.4.0"
}
},
"node_modules/enzyme/node_modules/object.entries": {
@@ -11173,9 +10910,6 @@
},
"engines": {
"node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/es-module-lexer": {
@@ -11973,11 +11707,7 @@
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/expect-playwright/-/expect-playwright-0.3.4.tgz",
"integrity": "sha512-JulhMkc5lVvpF18ImWLqviHZpo4qzT9FfpF+lP4D+U9guGUnYOCFpS/5Qk1c3zKhYHJL1JBEfiiGfcRUuzsnEg==",
- "dev": true,
- "license": "MIT",
- "peerDependencies": {
- "playwright-core": "^1.10.0"
- }
+ "dev": true
},
"node_modules/expose-loader": {
"version": "0.7.5",
@@ -12378,20 +12108,12 @@
"resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz",
"integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==",
"dev": true,
- "license": "MIT",
"dependencies": {
"loader-utils": "^2.0.0",
"schema-utils": "^3.0.0"
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^4.0.0 || ^5.0.0"
}
},
"node_modules/file-loader/node_modules/loader-utils": {
@@ -12420,10 +12142,6 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
}
},
"node_modules/file-saver": {
@@ -12719,9 +12437,6 @@
},
"engines": {
"node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/find-process/node_modules/chalk": {
@@ -12735,9 +12450,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/find-process/node_modules/color-convert": {
@@ -13098,7 +12810,6 @@
"version": "1.2.13",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
- "hasInstallScript": true,
"optional": true,
"os": [
"darwin"
@@ -13183,9 +12894,6 @@
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/get-package-type": {
@@ -13324,9 +13032,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/globby/node_modules/slash": {
@@ -13436,10 +13141,7 @@
"node_modules/has-bigints": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz",
- "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
+ "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA=="
},
"node_modules/has-flag": {
"version": "3.0.0",
@@ -13455,9 +13157,6 @@
"integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==",
"engines": {
"node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/has-unicode": {
@@ -13695,13 +13394,6 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^5.0.0"
}
},
"node_modules/html-loader-jest": {
@@ -13850,7 +13542,6 @@
"resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-5.3.1.tgz",
"integrity": "sha512-rZsVvPXUYFyME0cuGkyOHfx9hmkFa4pWfxY/mdY38PsBEaVNsRoA+Id+8z6DBDgyv3zaw6XQszdF8HLwfQvcdQ==",
"dev": true,
- "license": "MIT",
"dependencies": {
"@types/html-minifier-terser": "^5.0.0",
"html-minifier-terser": "^5.0.1",
@@ -13860,13 +13551,6 @@
},
"engines": {
"node": ">=10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/html-webpack-plugin"
- },
- "peerDependencies": {
- "webpack": "^5.20.0"
}
},
"node_modules/html-webpack-plugin/node_modules/tapable": {
@@ -14354,10 +14038,7 @@
"node_modules/is-bigint": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz",
- "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
+ "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg=="
},
"node_modules/is-boolean-object": {
"version": "1.1.0",
@@ -14381,9 +14062,6 @@
"integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==",
"engines": {
"node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/is-ci": {
@@ -14630,9 +14308,6 @@
},
"engines": {
"node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/is-root": {
@@ -16814,7 +16489,6 @@
"resolved": "https://registry.npmjs.org/jest-playwright-preset/-/jest-playwright-preset-1.5.2.tgz",
"integrity": "sha512-L7a5poZUR1vbmVNF4te1Ic3rMDBEU0KmIdjuLfGkdGpLgPdfhr6Xh//blbvmpfMj3TMnuuLlf37QkDtJnVa5gA==",
"dev": true,
- "license": "MIT",
"dependencies": {
"expect-playwright": "^0.3.4",
"jest-circus": "^26.6.3",
@@ -18413,9 +18087,6 @@
},
"engines": {
"node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/jest-process-manager/node_modules/chalk": {
@@ -18429,9 +18100,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/jest-process-manager/node_modules/color-convert": {
@@ -21534,13 +21202,6 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^4.4.0 || ^5.0.0"
}
},
"node_modules/mini-css-extract-plugin/node_modules/loader-utils": {
@@ -21569,10 +21230,6 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
}
},
"node_modules/minimalistic-assert": {
@@ -23267,7 +22924,6 @@
"resolved": "https://registry.npmjs.org/playwright/-/playwright-1.10.0.tgz",
"integrity": "sha512-b7SGBcCPq4W3pb4ImEDmNXtO0ZkJbZMuWiShsaNJd+rGfY/6fqwgllsAojmxGSgFmijYw7WxCoPiAIEDIH16Kw==",
"dev": true,
- "hasInstallScript": true,
"dependencies": {
"commander": "^6.1.0",
"debug": "^4.1.1",
@@ -23295,7 +22951,6 @@
"resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.10.0.tgz",
"integrity": "sha512-SDA5KPwnJJSfnNX/b7h8y0ChwBmcbbcCofYXkZGMVuzXZsmHPGLOBRhgkwN2nzJ10Ezf4cd1OcVOeOLKPxjeRg==",
"dev": true,
- "hasInstallScript": true,
"dependencies": {
"commander": "^6.1.0",
"debug": "^4.1.1",
@@ -23346,9 +23001,6 @@
},
"bin": {
"rimraf": "bin.js"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/playwright-core/node_modules/stack-utils": {
@@ -24392,23 +24044,6 @@
"dnd-core": "14.0.0",
"fast-deep-equal": "^3.1.3",
"hoist-non-react-statics": "^3.3.2"
- },
- "peerDependencies": {
- "@types/hoist-non-react-statics": ">= 3.3.1",
- "@types/node": ">= 12",
- "@types/react": ">= 16",
- "react": ">= 16.14"
- },
- "peerDependenciesMeta": {
- "@types/hoist-non-react-statics": {
- "optional": true
- },
- "@types/node": {
- "optional": true
- },
- "@types/react": {
- "optional": true
- }
}
},
"node_modules/react-dnd-html5-backend": {
@@ -24427,9 +24062,6 @@
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"scheduler": "^0.20.2"
- },
- "peerDependencies": {
- "react": "17.0.2"
}
},
"node_modules/react-error-overlay": {
@@ -24561,9 +24193,6 @@
"dependencies": {
"object-assign": "^4.1.1",
"react-is": "^16.12.0 || ^17.0.0"
- },
- "peerDependencies": {
- "react": "^16.0.0 || ^17.0.0"
}
},
"node_modules/react-syntax-highlighter": {
@@ -26551,9 +26180,6 @@
"dependencies": {
"call-bind": "^1.0.2",
"define-properties": "^1.1.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/string.prototype.trimstart": {
@@ -26563,9 +26189,6 @@
"dependencies": {
"call-bind": "^1.0.2",
"define-properties": "^1.1.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/strip-ansi": {
@@ -26655,7 +26278,6 @@
"version": "4.3.2",
"resolved": "https://registry.npmjs.org/styled-components/-/styled-components-4.3.2.tgz",
"integrity": "sha512-NppHzIFavZ3TsIU3R1omtddJ0Bv1+j50AKh3ZWyXHuFvJq1I8qkQ5mZ7uQgD89Y8zJNx2qRo6RqAH1BmoVafHw==",
- "hasInstallScript": true,
"dependencies": {
"@babel/helper-module-imports": "^7.0.0",
"@babel/traverse": "^7.0.0",
@@ -26790,9 +26412,6 @@
"dev": true,
"engines": {
"node": ">= 6"
- },
- "funding": {
- "url": "https://github.com/sponsors/fb55"
}
},
"node_modules/svgo/node_modules/dom-serializer": {
@@ -26852,9 +26471,6 @@
"es-abstract": "^1.17.2",
"has-symbols": "^1.0.1",
"object.getownpropertydescriptors": "^2.1.0"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/svgpath": {
@@ -27059,13 +26675,6 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependencies": {
- "webpack": "^5.1.0"
}
},
"node_modules/terser-webpack-plugin/node_modules/has-flag": {
@@ -27115,10 +26724,6 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
}
},
"node_modules/terser-webpack-plugin/node_modules/source-map": {
@@ -27420,10 +27025,6 @@
},
"engines": {
"node": ">=12.0.0"
- },
- "peerDependencies": {
- "typescript": "*",
- "webpack": "*"
}
},
"node_modules/ts-loader/node_modules/ansi-styles": {
@@ -27436,9 +27037,6 @@
},
"engines": {
"node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/ts-loader/node_modules/braces": {
@@ -27464,9 +27062,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/ts-loader/node_modules/color-convert": {
@@ -27780,9 +27375,6 @@
"has-bigints": "^1.0.1",
"has-symbols": "^1.0.2",
"which-boxed-primitive": "^1.0.2"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/underscore": {
@@ -28416,15 +28008,6 @@
},
"engines": {
"node": ">=10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
- },
- "peerDependenciesMeta": {
- "webpack-cli": {
- "optional": true
- }
}
},
"node_modules/webpack-bundle-analyzer": {
@@ -28481,9 +28064,6 @@
},
"engines": {
"node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
"node_modules/webpack-bundle-analyzer/node_modules/chalk": {
@@ -28497,9 +28077,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/chalk?sponsor=1"
}
},
"node_modules/webpack-bundle-analyzer/node_modules/color-convert": {
@@ -28539,9 +28116,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/webpack-bundle-analyzer/node_modules/has-flag": {
@@ -28591,23 +28165,6 @@
},
"engines": {
"node": ">=10.13.0"
- },
- "peerDependencies": {
- "webpack": "4.x.x || 5.x.x"
- },
- "peerDependenciesMeta": {
- "@webpack-cli/generators": {
- "optional": true
- },
- "@webpack-cli/migrate": {
- "optional": true
- },
- "webpack-bundle-analyzer": {
- "optional": true
- },
- "webpack-dev-server": {
- "optional": true
- }
}
},
"node_modules/webpack-cli/node_modules/commander": {
@@ -28651,9 +28208,6 @@
},
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sindresorhus/execa?sponsor=1"
}
},
"node_modules/webpack-cli/node_modules/find-up": {
@@ -28676,9 +28230,6 @@
"dev": true,
"engines": {
"node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/webpack-cli/node_modules/human-signals": {
@@ -28942,14 +28493,6 @@
},
"engines": {
"node": ">= 6.11.5"
- },
- "peerDependencies": {
- "webpack": "^4.0.0 || ^5.0.0"
- },
- "peerDependenciesMeta": {
- "webpack-cli": {
- "optional": true
- }
}
},
"node_modules/webpack-dev-server/node_modules/binary-extensions": {
@@ -29174,10 +28717,6 @@
},
"engines": {
"node": ">= 10.13.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/webpack"
}
},
"node_modules/webpack/node_modules/source-map": {
@@ -29278,9 +28817,6 @@
"is-number-object": "^1.0.4",
"is-string": "^1.0.5",
"is-symbol": "^1.0.3"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/which-module": {
@@ -29949,6 +29485,7 @@
"version": "7.9.0",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.9.0.tgz",
"integrity": "sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w==",
+ "dev": true,
"requires": {
"@babel/code-frame": "^7.8.3",
"@babel/generator": "^7.9.0",
@@ -34672,7 +34209,7 @@
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/@types/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz",
"integrity": "sha512-iMIqiko6ooLrTh1joXodJK5X9xeEALT1kM5G3ZLhD3hszxBdIEd5C75U834D9mLcINgD4OyZf5uQXjkuYydWvA==",
- "devOptional": true,
+ "dev": true,
"requires": {
"@types/react": "*",
"hoist-non-react-statics": "^3.3.0"
@@ -34882,7 +34419,7 @@
"version": "12.11.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.11.1.tgz",
"integrity": "sha512-TJtwsqZ39pqcljJpajeoofYRfeZ7/I/OMUQ5pR4q5wOKf2ocrUvBAZUMhWsOvKx3dVc/aaV5GluBivt0sWqA5A==",
- "devOptional": true
+ "dev": true
},
"@types/node-fetch": {
"version": "2.5.7",
@@ -35225,54 +34762,54 @@
}
},
"@typescript-eslint/eslint-plugin": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.0.1.tgz",
- "integrity": "sha512-pQZtXupCn11O4AwpYVUX4PDFfmIJl90ZgrEBg0CEcqlwvPiG0uY81fimr1oMFblZnpKAq6prrT9a59pj1x58rw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.22.0.tgz",
+ "integrity": "sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA==",
"dev": true,
"requires": {
- "@typescript-eslint/experimental-utils": "4.0.1",
- "@typescript-eslint/scope-manager": "4.0.1",
+ "@typescript-eslint/experimental-utils": "4.22.0",
+ "@typescript-eslint/scope-manager": "4.22.0",
"debug": "^4.1.1",
"functional-red-black-tree": "^1.0.1",
+ "lodash": "^4.17.15",
"regexpp": "^3.0.0",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
},
"dependencies": {
"@typescript-eslint/experimental-utils": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.0.1.tgz",
- "integrity": "sha512-gAqOjLiHoED79iYTt3F4uSHrYmg/GPz/zGezdB0jAdr6S6gwNiR/j7cTZ8nREKVzMVKLd9G3xbg1sV9GClW3sw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-4.22.0.tgz",
+ "integrity": "sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg==",
"dev": true,
"requires": {
"@types/json-schema": "^7.0.3",
- "@typescript-eslint/scope-manager": "4.0.1",
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/typescript-estree": "4.0.1",
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/typescript-estree": "4.22.0",
"eslint-scope": "^5.0.0",
"eslint-utils": "^2.0.0"
}
},
"@typescript-eslint/typescript-estree": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.0.1.tgz",
- "integrity": "sha512-zGzleORFXrRWRJAMLTB2iJD1IZbCPkg4hsI8mGdpYlKaqzvKYSEWVAYh14eauaR+qIoZVWrXgYSXqLtTlxotiw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz",
+ "integrity": "sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/visitor-keys": "4.0.1",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0",
"debug": "^4.1.1",
"globby": "^11.0.1",
"is-glob": "^4.0.1",
- "lodash": "^4.17.15",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
}
},
"semver": {
- "version": "7.3.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
- "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"dev": true,
"requires": {
"lru-cache": "^6.0.0"
@@ -35292,37 +34829,36 @@
}
},
"@typescript-eslint/parser": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.0.1.tgz",
- "integrity": "sha512-1+qLmXHNAWSQ7RB6fdSQszAiA7JTwzakj5cNYjBTUmpH2cqilxMZEIV+DRKjVZs8NzP3ALmKexB0w/ExjcK9Iw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-4.22.0.tgz",
+ "integrity": "sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q==",
"dev": true,
"requires": {
- "@typescript-eslint/scope-manager": "4.0.1",
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/typescript-estree": "4.0.1",
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/typescript-estree": "4.22.0",
"debug": "^4.1.1"
},
"dependencies": {
"@typescript-eslint/typescript-estree": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.0.1.tgz",
- "integrity": "sha512-zGzleORFXrRWRJAMLTB2iJD1IZbCPkg4hsI8mGdpYlKaqzvKYSEWVAYh14eauaR+qIoZVWrXgYSXqLtTlxotiw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-4.22.0.tgz",
+ "integrity": "sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/visitor-keys": "4.0.1",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0",
"debug": "^4.1.1",
"globby": "^11.0.1",
"is-glob": "^4.0.1",
- "lodash": "^4.17.15",
"semver": "^7.3.2",
"tsutils": "^3.17.1"
}
},
"semver": {
- "version": "7.3.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz",
- "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==",
+ "version": "7.3.5",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
"dev": true,
"requires": {
"lru-cache": "^6.0.0"
@@ -35331,19 +34867,19 @@
}
},
"@typescript-eslint/scope-manager": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.0.1.tgz",
- "integrity": "sha512-u3YEXVJ8jsj7QCJk3om0Y457fy2euEOkkzxIB/LKU3MdyI+FJ2gI0M4aKEaXzwCSfNDiZ13a3lDo5DVozc+XLQ==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-4.22.0.tgz",
+ "integrity": "sha512-OcCO7LTdk6ukawUM40wo61WdeoA7NM/zaoq1/2cs13M7GyiF+T4rxuA4xM+6LeHWjWbss7hkGXjFDRcKD4O04Q==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.1",
- "@typescript-eslint/visitor-keys": "4.0.1"
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0"
}
},
"@typescript-eslint/types": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.0.1.tgz",
- "integrity": "sha512-S+gD3fgbkZYW2rnbjugNMqibm9HpEjqZBZkTiI3PwbbNGWmAcxolWIUwZ0SKeG4Dy2ktpKKaI/6+HGYVH8Qrlg==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-4.22.0.tgz",
+ "integrity": "sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA==",
"dev": true
},
"@typescript-eslint/typescript-estree": {
@@ -35371,12 +34907,12 @@
}
},
"@typescript-eslint/visitor-keys": {
- "version": "4.0.1",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.0.1.tgz",
- "integrity": "sha512-yBSqd6FjnTzbg5RUy9J+9kJEyQjTI34JdGMJz+9ttlJzLCnGkBikxw+N5n2VDcc3CesbIEJ0MnZc5uRYnrEnCw==",
+ "version": "4.22.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-4.22.0.tgz",
+ "integrity": "sha512-nnMu4F+s4o0sll6cBSsTeVsT4cwxB7zECK3dFxzEjPBii9xLpq4yqqsy/FU5zMfan6G60DKZSCXAa3sHJZrcYw==",
"dev": true,
"requires": {
- "@typescript-eslint/types": "4.0.1",
+ "@typescript-eslint/types": "4.22.0",
"eslint-visitor-keys": "^2.0.0"
},
"dependencies": {
@@ -35854,8 +35390,7 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@webpack-cli/configtest/-/configtest-1.0.2.tgz",
"integrity": "sha512-3OBzV2fBGZ5TBfdW50cha1lHDVf9vlvRXnjpVbJBa20pSZQaSkMJZiwA8V2vD9ogyeXn8nU5s5A6mHyf5jhMzA==",
- "dev": true,
- "requires": {}
+ "dev": true
},
"@webpack-cli/info": {
"version": "1.2.3",
@@ -35870,8 +35405,7 @@
"version": "1.3.1",
"resolved": "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.3.1.tgz",
"integrity": "sha512-0qXvpeYO6vaNoRBI52/UsbcaBydJCggoBBnIo/ovQQdn6fug0BgwsjorV1hVS7fMqGVTZGcVxv8334gjmbj5hw==",
- "dev": true,
- "requires": {}
+ "dev": true
},
"@wojtekmaj/enzyme-adapter-react-17": {
"version": "0.6.1",
@@ -40098,8 +39632,7 @@
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/expect-playwright/-/expect-playwright-0.3.4.tgz",
"integrity": "sha512-JulhMkc5lVvpF18ImWLqviHZpo4qzT9FfpF+lP4D+U9guGUnYOCFpS/5Qk1c3zKhYHJL1JBEfiiGfcRUuzsnEg==",
- "dev": true,
- "requires": {}
+ "dev": true
},
"expose-loader": {
"version": "0.7.5",
diff --git a/package.json b/package.json
index 34c396514..e9d37a424 100644
--- a/package.json
+++ b/package.json
@@ -129,8 +129,8 @@
"@types/sinon": "2.3.3",
"@types/styled-components": "5.1.1",
"@types/underscore": "1.7.36",
- "@typescript-eslint/eslint-plugin": "4.0.1",
- "@typescript-eslint/parser": "4.0.1",
+ "@typescript-eslint/eslint-plugin": "4.22.0",
+ "@typescript-eslint/parser": "4.22.0",
"@wojtekmaj/enzyme-adapter-react-17": "0.6.1",
"babel-jest": "24.9.0",
"babel-loader": "8.1.0",
diff --git a/src/Explorer/ComponentRegisterer.ts b/src/Explorer/ComponentRegisterer.ts
index 82d5bdcfa..af9ef47a7 100644
--- a/src/Explorer/ComponentRegisterer.ts
+++ b/src/Explorer/ComponentRegisterer.ts
@@ -25,4 +25,3 @@ ko.components.register("graph-styling-pane", new PaneComponents.GraphStylingPane
ko.components.register("table-add-entity-pane", new PaneComponents.TableAddEntityPaneComponent());
ko.components.register("table-edit-entity-pane", new PaneComponents.TableEditEntityPaneComponent());
ko.components.register("cassandra-add-collection-pane", new PaneComponents.CassandraAddCollectionPaneComponent());
-ko.components.register("github-repos-pane", new PaneComponents.GitHubReposPaneComponent());
diff --git a/src/Explorer/Controls/GitHub/GitHubReposComponent.tsx b/src/Explorer/Controls/GitHub/GitHubReposComponent.tsx
index 7a87f4246..a75fe5060 100644
--- a/src/Explorer/Controls/GitHub/GitHubReposComponent.tsx
+++ b/src/Explorer/Controls/GitHub/GitHubReposComponent.tsx
@@ -23,8 +23,6 @@ export interface RepoListItem {
}
export class GitHubReposComponent extends React.Component {
- public static readonly ConnectToGitHubTitle = "Connect to GitHub";
- public static readonly ManageGitHubRepoTitle = "Manage GitHub settings";
private static readonly ManageGitHubRepoDescription =
"Select your GitHub repos and branch(es) to pin to your notebooks workspace.";
private static readonly ManageGitHubRepoResetConnection = "View or change your GitHub authorization settings.";
@@ -32,14 +30,6 @@ export class GitHubReposComponent extends React.Component
- {this.props.showAuthorizeAccess
- ? GitHubReposComponent.ConnectToGitHubTitle
- : GitHubReposComponent.ManageGitHubRepoTitle}
-
- );
-
const content: JSX.Element = this.props.showAuthorizeAccess ? (
) : (
@@ -66,9 +56,6 @@ export class GitHubReposComponent extends React.Component
-
- {header}
-
{content}
{!this.props.showAuthorizeAccess && (
<>
diff --git a/src/Explorer/Controls/GitHub/GitHubStyleConstants.ts b/src/Explorer/Controls/GitHub/GitHubStyleConstants.ts
index 25866271d..190719325 100644
--- a/src/Explorer/Controls/GitHub/GitHubStyleConstants.ts
+++ b/src/Explorer/Controls/GitHub/GitHubStyleConstants.ts
@@ -1,19 +1,21 @@
import {
- IStyleFunctionOrObject,
ICheckboxStyleProps,
ICheckboxStyles,
- IDropdownStyles,
IDropdownStyleProps,
+ IDropdownStyles,
+ IStyleFunctionOrObject,
} from "office-ui-fabric-react";
export const ButtonsFooterStyle: React.CSSProperties = {
- padding: 14,
+ paddingTop: 14,
height: "auto",
+ borderTop: "2px solid lightGray",
};
export const ContentFooterStyle: React.CSSProperties = {
- padding: "10px 24px 10px 24px",
+ paddingTop: "10px",
height: "auto",
+ borderTop: "2px solid lightGray",
};
export const ChildrenMargin = 10;
@@ -53,6 +55,11 @@ export const BranchesDropdownOptionContainerStyle: React.CSSProperties = {
padding: 8,
};
+export const ContentMainStyle: React.CSSProperties = {
+ display: "flex",
+ flexDirection: "column",
+};
+
export const ReposListRepoColumnMinWidth = 192;
export const ReposListBranchesColumnWidth = 116;
export const BranchesDropdownWidth = 200;
diff --git a/src/Explorer/Controls/Settings/__snapshots__/SettingsComponent.test.tsx.snap b/src/Explorer/Controls/Settings/__snapshots__/SettingsComponent.test.tsx.snap
index 30cd9914c..f116d83f7 100644
--- a/src/Explorer/Controls/Settings/__snapshots__/SettingsComponent.test.tsx.snap
+++ b/src/Explorer/Controls/Settings/__snapshots__/SettingsComponent.test.tsx.snap
@@ -427,6 +427,773 @@ exports[`SettingsComponent renders 1`] = `
"defaultExperience": [Function],
"deleteCollectionText": [Function],
"deleteDatabaseText": [Function],
+ "gitHubClient": GitHubClient {
+ "errorCallback": [Function],
+ "ocktokit": OctokitWithDefaults {
+ "actions": Object {
+ "addSelectedRepoToOrgSecret": [Function],
+ "cancelWorkflowRun": [Function],
+ "createOrUpdateOrgSecret": [Function],
+ "createOrUpdateRepoSecret": [Function],
+ "createOrUpdateSecretForRepo": [Function],
+ "createRegistrationToken": [Function],
+ "createRegistrationTokenForOrg": [Function],
+ "createRegistrationTokenForRepo": [Function],
+ "createRemoveToken": [Function],
+ "createRemoveTokenForOrg": [Function],
+ "createRemoveTokenForRepo": [Function],
+ "deleteArtifact": [Function],
+ "deleteOrgSecret": [Function],
+ "deleteRepoSecret": [Function],
+ "deleteSecretFromRepo": [Function],
+ "deleteSelfHostedRunnerFromOrg": [Function],
+ "deleteSelfHostedRunnerFromRepo": [Function],
+ "deleteWorkflowRunLogs": [Function],
+ "downloadArtifact": [Function],
+ "downloadJobLogsForWorkflowRun": [Function],
+ "downloadWorkflowJobLogs": [Function],
+ "downloadWorkflowRunLogs": [Function],
+ "getArtifact": [Function],
+ "getJobForWorkflowRun": [Function],
+ "getOrgPublicKey": [Function],
+ "getOrgSecret": [Function],
+ "getPublicKey": [Function],
+ "getRepoPublicKey": [Function],
+ "getRepoSecret": [Function],
+ "getSecret": [Function],
+ "getSelfHostedRunner": [Function],
+ "getSelfHostedRunnerForOrg": [Function],
+ "getSelfHostedRunnerForRepo": [Function],
+ "getWorkflow": [Function],
+ "getWorkflowJob": [Function],
+ "getWorkflowRun": [Function],
+ "getWorkflowRunUsage": [Function],
+ "getWorkflowUsage": [Function],
+ "listArtifactsForRepo": [Function],
+ "listDownloadsForSelfHostedRunnerApplication": [Function],
+ "listJobsForWorkflowRun": [Function],
+ "listOrgSecrets": [Function],
+ "listRepoSecrets": [Function],
+ "listRepoWorkflowRuns": [Function],
+ "listRepoWorkflows": [Function],
+ "listRunnerApplicationsForOrg": [Function],
+ "listRunnerApplicationsForRepo": [Function],
+ "listSecretsForRepo": [Function],
+ "listSelectedReposForOrgSecret": [Function],
+ "listSelfHostedRunnersForOrg": [Function],
+ "listSelfHostedRunnersForRepo": [Function],
+ "listWorkflowJobLogs": [Function],
+ "listWorkflowRunArtifacts": [Function],
+ "listWorkflowRunLogs": [Function],
+ "listWorkflowRuns": [Function],
+ "listWorkflowRunsForRepo": [Function],
+ "reRunWorkflow": [Function],
+ "removeSelectedRepoFromOrgSecret": [Function],
+ "removeSelfHostedRunner": [Function],
+ "setSelectedReposForOrgSecret": [Function],
+ },
+ "activity": Object {
+ "checkRepoIsStarredByAuthenticatedUser": [Function],
+ "checkStarringRepo": [Function],
+ "deleteRepoSubscription": [Function],
+ "deleteThreadSubscription": [Function],
+ "getFeeds": [Function],
+ "getRepoSubscription": [Function],
+ "getThread": [Function],
+ "getThreadSubscription": [Function],
+ "getThreadSubscriptionForAuthenticatedUser": [Function],
+ "listEventsForAuthenticatedUser": [Function],
+ "listEventsForOrg": [Function],
+ "listEventsForUser": [Function],
+ "listFeeds": [Function],
+ "listNotifications": [Function],
+ "listNotificationsForAuthenticatedUser": [Function],
+ "listNotificationsForRepo": [Function],
+ "listOrgEventsForAuthenticatedUser": [Function],
+ "listPublicEvents": [Function],
+ "listPublicEventsForOrg": [Function],
+ "listPublicEventsForRepoNetwork": [Function],
+ "listPublicEventsForUser": [Function],
+ "listPublicOrgEvents": [Function],
+ "listReceivedEventsForUser": [Function],
+ "listReceivedPublicEventsForUser": [Function],
+ "listRepoEvents": [Function],
+ "listRepoNotificationsForAuthenticatedUser": [Function],
+ "listReposStarredByAuthenticatedUser": [Function],
+ "listReposStarredByUser": [Function],
+ "listReposWatchedByUser": [Function],
+ "listStargazersForRepo": [Function],
+ "listWatchedReposForAuthenticatedUser": [Function],
+ "listWatchersForRepo": [Function],
+ "markAsRead": [Function],
+ "markNotificationsAsRead": [Function],
+ "markNotificationsAsReadForRepo": [Function],
+ "markRepoNotificationsAsRead": [Function],
+ "markThreadAsRead": [Function],
+ "setRepoSubscription": [Function],
+ "setThreadSubscription": [Function],
+ "starRepo": [Function],
+ "starRepoForAuthenticatedUser": [Function],
+ "unstarRepo": [Function],
+ "unstarRepoForAuthenticatedUser": [Function],
+ },
+ "apps": Object {
+ "addRepoToInstallation": [Function],
+ "checkAccountIsAssociatedWithAny": [Function],
+ "checkAccountIsAssociatedWithAnyStubbed": [Function],
+ "checkToken": [Function],
+ "createContentAttachment": [Function],
+ "createFromManifest": [Function],
+ "createInstallationAccessToken": [Function],
+ "createInstallationToken": [Function],
+ "deleteAuthorization": [Function],
+ "deleteInstallation": [Function],
+ "deleteToken": [Function],
+ "getAuthenticated": [Function],
+ "getBySlug": [Function],
+ "getInstallation": [Function],
+ "getOrgInstallation": [Function],
+ "getRepoInstallation": [Function],
+ "getSubscriptionPlanForAccount": [Function],
+ "getSubscriptionPlanForAccountStubbed": [Function],
+ "getUserInstallation": [Function],
+ "listAccountsForPlan": [Function],
+ "listAccountsForPlanStubbed": [Function],
+ "listAccountsUserOrOrgOnPlan": [Function],
+ "listAccountsUserOrOrgOnPlanStubbed": [Function],
+ "listInstallationReposForAuthenticatedUser": [Function],
+ "listInstallations": [Function],
+ "listInstallationsForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUserStubbed": [Function],
+ "listPlans": [Function],
+ "listPlansStubbed": [Function],
+ "listRepos": [Function],
+ "listReposAccessibleToInstallation": [Function],
+ "listSubscriptionsForAuthenticatedUser": [Function],
+ "listSubscriptionsForAuthenticatedUserStubbed": [Function],
+ "removeRepoFromInstallation": [Function],
+ "resetToken": [Function],
+ "revokeInstallationAccessToken": [Function],
+ "revokeInstallationToken": [Function],
+ "suspendInstallation": [Function],
+ "unsuspendInstallation": [Function],
+ },
+ "auth": [Function],
+ "checks": Object {
+ "create": [Function],
+ "createSuite": [Function],
+ "get": [Function],
+ "getSuite": [Function],
+ "listAnnotations": [Function],
+ "listForRef": [Function],
+ "listForSuite": [Function],
+ "listSuitesForRef": [Function],
+ "rerequestSuite": [Function],
+ "setSuitesPreferences": [Function],
+ "update": [Function],
+ },
+ "codeScanning": Object {
+ "getAlert": [Function],
+ "listAlertsForRepo": [Function],
+ },
+ "codesOfConduct": Object {
+ "getAllCodesOfConduct": [Function],
+ "getConductCode": [Function],
+ "getForRepo": [Function],
+ "listConductCodes": [Function],
+ },
+ "emojis": Object {
+ "get": [Function],
+ },
+ "gists": Object {
+ "checkIsStarred": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "delete": [Function],
+ "deleteComment": [Function],
+ "fork": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getRevision": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommits": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listPublic": [Function],
+ "listPublicForUser": [Function],
+ "listStarred": [Function],
+ "star": [Function],
+ "unstar": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ },
+ "git": Object {
+ "createBlob": [Function],
+ "createCommit": [Function],
+ "createRef": [Function],
+ "createTag": [Function],
+ "createTree": [Function],
+ "deleteRef": [Function],
+ "getBlob": [Function],
+ "getCommit": [Function],
+ "getRef": [Function],
+ "getTag": [Function],
+ "getTree": [Function],
+ "listMatchingRefs": [Function],
+ "updateRef": [Function],
+ },
+ "gitignore": Object {
+ "getAllTemplates": [Function],
+ "getTemplate": [Function],
+ "listTemplates": [Function],
+ },
+ "graphql": [Function],
+ "hook": [Function],
+ "interactions": Object {
+ "addOrUpdateRestrictionsForOrg": [Function],
+ "addOrUpdateRestrictionsForRepo": [Function],
+ "getRestrictionsForOrg": [Function],
+ "getRestrictionsForRepo": [Function],
+ "removeRestrictionsForOrg": [Function],
+ "removeRestrictionsForRepo": [Function],
+ "setRestrictionsForOrg": [Function],
+ "setRestrictionsForRepo": [Function],
+ },
+ "issues": Object {
+ "addAssignees": [Function],
+ "addLabels": [Function],
+ "checkAssignee": [Function],
+ "checkUserCanBeAssigned": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createLabel": [Function],
+ "createMilestone": [Function],
+ "deleteComment": [Function],
+ "deleteLabel": [Function],
+ "deleteMilestone": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getEvent": [Function],
+ "getLabel": [Function],
+ "getMilestone": [Function],
+ "list": [Function],
+ "listAssignees": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listEvents": [Function],
+ "listEventsForRepo": [Function],
+ "listEventsForTimeline": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listLabelsForMilestone": [Function],
+ "listLabelsForRepo": [Function],
+ "listLabelsOnIssue": [Function],
+ "listMilestones": [Function],
+ "listMilestonesForRepo": [Function],
+ "lock": [Function],
+ "removeAllLabels": [Function],
+ "removeAssignees": [Function],
+ "removeLabel": [Function],
+ "removeLabels": [Function],
+ "replaceAllLabels": [Function],
+ "replaceLabels": [Function],
+ "setLabels": [Function],
+ "unlock": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ "updateLabel": [Function],
+ "updateMilestone": [Function],
+ },
+ "licenses": Object {
+ "get": [Function],
+ "getAllCommonlyUsed": [Function],
+ "getForRepo": [Function],
+ "listCommonlyUsed": [Function],
+ },
+ "log": Object {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "markdown": Object {
+ "render": [Function],
+ "renderRaw": [Function],
+ },
+ "meta": Object {
+ "get": [Function],
+ },
+ "migrations": Object {
+ "cancelImport": [Function],
+ "deleteArchiveForAuthenticatedUser": [Function],
+ "deleteArchiveForOrg": [Function],
+ "downloadArchiveForOrg": [Function],
+ "getArchiveForAuthenticatedUser": [Function],
+ "getCommitAuthors": [Function],
+ "getImportProgress": [Function],
+ "getImportStatus": [Function],
+ "getLargeFiles": [Function],
+ "getStatusForAuthenticatedUser": [Function],
+ "getStatusForOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listReposForOrg": [Function],
+ "listReposForUser": [Function],
+ "mapCommitAuthor": [Function],
+ "setLfsPreference": [Function],
+ "startForAuthenticatedUser": [Function],
+ "startForOrg": [Function],
+ "startImport": [Function],
+ "unlockRepoForAuthenticatedUser": [Function],
+ "unlockRepoForOrg": [Function],
+ "updateImport": [Function],
+ },
+ "orgs": Object {
+ "addOrUpdateMembership": [Function],
+ "blockUser": [Function],
+ "checkBlockedUser": [Function],
+ "checkMembership": [Function],
+ "checkMembershipForUser": [Function],
+ "checkPublicMembership": [Function],
+ "checkPublicMembershipForUser": [Function],
+ "concealMembership": [Function],
+ "convertMemberToOutsideCollaborator": [Function],
+ "createHook": [Function],
+ "createInvitation": [Function],
+ "createWebhook": [Function],
+ "deleteHook": [Function],
+ "deleteWebhook": [Function],
+ "get": [Function],
+ "getHook": [Function],
+ "getMembership": [Function],
+ "getMembershipForAuthenticatedUser": [Function],
+ "getMembershipForUser": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAppInstallations": [Function],
+ "listBlockedUsers": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForUser": [Function],
+ "listHooks": [Function],
+ "listInstallations": [Function],
+ "listInvitationTeams": [Function],
+ "listMembers": [Function],
+ "listMemberships": [Function],
+ "listMembershipsForAuthenticatedUser": [Function],
+ "listOutsideCollaborators": [Function],
+ "listPendingInvitations": [Function],
+ "listPublicMembers": [Function],
+ "listWebhooks": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "publicizeMembership": [Function],
+ "removeMember": [Function],
+ "removeMembership": [Function],
+ "removeMembershipForUser": [Function],
+ "removeOutsideCollaborator": [Function],
+ "removePublicMembershipForAuthenticatedUser": [Function],
+ "setMembershipForUser": [Function],
+ "setPublicMembershipForAuthenticatedUser": [Function],
+ "unblockUser": [Function],
+ "update": [Function],
+ "updateHook": [Function],
+ "updateMembership": [Function],
+ "updateMembershipForAuthenticatedUser": [Function],
+ "updateWebhook": [Function],
+ },
+ "paginate": [Function],
+ "projects": Object {
+ "addCollaborator": [Function],
+ "createCard": [Function],
+ "createColumn": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createForOrg": [Function],
+ "createForRepo": [Function],
+ "delete": [Function],
+ "deleteCard": [Function],
+ "deleteColumn": [Function],
+ "get": [Function],
+ "getCard": [Function],
+ "getColumn": [Function],
+ "getPermissionForUser": [Function],
+ "listCards": [Function],
+ "listCollaborators": [Function],
+ "listColumns": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listForUser": [Function],
+ "moveCard": [Function],
+ "moveColumn": [Function],
+ "removeCollaborator": [Function],
+ "reviewUserPermissionLevel": [Function],
+ "update": [Function],
+ "updateCard": [Function],
+ "updateColumn": [Function],
+ },
+ "pulls": Object {
+ "checkIfMerged": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createReplyForReviewComment": [Function],
+ "createReview": [Function],
+ "createReviewComment": [Function],
+ "createReviewCommentReply": [Function],
+ "createReviewRequest": [Function],
+ "deleteComment": [Function],
+ "deletePendingReview": [Function],
+ "deleteReviewComment": [Function],
+ "deleteReviewRequest": [Function],
+ "dismissReview": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getCommentsForReview": [Function],
+ "getReview": [Function],
+ "getReviewComment": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listCommentsForReview": [Function],
+ "listCommits": [Function],
+ "listFiles": [Function],
+ "listRequestedReviewers": [Function],
+ "listReviewComments": [Function],
+ "listReviewCommentsForRepo": [Function],
+ "listReviewRequests": [Function],
+ "listReviews": [Function],
+ "merge": [Function],
+ "removeRequestedReviewers": [Function],
+ "requestReviewers": [Function],
+ "submitReview": [Function],
+ "update": [Function],
+ "updateBranch": [Function],
+ "updateComment": [Function],
+ "updateReview": [Function],
+ "updateReviewComment": [Function],
+ },
+ "rateLimit": Object {
+ "get": [Function],
+ },
+ "reactions": Object {
+ "createForCommitComment": [Function],
+ "createForIssue": [Function],
+ "createForIssueComment": [Function],
+ "createForPullRequestReviewComment": [Function],
+ "createForTeamDiscussionCommentInOrg": [Function],
+ "createForTeamDiscussionInOrg": [Function],
+ "delete": [Function],
+ "deleteForCommitComment": [Function],
+ "deleteForIssue": [Function],
+ "deleteForIssueComment": [Function],
+ "deleteForPullRequestComment": [Function],
+ "deleteForTeamDiscussion": [Function],
+ "deleteForTeamDiscussionComment": [Function],
+ "deleteLegacy": [Function],
+ "listForCommitComment": [Function],
+ "listForIssue": [Function],
+ "listForIssueComment": [Function],
+ "listForPullRequestReviewComment": [Function],
+ "listForTeamDiscussionCommentInOrg": [Function],
+ "listForTeamDiscussionInOrg": [Function],
+ },
+ "repos": Object {
+ "acceptInvitation": [Function],
+ "addAppAccessRestrictions": [Function],
+ "addCollaborator": [Function],
+ "addDeployKey": [Function],
+ "addProtectedBranchAdminEnforcement": [Function],
+ "addProtectedBranchAppRestrictions": [Function],
+ "addProtectedBranchRequiredSignatures": [Function],
+ "addProtectedBranchRequiredStatusChecksContexts": [Function],
+ "addProtectedBranchTeamRestrictions": [Function],
+ "addProtectedBranchUserRestrictions": [Function],
+ "addStatusCheckContexts": [Function],
+ "addTeamAccessRestrictions": [Function],
+ "addUserAccessRestrictions": [Function],
+ "checkCollaborator": [Function],
+ "checkVulnerabilityAlerts": [Function],
+ "compareCommits": [Function],
+ "createCommitComment": [Function],
+ "createCommitSignatureProtection": [Function],
+ "createCommitStatus": [Function],
+ "createDeployKey": [Function],
+ "createDeployment": [Function],
+ "createDeploymentStatus": [Function],
+ "createDispatchEvent": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createFork": [Function],
+ "createHook": [Function],
+ "createInOrg": [Function],
+ "createOrUpdateFile": [Function],
+ "createOrUpdateFileContents": [Function],
+ "createPagesSite": [Function],
+ "createRelease": [Function],
+ "createStatus": [Function],
+ "createUsingTemplate": [Function],
+ "createWebhook": [Function],
+ "declineInvitation": [Function],
+ "delete": [Function],
+ "deleteAccessRestrictions": [Function],
+ "deleteAdminBranchProtection": [Function],
+ "deleteBranchProtection": [Function],
+ "deleteCommitComment": [Function],
+ "deleteCommitSignatureProtection": [Function],
+ "deleteDeployKey": [Function],
+ "deleteDeployment": [Function],
+ "deleteDownload": [Function],
+ "deleteFile": [Function],
+ "deleteHook": [Function],
+ "deleteInvitation": [Function],
+ "deletePagesSite": [Function],
+ "deletePullRequestReviewProtection": [Function],
+ "deleteRelease": [Function],
+ "deleteReleaseAsset": [Function],
+ "deleteWebhook": [Function],
+ "disableAutomatedSecurityFixes": [Function],
+ "disablePagesSite": [Function],
+ "disableVulnerabilityAlerts": [Function],
+ "downloadArchive": [Function],
+ "enableAutomatedSecurityFixes": [Function],
+ "enablePagesSite": [Function],
+ "enableVulnerabilityAlerts": [Function],
+ "get": [Function],
+ "getAccessRestrictions": [Function],
+ "getAdminBranchProtection": [Function],
+ "getAllStatusCheckContexts": [Function],
+ "getAllTopics": [Function],
+ "getAppsWithAccessToProtectedBranch": [Function],
+ "getArchiveLink": [Function],
+ "getBranch": [Function],
+ "getBranchProtection": [Function],
+ "getClones": [Function],
+ "getCodeFrequencyStats": [Function],
+ "getCollaboratorPermissionLevel": [Function],
+ "getCombinedStatusForRef": [Function],
+ "getCommit": [Function],
+ "getCommitActivityStats": [Function],
+ "getCommitComment": [Function],
+ "getCommitSignatureProtection": [Function],
+ "getCommunityProfileMetrics": [Function],
+ "getContent": [Function],
+ "getContents": [Function],
+ "getContributorsStats": [Function],
+ "getDeployKey": [Function],
+ "getDeployment": [Function],
+ "getDeploymentStatus": [Function],
+ "getDownload": [Function],
+ "getHook": [Function],
+ "getLatestPagesBuild": [Function],
+ "getLatestRelease": [Function],
+ "getPages": [Function],
+ "getPagesBuild": [Function],
+ "getParticipationStats": [Function],
+ "getProtectedBranchAdminEnforcement": [Function],
+ "getProtectedBranchPullRequestReviewEnforcement": [Function],
+ "getProtectedBranchRequiredSignatures": [Function],
+ "getProtectedBranchRequiredStatusChecks": [Function],
+ "getProtectedBranchRestrictions": [Function],
+ "getPullRequestReviewProtection": [Function],
+ "getPunchCardStats": [Function],
+ "getReadme": [Function],
+ "getRelease": [Function],
+ "getReleaseAsset": [Function],
+ "getReleaseByTag": [Function],
+ "getStatusChecksProtection": [Function],
+ "getTeamsWithAccessToProtectedBranch": [Function],
+ "getTopPaths": [Function],
+ "getTopReferrers": [Function],
+ "getUsersWithAccessToProtectedBranch": [Function],
+ "getViews": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAssetsForRelease": [Function],
+ "listBranches": [Function],
+ "listBranchesForHeadCommit": [Function],
+ "listCollaborators": [Function],
+ "listCommentsForCommit": [Function],
+ "listCommitComments": [Function],
+ "listCommitCommentsForRepo": [Function],
+ "listCommitStatusesForRef": [Function],
+ "listCommits": [Function],
+ "listContributors": [Function],
+ "listDeployKeys": [Function],
+ "listDeploymentStatuses": [Function],
+ "listDeployments": [Function],
+ "listDownloads": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listHooks": [Function],
+ "listInvitations": [Function],
+ "listInvitationsForAuthenticatedUser": [Function],
+ "listLanguages": [Function],
+ "listPagesBuilds": [Function],
+ "listProtectedBranchRequiredStatusChecksContexts": [Function],
+ "listPublic": [Function],
+ "listPullRequestsAssociatedWithCommit": [Function],
+ "listReleaseAssets": [Function],
+ "listReleases": [Function],
+ "listStatusesForRef": [Function],
+ "listTags": [Function],
+ "listTeams": [Function],
+ "listTopics": [Function],
+ "listWebhooks": [Function],
+ "merge": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "removeAppAccessRestrictions": [Function],
+ "removeBranchProtection": [Function],
+ "removeCollaborator": [Function],
+ "removeDeployKey": [Function],
+ "removeProtectedBranchAdminEnforcement": [Function],
+ "removeProtectedBranchAppRestrictions": [Function],
+ "removeProtectedBranchPullRequestReviewEnforcement": [Function],
+ "removeProtectedBranchRequiredSignatures": [Function],
+ "removeProtectedBranchRequiredStatusChecks": [Function],
+ "removeProtectedBranchRequiredStatusChecksContexts": [Function],
+ "removeProtectedBranchRestrictions": [Function],
+ "removeProtectedBranchTeamRestrictions": [Function],
+ "removeProtectedBranchUserRestrictions": [Function],
+ "removeStatusCheckContexts": [Function],
+ "removeStatusCheckProtection": [Function],
+ "removeTeamAccessRestrictions": [Function],
+ "removeUserAccessRestrictions": [Function],
+ "replaceAllTopics": [Function],
+ "replaceProtectedBranchAppRestrictions": [Function],
+ "replaceProtectedBranchRequiredStatusChecksContexts": [Function],
+ "replaceProtectedBranchTeamRestrictions": [Function],
+ "replaceProtectedBranchUserRestrictions": [Function],
+ "replaceTopics": [Function],
+ "requestPageBuild": [Function],
+ "requestPagesBuild": [Function],
+ "retrieveCommunityProfileMetrics": [Function],
+ "setAdminBranchProtection": [Function],
+ "setAppAccessRestrictions": [Function],
+ "setStatusCheckContexts": [Function],
+ "setTeamAccessRestrictions": [Function],
+ "setUserAccessRestrictions": [Function],
+ "testPushHook": [Function],
+ "testPushWebhook": [Function],
+ "transfer": [Function],
+ "update": [Function],
+ "updateBranchProtection": [Function],
+ "updateCommitComment": [Function],
+ "updateHook": [Function],
+ "updateInformationAboutPagesSite": [Function],
+ "updateInvitation": [Function],
+ "updateProtectedBranchPullRequestReviewEnforcement": [Function],
+ "updateProtectedBranchRequiredStatusChecks": [Function],
+ "updatePullRequestReviewProtection": [Function],
+ "updateRelease": [Function],
+ "updateReleaseAsset": [Function],
+ "updateStatusCheckPotection": [Function],
+ "updateWebhook": [Function],
+ "uploadReleaseAsset": [Function],
+ },
+ "request": [Function],
+ "search": Object {
+ "code": [Function],
+ "commits": [Function],
+ "issuesAndPullRequests": [Function],
+ "labels": [Function],
+ "repos": [Function],
+ "topics": [Function],
+ "users": [Function],
+ },
+ "teams": Object {
+ "addOrUpdateMembershipForUserInOrg": [Function],
+ "addOrUpdateMembershipInOrg": [Function],
+ "addOrUpdateProjectInOrg": [Function],
+ "addOrUpdateProjectPermissionsInOrg": [Function],
+ "addOrUpdateRepoInOrg": [Function],
+ "addOrUpdateRepoPermissionsInOrg": [Function],
+ "checkManagesRepoInOrg": [Function],
+ "checkPermissionsForProjectInOrg": [Function],
+ "checkPermissionsForRepoInOrg": [Function],
+ "create": [Function],
+ "createDiscussionCommentInOrg": [Function],
+ "createDiscussionInOrg": [Function],
+ "deleteDiscussionCommentInOrg": [Function],
+ "deleteDiscussionInOrg": [Function],
+ "deleteInOrg": [Function],
+ "getByName": [Function],
+ "getDiscussionCommentInOrg": [Function],
+ "getDiscussionInOrg": [Function],
+ "getMembershipForUserInOrg": [Function],
+ "getMembershipInOrg": [Function],
+ "list": [Function],
+ "listChildInOrg": [Function],
+ "listDiscussionCommentsInOrg": [Function],
+ "listDiscussionsInOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listMembersInOrg": [Function],
+ "listPendingInvitationsInOrg": [Function],
+ "listProjectsInOrg": [Function],
+ "listReposInOrg": [Function],
+ "removeMembershipForUserInOrg": [Function],
+ "removeMembershipInOrg": [Function],
+ "removeProjectInOrg": [Function],
+ "removeRepoInOrg": [Function],
+ "reviewProjectInOrg": [Function],
+ "updateDiscussionCommentInOrg": [Function],
+ "updateDiscussionInOrg": [Function],
+ "updateInOrg": [Function],
+ },
+ "users": Object {
+ "addEmailForAuthenticated": [Function],
+ "addEmails": [Function],
+ "block": [Function],
+ "checkBlocked": [Function],
+ "checkFollowing": [Function],
+ "checkFollowingForUser": [Function],
+ "checkPersonIsFollowedByAuthenticated": [Function],
+ "createGpgKey": [Function],
+ "createGpgKeyForAuthenticated": [Function],
+ "createPublicKey": [Function],
+ "createPublicSshKeyForAuthenticated": [Function],
+ "deleteEmailForAuthenticated": [Function],
+ "deleteEmails": [Function],
+ "deleteGpgKey": [Function],
+ "deleteGpgKeyForAuthenticated": [Function],
+ "deletePublicKey": [Function],
+ "deletePublicSshKeyForAuthenticated": [Function],
+ "follow": [Function],
+ "getAuthenticated": [Function],
+ "getByUsername": [Function],
+ "getContextForUser": [Function],
+ "getGpgKey": [Function],
+ "getGpgKeyForAuthenticated": [Function],
+ "getPublicKey": [Function],
+ "getPublicSshKeyForAuthenticated": [Function],
+ "list": [Function],
+ "listBlocked": [Function],
+ "listBlockedByAuthenticated": [Function],
+ "listEmails": [Function],
+ "listEmailsForAuthenticated": [Function],
+ "listFollowedByAuthenticated": [Function],
+ "listFollowersForAuthenticatedUser": [Function],
+ "listFollowersForUser": [Function],
+ "listFollowingForAuthenticatedUser": [Function],
+ "listFollowingForUser": [Function],
+ "listGpgKeys": [Function],
+ "listGpgKeysForAuthenticated": [Function],
+ "listGpgKeysForUser": [Function],
+ "listPublicEmails": [Function],
+ "listPublicEmailsForAuthenticated": [Function],
+ "listPublicKeys": [Function],
+ "listPublicKeysForUser": [Function],
+ "listPublicSshKeysForAuthenticated": [Function],
+ "setPrimaryEmailVisibilityForAuthenticated": [Function],
+ "togglePrimaryEmailVisibility": [Function],
+ "unblock": [Function],
+ "unfollow": [Function],
+ "updateAuthenticated": [Function],
+ },
+ },
+ },
"graphStylingPane": GraphStylingPane {
"container": [Circular],
"firstFieldHasFocus": [Function],
@@ -452,7 +1219,6 @@ exports[`SettingsComponent renders 1`] = `
"isAutoscaleDefaultEnabled": [Function],
"isEnableMongoCapabilityPresent": [Function],
"isFixedCollectionWithSharedThroughputSupported": [Function],
- "isGitHubPaneEnabled": [Function],
"isHostedDataExplorerEnabled": [Function],
"isLeftPaneExpanded": [Function],
"isMongoIndexingEnabled": [Function],
@@ -467,9 +1233,14 @@ exports[`SettingsComponent renders 1`] = `
"isSparkEnabledForAccount": [Function],
"isSynapseLinkUpdating": [Function],
"isTabsContentExpanded": [Function],
+ "junoClient": JunoClient {
+ "cachedPinnedRepos": [Function],
+ "databaseAccount": undefined,
+ },
"memoryUsageInfo": [Function],
"notebookBasePath": [Function],
"notebookServerInfo": [Function],
+ "onGitHubClientError": [Function],
"onRefreshDatabasesKeyPress": [Function],
"onRefreshResourcesClick": [Function],
"onSwitchToConnectionString": [Function],
@@ -942,6 +1713,773 @@ exports[`SettingsComponent renders 1`] = `
"defaultExperience": [Function],
"deleteCollectionText": [Function],
"deleteDatabaseText": [Function],
+ "gitHubClient": GitHubClient {
+ "errorCallback": [Function],
+ "ocktokit": OctokitWithDefaults {
+ "actions": Object {
+ "addSelectedRepoToOrgSecret": [Function],
+ "cancelWorkflowRun": [Function],
+ "createOrUpdateOrgSecret": [Function],
+ "createOrUpdateRepoSecret": [Function],
+ "createOrUpdateSecretForRepo": [Function],
+ "createRegistrationToken": [Function],
+ "createRegistrationTokenForOrg": [Function],
+ "createRegistrationTokenForRepo": [Function],
+ "createRemoveToken": [Function],
+ "createRemoveTokenForOrg": [Function],
+ "createRemoveTokenForRepo": [Function],
+ "deleteArtifact": [Function],
+ "deleteOrgSecret": [Function],
+ "deleteRepoSecret": [Function],
+ "deleteSecretFromRepo": [Function],
+ "deleteSelfHostedRunnerFromOrg": [Function],
+ "deleteSelfHostedRunnerFromRepo": [Function],
+ "deleteWorkflowRunLogs": [Function],
+ "downloadArtifact": [Function],
+ "downloadJobLogsForWorkflowRun": [Function],
+ "downloadWorkflowJobLogs": [Function],
+ "downloadWorkflowRunLogs": [Function],
+ "getArtifact": [Function],
+ "getJobForWorkflowRun": [Function],
+ "getOrgPublicKey": [Function],
+ "getOrgSecret": [Function],
+ "getPublicKey": [Function],
+ "getRepoPublicKey": [Function],
+ "getRepoSecret": [Function],
+ "getSecret": [Function],
+ "getSelfHostedRunner": [Function],
+ "getSelfHostedRunnerForOrg": [Function],
+ "getSelfHostedRunnerForRepo": [Function],
+ "getWorkflow": [Function],
+ "getWorkflowJob": [Function],
+ "getWorkflowRun": [Function],
+ "getWorkflowRunUsage": [Function],
+ "getWorkflowUsage": [Function],
+ "listArtifactsForRepo": [Function],
+ "listDownloadsForSelfHostedRunnerApplication": [Function],
+ "listJobsForWorkflowRun": [Function],
+ "listOrgSecrets": [Function],
+ "listRepoSecrets": [Function],
+ "listRepoWorkflowRuns": [Function],
+ "listRepoWorkflows": [Function],
+ "listRunnerApplicationsForOrg": [Function],
+ "listRunnerApplicationsForRepo": [Function],
+ "listSecretsForRepo": [Function],
+ "listSelectedReposForOrgSecret": [Function],
+ "listSelfHostedRunnersForOrg": [Function],
+ "listSelfHostedRunnersForRepo": [Function],
+ "listWorkflowJobLogs": [Function],
+ "listWorkflowRunArtifacts": [Function],
+ "listWorkflowRunLogs": [Function],
+ "listWorkflowRuns": [Function],
+ "listWorkflowRunsForRepo": [Function],
+ "reRunWorkflow": [Function],
+ "removeSelectedRepoFromOrgSecret": [Function],
+ "removeSelfHostedRunner": [Function],
+ "setSelectedReposForOrgSecret": [Function],
+ },
+ "activity": Object {
+ "checkRepoIsStarredByAuthenticatedUser": [Function],
+ "checkStarringRepo": [Function],
+ "deleteRepoSubscription": [Function],
+ "deleteThreadSubscription": [Function],
+ "getFeeds": [Function],
+ "getRepoSubscription": [Function],
+ "getThread": [Function],
+ "getThreadSubscription": [Function],
+ "getThreadSubscriptionForAuthenticatedUser": [Function],
+ "listEventsForAuthenticatedUser": [Function],
+ "listEventsForOrg": [Function],
+ "listEventsForUser": [Function],
+ "listFeeds": [Function],
+ "listNotifications": [Function],
+ "listNotificationsForAuthenticatedUser": [Function],
+ "listNotificationsForRepo": [Function],
+ "listOrgEventsForAuthenticatedUser": [Function],
+ "listPublicEvents": [Function],
+ "listPublicEventsForOrg": [Function],
+ "listPublicEventsForRepoNetwork": [Function],
+ "listPublicEventsForUser": [Function],
+ "listPublicOrgEvents": [Function],
+ "listReceivedEventsForUser": [Function],
+ "listReceivedPublicEventsForUser": [Function],
+ "listRepoEvents": [Function],
+ "listRepoNotificationsForAuthenticatedUser": [Function],
+ "listReposStarredByAuthenticatedUser": [Function],
+ "listReposStarredByUser": [Function],
+ "listReposWatchedByUser": [Function],
+ "listStargazersForRepo": [Function],
+ "listWatchedReposForAuthenticatedUser": [Function],
+ "listWatchersForRepo": [Function],
+ "markAsRead": [Function],
+ "markNotificationsAsRead": [Function],
+ "markNotificationsAsReadForRepo": [Function],
+ "markRepoNotificationsAsRead": [Function],
+ "markThreadAsRead": [Function],
+ "setRepoSubscription": [Function],
+ "setThreadSubscription": [Function],
+ "starRepo": [Function],
+ "starRepoForAuthenticatedUser": [Function],
+ "unstarRepo": [Function],
+ "unstarRepoForAuthenticatedUser": [Function],
+ },
+ "apps": Object {
+ "addRepoToInstallation": [Function],
+ "checkAccountIsAssociatedWithAny": [Function],
+ "checkAccountIsAssociatedWithAnyStubbed": [Function],
+ "checkToken": [Function],
+ "createContentAttachment": [Function],
+ "createFromManifest": [Function],
+ "createInstallationAccessToken": [Function],
+ "createInstallationToken": [Function],
+ "deleteAuthorization": [Function],
+ "deleteInstallation": [Function],
+ "deleteToken": [Function],
+ "getAuthenticated": [Function],
+ "getBySlug": [Function],
+ "getInstallation": [Function],
+ "getOrgInstallation": [Function],
+ "getRepoInstallation": [Function],
+ "getSubscriptionPlanForAccount": [Function],
+ "getSubscriptionPlanForAccountStubbed": [Function],
+ "getUserInstallation": [Function],
+ "listAccountsForPlan": [Function],
+ "listAccountsForPlanStubbed": [Function],
+ "listAccountsUserOrOrgOnPlan": [Function],
+ "listAccountsUserOrOrgOnPlanStubbed": [Function],
+ "listInstallationReposForAuthenticatedUser": [Function],
+ "listInstallations": [Function],
+ "listInstallationsForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUserStubbed": [Function],
+ "listPlans": [Function],
+ "listPlansStubbed": [Function],
+ "listRepos": [Function],
+ "listReposAccessibleToInstallation": [Function],
+ "listSubscriptionsForAuthenticatedUser": [Function],
+ "listSubscriptionsForAuthenticatedUserStubbed": [Function],
+ "removeRepoFromInstallation": [Function],
+ "resetToken": [Function],
+ "revokeInstallationAccessToken": [Function],
+ "revokeInstallationToken": [Function],
+ "suspendInstallation": [Function],
+ "unsuspendInstallation": [Function],
+ },
+ "auth": [Function],
+ "checks": Object {
+ "create": [Function],
+ "createSuite": [Function],
+ "get": [Function],
+ "getSuite": [Function],
+ "listAnnotations": [Function],
+ "listForRef": [Function],
+ "listForSuite": [Function],
+ "listSuitesForRef": [Function],
+ "rerequestSuite": [Function],
+ "setSuitesPreferences": [Function],
+ "update": [Function],
+ },
+ "codeScanning": Object {
+ "getAlert": [Function],
+ "listAlertsForRepo": [Function],
+ },
+ "codesOfConduct": Object {
+ "getAllCodesOfConduct": [Function],
+ "getConductCode": [Function],
+ "getForRepo": [Function],
+ "listConductCodes": [Function],
+ },
+ "emojis": Object {
+ "get": [Function],
+ },
+ "gists": Object {
+ "checkIsStarred": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "delete": [Function],
+ "deleteComment": [Function],
+ "fork": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getRevision": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommits": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listPublic": [Function],
+ "listPublicForUser": [Function],
+ "listStarred": [Function],
+ "star": [Function],
+ "unstar": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ },
+ "git": Object {
+ "createBlob": [Function],
+ "createCommit": [Function],
+ "createRef": [Function],
+ "createTag": [Function],
+ "createTree": [Function],
+ "deleteRef": [Function],
+ "getBlob": [Function],
+ "getCommit": [Function],
+ "getRef": [Function],
+ "getTag": [Function],
+ "getTree": [Function],
+ "listMatchingRefs": [Function],
+ "updateRef": [Function],
+ },
+ "gitignore": Object {
+ "getAllTemplates": [Function],
+ "getTemplate": [Function],
+ "listTemplates": [Function],
+ },
+ "graphql": [Function],
+ "hook": [Function],
+ "interactions": Object {
+ "addOrUpdateRestrictionsForOrg": [Function],
+ "addOrUpdateRestrictionsForRepo": [Function],
+ "getRestrictionsForOrg": [Function],
+ "getRestrictionsForRepo": [Function],
+ "removeRestrictionsForOrg": [Function],
+ "removeRestrictionsForRepo": [Function],
+ "setRestrictionsForOrg": [Function],
+ "setRestrictionsForRepo": [Function],
+ },
+ "issues": Object {
+ "addAssignees": [Function],
+ "addLabels": [Function],
+ "checkAssignee": [Function],
+ "checkUserCanBeAssigned": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createLabel": [Function],
+ "createMilestone": [Function],
+ "deleteComment": [Function],
+ "deleteLabel": [Function],
+ "deleteMilestone": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getEvent": [Function],
+ "getLabel": [Function],
+ "getMilestone": [Function],
+ "list": [Function],
+ "listAssignees": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listEvents": [Function],
+ "listEventsForRepo": [Function],
+ "listEventsForTimeline": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listLabelsForMilestone": [Function],
+ "listLabelsForRepo": [Function],
+ "listLabelsOnIssue": [Function],
+ "listMilestones": [Function],
+ "listMilestonesForRepo": [Function],
+ "lock": [Function],
+ "removeAllLabels": [Function],
+ "removeAssignees": [Function],
+ "removeLabel": [Function],
+ "removeLabels": [Function],
+ "replaceAllLabels": [Function],
+ "replaceLabels": [Function],
+ "setLabels": [Function],
+ "unlock": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ "updateLabel": [Function],
+ "updateMilestone": [Function],
+ },
+ "licenses": Object {
+ "get": [Function],
+ "getAllCommonlyUsed": [Function],
+ "getForRepo": [Function],
+ "listCommonlyUsed": [Function],
+ },
+ "log": Object {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "markdown": Object {
+ "render": [Function],
+ "renderRaw": [Function],
+ },
+ "meta": Object {
+ "get": [Function],
+ },
+ "migrations": Object {
+ "cancelImport": [Function],
+ "deleteArchiveForAuthenticatedUser": [Function],
+ "deleteArchiveForOrg": [Function],
+ "downloadArchiveForOrg": [Function],
+ "getArchiveForAuthenticatedUser": [Function],
+ "getCommitAuthors": [Function],
+ "getImportProgress": [Function],
+ "getImportStatus": [Function],
+ "getLargeFiles": [Function],
+ "getStatusForAuthenticatedUser": [Function],
+ "getStatusForOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listReposForOrg": [Function],
+ "listReposForUser": [Function],
+ "mapCommitAuthor": [Function],
+ "setLfsPreference": [Function],
+ "startForAuthenticatedUser": [Function],
+ "startForOrg": [Function],
+ "startImport": [Function],
+ "unlockRepoForAuthenticatedUser": [Function],
+ "unlockRepoForOrg": [Function],
+ "updateImport": [Function],
+ },
+ "orgs": Object {
+ "addOrUpdateMembership": [Function],
+ "blockUser": [Function],
+ "checkBlockedUser": [Function],
+ "checkMembership": [Function],
+ "checkMembershipForUser": [Function],
+ "checkPublicMembership": [Function],
+ "checkPublicMembershipForUser": [Function],
+ "concealMembership": [Function],
+ "convertMemberToOutsideCollaborator": [Function],
+ "createHook": [Function],
+ "createInvitation": [Function],
+ "createWebhook": [Function],
+ "deleteHook": [Function],
+ "deleteWebhook": [Function],
+ "get": [Function],
+ "getHook": [Function],
+ "getMembership": [Function],
+ "getMembershipForAuthenticatedUser": [Function],
+ "getMembershipForUser": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAppInstallations": [Function],
+ "listBlockedUsers": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForUser": [Function],
+ "listHooks": [Function],
+ "listInstallations": [Function],
+ "listInvitationTeams": [Function],
+ "listMembers": [Function],
+ "listMemberships": [Function],
+ "listMembershipsForAuthenticatedUser": [Function],
+ "listOutsideCollaborators": [Function],
+ "listPendingInvitations": [Function],
+ "listPublicMembers": [Function],
+ "listWebhooks": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "publicizeMembership": [Function],
+ "removeMember": [Function],
+ "removeMembership": [Function],
+ "removeMembershipForUser": [Function],
+ "removeOutsideCollaborator": [Function],
+ "removePublicMembershipForAuthenticatedUser": [Function],
+ "setMembershipForUser": [Function],
+ "setPublicMembershipForAuthenticatedUser": [Function],
+ "unblockUser": [Function],
+ "update": [Function],
+ "updateHook": [Function],
+ "updateMembership": [Function],
+ "updateMembershipForAuthenticatedUser": [Function],
+ "updateWebhook": [Function],
+ },
+ "paginate": [Function],
+ "projects": Object {
+ "addCollaborator": [Function],
+ "createCard": [Function],
+ "createColumn": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createForOrg": [Function],
+ "createForRepo": [Function],
+ "delete": [Function],
+ "deleteCard": [Function],
+ "deleteColumn": [Function],
+ "get": [Function],
+ "getCard": [Function],
+ "getColumn": [Function],
+ "getPermissionForUser": [Function],
+ "listCards": [Function],
+ "listCollaborators": [Function],
+ "listColumns": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listForUser": [Function],
+ "moveCard": [Function],
+ "moveColumn": [Function],
+ "removeCollaborator": [Function],
+ "reviewUserPermissionLevel": [Function],
+ "update": [Function],
+ "updateCard": [Function],
+ "updateColumn": [Function],
+ },
+ "pulls": Object {
+ "checkIfMerged": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createReplyForReviewComment": [Function],
+ "createReview": [Function],
+ "createReviewComment": [Function],
+ "createReviewCommentReply": [Function],
+ "createReviewRequest": [Function],
+ "deleteComment": [Function],
+ "deletePendingReview": [Function],
+ "deleteReviewComment": [Function],
+ "deleteReviewRequest": [Function],
+ "dismissReview": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getCommentsForReview": [Function],
+ "getReview": [Function],
+ "getReviewComment": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listCommentsForReview": [Function],
+ "listCommits": [Function],
+ "listFiles": [Function],
+ "listRequestedReviewers": [Function],
+ "listReviewComments": [Function],
+ "listReviewCommentsForRepo": [Function],
+ "listReviewRequests": [Function],
+ "listReviews": [Function],
+ "merge": [Function],
+ "removeRequestedReviewers": [Function],
+ "requestReviewers": [Function],
+ "submitReview": [Function],
+ "update": [Function],
+ "updateBranch": [Function],
+ "updateComment": [Function],
+ "updateReview": [Function],
+ "updateReviewComment": [Function],
+ },
+ "rateLimit": Object {
+ "get": [Function],
+ },
+ "reactions": Object {
+ "createForCommitComment": [Function],
+ "createForIssue": [Function],
+ "createForIssueComment": [Function],
+ "createForPullRequestReviewComment": [Function],
+ "createForTeamDiscussionCommentInOrg": [Function],
+ "createForTeamDiscussionInOrg": [Function],
+ "delete": [Function],
+ "deleteForCommitComment": [Function],
+ "deleteForIssue": [Function],
+ "deleteForIssueComment": [Function],
+ "deleteForPullRequestComment": [Function],
+ "deleteForTeamDiscussion": [Function],
+ "deleteForTeamDiscussionComment": [Function],
+ "deleteLegacy": [Function],
+ "listForCommitComment": [Function],
+ "listForIssue": [Function],
+ "listForIssueComment": [Function],
+ "listForPullRequestReviewComment": [Function],
+ "listForTeamDiscussionCommentInOrg": [Function],
+ "listForTeamDiscussionInOrg": [Function],
+ },
+ "repos": Object {
+ "acceptInvitation": [Function],
+ "addAppAccessRestrictions": [Function],
+ "addCollaborator": [Function],
+ "addDeployKey": [Function],
+ "addProtectedBranchAdminEnforcement": [Function],
+ "addProtectedBranchAppRestrictions": [Function],
+ "addProtectedBranchRequiredSignatures": [Function],
+ "addProtectedBranchRequiredStatusChecksContexts": [Function],
+ "addProtectedBranchTeamRestrictions": [Function],
+ "addProtectedBranchUserRestrictions": [Function],
+ "addStatusCheckContexts": [Function],
+ "addTeamAccessRestrictions": [Function],
+ "addUserAccessRestrictions": [Function],
+ "checkCollaborator": [Function],
+ "checkVulnerabilityAlerts": [Function],
+ "compareCommits": [Function],
+ "createCommitComment": [Function],
+ "createCommitSignatureProtection": [Function],
+ "createCommitStatus": [Function],
+ "createDeployKey": [Function],
+ "createDeployment": [Function],
+ "createDeploymentStatus": [Function],
+ "createDispatchEvent": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createFork": [Function],
+ "createHook": [Function],
+ "createInOrg": [Function],
+ "createOrUpdateFile": [Function],
+ "createOrUpdateFileContents": [Function],
+ "createPagesSite": [Function],
+ "createRelease": [Function],
+ "createStatus": [Function],
+ "createUsingTemplate": [Function],
+ "createWebhook": [Function],
+ "declineInvitation": [Function],
+ "delete": [Function],
+ "deleteAccessRestrictions": [Function],
+ "deleteAdminBranchProtection": [Function],
+ "deleteBranchProtection": [Function],
+ "deleteCommitComment": [Function],
+ "deleteCommitSignatureProtection": [Function],
+ "deleteDeployKey": [Function],
+ "deleteDeployment": [Function],
+ "deleteDownload": [Function],
+ "deleteFile": [Function],
+ "deleteHook": [Function],
+ "deleteInvitation": [Function],
+ "deletePagesSite": [Function],
+ "deletePullRequestReviewProtection": [Function],
+ "deleteRelease": [Function],
+ "deleteReleaseAsset": [Function],
+ "deleteWebhook": [Function],
+ "disableAutomatedSecurityFixes": [Function],
+ "disablePagesSite": [Function],
+ "disableVulnerabilityAlerts": [Function],
+ "downloadArchive": [Function],
+ "enableAutomatedSecurityFixes": [Function],
+ "enablePagesSite": [Function],
+ "enableVulnerabilityAlerts": [Function],
+ "get": [Function],
+ "getAccessRestrictions": [Function],
+ "getAdminBranchProtection": [Function],
+ "getAllStatusCheckContexts": [Function],
+ "getAllTopics": [Function],
+ "getAppsWithAccessToProtectedBranch": [Function],
+ "getArchiveLink": [Function],
+ "getBranch": [Function],
+ "getBranchProtection": [Function],
+ "getClones": [Function],
+ "getCodeFrequencyStats": [Function],
+ "getCollaboratorPermissionLevel": [Function],
+ "getCombinedStatusForRef": [Function],
+ "getCommit": [Function],
+ "getCommitActivityStats": [Function],
+ "getCommitComment": [Function],
+ "getCommitSignatureProtection": [Function],
+ "getCommunityProfileMetrics": [Function],
+ "getContent": [Function],
+ "getContents": [Function],
+ "getContributorsStats": [Function],
+ "getDeployKey": [Function],
+ "getDeployment": [Function],
+ "getDeploymentStatus": [Function],
+ "getDownload": [Function],
+ "getHook": [Function],
+ "getLatestPagesBuild": [Function],
+ "getLatestRelease": [Function],
+ "getPages": [Function],
+ "getPagesBuild": [Function],
+ "getParticipationStats": [Function],
+ "getProtectedBranchAdminEnforcement": [Function],
+ "getProtectedBranchPullRequestReviewEnforcement": [Function],
+ "getProtectedBranchRequiredSignatures": [Function],
+ "getProtectedBranchRequiredStatusChecks": [Function],
+ "getProtectedBranchRestrictions": [Function],
+ "getPullRequestReviewProtection": [Function],
+ "getPunchCardStats": [Function],
+ "getReadme": [Function],
+ "getRelease": [Function],
+ "getReleaseAsset": [Function],
+ "getReleaseByTag": [Function],
+ "getStatusChecksProtection": [Function],
+ "getTeamsWithAccessToProtectedBranch": [Function],
+ "getTopPaths": [Function],
+ "getTopReferrers": [Function],
+ "getUsersWithAccessToProtectedBranch": [Function],
+ "getViews": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAssetsForRelease": [Function],
+ "listBranches": [Function],
+ "listBranchesForHeadCommit": [Function],
+ "listCollaborators": [Function],
+ "listCommentsForCommit": [Function],
+ "listCommitComments": [Function],
+ "listCommitCommentsForRepo": [Function],
+ "listCommitStatusesForRef": [Function],
+ "listCommits": [Function],
+ "listContributors": [Function],
+ "listDeployKeys": [Function],
+ "listDeploymentStatuses": [Function],
+ "listDeployments": [Function],
+ "listDownloads": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listHooks": [Function],
+ "listInvitations": [Function],
+ "listInvitationsForAuthenticatedUser": [Function],
+ "listLanguages": [Function],
+ "listPagesBuilds": [Function],
+ "listProtectedBranchRequiredStatusChecksContexts": [Function],
+ "listPublic": [Function],
+ "listPullRequestsAssociatedWithCommit": [Function],
+ "listReleaseAssets": [Function],
+ "listReleases": [Function],
+ "listStatusesForRef": [Function],
+ "listTags": [Function],
+ "listTeams": [Function],
+ "listTopics": [Function],
+ "listWebhooks": [Function],
+ "merge": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "removeAppAccessRestrictions": [Function],
+ "removeBranchProtection": [Function],
+ "removeCollaborator": [Function],
+ "removeDeployKey": [Function],
+ "removeProtectedBranchAdminEnforcement": [Function],
+ "removeProtectedBranchAppRestrictions": [Function],
+ "removeProtectedBranchPullRequestReviewEnforcement": [Function],
+ "removeProtectedBranchRequiredSignatures": [Function],
+ "removeProtectedBranchRequiredStatusChecks": [Function],
+ "removeProtectedBranchRequiredStatusChecksContexts": [Function],
+ "removeProtectedBranchRestrictions": [Function],
+ "removeProtectedBranchTeamRestrictions": [Function],
+ "removeProtectedBranchUserRestrictions": [Function],
+ "removeStatusCheckContexts": [Function],
+ "removeStatusCheckProtection": [Function],
+ "removeTeamAccessRestrictions": [Function],
+ "removeUserAccessRestrictions": [Function],
+ "replaceAllTopics": [Function],
+ "replaceProtectedBranchAppRestrictions": [Function],
+ "replaceProtectedBranchRequiredStatusChecksContexts": [Function],
+ "replaceProtectedBranchTeamRestrictions": [Function],
+ "replaceProtectedBranchUserRestrictions": [Function],
+ "replaceTopics": [Function],
+ "requestPageBuild": [Function],
+ "requestPagesBuild": [Function],
+ "retrieveCommunityProfileMetrics": [Function],
+ "setAdminBranchProtection": [Function],
+ "setAppAccessRestrictions": [Function],
+ "setStatusCheckContexts": [Function],
+ "setTeamAccessRestrictions": [Function],
+ "setUserAccessRestrictions": [Function],
+ "testPushHook": [Function],
+ "testPushWebhook": [Function],
+ "transfer": [Function],
+ "update": [Function],
+ "updateBranchProtection": [Function],
+ "updateCommitComment": [Function],
+ "updateHook": [Function],
+ "updateInformationAboutPagesSite": [Function],
+ "updateInvitation": [Function],
+ "updateProtectedBranchPullRequestReviewEnforcement": [Function],
+ "updateProtectedBranchRequiredStatusChecks": [Function],
+ "updatePullRequestReviewProtection": [Function],
+ "updateRelease": [Function],
+ "updateReleaseAsset": [Function],
+ "updateStatusCheckPotection": [Function],
+ "updateWebhook": [Function],
+ "uploadReleaseAsset": [Function],
+ },
+ "request": [Function],
+ "search": Object {
+ "code": [Function],
+ "commits": [Function],
+ "issuesAndPullRequests": [Function],
+ "labels": [Function],
+ "repos": [Function],
+ "topics": [Function],
+ "users": [Function],
+ },
+ "teams": Object {
+ "addOrUpdateMembershipForUserInOrg": [Function],
+ "addOrUpdateMembershipInOrg": [Function],
+ "addOrUpdateProjectInOrg": [Function],
+ "addOrUpdateProjectPermissionsInOrg": [Function],
+ "addOrUpdateRepoInOrg": [Function],
+ "addOrUpdateRepoPermissionsInOrg": [Function],
+ "checkManagesRepoInOrg": [Function],
+ "checkPermissionsForProjectInOrg": [Function],
+ "checkPermissionsForRepoInOrg": [Function],
+ "create": [Function],
+ "createDiscussionCommentInOrg": [Function],
+ "createDiscussionInOrg": [Function],
+ "deleteDiscussionCommentInOrg": [Function],
+ "deleteDiscussionInOrg": [Function],
+ "deleteInOrg": [Function],
+ "getByName": [Function],
+ "getDiscussionCommentInOrg": [Function],
+ "getDiscussionInOrg": [Function],
+ "getMembershipForUserInOrg": [Function],
+ "getMembershipInOrg": [Function],
+ "list": [Function],
+ "listChildInOrg": [Function],
+ "listDiscussionCommentsInOrg": [Function],
+ "listDiscussionsInOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listMembersInOrg": [Function],
+ "listPendingInvitationsInOrg": [Function],
+ "listProjectsInOrg": [Function],
+ "listReposInOrg": [Function],
+ "removeMembershipForUserInOrg": [Function],
+ "removeMembershipInOrg": [Function],
+ "removeProjectInOrg": [Function],
+ "removeRepoInOrg": [Function],
+ "reviewProjectInOrg": [Function],
+ "updateDiscussionCommentInOrg": [Function],
+ "updateDiscussionInOrg": [Function],
+ "updateInOrg": [Function],
+ },
+ "users": Object {
+ "addEmailForAuthenticated": [Function],
+ "addEmails": [Function],
+ "block": [Function],
+ "checkBlocked": [Function],
+ "checkFollowing": [Function],
+ "checkFollowingForUser": [Function],
+ "checkPersonIsFollowedByAuthenticated": [Function],
+ "createGpgKey": [Function],
+ "createGpgKeyForAuthenticated": [Function],
+ "createPublicKey": [Function],
+ "createPublicSshKeyForAuthenticated": [Function],
+ "deleteEmailForAuthenticated": [Function],
+ "deleteEmails": [Function],
+ "deleteGpgKey": [Function],
+ "deleteGpgKeyForAuthenticated": [Function],
+ "deletePublicKey": [Function],
+ "deletePublicSshKeyForAuthenticated": [Function],
+ "follow": [Function],
+ "getAuthenticated": [Function],
+ "getByUsername": [Function],
+ "getContextForUser": [Function],
+ "getGpgKey": [Function],
+ "getGpgKeyForAuthenticated": [Function],
+ "getPublicKey": [Function],
+ "getPublicSshKeyForAuthenticated": [Function],
+ "list": [Function],
+ "listBlocked": [Function],
+ "listBlockedByAuthenticated": [Function],
+ "listEmails": [Function],
+ "listEmailsForAuthenticated": [Function],
+ "listFollowedByAuthenticated": [Function],
+ "listFollowersForAuthenticatedUser": [Function],
+ "listFollowersForUser": [Function],
+ "listFollowingForAuthenticatedUser": [Function],
+ "listFollowingForUser": [Function],
+ "listGpgKeys": [Function],
+ "listGpgKeysForAuthenticated": [Function],
+ "listGpgKeysForUser": [Function],
+ "listPublicEmails": [Function],
+ "listPublicEmailsForAuthenticated": [Function],
+ "listPublicKeys": [Function],
+ "listPublicKeysForUser": [Function],
+ "listPublicSshKeysForAuthenticated": [Function],
+ "setPrimaryEmailVisibilityForAuthenticated": [Function],
+ "togglePrimaryEmailVisibility": [Function],
+ "unblock": [Function],
+ "unfollow": [Function],
+ "updateAuthenticated": [Function],
+ },
+ },
+ },
"graphStylingPane": GraphStylingPane {
"container": [Circular],
"firstFieldHasFocus": [Function],
@@ -967,7 +2505,6 @@ exports[`SettingsComponent renders 1`] = `
"isAutoscaleDefaultEnabled": [Function],
"isEnableMongoCapabilityPresent": [Function],
"isFixedCollectionWithSharedThroughputSupported": [Function],
- "isGitHubPaneEnabled": [Function],
"isHostedDataExplorerEnabled": [Function],
"isLeftPaneExpanded": [Function],
"isMongoIndexingEnabled": [Function],
@@ -982,9 +2519,14 @@ exports[`SettingsComponent renders 1`] = `
"isSparkEnabledForAccount": [Function],
"isSynapseLinkUpdating": [Function],
"isTabsContentExpanded": [Function],
+ "junoClient": JunoClient {
+ "cachedPinnedRepos": [Function],
+ "databaseAccount": undefined,
+ },
"memoryUsageInfo": [Function],
"notebookBasePath": [Function],
"notebookServerInfo": [Function],
+ "onGitHubClientError": [Function],
"onRefreshDatabasesKeyPress": [Function],
"onRefreshResourcesClick": [Function],
"onSwitchToConnectionString": [Function],
@@ -1470,6 +3012,773 @@ exports[`SettingsComponent renders 1`] = `
"defaultExperience": [Function],
"deleteCollectionText": [Function],
"deleteDatabaseText": [Function],
+ "gitHubClient": GitHubClient {
+ "errorCallback": [Function],
+ "ocktokit": OctokitWithDefaults {
+ "actions": Object {
+ "addSelectedRepoToOrgSecret": [Function],
+ "cancelWorkflowRun": [Function],
+ "createOrUpdateOrgSecret": [Function],
+ "createOrUpdateRepoSecret": [Function],
+ "createOrUpdateSecretForRepo": [Function],
+ "createRegistrationToken": [Function],
+ "createRegistrationTokenForOrg": [Function],
+ "createRegistrationTokenForRepo": [Function],
+ "createRemoveToken": [Function],
+ "createRemoveTokenForOrg": [Function],
+ "createRemoveTokenForRepo": [Function],
+ "deleteArtifact": [Function],
+ "deleteOrgSecret": [Function],
+ "deleteRepoSecret": [Function],
+ "deleteSecretFromRepo": [Function],
+ "deleteSelfHostedRunnerFromOrg": [Function],
+ "deleteSelfHostedRunnerFromRepo": [Function],
+ "deleteWorkflowRunLogs": [Function],
+ "downloadArtifact": [Function],
+ "downloadJobLogsForWorkflowRun": [Function],
+ "downloadWorkflowJobLogs": [Function],
+ "downloadWorkflowRunLogs": [Function],
+ "getArtifact": [Function],
+ "getJobForWorkflowRun": [Function],
+ "getOrgPublicKey": [Function],
+ "getOrgSecret": [Function],
+ "getPublicKey": [Function],
+ "getRepoPublicKey": [Function],
+ "getRepoSecret": [Function],
+ "getSecret": [Function],
+ "getSelfHostedRunner": [Function],
+ "getSelfHostedRunnerForOrg": [Function],
+ "getSelfHostedRunnerForRepo": [Function],
+ "getWorkflow": [Function],
+ "getWorkflowJob": [Function],
+ "getWorkflowRun": [Function],
+ "getWorkflowRunUsage": [Function],
+ "getWorkflowUsage": [Function],
+ "listArtifactsForRepo": [Function],
+ "listDownloadsForSelfHostedRunnerApplication": [Function],
+ "listJobsForWorkflowRun": [Function],
+ "listOrgSecrets": [Function],
+ "listRepoSecrets": [Function],
+ "listRepoWorkflowRuns": [Function],
+ "listRepoWorkflows": [Function],
+ "listRunnerApplicationsForOrg": [Function],
+ "listRunnerApplicationsForRepo": [Function],
+ "listSecretsForRepo": [Function],
+ "listSelectedReposForOrgSecret": [Function],
+ "listSelfHostedRunnersForOrg": [Function],
+ "listSelfHostedRunnersForRepo": [Function],
+ "listWorkflowJobLogs": [Function],
+ "listWorkflowRunArtifacts": [Function],
+ "listWorkflowRunLogs": [Function],
+ "listWorkflowRuns": [Function],
+ "listWorkflowRunsForRepo": [Function],
+ "reRunWorkflow": [Function],
+ "removeSelectedRepoFromOrgSecret": [Function],
+ "removeSelfHostedRunner": [Function],
+ "setSelectedReposForOrgSecret": [Function],
+ },
+ "activity": Object {
+ "checkRepoIsStarredByAuthenticatedUser": [Function],
+ "checkStarringRepo": [Function],
+ "deleteRepoSubscription": [Function],
+ "deleteThreadSubscription": [Function],
+ "getFeeds": [Function],
+ "getRepoSubscription": [Function],
+ "getThread": [Function],
+ "getThreadSubscription": [Function],
+ "getThreadSubscriptionForAuthenticatedUser": [Function],
+ "listEventsForAuthenticatedUser": [Function],
+ "listEventsForOrg": [Function],
+ "listEventsForUser": [Function],
+ "listFeeds": [Function],
+ "listNotifications": [Function],
+ "listNotificationsForAuthenticatedUser": [Function],
+ "listNotificationsForRepo": [Function],
+ "listOrgEventsForAuthenticatedUser": [Function],
+ "listPublicEvents": [Function],
+ "listPublicEventsForOrg": [Function],
+ "listPublicEventsForRepoNetwork": [Function],
+ "listPublicEventsForUser": [Function],
+ "listPublicOrgEvents": [Function],
+ "listReceivedEventsForUser": [Function],
+ "listReceivedPublicEventsForUser": [Function],
+ "listRepoEvents": [Function],
+ "listRepoNotificationsForAuthenticatedUser": [Function],
+ "listReposStarredByAuthenticatedUser": [Function],
+ "listReposStarredByUser": [Function],
+ "listReposWatchedByUser": [Function],
+ "listStargazersForRepo": [Function],
+ "listWatchedReposForAuthenticatedUser": [Function],
+ "listWatchersForRepo": [Function],
+ "markAsRead": [Function],
+ "markNotificationsAsRead": [Function],
+ "markNotificationsAsReadForRepo": [Function],
+ "markRepoNotificationsAsRead": [Function],
+ "markThreadAsRead": [Function],
+ "setRepoSubscription": [Function],
+ "setThreadSubscription": [Function],
+ "starRepo": [Function],
+ "starRepoForAuthenticatedUser": [Function],
+ "unstarRepo": [Function],
+ "unstarRepoForAuthenticatedUser": [Function],
+ },
+ "apps": Object {
+ "addRepoToInstallation": [Function],
+ "checkAccountIsAssociatedWithAny": [Function],
+ "checkAccountIsAssociatedWithAnyStubbed": [Function],
+ "checkToken": [Function],
+ "createContentAttachment": [Function],
+ "createFromManifest": [Function],
+ "createInstallationAccessToken": [Function],
+ "createInstallationToken": [Function],
+ "deleteAuthorization": [Function],
+ "deleteInstallation": [Function],
+ "deleteToken": [Function],
+ "getAuthenticated": [Function],
+ "getBySlug": [Function],
+ "getInstallation": [Function],
+ "getOrgInstallation": [Function],
+ "getRepoInstallation": [Function],
+ "getSubscriptionPlanForAccount": [Function],
+ "getSubscriptionPlanForAccountStubbed": [Function],
+ "getUserInstallation": [Function],
+ "listAccountsForPlan": [Function],
+ "listAccountsForPlanStubbed": [Function],
+ "listAccountsUserOrOrgOnPlan": [Function],
+ "listAccountsUserOrOrgOnPlanStubbed": [Function],
+ "listInstallationReposForAuthenticatedUser": [Function],
+ "listInstallations": [Function],
+ "listInstallationsForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUserStubbed": [Function],
+ "listPlans": [Function],
+ "listPlansStubbed": [Function],
+ "listRepos": [Function],
+ "listReposAccessibleToInstallation": [Function],
+ "listSubscriptionsForAuthenticatedUser": [Function],
+ "listSubscriptionsForAuthenticatedUserStubbed": [Function],
+ "removeRepoFromInstallation": [Function],
+ "resetToken": [Function],
+ "revokeInstallationAccessToken": [Function],
+ "revokeInstallationToken": [Function],
+ "suspendInstallation": [Function],
+ "unsuspendInstallation": [Function],
+ },
+ "auth": [Function],
+ "checks": Object {
+ "create": [Function],
+ "createSuite": [Function],
+ "get": [Function],
+ "getSuite": [Function],
+ "listAnnotations": [Function],
+ "listForRef": [Function],
+ "listForSuite": [Function],
+ "listSuitesForRef": [Function],
+ "rerequestSuite": [Function],
+ "setSuitesPreferences": [Function],
+ "update": [Function],
+ },
+ "codeScanning": Object {
+ "getAlert": [Function],
+ "listAlertsForRepo": [Function],
+ },
+ "codesOfConduct": Object {
+ "getAllCodesOfConduct": [Function],
+ "getConductCode": [Function],
+ "getForRepo": [Function],
+ "listConductCodes": [Function],
+ },
+ "emojis": Object {
+ "get": [Function],
+ },
+ "gists": Object {
+ "checkIsStarred": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "delete": [Function],
+ "deleteComment": [Function],
+ "fork": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getRevision": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommits": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listPublic": [Function],
+ "listPublicForUser": [Function],
+ "listStarred": [Function],
+ "star": [Function],
+ "unstar": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ },
+ "git": Object {
+ "createBlob": [Function],
+ "createCommit": [Function],
+ "createRef": [Function],
+ "createTag": [Function],
+ "createTree": [Function],
+ "deleteRef": [Function],
+ "getBlob": [Function],
+ "getCommit": [Function],
+ "getRef": [Function],
+ "getTag": [Function],
+ "getTree": [Function],
+ "listMatchingRefs": [Function],
+ "updateRef": [Function],
+ },
+ "gitignore": Object {
+ "getAllTemplates": [Function],
+ "getTemplate": [Function],
+ "listTemplates": [Function],
+ },
+ "graphql": [Function],
+ "hook": [Function],
+ "interactions": Object {
+ "addOrUpdateRestrictionsForOrg": [Function],
+ "addOrUpdateRestrictionsForRepo": [Function],
+ "getRestrictionsForOrg": [Function],
+ "getRestrictionsForRepo": [Function],
+ "removeRestrictionsForOrg": [Function],
+ "removeRestrictionsForRepo": [Function],
+ "setRestrictionsForOrg": [Function],
+ "setRestrictionsForRepo": [Function],
+ },
+ "issues": Object {
+ "addAssignees": [Function],
+ "addLabels": [Function],
+ "checkAssignee": [Function],
+ "checkUserCanBeAssigned": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createLabel": [Function],
+ "createMilestone": [Function],
+ "deleteComment": [Function],
+ "deleteLabel": [Function],
+ "deleteMilestone": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getEvent": [Function],
+ "getLabel": [Function],
+ "getMilestone": [Function],
+ "list": [Function],
+ "listAssignees": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listEvents": [Function],
+ "listEventsForRepo": [Function],
+ "listEventsForTimeline": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listLabelsForMilestone": [Function],
+ "listLabelsForRepo": [Function],
+ "listLabelsOnIssue": [Function],
+ "listMilestones": [Function],
+ "listMilestonesForRepo": [Function],
+ "lock": [Function],
+ "removeAllLabels": [Function],
+ "removeAssignees": [Function],
+ "removeLabel": [Function],
+ "removeLabels": [Function],
+ "replaceAllLabels": [Function],
+ "replaceLabels": [Function],
+ "setLabels": [Function],
+ "unlock": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ "updateLabel": [Function],
+ "updateMilestone": [Function],
+ },
+ "licenses": Object {
+ "get": [Function],
+ "getAllCommonlyUsed": [Function],
+ "getForRepo": [Function],
+ "listCommonlyUsed": [Function],
+ },
+ "log": Object {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "markdown": Object {
+ "render": [Function],
+ "renderRaw": [Function],
+ },
+ "meta": Object {
+ "get": [Function],
+ },
+ "migrations": Object {
+ "cancelImport": [Function],
+ "deleteArchiveForAuthenticatedUser": [Function],
+ "deleteArchiveForOrg": [Function],
+ "downloadArchiveForOrg": [Function],
+ "getArchiveForAuthenticatedUser": [Function],
+ "getCommitAuthors": [Function],
+ "getImportProgress": [Function],
+ "getImportStatus": [Function],
+ "getLargeFiles": [Function],
+ "getStatusForAuthenticatedUser": [Function],
+ "getStatusForOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listReposForOrg": [Function],
+ "listReposForUser": [Function],
+ "mapCommitAuthor": [Function],
+ "setLfsPreference": [Function],
+ "startForAuthenticatedUser": [Function],
+ "startForOrg": [Function],
+ "startImport": [Function],
+ "unlockRepoForAuthenticatedUser": [Function],
+ "unlockRepoForOrg": [Function],
+ "updateImport": [Function],
+ },
+ "orgs": Object {
+ "addOrUpdateMembership": [Function],
+ "blockUser": [Function],
+ "checkBlockedUser": [Function],
+ "checkMembership": [Function],
+ "checkMembershipForUser": [Function],
+ "checkPublicMembership": [Function],
+ "checkPublicMembershipForUser": [Function],
+ "concealMembership": [Function],
+ "convertMemberToOutsideCollaborator": [Function],
+ "createHook": [Function],
+ "createInvitation": [Function],
+ "createWebhook": [Function],
+ "deleteHook": [Function],
+ "deleteWebhook": [Function],
+ "get": [Function],
+ "getHook": [Function],
+ "getMembership": [Function],
+ "getMembershipForAuthenticatedUser": [Function],
+ "getMembershipForUser": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAppInstallations": [Function],
+ "listBlockedUsers": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForUser": [Function],
+ "listHooks": [Function],
+ "listInstallations": [Function],
+ "listInvitationTeams": [Function],
+ "listMembers": [Function],
+ "listMemberships": [Function],
+ "listMembershipsForAuthenticatedUser": [Function],
+ "listOutsideCollaborators": [Function],
+ "listPendingInvitations": [Function],
+ "listPublicMembers": [Function],
+ "listWebhooks": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "publicizeMembership": [Function],
+ "removeMember": [Function],
+ "removeMembership": [Function],
+ "removeMembershipForUser": [Function],
+ "removeOutsideCollaborator": [Function],
+ "removePublicMembershipForAuthenticatedUser": [Function],
+ "setMembershipForUser": [Function],
+ "setPublicMembershipForAuthenticatedUser": [Function],
+ "unblockUser": [Function],
+ "update": [Function],
+ "updateHook": [Function],
+ "updateMembership": [Function],
+ "updateMembershipForAuthenticatedUser": [Function],
+ "updateWebhook": [Function],
+ },
+ "paginate": [Function],
+ "projects": Object {
+ "addCollaborator": [Function],
+ "createCard": [Function],
+ "createColumn": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createForOrg": [Function],
+ "createForRepo": [Function],
+ "delete": [Function],
+ "deleteCard": [Function],
+ "deleteColumn": [Function],
+ "get": [Function],
+ "getCard": [Function],
+ "getColumn": [Function],
+ "getPermissionForUser": [Function],
+ "listCards": [Function],
+ "listCollaborators": [Function],
+ "listColumns": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listForUser": [Function],
+ "moveCard": [Function],
+ "moveColumn": [Function],
+ "removeCollaborator": [Function],
+ "reviewUserPermissionLevel": [Function],
+ "update": [Function],
+ "updateCard": [Function],
+ "updateColumn": [Function],
+ },
+ "pulls": Object {
+ "checkIfMerged": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createReplyForReviewComment": [Function],
+ "createReview": [Function],
+ "createReviewComment": [Function],
+ "createReviewCommentReply": [Function],
+ "createReviewRequest": [Function],
+ "deleteComment": [Function],
+ "deletePendingReview": [Function],
+ "deleteReviewComment": [Function],
+ "deleteReviewRequest": [Function],
+ "dismissReview": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getCommentsForReview": [Function],
+ "getReview": [Function],
+ "getReviewComment": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listCommentsForReview": [Function],
+ "listCommits": [Function],
+ "listFiles": [Function],
+ "listRequestedReviewers": [Function],
+ "listReviewComments": [Function],
+ "listReviewCommentsForRepo": [Function],
+ "listReviewRequests": [Function],
+ "listReviews": [Function],
+ "merge": [Function],
+ "removeRequestedReviewers": [Function],
+ "requestReviewers": [Function],
+ "submitReview": [Function],
+ "update": [Function],
+ "updateBranch": [Function],
+ "updateComment": [Function],
+ "updateReview": [Function],
+ "updateReviewComment": [Function],
+ },
+ "rateLimit": Object {
+ "get": [Function],
+ },
+ "reactions": Object {
+ "createForCommitComment": [Function],
+ "createForIssue": [Function],
+ "createForIssueComment": [Function],
+ "createForPullRequestReviewComment": [Function],
+ "createForTeamDiscussionCommentInOrg": [Function],
+ "createForTeamDiscussionInOrg": [Function],
+ "delete": [Function],
+ "deleteForCommitComment": [Function],
+ "deleteForIssue": [Function],
+ "deleteForIssueComment": [Function],
+ "deleteForPullRequestComment": [Function],
+ "deleteForTeamDiscussion": [Function],
+ "deleteForTeamDiscussionComment": [Function],
+ "deleteLegacy": [Function],
+ "listForCommitComment": [Function],
+ "listForIssue": [Function],
+ "listForIssueComment": [Function],
+ "listForPullRequestReviewComment": [Function],
+ "listForTeamDiscussionCommentInOrg": [Function],
+ "listForTeamDiscussionInOrg": [Function],
+ },
+ "repos": Object {
+ "acceptInvitation": [Function],
+ "addAppAccessRestrictions": [Function],
+ "addCollaborator": [Function],
+ "addDeployKey": [Function],
+ "addProtectedBranchAdminEnforcement": [Function],
+ "addProtectedBranchAppRestrictions": [Function],
+ "addProtectedBranchRequiredSignatures": [Function],
+ "addProtectedBranchRequiredStatusChecksContexts": [Function],
+ "addProtectedBranchTeamRestrictions": [Function],
+ "addProtectedBranchUserRestrictions": [Function],
+ "addStatusCheckContexts": [Function],
+ "addTeamAccessRestrictions": [Function],
+ "addUserAccessRestrictions": [Function],
+ "checkCollaborator": [Function],
+ "checkVulnerabilityAlerts": [Function],
+ "compareCommits": [Function],
+ "createCommitComment": [Function],
+ "createCommitSignatureProtection": [Function],
+ "createCommitStatus": [Function],
+ "createDeployKey": [Function],
+ "createDeployment": [Function],
+ "createDeploymentStatus": [Function],
+ "createDispatchEvent": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createFork": [Function],
+ "createHook": [Function],
+ "createInOrg": [Function],
+ "createOrUpdateFile": [Function],
+ "createOrUpdateFileContents": [Function],
+ "createPagesSite": [Function],
+ "createRelease": [Function],
+ "createStatus": [Function],
+ "createUsingTemplate": [Function],
+ "createWebhook": [Function],
+ "declineInvitation": [Function],
+ "delete": [Function],
+ "deleteAccessRestrictions": [Function],
+ "deleteAdminBranchProtection": [Function],
+ "deleteBranchProtection": [Function],
+ "deleteCommitComment": [Function],
+ "deleteCommitSignatureProtection": [Function],
+ "deleteDeployKey": [Function],
+ "deleteDeployment": [Function],
+ "deleteDownload": [Function],
+ "deleteFile": [Function],
+ "deleteHook": [Function],
+ "deleteInvitation": [Function],
+ "deletePagesSite": [Function],
+ "deletePullRequestReviewProtection": [Function],
+ "deleteRelease": [Function],
+ "deleteReleaseAsset": [Function],
+ "deleteWebhook": [Function],
+ "disableAutomatedSecurityFixes": [Function],
+ "disablePagesSite": [Function],
+ "disableVulnerabilityAlerts": [Function],
+ "downloadArchive": [Function],
+ "enableAutomatedSecurityFixes": [Function],
+ "enablePagesSite": [Function],
+ "enableVulnerabilityAlerts": [Function],
+ "get": [Function],
+ "getAccessRestrictions": [Function],
+ "getAdminBranchProtection": [Function],
+ "getAllStatusCheckContexts": [Function],
+ "getAllTopics": [Function],
+ "getAppsWithAccessToProtectedBranch": [Function],
+ "getArchiveLink": [Function],
+ "getBranch": [Function],
+ "getBranchProtection": [Function],
+ "getClones": [Function],
+ "getCodeFrequencyStats": [Function],
+ "getCollaboratorPermissionLevel": [Function],
+ "getCombinedStatusForRef": [Function],
+ "getCommit": [Function],
+ "getCommitActivityStats": [Function],
+ "getCommitComment": [Function],
+ "getCommitSignatureProtection": [Function],
+ "getCommunityProfileMetrics": [Function],
+ "getContent": [Function],
+ "getContents": [Function],
+ "getContributorsStats": [Function],
+ "getDeployKey": [Function],
+ "getDeployment": [Function],
+ "getDeploymentStatus": [Function],
+ "getDownload": [Function],
+ "getHook": [Function],
+ "getLatestPagesBuild": [Function],
+ "getLatestRelease": [Function],
+ "getPages": [Function],
+ "getPagesBuild": [Function],
+ "getParticipationStats": [Function],
+ "getProtectedBranchAdminEnforcement": [Function],
+ "getProtectedBranchPullRequestReviewEnforcement": [Function],
+ "getProtectedBranchRequiredSignatures": [Function],
+ "getProtectedBranchRequiredStatusChecks": [Function],
+ "getProtectedBranchRestrictions": [Function],
+ "getPullRequestReviewProtection": [Function],
+ "getPunchCardStats": [Function],
+ "getReadme": [Function],
+ "getRelease": [Function],
+ "getReleaseAsset": [Function],
+ "getReleaseByTag": [Function],
+ "getStatusChecksProtection": [Function],
+ "getTeamsWithAccessToProtectedBranch": [Function],
+ "getTopPaths": [Function],
+ "getTopReferrers": [Function],
+ "getUsersWithAccessToProtectedBranch": [Function],
+ "getViews": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAssetsForRelease": [Function],
+ "listBranches": [Function],
+ "listBranchesForHeadCommit": [Function],
+ "listCollaborators": [Function],
+ "listCommentsForCommit": [Function],
+ "listCommitComments": [Function],
+ "listCommitCommentsForRepo": [Function],
+ "listCommitStatusesForRef": [Function],
+ "listCommits": [Function],
+ "listContributors": [Function],
+ "listDeployKeys": [Function],
+ "listDeploymentStatuses": [Function],
+ "listDeployments": [Function],
+ "listDownloads": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listHooks": [Function],
+ "listInvitations": [Function],
+ "listInvitationsForAuthenticatedUser": [Function],
+ "listLanguages": [Function],
+ "listPagesBuilds": [Function],
+ "listProtectedBranchRequiredStatusChecksContexts": [Function],
+ "listPublic": [Function],
+ "listPullRequestsAssociatedWithCommit": [Function],
+ "listReleaseAssets": [Function],
+ "listReleases": [Function],
+ "listStatusesForRef": [Function],
+ "listTags": [Function],
+ "listTeams": [Function],
+ "listTopics": [Function],
+ "listWebhooks": [Function],
+ "merge": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "removeAppAccessRestrictions": [Function],
+ "removeBranchProtection": [Function],
+ "removeCollaborator": [Function],
+ "removeDeployKey": [Function],
+ "removeProtectedBranchAdminEnforcement": [Function],
+ "removeProtectedBranchAppRestrictions": [Function],
+ "removeProtectedBranchPullRequestReviewEnforcement": [Function],
+ "removeProtectedBranchRequiredSignatures": [Function],
+ "removeProtectedBranchRequiredStatusChecks": [Function],
+ "removeProtectedBranchRequiredStatusChecksContexts": [Function],
+ "removeProtectedBranchRestrictions": [Function],
+ "removeProtectedBranchTeamRestrictions": [Function],
+ "removeProtectedBranchUserRestrictions": [Function],
+ "removeStatusCheckContexts": [Function],
+ "removeStatusCheckProtection": [Function],
+ "removeTeamAccessRestrictions": [Function],
+ "removeUserAccessRestrictions": [Function],
+ "replaceAllTopics": [Function],
+ "replaceProtectedBranchAppRestrictions": [Function],
+ "replaceProtectedBranchRequiredStatusChecksContexts": [Function],
+ "replaceProtectedBranchTeamRestrictions": [Function],
+ "replaceProtectedBranchUserRestrictions": [Function],
+ "replaceTopics": [Function],
+ "requestPageBuild": [Function],
+ "requestPagesBuild": [Function],
+ "retrieveCommunityProfileMetrics": [Function],
+ "setAdminBranchProtection": [Function],
+ "setAppAccessRestrictions": [Function],
+ "setStatusCheckContexts": [Function],
+ "setTeamAccessRestrictions": [Function],
+ "setUserAccessRestrictions": [Function],
+ "testPushHook": [Function],
+ "testPushWebhook": [Function],
+ "transfer": [Function],
+ "update": [Function],
+ "updateBranchProtection": [Function],
+ "updateCommitComment": [Function],
+ "updateHook": [Function],
+ "updateInformationAboutPagesSite": [Function],
+ "updateInvitation": [Function],
+ "updateProtectedBranchPullRequestReviewEnforcement": [Function],
+ "updateProtectedBranchRequiredStatusChecks": [Function],
+ "updatePullRequestReviewProtection": [Function],
+ "updateRelease": [Function],
+ "updateReleaseAsset": [Function],
+ "updateStatusCheckPotection": [Function],
+ "updateWebhook": [Function],
+ "uploadReleaseAsset": [Function],
+ },
+ "request": [Function],
+ "search": Object {
+ "code": [Function],
+ "commits": [Function],
+ "issuesAndPullRequests": [Function],
+ "labels": [Function],
+ "repos": [Function],
+ "topics": [Function],
+ "users": [Function],
+ },
+ "teams": Object {
+ "addOrUpdateMembershipForUserInOrg": [Function],
+ "addOrUpdateMembershipInOrg": [Function],
+ "addOrUpdateProjectInOrg": [Function],
+ "addOrUpdateProjectPermissionsInOrg": [Function],
+ "addOrUpdateRepoInOrg": [Function],
+ "addOrUpdateRepoPermissionsInOrg": [Function],
+ "checkManagesRepoInOrg": [Function],
+ "checkPermissionsForProjectInOrg": [Function],
+ "checkPermissionsForRepoInOrg": [Function],
+ "create": [Function],
+ "createDiscussionCommentInOrg": [Function],
+ "createDiscussionInOrg": [Function],
+ "deleteDiscussionCommentInOrg": [Function],
+ "deleteDiscussionInOrg": [Function],
+ "deleteInOrg": [Function],
+ "getByName": [Function],
+ "getDiscussionCommentInOrg": [Function],
+ "getDiscussionInOrg": [Function],
+ "getMembershipForUserInOrg": [Function],
+ "getMembershipInOrg": [Function],
+ "list": [Function],
+ "listChildInOrg": [Function],
+ "listDiscussionCommentsInOrg": [Function],
+ "listDiscussionsInOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listMembersInOrg": [Function],
+ "listPendingInvitationsInOrg": [Function],
+ "listProjectsInOrg": [Function],
+ "listReposInOrg": [Function],
+ "removeMembershipForUserInOrg": [Function],
+ "removeMembershipInOrg": [Function],
+ "removeProjectInOrg": [Function],
+ "removeRepoInOrg": [Function],
+ "reviewProjectInOrg": [Function],
+ "updateDiscussionCommentInOrg": [Function],
+ "updateDiscussionInOrg": [Function],
+ "updateInOrg": [Function],
+ },
+ "users": Object {
+ "addEmailForAuthenticated": [Function],
+ "addEmails": [Function],
+ "block": [Function],
+ "checkBlocked": [Function],
+ "checkFollowing": [Function],
+ "checkFollowingForUser": [Function],
+ "checkPersonIsFollowedByAuthenticated": [Function],
+ "createGpgKey": [Function],
+ "createGpgKeyForAuthenticated": [Function],
+ "createPublicKey": [Function],
+ "createPublicSshKeyForAuthenticated": [Function],
+ "deleteEmailForAuthenticated": [Function],
+ "deleteEmails": [Function],
+ "deleteGpgKey": [Function],
+ "deleteGpgKeyForAuthenticated": [Function],
+ "deletePublicKey": [Function],
+ "deletePublicSshKeyForAuthenticated": [Function],
+ "follow": [Function],
+ "getAuthenticated": [Function],
+ "getByUsername": [Function],
+ "getContextForUser": [Function],
+ "getGpgKey": [Function],
+ "getGpgKeyForAuthenticated": [Function],
+ "getPublicKey": [Function],
+ "getPublicSshKeyForAuthenticated": [Function],
+ "list": [Function],
+ "listBlocked": [Function],
+ "listBlockedByAuthenticated": [Function],
+ "listEmails": [Function],
+ "listEmailsForAuthenticated": [Function],
+ "listFollowedByAuthenticated": [Function],
+ "listFollowersForAuthenticatedUser": [Function],
+ "listFollowersForUser": [Function],
+ "listFollowingForAuthenticatedUser": [Function],
+ "listFollowingForUser": [Function],
+ "listGpgKeys": [Function],
+ "listGpgKeysForAuthenticated": [Function],
+ "listGpgKeysForUser": [Function],
+ "listPublicEmails": [Function],
+ "listPublicEmailsForAuthenticated": [Function],
+ "listPublicKeys": [Function],
+ "listPublicKeysForUser": [Function],
+ "listPublicSshKeysForAuthenticated": [Function],
+ "setPrimaryEmailVisibilityForAuthenticated": [Function],
+ "togglePrimaryEmailVisibility": [Function],
+ "unblock": [Function],
+ "unfollow": [Function],
+ "updateAuthenticated": [Function],
+ },
+ },
+ },
"graphStylingPane": GraphStylingPane {
"container": [Circular],
"firstFieldHasFocus": [Function],
@@ -1495,7 +3804,6 @@ exports[`SettingsComponent renders 1`] = `
"isAutoscaleDefaultEnabled": [Function],
"isEnableMongoCapabilityPresent": [Function],
"isFixedCollectionWithSharedThroughputSupported": [Function],
- "isGitHubPaneEnabled": [Function],
"isHostedDataExplorerEnabled": [Function],
"isLeftPaneExpanded": [Function],
"isMongoIndexingEnabled": [Function],
@@ -1510,9 +3818,14 @@ exports[`SettingsComponent renders 1`] = `
"isSparkEnabledForAccount": [Function],
"isSynapseLinkUpdating": [Function],
"isTabsContentExpanded": [Function],
+ "junoClient": JunoClient {
+ "cachedPinnedRepos": [Function],
+ "databaseAccount": undefined,
+ },
"memoryUsageInfo": [Function],
"notebookBasePath": [Function],
"notebookServerInfo": [Function],
+ "onGitHubClientError": [Function],
"onRefreshDatabasesKeyPress": [Function],
"onRefreshResourcesClick": [Function],
"onSwitchToConnectionString": [Function],
@@ -1985,6 +4298,773 @@ exports[`SettingsComponent renders 1`] = `
"defaultExperience": [Function],
"deleteCollectionText": [Function],
"deleteDatabaseText": [Function],
+ "gitHubClient": GitHubClient {
+ "errorCallback": [Function],
+ "ocktokit": OctokitWithDefaults {
+ "actions": Object {
+ "addSelectedRepoToOrgSecret": [Function],
+ "cancelWorkflowRun": [Function],
+ "createOrUpdateOrgSecret": [Function],
+ "createOrUpdateRepoSecret": [Function],
+ "createOrUpdateSecretForRepo": [Function],
+ "createRegistrationToken": [Function],
+ "createRegistrationTokenForOrg": [Function],
+ "createRegistrationTokenForRepo": [Function],
+ "createRemoveToken": [Function],
+ "createRemoveTokenForOrg": [Function],
+ "createRemoveTokenForRepo": [Function],
+ "deleteArtifact": [Function],
+ "deleteOrgSecret": [Function],
+ "deleteRepoSecret": [Function],
+ "deleteSecretFromRepo": [Function],
+ "deleteSelfHostedRunnerFromOrg": [Function],
+ "deleteSelfHostedRunnerFromRepo": [Function],
+ "deleteWorkflowRunLogs": [Function],
+ "downloadArtifact": [Function],
+ "downloadJobLogsForWorkflowRun": [Function],
+ "downloadWorkflowJobLogs": [Function],
+ "downloadWorkflowRunLogs": [Function],
+ "getArtifact": [Function],
+ "getJobForWorkflowRun": [Function],
+ "getOrgPublicKey": [Function],
+ "getOrgSecret": [Function],
+ "getPublicKey": [Function],
+ "getRepoPublicKey": [Function],
+ "getRepoSecret": [Function],
+ "getSecret": [Function],
+ "getSelfHostedRunner": [Function],
+ "getSelfHostedRunnerForOrg": [Function],
+ "getSelfHostedRunnerForRepo": [Function],
+ "getWorkflow": [Function],
+ "getWorkflowJob": [Function],
+ "getWorkflowRun": [Function],
+ "getWorkflowRunUsage": [Function],
+ "getWorkflowUsage": [Function],
+ "listArtifactsForRepo": [Function],
+ "listDownloadsForSelfHostedRunnerApplication": [Function],
+ "listJobsForWorkflowRun": [Function],
+ "listOrgSecrets": [Function],
+ "listRepoSecrets": [Function],
+ "listRepoWorkflowRuns": [Function],
+ "listRepoWorkflows": [Function],
+ "listRunnerApplicationsForOrg": [Function],
+ "listRunnerApplicationsForRepo": [Function],
+ "listSecretsForRepo": [Function],
+ "listSelectedReposForOrgSecret": [Function],
+ "listSelfHostedRunnersForOrg": [Function],
+ "listSelfHostedRunnersForRepo": [Function],
+ "listWorkflowJobLogs": [Function],
+ "listWorkflowRunArtifacts": [Function],
+ "listWorkflowRunLogs": [Function],
+ "listWorkflowRuns": [Function],
+ "listWorkflowRunsForRepo": [Function],
+ "reRunWorkflow": [Function],
+ "removeSelectedRepoFromOrgSecret": [Function],
+ "removeSelfHostedRunner": [Function],
+ "setSelectedReposForOrgSecret": [Function],
+ },
+ "activity": Object {
+ "checkRepoIsStarredByAuthenticatedUser": [Function],
+ "checkStarringRepo": [Function],
+ "deleteRepoSubscription": [Function],
+ "deleteThreadSubscription": [Function],
+ "getFeeds": [Function],
+ "getRepoSubscription": [Function],
+ "getThread": [Function],
+ "getThreadSubscription": [Function],
+ "getThreadSubscriptionForAuthenticatedUser": [Function],
+ "listEventsForAuthenticatedUser": [Function],
+ "listEventsForOrg": [Function],
+ "listEventsForUser": [Function],
+ "listFeeds": [Function],
+ "listNotifications": [Function],
+ "listNotificationsForAuthenticatedUser": [Function],
+ "listNotificationsForRepo": [Function],
+ "listOrgEventsForAuthenticatedUser": [Function],
+ "listPublicEvents": [Function],
+ "listPublicEventsForOrg": [Function],
+ "listPublicEventsForRepoNetwork": [Function],
+ "listPublicEventsForUser": [Function],
+ "listPublicOrgEvents": [Function],
+ "listReceivedEventsForUser": [Function],
+ "listReceivedPublicEventsForUser": [Function],
+ "listRepoEvents": [Function],
+ "listRepoNotificationsForAuthenticatedUser": [Function],
+ "listReposStarredByAuthenticatedUser": [Function],
+ "listReposStarredByUser": [Function],
+ "listReposWatchedByUser": [Function],
+ "listStargazersForRepo": [Function],
+ "listWatchedReposForAuthenticatedUser": [Function],
+ "listWatchersForRepo": [Function],
+ "markAsRead": [Function],
+ "markNotificationsAsRead": [Function],
+ "markNotificationsAsReadForRepo": [Function],
+ "markRepoNotificationsAsRead": [Function],
+ "markThreadAsRead": [Function],
+ "setRepoSubscription": [Function],
+ "setThreadSubscription": [Function],
+ "starRepo": [Function],
+ "starRepoForAuthenticatedUser": [Function],
+ "unstarRepo": [Function],
+ "unstarRepoForAuthenticatedUser": [Function],
+ },
+ "apps": Object {
+ "addRepoToInstallation": [Function],
+ "checkAccountIsAssociatedWithAny": [Function],
+ "checkAccountIsAssociatedWithAnyStubbed": [Function],
+ "checkToken": [Function],
+ "createContentAttachment": [Function],
+ "createFromManifest": [Function],
+ "createInstallationAccessToken": [Function],
+ "createInstallationToken": [Function],
+ "deleteAuthorization": [Function],
+ "deleteInstallation": [Function],
+ "deleteToken": [Function],
+ "getAuthenticated": [Function],
+ "getBySlug": [Function],
+ "getInstallation": [Function],
+ "getOrgInstallation": [Function],
+ "getRepoInstallation": [Function],
+ "getSubscriptionPlanForAccount": [Function],
+ "getSubscriptionPlanForAccountStubbed": [Function],
+ "getUserInstallation": [Function],
+ "listAccountsForPlan": [Function],
+ "listAccountsForPlanStubbed": [Function],
+ "listAccountsUserOrOrgOnPlan": [Function],
+ "listAccountsUserOrOrgOnPlanStubbed": [Function],
+ "listInstallationReposForAuthenticatedUser": [Function],
+ "listInstallations": [Function],
+ "listInstallationsForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUserStubbed": [Function],
+ "listPlans": [Function],
+ "listPlansStubbed": [Function],
+ "listRepos": [Function],
+ "listReposAccessibleToInstallation": [Function],
+ "listSubscriptionsForAuthenticatedUser": [Function],
+ "listSubscriptionsForAuthenticatedUserStubbed": [Function],
+ "removeRepoFromInstallation": [Function],
+ "resetToken": [Function],
+ "revokeInstallationAccessToken": [Function],
+ "revokeInstallationToken": [Function],
+ "suspendInstallation": [Function],
+ "unsuspendInstallation": [Function],
+ },
+ "auth": [Function],
+ "checks": Object {
+ "create": [Function],
+ "createSuite": [Function],
+ "get": [Function],
+ "getSuite": [Function],
+ "listAnnotations": [Function],
+ "listForRef": [Function],
+ "listForSuite": [Function],
+ "listSuitesForRef": [Function],
+ "rerequestSuite": [Function],
+ "setSuitesPreferences": [Function],
+ "update": [Function],
+ },
+ "codeScanning": Object {
+ "getAlert": [Function],
+ "listAlertsForRepo": [Function],
+ },
+ "codesOfConduct": Object {
+ "getAllCodesOfConduct": [Function],
+ "getConductCode": [Function],
+ "getForRepo": [Function],
+ "listConductCodes": [Function],
+ },
+ "emojis": Object {
+ "get": [Function],
+ },
+ "gists": Object {
+ "checkIsStarred": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "delete": [Function],
+ "deleteComment": [Function],
+ "fork": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getRevision": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommits": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listPublic": [Function],
+ "listPublicForUser": [Function],
+ "listStarred": [Function],
+ "star": [Function],
+ "unstar": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ },
+ "git": Object {
+ "createBlob": [Function],
+ "createCommit": [Function],
+ "createRef": [Function],
+ "createTag": [Function],
+ "createTree": [Function],
+ "deleteRef": [Function],
+ "getBlob": [Function],
+ "getCommit": [Function],
+ "getRef": [Function],
+ "getTag": [Function],
+ "getTree": [Function],
+ "listMatchingRefs": [Function],
+ "updateRef": [Function],
+ },
+ "gitignore": Object {
+ "getAllTemplates": [Function],
+ "getTemplate": [Function],
+ "listTemplates": [Function],
+ },
+ "graphql": [Function],
+ "hook": [Function],
+ "interactions": Object {
+ "addOrUpdateRestrictionsForOrg": [Function],
+ "addOrUpdateRestrictionsForRepo": [Function],
+ "getRestrictionsForOrg": [Function],
+ "getRestrictionsForRepo": [Function],
+ "removeRestrictionsForOrg": [Function],
+ "removeRestrictionsForRepo": [Function],
+ "setRestrictionsForOrg": [Function],
+ "setRestrictionsForRepo": [Function],
+ },
+ "issues": Object {
+ "addAssignees": [Function],
+ "addLabels": [Function],
+ "checkAssignee": [Function],
+ "checkUserCanBeAssigned": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createLabel": [Function],
+ "createMilestone": [Function],
+ "deleteComment": [Function],
+ "deleteLabel": [Function],
+ "deleteMilestone": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getEvent": [Function],
+ "getLabel": [Function],
+ "getMilestone": [Function],
+ "list": [Function],
+ "listAssignees": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listEvents": [Function],
+ "listEventsForRepo": [Function],
+ "listEventsForTimeline": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listLabelsForMilestone": [Function],
+ "listLabelsForRepo": [Function],
+ "listLabelsOnIssue": [Function],
+ "listMilestones": [Function],
+ "listMilestonesForRepo": [Function],
+ "lock": [Function],
+ "removeAllLabels": [Function],
+ "removeAssignees": [Function],
+ "removeLabel": [Function],
+ "removeLabels": [Function],
+ "replaceAllLabels": [Function],
+ "replaceLabels": [Function],
+ "setLabels": [Function],
+ "unlock": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ "updateLabel": [Function],
+ "updateMilestone": [Function],
+ },
+ "licenses": Object {
+ "get": [Function],
+ "getAllCommonlyUsed": [Function],
+ "getForRepo": [Function],
+ "listCommonlyUsed": [Function],
+ },
+ "log": Object {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "markdown": Object {
+ "render": [Function],
+ "renderRaw": [Function],
+ },
+ "meta": Object {
+ "get": [Function],
+ },
+ "migrations": Object {
+ "cancelImport": [Function],
+ "deleteArchiveForAuthenticatedUser": [Function],
+ "deleteArchiveForOrg": [Function],
+ "downloadArchiveForOrg": [Function],
+ "getArchiveForAuthenticatedUser": [Function],
+ "getCommitAuthors": [Function],
+ "getImportProgress": [Function],
+ "getImportStatus": [Function],
+ "getLargeFiles": [Function],
+ "getStatusForAuthenticatedUser": [Function],
+ "getStatusForOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listReposForOrg": [Function],
+ "listReposForUser": [Function],
+ "mapCommitAuthor": [Function],
+ "setLfsPreference": [Function],
+ "startForAuthenticatedUser": [Function],
+ "startForOrg": [Function],
+ "startImport": [Function],
+ "unlockRepoForAuthenticatedUser": [Function],
+ "unlockRepoForOrg": [Function],
+ "updateImport": [Function],
+ },
+ "orgs": Object {
+ "addOrUpdateMembership": [Function],
+ "blockUser": [Function],
+ "checkBlockedUser": [Function],
+ "checkMembership": [Function],
+ "checkMembershipForUser": [Function],
+ "checkPublicMembership": [Function],
+ "checkPublicMembershipForUser": [Function],
+ "concealMembership": [Function],
+ "convertMemberToOutsideCollaborator": [Function],
+ "createHook": [Function],
+ "createInvitation": [Function],
+ "createWebhook": [Function],
+ "deleteHook": [Function],
+ "deleteWebhook": [Function],
+ "get": [Function],
+ "getHook": [Function],
+ "getMembership": [Function],
+ "getMembershipForAuthenticatedUser": [Function],
+ "getMembershipForUser": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAppInstallations": [Function],
+ "listBlockedUsers": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForUser": [Function],
+ "listHooks": [Function],
+ "listInstallations": [Function],
+ "listInvitationTeams": [Function],
+ "listMembers": [Function],
+ "listMemberships": [Function],
+ "listMembershipsForAuthenticatedUser": [Function],
+ "listOutsideCollaborators": [Function],
+ "listPendingInvitations": [Function],
+ "listPublicMembers": [Function],
+ "listWebhooks": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "publicizeMembership": [Function],
+ "removeMember": [Function],
+ "removeMembership": [Function],
+ "removeMembershipForUser": [Function],
+ "removeOutsideCollaborator": [Function],
+ "removePublicMembershipForAuthenticatedUser": [Function],
+ "setMembershipForUser": [Function],
+ "setPublicMembershipForAuthenticatedUser": [Function],
+ "unblockUser": [Function],
+ "update": [Function],
+ "updateHook": [Function],
+ "updateMembership": [Function],
+ "updateMembershipForAuthenticatedUser": [Function],
+ "updateWebhook": [Function],
+ },
+ "paginate": [Function],
+ "projects": Object {
+ "addCollaborator": [Function],
+ "createCard": [Function],
+ "createColumn": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createForOrg": [Function],
+ "createForRepo": [Function],
+ "delete": [Function],
+ "deleteCard": [Function],
+ "deleteColumn": [Function],
+ "get": [Function],
+ "getCard": [Function],
+ "getColumn": [Function],
+ "getPermissionForUser": [Function],
+ "listCards": [Function],
+ "listCollaborators": [Function],
+ "listColumns": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listForUser": [Function],
+ "moveCard": [Function],
+ "moveColumn": [Function],
+ "removeCollaborator": [Function],
+ "reviewUserPermissionLevel": [Function],
+ "update": [Function],
+ "updateCard": [Function],
+ "updateColumn": [Function],
+ },
+ "pulls": Object {
+ "checkIfMerged": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createReplyForReviewComment": [Function],
+ "createReview": [Function],
+ "createReviewComment": [Function],
+ "createReviewCommentReply": [Function],
+ "createReviewRequest": [Function],
+ "deleteComment": [Function],
+ "deletePendingReview": [Function],
+ "deleteReviewComment": [Function],
+ "deleteReviewRequest": [Function],
+ "dismissReview": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getCommentsForReview": [Function],
+ "getReview": [Function],
+ "getReviewComment": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listCommentsForReview": [Function],
+ "listCommits": [Function],
+ "listFiles": [Function],
+ "listRequestedReviewers": [Function],
+ "listReviewComments": [Function],
+ "listReviewCommentsForRepo": [Function],
+ "listReviewRequests": [Function],
+ "listReviews": [Function],
+ "merge": [Function],
+ "removeRequestedReviewers": [Function],
+ "requestReviewers": [Function],
+ "submitReview": [Function],
+ "update": [Function],
+ "updateBranch": [Function],
+ "updateComment": [Function],
+ "updateReview": [Function],
+ "updateReviewComment": [Function],
+ },
+ "rateLimit": Object {
+ "get": [Function],
+ },
+ "reactions": Object {
+ "createForCommitComment": [Function],
+ "createForIssue": [Function],
+ "createForIssueComment": [Function],
+ "createForPullRequestReviewComment": [Function],
+ "createForTeamDiscussionCommentInOrg": [Function],
+ "createForTeamDiscussionInOrg": [Function],
+ "delete": [Function],
+ "deleteForCommitComment": [Function],
+ "deleteForIssue": [Function],
+ "deleteForIssueComment": [Function],
+ "deleteForPullRequestComment": [Function],
+ "deleteForTeamDiscussion": [Function],
+ "deleteForTeamDiscussionComment": [Function],
+ "deleteLegacy": [Function],
+ "listForCommitComment": [Function],
+ "listForIssue": [Function],
+ "listForIssueComment": [Function],
+ "listForPullRequestReviewComment": [Function],
+ "listForTeamDiscussionCommentInOrg": [Function],
+ "listForTeamDiscussionInOrg": [Function],
+ },
+ "repos": Object {
+ "acceptInvitation": [Function],
+ "addAppAccessRestrictions": [Function],
+ "addCollaborator": [Function],
+ "addDeployKey": [Function],
+ "addProtectedBranchAdminEnforcement": [Function],
+ "addProtectedBranchAppRestrictions": [Function],
+ "addProtectedBranchRequiredSignatures": [Function],
+ "addProtectedBranchRequiredStatusChecksContexts": [Function],
+ "addProtectedBranchTeamRestrictions": [Function],
+ "addProtectedBranchUserRestrictions": [Function],
+ "addStatusCheckContexts": [Function],
+ "addTeamAccessRestrictions": [Function],
+ "addUserAccessRestrictions": [Function],
+ "checkCollaborator": [Function],
+ "checkVulnerabilityAlerts": [Function],
+ "compareCommits": [Function],
+ "createCommitComment": [Function],
+ "createCommitSignatureProtection": [Function],
+ "createCommitStatus": [Function],
+ "createDeployKey": [Function],
+ "createDeployment": [Function],
+ "createDeploymentStatus": [Function],
+ "createDispatchEvent": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createFork": [Function],
+ "createHook": [Function],
+ "createInOrg": [Function],
+ "createOrUpdateFile": [Function],
+ "createOrUpdateFileContents": [Function],
+ "createPagesSite": [Function],
+ "createRelease": [Function],
+ "createStatus": [Function],
+ "createUsingTemplate": [Function],
+ "createWebhook": [Function],
+ "declineInvitation": [Function],
+ "delete": [Function],
+ "deleteAccessRestrictions": [Function],
+ "deleteAdminBranchProtection": [Function],
+ "deleteBranchProtection": [Function],
+ "deleteCommitComment": [Function],
+ "deleteCommitSignatureProtection": [Function],
+ "deleteDeployKey": [Function],
+ "deleteDeployment": [Function],
+ "deleteDownload": [Function],
+ "deleteFile": [Function],
+ "deleteHook": [Function],
+ "deleteInvitation": [Function],
+ "deletePagesSite": [Function],
+ "deletePullRequestReviewProtection": [Function],
+ "deleteRelease": [Function],
+ "deleteReleaseAsset": [Function],
+ "deleteWebhook": [Function],
+ "disableAutomatedSecurityFixes": [Function],
+ "disablePagesSite": [Function],
+ "disableVulnerabilityAlerts": [Function],
+ "downloadArchive": [Function],
+ "enableAutomatedSecurityFixes": [Function],
+ "enablePagesSite": [Function],
+ "enableVulnerabilityAlerts": [Function],
+ "get": [Function],
+ "getAccessRestrictions": [Function],
+ "getAdminBranchProtection": [Function],
+ "getAllStatusCheckContexts": [Function],
+ "getAllTopics": [Function],
+ "getAppsWithAccessToProtectedBranch": [Function],
+ "getArchiveLink": [Function],
+ "getBranch": [Function],
+ "getBranchProtection": [Function],
+ "getClones": [Function],
+ "getCodeFrequencyStats": [Function],
+ "getCollaboratorPermissionLevel": [Function],
+ "getCombinedStatusForRef": [Function],
+ "getCommit": [Function],
+ "getCommitActivityStats": [Function],
+ "getCommitComment": [Function],
+ "getCommitSignatureProtection": [Function],
+ "getCommunityProfileMetrics": [Function],
+ "getContent": [Function],
+ "getContents": [Function],
+ "getContributorsStats": [Function],
+ "getDeployKey": [Function],
+ "getDeployment": [Function],
+ "getDeploymentStatus": [Function],
+ "getDownload": [Function],
+ "getHook": [Function],
+ "getLatestPagesBuild": [Function],
+ "getLatestRelease": [Function],
+ "getPages": [Function],
+ "getPagesBuild": [Function],
+ "getParticipationStats": [Function],
+ "getProtectedBranchAdminEnforcement": [Function],
+ "getProtectedBranchPullRequestReviewEnforcement": [Function],
+ "getProtectedBranchRequiredSignatures": [Function],
+ "getProtectedBranchRequiredStatusChecks": [Function],
+ "getProtectedBranchRestrictions": [Function],
+ "getPullRequestReviewProtection": [Function],
+ "getPunchCardStats": [Function],
+ "getReadme": [Function],
+ "getRelease": [Function],
+ "getReleaseAsset": [Function],
+ "getReleaseByTag": [Function],
+ "getStatusChecksProtection": [Function],
+ "getTeamsWithAccessToProtectedBranch": [Function],
+ "getTopPaths": [Function],
+ "getTopReferrers": [Function],
+ "getUsersWithAccessToProtectedBranch": [Function],
+ "getViews": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAssetsForRelease": [Function],
+ "listBranches": [Function],
+ "listBranchesForHeadCommit": [Function],
+ "listCollaborators": [Function],
+ "listCommentsForCommit": [Function],
+ "listCommitComments": [Function],
+ "listCommitCommentsForRepo": [Function],
+ "listCommitStatusesForRef": [Function],
+ "listCommits": [Function],
+ "listContributors": [Function],
+ "listDeployKeys": [Function],
+ "listDeploymentStatuses": [Function],
+ "listDeployments": [Function],
+ "listDownloads": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listHooks": [Function],
+ "listInvitations": [Function],
+ "listInvitationsForAuthenticatedUser": [Function],
+ "listLanguages": [Function],
+ "listPagesBuilds": [Function],
+ "listProtectedBranchRequiredStatusChecksContexts": [Function],
+ "listPublic": [Function],
+ "listPullRequestsAssociatedWithCommit": [Function],
+ "listReleaseAssets": [Function],
+ "listReleases": [Function],
+ "listStatusesForRef": [Function],
+ "listTags": [Function],
+ "listTeams": [Function],
+ "listTopics": [Function],
+ "listWebhooks": [Function],
+ "merge": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "removeAppAccessRestrictions": [Function],
+ "removeBranchProtection": [Function],
+ "removeCollaborator": [Function],
+ "removeDeployKey": [Function],
+ "removeProtectedBranchAdminEnforcement": [Function],
+ "removeProtectedBranchAppRestrictions": [Function],
+ "removeProtectedBranchPullRequestReviewEnforcement": [Function],
+ "removeProtectedBranchRequiredSignatures": [Function],
+ "removeProtectedBranchRequiredStatusChecks": [Function],
+ "removeProtectedBranchRequiredStatusChecksContexts": [Function],
+ "removeProtectedBranchRestrictions": [Function],
+ "removeProtectedBranchTeamRestrictions": [Function],
+ "removeProtectedBranchUserRestrictions": [Function],
+ "removeStatusCheckContexts": [Function],
+ "removeStatusCheckProtection": [Function],
+ "removeTeamAccessRestrictions": [Function],
+ "removeUserAccessRestrictions": [Function],
+ "replaceAllTopics": [Function],
+ "replaceProtectedBranchAppRestrictions": [Function],
+ "replaceProtectedBranchRequiredStatusChecksContexts": [Function],
+ "replaceProtectedBranchTeamRestrictions": [Function],
+ "replaceProtectedBranchUserRestrictions": [Function],
+ "replaceTopics": [Function],
+ "requestPageBuild": [Function],
+ "requestPagesBuild": [Function],
+ "retrieveCommunityProfileMetrics": [Function],
+ "setAdminBranchProtection": [Function],
+ "setAppAccessRestrictions": [Function],
+ "setStatusCheckContexts": [Function],
+ "setTeamAccessRestrictions": [Function],
+ "setUserAccessRestrictions": [Function],
+ "testPushHook": [Function],
+ "testPushWebhook": [Function],
+ "transfer": [Function],
+ "update": [Function],
+ "updateBranchProtection": [Function],
+ "updateCommitComment": [Function],
+ "updateHook": [Function],
+ "updateInformationAboutPagesSite": [Function],
+ "updateInvitation": [Function],
+ "updateProtectedBranchPullRequestReviewEnforcement": [Function],
+ "updateProtectedBranchRequiredStatusChecks": [Function],
+ "updatePullRequestReviewProtection": [Function],
+ "updateRelease": [Function],
+ "updateReleaseAsset": [Function],
+ "updateStatusCheckPotection": [Function],
+ "updateWebhook": [Function],
+ "uploadReleaseAsset": [Function],
+ },
+ "request": [Function],
+ "search": Object {
+ "code": [Function],
+ "commits": [Function],
+ "issuesAndPullRequests": [Function],
+ "labels": [Function],
+ "repos": [Function],
+ "topics": [Function],
+ "users": [Function],
+ },
+ "teams": Object {
+ "addOrUpdateMembershipForUserInOrg": [Function],
+ "addOrUpdateMembershipInOrg": [Function],
+ "addOrUpdateProjectInOrg": [Function],
+ "addOrUpdateProjectPermissionsInOrg": [Function],
+ "addOrUpdateRepoInOrg": [Function],
+ "addOrUpdateRepoPermissionsInOrg": [Function],
+ "checkManagesRepoInOrg": [Function],
+ "checkPermissionsForProjectInOrg": [Function],
+ "checkPermissionsForRepoInOrg": [Function],
+ "create": [Function],
+ "createDiscussionCommentInOrg": [Function],
+ "createDiscussionInOrg": [Function],
+ "deleteDiscussionCommentInOrg": [Function],
+ "deleteDiscussionInOrg": [Function],
+ "deleteInOrg": [Function],
+ "getByName": [Function],
+ "getDiscussionCommentInOrg": [Function],
+ "getDiscussionInOrg": [Function],
+ "getMembershipForUserInOrg": [Function],
+ "getMembershipInOrg": [Function],
+ "list": [Function],
+ "listChildInOrg": [Function],
+ "listDiscussionCommentsInOrg": [Function],
+ "listDiscussionsInOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listMembersInOrg": [Function],
+ "listPendingInvitationsInOrg": [Function],
+ "listProjectsInOrg": [Function],
+ "listReposInOrg": [Function],
+ "removeMembershipForUserInOrg": [Function],
+ "removeMembershipInOrg": [Function],
+ "removeProjectInOrg": [Function],
+ "removeRepoInOrg": [Function],
+ "reviewProjectInOrg": [Function],
+ "updateDiscussionCommentInOrg": [Function],
+ "updateDiscussionInOrg": [Function],
+ "updateInOrg": [Function],
+ },
+ "users": Object {
+ "addEmailForAuthenticated": [Function],
+ "addEmails": [Function],
+ "block": [Function],
+ "checkBlocked": [Function],
+ "checkFollowing": [Function],
+ "checkFollowingForUser": [Function],
+ "checkPersonIsFollowedByAuthenticated": [Function],
+ "createGpgKey": [Function],
+ "createGpgKeyForAuthenticated": [Function],
+ "createPublicKey": [Function],
+ "createPublicSshKeyForAuthenticated": [Function],
+ "deleteEmailForAuthenticated": [Function],
+ "deleteEmails": [Function],
+ "deleteGpgKey": [Function],
+ "deleteGpgKeyForAuthenticated": [Function],
+ "deletePublicKey": [Function],
+ "deletePublicSshKeyForAuthenticated": [Function],
+ "follow": [Function],
+ "getAuthenticated": [Function],
+ "getByUsername": [Function],
+ "getContextForUser": [Function],
+ "getGpgKey": [Function],
+ "getGpgKeyForAuthenticated": [Function],
+ "getPublicKey": [Function],
+ "getPublicSshKeyForAuthenticated": [Function],
+ "list": [Function],
+ "listBlocked": [Function],
+ "listBlockedByAuthenticated": [Function],
+ "listEmails": [Function],
+ "listEmailsForAuthenticated": [Function],
+ "listFollowedByAuthenticated": [Function],
+ "listFollowersForAuthenticatedUser": [Function],
+ "listFollowersForUser": [Function],
+ "listFollowingForAuthenticatedUser": [Function],
+ "listFollowingForUser": [Function],
+ "listGpgKeys": [Function],
+ "listGpgKeysForAuthenticated": [Function],
+ "listGpgKeysForUser": [Function],
+ "listPublicEmails": [Function],
+ "listPublicEmailsForAuthenticated": [Function],
+ "listPublicKeys": [Function],
+ "listPublicKeysForUser": [Function],
+ "listPublicSshKeysForAuthenticated": [Function],
+ "setPrimaryEmailVisibilityForAuthenticated": [Function],
+ "togglePrimaryEmailVisibility": [Function],
+ "unblock": [Function],
+ "unfollow": [Function],
+ "updateAuthenticated": [Function],
+ },
+ },
+ },
"graphStylingPane": GraphStylingPane {
"container": [Circular],
"firstFieldHasFocus": [Function],
@@ -2010,7 +5090,6 @@ exports[`SettingsComponent renders 1`] = `
"isAutoscaleDefaultEnabled": [Function],
"isEnableMongoCapabilityPresent": [Function],
"isFixedCollectionWithSharedThroughputSupported": [Function],
- "isGitHubPaneEnabled": [Function],
"isHostedDataExplorerEnabled": [Function],
"isLeftPaneExpanded": [Function],
"isMongoIndexingEnabled": [Function],
@@ -2025,9 +5104,14 @@ exports[`SettingsComponent renders 1`] = `
"isSparkEnabledForAccount": [Function],
"isSynapseLinkUpdating": [Function],
"isTabsContentExpanded": [Function],
+ "junoClient": JunoClient {
+ "cachedPinnedRepos": [Function],
+ "databaseAccount": undefined,
+ },
"memoryUsageInfo": [Function],
"notebookBasePath": [Function],
"notebookServerInfo": [Function],
+ "onGitHubClientError": [Function],
"onRefreshDatabasesKeyPress": [Function],
"onRefreshResourcesClick": [Function],
"onSwitchToConnectionString": [Function],
diff --git a/src/Explorer/Explorer.tsx b/src/Explorer/Explorer.tsx
index e044581f3..5b368781f 100644
--- a/src/Explorer/Explorer.tsx
+++ b/src/Explorer/Explorer.tsx
@@ -7,7 +7,7 @@ import _ from "underscore";
import { AuthType } from "../AuthType";
import { BindingHandlersRegisterer } from "../Bindings/BindingHandlersRegisterer";
import * as Constants from "../Common/Constants";
-import { ExplorerMetrics } from "../Common/Constants";
+import { ExplorerMetrics, HttpStatusCodes } from "../Common/Constants";
import { readCollection } from "../Common/dataAccess/readCollection";
import { readDatabases } from "../Common/dataAccess/readDatabases";
import { getErrorMessage, getErrorStack, handleError } from "../Common/ErrorHandlingUtils";
@@ -19,7 +19,9 @@ import { configContext, Platform } from "../ConfigContext";
import * as DataModels from "../Contracts/DataModels";
import { MessageTypes } from "../Contracts/ExplorerContracts";
import * as ViewModels from "../Contracts/ViewModels";
-import { IGalleryItem } from "../Juno/JunoClient";
+import { GitHubClient } from "../GitHub/GitHubClient";
+import { GitHubOAuthService } from "../GitHub/GitHubOAuthService";
+import { IGalleryItem, JunoClient } from "../Juno/JunoClient";
import { NotebookWorkspaceManager } from "../NotebookWorkspaceManager/NotebookWorkspaceManager";
import { ResourceProviderClientFactory } from "../ResourceProvider/ResourceProviderClientFactory";
import { RouteHandler } from "../RouteHandlers/RouteHandler";
@@ -57,6 +59,7 @@ import { ContextualPaneBase } from "./Panes/ContextualPaneBase";
import { DeleteCollectionConfirmationPane } from "./Panes/DeleteCollectionConfirmationPane/DeleteCollectionConfirmationPane";
import { DeleteDatabaseConfirmationPanel } from "./Panes/DeleteDatabaseConfirmationPanel";
import { ExecuteSprocParamsPane } from "./Panes/ExecuteSprocParamsPane/ExecuteSprocParamsPane";
+import { GitHubReposPanel } from "./Panes/GitHubReposPanel/GitHubReposPanel";
import GraphStylingPane from "./Panes/GraphStylingPane";
import { LoadQueryPane } from "./Panes/LoadQueryPane/LoadQueryPane";
import { SaveQueryPane } from "./Panes/SaveQueryPane/SaveQueryPane";
@@ -166,10 +169,11 @@ export default class Explorer {
public addCollectionPane: AddCollectionPane;
public graphStylingPane: GraphStylingPane;
public cassandraAddCollectionPane: CassandraAddCollectionPane;
- public gitHubReposPane: ContextualPaneBase;
+ private gitHubClient: GitHubClient;
+ public gitHubOAuthService: GitHubOAuthService;
+ public junoClient: JunoClient;
// features
- public isGitHubPaneEnabled: ko.Observable;
public isPublishNotebookPaneEnabled: ko.Observable;
public isHostedDataExplorerEnabled: ko.Computed;
public isRightPanelV2Enabled: ko.Computed;
@@ -211,6 +215,8 @@ export default class Explorer {
private static readonly MaxNbDatabasesToAutoExpand = 5;
constructor(params?: ExplorerParams) {
+ this.gitHubClient = new GitHubClient(this.onGitHubClientError);
+ this.junoClient = new JunoClient();
this.setIsNotificationConsoleExpanded = params?.setIsNotificationConsoleExpanded;
this.setNotificationConsoleData = params?.setNotificationConsoleData;
this.setInProgressConsoleDataIdToBeDeleted = params?.setInProgressConsoleDataIdToBeDeleted;
@@ -317,7 +323,6 @@ export default class Explorer {
this.resourceTokenCollectionId = ko.observable();
this.resourceTokenCollection = ko.observable();
this.resourceTokenPartitionKey = ko.observable();
- this.isGitHubPaneEnabled = ko.observable(false);
this.isMongoIndexingEnabled = ko.observable(false);
this.isPublishNotebookPaneEnabled = ko.observable(false);
@@ -597,9 +602,6 @@ export default class Explorer {
refreshCommandBarButtons: () => this.refreshCommandBarButtons(),
refreshNotebookList: () => this.refreshNotebookList(),
});
-
- this.gitHubReposPane = this.notebookManager.gitHubReposPane;
- this.isGitHubPaneEnabled(true);
}
this.refreshCommandBarButtons();
@@ -647,6 +649,23 @@ export default class Explorer {
}
}
+ private onGitHubClientError = (error: any): void => {
+ Logger.logError(getErrorMessage(error), "NotebookManager/onGitHubClientError");
+
+ if (error.status === HttpStatusCodes.Unauthorized) {
+ this.gitHubOAuthService.resetToken();
+
+ this.showOkCancelModalDialog(
+ undefined,
+ "Cosmos DB cannot access your Github account anymore. Please connect to GitHub again.",
+ "Connect to GitHub",
+ () => this.openGitHubReposPanel("Connect to GitHub"),
+ "Cancel",
+ undefined
+ );
+ }
+ };
+
public openEnableSynapseLinkDialog(): void {
const addSynapseLinkDialogProps: DialogProps = {
linkProps: {
@@ -1624,7 +1643,9 @@ export default class Explorer {
}
const databaseAccount = this.databaseAccount();
- const databaseAccountLocation = databaseAccount && databaseAccount.location.toLowerCase();
+ const firstWriteLocation =
+ databaseAccount?.properties?.writeLocations &&
+ databaseAccount?.properties?.writeLocations[0]?.locationName.toLowerCase();
const disallowedLocationsUri = `${configContext.BACKEND_ENDPOINT}/api/disallowedLocations`;
const authorizationHeader = getAuthorizationHeader();
try {
@@ -1649,9 +1670,9 @@ export default class Explorer {
this.isNotebooksEnabledForAccount(true);
return;
}
- const isAccountInAllowedLocation = !disallowedLocations.some(
- (disallowedLocation) => disallowedLocation === databaseAccountLocation
- );
+
+ // firstWriteLocation should not be disallowed
+ const isAccountInAllowedLocation = firstWriteLocation && disallowedLocations.indexOf(firstWriteLocation) === -1;
this.isNotebooksEnabledForAccount(isAccountInAllowedLocation);
} catch (error) {
Logger.logError(getErrorMessage(error), "Explorer/isNotebooksEnabledForAccount");
@@ -2138,6 +2159,19 @@ export default class Explorer {
);
}
+ public openGitHubReposPanel(header: string, junoClient?: JunoClient): void {
+ this.openSidePanel(
+ header,
+ this.expandConsole()}
+ />
+ );
+ }
+
public openAddTableEntityPanel(queryTablesTab: QueryTablesTab, tableEntityListViewModel: TableListViewModal): void {
this.openSidePanel(
"Add Table Entity",
diff --git a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx
index 96ded4e44..0ac194686 100644
--- a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx
+++ b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx
@@ -19,11 +19,8 @@ import SynapseIcon from "images/synapse-link.svg";
import * as React from "react";
import { AuthType } from "../../../AuthType";
import * as Constants from "../../../Common/Constants";
-import { Areas } from "../../../Common/Constants";
import { configContext, Platform } from "../../../ConfigContext";
import * as ViewModels from "../../../Contracts/ViewModels";
-import { Action, ActionModifiers } from "../../../Shared/Telemetry/TelemetryConstants";
-import * as TelemetryProcessor from "../../../Shared/Telemetry/TelemetryProcessor";
import { userContext } from "../../../UserContext";
import { CommandButtonComponentProps } from "../../Controls/CommandButton/CommandButtonComponent";
import Explorer from "../../Explorer";
@@ -538,14 +535,7 @@ function createManageGitHubAccountButton(container: Explorer): CommandButtonComp
return {
iconSrc: GitHubIcon,
iconAlt: label,
- onCommandClick: () => {
- if (!connectedToGitHub) {
- TelemetryProcessor.trace(Action.NotebooksGitHubConnect, ActionModifiers.Mark, {
- dataExplorerArea: Areas.Notebook,
- });
- }
- container.gitHubReposPane.open();
- },
+ onCommandClick: () => container.openGitHubReposPanel(label),
commandButtonLabel: label,
hasPopup: false,
disabled: false,
diff --git a/src/Explorer/Notebook/NotebookManager.tsx b/src/Explorer/Notebook/NotebookManager.tsx
index cba1b0ccd..53b3220c0 100644
--- a/src/Explorer/Notebook/NotebookManager.tsx
+++ b/src/Explorer/Notebook/NotebookManager.tsx
@@ -21,7 +21,7 @@ import { getFullName } from "../../Utils/UserUtils";
import Explorer from "../Explorer";
import { ContextualPaneBase } from "../Panes/ContextualPaneBase";
import { CopyNotebookPane } from "../Panes/CopyNotebookPane/CopyNotebookPane";
-import { GitHubReposPane } from "../Panes/GitHubReposPane";
+// import { GitHubReposPane } from "../Panes/GitHubReposPane";
import { PublishNotebookPane } from "../Panes/PublishNotebookPane/PublishNotebookPane";
import { ResourceTreeAdapter } from "../Tree/ResourceTreeAdapter";
import { NotebookContentProvider } from "./NotebookComponent/NotebookContentProvider";
@@ -50,7 +50,7 @@ export default class NotebookManager {
private gitHubContentProvider: GitHubContentProvider;
public gitHubOAuthService: GitHubOAuthService;
- private gitHubClient: GitHubClient;
+ public gitHubClient: GitHubClient;
public gitHubReposPane: ContextualPaneBase;
@@ -60,13 +60,6 @@ export default class NotebookManager {
this.gitHubOAuthService = new GitHubOAuthService(this.junoClient);
this.gitHubClient = new GitHubClient(this.onGitHubClientError);
- this.gitHubReposPane = new GitHubReposPane({
- id: "gitHubReposPane",
- visible: ko.observable(false),
- container: this.params.container,
- junoClient: this.junoClient,
- gitHubClient: this.gitHubClient,
- });
this.gitHubContentProvider = new GitHubContentProvider({
gitHubClient: this.gitHubClient,
@@ -92,9 +85,9 @@ export default class NotebookManager {
this.gitHubOAuthService.getTokenObservable().subscribe((token) => {
this.gitHubClient.setToken(token?.access_token);
-
- if (this.gitHubReposPane.visible()) {
- this.gitHubReposPane.open();
+ if (this?.gitHubOAuthService.isLoggedIn()) {
+ this.params.container.closeSidePanel();
+ this.params.container.openGitHubReposPanel("Manager GitHub settings", this.junoClient);
}
this.params.refreshCommandBarButtons();
@@ -163,7 +156,7 @@ export default class NotebookManager {
undefined,
"Cosmos DB cannot access your Github account anymore. Please connect to GitHub again.",
"Connect to GitHub",
- () => this.gitHubReposPane.open(),
+ () => this.params.container.openGitHubReposPanel("Connect to GitHub"),
"Cancel",
undefined
);
diff --git a/src/Explorer/Notebook/NotebookRenderer/NotebookReadOnlyRenderer.tsx b/src/Explorer/Notebook/NotebookRenderer/NotebookReadOnlyRenderer.tsx
index ceef02cbb..7fcdd2579 100644
--- a/src/Explorer/Notebook/NotebookRenderer/NotebookReadOnlyRenderer.tsx
+++ b/src/Explorer/Notebook/NotebookRenderer/NotebookReadOnlyRenderer.tsx
@@ -1,5 +1,5 @@
import { actions, ContentRef } from "@nteract/core";
-import { Cells, CodeCell, MarkdownCell, RawCell } from "@nteract/stateful-components";
+import { Cells, CodeCell, RawCell } from "@nteract/stateful-components";
import MonacoEditor from "@nteract/stateful-components/lib/inputs/connected-editors/monacoEditor";
import { PassedEditorProps } from "@nteract/stateful-components/lib/inputs/editor";
import Prompt, { PassedPromptProps } from "@nteract/stateful-components/lib/inputs/prompt";
@@ -11,6 +11,7 @@ import loadTransform from "../NotebookComponent/loadTransform";
import { AzureTheme } from "./AzureTheme";
import "./base.css";
import "./default.css";
+import MarkdownCell from "./markdown-cell";
import "./NotebookReadOnlyRenderer.less";
import SandboxOutputs from "./outputs/SandboxOutputs";
diff --git a/src/Explorer/Panes/GitHubReposPane.html b/src/Explorer/Panes/GitHubReposPane.html
deleted file mode 100644
index 99565f9bc..000000000
--- a/src/Explorer/Panes/GitHubReposPane.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-

-
-
-
-
diff --git a/src/Explorer/Panes/GitHubReposPanel/GitHubReposPanel.test.tsx b/src/Explorer/Panes/GitHubReposPanel/GitHubReposPanel.test.tsx
new file mode 100644
index 000000000..3d12139f5
--- /dev/null
+++ b/src/Explorer/Panes/GitHubReposPanel/GitHubReposPanel.test.tsx
@@ -0,0 +1,19 @@
+import { shallow } from "enzyme";
+import React from "react";
+import { GitHubClient } from "../../../GitHub/GitHubClient";
+import { JunoClient } from "../../../Juno/JunoClient";
+import Explorer from "../../Explorer";
+import { GitHubReposPanel } from "./GitHubReposPanel";
+const props = {
+ explorer: new Explorer(),
+ closePanel: (): void => undefined,
+ gitHubClientProp: new GitHubClient((): void => undefined),
+ junoClientProp: new JunoClient(),
+ openNotificationConsole: (): void => undefined,
+};
+describe("GitHub Repos Panel", () => {
+ it("should render Default properly", () => {
+ const wrapper = shallow();
+ expect(wrapper).toMatchSnapshot();
+ });
+});
diff --git a/src/Explorer/Panes/GitHubReposPane.ts b/src/Explorer/Panes/GitHubReposPanel/GitHubReposPanel.tsx
similarity index 52%
rename from src/Explorer/Panes/GitHubReposPane.ts
rename to src/Explorer/Panes/GitHubReposPanel/GitHubReposPanel.tsx
index b360b1865..b7fd4aa82 100644
--- a/src/Explorer/Panes/GitHubReposPane.ts
+++ b/src/Explorer/Panes/GitHubReposPanel/GitHubReposPanel.tsx
@@ -1,27 +1,42 @@
-import _ from "underscore";
-import { Areas, HttpStatusCodes } from "../../Common/Constants";
-import * as ViewModels from "../../Contracts/ViewModels";
-import { GitHubClient, IGitHubPageInfo, IGitHubRepo } from "../../GitHub/GitHubClient";
-import { IPinnedRepo, JunoClient } from "../../Juno/JunoClient";
-import { Action, ActionModifiers } from "../../Shared/Telemetry/TelemetryConstants";
-import * as TelemetryProcessor from "../../Shared/Telemetry/TelemetryProcessor";
-import * as GitHubUtils from "../../Utils/GitHubUtils";
-import * as JunoUtils from "../../Utils/JunoUtils";
-import { AuthorizeAccessComponent } from "../Controls/GitHub/AuthorizeAccessComponent";
-import { GitHubReposComponent, GitHubReposComponentProps, RepoListItem } from "../Controls/GitHub/GitHubReposComponent";
-import { GitHubReposComponentAdapter } from "../Controls/GitHub/GitHubReposComponentAdapter";
-import { BranchesProps, PinnedReposProps, UnpinnedReposProps } from "../Controls/GitHub/ReposListComponent";
-import { ContextualPaneBase } from "./ContextualPaneBase";
-import { handleError } from "../../Common/ErrorHandlingUtils";
+import React from "react";
+import { Areas, HttpStatusCodes } from "../../../Common/Constants";
+import { handleError } from "../../../Common/ErrorHandlingUtils";
+import { GitHubClient, IGitHubPageInfo, IGitHubRepo } from "../../../GitHub/GitHubClient";
+import { IPinnedRepo, JunoClient } from "../../../Juno/JunoClient";
+import { Action, ActionModifiers } from "../../../Shared/Telemetry/TelemetryConstants";
+import * as TelemetryProcessor from "../../../Shared/Telemetry/TelemetryProcessor";
+import * as GitHubUtils from "../../../Utils/GitHubUtils";
+import * as JunoUtils from "../../../Utils/JunoUtils";
+import { AuthorizeAccessComponent } from "../../Controls/GitHub/AuthorizeAccessComponent";
+import {
+ GitHubReposComponent,
+ GitHubReposComponentProps,
+ RepoListItem,
+} from "../../Controls/GitHub/GitHubReposComponent";
+import { ContentMainStyle } from "../../Controls/GitHub/GitHubStyleConstants";
+import { BranchesProps, PinnedReposProps, UnpinnedReposProps } from "../../Controls/GitHub/ReposListComponent";
+import Explorer from "../../Explorer";
+import { PanelInfoErrorComponent } from "../PanelInfoErrorComponent";
+import { PanelLoadingScreen } from "../PanelLoadingScreen";
-interface GitHubReposPaneOptions extends ViewModels.PaneOptions {
- gitHubClient: GitHubClient;
- junoClient: JunoClient;
+interface IGitHubReposPanelProps {
+ explorer: Explorer;
+ closePanel: () => void;
+ gitHubClientProp: GitHubClient;
+ junoClientProp: JunoClient;
+ openNotificationConsole: () => void;
}
-export class GitHubReposPane extends ContextualPaneBase {
+interface IGitHubReposPanelState {
+ showAuthorizationAcessState: boolean;
+ isExecuting: boolean;
+ errorMessage: string;
+ showErrorDetails: boolean;
+ gitHubReposState: GitHubReposComponentProps;
+}
+export class GitHubReposPanel extends React.Component {
private static readonly PageSize = 30;
-
+ private isAddedRepo = false;
private gitHubClient: GitHubClient;
private junoClient: JunoClient;
@@ -29,73 +44,73 @@ export class GitHubReposPane extends ContextualPaneBase {
private pinnedReposProps: PinnedReposProps;
private unpinnedReposProps: UnpinnedReposProps;
- private gitHubReposProps: GitHubReposComponentProps;
- private gitHubReposAdapter: GitHubReposComponentAdapter;
-
private allGitHubRepos: IGitHubRepo[];
private allGitHubReposLastPageInfo?: IGitHubPageInfo;
private pinnedReposUpdated: boolean;
- constructor(options: GitHubReposPaneOptions) {
- super(options);
+ constructor(props: IGitHubReposPanelProps) {
+ super(props);
- this.gitHubClient = options.gitHubClient;
- this.junoClient = options.junoClient;
-
- this.branchesProps = {};
- this.pinnedReposProps = {
- repos: [],
- };
this.unpinnedReposProps = {
repos: [],
hasMore: true,
isLoading: true,
loadMore: (): Promise => this.loadMoreUnpinnedRepos(),
};
-
- this.gitHubReposProps = {
- showAuthorizeAccess: true,
- authorizeAccessProps: {
- scope: this.getOAuthScope(),
- authorizeAccess: (scope): void => this.connectToGitHub(scope),
- },
- reposListProps: {
- branchesProps: this.branchesProps,
- pinnedReposProps: this.pinnedReposProps,
- unpinnedReposProps: this.unpinnedReposProps,
- pinRepo: (item): Promise => this.pinRepo(item),
- unpinRepo: (item): Promise => this.unpinRepo(item),
- },
- addRepoProps: {
- container: this.container,
- getRepo: (owner, repo): Promise => this.getRepo(owner, repo),
- pinRepo: (item): Promise => this.pinRepo(item),
- },
- resetConnection: (): void => this.setup(true),
- onOkClick: (): Promise => this.submit(),
- onCancelClick: (): void => this.cancel(),
+ this.branchesProps = {};
+ this.pinnedReposProps = {
+ repos: [],
};
- this.gitHubReposAdapter = new GitHubReposComponentAdapter(this.gitHubReposProps);
this.allGitHubRepos = [];
this.allGitHubReposLastPageInfo = undefined;
this.pinnedReposUpdated = false;
+
+ this.state = {
+ showAuthorizationAcessState: true,
+ isExecuting: false,
+ errorMessage: "",
+ showErrorDetails: false,
+ gitHubReposState: {
+ showAuthorizeAccess: !this.props.explorer.notebookManager?.gitHubOAuthService.isLoggedIn(),
+ authorizeAccessProps: {
+ scope: this.getOAuthScope(),
+ authorizeAccess: (scope): void => this.connectToGitHub(scope),
+ },
+ reposListProps: {
+ branchesProps: this.branchesProps,
+ pinnedReposProps: this.pinnedReposProps,
+ unpinnedReposProps: this.unpinnedReposProps,
+ pinRepo: (item): Promise => this.pinRepo(item),
+ unpinRepo: (item): Promise => this.unpinRepo(item),
+ },
+ addRepoProps: {
+ container: this.props.explorer,
+ getRepo: (owner, repo): Promise => this.getRepo(owner, repo),
+ pinRepo: (item): Promise => this.pinRepo(item),
+ },
+ resetConnection: (): void => this.setup(true),
+ onOkClick: (): Promise => this.submit(),
+ onCancelClick: (): void => this.props.closePanel(),
+ },
+ };
+ this.gitHubClient = this.props.gitHubClientProp;
+ this.junoClient = this.props.junoClientProp;
+ }
+
+ componentDidMount(): void {
+ this.open();
}
public open(): void {
this.resetData();
this.setup();
-
- super.open();
}
public async submit(): Promise {
const pinnedReposUpdated = this.pinnedReposUpdated;
const reposToPin: IPinnedRepo[] = this.pinnedReposProps.repos.map((repo) => JunoUtils.toPinnedRepo(repo));
- // Submit resets data too
- super.submit();
-
if (pinnedReposUpdated) {
try {
const response = await this.junoClient.updatePinnedRepos(reposToPin);
@@ -109,57 +124,44 @@ export class GitHubReposPane extends ContextualPaneBase {
}
public resetData(): void {
- // Reset cached branches
this.branchesProps = {};
- this.gitHubReposProps.reposListProps.branchesProps = this.branchesProps;
- // Reset cached pinned and unpinned repos
this.pinnedReposProps.repos = [];
this.unpinnedReposProps.repos = [];
-
- // Reset cached repos
this.allGitHubRepos = [];
this.allGitHubReposLastPageInfo = undefined;
- // Reset flags
this.pinnedReposUpdated = false;
this.unpinnedReposProps.hasMore = true;
this.unpinnedReposProps.isLoading = true;
-
- this.triggerRender();
-
- super.resetData();
}
private getOAuthScope(): string {
return (
- this.container.notebookManager?.gitHubOAuthService.getTokenObservable()()?.scope ||
+ this.props.explorer.notebookManager?.gitHubOAuthService.getTokenObservable()()?.scope ||
AuthorizeAccessComponent.Scopes.Public.key
);
}
private setup(forceShowConnectToGitHub = false): void {
- forceShowConnectToGitHub || !this.container.notebookManager?.gitHubOAuthService.isLoggedIn()
+ forceShowConnectToGitHub || !this.props.explorer.notebookManager?.gitHubOAuthService.isLoggedIn()
? this.setupForConnectToGitHub()
: this.setupForManageRepos();
}
private setupForConnectToGitHub(): void {
- this.gitHubReposProps.showAuthorizeAccess = true;
- this.gitHubReposProps.authorizeAccessProps.scope = this.getOAuthScope();
- this.isExecuting(false);
- this.title(GitHubReposComponent.ConnectToGitHubTitle); // Used for telemetry
- this.triggerRender();
+ this.setState({
+ isExecuting: false,
+ });
}
private async setupForManageRepos(): Promise {
- this.gitHubReposProps.showAuthorizeAccess = false;
- this.isExecuting(false);
- this.title(GitHubReposComponent.ManageGitHubRepoTitle); // Used for telemetry
+ this.setState({
+ isExecuting: false,
+ });
TelemetryProcessor.trace(Action.NotebooksGitHubManageRepo, ActionModifiers.Mark, {
dataExplorerArea: Areas.Notebook,
});
- this.triggerRender();
this.refreshManageReposComponent();
}
@@ -182,15 +184,15 @@ export class GitHubReposPane extends ContextualPaneBase {
const branchesProps = this.branchesProps[GitHubUtils.toRepoFullName(repo.owner, repo.name)];
branchesProps.hasMore = true;
branchesProps.isLoading = true;
- this.triggerRender();
try {
const response = await this.gitHubClient.getBranchesAsync(
repo.owner,
repo.name,
- GitHubReposPane.PageSize,
+ GitHubReposPanel.PageSize,
branchesProps.lastPageInfo?.endCursor
);
+
if (response.status !== HttpStatusCodes.OK) {
throw new Error(`Received HTTP ${response.status} when fetching branches`);
}
@@ -205,19 +207,37 @@ export class GitHubReposPane extends ContextualPaneBase {
branchesProps.isLoading = false;
branchesProps.hasMore = branchesProps.lastPageInfo?.hasNextPage;
- this.triggerRender();
+ this.setState({
+ gitHubReposState: {
+ ...this.state.gitHubReposState,
+ reposListProps: {
+ ...this.state.gitHubReposState.reposListProps,
+ branchesProps: {
+ ...this.state.gitHubReposState.reposListProps.branchesProps,
+ [GitHubUtils.toRepoFullName(repo.owner, repo.name)]: branchesProps,
+ },
+ pinnedReposProps: {
+ repos: this.pinnedReposProps.repos,
+ },
+ unpinnedReposProps: {
+ ...this.state.gitHubReposState.reposListProps.unpinnedReposProps,
+ repos: this.unpinnedReposProps.repos,
+ },
+ },
+ },
+ });
}
private async loadMoreUnpinnedRepos(): Promise {
this.unpinnedReposProps.isLoading = true;
this.unpinnedReposProps.hasMore = true;
- this.triggerRender();
try {
const response = await this.gitHubClient.getReposAsync(
- GitHubReposPane.PageSize,
+ GitHubReposPanel.PageSize,
this.allGitHubReposLastPageInfo?.endCursor
);
+
if (response.status !== HttpStatusCodes.OK) {
throw new Error(`Received HTTP ${response.status} when fetching unpinned repos`);
}
@@ -233,7 +253,21 @@ export class GitHubReposPane extends ContextualPaneBase {
this.unpinnedReposProps.isLoading = false;
this.unpinnedReposProps.hasMore = this.allGitHubReposLastPageInfo?.hasNextPage;
- this.triggerRender();
+
+ this.setState({
+ gitHubReposState: {
+ ...this.state.gitHubReposState,
+ reposListProps: {
+ ...this.state.gitHubReposState.reposListProps,
+ unpinnedReposProps: {
+ ...this.state.gitHubReposState.reposListProps.unpinnedReposProps,
+ isLoading: this.unpinnedReposProps.isLoading,
+ hasMore: this.unpinnedReposProps.hasMore,
+ repos: this.unpinnedReposProps.repos,
+ },
+ },
+ },
+ });
}
private async getRepo(owner: string, repo: string): Promise {
@@ -242,7 +276,7 @@ export class GitHubReposPane extends ContextualPaneBase {
if (response.status !== HttpStatusCodes.OK) {
throw new Error(`Received HTTP ${response.status} when fetching repo`);
}
-
+ this.isAddedRepo = true;
return response.data;
} catch (error) {
handleError(error, "GitHubReposPane/getRepo", "Failed to fetch repo");
@@ -254,7 +288,7 @@ export class GitHubReposPane extends ContextualPaneBase {
this.pinnedReposUpdated = true;
const initialReposLength = this.pinnedReposProps.repos.length;
- const existingRepo = _.find(this.pinnedReposProps.repos, (repo) => repo.key === item.key);
+ const existingRepo = this.pinnedReposProps.repos.find((repo) => repo.key === item.key);
if (existingRepo) {
existingRepo.branches = item.branches;
} else {
@@ -262,7 +296,6 @@ export class GitHubReposPane extends ContextualPaneBase {
}
this.unpinnedReposProps.repos = this.calculateUnpinnedRepos();
- this.triggerRender();
if (this.pinnedReposProps.repos.length > initialReposLength) {
this.refreshBranchesForPinnedRepos();
@@ -273,7 +306,22 @@ export class GitHubReposPane extends ContextualPaneBase {
this.pinnedReposUpdated = true;
this.pinnedReposProps.repos = this.pinnedReposProps.repos.filter((pinnedRepo) => pinnedRepo.key !== item.key);
this.unpinnedReposProps.repos = this.calculateUnpinnedRepos();
- this.triggerRender();
+
+ this.setState({
+ gitHubReposState: {
+ ...this.state.gitHubReposState,
+ reposListProps: {
+ ...this.state.gitHubReposState.reposListProps,
+ pinnedReposProps: {
+ repos: this.pinnedReposProps.repos,
+ },
+ unpinnedReposProps: {
+ ...this.state.gitHubReposState.reposListProps.unpinnedReposProps,
+ repos: this.unpinnedReposProps.repos,
+ },
+ },
+ },
+ });
}
private async refreshManageReposComponent(): Promise {
@@ -284,12 +332,12 @@ export class GitHubReposPane extends ContextualPaneBase {
private async refreshPinnedRepoListItems(): Promise {
this.pinnedReposProps.repos = [];
- this.triggerRender();
try {
const response = await this.junoClient.getPinnedRepos(
- this.container.notebookManager?.gitHubOAuthService.getTokenObservable()()?.scope
+ this.props.explorer.notebookManager?.gitHubOAuthService.getTokenObservable()()?.scope
);
+
if (response.status !== HttpStatusCodes.OK && response.status !== HttpStatusCodes.NoContent) {
throw new Error(`Received HTTP ${response.status} when fetching pinned repos`);
}
@@ -305,7 +353,6 @@ export class GitHubReposPane extends ContextualPaneBase {
);
this.pinnedReposProps.repos = pinnedRepos;
- this.triggerRender();
}
} catch (error) {
handleError(error, "GitHubReposPane/refreshPinnedReposListItems", "Failed to fetch pinned repos");
@@ -322,28 +369,85 @@ export class GitHubReposPane extends ContextualPaneBase {
isLoading: true,
loadMore: (): Promise => this.loadMoreBranches(item.repo),
};
+ this.setState({
+ gitHubReposState: {
+ ...this.state.gitHubReposState,
+ reposListProps: {
+ ...this.state.gitHubReposState.reposListProps,
+ branchesProps: {
+ ...this.state.gitHubReposState.reposListProps.branchesProps,
+ [GitHubUtils.toRepoFullName(item.repo.owner, item.repo.name)]: this.branchesProps[item.key],
+ },
+ pinnedReposProps: {
+ repos: this.pinnedReposProps.repos,
+ },
+ unpinnedReposProps: {
+ ...this.state.gitHubReposState.reposListProps.unpinnedReposProps,
+ repos: this.unpinnedReposProps.repos,
+ },
+ },
+ },
+ });
this.loadMoreBranches(item.repo);
+ } else {
+ if (this.isAddedRepo === false) {
+ this.setState({
+ gitHubReposState: {
+ ...this.state.gitHubReposState,
+ reposListProps: {
+ ...this.state.gitHubReposState.reposListProps,
+ pinnedReposProps: {
+ repos: this.pinnedReposProps.repos,
+ },
+ unpinnedReposProps: {
+ ...this.state.gitHubReposState.reposListProps.unpinnedReposProps,
+ repos: this.unpinnedReposProps.repos,
+ },
+ },
+ },
+ });
+ }
}
});
+ this.isAddedRepo = false;
}
private async refreshUnpinnedRepoListItems(): Promise {
this.allGitHubRepos = [];
this.allGitHubReposLastPageInfo = undefined;
this.unpinnedReposProps.repos = [];
+
this.loadMoreUnpinnedRepos();
}
private connectToGitHub(scope: string): void {
- this.isExecuting(true);
+ this.setState({
+ isExecuting: true,
+ });
TelemetryProcessor.trace(Action.NotebooksGitHubAuthorize, ActionModifiers.Mark, {
dataExplorerArea: Areas.Notebook,
scopesSelected: scope,
});
- this.container.notebookManager?.gitHubOAuthService.startOAuth(scope);
+ this.props.explorer.notebookManager?.gitHubOAuthService.startOAuth(scope);
}
- private triggerRender(): void {
- this.gitHubReposAdapter.triggerRender();
+ render(): JSX.Element {
+ return (
+
+ );
}
}
diff --git a/src/Explorer/Panes/GitHubReposPanel/__snapshots__/GitHubReposPanel.test.tsx.snap b/src/Explorer/Panes/GitHubReposPanel/__snapshots__/GitHubReposPanel.test.tsx.snap
new file mode 100644
index 000000000..6b308f110
--- /dev/null
+++ b/src/Explorer/Panes/GitHubReposPanel/__snapshots__/GitHubReposPanel.test.tsx.snap
@@ -0,0 +1,1319 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`GitHub Repos Panel should render Default properly 1`] = `
+
+`;
diff --git a/src/Explorer/Panes/PaneComponents.ts b/src/Explorer/Panes/PaneComponents.ts
index b1be4dfa4..d0a9704b6 100644
--- a/src/Explorer/Panes/PaneComponents.ts
+++ b/src/Explorer/Panes/PaneComponents.ts
@@ -1,7 +1,6 @@
import AddCollectionPaneTemplate from "./AddCollectionPane.html";
import AddDatabasePaneTemplate from "./AddDatabasePane.html";
import CassandraAddCollectionPaneTemplate from "./CassandraAddCollectionPane.html";
-import GitHubReposPaneTemplate from "./GitHubReposPane.html";
import GraphStylingPaneTemplate from "./GraphStylingPane.html";
import TableAddEntityPaneTemplate from "./Tables/TableAddEntityPane.html";
import TableEditEntityPaneTemplate from "./Tables/TableEditEntityPane.html";
@@ -64,12 +63,3 @@ export class CassandraAddCollectionPaneComponent {
};
}
}
-
-export class GitHubReposPaneComponent {
- constructor() {
- return {
- viewModel: PaneComponent,
- template: GitHubReposPaneTemplate,
- };
- }
-}
diff --git a/src/Explorer/Panes/StringInputPane/__snapshots__/StringInputPane.test.tsx.snap b/src/Explorer/Panes/StringInputPane/__snapshots__/StringInputPane.test.tsx.snap
index 7fd573d15..0e664fad9 100644
--- a/src/Explorer/Panes/StringInputPane/__snapshots__/StringInputPane.test.tsx.snap
+++ b/src/Explorer/Panes/StringInputPane/__snapshots__/StringInputPane.test.tsx.snap
@@ -406,6 +406,773 @@ exports[`StringInput Pane should render Create new directory properly 1`] = `
"defaultExperience": [Function],
"deleteCollectionText": [Function],
"deleteDatabaseText": [Function],
+ "gitHubClient": GitHubClient {
+ "errorCallback": [Function],
+ "ocktokit": OctokitWithDefaults {
+ "actions": Object {
+ "addSelectedRepoToOrgSecret": [Function],
+ "cancelWorkflowRun": [Function],
+ "createOrUpdateOrgSecret": [Function],
+ "createOrUpdateRepoSecret": [Function],
+ "createOrUpdateSecretForRepo": [Function],
+ "createRegistrationToken": [Function],
+ "createRegistrationTokenForOrg": [Function],
+ "createRegistrationTokenForRepo": [Function],
+ "createRemoveToken": [Function],
+ "createRemoveTokenForOrg": [Function],
+ "createRemoveTokenForRepo": [Function],
+ "deleteArtifact": [Function],
+ "deleteOrgSecret": [Function],
+ "deleteRepoSecret": [Function],
+ "deleteSecretFromRepo": [Function],
+ "deleteSelfHostedRunnerFromOrg": [Function],
+ "deleteSelfHostedRunnerFromRepo": [Function],
+ "deleteWorkflowRunLogs": [Function],
+ "downloadArtifact": [Function],
+ "downloadJobLogsForWorkflowRun": [Function],
+ "downloadWorkflowJobLogs": [Function],
+ "downloadWorkflowRunLogs": [Function],
+ "getArtifact": [Function],
+ "getJobForWorkflowRun": [Function],
+ "getOrgPublicKey": [Function],
+ "getOrgSecret": [Function],
+ "getPublicKey": [Function],
+ "getRepoPublicKey": [Function],
+ "getRepoSecret": [Function],
+ "getSecret": [Function],
+ "getSelfHostedRunner": [Function],
+ "getSelfHostedRunnerForOrg": [Function],
+ "getSelfHostedRunnerForRepo": [Function],
+ "getWorkflow": [Function],
+ "getWorkflowJob": [Function],
+ "getWorkflowRun": [Function],
+ "getWorkflowRunUsage": [Function],
+ "getWorkflowUsage": [Function],
+ "listArtifactsForRepo": [Function],
+ "listDownloadsForSelfHostedRunnerApplication": [Function],
+ "listJobsForWorkflowRun": [Function],
+ "listOrgSecrets": [Function],
+ "listRepoSecrets": [Function],
+ "listRepoWorkflowRuns": [Function],
+ "listRepoWorkflows": [Function],
+ "listRunnerApplicationsForOrg": [Function],
+ "listRunnerApplicationsForRepo": [Function],
+ "listSecretsForRepo": [Function],
+ "listSelectedReposForOrgSecret": [Function],
+ "listSelfHostedRunnersForOrg": [Function],
+ "listSelfHostedRunnersForRepo": [Function],
+ "listWorkflowJobLogs": [Function],
+ "listWorkflowRunArtifacts": [Function],
+ "listWorkflowRunLogs": [Function],
+ "listWorkflowRuns": [Function],
+ "listWorkflowRunsForRepo": [Function],
+ "reRunWorkflow": [Function],
+ "removeSelectedRepoFromOrgSecret": [Function],
+ "removeSelfHostedRunner": [Function],
+ "setSelectedReposForOrgSecret": [Function],
+ },
+ "activity": Object {
+ "checkRepoIsStarredByAuthenticatedUser": [Function],
+ "checkStarringRepo": [Function],
+ "deleteRepoSubscription": [Function],
+ "deleteThreadSubscription": [Function],
+ "getFeeds": [Function],
+ "getRepoSubscription": [Function],
+ "getThread": [Function],
+ "getThreadSubscription": [Function],
+ "getThreadSubscriptionForAuthenticatedUser": [Function],
+ "listEventsForAuthenticatedUser": [Function],
+ "listEventsForOrg": [Function],
+ "listEventsForUser": [Function],
+ "listFeeds": [Function],
+ "listNotifications": [Function],
+ "listNotificationsForAuthenticatedUser": [Function],
+ "listNotificationsForRepo": [Function],
+ "listOrgEventsForAuthenticatedUser": [Function],
+ "listPublicEvents": [Function],
+ "listPublicEventsForOrg": [Function],
+ "listPublicEventsForRepoNetwork": [Function],
+ "listPublicEventsForUser": [Function],
+ "listPublicOrgEvents": [Function],
+ "listReceivedEventsForUser": [Function],
+ "listReceivedPublicEventsForUser": [Function],
+ "listRepoEvents": [Function],
+ "listRepoNotificationsForAuthenticatedUser": [Function],
+ "listReposStarredByAuthenticatedUser": [Function],
+ "listReposStarredByUser": [Function],
+ "listReposWatchedByUser": [Function],
+ "listStargazersForRepo": [Function],
+ "listWatchedReposForAuthenticatedUser": [Function],
+ "listWatchersForRepo": [Function],
+ "markAsRead": [Function],
+ "markNotificationsAsRead": [Function],
+ "markNotificationsAsReadForRepo": [Function],
+ "markRepoNotificationsAsRead": [Function],
+ "markThreadAsRead": [Function],
+ "setRepoSubscription": [Function],
+ "setThreadSubscription": [Function],
+ "starRepo": [Function],
+ "starRepoForAuthenticatedUser": [Function],
+ "unstarRepo": [Function],
+ "unstarRepoForAuthenticatedUser": [Function],
+ },
+ "apps": Object {
+ "addRepoToInstallation": [Function],
+ "checkAccountIsAssociatedWithAny": [Function],
+ "checkAccountIsAssociatedWithAnyStubbed": [Function],
+ "checkToken": [Function],
+ "createContentAttachment": [Function],
+ "createFromManifest": [Function],
+ "createInstallationAccessToken": [Function],
+ "createInstallationToken": [Function],
+ "deleteAuthorization": [Function],
+ "deleteInstallation": [Function],
+ "deleteToken": [Function],
+ "getAuthenticated": [Function],
+ "getBySlug": [Function],
+ "getInstallation": [Function],
+ "getOrgInstallation": [Function],
+ "getRepoInstallation": [Function],
+ "getSubscriptionPlanForAccount": [Function],
+ "getSubscriptionPlanForAccountStubbed": [Function],
+ "getUserInstallation": [Function],
+ "listAccountsForPlan": [Function],
+ "listAccountsForPlanStubbed": [Function],
+ "listAccountsUserOrOrgOnPlan": [Function],
+ "listAccountsUserOrOrgOnPlanStubbed": [Function],
+ "listInstallationReposForAuthenticatedUser": [Function],
+ "listInstallations": [Function],
+ "listInstallationsForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUserStubbed": [Function],
+ "listPlans": [Function],
+ "listPlansStubbed": [Function],
+ "listRepos": [Function],
+ "listReposAccessibleToInstallation": [Function],
+ "listSubscriptionsForAuthenticatedUser": [Function],
+ "listSubscriptionsForAuthenticatedUserStubbed": [Function],
+ "removeRepoFromInstallation": [Function],
+ "resetToken": [Function],
+ "revokeInstallationAccessToken": [Function],
+ "revokeInstallationToken": [Function],
+ "suspendInstallation": [Function],
+ "unsuspendInstallation": [Function],
+ },
+ "auth": [Function],
+ "checks": Object {
+ "create": [Function],
+ "createSuite": [Function],
+ "get": [Function],
+ "getSuite": [Function],
+ "listAnnotations": [Function],
+ "listForRef": [Function],
+ "listForSuite": [Function],
+ "listSuitesForRef": [Function],
+ "rerequestSuite": [Function],
+ "setSuitesPreferences": [Function],
+ "update": [Function],
+ },
+ "codeScanning": Object {
+ "getAlert": [Function],
+ "listAlertsForRepo": [Function],
+ },
+ "codesOfConduct": Object {
+ "getAllCodesOfConduct": [Function],
+ "getConductCode": [Function],
+ "getForRepo": [Function],
+ "listConductCodes": [Function],
+ },
+ "emojis": Object {
+ "get": [Function],
+ },
+ "gists": Object {
+ "checkIsStarred": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "delete": [Function],
+ "deleteComment": [Function],
+ "fork": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getRevision": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommits": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listPublic": [Function],
+ "listPublicForUser": [Function],
+ "listStarred": [Function],
+ "star": [Function],
+ "unstar": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ },
+ "git": Object {
+ "createBlob": [Function],
+ "createCommit": [Function],
+ "createRef": [Function],
+ "createTag": [Function],
+ "createTree": [Function],
+ "deleteRef": [Function],
+ "getBlob": [Function],
+ "getCommit": [Function],
+ "getRef": [Function],
+ "getTag": [Function],
+ "getTree": [Function],
+ "listMatchingRefs": [Function],
+ "updateRef": [Function],
+ },
+ "gitignore": Object {
+ "getAllTemplates": [Function],
+ "getTemplate": [Function],
+ "listTemplates": [Function],
+ },
+ "graphql": [Function],
+ "hook": [Function],
+ "interactions": Object {
+ "addOrUpdateRestrictionsForOrg": [Function],
+ "addOrUpdateRestrictionsForRepo": [Function],
+ "getRestrictionsForOrg": [Function],
+ "getRestrictionsForRepo": [Function],
+ "removeRestrictionsForOrg": [Function],
+ "removeRestrictionsForRepo": [Function],
+ "setRestrictionsForOrg": [Function],
+ "setRestrictionsForRepo": [Function],
+ },
+ "issues": Object {
+ "addAssignees": [Function],
+ "addLabels": [Function],
+ "checkAssignee": [Function],
+ "checkUserCanBeAssigned": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createLabel": [Function],
+ "createMilestone": [Function],
+ "deleteComment": [Function],
+ "deleteLabel": [Function],
+ "deleteMilestone": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getEvent": [Function],
+ "getLabel": [Function],
+ "getMilestone": [Function],
+ "list": [Function],
+ "listAssignees": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listEvents": [Function],
+ "listEventsForRepo": [Function],
+ "listEventsForTimeline": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listLabelsForMilestone": [Function],
+ "listLabelsForRepo": [Function],
+ "listLabelsOnIssue": [Function],
+ "listMilestones": [Function],
+ "listMilestonesForRepo": [Function],
+ "lock": [Function],
+ "removeAllLabels": [Function],
+ "removeAssignees": [Function],
+ "removeLabel": [Function],
+ "removeLabels": [Function],
+ "replaceAllLabels": [Function],
+ "replaceLabels": [Function],
+ "setLabels": [Function],
+ "unlock": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ "updateLabel": [Function],
+ "updateMilestone": [Function],
+ },
+ "licenses": Object {
+ "get": [Function],
+ "getAllCommonlyUsed": [Function],
+ "getForRepo": [Function],
+ "listCommonlyUsed": [Function],
+ },
+ "log": Object {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "markdown": Object {
+ "render": [Function],
+ "renderRaw": [Function],
+ },
+ "meta": Object {
+ "get": [Function],
+ },
+ "migrations": Object {
+ "cancelImport": [Function],
+ "deleteArchiveForAuthenticatedUser": [Function],
+ "deleteArchiveForOrg": [Function],
+ "downloadArchiveForOrg": [Function],
+ "getArchiveForAuthenticatedUser": [Function],
+ "getCommitAuthors": [Function],
+ "getImportProgress": [Function],
+ "getImportStatus": [Function],
+ "getLargeFiles": [Function],
+ "getStatusForAuthenticatedUser": [Function],
+ "getStatusForOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listReposForOrg": [Function],
+ "listReposForUser": [Function],
+ "mapCommitAuthor": [Function],
+ "setLfsPreference": [Function],
+ "startForAuthenticatedUser": [Function],
+ "startForOrg": [Function],
+ "startImport": [Function],
+ "unlockRepoForAuthenticatedUser": [Function],
+ "unlockRepoForOrg": [Function],
+ "updateImport": [Function],
+ },
+ "orgs": Object {
+ "addOrUpdateMembership": [Function],
+ "blockUser": [Function],
+ "checkBlockedUser": [Function],
+ "checkMembership": [Function],
+ "checkMembershipForUser": [Function],
+ "checkPublicMembership": [Function],
+ "checkPublicMembershipForUser": [Function],
+ "concealMembership": [Function],
+ "convertMemberToOutsideCollaborator": [Function],
+ "createHook": [Function],
+ "createInvitation": [Function],
+ "createWebhook": [Function],
+ "deleteHook": [Function],
+ "deleteWebhook": [Function],
+ "get": [Function],
+ "getHook": [Function],
+ "getMembership": [Function],
+ "getMembershipForAuthenticatedUser": [Function],
+ "getMembershipForUser": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAppInstallations": [Function],
+ "listBlockedUsers": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForUser": [Function],
+ "listHooks": [Function],
+ "listInstallations": [Function],
+ "listInvitationTeams": [Function],
+ "listMembers": [Function],
+ "listMemberships": [Function],
+ "listMembershipsForAuthenticatedUser": [Function],
+ "listOutsideCollaborators": [Function],
+ "listPendingInvitations": [Function],
+ "listPublicMembers": [Function],
+ "listWebhooks": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "publicizeMembership": [Function],
+ "removeMember": [Function],
+ "removeMembership": [Function],
+ "removeMembershipForUser": [Function],
+ "removeOutsideCollaborator": [Function],
+ "removePublicMembershipForAuthenticatedUser": [Function],
+ "setMembershipForUser": [Function],
+ "setPublicMembershipForAuthenticatedUser": [Function],
+ "unblockUser": [Function],
+ "update": [Function],
+ "updateHook": [Function],
+ "updateMembership": [Function],
+ "updateMembershipForAuthenticatedUser": [Function],
+ "updateWebhook": [Function],
+ },
+ "paginate": [Function],
+ "projects": Object {
+ "addCollaborator": [Function],
+ "createCard": [Function],
+ "createColumn": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createForOrg": [Function],
+ "createForRepo": [Function],
+ "delete": [Function],
+ "deleteCard": [Function],
+ "deleteColumn": [Function],
+ "get": [Function],
+ "getCard": [Function],
+ "getColumn": [Function],
+ "getPermissionForUser": [Function],
+ "listCards": [Function],
+ "listCollaborators": [Function],
+ "listColumns": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listForUser": [Function],
+ "moveCard": [Function],
+ "moveColumn": [Function],
+ "removeCollaborator": [Function],
+ "reviewUserPermissionLevel": [Function],
+ "update": [Function],
+ "updateCard": [Function],
+ "updateColumn": [Function],
+ },
+ "pulls": Object {
+ "checkIfMerged": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createReplyForReviewComment": [Function],
+ "createReview": [Function],
+ "createReviewComment": [Function],
+ "createReviewCommentReply": [Function],
+ "createReviewRequest": [Function],
+ "deleteComment": [Function],
+ "deletePendingReview": [Function],
+ "deleteReviewComment": [Function],
+ "deleteReviewRequest": [Function],
+ "dismissReview": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getCommentsForReview": [Function],
+ "getReview": [Function],
+ "getReviewComment": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listCommentsForReview": [Function],
+ "listCommits": [Function],
+ "listFiles": [Function],
+ "listRequestedReviewers": [Function],
+ "listReviewComments": [Function],
+ "listReviewCommentsForRepo": [Function],
+ "listReviewRequests": [Function],
+ "listReviews": [Function],
+ "merge": [Function],
+ "removeRequestedReviewers": [Function],
+ "requestReviewers": [Function],
+ "submitReview": [Function],
+ "update": [Function],
+ "updateBranch": [Function],
+ "updateComment": [Function],
+ "updateReview": [Function],
+ "updateReviewComment": [Function],
+ },
+ "rateLimit": Object {
+ "get": [Function],
+ },
+ "reactions": Object {
+ "createForCommitComment": [Function],
+ "createForIssue": [Function],
+ "createForIssueComment": [Function],
+ "createForPullRequestReviewComment": [Function],
+ "createForTeamDiscussionCommentInOrg": [Function],
+ "createForTeamDiscussionInOrg": [Function],
+ "delete": [Function],
+ "deleteForCommitComment": [Function],
+ "deleteForIssue": [Function],
+ "deleteForIssueComment": [Function],
+ "deleteForPullRequestComment": [Function],
+ "deleteForTeamDiscussion": [Function],
+ "deleteForTeamDiscussionComment": [Function],
+ "deleteLegacy": [Function],
+ "listForCommitComment": [Function],
+ "listForIssue": [Function],
+ "listForIssueComment": [Function],
+ "listForPullRequestReviewComment": [Function],
+ "listForTeamDiscussionCommentInOrg": [Function],
+ "listForTeamDiscussionInOrg": [Function],
+ },
+ "repos": Object {
+ "acceptInvitation": [Function],
+ "addAppAccessRestrictions": [Function],
+ "addCollaborator": [Function],
+ "addDeployKey": [Function],
+ "addProtectedBranchAdminEnforcement": [Function],
+ "addProtectedBranchAppRestrictions": [Function],
+ "addProtectedBranchRequiredSignatures": [Function],
+ "addProtectedBranchRequiredStatusChecksContexts": [Function],
+ "addProtectedBranchTeamRestrictions": [Function],
+ "addProtectedBranchUserRestrictions": [Function],
+ "addStatusCheckContexts": [Function],
+ "addTeamAccessRestrictions": [Function],
+ "addUserAccessRestrictions": [Function],
+ "checkCollaborator": [Function],
+ "checkVulnerabilityAlerts": [Function],
+ "compareCommits": [Function],
+ "createCommitComment": [Function],
+ "createCommitSignatureProtection": [Function],
+ "createCommitStatus": [Function],
+ "createDeployKey": [Function],
+ "createDeployment": [Function],
+ "createDeploymentStatus": [Function],
+ "createDispatchEvent": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createFork": [Function],
+ "createHook": [Function],
+ "createInOrg": [Function],
+ "createOrUpdateFile": [Function],
+ "createOrUpdateFileContents": [Function],
+ "createPagesSite": [Function],
+ "createRelease": [Function],
+ "createStatus": [Function],
+ "createUsingTemplate": [Function],
+ "createWebhook": [Function],
+ "declineInvitation": [Function],
+ "delete": [Function],
+ "deleteAccessRestrictions": [Function],
+ "deleteAdminBranchProtection": [Function],
+ "deleteBranchProtection": [Function],
+ "deleteCommitComment": [Function],
+ "deleteCommitSignatureProtection": [Function],
+ "deleteDeployKey": [Function],
+ "deleteDeployment": [Function],
+ "deleteDownload": [Function],
+ "deleteFile": [Function],
+ "deleteHook": [Function],
+ "deleteInvitation": [Function],
+ "deletePagesSite": [Function],
+ "deletePullRequestReviewProtection": [Function],
+ "deleteRelease": [Function],
+ "deleteReleaseAsset": [Function],
+ "deleteWebhook": [Function],
+ "disableAutomatedSecurityFixes": [Function],
+ "disablePagesSite": [Function],
+ "disableVulnerabilityAlerts": [Function],
+ "downloadArchive": [Function],
+ "enableAutomatedSecurityFixes": [Function],
+ "enablePagesSite": [Function],
+ "enableVulnerabilityAlerts": [Function],
+ "get": [Function],
+ "getAccessRestrictions": [Function],
+ "getAdminBranchProtection": [Function],
+ "getAllStatusCheckContexts": [Function],
+ "getAllTopics": [Function],
+ "getAppsWithAccessToProtectedBranch": [Function],
+ "getArchiveLink": [Function],
+ "getBranch": [Function],
+ "getBranchProtection": [Function],
+ "getClones": [Function],
+ "getCodeFrequencyStats": [Function],
+ "getCollaboratorPermissionLevel": [Function],
+ "getCombinedStatusForRef": [Function],
+ "getCommit": [Function],
+ "getCommitActivityStats": [Function],
+ "getCommitComment": [Function],
+ "getCommitSignatureProtection": [Function],
+ "getCommunityProfileMetrics": [Function],
+ "getContent": [Function],
+ "getContents": [Function],
+ "getContributorsStats": [Function],
+ "getDeployKey": [Function],
+ "getDeployment": [Function],
+ "getDeploymentStatus": [Function],
+ "getDownload": [Function],
+ "getHook": [Function],
+ "getLatestPagesBuild": [Function],
+ "getLatestRelease": [Function],
+ "getPages": [Function],
+ "getPagesBuild": [Function],
+ "getParticipationStats": [Function],
+ "getProtectedBranchAdminEnforcement": [Function],
+ "getProtectedBranchPullRequestReviewEnforcement": [Function],
+ "getProtectedBranchRequiredSignatures": [Function],
+ "getProtectedBranchRequiredStatusChecks": [Function],
+ "getProtectedBranchRestrictions": [Function],
+ "getPullRequestReviewProtection": [Function],
+ "getPunchCardStats": [Function],
+ "getReadme": [Function],
+ "getRelease": [Function],
+ "getReleaseAsset": [Function],
+ "getReleaseByTag": [Function],
+ "getStatusChecksProtection": [Function],
+ "getTeamsWithAccessToProtectedBranch": [Function],
+ "getTopPaths": [Function],
+ "getTopReferrers": [Function],
+ "getUsersWithAccessToProtectedBranch": [Function],
+ "getViews": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAssetsForRelease": [Function],
+ "listBranches": [Function],
+ "listBranchesForHeadCommit": [Function],
+ "listCollaborators": [Function],
+ "listCommentsForCommit": [Function],
+ "listCommitComments": [Function],
+ "listCommitCommentsForRepo": [Function],
+ "listCommitStatusesForRef": [Function],
+ "listCommits": [Function],
+ "listContributors": [Function],
+ "listDeployKeys": [Function],
+ "listDeploymentStatuses": [Function],
+ "listDeployments": [Function],
+ "listDownloads": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listHooks": [Function],
+ "listInvitations": [Function],
+ "listInvitationsForAuthenticatedUser": [Function],
+ "listLanguages": [Function],
+ "listPagesBuilds": [Function],
+ "listProtectedBranchRequiredStatusChecksContexts": [Function],
+ "listPublic": [Function],
+ "listPullRequestsAssociatedWithCommit": [Function],
+ "listReleaseAssets": [Function],
+ "listReleases": [Function],
+ "listStatusesForRef": [Function],
+ "listTags": [Function],
+ "listTeams": [Function],
+ "listTopics": [Function],
+ "listWebhooks": [Function],
+ "merge": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "removeAppAccessRestrictions": [Function],
+ "removeBranchProtection": [Function],
+ "removeCollaborator": [Function],
+ "removeDeployKey": [Function],
+ "removeProtectedBranchAdminEnforcement": [Function],
+ "removeProtectedBranchAppRestrictions": [Function],
+ "removeProtectedBranchPullRequestReviewEnforcement": [Function],
+ "removeProtectedBranchRequiredSignatures": [Function],
+ "removeProtectedBranchRequiredStatusChecks": [Function],
+ "removeProtectedBranchRequiredStatusChecksContexts": [Function],
+ "removeProtectedBranchRestrictions": [Function],
+ "removeProtectedBranchTeamRestrictions": [Function],
+ "removeProtectedBranchUserRestrictions": [Function],
+ "removeStatusCheckContexts": [Function],
+ "removeStatusCheckProtection": [Function],
+ "removeTeamAccessRestrictions": [Function],
+ "removeUserAccessRestrictions": [Function],
+ "replaceAllTopics": [Function],
+ "replaceProtectedBranchAppRestrictions": [Function],
+ "replaceProtectedBranchRequiredStatusChecksContexts": [Function],
+ "replaceProtectedBranchTeamRestrictions": [Function],
+ "replaceProtectedBranchUserRestrictions": [Function],
+ "replaceTopics": [Function],
+ "requestPageBuild": [Function],
+ "requestPagesBuild": [Function],
+ "retrieveCommunityProfileMetrics": [Function],
+ "setAdminBranchProtection": [Function],
+ "setAppAccessRestrictions": [Function],
+ "setStatusCheckContexts": [Function],
+ "setTeamAccessRestrictions": [Function],
+ "setUserAccessRestrictions": [Function],
+ "testPushHook": [Function],
+ "testPushWebhook": [Function],
+ "transfer": [Function],
+ "update": [Function],
+ "updateBranchProtection": [Function],
+ "updateCommitComment": [Function],
+ "updateHook": [Function],
+ "updateInformationAboutPagesSite": [Function],
+ "updateInvitation": [Function],
+ "updateProtectedBranchPullRequestReviewEnforcement": [Function],
+ "updateProtectedBranchRequiredStatusChecks": [Function],
+ "updatePullRequestReviewProtection": [Function],
+ "updateRelease": [Function],
+ "updateReleaseAsset": [Function],
+ "updateStatusCheckPotection": [Function],
+ "updateWebhook": [Function],
+ "uploadReleaseAsset": [Function],
+ },
+ "request": [Function],
+ "search": Object {
+ "code": [Function],
+ "commits": [Function],
+ "issuesAndPullRequests": [Function],
+ "labels": [Function],
+ "repos": [Function],
+ "topics": [Function],
+ "users": [Function],
+ },
+ "teams": Object {
+ "addOrUpdateMembershipForUserInOrg": [Function],
+ "addOrUpdateMembershipInOrg": [Function],
+ "addOrUpdateProjectInOrg": [Function],
+ "addOrUpdateProjectPermissionsInOrg": [Function],
+ "addOrUpdateRepoInOrg": [Function],
+ "addOrUpdateRepoPermissionsInOrg": [Function],
+ "checkManagesRepoInOrg": [Function],
+ "checkPermissionsForProjectInOrg": [Function],
+ "checkPermissionsForRepoInOrg": [Function],
+ "create": [Function],
+ "createDiscussionCommentInOrg": [Function],
+ "createDiscussionInOrg": [Function],
+ "deleteDiscussionCommentInOrg": [Function],
+ "deleteDiscussionInOrg": [Function],
+ "deleteInOrg": [Function],
+ "getByName": [Function],
+ "getDiscussionCommentInOrg": [Function],
+ "getDiscussionInOrg": [Function],
+ "getMembershipForUserInOrg": [Function],
+ "getMembershipInOrg": [Function],
+ "list": [Function],
+ "listChildInOrg": [Function],
+ "listDiscussionCommentsInOrg": [Function],
+ "listDiscussionsInOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listMembersInOrg": [Function],
+ "listPendingInvitationsInOrg": [Function],
+ "listProjectsInOrg": [Function],
+ "listReposInOrg": [Function],
+ "removeMembershipForUserInOrg": [Function],
+ "removeMembershipInOrg": [Function],
+ "removeProjectInOrg": [Function],
+ "removeRepoInOrg": [Function],
+ "reviewProjectInOrg": [Function],
+ "updateDiscussionCommentInOrg": [Function],
+ "updateDiscussionInOrg": [Function],
+ "updateInOrg": [Function],
+ },
+ "users": Object {
+ "addEmailForAuthenticated": [Function],
+ "addEmails": [Function],
+ "block": [Function],
+ "checkBlocked": [Function],
+ "checkFollowing": [Function],
+ "checkFollowingForUser": [Function],
+ "checkPersonIsFollowedByAuthenticated": [Function],
+ "createGpgKey": [Function],
+ "createGpgKeyForAuthenticated": [Function],
+ "createPublicKey": [Function],
+ "createPublicSshKeyForAuthenticated": [Function],
+ "deleteEmailForAuthenticated": [Function],
+ "deleteEmails": [Function],
+ "deleteGpgKey": [Function],
+ "deleteGpgKeyForAuthenticated": [Function],
+ "deletePublicKey": [Function],
+ "deletePublicSshKeyForAuthenticated": [Function],
+ "follow": [Function],
+ "getAuthenticated": [Function],
+ "getByUsername": [Function],
+ "getContextForUser": [Function],
+ "getGpgKey": [Function],
+ "getGpgKeyForAuthenticated": [Function],
+ "getPublicKey": [Function],
+ "getPublicSshKeyForAuthenticated": [Function],
+ "list": [Function],
+ "listBlocked": [Function],
+ "listBlockedByAuthenticated": [Function],
+ "listEmails": [Function],
+ "listEmailsForAuthenticated": [Function],
+ "listFollowedByAuthenticated": [Function],
+ "listFollowersForAuthenticatedUser": [Function],
+ "listFollowersForUser": [Function],
+ "listFollowingForAuthenticatedUser": [Function],
+ "listFollowingForUser": [Function],
+ "listGpgKeys": [Function],
+ "listGpgKeysForAuthenticated": [Function],
+ "listGpgKeysForUser": [Function],
+ "listPublicEmails": [Function],
+ "listPublicEmailsForAuthenticated": [Function],
+ "listPublicKeys": [Function],
+ "listPublicKeysForUser": [Function],
+ "listPublicSshKeysForAuthenticated": [Function],
+ "setPrimaryEmailVisibilityForAuthenticated": [Function],
+ "togglePrimaryEmailVisibility": [Function],
+ "unblock": [Function],
+ "unfollow": [Function],
+ "updateAuthenticated": [Function],
+ },
+ },
+ },
"graphStylingPane": GraphStylingPane {
"container": [Circular],
"firstFieldHasFocus": [Function],
@@ -431,7 +1198,6 @@ exports[`StringInput Pane should render Create new directory properly 1`] = `
"isAutoscaleDefaultEnabled": [Function],
"isEnableMongoCapabilityPresent": [Function],
"isFixedCollectionWithSharedThroughputSupported": [Function],
- "isGitHubPaneEnabled": [Function],
"isHostedDataExplorerEnabled": [Function],
"isLeftPaneExpanded": [Function],
"isMongoIndexingEnabled": [Function],
@@ -446,9 +1212,14 @@ exports[`StringInput Pane should render Create new directory properly 1`] = `
"isSparkEnabledForAccount": [Function],
"isSynapseLinkUpdating": [Function],
"isTabsContentExpanded": [Function],
+ "junoClient": JunoClient {
+ "cachedPinnedRepos": [Function],
+ "databaseAccount": undefined,
+ },
"memoryUsageInfo": [Function],
"notebookBasePath": [Function],
"notebookServerInfo": [Function],
+ "onGitHubClientError": [Function],
"onRefreshDatabasesKeyPress": [Function],
"onRefreshResourcesClick": [Function],
"onSwitchToConnectionString": [Function],
diff --git a/src/Explorer/Panes/__snapshots__/DeleteDatabaseConfirmationPanel.test.tsx.snap b/src/Explorer/Panes/__snapshots__/DeleteDatabaseConfirmationPanel.test.tsx.snap
index 022b8e7c4..46710be04 100644
--- a/src/Explorer/Panes/__snapshots__/DeleteDatabaseConfirmationPanel.test.tsx.snap
+++ b/src/Explorer/Panes/__snapshots__/DeleteDatabaseConfirmationPanel.test.tsx.snap
@@ -404,6 +404,773 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
"defaultExperience": [Function],
"deleteCollectionText": [Function],
"deleteDatabaseText": [Function],
+ "gitHubClient": GitHubClient {
+ "errorCallback": [Function],
+ "ocktokit": OctokitWithDefaults {
+ "actions": Object {
+ "addSelectedRepoToOrgSecret": [Function],
+ "cancelWorkflowRun": [Function],
+ "createOrUpdateOrgSecret": [Function],
+ "createOrUpdateRepoSecret": [Function],
+ "createOrUpdateSecretForRepo": [Function],
+ "createRegistrationToken": [Function],
+ "createRegistrationTokenForOrg": [Function],
+ "createRegistrationTokenForRepo": [Function],
+ "createRemoveToken": [Function],
+ "createRemoveTokenForOrg": [Function],
+ "createRemoveTokenForRepo": [Function],
+ "deleteArtifact": [Function],
+ "deleteOrgSecret": [Function],
+ "deleteRepoSecret": [Function],
+ "deleteSecretFromRepo": [Function],
+ "deleteSelfHostedRunnerFromOrg": [Function],
+ "deleteSelfHostedRunnerFromRepo": [Function],
+ "deleteWorkflowRunLogs": [Function],
+ "downloadArtifact": [Function],
+ "downloadJobLogsForWorkflowRun": [Function],
+ "downloadWorkflowJobLogs": [Function],
+ "downloadWorkflowRunLogs": [Function],
+ "getArtifact": [Function],
+ "getJobForWorkflowRun": [Function],
+ "getOrgPublicKey": [Function],
+ "getOrgSecret": [Function],
+ "getPublicKey": [Function],
+ "getRepoPublicKey": [Function],
+ "getRepoSecret": [Function],
+ "getSecret": [Function],
+ "getSelfHostedRunner": [Function],
+ "getSelfHostedRunnerForOrg": [Function],
+ "getSelfHostedRunnerForRepo": [Function],
+ "getWorkflow": [Function],
+ "getWorkflowJob": [Function],
+ "getWorkflowRun": [Function],
+ "getWorkflowRunUsage": [Function],
+ "getWorkflowUsage": [Function],
+ "listArtifactsForRepo": [Function],
+ "listDownloadsForSelfHostedRunnerApplication": [Function],
+ "listJobsForWorkflowRun": [Function],
+ "listOrgSecrets": [Function],
+ "listRepoSecrets": [Function],
+ "listRepoWorkflowRuns": [Function],
+ "listRepoWorkflows": [Function],
+ "listRunnerApplicationsForOrg": [Function],
+ "listRunnerApplicationsForRepo": [Function],
+ "listSecretsForRepo": [Function],
+ "listSelectedReposForOrgSecret": [Function],
+ "listSelfHostedRunnersForOrg": [Function],
+ "listSelfHostedRunnersForRepo": [Function],
+ "listWorkflowJobLogs": [Function],
+ "listWorkflowRunArtifacts": [Function],
+ "listWorkflowRunLogs": [Function],
+ "listWorkflowRuns": [Function],
+ "listWorkflowRunsForRepo": [Function],
+ "reRunWorkflow": [Function],
+ "removeSelectedRepoFromOrgSecret": [Function],
+ "removeSelfHostedRunner": [Function],
+ "setSelectedReposForOrgSecret": [Function],
+ },
+ "activity": Object {
+ "checkRepoIsStarredByAuthenticatedUser": [Function],
+ "checkStarringRepo": [Function],
+ "deleteRepoSubscription": [Function],
+ "deleteThreadSubscription": [Function],
+ "getFeeds": [Function],
+ "getRepoSubscription": [Function],
+ "getThread": [Function],
+ "getThreadSubscription": [Function],
+ "getThreadSubscriptionForAuthenticatedUser": [Function],
+ "listEventsForAuthenticatedUser": [Function],
+ "listEventsForOrg": [Function],
+ "listEventsForUser": [Function],
+ "listFeeds": [Function],
+ "listNotifications": [Function],
+ "listNotificationsForAuthenticatedUser": [Function],
+ "listNotificationsForRepo": [Function],
+ "listOrgEventsForAuthenticatedUser": [Function],
+ "listPublicEvents": [Function],
+ "listPublicEventsForOrg": [Function],
+ "listPublicEventsForRepoNetwork": [Function],
+ "listPublicEventsForUser": [Function],
+ "listPublicOrgEvents": [Function],
+ "listReceivedEventsForUser": [Function],
+ "listReceivedPublicEventsForUser": [Function],
+ "listRepoEvents": [Function],
+ "listRepoNotificationsForAuthenticatedUser": [Function],
+ "listReposStarredByAuthenticatedUser": [Function],
+ "listReposStarredByUser": [Function],
+ "listReposWatchedByUser": [Function],
+ "listStargazersForRepo": [Function],
+ "listWatchedReposForAuthenticatedUser": [Function],
+ "listWatchersForRepo": [Function],
+ "markAsRead": [Function],
+ "markNotificationsAsRead": [Function],
+ "markNotificationsAsReadForRepo": [Function],
+ "markRepoNotificationsAsRead": [Function],
+ "markThreadAsRead": [Function],
+ "setRepoSubscription": [Function],
+ "setThreadSubscription": [Function],
+ "starRepo": [Function],
+ "starRepoForAuthenticatedUser": [Function],
+ "unstarRepo": [Function],
+ "unstarRepoForAuthenticatedUser": [Function],
+ },
+ "apps": Object {
+ "addRepoToInstallation": [Function],
+ "checkAccountIsAssociatedWithAny": [Function],
+ "checkAccountIsAssociatedWithAnyStubbed": [Function],
+ "checkToken": [Function],
+ "createContentAttachment": [Function],
+ "createFromManifest": [Function],
+ "createInstallationAccessToken": [Function],
+ "createInstallationToken": [Function],
+ "deleteAuthorization": [Function],
+ "deleteInstallation": [Function],
+ "deleteToken": [Function],
+ "getAuthenticated": [Function],
+ "getBySlug": [Function],
+ "getInstallation": [Function],
+ "getOrgInstallation": [Function],
+ "getRepoInstallation": [Function],
+ "getSubscriptionPlanForAccount": [Function],
+ "getSubscriptionPlanForAccountStubbed": [Function],
+ "getUserInstallation": [Function],
+ "listAccountsForPlan": [Function],
+ "listAccountsForPlanStubbed": [Function],
+ "listAccountsUserOrOrgOnPlan": [Function],
+ "listAccountsUserOrOrgOnPlanStubbed": [Function],
+ "listInstallationReposForAuthenticatedUser": [Function],
+ "listInstallations": [Function],
+ "listInstallationsForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUser": [Function],
+ "listMarketplacePurchasesForAuthenticatedUserStubbed": [Function],
+ "listPlans": [Function],
+ "listPlansStubbed": [Function],
+ "listRepos": [Function],
+ "listReposAccessibleToInstallation": [Function],
+ "listSubscriptionsForAuthenticatedUser": [Function],
+ "listSubscriptionsForAuthenticatedUserStubbed": [Function],
+ "removeRepoFromInstallation": [Function],
+ "resetToken": [Function],
+ "revokeInstallationAccessToken": [Function],
+ "revokeInstallationToken": [Function],
+ "suspendInstallation": [Function],
+ "unsuspendInstallation": [Function],
+ },
+ "auth": [Function],
+ "checks": Object {
+ "create": [Function],
+ "createSuite": [Function],
+ "get": [Function],
+ "getSuite": [Function],
+ "listAnnotations": [Function],
+ "listForRef": [Function],
+ "listForSuite": [Function],
+ "listSuitesForRef": [Function],
+ "rerequestSuite": [Function],
+ "setSuitesPreferences": [Function],
+ "update": [Function],
+ },
+ "codeScanning": Object {
+ "getAlert": [Function],
+ "listAlertsForRepo": [Function],
+ },
+ "codesOfConduct": Object {
+ "getAllCodesOfConduct": [Function],
+ "getConductCode": [Function],
+ "getForRepo": [Function],
+ "listConductCodes": [Function],
+ },
+ "emojis": Object {
+ "get": [Function],
+ },
+ "gists": Object {
+ "checkIsStarred": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "delete": [Function],
+ "deleteComment": [Function],
+ "fork": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getRevision": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommits": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listPublic": [Function],
+ "listPublicForUser": [Function],
+ "listStarred": [Function],
+ "star": [Function],
+ "unstar": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ },
+ "git": Object {
+ "createBlob": [Function],
+ "createCommit": [Function],
+ "createRef": [Function],
+ "createTag": [Function],
+ "createTree": [Function],
+ "deleteRef": [Function],
+ "getBlob": [Function],
+ "getCommit": [Function],
+ "getRef": [Function],
+ "getTag": [Function],
+ "getTree": [Function],
+ "listMatchingRefs": [Function],
+ "updateRef": [Function],
+ },
+ "gitignore": Object {
+ "getAllTemplates": [Function],
+ "getTemplate": [Function],
+ "listTemplates": [Function],
+ },
+ "graphql": [Function],
+ "hook": [Function],
+ "interactions": Object {
+ "addOrUpdateRestrictionsForOrg": [Function],
+ "addOrUpdateRestrictionsForRepo": [Function],
+ "getRestrictionsForOrg": [Function],
+ "getRestrictionsForRepo": [Function],
+ "removeRestrictionsForOrg": [Function],
+ "removeRestrictionsForRepo": [Function],
+ "setRestrictionsForOrg": [Function],
+ "setRestrictionsForRepo": [Function],
+ },
+ "issues": Object {
+ "addAssignees": [Function],
+ "addLabels": [Function],
+ "checkAssignee": [Function],
+ "checkUserCanBeAssigned": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createLabel": [Function],
+ "createMilestone": [Function],
+ "deleteComment": [Function],
+ "deleteLabel": [Function],
+ "deleteMilestone": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getEvent": [Function],
+ "getLabel": [Function],
+ "getMilestone": [Function],
+ "list": [Function],
+ "listAssignees": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listEvents": [Function],
+ "listEventsForRepo": [Function],
+ "listEventsForTimeline": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listLabelsForMilestone": [Function],
+ "listLabelsForRepo": [Function],
+ "listLabelsOnIssue": [Function],
+ "listMilestones": [Function],
+ "listMilestonesForRepo": [Function],
+ "lock": [Function],
+ "removeAllLabels": [Function],
+ "removeAssignees": [Function],
+ "removeLabel": [Function],
+ "removeLabels": [Function],
+ "replaceAllLabels": [Function],
+ "replaceLabels": [Function],
+ "setLabels": [Function],
+ "unlock": [Function],
+ "update": [Function],
+ "updateComment": [Function],
+ "updateLabel": [Function],
+ "updateMilestone": [Function],
+ },
+ "licenses": Object {
+ "get": [Function],
+ "getAllCommonlyUsed": [Function],
+ "getForRepo": [Function],
+ "listCommonlyUsed": [Function],
+ },
+ "log": Object {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "markdown": Object {
+ "render": [Function],
+ "renderRaw": [Function],
+ },
+ "meta": Object {
+ "get": [Function],
+ },
+ "migrations": Object {
+ "cancelImport": [Function],
+ "deleteArchiveForAuthenticatedUser": [Function],
+ "deleteArchiveForOrg": [Function],
+ "downloadArchiveForOrg": [Function],
+ "getArchiveForAuthenticatedUser": [Function],
+ "getCommitAuthors": [Function],
+ "getImportProgress": [Function],
+ "getImportStatus": [Function],
+ "getLargeFiles": [Function],
+ "getStatusForAuthenticatedUser": [Function],
+ "getStatusForOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listReposForOrg": [Function],
+ "listReposForUser": [Function],
+ "mapCommitAuthor": [Function],
+ "setLfsPreference": [Function],
+ "startForAuthenticatedUser": [Function],
+ "startForOrg": [Function],
+ "startImport": [Function],
+ "unlockRepoForAuthenticatedUser": [Function],
+ "unlockRepoForOrg": [Function],
+ "updateImport": [Function],
+ },
+ "orgs": Object {
+ "addOrUpdateMembership": [Function],
+ "blockUser": [Function],
+ "checkBlockedUser": [Function],
+ "checkMembership": [Function],
+ "checkMembershipForUser": [Function],
+ "checkPublicMembership": [Function],
+ "checkPublicMembershipForUser": [Function],
+ "concealMembership": [Function],
+ "convertMemberToOutsideCollaborator": [Function],
+ "createHook": [Function],
+ "createInvitation": [Function],
+ "createWebhook": [Function],
+ "deleteHook": [Function],
+ "deleteWebhook": [Function],
+ "get": [Function],
+ "getHook": [Function],
+ "getMembership": [Function],
+ "getMembershipForAuthenticatedUser": [Function],
+ "getMembershipForUser": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAppInstallations": [Function],
+ "listBlockedUsers": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForUser": [Function],
+ "listHooks": [Function],
+ "listInstallations": [Function],
+ "listInvitationTeams": [Function],
+ "listMembers": [Function],
+ "listMemberships": [Function],
+ "listMembershipsForAuthenticatedUser": [Function],
+ "listOutsideCollaborators": [Function],
+ "listPendingInvitations": [Function],
+ "listPublicMembers": [Function],
+ "listWebhooks": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "publicizeMembership": [Function],
+ "removeMember": [Function],
+ "removeMembership": [Function],
+ "removeMembershipForUser": [Function],
+ "removeOutsideCollaborator": [Function],
+ "removePublicMembershipForAuthenticatedUser": [Function],
+ "setMembershipForUser": [Function],
+ "setPublicMembershipForAuthenticatedUser": [Function],
+ "unblockUser": [Function],
+ "update": [Function],
+ "updateHook": [Function],
+ "updateMembership": [Function],
+ "updateMembershipForAuthenticatedUser": [Function],
+ "updateWebhook": [Function],
+ },
+ "paginate": [Function],
+ "projects": Object {
+ "addCollaborator": [Function],
+ "createCard": [Function],
+ "createColumn": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createForOrg": [Function],
+ "createForRepo": [Function],
+ "delete": [Function],
+ "deleteCard": [Function],
+ "deleteColumn": [Function],
+ "get": [Function],
+ "getCard": [Function],
+ "getColumn": [Function],
+ "getPermissionForUser": [Function],
+ "listCards": [Function],
+ "listCollaborators": [Function],
+ "listColumns": [Function],
+ "listForOrg": [Function],
+ "listForRepo": [Function],
+ "listForUser": [Function],
+ "moveCard": [Function],
+ "moveColumn": [Function],
+ "removeCollaborator": [Function],
+ "reviewUserPermissionLevel": [Function],
+ "update": [Function],
+ "updateCard": [Function],
+ "updateColumn": [Function],
+ },
+ "pulls": Object {
+ "checkIfMerged": [Function],
+ "create": [Function],
+ "createComment": [Function],
+ "createReplyForReviewComment": [Function],
+ "createReview": [Function],
+ "createReviewComment": [Function],
+ "createReviewCommentReply": [Function],
+ "createReviewRequest": [Function],
+ "deleteComment": [Function],
+ "deletePendingReview": [Function],
+ "deleteReviewComment": [Function],
+ "deleteReviewRequest": [Function],
+ "dismissReview": [Function],
+ "get": [Function],
+ "getComment": [Function],
+ "getCommentsForReview": [Function],
+ "getReview": [Function],
+ "getReviewComment": [Function],
+ "list": [Function],
+ "listComments": [Function],
+ "listCommentsForRepo": [Function],
+ "listCommentsForReview": [Function],
+ "listCommits": [Function],
+ "listFiles": [Function],
+ "listRequestedReviewers": [Function],
+ "listReviewComments": [Function],
+ "listReviewCommentsForRepo": [Function],
+ "listReviewRequests": [Function],
+ "listReviews": [Function],
+ "merge": [Function],
+ "removeRequestedReviewers": [Function],
+ "requestReviewers": [Function],
+ "submitReview": [Function],
+ "update": [Function],
+ "updateBranch": [Function],
+ "updateComment": [Function],
+ "updateReview": [Function],
+ "updateReviewComment": [Function],
+ },
+ "rateLimit": Object {
+ "get": [Function],
+ },
+ "reactions": Object {
+ "createForCommitComment": [Function],
+ "createForIssue": [Function],
+ "createForIssueComment": [Function],
+ "createForPullRequestReviewComment": [Function],
+ "createForTeamDiscussionCommentInOrg": [Function],
+ "createForTeamDiscussionInOrg": [Function],
+ "delete": [Function],
+ "deleteForCommitComment": [Function],
+ "deleteForIssue": [Function],
+ "deleteForIssueComment": [Function],
+ "deleteForPullRequestComment": [Function],
+ "deleteForTeamDiscussion": [Function],
+ "deleteForTeamDiscussionComment": [Function],
+ "deleteLegacy": [Function],
+ "listForCommitComment": [Function],
+ "listForIssue": [Function],
+ "listForIssueComment": [Function],
+ "listForPullRequestReviewComment": [Function],
+ "listForTeamDiscussionCommentInOrg": [Function],
+ "listForTeamDiscussionInOrg": [Function],
+ },
+ "repos": Object {
+ "acceptInvitation": [Function],
+ "addAppAccessRestrictions": [Function],
+ "addCollaborator": [Function],
+ "addDeployKey": [Function],
+ "addProtectedBranchAdminEnforcement": [Function],
+ "addProtectedBranchAppRestrictions": [Function],
+ "addProtectedBranchRequiredSignatures": [Function],
+ "addProtectedBranchRequiredStatusChecksContexts": [Function],
+ "addProtectedBranchTeamRestrictions": [Function],
+ "addProtectedBranchUserRestrictions": [Function],
+ "addStatusCheckContexts": [Function],
+ "addTeamAccessRestrictions": [Function],
+ "addUserAccessRestrictions": [Function],
+ "checkCollaborator": [Function],
+ "checkVulnerabilityAlerts": [Function],
+ "compareCommits": [Function],
+ "createCommitComment": [Function],
+ "createCommitSignatureProtection": [Function],
+ "createCommitStatus": [Function],
+ "createDeployKey": [Function],
+ "createDeployment": [Function],
+ "createDeploymentStatus": [Function],
+ "createDispatchEvent": [Function],
+ "createForAuthenticatedUser": [Function],
+ "createFork": [Function],
+ "createHook": [Function],
+ "createInOrg": [Function],
+ "createOrUpdateFile": [Function],
+ "createOrUpdateFileContents": [Function],
+ "createPagesSite": [Function],
+ "createRelease": [Function],
+ "createStatus": [Function],
+ "createUsingTemplate": [Function],
+ "createWebhook": [Function],
+ "declineInvitation": [Function],
+ "delete": [Function],
+ "deleteAccessRestrictions": [Function],
+ "deleteAdminBranchProtection": [Function],
+ "deleteBranchProtection": [Function],
+ "deleteCommitComment": [Function],
+ "deleteCommitSignatureProtection": [Function],
+ "deleteDeployKey": [Function],
+ "deleteDeployment": [Function],
+ "deleteDownload": [Function],
+ "deleteFile": [Function],
+ "deleteHook": [Function],
+ "deleteInvitation": [Function],
+ "deletePagesSite": [Function],
+ "deletePullRequestReviewProtection": [Function],
+ "deleteRelease": [Function],
+ "deleteReleaseAsset": [Function],
+ "deleteWebhook": [Function],
+ "disableAutomatedSecurityFixes": [Function],
+ "disablePagesSite": [Function],
+ "disableVulnerabilityAlerts": [Function],
+ "downloadArchive": [Function],
+ "enableAutomatedSecurityFixes": [Function],
+ "enablePagesSite": [Function],
+ "enableVulnerabilityAlerts": [Function],
+ "get": [Function],
+ "getAccessRestrictions": [Function],
+ "getAdminBranchProtection": [Function],
+ "getAllStatusCheckContexts": [Function],
+ "getAllTopics": [Function],
+ "getAppsWithAccessToProtectedBranch": [Function],
+ "getArchiveLink": [Function],
+ "getBranch": [Function],
+ "getBranchProtection": [Function],
+ "getClones": [Function],
+ "getCodeFrequencyStats": [Function],
+ "getCollaboratorPermissionLevel": [Function],
+ "getCombinedStatusForRef": [Function],
+ "getCommit": [Function],
+ "getCommitActivityStats": [Function],
+ "getCommitComment": [Function],
+ "getCommitSignatureProtection": [Function],
+ "getCommunityProfileMetrics": [Function],
+ "getContent": [Function],
+ "getContents": [Function],
+ "getContributorsStats": [Function],
+ "getDeployKey": [Function],
+ "getDeployment": [Function],
+ "getDeploymentStatus": [Function],
+ "getDownload": [Function],
+ "getHook": [Function],
+ "getLatestPagesBuild": [Function],
+ "getLatestRelease": [Function],
+ "getPages": [Function],
+ "getPagesBuild": [Function],
+ "getParticipationStats": [Function],
+ "getProtectedBranchAdminEnforcement": [Function],
+ "getProtectedBranchPullRequestReviewEnforcement": [Function],
+ "getProtectedBranchRequiredSignatures": [Function],
+ "getProtectedBranchRequiredStatusChecks": [Function],
+ "getProtectedBranchRestrictions": [Function],
+ "getPullRequestReviewProtection": [Function],
+ "getPunchCardStats": [Function],
+ "getReadme": [Function],
+ "getRelease": [Function],
+ "getReleaseAsset": [Function],
+ "getReleaseByTag": [Function],
+ "getStatusChecksProtection": [Function],
+ "getTeamsWithAccessToProtectedBranch": [Function],
+ "getTopPaths": [Function],
+ "getTopReferrers": [Function],
+ "getUsersWithAccessToProtectedBranch": [Function],
+ "getViews": [Function],
+ "getWebhook": [Function],
+ "list": [Function],
+ "listAssetsForRelease": [Function],
+ "listBranches": [Function],
+ "listBranchesForHeadCommit": [Function],
+ "listCollaborators": [Function],
+ "listCommentsForCommit": [Function],
+ "listCommitComments": [Function],
+ "listCommitCommentsForRepo": [Function],
+ "listCommitStatusesForRef": [Function],
+ "listCommits": [Function],
+ "listContributors": [Function],
+ "listDeployKeys": [Function],
+ "listDeploymentStatuses": [Function],
+ "listDeployments": [Function],
+ "listDownloads": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listForOrg": [Function],
+ "listForUser": [Function],
+ "listForks": [Function],
+ "listHooks": [Function],
+ "listInvitations": [Function],
+ "listInvitationsForAuthenticatedUser": [Function],
+ "listLanguages": [Function],
+ "listPagesBuilds": [Function],
+ "listProtectedBranchRequiredStatusChecksContexts": [Function],
+ "listPublic": [Function],
+ "listPullRequestsAssociatedWithCommit": [Function],
+ "listReleaseAssets": [Function],
+ "listReleases": [Function],
+ "listStatusesForRef": [Function],
+ "listTags": [Function],
+ "listTeams": [Function],
+ "listTopics": [Function],
+ "listWebhooks": [Function],
+ "merge": [Function],
+ "pingHook": [Function],
+ "pingWebhook": [Function],
+ "removeAppAccessRestrictions": [Function],
+ "removeBranchProtection": [Function],
+ "removeCollaborator": [Function],
+ "removeDeployKey": [Function],
+ "removeProtectedBranchAdminEnforcement": [Function],
+ "removeProtectedBranchAppRestrictions": [Function],
+ "removeProtectedBranchPullRequestReviewEnforcement": [Function],
+ "removeProtectedBranchRequiredSignatures": [Function],
+ "removeProtectedBranchRequiredStatusChecks": [Function],
+ "removeProtectedBranchRequiredStatusChecksContexts": [Function],
+ "removeProtectedBranchRestrictions": [Function],
+ "removeProtectedBranchTeamRestrictions": [Function],
+ "removeProtectedBranchUserRestrictions": [Function],
+ "removeStatusCheckContexts": [Function],
+ "removeStatusCheckProtection": [Function],
+ "removeTeamAccessRestrictions": [Function],
+ "removeUserAccessRestrictions": [Function],
+ "replaceAllTopics": [Function],
+ "replaceProtectedBranchAppRestrictions": [Function],
+ "replaceProtectedBranchRequiredStatusChecksContexts": [Function],
+ "replaceProtectedBranchTeamRestrictions": [Function],
+ "replaceProtectedBranchUserRestrictions": [Function],
+ "replaceTopics": [Function],
+ "requestPageBuild": [Function],
+ "requestPagesBuild": [Function],
+ "retrieveCommunityProfileMetrics": [Function],
+ "setAdminBranchProtection": [Function],
+ "setAppAccessRestrictions": [Function],
+ "setStatusCheckContexts": [Function],
+ "setTeamAccessRestrictions": [Function],
+ "setUserAccessRestrictions": [Function],
+ "testPushHook": [Function],
+ "testPushWebhook": [Function],
+ "transfer": [Function],
+ "update": [Function],
+ "updateBranchProtection": [Function],
+ "updateCommitComment": [Function],
+ "updateHook": [Function],
+ "updateInformationAboutPagesSite": [Function],
+ "updateInvitation": [Function],
+ "updateProtectedBranchPullRequestReviewEnforcement": [Function],
+ "updateProtectedBranchRequiredStatusChecks": [Function],
+ "updatePullRequestReviewProtection": [Function],
+ "updateRelease": [Function],
+ "updateReleaseAsset": [Function],
+ "updateStatusCheckPotection": [Function],
+ "updateWebhook": [Function],
+ "uploadReleaseAsset": [Function],
+ },
+ "request": [Function],
+ "search": Object {
+ "code": [Function],
+ "commits": [Function],
+ "issuesAndPullRequests": [Function],
+ "labels": [Function],
+ "repos": [Function],
+ "topics": [Function],
+ "users": [Function],
+ },
+ "teams": Object {
+ "addOrUpdateMembershipForUserInOrg": [Function],
+ "addOrUpdateMembershipInOrg": [Function],
+ "addOrUpdateProjectInOrg": [Function],
+ "addOrUpdateProjectPermissionsInOrg": [Function],
+ "addOrUpdateRepoInOrg": [Function],
+ "addOrUpdateRepoPermissionsInOrg": [Function],
+ "checkManagesRepoInOrg": [Function],
+ "checkPermissionsForProjectInOrg": [Function],
+ "checkPermissionsForRepoInOrg": [Function],
+ "create": [Function],
+ "createDiscussionCommentInOrg": [Function],
+ "createDiscussionInOrg": [Function],
+ "deleteDiscussionCommentInOrg": [Function],
+ "deleteDiscussionInOrg": [Function],
+ "deleteInOrg": [Function],
+ "getByName": [Function],
+ "getDiscussionCommentInOrg": [Function],
+ "getDiscussionInOrg": [Function],
+ "getMembershipForUserInOrg": [Function],
+ "getMembershipInOrg": [Function],
+ "list": [Function],
+ "listChildInOrg": [Function],
+ "listDiscussionCommentsInOrg": [Function],
+ "listDiscussionsInOrg": [Function],
+ "listForAuthenticatedUser": [Function],
+ "listMembersInOrg": [Function],
+ "listPendingInvitationsInOrg": [Function],
+ "listProjectsInOrg": [Function],
+ "listReposInOrg": [Function],
+ "removeMembershipForUserInOrg": [Function],
+ "removeMembershipInOrg": [Function],
+ "removeProjectInOrg": [Function],
+ "removeRepoInOrg": [Function],
+ "reviewProjectInOrg": [Function],
+ "updateDiscussionCommentInOrg": [Function],
+ "updateDiscussionInOrg": [Function],
+ "updateInOrg": [Function],
+ },
+ "users": Object {
+ "addEmailForAuthenticated": [Function],
+ "addEmails": [Function],
+ "block": [Function],
+ "checkBlocked": [Function],
+ "checkFollowing": [Function],
+ "checkFollowingForUser": [Function],
+ "checkPersonIsFollowedByAuthenticated": [Function],
+ "createGpgKey": [Function],
+ "createGpgKeyForAuthenticated": [Function],
+ "createPublicKey": [Function],
+ "createPublicSshKeyForAuthenticated": [Function],
+ "deleteEmailForAuthenticated": [Function],
+ "deleteEmails": [Function],
+ "deleteGpgKey": [Function],
+ "deleteGpgKeyForAuthenticated": [Function],
+ "deletePublicKey": [Function],
+ "deletePublicSshKeyForAuthenticated": [Function],
+ "follow": [Function],
+ "getAuthenticated": [Function],
+ "getByUsername": [Function],
+ "getContextForUser": [Function],
+ "getGpgKey": [Function],
+ "getGpgKeyForAuthenticated": [Function],
+ "getPublicKey": [Function],
+ "getPublicSshKeyForAuthenticated": [Function],
+ "list": [Function],
+ "listBlocked": [Function],
+ "listBlockedByAuthenticated": [Function],
+ "listEmails": [Function],
+ "listEmailsForAuthenticated": [Function],
+ "listFollowedByAuthenticated": [Function],
+ "listFollowersForAuthenticatedUser": [Function],
+ "listFollowersForUser": [Function],
+ "listFollowingForAuthenticatedUser": [Function],
+ "listFollowingForUser": [Function],
+ "listGpgKeys": [Function],
+ "listGpgKeysForAuthenticated": [Function],
+ "listGpgKeysForUser": [Function],
+ "listPublicEmails": [Function],
+ "listPublicEmailsForAuthenticated": [Function],
+ "listPublicKeys": [Function],
+ "listPublicKeysForUser": [Function],
+ "listPublicSshKeysForAuthenticated": [Function],
+ "setPrimaryEmailVisibilityForAuthenticated": [Function],
+ "togglePrimaryEmailVisibility": [Function],
+ "unblock": [Function],
+ "unfollow": [Function],
+ "updateAuthenticated": [Function],
+ },
+ },
+ },
"graphStylingPane": GraphStylingPane {
"container": [Circular],
"firstFieldHasFocus": [Function],
@@ -429,7 +1196,6 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
"isAutoscaleDefaultEnabled": [Function],
"isEnableMongoCapabilityPresent": [Function],
"isFixedCollectionWithSharedThroughputSupported": [Function],
- "isGitHubPaneEnabled": [Function],
"isHostedDataExplorerEnabled": [Function],
"isLastCollection": [Function],
"isLastNonEmptyDatabase": [Function],
@@ -447,9 +1213,14 @@ exports[`Delete Database Confirmation Pane submit() Should call delete database
"isSparkEnabledForAccount": [Function],
"isSynapseLinkUpdating": [Function],
"isTabsContentExpanded": [Function],
+ "junoClient": JunoClient {
+ "cachedPinnedRepos": [Function],
+ "databaseAccount": undefined,
+ },
"memoryUsageInfo": [Function],
"notebookBasePath": [Function],
"notebookServerInfo": [Function],
+ "onGitHubClientError": [Function],
"onRefreshDatabasesKeyPress": [Function],
"onRefreshResourcesClick": [Function],
"onSwitchToConnectionString": [Function],
diff --git a/src/Explorer/Tree/ResourceTreeAdapter.tsx b/src/Explorer/Tree/ResourceTreeAdapter.tsx
index 96dede39b..7435de56d 100644
--- a/src/Explorer/Tree/ResourceTreeAdapter.tsx
+++ b/src/Explorer/Tree/ResourceTreeAdapter.tsx
@@ -607,7 +607,7 @@ export class ResourceTreeAdapter implements ReactAdapter {
gitHubNotebooksTree.contextMenu = [
{
label: "Manage GitHub settings",
- onClick: () => this.container.gitHubReposPane.open(),
+ onClick: () => this.container.openGitHubReposPanel("Manage GitHub settings"),
},
{
label: "Disconnect from GitHub",
diff --git a/src/Main.tsx b/src/Main.tsx
index 8f5d095f6..48d8fbe92 100644
--- a/src/Main.tsx
+++ b/src/Main.tsx
@@ -53,7 +53,6 @@ import { useConfig } from "./hooks/useConfig";
import { useKnockoutExplorer } from "./hooks/useKnockoutExplorer";
import { useSidePanel } from "./hooks/useSidePanel";
import { useTabs } from "./hooks/useTabs";
-import { KOCommentEnd, KOCommentIfStart } from "./koComment";
import "./Libs/jquery";
import "./Shared/appInsights";
import { userContext } from "./UserContext";
@@ -232,9 +231,6 @@ const App: React.FunctionComponent = () => {
-
-
-
{showDialog && }
);
diff --git a/src/koComment.tsx b/src/koComment.tsx
deleted file mode 100644
index 7b9f8f889..000000000
--- a/src/koComment.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-/* eslint-disable react/prop-types */
-import React, { useEffect, useRef } from "react";
-
-export const KOCommentIfStart: React.FunctionComponent<{ if: string }> = (props) => {
- const el = useRef();
- useEffect(() => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- (el.current as any).outerHTML = ``;
- }, []);
- return ;
-};
-
-export const KOCommentEnd: React.FunctionComponent = () => {
- const el = useRef();
- useEffect(() => {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- (el.current as any).outerHTML = ``;
- }, []);
- return ;
-};
diff --git a/tsconfig.json b/tsconfig.json
index 6a75ff8ce..1d17bc4ad 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -22,6 +22,6 @@
"types": ["jest", "puppeteer", "jest-environment-puppeteer", "expect-puppeteer"],
"baseUrl": "src"
},
- "include": ["./src/**/*", "./test/testExplorer/TestExplorer.ts", "./**/*.ts", "./**/*.tsx"],
+ "include": ["./src/**/*", "./utils/**/*", "./test/testExplorer/TestExplorer.ts", "./**/*.ts", "./**/*.tsx"],
"exclude": ["./src/**/__mocks__/**/*"]
}
diff --git a/tsconfig.test.json b/tsconfig.test.json
index 4df3e0bf8..28c7ed92c 100644
--- a/tsconfig.test.json
+++ b/tsconfig.test.json
@@ -1,6 +1,7 @@
{
"extends": "./tsconfig.json",
+ "include": ["./test/**/*"],
"compilerOptions": {
"module": "commonjs"
}
-}
\ No newline at end of file
+}