├── github-action ├── .gitignore ├── dist │ └── index.d.ts ├── node_modules │ ├── tunnel │ │ ├── index.js │ │ ├── .travis.yml │ │ ├── .idea │ │ │ ├── encodings.xml │ │ │ ├── vcs.xml │ │ │ ├── modules.xml │ │ │ └── node-tunnel.iml │ │ ├── CHANGELOG.md │ │ └── package.json │ ├── @octokit │ │ ├── plugin-rest-endpoint-methods │ │ │ ├── dist-src │ │ │ │ ├── generated │ │ │ │ │ ├── method-types.js │ │ │ │ │ └── parameters-and-response-types.js │ │ │ │ ├── version.js │ │ │ │ └── index.js │ │ │ └── dist-types │ │ │ │ ├── version.d.ts │ │ │ │ ├── generated │ │ │ │ └── endpoints.d.ts │ │ │ │ ├── endpoints-to-methods.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ └── types.d.ts │ │ ├── core │ │ │ ├── dist-types │ │ │ │ └── version.d.ts │ │ │ └── dist-src │ │ │ │ └── version.js │ │ ├── endpoint │ │ │ ├── dist-types │ │ │ │ ├── version.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── util │ │ │ │ │ ├── merge-deep.d.ts │ │ │ │ │ ├── remove-undefined-properties.d.ts │ │ │ │ │ ├── extract-url-variable-names.d.ts │ │ │ │ │ ├── url-template.d.ts │ │ │ │ │ ├── lowercase-keys.d.ts │ │ │ │ │ ├── omit.d.ts │ │ │ │ │ └── add-query-parameters.d.ts │ │ │ │ ├── defaults.d.ts │ │ │ │ ├── parse.d.ts │ │ │ │ ├── with-defaults.d.ts │ │ │ │ ├── merge.d.ts │ │ │ │ └── endpoint-with-defaults.d.ts │ │ │ └── dist-src │ │ │ │ ├── version.js │ │ │ │ ├── index.js │ │ │ │ ├── util │ │ │ │ ├── omit.js │ │ │ │ ├── remove-undefined-properties.js │ │ │ │ ├── lowercase-keys.js │ │ │ │ ├── extract-url-variable-names.js │ │ │ │ ├── add-query-parameters.js │ │ │ │ └── merge-deep.js │ │ │ │ ├── endpoint-with-defaults.js │ │ │ │ ├── defaults.js │ │ │ │ └── with-defaults.js │ │ ├── graphql │ │ │ ├── dist-types │ │ │ │ ├── version.d.ts │ │ │ │ ├── with-defaults.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── graphql.d.ts │ │ │ │ └── error.d.ts │ │ │ └── dist-src │ │ │ │ ├── version.js │ │ │ │ ├── with-defaults.js │ │ │ │ ├── index.js │ │ │ │ └── error.js │ │ ├── request │ │ │ ├── dist-types │ │ │ │ ├── version.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ ├── get-buffer-response.d.ts │ │ │ │ ├── with-defaults.d.ts │ │ │ │ └── fetch-wrapper.d.ts │ │ │ └── dist-src │ │ │ │ ├── version.js │ │ │ │ ├── get-buffer-response.js │ │ │ │ ├── index.js │ │ │ │ └── with-defaults.js │ │ ├── types │ │ │ ├── dist-types │ │ │ │ ├── VERSION.d.ts │ │ │ │ ├── Fetch.d.ts │ │ │ │ ├── Url.d.ts │ │ │ │ ├── Signal.d.ts │ │ │ │ ├── RequestMethod.d.ts │ │ │ │ ├── Route.d.ts │ │ │ │ ├── EndpointOptions.d.ts │ │ │ │ ├── RequestError.d.ts │ │ │ │ ├── StrategyInterface.d.ts │ │ │ │ ├── GetResponseTypeFromEndpointMethod.d.ts │ │ │ │ ├── RequestOptions.d.ts │ │ │ │ ├── OctokitResponse.d.ts │ │ │ │ ├── RequestHeaders.d.ts │ │ │ │ ├── ResponseHeaders.d.ts │ │ │ │ ├── EndpointDefaults.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ └── RequestRequestOptions.d.ts │ │ │ └── LICENSE │ │ ├── plugin-paginate-rest │ │ │ ├── dist-types │ │ │ │ ├── version.d.ts │ │ │ │ ├── compose-paginate.d.ts │ │ │ │ ├── paginating-endpoints.d.ts │ │ │ │ ├── paginate.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ └── iterator.d.ts │ │ │ └── dist-src │ │ │ │ ├── version.js │ │ │ │ ├── compose-paginate.js │ │ │ │ ├── paginating-endpoints.js │ │ │ │ ├── index.js │ │ │ │ └── paginate.js │ │ ├── auth-token │ │ │ ├── dist-types │ │ │ │ ├── auth.d.ts │ │ │ │ ├── with-authorization-prefix.d.ts │ │ │ │ ├── index.d.ts │ │ │ │ └── hook.d.ts │ │ │ └── dist-src │ │ │ │ ├── with-authorization-prefix.js │ │ │ │ ├── hook.js │ │ │ │ ├── index.js │ │ │ │ └── auth.js │ │ ├── request-error │ │ │ └── dist-types │ │ │ │ ├── types.d.ts │ │ │ │ └── index.d.ts │ │ └── openapi-types │ │ │ ├── README.md │ │ │ ├── package.json │ │ │ └── LICENSE │ ├── uuid │ │ ├── dist │ │ │ ├── esm-node │ │ │ │ ├── nil.js │ │ │ │ ├── v3.js │ │ │ │ ├── v5.js │ │ │ │ ├── regex.js │ │ │ │ ├── validate.js │ │ │ │ ├── version.js │ │ │ │ ├── md5.js │ │ │ │ ├── sha1.js │ │ │ │ ├── rng.js │ │ │ │ ├── index.js │ │ │ │ └── v4.js │ │ │ ├── esm-browser │ │ │ │ ├── nil.js │ │ │ │ ├── v3.js │ │ │ │ ├── v5.js │ │ │ │ ├── regex.js │ │ │ │ ├── validate.js │ │ │ │ ├── version.js │ │ │ │ ├── index.js │ │ │ │ ├── v4.js │ │ │ │ └── rng.js │ │ │ ├── nil.js │ │ │ ├── umd │ │ │ │ ├── uuidNIL.min.js │ │ │ │ ├── uuidValidate.min.js │ │ │ │ ├── uuidVersion.min.js │ │ │ │ ├── uuidStringify.min.js │ │ │ │ └── uuidParse.min.js │ │ │ ├── regex.js │ │ │ ├── v3.js │ │ │ ├── v5.js │ │ │ ├── validate.js │ │ │ ├── version.js │ │ │ ├── md5.js │ │ │ ├── rng.js │ │ │ ├── sha1.js │ │ │ └── v4.js │ │ ├── wrapper.mjs │ │ └── CONTRIBUTING.md │ ├── is-plain-object │ │ ├── is-plain-object.d.ts │ │ └── dist │ │ │ ├── is-plain-object.mjs │ │ │ └── is-plain-object.js │ ├── universal-user-agent │ │ ├── dist-types │ │ │ └── index.d.ts │ │ ├── dist-src │ │ │ └── index.js │ │ ├── dist-web │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── dist-node │ │ │ ├── index.js │ │ │ └── index.js.map │ │ ├── LICENSE.md │ │ ├── package.json │ │ └── README.md │ ├── deprecation │ │ ├── dist-types │ │ │ └── index.d.ts │ │ ├── dist-src │ │ │ └── index.js │ │ ├── dist-web │ │ │ └── index.js │ │ ├── dist-node │ │ │ └── index.js │ │ ├── LICENSE │ │ └── package.json │ ├── az-func-as-a-graph.core │ │ ├── dist │ │ │ ├── graph-template.md │ │ │ ├── FunctionsMap.js │ │ │ ├── mermaid.config.json │ │ │ ├── buildFunctionDiagramCode.d.ts │ │ │ ├── functionProjectParser.d.ts │ │ │ ├── fileSystemWrapper.d.ts │ │ │ ├── cliUtils.d.ts │ │ │ ├── functionProjectScriptParser.d.ts │ │ │ ├── functionProjectCodeParser.d.ts │ │ │ ├── cSharpFunctionProjectParser.d.ts │ │ │ ├── traverseFunctionProjectUtils.d.ts │ │ │ ├── fSharpFunctionProjectParser.d.ts │ │ │ ├── javaFunctionProjectParser.d.ts │ │ │ ├── gitUtils.d.ts │ │ │ ├── powershellFunctionProjectParser.d.ts │ │ │ └── pythonV2FunctionProjectParser.d.ts │ │ ├── tsconfig.json │ │ ├── package.json │ │ └── FunctionsMap.ts │ ├── undici │ │ ├── index.d.ts │ │ ├── lib │ │ │ ├── cache │ │ │ │ └── symbols.js │ │ │ ├── llhttp │ │ │ │ ├── llhttp.wasm │ │ │ │ ├── utils.d.ts │ │ │ │ ├── llhttp_simd.wasm │ │ │ │ ├── utils.js.map │ │ │ │ ├── utils.js │ │ │ │ └── wasm_build_env.txt │ │ │ ├── fetch │ │ │ │ ├── symbols.js │ │ │ │ └── global.js │ │ │ ├── api │ │ │ │ └── index.js │ │ │ ├── cookies │ │ │ │ └── constants.js │ │ │ ├── fileapi │ │ │ │ └── symbols.js │ │ │ ├── dispatcher.js │ │ │ ├── websocket │ │ │ │ ├── symbols.js │ │ │ │ └── constants.js │ │ │ ├── mock │ │ │ │ ├── mock-errors.js │ │ │ │ ├── pluralizer.js │ │ │ │ └── mock-symbols.js │ │ │ ├── pool-stats.js │ │ │ ├── interceptor │ │ │ │ └── redirectInterceptor.js │ │ │ ├── handler │ │ │ │ └── DecoratorHandler.js │ │ │ └── global.js │ │ ├── docs │ │ │ ├── assets │ │ │ │ └── lifecycle-diagram.png │ │ │ ├── api │ │ │ │ ├── MockErrors.md │ │ │ │ └── PoolStats.md │ │ │ └── best-practices │ │ │ │ └── writing-tests.md │ │ ├── types │ │ │ ├── header.d.ts │ │ │ ├── global-origin.d.ts │ │ │ ├── interceptors.d.ts │ │ │ ├── global-dispatcher.d.ts │ │ │ ├── mock-errors.d.ts │ │ │ ├── handlers.d.ts │ │ │ ├── README.md │ │ │ ├── content-type.d.ts │ │ │ ├── balanced-pool.d.ts │ │ │ ├── pool-stats.d.ts │ │ │ ├── cookies.d.ts │ │ │ ├── proxy-agent.d.ts │ │ │ ├── mock-pool.d.ts │ │ │ ├── mock-client.d.ts │ │ │ └── pool.d.ts │ │ └── index-fetch.js │ ├── @actions │ │ ├── http-client │ │ │ └── lib │ │ │ │ ├── interfaces.js.map │ │ │ │ ├── interfaces.js │ │ │ │ └── proxy.d.ts │ │ ├── github │ │ │ ├── lib │ │ │ │ ├── interfaces.js.map │ │ │ │ ├── interfaces.js │ │ │ │ ├── github.js.map │ │ │ │ ├── github.d.ts │ │ │ │ ├── internal │ │ │ │ │ └── utils.d.ts │ │ │ │ ├── context.d.ts │ │ │ │ ├── utils.d.ts │ │ │ │ ├── utils.js.map │ │ │ │ └── interfaces.d.ts │ │ │ └── LICENSE.md │ │ └── core │ │ │ ├── lib │ │ │ ├── file-command.d.ts │ │ │ ├── oidc-utils.d.ts │ │ │ ├── command.d.ts │ │ │ ├── path-utils.js.map │ │ │ ├── utils.d.ts │ │ │ ├── utils.js.map │ │ │ └── path-utils.d.ts │ │ │ └── LICENSE.md │ ├── .bin │ │ ├── uuid │ │ ├── uuid.cmd │ │ └── uuid.ps1 │ ├── @fastify │ │ └── busboy │ │ │ ├── deps │ │ │ └── dicer │ │ │ │ └── lib │ │ │ │ └── PartStream.js │ │ │ └── lib │ │ │ └── utils │ │ │ ├── getLimit.js │ │ │ ├── basename.js │ │ │ └── decodeText.js │ ├── before-after-hook │ │ └── lib │ │ │ ├── remove.js │ │ │ └── register.js │ ├── once │ │ ├── package.json │ │ ├── LICENSE │ │ └── once.js │ └── wrappy │ │ ├── package.json │ │ ├── LICENSE │ │ ├── README.md │ │ └── wrappy.js ├── tsconfig.json └── package.json ├── cli ├── .taskkey ├── tsconfig.json └── package.json ├── .deployment ├── ui ├── src │ ├── react-app-env.d.ts │ ├── index.tsx │ └── index.css ├── build │ ├── robots.txt │ ├── manifest.json │ ├── asset-manifest.json │ ├── index.html │ └── static │ │ └── css │ │ └── main.5e12335f.css ├── public │ ├── robots.txt │ └── manifest.json ├── tsconfig.json └── disable-webpack-chunking.js ├── logo.png ├── vscode-web-ext-ui ├── src │ ├── react-app-env.d.ts │ ├── theme.ts │ ├── index.tsx │ └── index.css ├── webpack.config.js ├── copy-build-artifacts.js ├── build │ ├── asset-manifest.json │ └── static │ │ └── css │ │ ├── main.760a21c1.css │ │ └── main.760a21c1.css.map ├── tsconfig.json └── disable-webpack-chunking.js ├── core ├── dist │ ├── graph-template.md │ ├── FunctionsMap.js │ ├── mermaid.config.json │ ├── buildFunctionDiagramCode.d.ts │ ├── functionProjectParser.d.ts │ ├── fileSystemWrapper.d.ts │ ├── cliUtils.d.ts │ ├── functionProjectScriptParser.d.ts │ ├── functionProjectCodeParser.d.ts │ ├── cSharpFunctionProjectParser.d.ts │ ├── traverseFunctionProjectUtils.d.ts │ ├── javaFunctionProjectParser.d.ts │ ├── fSharpFunctionProjectParser.d.ts │ ├── gitUtils.d.ts │ ├── powershellFunctionProjectParser.d.ts │ ├── pythonV2FunctionProjectParser.d.ts │ └── FunctionsMap.d.ts ├── tsconfig.json ├── package.json ├── FunctionsMap.ts └── fileSystemWrapper.ts ├── screenshot1.png ├── screenshot2.png ├── .funcignore ├── proxies.json ├── vscode-web-ext ├── logo.png ├── .vscode │ ├── extensions.json │ ├── settings.json │ └── tasks.json ├── .vscodeignore ├── copy-core-sources.js ├── dist │ └── web │ │ └── test │ │ └── suite │ │ └── index.js.LICENSE.txt ├── HtmlStatics │ └── static │ │ └── css │ │ ├── main.760a21c1.css │ │ └── main.760a21c1.css.map ├── src │ └── web │ │ ├── test │ │ └── suite │ │ │ ├── extension.test.ts │ │ │ └── index.ts │ │ └── core │ │ └── FunctionsMap.ts ├── .eslintrc.json ├── tsconfig.json ├── CHANGELOG.md └── LICENSE ├── jest.config.js ├── dist ├── core │ ├── FunctionsMap.js │ ├── FunctionsMap.js.map │ ├── functionProjectCodeParser.js.map │ └── fileSystemWrapper.js.map └── cli │ └── index.js.map ├── .vscode ├── extensions.json ├── settings.json └── tasks.json ├── local.settings.json ├── host.json ├── tsconfig.json ├── overview.md ├── traverse-func └── function.json ├── serve-statics └── function.json ├── az-func-as-a-graph.js ├── __test └── renderDiagramWithCli.test.ts ├── .devcontainer └── devcontainer.json ├── package.json ├── deploy-with-xcopy-and-zip-deploy.cmd └── LICENSE /github-action/.gitignore: -------------------------------------------------------------------------------- 1 | !node_modules -------------------------------------------------------------------------------- /cli/.taskkey: -------------------------------------------------------------------------------- 1 | aacc3cd0-4320-470a-b86c-12c27b169d61 -------------------------------------------------------------------------------- /github-action/dist/index.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /.deployment: -------------------------------------------------------------------------------- 1 | [config] 2 | command = deploy-with-xcopy-and-zip-deploy.cmd -------------------------------------------------------------------------------- /ui/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/HEAD/logo.png -------------------------------------------------------------------------------- /github-action/node_modules/tunnel/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/tunnel'); 2 | -------------------------------------------------------------------------------- /vscode-web-ext-ui/src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /core/dist/graph-template.md: -------------------------------------------------------------------------------- 1 | # {{PROJECT_NAME}} 2 | 3 | ```mermaid 4 | {{GRAPH_CODE}} 5 | ``` 6 | -------------------------------------------------------------------------------- /screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/HEAD/screenshot1.png -------------------------------------------------------------------------------- /screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/HEAD/screenshot2.png -------------------------------------------------------------------------------- /ui/build/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /.funcignore: -------------------------------------------------------------------------------- 1 | *.js.map 2 | *.ts 3 | .git* 4 | .vscode 5 | local.settings.json 6 | test 7 | tsconfig.json -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/method-types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxies.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/proxies", 3 | "proxies": {} 4 | } 5 | -------------------------------------------------------------------------------- /ui/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/core/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "5.0.1"; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /core/dist/FunctionsMap.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "9.0.1"; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "7.0.2"; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "8.1.4"; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/VERSION.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "12.0.0"; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/nil.js: -------------------------------------------------------------------------------- 1 | export default '00000000-0000-0000-0000-000000000000'; -------------------------------------------------------------------------------- /vscode-web-ext/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/HEAD/vscode-web-ext/logo.png -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/generated/parameters-and-response-types.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /github-action/node_modules/is-plain-object/is-plain-object.d.ts: -------------------------------------------------------------------------------- 1 | export function isPlainObject(o: any): boolean; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/core/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "5.0.1"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getUserAgent(): string; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "9.0.1"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "7.0.2"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "9.0.0"; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "8.1.4"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/version.d.ts: -------------------------------------------------------------------------------- 1 | export declare const VERSION = "10.0.1"; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/tunnel/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "4" 4 | - "6" 5 | - "8" 6 | - "10" 7 | -------------------------------------------------------------------------------- /github-action/node_modules/deprecation/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | name: "Deprecation"; 3 | } 4 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "9.0.0"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/graph-template.md: -------------------------------------------------------------------------------- 1 | # {{PROJECT_NAME}} 2 | 3 | ```mermaid 4 | {{GRAPH_CODE}} 5 | ``` 6 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './types/index' 2 | import Undici from './types/index' 3 | export default Undici 4 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'ts-jest', 3 | testEnvironment: 'node', 4 | testMatch: ['**/__test/**/*.ts'] 5 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/version.js: -------------------------------------------------------------------------------- 1 | const VERSION = "10.0.1"; 2 | export { 3 | VERSION 4 | }; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/cache/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kConstruct: Symbol('constructable') 5 | } 6 | -------------------------------------------------------------------------------- /dist/core/FunctionsMap.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=FunctionsMap.js.map -------------------------------------------------------------------------------- /dist/core/FunctionsMap.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"FunctionsMap.js","sourceRoot":"","sources":["../../core/FunctionsMap.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const endpoint: import("@octokit/types").EndpointInterface; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/util/merge-deep.d.ts: -------------------------------------------------------------------------------- 1 | export declare function mergeDeep(defaults: any, options: any): object; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export declare const request: import("@octokit/types").RequestInterface; 2 | -------------------------------------------------------------------------------- /core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES5", 4 | "outDir": "dist", 5 | "declaration": true 6 | } 7 | } -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/FunctionsMap.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/util/remove-undefined-properties.d.ts: -------------------------------------------------------------------------------- 1 | export declare function removeUndefinedProperties(obj: any): any; 2 | -------------------------------------------------------------------------------- /core/dist/mermaid.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "flowchart": { 3 | "curve": "Basis", 4 | "useMaxWidth": true, 5 | "htmlLabels": false 6 | } 7 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/util/extract-url-variable-names.d.ts: -------------------------------------------------------------------------------- 1 | export declare function extractUrlVariableNames(url: string): string[]; 2 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-types/get-buffer-response.d.ts: -------------------------------------------------------------------------------- 1 | export default function getBufferResponse(response: Response): Promise; 2 | -------------------------------------------------------------------------------- /github-action/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES5", 4 | "outDir": "dist", 5 | "declaration": true 6 | } 7 | } -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "ms-azuretools.vscode-azurefunctions", 4 | "DurableFunctionsMonitor.az-func-as-a-graph" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/Fetch.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Browser's fetch method (or compatible such as fetch-mock) 3 | */ 4 | export type Fetch = any; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/v3.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import md5 from './md5.js'; 3 | var v3 = v35('v3', 0x30, md5); 4 | export default v3; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/v3.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import md5 from './md5.js'; 3 | const v3 = v35('v3', 0x30, md5); 4 | export default v3; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/v5.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import sha1 from './sha1.js'; 3 | const v5 = v35('v5', 0x50, sha1); 4 | export default v5; -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/llhttp/llhttp.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/HEAD/github-action/node_modules/undici/lib/llhttp/llhttp.wasm -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/v5.js: -------------------------------------------------------------------------------- 1 | import v35 from './v35.js'; 2 | import sha1 from './sha1.js'; 3 | var v5 = v35('v5', 0x50, sha1); 4 | export default v5; -------------------------------------------------------------------------------- /github-action/node_modules/@actions/http-client/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":""} -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointDefaults } from "@octokit/types"; 2 | export declare const DEFAULTS: EndpointDefaults; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/llhttp/utils.d.ts: -------------------------------------------------------------------------------- 1 | export interface IEnumMap { 2 | [key: string]: number; 3 | } 4 | export declare function enumToMap(obj: any): IEnumMap; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/interfaces.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":";AAAA,uDAAuD"} -------------------------------------------------------------------------------- /github-action/node_modules/@actions/http-client/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/util/url-template.d.ts: -------------------------------------------------------------------------------- 1 | export declare function parseUrl(template: string): { 2 | expand: (context: object) => string; 3 | }; 4 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/llhttp/llhttp_simd.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/HEAD/github-action/node_modules/undici/lib/llhttp/llhttp_simd.wasm -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/regex.js: -------------------------------------------------------------------------------- 1 | export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/regex.js: -------------------------------------------------------------------------------- 1 | export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; -------------------------------------------------------------------------------- /github-action/node_modules/@actions/http-client/lib/proxy.d.ts: -------------------------------------------------------------------------------- 1 | export declare function getProxyUrl(reqUrl: URL): URL | undefined; 2 | export declare function checkBypass(reqUrl: URL): boolean; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/auth-token/dist-types/auth.d.ts: -------------------------------------------------------------------------------- 1 | import type { Token, Authentication } from "./types"; 2 | export declare function auth(token: Token): Promise; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/Url.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Relative or absolute URL. Examples: `'/orgs/{org}'`, `https://example.com/foo/bar` 3 | */ 4 | export type Url = string; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES5", 4 | "outDir": "dist", 5 | "declaration": true 6 | } 7 | } -------------------------------------------------------------------------------- /github-action/node_modules/undici/docs/assets/lifecycle-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/HEAD/github-action/node_modules/undici/docs/assets/lifecycle-diagram.png -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/header.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * The header type declaration of `undici`. 3 | */ 4 | export type IncomingHttpHeaders = Record; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/util/lowercase-keys.d.ts: -------------------------------------------------------------------------------- 1 | export declare function lowercaseKeys(object?: { 2 | [key: string]: any; 3 | }): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/util/omit.d.ts: -------------------------------------------------------------------------------- 1 | export declare function omit(object: { 2 | [key: string]: any; 3 | }, keysToOmit: string[]): { 4 | [key: string]: any; 5 | }; 6 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/Signal.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Abort signal 3 | * 4 | * @see https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal 5 | */ 6 | export type Signal = any; 7 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/mermaid.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "flowchart": { 3 | "curve": "Basis", 4 | "useMaxWidth": true, 5 | "htmlLabels": false 6 | } 7 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-src/get-buffer-response.js: -------------------------------------------------------------------------------- 1 | function getBufferResponse(response) { 2 | return response.arrayBuffer(); 3 | } 4 | export { 5 | getBufferResponse as default 6 | }; 7 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/parse.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointDefaults, RequestOptions } from "@octokit/types"; 2 | export declare function parse(options: EndpointDefaults): RequestOptions; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-types/compose-paginate.d.ts: -------------------------------------------------------------------------------- 1 | import type { ComposePaginateInterface } from "./types"; 2 | export declare const composePaginateRest: ComposePaginateInterface; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/RequestMethod.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTP Verb supported by GitHub's REST API 3 | */ 4 | export type RequestMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT"; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/validate.js: -------------------------------------------------------------------------------- 1 | import REGEX from './regex.js'; 2 | 3 | function validate(uuid) { 4 | return typeof uuid === 'string' && REGEX.test(uuid); 5 | } 6 | 7 | export default validate; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/validate.js: -------------------------------------------------------------------------------- 1 | import REGEX from './regex.js'; 2 | 3 | function validate(uuid) { 4 | return typeof uuid === 'string' && REGEX.test(uuid); 5 | } 6 | 7 | export default validate; -------------------------------------------------------------------------------- /vscode-web-ext-ui/webpack.config.js: -------------------------------------------------------------------------------- 1 | const webpack = require('webpack'); 2 | module.exports = { 3 | // ... 4 | plugins: [ 5 | new webpack.optimize.LimitChunkCountPlugin({ 6 | maxChunks: 1, 7 | }), 8 | ], 9 | }; -------------------------------------------------------------------------------- /github-action/node_modules/@actions/core/lib/file-command.d.ts: -------------------------------------------------------------------------------- 1 | export declare function issueFileCommand(command: string, message: any): void; 2 | export declare function prepareKeyValueMessage(key: string, value: any): string; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/tunnel/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/util/add-query-parameters.d.ts: -------------------------------------------------------------------------------- 1 | export declare function addQueryParameters(url: string, parameters: { 2 | [x: string]: string | undefined; 3 | q?: string; 4 | }): string; 5 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/interfaces.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | /* eslint-disable @typescript-eslint/no-explicit-any */ 3 | Object.defineProperty(exports, "__esModule", { value: true }); 4 | //# sourceMappingURL=interfaces.js.map -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { withDefaults } from "./with-defaults"; 2 | import { DEFAULTS } from "./defaults"; 3 | const endpoint = withDefaults(null, DEFAULTS); 4 | export { 5 | endpoint 6 | }; 7 | -------------------------------------------------------------------------------- /github-action/node_modules/tunnel/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/global-origin.d.ts: -------------------------------------------------------------------------------- 1 | export { 2 | setGlobalOrigin, 3 | getGlobalOrigin 4 | } 5 | 6 | declare function setGlobalOrigin(origin: string | URL | undefined): void; 7 | declare function getGlobalOrigin(): URL | undefined; -------------------------------------------------------------------------------- /vscode-web-ext/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // See http://go.microsoft.com/fwlink/?LinkId=827846 3 | // for the documentation about the extensions.json format 4 | "recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher"] 5 | } 6 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/generated/endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointsDefaultsAndDecorations } from "../types"; 2 | declare const Endpoints: EndpointsDefaultsAndDecorations; 3 | export default Endpoints; 4 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/nil.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | var _default = '00000000-0000-0000-0000-000000000000'; 8 | exports.default = _default; -------------------------------------------------------------------------------- /vscode-web-ext/.vscodeignore: -------------------------------------------------------------------------------- 1 | .vscode/** 2 | .vscode-test-web/** 3 | src/** 4 | out/** 5 | node_modules/** 6 | .gitignore 7 | vsc-extension-quickstart.md 8 | webpack.config.js 9 | .yarnrc 10 | **/tsconfig.json 11 | **/.eslintrc.json 12 | **/*.map 13 | **/*.ts 14 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/Route.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * String consisting of an optional HTTP method and relative path or absolute URL. Examples: `'/orgs/{org}'`, `'PUT /orgs/{org}'`, `GET https://example.com/foo/bar` 3 | */ 4 | export type Route = string; 5 | -------------------------------------------------------------------------------- /cli/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "module": "commonjs", 5 | "outDir": "dist", 6 | "strict": false, 7 | "esModuleInterop": true, 8 | "skipLibCheck": true, 9 | "forceConsistentCasingInFileNames": true 10 | } 11 | } -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/interceptors.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | type RedirectInterceptorOpts = { maxRedirections?: number } 4 | 5 | export declare function createRedirectInterceptor (opts: RedirectInterceptorOpts): Dispatcher.DispatchInterceptor 6 | -------------------------------------------------------------------------------- /local.settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "IsEncrypted": false, 3 | "Values": { 4 | "AzureWebJobsStorage": "", 5 | "FUNCTIONS_WORKER_RUNTIME": "node" 6 | }, 7 | "Host": { 8 | "CORS": "http://localhost:3000", 9 | "CORSCredentials": true 10 | } 11 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/auth-token/dist-types/with-authorization-prefix.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Prefix token for usage in the Authorization header 3 | * 4 | * @param token OAuth token or JSON Web Token 5 | */ 6 | export declare function withAuthorizationPrefix(token: string): string; 7 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-src/compose-paginate.js: -------------------------------------------------------------------------------- 1 | import { paginate } from "./paginate"; 2 | import { iterator } from "./iterator"; 3 | const composePaginateRest = Object.assign(paginate, { 4 | iterator 5 | }); 6 | export { 7 | composePaginateRest 8 | }; 9 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointInterface, RequestInterface, RequestParameters } from "@octokit/types"; 2 | export default function withDefaults(oldEndpoint: EndpointInterface, newDefaults: RequestParameters): RequestInterface; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointInterface, RequestParameters, EndpointDefaults } from "@octokit/types"; 2 | export declare function withDefaults(oldDefaults: EndpointDefaults | null, newDefaults: RequestParameters): EndpointInterface; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/fetch/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kUrl: Symbol('url'), 5 | kHeaders: Symbol('headers'), 6 | kSignal: Symbol('signal'), 7 | kState: Symbol('state'), 8 | kGuard: Symbol('guard'), 9 | kRealm: Symbol('realm') 10 | } 11 | -------------------------------------------------------------------------------- /host.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0", 3 | "extensions": { 4 | "http": { 5 | "routePrefix": "" 6 | } 7 | }, 8 | "extensionBundle": { 9 | "id": "Microsoft.Azure.Functions.ExtensionBundle", 10 | "version": "[2.*, 3.0.0)" 11 | } 12 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/merge.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointDefaults, RequestParameters, Route } from "@octokit/types"; 2 | export declare function merge(defaults: EndpointDefaults | null, route?: Route | RequestParameters, options?: RequestParameters): EndpointDefaults; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/version.js: -------------------------------------------------------------------------------- 1 | import validate from './validate.js'; 2 | 3 | function version(uuid) { 4 | if (!validate(uuid)) { 5 | throw TypeError('Invalid UUID'); 6 | } 7 | 8 | return parseInt(uuid.substr(14, 1), 16); 9 | } 10 | 11 | export default version; -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/auth-token/dist-src/with-authorization-prefix.js: -------------------------------------------------------------------------------- 1 | function withAuthorizationPrefix(token) { 2 | if (token.split(/\./).length === 3) { 3 | return `bearer ${token}`; 4 | } 5 | return `token ${token}`; 6 | } 7 | export { 8 | withAuthorizationPrefix 9 | }; 10 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/endpoints-to-methods.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { RestEndpointMethods } from "./generated/method-types"; 3 | export declare function endpointsToMethods(octokit: Octokit): RestEndpointMethods; 4 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/version.js: -------------------------------------------------------------------------------- 1 | import validate from './validate.js'; 2 | 3 | function version(uuid) { 4 | if (!validate(uuid)) { 5 | throw TypeError('Invalid UUID'); 6 | } 7 | 8 | return parseInt(uuid.substr(14, 1), 16); 9 | } 10 | 11 | export default version; -------------------------------------------------------------------------------- /vscode-web-ext/copy-core-sources.js: -------------------------------------------------------------------------------- 1 | const ncp = require('ncp').ncp; 2 | 3 | const files = ['fileSystemWrapperBase.ts', 'functionProjectParser.ts', 'FunctionsMap.ts', 'traverseFunctionProjectUtils.ts']; 4 | 5 | for (const file of files) { 6 | 7 | ncp(`../core/${file}`, `./src/web/core/${file}`); 8 | } -------------------------------------------------------------------------------- /github-action/node_modules/@actions/core/lib/oidc-utils.d.ts: -------------------------------------------------------------------------------- 1 | export declare class OidcClient { 2 | private static createHttpClient; 3 | private static getRequestToken; 4 | private static getIDTokenUrl; 5 | private static getCall; 6 | static getIDToken(audience?: string): Promise; 7 | } 8 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/util/omit.js: -------------------------------------------------------------------------------- 1 | function omit(object, keysToOmit) { 2 | return Object.keys(object).filter((option) => !keysToOmit.includes(option)).reduce((obj, key) => { 3 | obj[key] = object[key]; 4 | return obj; 5 | }, {}); 6 | } 7 | export { 8 | omit 9 | }; 10 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-types/with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import type { graphql as ApiInterface, RequestParameters } from "./types"; 3 | export declare function withDefaults(request: typeof Request, newDefaults: RequestParameters): ApiInterface; 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "azureFunctions.deploySubpath": ".", 3 | "azureFunctions.postDeployTask": "npm install", 4 | "azureFunctions.projectLanguage": "TypeScript", 5 | "azureFunctions.projectRuntime": "~3", 6 | "debug.internalConsoleOptions": "neverOpen", 7 | "azureFunctions.preDeployTask": "npm prune" 8 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/util/remove-undefined-properties.js: -------------------------------------------------------------------------------- 1 | function removeUndefinedProperties(obj) { 2 | for (const key in obj) { 3 | if (obj[key] === void 0) { 4 | delete obj[key]; 5 | } 6 | } 7 | return obj; 8 | } 9 | export { 10 | removeUndefinedProperties 11 | }; 12 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/umd/uuidNIL.min.js: -------------------------------------------------------------------------------- 1 | !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidNIL=n()}(this,(function(){"use strict";return"00000000-0000-0000-0000-000000000000"})); -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/auth-token/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { StrategyInterface, Token, Authentication } from "./types"; 2 | export type Types = { 3 | StrategyOptions: Token; 4 | AuthOptions: never; 5 | Authentication: Authentication; 6 | }; 7 | export declare const createTokenAuth: StrategyInterface; 8 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/api/index.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports.request = require('./api-request') 4 | module.exports.stream = require('./api-stream') 5 | module.exports.pipeline = require('./api-pipeline') 6 | module.exports.upgrade = require('./api-upgrade') 7 | module.exports.connect = require('./api-connect') 8 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/regex.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; 8 | exports.default = _default; -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/auth-token/dist-types/hook.d.ts: -------------------------------------------------------------------------------- 1 | import type { AnyResponse, EndpointOptions, RequestInterface, RequestParameters, Route, Token } from "./types"; 2 | export declare function hook(token: Token, request: RequestInterface, route: Route | EndpointOptions, parameters?: RequestParameters): Promise; 3 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-types/paginating-endpoints.d.ts: -------------------------------------------------------------------------------- 1 | import { type PaginatingEndpoints } from "./generated/paginating-endpoints"; 2 | export { paginatingEndpoints } from "./generated/paginating-endpoints"; 3 | export declare function isPaginatingEndpoint(arg: unknown): arg is keyof PaginatingEndpoints; 4 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/EndpointOptions.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestMethod } from "./RequestMethod"; 2 | import type { Url } from "./Url"; 3 | import type { RequestParameters } from "./RequestParameters"; 4 | export type EndpointOptions = RequestParameters & { 5 | method: RequestMethod; 6 | url: Url; 7 | }; 8 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/RequestError.d.ts: -------------------------------------------------------------------------------- 1 | export type RequestError = { 2 | name: string; 3 | status: number; 4 | documentation_url: string; 5 | errors?: Array<{ 6 | resource: string; 7 | code: string; 8 | field: string; 9 | message?: string; 10 | }>; 11 | }; 12 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/StrategyInterface.d.ts: -------------------------------------------------------------------------------- 1 | import type { AuthInterface } from "./AuthInterface"; 2 | export interface StrategyInterface { 3 | (...args: StrategyOptions): AuthInterface; 4 | } 5 | -------------------------------------------------------------------------------- /github-action/node_modules/tunnel/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/util/lowercase-keys.js: -------------------------------------------------------------------------------- 1 | function lowercaseKeys(object) { 2 | if (!object) { 3 | return {}; 4 | } 5 | return Object.keys(object).reduce((newObj, key) => { 6 | newObj[key.toLowerCase()] = object[key]; 7 | return newObj; 8 | }, {}); 9 | } 10 | export { 11 | lowercaseKeys 12 | }; 13 | -------------------------------------------------------------------------------- /core/dist/buildFunctionDiagramCode.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap, ProxiesMap } from './FunctionsMap'; 2 | export declare type GraphSettings = { 3 | doNotRenderFunctions?: boolean; 4 | doNotRenderProxies?: boolean; 5 | }; 6 | export declare function buildFunctionDiagramCode(functionsMap: FunctionsMap, proxiesMap: ProxiesMap, settings?: GraphSettings): string; 7 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/endpoint-with-defaults.js: -------------------------------------------------------------------------------- 1 | import { DEFAULTS } from "./defaults"; 2 | import { merge } from "./merge"; 3 | import { parse } from "./parse"; 4 | function endpointWithDefaults(defaults, route, options) { 5 | return parse(merge(defaults, route, options)); 6 | } 7 | export { 8 | endpointWithDefaults 9 | }; 10 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es6", 5 | "outDir": "dist", 6 | "rootDir": ".", 7 | "sourceMap": true, 8 | "strict": false, 9 | "skipLibCheck": true 10 | }, 11 | "exclude": ["ui", "__test", "vscode-web-ext", "vscode-web-ext-ui"], 12 | "include": [".", "ui/src/shared"] 13 | } 14 | -------------------------------------------------------------------------------- /core/dist/functionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { TraverseFunctionResult } from "./FunctionsMap"; 2 | import { FileSystemWrapperBase } from './fileSystemWrapperBase'; 3 | export declare abstract class FunctionProjectParser { 4 | static parseFunctions(projectFolder: string, fileSystemWrapper: FileSystemWrapperBase, log: (s: any) => void): Promise; 5 | } 6 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-types/fetch-wrapper.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointInterface } from "@octokit/types"; 2 | export default function fetchWrapper(requestOptions: ReturnType): Promise<{ 3 | status: number; 4 | url: string; 5 | headers: { 6 | [header: string]: string; 7 | }; 8 | data: any; 9 | }>; 10 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/global-dispatcher.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export { 4 | getGlobalDispatcher, 5 | setGlobalDispatcher 6 | } 7 | 8 | declare function setGlobalDispatcher(dispatcher: DispatcherImplementation): void; 9 | declare function getGlobalDispatcher(): Dispatcher; 10 | -------------------------------------------------------------------------------- /vscode-web-ext-ui/copy-build-artifacts.js: -------------------------------------------------------------------------------- 1 | const ncp = require('ncp').ncp; 2 | const rimraf = require("rimraf"); 3 | 4 | const buildFolder = './build'; 5 | const outputFolder = '../vscode-web-ext/HtmlStatics'; 6 | 7 | rimraf.sync(`${outputFolder}/static/`); 8 | ncp(`${buildFolder}/static/`, `${outputFolder}/static/`); 9 | ncp(`${buildFolder}/index.html`, `${outputFolder}/index.html`); -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-types/endpoint-with-defaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { EndpointOptions, RequestParameters, Route } from "@octokit/types"; 2 | import { DEFAULTS } from "./defaults"; 3 | export declare function endpointWithDefaults(defaults: typeof DEFAULTS, route: Route | EndpointOptions, options?: RequestParameters): import("@octokit/types").RequestOptions; 4 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | export declare const graphql: import("./types").graphql; 3 | export type { GraphQlQueryResponseData } from "./types"; 4 | export { GraphqlResponseError } from "./error"; 5 | export declare function withCustomRequest(customRequest: typeof request): import("./types").graphql; 6 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-types/graphql.d.ts: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import type { RequestParameters, GraphQlQueryResponseData } from "./types"; 3 | export declare function graphql(request: typeof Request, query: string | RequestParameters, options?: RequestParameters): Promise; 4 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/md5.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | 3 | function md5(bytes) { 4 | if (Array.isArray(bytes)) { 5 | bytes = Buffer.from(bytes); 6 | } else if (typeof bytes === 'string') { 7 | bytes = Buffer.from(bytes, 'utf8'); 8 | } 9 | 10 | return crypto.createHash('md5').update(bytes).digest(); 11 | } 12 | 13 | export default md5; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/sha1.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | 3 | function sha1(bytes) { 4 | if (Array.isArray(bytes)) { 5 | bytes = Buffer.from(bytes); 6 | } else if (typeof bytes === 'string') { 7 | bytes = Buffer.from(bytes, 'utf8'); 8 | } 9 | 10 | return crypto.createHash('sha1').update(bytes).digest(); 11 | } 12 | 13 | export default sha1; -------------------------------------------------------------------------------- /github-action/node_modules/.bin/uuid: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") 3 | 4 | case `uname` in 5 | *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; 6 | esac 7 | 8 | if [ -x "$basedir/node" ]; then 9 | exec "$basedir/node" "$basedir/../uuid/dist/bin/uuid" "$@" 10 | else 11 | exec node "$basedir/../uuid/dist/bin/uuid" "$@" 12 | fi 13 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-types/paginate.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { MapFunction, PaginationResults, RequestParameters, Route, RequestInterface } from "./types"; 3 | export declare function paginate(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters, mapFn?: MapFunction): Promise; 4 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/buildFunctionDiagramCode.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap, ProxiesMap } from './FunctionsMap'; 2 | export declare type GraphSettings = { 3 | doNotRenderFunctions?: boolean; 4 | doNotRenderProxies?: boolean; 5 | }; 6 | export declare function buildFunctionDiagramCode(functionsMap: FunctionsMap, proxiesMap: ProxiesMap, settings?: GraphSettings): string; 7 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/wrapper.mjs: -------------------------------------------------------------------------------- 1 | import uuid from './dist/index.js'; 2 | export const v1 = uuid.v1; 3 | export const v3 = uuid.v3; 4 | export const v4 = uuid.v4; 5 | export const v5 = uuid.v5; 6 | export const NIL = uuid.NIL; 7 | export const version = uuid.version; 8 | export const validate = uuid.validate; 9 | export const stringify = uuid.stringify; 10 | export const parse = uuid.parse; 11 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/GetResponseTypeFromEndpointMethod.d.ts: -------------------------------------------------------------------------------- 1 | type Unwrap = T extends Promise ? U : T; 2 | type AnyFunction = (...args: any[]) => any; 3 | export type GetResponseTypeFromEndpointMethod = Unwrap>; 4 | export type GetResponseDataTypeFromEndpointMethod = Unwrap>["data"]; 5 | export {}; 6 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request-error/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestOptions, ResponseHeaders, OctokitResponse } from "@octokit/types"; 2 | export type RequestErrorOptions = { 3 | /** @deprecated set `response` instead */ 4 | headers?: ResponseHeaders; 5 | request: RequestOptions; 6 | } | { 7 | response: OctokitResponse; 8 | request: RequestOptions; 9 | }; 10 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/functionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { TraverseFunctionResult } from "./FunctionsMap"; 2 | import { FileSystemWrapperBase } from './fileSystemWrapperBase'; 3 | export declare abstract class FunctionProjectParser { 4 | static parseFunctions(projectFolder: string, fileSystemWrapper: FileSystemWrapperBase, log: (s: any) => void): Promise; 5 | } 6 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/cookies/constants.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size 4 | const maxAttributeValueSize = 1024 5 | 6 | // https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size 7 | const maxNameValuePairSize = 4096 8 | 9 | module.exports = { 10 | maxAttributeValueSize, 11 | maxNameValuePairSize 12 | } 13 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/fileapi/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kState: Symbol('FileReader state'), 5 | kResult: Symbol('FileReader result'), 6 | kError: Symbol('FileReader error'), 7 | kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'), 8 | kEvents: Symbol('FileReader events'), 9 | kAborted: Symbol('FileReader aborted') 10 | } 11 | -------------------------------------------------------------------------------- /ui/build/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "Azure Functions as a Graph", 3 | "name": "Azure Functions as a Graph", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | } 10 | ], 11 | "start_url": ".", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /ui/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "Azure Functions as a Graph", 3 | "name": "Azure Functions as a Graph", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | } 10 | ], 11 | "start_url": ".", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /github-action/node_modules/.bin/uuid.cmd: -------------------------------------------------------------------------------- 1 | @ECHO off 2 | GOTO start 3 | :find_dp0 4 | SET dp0=%~dp0 5 | EXIT /b 6 | :start 7 | SETLOCAL 8 | CALL :find_dp0 9 | 10 | IF EXIST "%dp0%\node.exe" ( 11 | SET "_prog=%dp0%\node.exe" 12 | ) ELSE ( 13 | SET "_prog=node" 14 | SET PATHEXT=%PATHEXT:;.JS;=;% 15 | ) 16 | 17 | endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\uuid\dist\bin\uuid" %* 18 | -------------------------------------------------------------------------------- /github-action/node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const inherits = require('node:util').inherits 4 | const ReadableStream = require('node:stream').Readable 5 | 6 | function PartStream (opts) { 7 | ReadableStream.call(this, opts) 8 | } 9 | inherits(PartStream, ReadableStream) 10 | 11 | PartStream.prototype._read = function (n) {} 12 | 13 | module.exports = PartStream 14 | -------------------------------------------------------------------------------- /github-action/node_modules/deprecation/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/rng.js: -------------------------------------------------------------------------------- 1 | import crypto from 'crypto'; 2 | const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate 3 | 4 | let poolPtr = rnds8Pool.length; 5 | export default function rng() { 6 | if (poolPtr > rnds8Pool.length - 16) { 7 | crypto.randomFillSync(rnds8Pool); 8 | poolPtr = 0; 9 | } 10 | 11 | return rnds8Pool.slice(poolPtr, poolPtr += 16); 12 | } -------------------------------------------------------------------------------- /github-action/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "az-func-as-a-graph", 3 | "version": "1.3.0", 4 | "description": "Generates interactive code diagrams for your Azure Functions", 5 | "scripts": { 6 | "test": "echo \"Error: no test specified\" && exit 1" 7 | }, 8 | "dependencies": { 9 | "@actions/core": "^1.10.1", 10 | "@actions/github": "^6.0.0", 11 | "az-func-as-a-graph.core": "^1.3.1" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /vscode-web-ext/dist/web/test/suite/index.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! 2 | * mocha 3 | * Copyright(c) 2011 TJ Holowaychuk 4 | * MIT Licensed 5 | */ 6 | 7 | /*! 8 | * The buffer module from node.js, for the browser. 9 | * 10 | * @author Feross Aboukhadijeh 11 | * @license MIT 12 | */ 13 | 14 | /*! https://mths.be/he v1.2.0 by @mathias | MIT license */ 15 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/auth-token/dist-src/hook.js: -------------------------------------------------------------------------------- 1 | import { withAuthorizationPrefix } from "./with-authorization-prefix"; 2 | async function hook(token, request, route, parameters) { 3 | const endpoint = request.endpoint.merge( 4 | route, 5 | parameters 6 | ); 7 | endpoint.headers.authorization = withAuthorizationPrefix(token); 8 | return request(endpoint); 9 | } 10 | export { 11 | hook 12 | }; 13 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/dispatcher.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const EventEmitter = require('events') 4 | 5 | class Dispatcher extends EventEmitter { 6 | dispatch () { 7 | throw new Error('not implemented') 8 | } 9 | 10 | close () { 11 | throw new Error('not implemented') 12 | } 13 | 14 | destroy () { 15 | throw new Error('not implemented') 16 | } 17 | } 18 | 19 | module.exports = Dispatcher 20 | -------------------------------------------------------------------------------- /overview.md: -------------------------------------------------------------------------------- 1 | ![logo](https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/master/screenshot1.png) 2 | # az-func-as-a-graph 3 | 4 | Azure DevOps build task, that generates interactive code diagrams for your Azure Functions. 5 | 6 | ![screenshot2](https://raw.githubusercontent.com/scale-tone/az-func-as-a-graph/master/screenshot2.png) 7 | 8 | See more details in the GitHub repo: https://github.com/scale-tone/az-func-as-a-graph#readme. -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/websocket/symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kWebSocketURL: Symbol('url'), 5 | kReadyState: Symbol('ready state'), 6 | kController: Symbol('controller'), 7 | kResponse: Symbol('response'), 8 | kBinaryType: Symbol('binary type'), 9 | kSentClose: Symbol('sent close'), 10 | kReceivedClose: Symbol('received close'), 11 | kByteParser: Symbol('byte parser') 12 | } 13 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { endpoint } from "@octokit/endpoint"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import withDefaults from "./with-defaults"; 5 | const request = withDefaults(endpoint, { 6 | headers: { 7 | "user-agent": `octokit-request.js/${VERSION} ${getUserAgent()}` 8 | } 9 | }); 10 | export { 11 | request 12 | }; 13 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/mock-errors.d.ts: -------------------------------------------------------------------------------- 1 | import Errors from './errors' 2 | 3 | export default MockErrors 4 | 5 | declare namespace MockErrors { 6 | /** The request does not match any registered mock dispatches. */ 7 | export class MockNotMatchedError extends Errors.UndiciError { 8 | constructor(message?: string); 9 | name: 'MockNotMatchedError'; 10 | code: 'UND_MOCK_ERR_MOCK_NOT_MATCHED'; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /ui/build/asset-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": { 3 | "main.css": "/static/css/main.5e12335f.css", 4 | "main.js": "/static/js/main.cd422fc8.js", 5 | "index.html": "/index.html", 6 | "main.5e12335f.css.map": "/static/css/main.5e12335f.css.map", 7 | "main.cd422fc8.js.map": "/static/js/main.cd422fc8.js.map" 8 | }, 9 | "entrypoints": [ 10 | "static/css/main.5e12335f.css", 11 | "static/js/main.cd422fc8.js" 12 | ] 13 | } -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/dist-src/index.js: -------------------------------------------------------------------------------- 1 | export function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && "version" in process) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | -------------------------------------------------------------------------------- /github-action/node_modules/deprecation/dist-web/index.js: -------------------------------------------------------------------------------- 1 | class Deprecation extends Error { 2 | constructor(message) { 3 | super(message); // Maintains proper stack trace (only available on V8) 4 | 5 | /* istanbul ignore next */ 6 | 7 | if (Error.captureStackTrace) { 8 | Error.captureStackTrace(this, this.constructor); 9 | } 10 | 11 | this.name = 'Deprecation'; 12 | } 13 | 14 | } 15 | 16 | export { Deprecation }; 17 | -------------------------------------------------------------------------------- /vscode-web-ext-ui/build/asset-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "files": { 3 | "main.css": "/static/css/main.760a21c1.css", 4 | "main.js": "/static/js/main.331701eb.js", 5 | "index.html": "/index.html", 6 | "main.760a21c1.css.map": "/static/css/main.760a21c1.css.map", 7 | "main.331701eb.js.map": "/static/js/main.331701eb.js.map" 8 | }, 9 | "entrypoints": [ 10 | "static/css/main.760a21c1.css", 11 | "static/js/main.331701eb.js" 12 | ] 13 | } -------------------------------------------------------------------------------- /vscode-web-ext-ui/src/theme.ts: -------------------------------------------------------------------------------- 1 | import { createTheme } from '@mui/material'; 2 | 3 | // Config object passed as a global variable via index.html 4 | declare const ClientConfig: { 5 | theme: string 6 | }; 7 | 8 | export const Theme = createTheme({ 9 | 10 | palette: { mode: ClientConfig.theme === 'dark' ? 'dark' : 'light' } 11 | }); 12 | 13 | export const CustomTabStyle = Theme.palette.mode === 'dark' ? { 14 | backgroundColor: '#aaa' 15 | } : {}; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/umd/uuidValidate.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidValidate=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(t){return"string"==typeof t&&e.test(t)}})); -------------------------------------------------------------------------------- /traverse-func/function.json: -------------------------------------------------------------------------------- 1 | { 2 | "bindings": [ 3 | { 4 | "authLevel": "anonymous", 5 | "type": "httpTrigger", 6 | "route": "a/p/i/traverse-func", 7 | "direction": "in", 8 | "name": "req", 9 | "methods": [ 10 | "post" 11 | ] 12 | }, 13 | { 14 | "type": "http", 15 | "direction": "out", 16 | "name": "res" 17 | } 18 | ], 19 | "scriptFile": "../dist/traverse-func/index.js" 20 | } 21 | -------------------------------------------------------------------------------- /github-action/node_modules/before-after-hook/lib/remove.js: -------------------------------------------------------------------------------- 1 | module.exports = removeHook; 2 | 3 | function removeHook(state, name, method) { 4 | if (!state.registry[name]) { 5 | return; 6 | } 7 | 8 | var index = state.registry[name] 9 | .map(function (registered) { 10 | return registered.orig; 11 | }) 12 | .indexOf(method); 13 | 14 | if (index === -1) { 15 | return; 16 | } 17 | 18 | state.registry[name].splice(index, 1); 19 | } 20 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/handlers.d.ts: -------------------------------------------------------------------------------- 1 | import Dispatcher from "./dispatcher"; 2 | 3 | export declare class RedirectHandler implements Dispatcher.DispatchHandlers{ 4 | constructor (dispatch: Dispatcher, maxRedirections: number, opts: Dispatcher.DispatchOptions, handler: Dispatcher.DispatchHandlers) 5 | } 6 | 7 | export declare class DecoratorHandler implements Dispatcher.DispatchHandlers{ 8 | constructor (handler: Dispatcher.DispatchHandlers) 9 | } 10 | -------------------------------------------------------------------------------- /core/dist/fileSystemWrapper.d.ts: -------------------------------------------------------------------------------- 1 | import { FileSystemWrapperBase } from './fileSystemWrapperBase'; 2 | export declare class FileSystemWrapper extends FileSystemWrapperBase { 3 | joinPath(path1: string, path2: string): string; 4 | dirName(path1: string): string; 5 | readFile(path: string): Promise; 6 | isDirectory(path: string): Promise; 7 | readDir(path: string): Promise; 8 | pathExists(path: string): Promise; 9 | } 10 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/llhttp/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/llhttp/utils.ts"],"names":[],"mappings":";;;AAIA,SAAgB,SAAS,CAAC,GAAQ;IAChC,MAAM,GAAG,GAAa,EAAE,CAAC;IAEzB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;SAClB;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,GAAG,CAAC;AACb,CAAC;AAXD,8BAWC"} -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/github.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"github.js","sourceRoot":"","sources":["../src/github.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,mCAAiD;AAKpC,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAAa,EACb,OAAwB,EACxB,GAAG,iBAAkC;IAErC,MAAM,iBAAiB,GAAG,cAAM,CAAC,MAAM,CAAC,GAAG,iBAAiB,CAAC,CAAA;IAC7D,OAAO,IAAI,iBAAiB,CAAC,IAAA,yBAAiB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAA;AACjE,CAAC;AAPD,gCAOC"} -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/index.js: -------------------------------------------------------------------------------- 1 | export { default as v1 } from './v1.js'; 2 | export { default as v3 } from './v3.js'; 3 | export { default as v4 } from './v4.js'; 4 | export { default as v5 } from './v5.js'; 5 | export { default as NIL } from './nil.js'; 6 | export { default as version } from './version.js'; 7 | export { default as validate } from './validate.js'; 8 | export { default as stringify } from './stringify.js'; 9 | export { default as parse } from './parse.js'; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/index.js: -------------------------------------------------------------------------------- 1 | export { default as v1 } from './v1.js'; 2 | export { default as v3 } from './v3.js'; 3 | export { default as v4 } from './v4.js'; 4 | export { default as v5 } from './v5.js'; 5 | export { default as NIL } from './nil.js'; 6 | export { default as version } from './version.js'; 7 | export { default as validate } from './validate.js'; 8 | export { default as stringify } from './stringify.js'; 9 | export { default as parse } from './parse.js'; -------------------------------------------------------------------------------- /vscode-web-ext/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | // Place your settings in this file to overwrite default and user settings. 2 | { 3 | "files.exclude": { 4 | "out": false // set this to true to hide the "out" folder with the compiled JS files 5 | }, 6 | "search.exclude": { 7 | "out": true // set this to false to include "out" folder in search results 8 | }, 9 | // Turn off tsc task auto detection since we have the necessary tasks as npm scripts 10 | "typescript.tsc.autoDetect": "off" 11 | } -------------------------------------------------------------------------------- /github-action/node_modules/@fastify/busboy/lib/utils/getLimit.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function getLimit (limits, name, defaultLimit) { 4 | if ( 5 | !limits || 6 | limits[name] === undefined || 7 | limits[name] === null 8 | ) { return defaultLimit } 9 | 10 | if ( 11 | typeof limits[name] !== 'number' || 12 | isNaN(limits[name]) 13 | ) { throw new TypeError('Limit ' + name + ' is not a valid number') } 14 | 15 | return limits[name] 16 | } 17 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/llhttp/utils.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | Object.defineProperty(exports, "__esModule", { value: true }); 3 | exports.enumToMap = void 0; 4 | function enumToMap(obj) { 5 | const res = {}; 6 | Object.keys(obj).forEach((key) => { 7 | const value = obj[key]; 8 | if (typeof value === 'number') { 9 | res[key] = value; 10 | } 11 | }); 12 | return res; 13 | } 14 | exports.enumToMap = enumToMap; 15 | //# sourceMappingURL=utils.js.map -------------------------------------------------------------------------------- /vscode-web-ext-ui/build/static/css/main.760a21c1.css: -------------------------------------------------------------------------------- 1 | html{overflow-y:scroll!important}body{display:table;font-family:sans-serif;margin:0;padding:0;width:100%}.diagram-div{padding:20px}.diagram-div>svg{display:block;height:100%!important;margin:auto;width:100%!important}.error-typography{padding:30px!important}.bottom-toolbar{padding-bottom:30px;padding-top:30px}.settings-group{float:right;padding-right:100px;padding-top:20px}.toolbar-button{width:100px!important} 2 | /*# sourceMappingURL=main.760a21c1.css.map*/ -------------------------------------------------------------------------------- /vscode-web-ext/HtmlStatics/static/css/main.760a21c1.css: -------------------------------------------------------------------------------- 1 | html{overflow-y:scroll!important}body{display:table;font-family:sans-serif;margin:0;padding:0;width:100%}.diagram-div{padding:20px}.diagram-div>svg{display:block;height:100%!important;margin:auto;width:100%!important}.error-typography{padding:30px!important}.bottom-toolbar{padding-bottom:30px;padding-top:30px}.settings-group{float:right;padding-right:100px;padding-top:20px}.toolbar-button{width:100px!important} 2 | /*# sourceMappingURL=main.760a21c1.css.map*/ -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/openapi-types/README.md: -------------------------------------------------------------------------------- 1 | # @octokit/openapi-types 2 | 3 | > Generated TypeScript definitions based on GitHub's OpenAPI spec 4 | 5 | This package is continously updated based on [GitHub's OpenAPI specification](https://github.com/github/rest-api-description/) 6 | 7 | ## Usage 8 | 9 | ```ts 10 | import { components } from "@octokit/openapi-types"; 11 | 12 | type Repository = components["schemas"]["full-repository"]; 13 | ``` 14 | 15 | ## License 16 | 17 | [MIT](LICENSE) 18 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/README.md: -------------------------------------------------------------------------------- 1 | # undici-types 2 | 3 | This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version. 4 | 5 | - [GitHub nodejs/undici](https://github.com/nodejs/undici) 6 | - [Undici Documentation](https://undici.nodejs.org/#/) 7 | -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/dist-web/index.js: -------------------------------------------------------------------------------- 1 | function getUserAgent() { 2 | if (typeof navigator === "object" && "userAgent" in navigator) { 3 | return navigator.userAgent; 4 | } 5 | if (typeof process === "object" && "version" in process) { 6 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 7 | } 8 | return ""; 9 | } 10 | 11 | export { getUserAgent }; 12 | //# sourceMappingURL=index.js.map 13 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/v3.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _v = _interopRequireDefault(require("./v35.js")); 9 | 10 | var _md = _interopRequireDefault(require("./md5.js")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | const v3 = (0, _v.default)('v3', 0x30, _md.default); 15 | var _default = v3; 16 | exports.default = _default; -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/defaults.js: -------------------------------------------------------------------------------- 1 | import { getUserAgent } from "universal-user-agent"; 2 | import { VERSION } from "./version"; 3 | const userAgent = `octokit-endpoint.js/${VERSION} ${getUserAgent()}`; 4 | const DEFAULTS = { 5 | method: "GET", 6 | baseUrl: "https://api.github.com", 7 | headers: { 8 | accept: "application/vnd.github.v3+json", 9 | "user-agent": userAgent 10 | }, 11 | mediaType: { 12 | format: "" 13 | } 14 | }; 15 | export { 16 | DEFAULTS 17 | }; 18 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/util/extract-url-variable-names.js: -------------------------------------------------------------------------------- 1 | const urlVariableRegex = /\{[^}]+\}/g; 2 | function removeNonChars(variableName) { 3 | return variableName.replace(/^\W+|\W+$/g, "").split(/,/); 4 | } 5 | function extractUrlVariableNames(url) { 6 | const matches = url.match(urlVariableRegex); 7 | if (!matches) { 8 | return []; 9 | } 10 | return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); 11 | } 12 | export { 13 | extractUrlVariableNames 14 | }; 15 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/fileSystemWrapper.d.ts: -------------------------------------------------------------------------------- 1 | import { FileSystemWrapperBase } from './fileSystemWrapperBase'; 2 | export declare class FileSystemWrapper extends FileSystemWrapperBase { 3 | joinPath(path1: string, path2: string): string; 4 | dirName(path1: string): string; 5 | readFile(path: string): Promise; 6 | isDirectory(path: string): Promise; 7 | readDir(path: string): Promise; 8 | pathExists(path: string): Promise; 9 | } 10 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/v5.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _v = _interopRequireDefault(require("./v35.js")); 9 | 10 | var _sha = _interopRequireDefault(require("./sha1.js")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | const v5 = (0, _v.default)('v5', 0x50, _sha.default); 15 | var _default = v5; 16 | exports.default = _default; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/validate.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _regex = _interopRequireDefault(require("./regex.js")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function validate(uuid) { 13 | return typeof uuid === 'string' && _regex.default.test(uuid); 14 | } 15 | 16 | var _default = validate; 17 | exports.default = _default; -------------------------------------------------------------------------------- /github-action/node_modules/@actions/core/lib/command.d.ts: -------------------------------------------------------------------------------- 1 | export interface CommandProperties { 2 | [key: string]: any; 3 | } 4 | /** 5 | * Commands 6 | * 7 | * Command Format: 8 | * ::name key=value,key=value::message 9 | * 10 | * Examples: 11 | * ::warning::This is the message 12 | * ::set-env name=MY_VAR::some value 13 | */ 14 | export declare function issueCommand(command: string, properties: CommandProperties, message: any): void; 15 | export declare function issue(name: string, message?: string): void; 16 | -------------------------------------------------------------------------------- /github-action/node_modules/@fastify/busboy/lib/utils/basename.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = function basename (path) { 4 | if (typeof path !== 'string') { return '' } 5 | for (var i = path.length - 1; i >= 0; --i) { // eslint-disable-line no-var 6 | switch (path.charCodeAt(i)) { 7 | case 0x2F: // '/' 8 | case 0x5C: // '\' 9 | path = path.slice(i + 1) 10 | return (path === '..' || path === '.' ? '' : path) 11 | } 12 | } 13 | return (path === '..' || path === '.' ? '' : path) 14 | } 15 | -------------------------------------------------------------------------------- /serve-statics/function.json: -------------------------------------------------------------------------------- 1 | { 2 | "bindings": [ 3 | { 4 | "authLevel": "anonymous", 5 | "type": "httpTrigger", 6 | "route": "{p1?}/{p2?}/{p3?}", 7 | "direction": "in", 8 | "name": "req", 9 | "methods": [ 10 | "get" 11 | ] 12 | }, 13 | { 14 | "type": "http", 15 | "direction": "out", 16 | "name": "res" 17 | } 18 | ], 19 | "scriptFile": "../dist/serve-statics/index.js" 20 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-src/paginating-endpoints.js: -------------------------------------------------------------------------------- 1 | import { 2 | paginatingEndpoints 3 | } from "./generated/paginating-endpoints"; 4 | import { paginatingEndpoints as paginatingEndpoints2 } from "./generated/paginating-endpoints"; 5 | function isPaginatingEndpoint(arg) { 6 | if (typeof arg === "string") { 7 | return paginatingEndpoints.includes(arg); 8 | } else { 9 | return false; 10 | } 11 | } 12 | export { 13 | isPaginatingEndpoint, 14 | paginatingEndpoints2 as paginatingEndpoints 15 | }; 16 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/umd/uuidVersion.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidVersion=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(t){if(!function(t){return"string"==typeof t&&e.test(t)}(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)}})); -------------------------------------------------------------------------------- /core/dist/cliUtils.d.ts: -------------------------------------------------------------------------------- 1 | import { GraphSettings } from './FunctionsMap'; 2 | import { GitRepositoryInfo } from './gitUtils'; 3 | export declare type GraphCliSettings = GraphSettings & { 4 | templateFile?: string; 5 | htmlTemplateFile?: string; 6 | repoInfo?: GitRepositoryInfo; 7 | sourcesRootFolder?: string; 8 | }; 9 | export declare function renderDiagram(projectFolder: string, outputFile?: string, settings?: GraphCliSettings, log?: (s: any) => void): Promise; 10 | export declare function applyIcons(svg: string): Promise; 11 | -------------------------------------------------------------------------------- /github-action/node_modules/tunnel/.idea/node-tunnel.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/core/lib/path-utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"path-utils.js","sourceRoot":"","sources":["../src/path-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAE5B;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;GAMG;AACH,SAAgB,WAAW,CAAC,GAAW;IACrC,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAClC,CAAC;AAFD,kCAEC;AAED;;;;;;;GAOG;AACH,SAAgB,cAAc,CAAC,GAAW;IACxC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,IAAI,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,wCAEC"} -------------------------------------------------------------------------------- /github-action/node_modules/deprecation/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | class Deprecation extends Error { 6 | constructor(message) { 7 | super(message); // Maintains proper stack trace (only available on V8) 8 | 9 | /* istanbul ignore next */ 10 | 11 | if (Error.captureStackTrace) { 12 | Error.captureStackTrace(this, this.constructor); 13 | } 14 | 15 | this.name = 'Deprecation'; 16 | } 17 | 18 | } 19 | 20 | exports.Deprecation = Deprecation; 21 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { request as Request } from "@octokit/request"; 2 | import { graphql } from "./graphql"; 3 | function withDefaults(request, newDefaults) { 4 | const newRequest = request.defaults(newDefaults); 5 | const newApi = (query, options) => { 6 | return graphql(newRequest, query, options); 7 | }; 8 | return Object.assign(newApi, { 9 | defaults: withDefaults.bind(null, newRequest), 10 | endpoint: newRequest.endpoint 11 | }); 12 | } 13 | export { 14 | withDefaults 15 | }; 16 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/mock/mock-errors.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const { UndiciError } = require('../core/errors') 4 | 5 | class MockNotMatchedError extends UndiciError { 6 | constructor (message) { 7 | super(message) 8 | Error.captureStackTrace(this, MockNotMatchedError) 9 | this.name = 'MockNotMatchedError' 10 | this.message = message || 'The request does not match any registered mock dispatches' 11 | this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED' 12 | } 13 | } 14 | 15 | module.exports = { 16 | MockNotMatchedError 17 | } 18 | -------------------------------------------------------------------------------- /vscode-web-ext/src/web/test/suite/extension.test.ts: -------------------------------------------------------------------------------- 1 | import * as assert from 'assert'; 2 | 3 | // You can import and use all API from the 'vscode' module 4 | // as well as import your extension to test it 5 | import * as vscode from 'vscode'; 6 | // import * as myExtension from '../../extension'; 7 | 8 | suite('Web Extension Test Suite', () => { 9 | vscode.window.showInformationMessage('Start all tests.'); 10 | 11 | test('Sample test', () => { 12 | assert.strictEqual(-1, [1, 2, 3].indexOf(5)); 13 | assert.strictEqual(-1, [1, 2, 3].indexOf(0)); 14 | }); 15 | }); 16 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/RequestOptions.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestHeaders } from "./RequestHeaders"; 2 | import type { RequestMethod } from "./RequestMethod"; 3 | import type { RequestRequestOptions } from "./RequestRequestOptions"; 4 | import type { Url } from "./Url"; 5 | /** 6 | * Generic request options as they are returned by the `endpoint()` method 7 | */ 8 | export type RequestOptions = { 9 | method: RequestMethod; 10 | url: Url; 11 | headers: RequestHeaders; 12 | body?: any; 13 | request?: RequestRequestOptions; 14 | }; 15 | -------------------------------------------------------------------------------- /vscode-web-ext-ui/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import { ThemeProvider } from '@mui/material/styles'; 4 | 5 | import './index.css'; 6 | import App from './App'; 7 | import { AppState } from './AppState'; 8 | 9 | import { Theme } from './theme'; 10 | 11 | document.body.style.backgroundColor = Theme.palette.background.paper; 12 | 13 | ReactDOM.render( 14 | 15 | 16 | , 17 | document.getElementById('root') as HTMLElement 18 | ); 19 | -------------------------------------------------------------------------------- /core/dist/functionProjectScriptParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { FunctionProjectParserBase } from './functionProjectParserBase'; 3 | export declare class FunctionProjectScriptParser extends FunctionProjectParserBase { 4 | traverseFunctions(projectFolder: string): Promise; 5 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 6 | name: string; 7 | code: string; 8 | filePath: string; 9 | pos: number; 10 | lineNr: number; 11 | }[]>; 12 | } 13 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/util/add-query-parameters.js: -------------------------------------------------------------------------------- 1 | function addQueryParameters(url, parameters) { 2 | const separator = /\?/.test(url) ? "&" : "?"; 3 | const names = Object.keys(parameters); 4 | if (names.length === 0) { 5 | return url; 6 | } 7 | return url + separator + names.map((name) => { 8 | if (name === "q") { 9 | return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); 10 | } 11 | return `${name}=${encodeURIComponent(parameters[name])}`; 12 | }).join("&"); 13 | } 14 | export { 15 | addQueryParameters 16 | }; 17 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/cliUtils.d.ts: -------------------------------------------------------------------------------- 1 | import { GraphSettings } from './FunctionsMap'; 2 | import { GitRepositoryInfo } from './gitUtils'; 3 | export declare type GraphCliSettings = GraphSettings & { 4 | templateFile?: string; 5 | htmlTemplateFile?: string; 6 | repoInfo?: GitRepositoryInfo; 7 | sourcesRootFolder?: string; 8 | }; 9 | export declare function renderDiagram(projectFolder: string, outputFile?: string, settings?: GraphCliSettings, log?: (s: any) => void): Promise; 10 | export declare function applyIcons(svg: string): Promise; 11 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/OctokitResponse.d.ts: -------------------------------------------------------------------------------- 1 | import type { ResponseHeaders } from "./ResponseHeaders"; 2 | import type { Url } from "./Url"; 3 | export type OctokitResponse = { 4 | headers: ResponseHeaders; 5 | /** 6 | * http response code 7 | */ 8 | status: S; 9 | /** 10 | * URL of response after all redirects 11 | */ 12 | url: Url; 13 | /** 14 | * Response data as documented in the REST API reference documentation at https://docs.github.com/rest/reference 15 | */ 16 | data: T; 17 | }; 18 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/version.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _validate = _interopRequireDefault(require("./validate.js")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function version(uuid) { 13 | if (!(0, _validate.default)(uuid)) { 14 | throw TypeError('Invalid UUID'); 15 | } 16 | 17 | return parseInt(uuid.substr(14, 1), 16); 18 | } 19 | 20 | var _default = version; 21 | exports.default = _default; -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/github.d.ts: -------------------------------------------------------------------------------- 1 | import * as Context from './context'; 2 | import { GitHub } from './utils'; 3 | import { OctokitOptions, OctokitPlugin } from '@octokit/core/dist-types/types'; 4 | export declare const context: Context.Context; 5 | /** 6 | * Returns a hydrated octokit ready to use for GitHub Actions 7 | * 8 | * @param token the repo PAT or GITHUB_TOKEN 9 | * @param options other options to set 10 | */ 11 | export declare function getOctokit(token: string, options?: OctokitOptions, ...additionalPlugins: OctokitPlugin[]): InstanceType; 12 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import { endpointWithDefaults } from "./endpoint-with-defaults"; 2 | import { merge } from "./merge"; 3 | import { parse } from "./parse"; 4 | function withDefaults(oldDefaults, newDefaults) { 5 | const DEFAULTS = merge(oldDefaults, newDefaults); 6 | const endpoint = endpointWithDefaults.bind(null, DEFAULTS); 7 | return Object.assign(endpoint, { 8 | DEFAULTS, 9 | defaults: withDefaults.bind(null, DEFAULTS), 10 | merge: merge.bind(null, DEFAULTS), 11 | parse 12 | }); 13 | } 14 | export { 15 | withDefaults 16 | }; 17 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | export type { RestEndpointMethodTypes } from "./generated/parameters-and-response-types"; 3 | import type { Api } from "./types"; 4 | export declare function restEndpointMethods(octokit: Octokit): Api; 5 | export declare namespace restEndpointMethods { 6 | var VERSION: string; 7 | } 8 | export declare function legacyRestEndpointMethods(octokit: Octokit): Api["rest"] & Api; 9 | export declare namespace legacyRestEndpointMethods { 10 | var VERSION: string; 11 | } 12 | -------------------------------------------------------------------------------- /ui/build/index.html: -------------------------------------------------------------------------------- 1 | Azure Functions as a Graph
-------------------------------------------------------------------------------- /vscode-web-ext/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "parser": "@typescript-eslint/parser", 4 | "parserOptions": { 5 | "ecmaVersion": 6, 6 | "sourceType": "module" 7 | }, 8 | "plugins": [ 9 | "@typescript-eslint" 10 | ], 11 | "rules": { 12 | "@typescript-eslint/naming-convention": "warn", 13 | "@typescript-eslint/semi": "warn", 14 | "curly": "warn", 15 | "eqeqeq": "warn", 16 | "no-throw-literal": "warn", 17 | "semi": "off" 18 | }, 19 | "ignorePatterns": [ 20 | "**/*.d.ts" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /core/dist/functionProjectCodeParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { FunctionProjectParserBase } from './functionProjectParserBase'; 3 | import { RegExAndPos } from "./fileSystemWrapperBase"; 4 | export declare abstract class FunctionProjectCodeParser extends FunctionProjectParserBase { 5 | traverseFunctions(projectFolder: string): Promise; 6 | protected abstract traverseProjectCode(projectFolder: string): Promise; 7 | protected getFunctionStartRegex(funcName: string): RegExp; 8 | protected getFunctionAttributeRegex(): RegExAndPos; 9 | } 10 | -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/dist-node/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | function getUserAgent() { 6 | if (typeof navigator === "object" && "userAgent" in navigator) { 7 | return navigator.userAgent; 8 | } 9 | 10 | if (typeof process === "object" && "version" in process) { 11 | return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`; 12 | } 13 | 14 | return ""; 15 | } 16 | 17 | exports.getUserAgent = getUserAgent; 18 | //# sourceMappingURL=index.js.map 19 | -------------------------------------------------------------------------------- /ui/src/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | 4 | import { createTheme, ThemeProvider } from '@mui/material/styles'; 5 | import red from '@mui/material/colors/red'; 6 | import blue from '@mui/material/colors/blue'; 7 | 8 | import './index.css'; 9 | import App from './App'; 10 | import { AppState } from './AppState'; 11 | 12 | const theme = createTheme({ 13 | palette: { 14 | primary: blue, 15 | secondary: red 16 | }, 17 | }); 18 | 19 | ReactDOM.render(, document.getElementById('root')); 20 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Please feel free to file GitHub Issues or propose Pull Requests. We're always happy to discuss improvements to this library! 4 | 5 | ## Testing 6 | 7 | ```shell 8 | npm test 9 | ``` 10 | 11 | ## Releasing 12 | 13 | Releases are supposed to be done from master, version bumping is automated through [`standard-version`](https://github.com/conventional-changelog/standard-version): 14 | 15 | ```shell 16 | npm run release -- --dry-run # verify output manually 17 | npm run release # follow the instructions from the output of this command 18 | ``` 19 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/functionProjectScriptParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { FunctionProjectParserBase } from './functionProjectParserBase'; 3 | export declare class FunctionProjectScriptParser extends FunctionProjectParserBase { 4 | traverseFunctions(projectFolder: string): Promise; 5 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 6 | name: string; 7 | code: string; 8 | filePath: string; 9 | pos: number; 10 | lineNr: number; 11 | }[]>; 12 | } 13 | -------------------------------------------------------------------------------- /core/dist/cSharpFunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { FunctionProjectCodeParser } from "./functionProjectCodeParser"; 3 | export declare class CSharpFunctionProjectParser extends FunctionProjectCodeParser { 4 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 5 | name: string; 6 | code: string; 7 | filePath: string; 8 | pos: number; 9 | lineNr: number; 10 | }[]>; 11 | protected traverseProjectCode(projectFolder: string): Promise; 12 | private extractOutputBindings; 13 | } 14 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/endpoint/dist-src/util/merge-deep.js: -------------------------------------------------------------------------------- 1 | import { isPlainObject } from "is-plain-object"; 2 | function mergeDeep(defaults, options) { 3 | const result = Object.assign({}, defaults); 4 | Object.keys(options).forEach((key) => { 5 | if (isPlainObject(options[key])) { 6 | if (!(key in defaults)) 7 | Object.assign(result, { [key]: options[key] }); 8 | else 9 | result[key] = mergeDeep(defaults[key], options[key]); 10 | } else { 11 | Object.assign(result, { [key]: options[key] }); 12 | } 13 | }); 14 | return result; 15 | } 16 | export { 17 | mergeDeep 18 | }; 19 | -------------------------------------------------------------------------------- /vscode-web-ext/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "ES2020", 5 | "outDir": "dist", 6 | "lib": [ 7 | "ES2020", "WebWorker" 8 | ], 9 | "sourceMap": true, 10 | "rootDir": "src", 11 | "strict": true /* enable all strict type-checking options */ 12 | /* Additional Checks */ 13 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 14 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 15 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "az-func-as-a-graph.core", 3 | "version": "1.3.3", 4 | "description": "Utilities for visualizing your Azure Functions project in form of a graph", 5 | "keywords": [ 6 | "azure functions", 7 | "serverless", 8 | "azure" 9 | ], 10 | "license": "MIT", 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/scale-tone/az-func-as-a-graph.git" 14 | }, 15 | "homepage": "https://marketplace.visualstudio.com/items?itemName=DurableFunctionsMonitor.az-func-as-a-graph", 16 | "devDependencies": { 17 | "@types/node": "^20.8.8", 18 | "typescript": "^4.9.5" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /core/dist/traverseFunctionProjectUtils.d.ts: -------------------------------------------------------------------------------- 1 | export declare function cleanupFunctionName(name: string): string; 2 | export declare function removeNamespace(name: string): string; 3 | export declare function posToLineNr(code: string | undefined, pos: number): number; 4 | export declare function getCodeInBrackets(str: string, startFrom: number, openingBracket: string, closingBracket: string, mustHaveSymbols?: string): { 5 | code: string; 6 | openBracketPos: number; 7 | }; 8 | export declare function getCodeInBracketsReverse(str: string, openingBracket: string, closingBracket: string): { 9 | code: string; 10 | openBracketPos: number; 11 | }; 12 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/internal/utils.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import * as http from 'http'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | import { ProxyAgent, fetch } from 'undici'; 5 | export declare function getAuthString(token: string, options: OctokitOptions): string | undefined; 6 | export declare function getProxyAgent(destinationUrl: string): http.Agent; 7 | export declare function getProxyAgentDispatcher(destinationUrl: string): ProxyAgent | undefined; 8 | export declare function getProxyFetch(destinationUrl: any): typeof fetch; 9 | export declare function getApiBaseUrl(): string; 10 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/RequestHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export type RequestHeaders = { 2 | /** 3 | * Avoid setting `headers.accept`, use `mediaType.{format|previews}` option instead. 4 | */ 5 | accept?: string; 6 | /** 7 | * Use `authorization` to send authenticated request, remember `token ` / `bearer ` prefixes. Example: `token 1234567890abcdef1234567890abcdef12345678` 8 | */ 9 | authorization?: string; 10 | /** 11 | * `user-agent` is set do a default and can be overwritten as needed. 12 | */ 13 | "user-agent"?: string; 14 | [header: string]: string | number | undefined; 15 | }; 16 | -------------------------------------------------------------------------------- /github-action/node_modules/tunnel/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | 3 | - 0.0.6 (2018/09/11) 4 | - Fix `localAddress` not working (#25) 5 | - Fix `Host:` header for CONNECT method by @tmurakam (#29, #30) 6 | - Fix default port for https (#32) 7 | - Fix error handling when the proxy send illegal response body (#33) 8 | 9 | - 0.0.5 (2017/06/12) 10 | - Fix socket leak. 11 | 12 | - 0.0.4 (2016/01/23) 13 | - supported Node v0.12 or later. 14 | 15 | - 0.0.3 (2014/01/20) 16 | - fixed package.json 17 | 18 | - 0.0.1 (2012/02/18) 19 | - supported Node v0.6.x (0.6.11 or later). 20 | 21 | - 0.0.0 (2012/02/11) 22 | - first release. 23 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { VERSION } from "./version"; 2 | import { endpointsToMethods } from "./endpoints-to-methods"; 3 | function restEndpointMethods(octokit) { 4 | const api = endpointsToMethods(octokit); 5 | return { 6 | rest: api 7 | }; 8 | } 9 | restEndpointMethods.VERSION = VERSION; 10 | function legacyRestEndpointMethods(octokit) { 11 | const api = endpointsToMethods(octokit); 12 | return { 13 | ...api, 14 | rest: api 15 | }; 16 | } 17 | legacyRestEndpointMethods.VERSION = VERSION; 18 | export { 19 | legacyRestEndpointMethods, 20 | restEndpointMethods 21 | }; 22 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/functionProjectCodeParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { FunctionProjectParserBase } from './functionProjectParserBase'; 3 | import { RegExAndPos } from "./fileSystemWrapperBase"; 4 | export declare abstract class FunctionProjectCodeParser extends FunctionProjectParserBase { 5 | traverseFunctions(projectFolder: string): Promise; 6 | protected abstract traverseProjectCode(projectFolder: string): Promise; 7 | protected getFunctionStartRegex(funcName: string): RegExp; 8 | protected getFunctionAttributeRegex(): RegExAndPos; 9 | } 10 | -------------------------------------------------------------------------------- /dist/core/functionProjectCodeParser.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"functionProjectCodeParser.js","sourceRoot":"","sources":["../../core/functionProjectCodeParser.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,2EAAwE;AAGxE,MAAsB,yBAA0B,SAAQ,qDAAyB;IAEhE,iBAAiB,CAAC,aAAqB;;YAEhD,IAAI,SAAuB,CAAC;YAE5B,SAAS,GAAG,MAAM,IAAI,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAC;YAE1D,sDAAsD;YACtD,SAAS,GAAG,MAAM,IAAI,CAAC,kCAAkC,CAAC,SAAS,EAAE,aAAa,CAAC,CAAC;YAEpF,OAAO,SAAS,CAAC;QACrB,CAAC;KAAA;IAIS,qBAAqB,CAAC,QAAgB;QAC5C,OAAO,IAAI,MAAM,CAAC,oFAAoF,QAAQ,kBAAkB,CAAC,CAAA;IACrI,CAAC;IAES,yBAAyB;QAC/B,OAAO;YACH,KAAK,EAAE,IAAI,MAAM,CAAC,2EAA2E,EAAE,GAAG,CAAC;YACnG,GAAG,EAAE,CAAC;SACT,CAAC;IACN,CAAC;CACJ;AA1BD,8DA0BC"} -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/openapi-types/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@octokit/openapi-types", 3 | "description": "Generated TypeScript definitions based on GitHub's OpenAPI spec for api.github.com", 4 | "repository": { 5 | "type": "git", 6 | "url": "https://github.com/octokit/openapi-types.ts.git", 7 | "directory": "packages/openapi-types" 8 | }, 9 | "publishConfig": { 10 | "access": "public" 11 | }, 12 | "version": "19.0.0", 13 | "main": "", 14 | "types": "types.d.ts", 15 | "author": "Gregor Martynus (https://twitter.com/gr2m)", 16 | "license": "MIT", 17 | "octokit": { 18 | "openapi-version": "13.0.0" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vscode-web-ext/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | // See https://go.microsoft.com/fwlink/?LinkId=733558 2 | // for the documentation about the tasks.json format 3 | { 4 | "version": "2.0.0", 5 | "tasks": [ 6 | { 7 | "type": "npm", 8 | "script": "compile-web", 9 | "group": { 10 | "kind": "build", 11 | "isDefault": true 12 | }, 13 | "problemMatcher": [ 14 | "$ts-webpack", 15 | "$tslint-webpack" 16 | ] 17 | }, 18 | { 19 | "type": "npm", 20 | "script": "watch-web", 21 | "group": "build", 22 | "isBackground": true, 23 | "problemMatcher": [ 24 | "$ts-webpack-watch", 25 | "$tslint-webpack-watch" 26 | ] 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/mock/pluralizer.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const singulars = { 4 | pronoun: 'it', 5 | is: 'is', 6 | was: 'was', 7 | this: 'this' 8 | } 9 | 10 | const plurals = { 11 | pronoun: 'they', 12 | is: 'are', 13 | was: 'were', 14 | this: 'these' 15 | } 16 | 17 | module.exports = class Pluralizer { 18 | constructor (singular, plural) { 19 | this.singular = singular 20 | this.plural = plural 21 | } 22 | 23 | pluralize (count) { 24 | const one = count === 1 25 | const keys = one ? singulars : plurals 26 | const noun = one ? this.singular : this.plural 27 | return { ...keys, count, noun } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/auth-token/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { auth } from "./auth"; 2 | import { hook } from "./hook"; 3 | const createTokenAuth = function createTokenAuth2(token) { 4 | if (!token) { 5 | throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); 6 | } 7 | if (typeof token !== "string") { 8 | throw new Error( 9 | "[@octokit/auth-token] Token passed to createTokenAuth is not a string" 10 | ); 11 | } 12 | token = token.replace(/^(token|bearer) +/i, ""); 13 | return Object.assign(auth.bind(null, token), { 14 | hook: hook.bind(null, token) 15 | }); 16 | }; 17 | export { 18 | createTokenAuth 19 | }; 20 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/index-fetch.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const fetchImpl = require('./lib/fetch').fetch 4 | 5 | module.exports.fetch = function fetch (resource, init = undefined) { 6 | return fetchImpl(resource, init).catch((err) => { 7 | Error.captureStackTrace(err, this) 8 | throw err 9 | }) 10 | } 11 | module.exports.FormData = require('./lib/fetch/formdata').FormData 12 | module.exports.Headers = require('./lib/fetch/headers').Headers 13 | module.exports.Response = require('./lib/fetch/response').Response 14 | module.exports.Request = require('./lib/fetch/request').Request 15 | module.exports.WebSocket = require('./lib/websocket/websocket').WebSocket 16 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/cSharpFunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { FunctionProjectCodeParser } from "./functionProjectCodeParser"; 3 | export declare class CSharpFunctionProjectParser extends FunctionProjectCodeParser { 4 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 5 | name: string; 6 | code: string; 7 | filePath: string; 8 | pos: number; 9 | lineNr: number; 10 | }[]>; 11 | protected traverseProjectCode(projectFolder: string): Promise; 12 | private extractOutputBindings; 13 | } 14 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/md5.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function md5(bytes) { 13 | if (Array.isArray(bytes)) { 14 | bytes = Buffer.from(bytes); 15 | } else if (typeof bytes === 'string') { 16 | bytes = Buffer.from(bytes, 'utf8'); 17 | } 18 | 19 | return _crypto.default.createHash('md5').update(bytes).digest(); 20 | } 21 | 22 | var _default = md5; 23 | exports.default = _default; -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/rng.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = rng; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate 13 | 14 | let poolPtr = rnds8Pool.length; 15 | 16 | function rng() { 17 | if (poolPtr > rnds8Pool.length - 16) { 18 | _crypto.default.randomFillSync(rnds8Pool); 19 | 20 | poolPtr = 0; 21 | } 22 | 23 | return rnds8Pool.slice(poolPtr, poolPtr += 16); 24 | } -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/sha1.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _crypto = _interopRequireDefault(require("crypto")); 9 | 10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 11 | 12 | function sha1(bytes) { 13 | if (Array.isArray(bytes)) { 14 | bytes = Buffer.from(bytes); 15 | } else if (typeof bytes === 'string') { 16 | bytes = Buffer.from(bytes, 'utf8'); 17 | } 18 | 19 | return _crypto.default.createHash('sha1').update(bytes).digest(); 20 | } 21 | 22 | var _default = sha1; 23 | exports.default = _default; -------------------------------------------------------------------------------- /cli/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "az-func-as-a-graph-az-do-build-task", 3 | "version": "1.3.2", 4 | "description": "Azure DevOps build/release task to generate interactive code diagrams for your Azure Functions", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "DurableFunctionsMonitor", 10 | "license": "MIT", 11 | "dependencies": { 12 | "az-func-as-a-graph.core": "^1.3.2", 13 | "azure-pipelines-task-lib": "^3.3.1", 14 | "rimraf": "^3.0.2" 15 | }, 16 | "devDependencies": { 17 | "@types/node": "^16.3.2", 18 | "@types/q": "^1.5.5", 19 | "typescript": "^4.0.2" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-rest-endpoint-methods/dist-types/types.d.ts: -------------------------------------------------------------------------------- 1 | import type { Route, RequestParameters } from "@octokit/types"; 2 | import type { RestEndpointMethods } from "./generated/method-types"; 3 | export type Api = { 4 | rest: RestEndpointMethods; 5 | }; 6 | export type EndpointDecorations = { 7 | mapToData?: string; 8 | deprecated?: string; 9 | renamed?: [string, string]; 10 | renamedParameters?: { 11 | [name: string]: string; 12 | }; 13 | }; 14 | export type EndpointsDefaultsAndDecorations = { 15 | [scope: string]: { 16 | [methodName: string]: [Route, RequestParameters?, EndpointDecorations?]; 17 | }; 18 | }; 19 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/docs/api/MockErrors.md: -------------------------------------------------------------------------------- 1 | # MockErrors 2 | 3 | Undici exposes a variety of mock error objects that you can use to enhance your mock error handling. 4 | You can find all the mock error objects inside the `mockErrors` key. 5 | 6 | ```js 7 | import { mockErrors } from 'undici' 8 | ``` 9 | 10 | | Mock Error | Mock Error Codes | Description | 11 | | --------------------- | ------------------------------- | ---------------------------------------------------------- | 12 | | `MockNotMatchedError` | `UND_MOCK_ERR_MOCK_NOT_MATCHED` | The request does not match any registered mock dispatches. | 13 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-node/v4.js: -------------------------------------------------------------------------------- 1 | import rng from './rng.js'; 2 | import stringify from './stringify.js'; 3 | 4 | function v4(options, buf, offset) { 5 | options = options || {}; 6 | const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 7 | 8 | rnds[6] = rnds[6] & 0x0f | 0x40; 9 | rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided 10 | 11 | if (buf) { 12 | offset = offset || 0; 13 | 14 | for (let i = 0; i < 16; ++i) { 15 | buf[offset + i] = rnds[i]; 16 | } 17 | 18 | return buf; 19 | } 20 | 21 | return stringify(rnds); 22 | } 23 | 24 | export default v4; -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/auth-token/dist-src/auth.js: -------------------------------------------------------------------------------- 1 | const REGEX_IS_INSTALLATION_LEGACY = /^v1\./; 2 | const REGEX_IS_INSTALLATION = /^ghs_/; 3 | const REGEX_IS_USER_TO_SERVER = /^ghu_/; 4 | async function auth(token) { 5 | const isApp = token.split(/\./).length === 3; 6 | const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token); 7 | const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token); 8 | const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth"; 9 | return { 10 | type: "token", 11 | token, 12 | tokenType 13 | }; 14 | } 15 | export { 16 | auth 17 | }; 18 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/v4.js: -------------------------------------------------------------------------------- 1 | import rng from './rng.js'; 2 | import stringify from './stringify.js'; 3 | 4 | function v4(options, buf, offset) { 5 | options = options || {}; 6 | var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 7 | 8 | rnds[6] = rnds[6] & 0x0f | 0x40; 9 | rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided 10 | 11 | if (buf) { 12 | offset = offset || 0; 13 | 14 | for (var i = 0; i < 16; ++i) { 15 | buf[offset + i] = rnds[i]; 16 | } 17 | 18 | return buf; 19 | } 20 | 21 | return stringify(rnds); 22 | } 23 | 24 | export default v4; -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/traverseFunctionProjectUtils.d.ts: -------------------------------------------------------------------------------- 1 | export declare function cleanupFunctionName(name: string): string; 2 | export declare function removeNamespace(name: string): string; 3 | export declare function posToLineNr(code: string | undefined, pos: number): number; 4 | export declare function getCodeInBrackets(str: string, startFrom: number, openingBracket: string, closingBracket: string, mustHaveSymbols?: string): { 5 | code: string; 6 | openBracketPos: number; 7 | }; 8 | export declare function getCodeInBracketsReverse(str: string, openingBracket: string, closingBracket: string): { 9 | code: string; 10 | openBracketPos: number; 11 | }; 12 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "az-func-as-a-graph.core", 3 | "version": "1.3.1", 4 | "description": "Utilities for visualizing your Azure Functions project in form of a graph", 5 | "keywords": [ 6 | "azure functions", 7 | "serverless", 8 | "azure" 9 | ], 10 | "license": "MIT", 11 | "repository": { 12 | "type": "git", 13 | "url": "https://github.com/scale-tone/az-func-as-a-graph.git" 14 | }, 15 | "homepage": "https://marketplace.visualstudio.com/items?itemName=DurableFunctionsMonitor.az-func-as-a-graph", 16 | "devDependencies": { 17 | "@types/node": "^20.8.8", 18 | "typescript": "^4.9.5" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "dom", 6 | "dom.iterable", 7 | "esnext" 8 | ], 9 | "allowJs": true, 10 | "skipLibCheck": true, 11 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": false, 14 | "forceConsistentCasingInFileNames": true, 15 | "module": "esnext", 16 | "moduleResolution": "node", 17 | "resolveJsonModule": true, 18 | "isolatedModules": true, 19 | "noEmit": true, 20 | "jsx": "react", 21 | "noFallthroughCasesInSwitch": true, 22 | "experimentalDecorators": true, 23 | }, 24 | "include": [ 25 | "src" 26 | ] 27 | } 28 | -------------------------------------------------------------------------------- /vscode-web-ext/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## Version 1.4 4 | 5 | - Minor fixes for .NET Isolated 6 | 7 | ## Version 1.3 8 | 9 | - Mostly technical release: migrated to latest mermaid.js and Material UI. 10 | 11 | ## Version 1.2 12 | 13 | - Support for [PowerShell](https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-powershell?tabs=portal) and [Python V2](https://techcommunity.microsoft.com/t5/azure-compute-blog/azure-functions-v2-python-programming-model/ba-p/3665168). 14 | 15 | ## Version 1.1 16 | 17 | - UI improvements. 18 | - Now the tool automatically searches for all Azure Functions in the current workspace. 19 | 20 | ## Version 1.0 21 | 22 | - Initial release -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { PaginateInterface } from "./types"; 3 | export type { PaginateInterface, PaginatingEndpoints } from "./types"; 4 | export { composePaginateRest } from "./compose-paginate"; 5 | export { isPaginatingEndpoint, paginatingEndpoints, } from "./paginating-endpoints"; 6 | /** 7 | * @param octokit Octokit instance 8 | * @param options Options passed to Octokit constructor 9 | */ 10 | export declare function paginateRest(octokit: Octokit): { 11 | paginate: PaginateInterface; 12 | }; 13 | export declare namespace paginateRest { 14 | var VERSION: string; 15 | } 16 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/content-type.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | interface MIMEType { 4 | type: string 5 | subtype: string 6 | parameters: Map 7 | essence: string 8 | } 9 | 10 | /** 11 | * Parse a string to a {@link MIMEType} object. Returns `failure` if the string 12 | * couldn't be parsed. 13 | * @see https://mimesniff.spec.whatwg.org/#parse-a-mime-type 14 | */ 15 | export function parseMIMEType (input: string): 'failure' | MIMEType 16 | 17 | /** 18 | * Convert a MIMEType object to a string. 19 | * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type 20 | */ 21 | export function serializeAMimeType (mimeType: MIMEType): string 22 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/ResponseHeaders.d.ts: -------------------------------------------------------------------------------- 1 | export type ResponseHeaders = { 2 | "cache-control"?: string; 3 | "content-length"?: number; 4 | "content-type"?: string; 5 | date?: string; 6 | etag?: string; 7 | "last-modified"?: string; 8 | link?: string; 9 | location?: string; 10 | server?: string; 11 | status?: string; 12 | vary?: string; 13 | "x-github-mediatype"?: string; 14 | "x-github-request-id"?: string; 15 | "x-oauth-scopes"?: string; 16 | "x-ratelimit-limit"?: string; 17 | "x-ratelimit-remaining"?: string; 18 | "x-ratelimit-reset"?: string; 19 | [header: string]: string | number | undefined; 20 | }; 21 | -------------------------------------------------------------------------------- /core/dist/javaFunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { RegExAndPos } from "./fileSystemWrapperBase"; 3 | import { FunctionProjectCodeParser } from "./functionProjectCodeParser"; 4 | export declare class JavaFunctionProjectParser extends FunctionProjectCodeParser { 5 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 6 | name: string; 7 | code: string; 8 | filePath: string; 9 | pos: number; 10 | lineNr: number; 11 | }[]>; 12 | protected traverseProjectCode(projectFolder: string): Promise; 13 | protected getFunctionAttributeRegex(): RegExAndPos; 14 | } 15 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { VERSION } from "./version"; 2 | import { paginate } from "./paginate"; 3 | import { iterator } from "./iterator"; 4 | import { composePaginateRest } from "./compose-paginate"; 5 | import { 6 | isPaginatingEndpoint, 7 | paginatingEndpoints 8 | } from "./paginating-endpoints"; 9 | function paginateRest(octokit) { 10 | return { 11 | paginate: Object.assign(paginate.bind(null, octokit), { 12 | iterator: iterator.bind(null, octokit) 13 | }) 14 | }; 15 | } 16 | paginateRest.VERSION = VERSION; 17 | export { 18 | composePaginateRest, 19 | isPaginatingEndpoint, 20 | paginateRest, 21 | paginatingEndpoints 22 | }; 23 | -------------------------------------------------------------------------------- /ui/disable-webpack-chunking.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const path = require('path'); 3 | 4 | const webpackConfigJsPath = path.join(`node_modules`, `react-scripts`, `config`, `webpack.config.js`); 5 | let webpackConfigJs = fs.readFileSync(webpackConfigJsPath, { encoding: 'utf8' }); 6 | 7 | if (!webpackConfigJs.includes('LimitChunkCountPlugin')) { 8 | 9 | const limitChunkCountPluginConfig = ` new webpack.optimize.LimitChunkCountPlugin({ maxChunks:1 })\n `; 10 | 11 | webpackConfigJs = webpackConfigJs.replace( 12 | 13 | /].filter\(Boolean\),[^}]+};\s};\s$/, 14 | `${limitChunkCountPluginConfig}$&` 15 | ); 16 | 17 | fs.writeFileSync(webpackConfigJsPath, webpackConfigJs); 18 | } -------------------------------------------------------------------------------- /vscode-web-ext-ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es5", 4 | "lib": [ 5 | "dom", 6 | "dom.iterable", 7 | "esnext" 8 | ], 9 | "allowJs": true, 10 | "skipLibCheck": true, 11 | "esModuleInterop": true, 12 | "allowSyntheticDefaultImports": true, 13 | "strict": false, 14 | "forceConsistentCasingInFileNames": true, 15 | "module": "esnext", 16 | "moduleResolution": "node", 17 | "resolveJsonModule": true, 18 | "isolatedModules": true, 19 | "noEmit": true, 20 | "jsx": "react", 21 | "noFallthroughCasesInSwitch": true, 22 | "experimentalDecorators": true, 23 | }, 24 | "include": [ 25 | "src" 26 | ] 27 | } 28 | -------------------------------------------------------------------------------- /az-func-as-a-graph.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const path = require('path'); 3 | 4 | const { renderDiagramWithCli } = require('./cli/dist/renderDiagramWithCli'); 5 | 6 | const projectFolder = process.argv[2]; 7 | const outputFile = process.argv[3]; 8 | const settingsFile = process.argv[4]; 9 | 10 | var settings = {}; 11 | 12 | if (!!settingsFile) { 13 | 14 | if (['.htm', '.html', '.md'].includes(path.extname(settingsFile).toLowerCase())) { 15 | 16 | settings = { templateFile: settingsFile }; 17 | 18 | } else { 19 | 20 | settings = JSON.parse(fs.readFileSync(settingsFile, { encoding: 'utf8' })); 21 | } 22 | } 23 | 24 | renderDiagramWithCli(projectFolder, outputFile, settings); -------------------------------------------------------------------------------- /core/dist/fSharpFunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { RegExAndPos } from "./fileSystemWrapperBase"; 3 | import { FunctionProjectCodeParser } from "./functionProjectCodeParser"; 4 | export declare class FSharpFunctionProjectParser extends FunctionProjectCodeParser { 5 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 6 | name: string; 7 | code: string; 8 | filePath: string; 9 | pos: number; 10 | lineNr: number; 11 | }[]>; 12 | protected traverseProjectCode(projectFolder: string): Promise; 13 | protected getFunctionAttributeRegex(): RegExAndPos; 14 | } 15 | -------------------------------------------------------------------------------- /vscode-web-ext-ui/disable-webpack-chunking.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const path = require('path'); 3 | 4 | const webpackConfigJsPath = path.join(`node_modules`, `react-scripts`, `config`, `webpack.config.js`); 5 | let webpackConfigJs = fs.readFileSync(webpackConfigJsPath, { encoding: 'utf8' }); 6 | 7 | if (!webpackConfigJs.includes('LimitChunkCountPlugin')) { 8 | 9 | const limitChunkCountPluginConfig = ` new webpack.optimize.LimitChunkCountPlugin({ maxChunks:1 })\n `; 10 | 11 | webpackConfigJs = webpackConfigJs.replace( 12 | 13 | /].filter\(Boolean\),[^}]+};\s};\s$/, 14 | `${limitChunkCountPluginConfig}$&` 15 | ); 16 | 17 | fs.writeFileSync(webpackConfigJsPath, webpackConfigJs); 18 | } -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/balanced-pool.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from './pool' 2 | import Dispatcher from './dispatcher' 3 | import { URL } from 'url' 4 | 5 | export default BalancedPool 6 | 7 | declare class BalancedPool extends Dispatcher { 8 | constructor(url: string | string[] | URL | URL[], options?: Pool.Options); 9 | 10 | addUpstream(upstream: string | URL): BalancedPool; 11 | removeUpstream(upstream: string | URL): BalancedPool; 12 | upstreams: Array; 13 | 14 | /** `true` after `pool.close()` has been called. */ 15 | closed: boolean; 16 | /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ 17 | destroyed: boolean; 18 | } 19 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/core/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import { AnnotationProperties } from './core'; 2 | import { CommandProperties } from './command'; 3 | /** 4 | * Sanitizes an input into a string so it can be passed into issueCommand safely 5 | * @param input input to sanitize into a string 6 | */ 7 | export declare function toCommandValue(input: any): string; 8 | /** 9 | * 10 | * @param annotationProperties 11 | * @returns The command properties to send with the actual annotation command 12 | * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 13 | */ 14 | export declare function toCommandProperties(annotationProperties: AnnotationProperties): CommandProperties; 15 | -------------------------------------------------------------------------------- /ui/build/static/css/main.5e12335f.css: -------------------------------------------------------------------------------- 1 | body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Arial,Lucida Grande,sans-serif;margin:0;overflow-x:hidden;overflow-y:auto}.title-typography{min-width:320px!important}.zoom-slider{margin-right:50px!important;min-width:100px!important}.filter-button{margin-right:130px!important;min-width:200px!important}.github-link{position:absolute;right:0;top:0}.diagram-div{padding-bottom:30px;padding-top:60px}.diagram-div>svg{display:block;height:100%!important;margin:auto;width:100%!important}.error-typography{padding:30px!important}.bottom-toolbar{padding-bottom:30px;padding-top:30px}.settings-group{float:right;padding-right:100px;padding-top:20px} 2 | /*# sourceMappingURL=main.5e12335f.css.map*/ -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-src/index.js: -------------------------------------------------------------------------------- 1 | import { request } from "@octokit/request"; 2 | import { getUserAgent } from "universal-user-agent"; 3 | import { VERSION } from "./version"; 4 | import { withDefaults } from "./with-defaults"; 5 | const graphql = withDefaults(request, { 6 | headers: { 7 | "user-agent": `octokit-graphql.js/${VERSION} ${getUserAgent()}` 8 | }, 9 | method: "POST", 10 | url: "/graphql" 11 | }); 12 | import { GraphqlResponseError } from "./error"; 13 | function withCustomRequest(customRequest) { 14 | return withDefaults(customRequest, { 15 | method: "POST", 16 | url: "/graphql" 17 | }); 18 | } 19 | export { 20 | GraphqlResponseError, 21 | graphql, 22 | withCustomRequest 23 | }; 24 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/pool-stats.js: -------------------------------------------------------------------------------- 1 | const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('./core/symbols') 2 | const kPool = Symbol('pool') 3 | 4 | class PoolStats { 5 | constructor (pool) { 6 | this[kPool] = pool 7 | } 8 | 9 | get connected () { 10 | return this[kPool][kConnected] 11 | } 12 | 13 | get free () { 14 | return this[kPool][kFree] 15 | } 16 | 17 | get pending () { 18 | return this[kPool][kPending] 19 | } 20 | 21 | get queued () { 22 | return this[kPool][kQueued] 23 | } 24 | 25 | get running () { 26 | return this[kPool][kRunning] 27 | } 28 | 29 | get size () { 30 | return this[kPool][kSize] 31 | } 32 | } 33 | 34 | module.exports = PoolStats 35 | -------------------------------------------------------------------------------- /core/dist/gitUtils.d.ts: -------------------------------------------------------------------------------- 1 | export declare function cloneFromGitHub(url: string): Promise<{ 2 | gitTempFolder: string; 3 | projectFolder: string; 4 | }>; 5 | export declare type GitRepositoryInfo = { 6 | originUrl: string; 7 | repoName: string; 8 | branchName?: string; 9 | tagName?: string; 10 | }; 11 | export declare function getGitRepoInfo(projectFolder: string, repoInfoFromSettings?: GitRepositoryInfo): Promise; 12 | declare type FunctionsOrProxiesMap = { 13 | [name: string]: { 14 | filePath?: string; 15 | lineNr?: number; 16 | }; 17 | }; 18 | export declare function convertLocalPathsToRemote(map: FunctionsOrProxiesMap, sourcesRootFolder: string, repoInfo: GitRepositoryInfo): void; 19 | export {}; 20 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-types/error.d.ts: -------------------------------------------------------------------------------- 1 | import type { ResponseHeaders } from "@octokit/types"; 2 | import type { GraphQlEndpointOptions, GraphQlQueryResponse } from "./types"; 3 | type ServerResponseData = Required>; 4 | export declare class GraphqlResponseError extends Error { 5 | readonly request: GraphQlEndpointOptions; 6 | readonly headers: ResponseHeaders; 7 | readonly response: ServerResponseData; 8 | name: string; 9 | readonly errors: GraphQlQueryResponse["errors"]; 10 | readonly data: ResponseData; 11 | constructor(request: GraphQlEndpointOptions, headers: ResponseHeaders, response: ServerResponseData); 12 | } 13 | export {}; 14 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/fSharpFunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { RegExAndPos } from "./fileSystemWrapperBase"; 3 | import { FunctionProjectCodeParser } from "./functionProjectCodeParser"; 4 | export declare class FSharpFunctionProjectParser extends FunctionProjectCodeParser { 5 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 6 | name: string; 7 | code: string; 8 | filePath: string; 9 | pos: number; 10 | lineNr: number; 11 | }[]>; 12 | protected traverseProjectCode(projectFolder: string): Promise; 13 | protected getFunctionAttributeRegex(): RegExAndPos; 14 | } 15 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/javaFunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { RegExAndPos } from "./fileSystemWrapperBase"; 3 | import { FunctionProjectCodeParser } from "./functionProjectCodeParser"; 4 | export declare class JavaFunctionProjectParser extends FunctionProjectCodeParser { 5 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 6 | name: string; 7 | code: string; 8 | filePath: string; 9 | pos: number; 10 | lineNr: number; 11 | }[]>; 12 | protected traverseProjectCode(projectFolder: string): Promise; 13 | protected getFunctionAttributeRegex(): RegExAndPos; 14 | } 15 | -------------------------------------------------------------------------------- /github-action/node_modules/once/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "once", 3 | "version": "1.4.0", 4 | "description": "Run a function exactly one time", 5 | "main": "once.js", 6 | "directories": { 7 | "test": "test" 8 | }, 9 | "dependencies": { 10 | "wrappy": "1" 11 | }, 12 | "devDependencies": { 13 | "tap": "^7.0.1" 14 | }, 15 | "scripts": { 16 | "test": "tap test/*.js" 17 | }, 18 | "files": [ 19 | "once.js" 20 | ], 21 | "repository": { 22 | "type": "git", 23 | "url": "git://github.com/isaacs/once" 24 | }, 25 | "keywords": [ 26 | "once", 27 | "function", 28 | "one", 29 | "single" 30 | ], 31 | "author": "Isaac Z. Schlueter (http://blog.izs.me/)", 32 | "license": "ISC" 33 | } 34 | -------------------------------------------------------------------------------- /github-action/node_modules/wrappy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "wrappy", 3 | "version": "1.0.2", 4 | "description": "Callback wrapping utility", 5 | "main": "wrappy.js", 6 | "files": [ 7 | "wrappy.js" 8 | ], 9 | "directories": { 10 | "test": "test" 11 | }, 12 | "dependencies": {}, 13 | "devDependencies": { 14 | "tap": "^2.3.1" 15 | }, 16 | "scripts": { 17 | "test": "tap --coverage test/*.js" 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/npm/wrappy" 22 | }, 23 | "author": "Isaac Z. Schlueter (http://blog.izs.me/)", 24 | "license": "ISC", 25 | "bugs": { 26 | "url": "https://github.com/npm/wrappy/issues" 27 | }, 28 | "homepage": "https://github.com/npm/wrappy" 29 | } 30 | -------------------------------------------------------------------------------- /vscode-web-ext-ui/src/index.css: -------------------------------------------------------------------------------- 1 | html { 2 | overflow-y: scroll !important; 3 | } 4 | 5 | body { 6 | margin: 0; 7 | padding: 0; 8 | font-family: sans-serif; 9 | display: table; 10 | width: 100%; 11 | } 12 | 13 | .diagram-div { 14 | padding: 20px; 15 | } 16 | 17 | .diagram-div > svg { 18 | display: block; 19 | margin: auto; 20 | width: 100% !important; 21 | height: 100% !important; 22 | } 23 | 24 | .error-typography { 25 | padding: 30px !important; 26 | } 27 | 28 | .bottom-toolbar { 29 | padding-top: 30px; 30 | padding-bottom: 30px; 31 | } 32 | 33 | .settings-group { 34 | padding-top: 20px; 35 | padding-right: 100px; 36 | float:right; 37 | } 38 | 39 | .toolbar-button { 40 | width: 100px !important; 41 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/graphql/dist-src/error.js: -------------------------------------------------------------------------------- 1 | function _buildMessageForResponseErrors(data) { 2 | return `Request failed due to following response errors: 3 | ` + data.errors.map((e) => ` - ${e.message}`).join("\n"); 4 | } 5 | class GraphqlResponseError extends Error { 6 | constructor(request, headers, response) { 7 | super(_buildMessageForResponseErrors(response)); 8 | this.request = request; 9 | this.headers = headers; 10 | this.response = response; 11 | this.name = "GraphqlResponseError"; 12 | this.errors = response.errors; 13 | this.data = response.data; 14 | if (Error.captureStackTrace) { 15 | Error.captureStackTrace(this, this.constructor); 16 | } 17 | } 18 | } 19 | export { 20 | GraphqlResponseError 21 | }; 22 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/EndpointDefaults.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestHeaders } from "./RequestHeaders"; 2 | import type { RequestMethod } from "./RequestMethod"; 3 | import type { RequestParameters } from "./RequestParameters"; 4 | import type { Url } from "./Url"; 5 | /** 6 | * The `.endpoint()` method is guaranteed to set all keys defined by RequestParameters 7 | * as well as the method property. 8 | */ 9 | export type EndpointDefaults = RequestParameters & { 10 | baseUrl: Url; 11 | method: RequestMethod; 12 | url?: Url; 13 | headers: RequestHeaders & { 14 | accept: string; 15 | "user-agent": string; 16 | }; 17 | mediaType: { 18 | format: string; 19 | previews?: string[]; 20 | }; 21 | }; 22 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/docs/best-practices/writing-tests.md: -------------------------------------------------------------------------------- 1 | # Writing tests 2 | 3 | Undici is tuned for a production use case and its default will keep 4 | a socket open for a few seconds after an HTTP request is completed to 5 | remove the overhead of opening up a new socket. These settings that makes 6 | Undici shine in production are not a good fit for using Undici in automated 7 | tests, as it will result in longer execution times. 8 | 9 | The following are good defaults that will keep the socket open for only 10ms: 10 | 11 | ```js 12 | import { request, setGlobalDispatcher, Agent } from 'undici' 13 | 14 | const agent = new Agent({ 15 | keepAliveTimeout: 10, // milliseconds 16 | keepAliveMaxTimeout: 10 // milliseconds 17 | }) 18 | 19 | setGlobalDispatcher(agent) 20 | ``` 21 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/pool-stats.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from "./pool" 2 | 3 | export default PoolStats 4 | 5 | declare class PoolStats { 6 | constructor(pool: Pool); 7 | /** Number of open socket connections in this pool. */ 8 | connected: number; 9 | /** Number of open socket connections in this pool that do not have an active request. */ 10 | free: number; 11 | /** Number of pending requests across all clients in this pool. */ 12 | pending: number; 13 | /** Number of queued requests across all clients in this pool. */ 14 | queued: number; 15 | /** Number of currently active requests across all clients in this pool. */ 16 | running: number; 17 | /** Number of active, pending, or queued requests across all clients in this pool. */ 18 | size: number; 19 | } 20 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/core/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";AAAA,mCAAmC;AACnC,uDAAuD;;;AAKvD;;;GAGG;AACH,SAAgB,cAAc,CAAC,KAAU;IACvC,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,EAAE;QACzC,OAAO,EAAE,CAAA;KACV;SAAM,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,EAAE;QAC/D,OAAO,KAAe,CAAA;KACvB;IACD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;AAC9B,CAAC;AAPD,wCAOC;AAED;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,oBAA0C;IAE1C,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,MAAM,EAAE;QAC7C,OAAO,EAAE,CAAA;KACV;IAED,OAAO;QACL,KAAK,EAAE,oBAAoB,CAAC,KAAK;QACjC,IAAI,EAAE,oBAAoB,CAAC,IAAI;QAC/B,IAAI,EAAE,oBAAoB,CAAC,SAAS;QACpC,OAAO,EAAE,oBAAoB,CAAC,OAAO;QACrC,GAAG,EAAE,oBAAoB,CAAC,WAAW;QACrC,SAAS,EAAE,oBAAoB,CAAC,SAAS;KAC1C,CAAA;AACH,CAAC;AAfD,kDAeC"} -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/cookies.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | import type { Headers } from './fetch' 4 | 5 | export interface Cookie { 6 | name: string 7 | value: string 8 | expires?: Date | number 9 | maxAge?: number 10 | domain?: string 11 | path?: string 12 | secure?: boolean 13 | httpOnly?: boolean 14 | sameSite?: 'Strict' | 'Lax' | 'None' 15 | unparsed?: string[] 16 | } 17 | 18 | export function deleteCookie ( 19 | headers: Headers, 20 | name: string, 21 | attributes?: { name?: string, domain?: string } 22 | ): void 23 | 24 | export function getCookies (headers: Headers): Record 25 | 26 | export function getSetCookies (headers: Headers): Cookie[] 27 | 28 | export function setCookie (headers: Headers, cookie: Cookie): void 29 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/gitUtils.d.ts: -------------------------------------------------------------------------------- 1 | export declare function cloneFromGitHub(url: string): Promise<{ 2 | gitTempFolder: string; 3 | projectFolder: string; 4 | }>; 5 | export declare type GitRepositoryInfo = { 6 | originUrl: string; 7 | repoName: string; 8 | branchName?: string; 9 | tagName?: string; 10 | }; 11 | export declare function getGitRepoInfo(projectFolder: string, repoInfoFromSettings?: GitRepositoryInfo): Promise; 12 | declare type FunctionsOrProxiesMap = { 13 | [name: string]: { 14 | filePath?: string; 15 | lineNr?: number; 16 | }; 17 | }; 18 | export declare function convertLocalPathsToRemote(map: FunctionsOrProxiesMap, sourcesRootFolder: string, repoInfo: GitRepositoryInfo): void; 19 | export {}; 20 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/interceptor/redirectInterceptor.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | const RedirectHandler = require('../handler/RedirectHandler') 4 | 5 | function createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) { 6 | return (dispatch) => { 7 | return function Intercept (opts, handler) { 8 | const { maxRedirections = defaultMaxRedirections } = opts 9 | 10 | if (!maxRedirections) { 11 | return dispatch(opts, handler) 12 | } 13 | 14 | const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler) 15 | opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting. 16 | return dispatch(opts, redirectHandler) 17 | } 18 | } 19 | } 20 | 21 | module.exports = createRedirectInterceptor 22 | -------------------------------------------------------------------------------- /vscode-web-ext/src/web/test/suite/index.ts: -------------------------------------------------------------------------------- 1 | // Imports mocha for the browser, defining the `mocha` global. 2 | require('mocha/mocha'); 3 | 4 | export function run(): Promise { 5 | 6 | return new Promise((c, e) => { 7 | mocha.setup({ 8 | ui: 'tdd', 9 | reporter: undefined 10 | }); 11 | 12 | // Bundles all files in the current directory matching `*.test` 13 | const importAll = (r: __WebpackModuleApi.RequireContext) => r.keys().forEach(r); 14 | importAll(require.context('.', true, /\.test$/)); 15 | 16 | try { 17 | // Run the mocha test 18 | mocha.run(failures => { 19 | if (failures > 0) { 20 | e(new Error(`${failures} tests failed.`)); 21 | } else { 22 | c(); 23 | } 24 | }); 25 | } catch (err) { 26 | console.error(err); 27 | e(err); 28 | } 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /github-action/node_modules/@fastify/busboy/lib/utils/decodeText.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // Node has always utf-8 4 | const utf8Decoder = new TextDecoder('utf-8') 5 | const textDecoders = new Map([ 6 | ['utf-8', utf8Decoder], 7 | ['utf8', utf8Decoder] 8 | ]) 9 | 10 | function decodeText (text, textEncoding, destEncoding) { 11 | if (text) { 12 | if (textDecoders.has(destEncoding)) { 13 | try { 14 | return textDecoders.get(destEncoding).decode(Buffer.from(text, textEncoding)) 15 | } catch (e) { } 16 | } else { 17 | try { 18 | textDecoders.set(destEncoding, new TextDecoder(destEncoding)) 19 | return textDecoders.get(destEncoding).decode(Buffer.from(text, textEncoding)) 20 | } catch (e) { } 21 | } 22 | } 23 | return text 24 | } 25 | 26 | module.exports = decodeText 27 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/handler/DecoratorHandler.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = class DecoratorHandler { 4 | constructor (handler) { 5 | this.handler = handler 6 | } 7 | 8 | onConnect (...args) { 9 | return this.handler.onConnect(...args) 10 | } 11 | 12 | onError (...args) { 13 | return this.handler.onError(...args) 14 | } 15 | 16 | onUpgrade (...args) { 17 | return this.handler.onUpgrade(...args) 18 | } 19 | 20 | onHeaders (...args) { 21 | return this.handler.onHeaders(...args) 22 | } 23 | 24 | onData (...args) { 25 | return this.handler.onData(...args) 26 | } 27 | 28 | onComplete (...args) { 29 | return this.handler.onComplete(...args) 30 | } 31 | 32 | onBodySent (...args) { 33 | return this.handler.onBodySent(...args) 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /__test/renderDiagramWithCli.test.ts: -------------------------------------------------------------------------------- 1 | 2 | import * as cp from 'child_process'; 3 | import * as util from 'util'; 4 | 5 | (util as any).promisify = (func => { 6 | 7 | if (func === cp.exec) { 8 | 9 | return (cmd) => { 10 | 11 | const res = cmd.startsWith('git rev-parse') ? 'my-branch' : 'https://user:password@github.com/my-org/my-repo'; 12 | 13 | return Promise.resolve({ stdout: res }); 14 | } 15 | } 16 | }); 17 | 18 | import { getGitRepoInfo } from '../core/gitUtils'; 19 | 20 | test('getGitRepoInfo', async () => { 21 | 22 | const result = await getGitRepoInfo(__dirname); 23 | 24 | expect(result.originUrl).toBe('https://github.com/my-org/my-repo'); 25 | expect(result.repoName).toBe('my-repo'); 26 | expect(result.branchName).toBe('my-branch'); 27 | }); 28 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-types/iterator.d.ts: -------------------------------------------------------------------------------- 1 | import type { Octokit } from "@octokit/core"; 2 | import type { RequestInterface, RequestParameters, Route } from "./types"; 3 | export declare function iterator(octokit: Octokit, route: Route | RequestInterface, parameters?: RequestParameters): { 4 | [Symbol.asyncIterator]: () => { 5 | next(): Promise<{ 6 | done: boolean; 7 | value?: undefined; 8 | } | { 9 | value: import("@octokit/types/dist-types/OctokitResponse").OctokitResponse; 10 | done?: undefined; 11 | } | { 12 | value: { 13 | status: number; 14 | headers: {}; 15 | data: never[]; 16 | }; 17 | done?: undefined; 18 | }>; 19 | }; 20 | }; 21 | -------------------------------------------------------------------------------- /github-action/node_modules/before-after-hook/lib/register.js: -------------------------------------------------------------------------------- 1 | module.exports = register; 2 | 3 | function register(state, name, method, options) { 4 | if (typeof method !== "function") { 5 | throw new Error("method for before hook must be a function"); 6 | } 7 | 8 | if (!options) { 9 | options = {}; 10 | } 11 | 12 | if (Array.isArray(name)) { 13 | return name.reverse().reduce(function (callback, name) { 14 | return register.bind(null, state, name, callback, options); 15 | }, method)(); 16 | } 17 | 18 | return Promise.resolve().then(function () { 19 | if (!state.registry[name]) { 20 | return method(options); 21 | } 22 | 23 | return state.registry[name].reduce(function (method, registered) { 24 | return registered.hook.bind(null, method, options); 25 | }, method)(); 26 | }); 27 | } 28 | -------------------------------------------------------------------------------- /dist/core/fileSystemWrapper.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"fileSystemWrapper.js","sourceRoot":"","sources":["../../core/fileSystemWrapper.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iCAAiC;AACjC,6BAA6B;AAC7B,mEAAgE;AAEhE,yDAAyD;AACzD,MAAa,iBAAkB,SAAQ,6CAAqB;IAEjD,QAAQ,CAAC,KAAa,EAAE,KAAa;QAExC,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IACnC,CAAC;IAEG,OAAO,CAAC,KAAa;QAErB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IAClC,CAAC;IAEe,QAAQ,CAAC,IAAY;;YAE9B,OAAO,MAAM,UAAU,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;QAC1E,CAAC;KAAA;IAEY,WAAW,CAAC,IAAY;;YAEjC,OAAO,CAAC,MAAM,UAAU,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;QACjE,CAAC;KAAA;IAEY,OAAO,CAAC,IAAY;;YAE7B,OAAO,MAAM,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACnD,CAAC;KAAA;IAEY,UAAU,CAAC,IAAY;;YAEhC,OAAO,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;KAAA;CACJ;AA/BD,8CA+BC"} -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from "./AuthInterface"; 2 | export * from "./EndpointDefaults"; 3 | export * from "./EndpointInterface"; 4 | export * from "./EndpointOptions"; 5 | export * from "./Fetch"; 6 | export * from "./OctokitResponse"; 7 | export * from "./RequestError"; 8 | export * from "./RequestHeaders"; 9 | export * from "./RequestInterface"; 10 | export * from "./RequestMethod"; 11 | export * from "./RequestOptions"; 12 | export * from "./RequestParameters"; 13 | export * from "./RequestRequestOptions"; 14 | export * from "./ResponseHeaders"; 15 | export * from "./Route"; 16 | export * from "./Signal"; 17 | export * from "./StrategyInterface"; 18 | export * from "./Url"; 19 | export * from "./VERSION"; 20 | export * from "./GetResponseTypeFromEndpointMethod"; 21 | export * from "./generated/Endpoints"; 22 | -------------------------------------------------------------------------------- /github-action/node_modules/once/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /github-action/node_modules/wrappy/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Isaac Z. Schlueter and Contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /github-action/node_modules/deprecation/LICENSE: -------------------------------------------------------------------------------- 1 | The ISC License 2 | 3 | Copyright (c) Gregor Martynus and contributors 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any 6 | purpose with or without fee is hereby granted, provided that the above 7 | copyright notice and this permission notice appear in all copies. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR 15 | IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/umd/uuidStringify.min.js: -------------------------------------------------------------------------------- 1 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidStringify=t()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function t(t){return"string"==typeof t&&e.test(t)}for(var i=[],n=0;n<256;++n)i.push((n+256).toString(16).substr(1));return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,f=(i[e[n+0]]+i[e[n+1]]+i[e[n+2]]+i[e[n+3]]+"-"+i[e[n+4]]+i[e[n+5]]+"-"+i[e[n+6]]+i[e[n+7]]+"-"+i[e[n+8]]+i[e[n+9]]+"-"+i[e[n+10]]+i[e[n+11]]+i[e[n+12]]+i[e[n+13]]+i[e[n+14]]+i[e[n+15]]).toLowerCase();if(!t(f))throw TypeError("Stringified UUID is invalid");return f}})); -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/context.d.ts: -------------------------------------------------------------------------------- 1 | import { WebhookPayload } from './interfaces'; 2 | export declare class Context { 3 | /** 4 | * Webhook payload object that triggered the workflow 5 | */ 6 | payload: WebhookPayload; 7 | eventName: string; 8 | sha: string; 9 | ref: string; 10 | workflow: string; 11 | action: string; 12 | actor: string; 13 | job: string; 14 | runNumber: number; 15 | runId: number; 16 | apiUrl: string; 17 | serverUrl: string; 18 | graphqlUrl: string; 19 | /** 20 | * Hydrate the context from the environment 21 | */ 22 | constructor(); 23 | get issue(): { 24 | owner: string; 25 | repo: string; 26 | number: number; 27 | }; 28 | get repo(): { 29 | owner: string; 30 | repo: string; 31 | }; 32 | } 33 | -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/LICENSE.md: -------------------------------------------------------------------------------- 1 | # [ISC License](https://spdx.org/licenses/ISC) 2 | 3 | Copyright (c) 2018, Gregor Martynus (https://github.com/gr2m) 4 | 5 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 8 | -------------------------------------------------------------------------------- /github-action/node_modules/wrappy/README.md: -------------------------------------------------------------------------------- 1 | # wrappy 2 | 3 | Callback wrapping utility 4 | 5 | ## USAGE 6 | 7 | ```javascript 8 | var wrappy = require("wrappy") 9 | 10 | // var wrapper = wrappy(wrapperFunction) 11 | 12 | // make sure a cb is called only once 13 | // See also: http://npm.im/once for this specific use case 14 | var once = wrappy(function (cb) { 15 | var called = false 16 | return function () { 17 | if (called) return 18 | called = true 19 | return cb.apply(this, arguments) 20 | } 21 | }) 22 | 23 | function printBoo () { 24 | console.log('boo') 25 | } 26 | // has some rando property 27 | printBoo.iAmBooPrinter = true 28 | 29 | var onlyPrintOnce = once(printBoo) 30 | 31 | onlyPrintOnce() // prints 'boo' 32 | onlyPrintOnce() // does nothing 33 | 34 | // random property is retained! 35 | assert.equal(onlyPrintOnce.iAmBooPrinter, true) 36 | ``` 37 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/utils.d.ts: -------------------------------------------------------------------------------- 1 | import * as Context from './context'; 2 | import { Octokit } from '@octokit/core'; 3 | import { OctokitOptions } from '@octokit/core/dist-types/types'; 4 | export declare const context: Context.Context; 5 | export declare const defaults: OctokitOptions; 6 | export declare const GitHub: typeof Octokit & import("@octokit/core/dist-types/types").Constructor; 9 | /** 10 | * Convience function to correctly format Octokit Options to pass into the constructor. 11 | * 12 | * @param token the repo PAT or GITHUB_TOKEN 13 | * @param options other options to set 14 | */ 15 | export declare function getOctokitOptions(token: string, options?: OctokitOptions): OctokitOptions; 16 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/llhttp/wasm_build_env.txt: -------------------------------------------------------------------------------- 1 | alpine-baselayout-data-3.4.0-r0 2 | musl-1.2.3-r4 3 | busybox-1.35.0-r29 4 | busybox-binsh-1.35.0-r29 5 | alpine-baselayout-3.4.0-r0 6 | alpine-keys-2.4-r1 7 | ca-certificates-bundle-20220614-r4 8 | libcrypto3-3.0.8-r3 9 | libssl3-3.0.8-r3 10 | ssl_client-1.35.0-r29 11 | zlib-1.2.13-r0 12 | apk-tools-2.12.10-r1 13 | scanelf-1.3.5-r1 14 | musl-utils-1.2.3-r4 15 | libc-utils-0.7.2-r3 16 | libgcc-12.2.1_git20220924-r4 17 | libstdc++-12.2.1_git20220924-r4 18 | libffi-3.4.4-r0 19 | xz-libs-5.2.9-r0 20 | libxml2-2.10.4-r0 21 | zstd-libs-1.5.5-r0 22 | llvm15-libs-15.0.7-r0 23 | clang15-libs-15.0.7-r0 24 | libstdc++-dev-12.2.1_git20220924-r4 25 | clang15-15.0.7-r0 26 | lld-libs-15.0.7-r0 27 | lld-15.0.7-r0 28 | wasi-libc-0.20220525-r1 29 | wasi-libcxx-15.0.7-r0 30 | wasi-libcxxabi-15.0.7-r0 31 | wasi-compiler-rt-15.0.7-r0 32 | wasi-sdk-16-r0 33 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/utils.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAoC;AACpC,wDAAyC;AAEzC,oBAAoB;AACpB,wCAAqC;AAErC,wFAAyE;AACzE,wEAA0D;AAE7C,QAAA,OAAO,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,CAAA;AAE5C,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAA;AACxB,QAAA,QAAQ,GAAmB;IACtC,OAAO;IACP,OAAO,EAAE;QACP,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;QACnC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC;KACpC;CACF,CAAA;AAEY,QAAA,MAAM,GAAG,cAAO,CAAC,MAAM,CAClC,kDAAmB,EACnB,mCAAY,CACb,CAAC,QAAQ,CAAC,gBAAQ,CAAC,CAAA;AAEpB;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,KAAa,EACb,OAAwB;IAExB,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,OAAO,IAAI,EAAE,CAAC,CAAA,CAAC,iEAAiE;IAE/G,OAAO;IACP,MAAM,IAAI,GAAG,KAAK,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,CAAA;IAC7C,IAAI,IAAI,EAAE;QACR,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;KACjB;IAED,OAAO,IAAI,CAAA;AACb,CAAC;AAbD,8CAaC"} -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/dist-web/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["export function getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n return \"\";\n}\n"],"names":[],"mappings":"AAAO,SAAS,YAAY,GAAG;AAC/B,IAAI,IAAI,OAAO,SAAS,KAAK,QAAQ,IAAI,WAAW,IAAI,SAAS,EAAE;AACnE,QAAQ,OAAO,SAAS,CAAC,SAAS,CAAC;AACnC,KAAK;AACL,IAAI,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,SAAS,IAAI,OAAO,EAAE;AAC7D,QAAQ,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7F,KAAK;AACL,IAAI,OAAO,4BAA4B,CAAC;AACxC;;;;"} -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/dist-types/RequestRequestOptions.d.ts: -------------------------------------------------------------------------------- 1 | import type { Fetch } from "./Fetch"; 2 | import type { Signal } from "./Signal"; 3 | /** 4 | * Octokit-specific request options which are ignored for the actual request, but can be used by Octokit or plugins to manipulate how the request is sent or how a response is handled 5 | */ 6 | export type RequestRequestOptions = { 7 | /** 8 | * Custom replacement for built-in fetch method. Useful for testing or request hooks. 9 | */ 10 | fetch?: Fetch; 11 | /** 12 | * Use an `AbortController` instance to cancel a request. In node you can only cancel streamed requests. 13 | */ 14 | signal?: Signal; 15 | /** 16 | * If set to `false`, the response body will not be parsed and will be returned as a stream. 17 | */ 18 | parseSuccessResponseBody?: boolean; 19 | [option: string]: any; 20 | }; 21 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/mock/mock-symbols.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | module.exports = { 4 | kAgent: Symbol('agent'), 5 | kOptions: Symbol('options'), 6 | kFactory: Symbol('factory'), 7 | kDispatches: Symbol('dispatches'), 8 | kDispatchKey: Symbol('dispatch key'), 9 | kDefaultHeaders: Symbol('default headers'), 10 | kDefaultTrailers: Symbol('default trailers'), 11 | kContentLength: Symbol('content length'), 12 | kMockAgent: Symbol('mock agent'), 13 | kMockAgentSet: Symbol('mock agent set'), 14 | kMockAgentGet: Symbol('mock agent get'), 15 | kMockDispatch: Symbol('mock dispatch'), 16 | kClose: Symbol('close'), 17 | kOriginalClose: Symbol('original agent close'), 18 | kOrigin: Symbol('origin'), 19 | kIsMockActive: Symbol('is mock active'), 20 | kNetConnect: Symbol('net connect'), 21 | kGetNetConnect: Symbol('get net connect'), 22 | kConnected: Symbol('connected') 23 | } 24 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/umd/uuidParse.min.js: -------------------------------------------------------------------------------- 1 | !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).uuidParse=n()}(this,(function(){"use strict";var e=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;return function(n){if(!function(n){return"string"==typeof n&&e.test(n)}(n))throw TypeError("Invalid UUID");var t,i=new Uint8Array(16);return i[0]=(t=parseInt(n.slice(0,8),16))>>>24,i[1]=t>>>16&255,i[2]=t>>>8&255,i[3]=255&t,i[4]=(t=parseInt(n.slice(9,13),16))>>>8,i[5]=255&t,i[6]=(t=parseInt(n.slice(14,18),16))>>>8,i[7]=255&t,i[8]=(t=parseInt(n.slice(19,23),16))>>>8,i[9]=255&t,i[10]=(t=parseInt(n.slice(24,36),16))/1099511627776&255,i[11]=t/4294967296&255,i[12]=t>>>24&255,i[13]=t>>>16&255,i[14]=t>>>8&255,i[15]=255&t,i}})); -------------------------------------------------------------------------------- /github-action/node_modules/tunnel/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "tunnel", 3 | "version": "0.0.6", 4 | "description": "Node HTTP/HTTPS Agents for tunneling proxies", 5 | "keywords": [ 6 | "http", 7 | "https", 8 | "agent", 9 | "proxy", 10 | "tunnel" 11 | ], 12 | "homepage": "https://github.com/koichik/node-tunnel/", 13 | "bugs": "https://github.com/koichik/node-tunnel/issues", 14 | "license": "MIT", 15 | "author": "Koichi Kobayashi ", 16 | "main": "./index.js", 17 | "directories": { 18 | "lib": "./lib" 19 | }, 20 | "repository": { 21 | "type": "git", 22 | "url": "https://github.com/koichik/node-tunnel.git" 23 | }, 24 | "scripts": { 25 | "test": "mocha" 26 | }, 27 | "devDependencies": { 28 | "mocha": "^5.2.0", 29 | "should": "^13.2.3" 30 | }, 31 | "engines": { 32 | "node": ">=0.6.11 <=0.7.0 || >=0.7.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /core/dist/powershellFunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { FunctionProjectParserBase } from './functionProjectParserBase'; 3 | import { RegExAndPos } from "./fileSystemWrapperBase"; 4 | export declare class PowershellFunctionProjectParser extends FunctionProjectParserBase { 5 | traverseFunctions(projectFolder: string): Promise; 6 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 7 | name: string; 8 | code: string; 9 | filePath: string; 10 | pos: number; 11 | lineNr: number; 12 | }[]>; 13 | protected getStartNewOrchestrationRegex(orchName: string): RegExp; 14 | protected getCallActivityRegex(activityName: string): RegExp; 15 | protected getRaiseEventRegex(eventName: string): RegExp; 16 | protected getWaitForExternalEventRegex(): RegExAndPos; 17 | } 18 | -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/dist-node/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sources":["../dist-src/index.js"],"sourcesContent":["export function getUserAgent() {\n if (typeof navigator === \"object\" && \"userAgent\" in navigator) {\n return navigator.userAgent;\n }\n if (typeof process === \"object\" && \"version\" in process) {\n return `Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`;\n }\n return \"\";\n}\n"],"names":["getUserAgent","navigator","userAgent","process","version","substr","platform","arch"],"mappings":";;;;AAAO,SAASA,YAAT,GAAwB;AAC3B,MAAI,OAAOC,SAAP,KAAqB,QAArB,IAAiC,eAAeA,SAApD,EAA+D;AAC3D,WAAOA,SAAS,CAACC,SAAjB;AACH;;AACD,MAAI,OAAOC,OAAP,KAAmB,QAAnB,IAA+B,aAAaA,OAAhD,EAAyD;AACrD,WAAQ,WAAUA,OAAO,CAACC,OAAR,CAAgBC,MAAhB,CAAuB,CAAvB,CAA0B,KAAIF,OAAO,CAACG,QAAS,KAAIH,OAAO,CAACI,IAAK,GAAlF;AACH;;AACD,SAAO,4BAAP;AACH;;;;"} -------------------------------------------------------------------------------- /github-action/node_modules/.bin/uuid.ps1: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env pwsh 2 | $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent 3 | 4 | $exe="" 5 | if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { 6 | # Fix case when both the Windows and Linux builds of Node 7 | # are installed in the same directory 8 | $exe=".exe" 9 | } 10 | $ret=0 11 | if (Test-Path "$basedir/node$exe") { 12 | # Support pipeline input 13 | if ($MyInvocation.ExpectingInput) { 14 | $input | & "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args 15 | } else { 16 | & "$basedir/node$exe" "$basedir/../uuid/dist/bin/uuid" $args 17 | } 18 | $ret=$LASTEXITCODE 19 | } else { 20 | # Support pipeline input 21 | if ($MyInvocation.ExpectingInput) { 22 | $input | & "node$exe" "$basedir/../uuid/dist/bin/uuid" $args 23 | } else { 24 | & "node$exe" "$basedir/../uuid/dist/bin/uuid" $args 25 | } 26 | $ret=$LASTEXITCODE 27 | } 28 | exit $ret 29 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/core/lib/path-utils.d.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * toPosixPath converts the given path to the posix form. On Windows, \\ will be 3 | * replaced with /. 4 | * 5 | * @param pth. Path to transform. 6 | * @return string Posix path. 7 | */ 8 | export declare function toPosixPath(pth: string): string; 9 | /** 10 | * toWin32Path converts the given path to the win32 form. On Linux, / will be 11 | * replaced with \\. 12 | * 13 | * @param pth. Path to transform. 14 | * @return string Win32 path. 15 | */ 16 | export declare function toWin32Path(pth: string): string; 17 | /** 18 | * toPlatformPath converts the given path to a platform-specific path. It does 19 | * this by replacing instances of / and \ with the platform-specific path 20 | * separator. 21 | * 22 | * @param pth The path to platformize. 23 | * @return string The platform-specific path. 24 | */ 25 | export declare function toPlatformPath(pth: string): string; 26 | -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "2.0.0", 3 | "tasks": [ 4 | { 5 | "type": "func", 6 | "label": "func: host start", 7 | "command": "host start", 8 | "problemMatcher": "$func-node-watch", 9 | "isBackground": true, 10 | "dependsOn": "npm build" 11 | }, 12 | { 13 | "type": "shell", 14 | "label": "npm build", 15 | "command": "npm run build", 16 | "dependsOn": "npm install", 17 | "problemMatcher": "$tsc" 18 | }, 19 | { 20 | "type": "shell", 21 | "label": "npm install", 22 | "command": "npm install" 23 | }, 24 | { 25 | "type": "shell", 26 | "label": "npm prune", 27 | "command": "npm prune --production", 28 | "dependsOn": "npm build", 29 | "problemMatcher": [] 30 | } 31 | ] 32 | } -------------------------------------------------------------------------------- /github-action/node_modules/is-plain-object/dist/is-plain-object.mjs: -------------------------------------------------------------------------------- 1 | /*! 2 | * is-plain-object 3 | * 4 | * Copyright (c) 2014-2017, Jon Schlinkert. 5 | * Released under the MIT License. 6 | */ 7 | 8 | function isObject(o) { 9 | return Object.prototype.toString.call(o) === '[object Object]'; 10 | } 11 | 12 | function isPlainObject(o) { 13 | var ctor,prot; 14 | 15 | if (isObject(o) === false) return false; 16 | 17 | // If has modified constructor 18 | ctor = o.constructor; 19 | if (ctor === undefined) return true; 20 | 21 | // If has modified prototype 22 | prot = ctor.prototype; 23 | if (isObject(prot) === false) return false; 24 | 25 | // If constructor does not have an Object-specific method 26 | if (prot.hasOwnProperty('isPrototypeOf') === false) { 27 | return false; 28 | } 29 | 30 | // Most likely a plain Object 31 | return true; 32 | } 33 | 34 | export { isPlainObject }; 35 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/powershellFunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { FunctionProjectParserBase } from './functionProjectParserBase'; 3 | import { RegExAndPos } from "./fileSystemWrapperBase"; 4 | export declare class PowershellFunctionProjectParser extends FunctionProjectParserBase { 5 | traverseFunctions(projectFolder: string): Promise; 6 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 7 | name: string; 8 | code: string; 9 | filePath: string; 10 | pos: number; 11 | lineNr: number; 12 | }[]>; 13 | protected getStartNewOrchestrationRegex(orchName: string): RegExp; 14 | protected getCallActivityRegex(activityName: string): RegExp; 15 | protected getRaiseEventRegex(eventName: string): RegExp; 16 | protected getWaitForExternalEventRegex(): RegExAndPos; 17 | } 18 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/docs/api/PoolStats.md: -------------------------------------------------------------------------------- 1 | # Class: PoolStats 2 | 3 | Aggregate stats for a [Pool](Pool.md) or [BalancedPool](BalancedPool.md). 4 | 5 | ## `new PoolStats(pool)` 6 | 7 | Arguments: 8 | 9 | * **pool** `Pool` - Pool or BalancedPool from which to return stats. 10 | 11 | ## Instance Properties 12 | 13 | ### `PoolStats.connected` 14 | 15 | Number of open socket connections in this pool. 16 | 17 | ### `PoolStats.free` 18 | 19 | Number of open socket connections in this pool that do not have an active request. 20 | 21 | ### `PoolStats.pending` 22 | 23 | Number of pending requests across all clients in this pool. 24 | 25 | ### `PoolStats.queued` 26 | 27 | Number of queued requests across all clients in this pool. 28 | 29 | ### `PoolStats.running` 30 | 31 | Number of currently active requests across all clients in this pool. 32 | 33 | ### `PoolStats.size` 34 | 35 | Number of active, pending, or queued requests across all clients in this pool. 36 | -------------------------------------------------------------------------------- /github-action/node_modules/deprecation/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "deprecation", 3 | "description": "Log a deprecation message with stack", 4 | "version": "2.3.1", 5 | "license": "ISC", 6 | "files": [ 7 | "dist-*/", 8 | "bin/" 9 | ], 10 | "esnext": "dist-src/index.js", 11 | "main": "dist-node/index.js", 12 | "module": "dist-web/index.js", 13 | "types": "dist-types/index.d.ts", 14 | "pika": true, 15 | "sideEffects": false, 16 | "keywords": [ 17 | "deprecate", 18 | "deprecated", 19 | "deprecation" 20 | ], 21 | "repository": { 22 | "type": "git", 23 | "url": "https://github.com/gr2m/deprecation.git" 24 | }, 25 | "dependencies": {}, 26 | "devDependencies": { 27 | "@pika/pack": "^0.3.7", 28 | "@pika/plugin-build-node": "^0.4.0", 29 | "@pika/plugin-build-types": "^0.4.0", 30 | "@pika/plugin-build-web": "^0.4.0", 31 | "@pika/plugin-standard-pkg": "^0.4.0", 32 | "semantic-release": "^15.13.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/plugin-paginate-rest/dist-src/paginate.js: -------------------------------------------------------------------------------- 1 | import { iterator } from "./iterator"; 2 | function paginate(octokit, route, parameters, mapFn) { 3 | if (typeof parameters === "function") { 4 | mapFn = parameters; 5 | parameters = void 0; 6 | } 7 | return gather( 8 | octokit, 9 | [], 10 | iterator(octokit, route, parameters)[Symbol.asyncIterator](), 11 | mapFn 12 | ); 13 | } 14 | function gather(octokit, results, iterator2, mapFn) { 15 | return iterator2.next().then((result) => { 16 | if (result.done) { 17 | return results; 18 | } 19 | let earlyExit = false; 20 | function done() { 21 | earlyExit = true; 22 | } 23 | results = results.concat( 24 | mapFn ? mapFn(result.value, done) : result.value.data 25 | ); 26 | if (earlyExit) { 27 | return results; 28 | } 29 | return gather(octokit, results, iterator2, mapFn); 30 | }); 31 | } 32 | export { 33 | paginate 34 | }; 35 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/proxy-agent.d.ts: -------------------------------------------------------------------------------- 1 | import Agent from './agent' 2 | import buildConnector from './connector'; 3 | import Client from './client' 4 | import Dispatcher from './dispatcher' 5 | import { IncomingHttpHeaders } from './header' 6 | import Pool from './pool' 7 | 8 | export default ProxyAgent 9 | 10 | declare class ProxyAgent extends Dispatcher { 11 | constructor(options: ProxyAgent.Options | string) 12 | 13 | dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean; 14 | close(): Promise; 15 | } 16 | 17 | declare namespace ProxyAgent { 18 | export interface Options extends Agent.Options { 19 | uri: string; 20 | /** 21 | * @deprecated use opts.token 22 | */ 23 | auth?: string; 24 | token?: string; 25 | headers?: IncomingHttpHeaders; 26 | requestTls?: buildConnector.BuildOptions; 27 | proxyTls?: buildConnector.BuildOptions; 28 | clientFactory?(origin: URL, opts: object): Dispatcher; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "universal-user-agent", 3 | "description": "Get a user agent string in both browser and node", 4 | "version": "6.0.0", 5 | "license": "ISC", 6 | "files": [ 7 | "dist-*/", 8 | "bin/" 9 | ], 10 | "pika": true, 11 | "sideEffects": false, 12 | "keywords": [], 13 | "repository": "https://github.com/gr2m/universal-user-agent.git", 14 | "dependencies": {}, 15 | "devDependencies": { 16 | "@gr2m/pika-plugin-build-web": "^0.6.0-issue-84.1", 17 | "@pika/pack": "^0.5.0", 18 | "@pika/plugin-build-node": "^0.9.1", 19 | "@pika/plugin-ts-standard-pkg": "^0.9.1", 20 | "@types/jest": "^25.1.0", 21 | "jest": "^24.9.0", 22 | "prettier": "^2.0.0", 23 | "semantic-release": "^17.0.5", 24 | "ts-jest": "^26.0.0", 25 | "typescript": "^3.6.2" 26 | }, 27 | "source": "dist-src/index.js", 28 | "types": "dist-types/index.d.ts", 29 | "main": "dist-node/index.js", 30 | "module": "dist-web/index.js" 31 | } 32 | -------------------------------------------------------------------------------- /core/dist/pythonV2FunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { RegExAndPos } from "./fileSystemWrapperBase"; 3 | import { FunctionProjectCodeParser } from "./functionProjectCodeParser"; 4 | export declare class PythonV2FunctionProjectParser extends FunctionProjectCodeParser { 5 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 6 | name: string; 7 | code: string; 8 | filePath: string; 9 | pos: number; 10 | lineNr: number; 11 | }[]>; 12 | protected traverseProjectCode(projectFolder: string): Promise; 13 | findFunctionsRecursivelyAsync(folder: string): AsyncGenerator; 14 | private getFunctionCode; 15 | protected getFunctionAttributeRegex(): RegExAndPos; 16 | protected getFunctionStartRegex(funcName: string): RegExp; 17 | protected getBindingAttributeRegex(): RegExAndPos; 18 | protected getStartNewOrchestrationRegex(orchName: string): RegExp; 19 | } 20 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request/dist-src/with-defaults.js: -------------------------------------------------------------------------------- 1 | import fetchWrapper from "./fetch-wrapper"; 2 | function withDefaults(oldEndpoint, newDefaults) { 3 | const endpoint = oldEndpoint.defaults(newDefaults); 4 | const newApi = function(route, parameters) { 5 | const endpointOptions = endpoint.merge(route, parameters); 6 | if (!endpointOptions.request || !endpointOptions.request.hook) { 7 | return fetchWrapper(endpoint.parse(endpointOptions)); 8 | } 9 | const request = (route2, parameters2) => { 10 | return fetchWrapper( 11 | endpoint.parse(endpoint.merge(route2, parameters2)) 12 | ); 13 | }; 14 | Object.assign(request, { 15 | endpoint, 16 | defaults: withDefaults.bind(null, endpoint) 17 | }); 18 | return endpointOptions.request.hook(request, endpointOptions); 19 | }; 20 | return Object.assign(newApi, { 21 | endpoint, 22 | defaults: withDefaults.bind(null, endpoint) 23 | }); 24 | } 25 | export { 26 | withDefaults as default 27 | }; 28 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/global.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // We include a version number for the Dispatcher API. In case of breaking changes, 4 | // this version number must be increased to avoid conflicts. 5 | const globalDispatcher = Symbol.for('undici.globalDispatcher.1') 6 | const { InvalidArgumentError } = require('./core/errors') 7 | const Agent = require('./agent') 8 | 9 | if (getGlobalDispatcher() === undefined) { 10 | setGlobalDispatcher(new Agent()) 11 | } 12 | 13 | function setGlobalDispatcher (agent) { 14 | if (!agent || typeof agent.dispatch !== 'function') { 15 | throw new InvalidArgumentError('Argument agent must implement Agent') 16 | } 17 | Object.defineProperty(globalThis, globalDispatcher, { 18 | value: agent, 19 | writable: true, 20 | enumerable: false, 21 | configurable: false 22 | }) 23 | } 24 | 25 | function getGlobalDispatcher () { 26 | return globalThis[globalDispatcher] 27 | } 28 | 29 | module.exports = { 30 | setGlobalDispatcher, 31 | getGlobalDispatcher 32 | } 33 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/lib/interfaces.d.ts: -------------------------------------------------------------------------------- 1 | export interface PayloadRepository { 2 | [key: string]: any; 3 | full_name?: string; 4 | name: string; 5 | owner: { 6 | [key: string]: any; 7 | login: string; 8 | name?: string; 9 | }; 10 | html_url?: string; 11 | } 12 | export interface WebhookPayload { 13 | [key: string]: any; 14 | repository?: PayloadRepository; 15 | issue?: { 16 | [key: string]: any; 17 | number: number; 18 | html_url?: string; 19 | body?: string; 20 | }; 21 | pull_request?: { 22 | [key: string]: any; 23 | number: number; 24 | html_url?: string; 25 | body?: string; 26 | }; 27 | sender?: { 28 | [key: string]: any; 29 | type: string; 30 | }; 31 | action?: string; 32 | installation?: { 33 | id: number; 34 | [key: string]: any; 35 | }; 36 | comment?: { 37 | id: number; 38 | [key: string]: any; 39 | }; 40 | } 41 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/v4.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | Object.defineProperty(exports, "__esModule", { 4 | value: true 5 | }); 6 | exports.default = void 0; 7 | 8 | var _rng = _interopRequireDefault(require("./rng.js")); 9 | 10 | var _stringify = _interopRequireDefault(require("./stringify.js")); 11 | 12 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 13 | 14 | function v4(options, buf, offset) { 15 | options = options || {}; 16 | 17 | const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` 18 | 19 | 20 | rnds[6] = rnds[6] & 0x0f | 0x40; 21 | rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided 22 | 23 | if (buf) { 24 | offset = offset || 0; 25 | 26 | for (let i = 0; i < 16; ++i) { 27 | buf[offset + i] = rnds[i]; 28 | } 29 | 30 | return buf; 31 | } 32 | 33 | return (0, _stringify.default)(rnds); 34 | } 35 | 36 | var _default = v4; 37 | exports.default = _default; -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | // For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: 2 | // https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/azure-functions-dotnetcore-3.1 3 | { 4 | "name": "Azure Functions & C# - .NET Core 3.1", 5 | "dockerFile": "Dockerfile", 6 | "forwardPorts": [ 7071 ], 7 | 8 | // Configure tool-specific properties. 9 | "customizations": { 10 | // Configure properties specific to VS Code. 11 | "vscode": { 12 | // Add the IDs of extensions you want installed when the container is created. 13 | "extensions": [ 14 | "ms-azuretools.vscode-azurefunctions", 15 | "ms-dotnettools.csharp", 16 | "DurableFunctionsMonitor.az-func-as-a-graph" 17 | ] 18 | } 19 | }, 20 | 21 | // Use 'postCreateCommand' to run commands after the container is created. 22 | "postCreateCommand": "npm install", 23 | 24 | // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. 25 | "remoteUser": "vscode" 26 | } 27 | -------------------------------------------------------------------------------- /core/FunctionsMap.ts: -------------------------------------------------------------------------------- 1 | 2 | export type FunctionsMap = { 3 | [name: string]: { 4 | bindings: any[], 5 | isCalledBy: string[], 6 | isSignalledBy: { name: string, signalName: string }[], 7 | isCalledByItself?: boolean, 8 | filePath?: string, 9 | pos?: number, 10 | lineNr?: number 11 | } 12 | }; 13 | 14 | export type ProxiesMap = { 15 | [name: string]: { 16 | matchCondition?: { 17 | methods?: string[]; 18 | route?: string; 19 | }; 20 | backendUri?: string; 21 | requestOverrides?: {}; 22 | responseOverrides?: {}; 23 | filePath?: string, 24 | pos?: number, 25 | lineNr?: number, 26 | warningNotAddedToCsProjFile?: boolean 27 | } 28 | }; 29 | 30 | export type TraverseFunctionResult = { 31 | functions: FunctionsMap; 32 | proxies: ProxiesMap; 33 | projectFolder: string; 34 | }; 35 | 36 | export type GraphSettings = { 37 | doNotRenderFunctions?: boolean, 38 | doNotRenderProxies?: boolean, 39 | }; 40 | -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/dist/pythonV2FunctionProjectParser.d.ts: -------------------------------------------------------------------------------- 1 | import { FunctionsMap } from "./FunctionsMap"; 2 | import { RegExAndPos } from "./fileSystemWrapperBase"; 3 | import { FunctionProjectCodeParser } from "./functionProjectCodeParser"; 4 | export declare class PythonV2FunctionProjectParser extends FunctionProjectCodeParser { 5 | protected getFunctionsAndTheirCodesAsync(functionNames: string[], hostJsonFolder: string): Promise<{ 6 | name: string; 7 | code: string; 8 | filePath: string; 9 | pos: number; 10 | lineNr: number; 11 | }[]>; 12 | protected traverseProjectCode(projectFolder: string): Promise; 13 | findFunctionsRecursivelyAsync(folder: string): AsyncGenerator; 14 | private getFunctionCode; 15 | protected getFunctionAttributeRegex(): RegExAndPos; 16 | protected getFunctionStartRegex(funcName: string): RegExp; 17 | protected getBindingAttributeRegex(): RegExAndPos; 18 | protected getStartNewOrchestrationRegex(orchName: string): RegExp; 19 | } 20 | -------------------------------------------------------------------------------- /github-action/node_modules/is-plain-object/dist/is-plain-object.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | Object.defineProperty(exports, '__esModule', { value: true }); 4 | 5 | /*! 6 | * is-plain-object 7 | * 8 | * Copyright (c) 2014-2017, Jon Schlinkert. 9 | * Released under the MIT License. 10 | */ 11 | 12 | function isObject(o) { 13 | return Object.prototype.toString.call(o) === '[object Object]'; 14 | } 15 | 16 | function isPlainObject(o) { 17 | var ctor,prot; 18 | 19 | if (isObject(o) === false) return false; 20 | 21 | // If has modified constructor 22 | ctor = o.constructor; 23 | if (ctor === undefined) return true; 24 | 25 | // If has modified prototype 26 | prot = ctor.prototype; 27 | if (isObject(prot) === false) return false; 28 | 29 | // If constructor does not have an Object-specific method 30 | if (prot.hasOwnProperty('isPrototypeOf') === false) { 31 | return false; 32 | } 33 | 34 | // Most likely a plain Object 35 | return true; 36 | } 37 | 38 | exports.isPlainObject = isPlainObject; 39 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "az-function-as-a-graph", 3 | "version": "1.3.0", 4 | "description": "Visualizes your Azure Functions project in form of a graph", 5 | "scripts": { 6 | "build": "(cd cli && npm install && tsc) && (cd ../ui && npm install && npm run build && node compile-icons.js) && (cd .. && tsc)", 7 | "build:production": "npm run prestart && npm prune --production", 8 | "watch": "tsc --w", 9 | "prestart": "npm run build && func extensions install", 10 | "start:host": "func start", 11 | "start": "npm-run-all --parallel start:host watch", 12 | "test": "jest --verbose" 13 | }, 14 | "dependencies": { 15 | "@types/rimraf": "^3.0.0", 16 | "az-func-as-a-graph.core": "^1.3.3", 17 | "durable-functions": "^1.5.4", 18 | "rimraf": "^3.0.2" 19 | }, 20 | "devDependencies": { 21 | "@azure/functions": "^1.2.2", 22 | "@types/jest": "^26.0.20", 23 | "@types/node": "^14.14.31", 24 | "typescript": "^3.6.4", 25 | "npm-run-all": "^4.1.5", 26 | "jest": "26.6.0", 27 | "ts-jest": "^26.5.3" 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /github-action/node_modules/wrappy/wrappy.js: -------------------------------------------------------------------------------- 1 | // Returns a wrapper function that returns a wrapped callback 2 | // The wrapper function should do some stuff, and return a 3 | // presumably different callback function. 4 | // This makes sure that own properties are retained, so that 5 | // decorations and such are not lost along the way. 6 | module.exports = wrappy 7 | function wrappy (fn, cb) { 8 | if (fn && cb) return wrappy(fn)(cb) 9 | 10 | if (typeof fn !== 'function') 11 | throw new TypeError('need wrapper function') 12 | 13 | Object.keys(fn).forEach(function (k) { 14 | wrapper[k] = fn[k] 15 | }) 16 | 17 | return wrapper 18 | 19 | function wrapper() { 20 | var args = new Array(arguments.length) 21 | for (var i = 0; i < args.length; i++) { 22 | args[i] = arguments[i] 23 | } 24 | var ret = fn.apply(this, args) 25 | var cb = args[args.length-1] 26 | if (typeof ret === 'function' && ret !== cb) { 27 | Object.keys(cb).forEach(function (k) { 28 | ret[k] = cb[k] 29 | }) 30 | } 31 | return ret 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /dist/cli/index.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cli/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,oDAAoD;AAEpD,iEAA8D;AAG9D,SAAe,GAAG;;QACd,IAAI;YACA,MAAM,aAAa,GAAG,EAAE,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC;YACnD,IAAI,CAAC,aAAa,EAAE;gBAChB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,qCAAqC,CAAC,CAAC;gBAC1E,OAAO;aACV;YAED,MAAM,UAAU,GAAG,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;YAC7C,IAAI,CAAC,UAAU,EAAE;gBACb,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,kCAAkC,CAAC,CAAC;gBACvE,OAAO;aACV;YAED,MAAM,QAAQ,GAAsB;gBAChC,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC;gBACjC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC;gBACjC,UAAU,EAAE,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;aACxC,CAAA;YAED,MAAM,2CAAoB,CAAC,aAAa,EAAE,UAAU,EAAE;gBAClD,QAAQ;gBACR,iBAAiB,EAAE,EAAE,CAAC,WAAW,CAAC,gCAAgC,CAAC;gBACnE,YAAY,EAAE,EAAE,CAAC,QAAQ,CAAC,cAAc,CAAC;gBACzC,oBAAoB,EAAE,EAAE,CAAC,YAAY,CAAC,sBAAsB,CAAC;gBAC7D,kBAAkB,EAAE,EAAE,CAAC,YAAY,CAAC,oBAAoB,CAAC;aAC5D,CAAC,CAAC;SAEN;QACD,OAAO,GAAG,EAAE;YACR,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;SACnD;IACL,CAAC;CAAA;AAED,GAAG,EAAE,CAAC"} -------------------------------------------------------------------------------- /vscode-web-ext-ui/build/static/css/main.760a21c1.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"static/css/main.760a21c1.css","mappings":"AAAA,KACI,2BACJ,CAEA,KAII,aAAc,CADd,sBAAuB,CAFvB,QAAS,CACT,SAAU,CAGV,UACJ,CAEA,aACI,YACJ,CAEA,iBACI,aAAc,CAGd,qBAAuB,CAFvB,WAAY,CACZ,oBAEJ,CAEA,kBACI,sBACJ,CAEA,gBAEI,mBAAoB,CADpB,gBAEJ,CAEA,gBAGI,WAAW,CADX,mBAAoB,CADpB,gBAGJ,CAEA,gBACI,qBACJ","sources":["index.css"],"sourcesContent":["html {\r\n overflow-y: scroll !important;\r\n}\r\n\r\nbody {\r\n margin: 0;\r\n padding: 0;\r\n font-family: sans-serif;\r\n display: table;\r\n width: 100%;\r\n}\r\n\r\n.diagram-div {\r\n padding: 20px;\r\n}\r\n\r\n.diagram-div > svg {\r\n display: block;\r\n margin: auto;\r\n width: 100% !important;\r\n height: 100% !important;\r\n}\r\n\r\n.error-typography {\r\n padding: 30px !important;\r\n}\r\n\r\n.bottom-toolbar {\r\n padding-top: 30px;\r\n padding-bottom: 30px;\r\n}\r\n\r\n.settings-group {\r\n padding-top: 20px;\r\n padding-right: 100px;\r\n float:right;\r\n}\r\n\r\n.toolbar-button {\r\n width: 100px !important;\r\n}"],"names":[],"sourceRoot":""} -------------------------------------------------------------------------------- /vscode-web-ext/HtmlStatics/static/css/main.760a21c1.css.map: -------------------------------------------------------------------------------- 1 | {"version":3,"file":"static/css/main.760a21c1.css","mappings":"AAAA,KACI,2BACJ,CAEA,KAII,aAAc,CADd,sBAAuB,CAFvB,QAAS,CACT,SAAU,CAGV,UACJ,CAEA,aACI,YACJ,CAEA,iBACI,aAAc,CAGd,qBAAuB,CAFvB,WAAY,CACZ,oBAEJ,CAEA,kBACI,sBACJ,CAEA,gBAEI,mBAAoB,CADpB,gBAEJ,CAEA,gBAGI,WAAW,CADX,mBAAoB,CADpB,gBAGJ,CAEA,gBACI,qBACJ","sources":["index.css"],"sourcesContent":["html {\r\n overflow-y: scroll !important;\r\n}\r\n\r\nbody {\r\n margin: 0;\r\n padding: 0;\r\n font-family: sans-serif;\r\n display: table;\r\n width: 100%;\r\n}\r\n\r\n.diagram-div {\r\n padding: 20px;\r\n}\r\n\r\n.diagram-div > svg {\r\n display: block;\r\n margin: auto;\r\n width: 100% !important;\r\n height: 100% !important;\r\n}\r\n\r\n.error-typography {\r\n padding: 30px !important;\r\n}\r\n\r\n.bottom-toolbar {\r\n padding-top: 30px;\r\n padding-bottom: 30px;\r\n}\r\n\r\n.settings-group {\r\n padding-top: 20px;\r\n padding-right: 100px;\r\n float:right;\r\n}\r\n\r\n.toolbar-button {\r\n width: 100px !important;\r\n}"],"names":[],"sourceRoot":""} -------------------------------------------------------------------------------- /vscode-web-ext/src/web/core/FunctionsMap.ts: -------------------------------------------------------------------------------- 1 | 2 | export type FunctionsMap = { 3 | [name: string]: { 4 | bindings: any[], 5 | isCalledBy: string[], 6 | isSignalledBy: { name: string, signalName: string }[], 7 | isCalledByItself?: boolean, 8 | filePath?: string, 9 | pos?: number, 10 | lineNr?: number 11 | } 12 | }; 13 | 14 | export type ProxiesMap = { 15 | [name: string]: { 16 | matchCondition?: { 17 | methods?: string[]; 18 | route?: string; 19 | }; 20 | backendUri?: string; 21 | requestOverrides?: {}; 22 | responseOverrides?: {}; 23 | filePath?: string, 24 | pos?: number, 25 | lineNr?: number, 26 | warningNotAddedToCsProjFile?: boolean 27 | } 28 | }; 29 | 30 | export type TraverseFunctionResult = { 31 | functions: FunctionsMap; 32 | proxies: ProxiesMap; 33 | projectFolder: string; 34 | }; 35 | 36 | export type GraphSettings = { 37 | doNotRenderFunctions?: boolean, 38 | doNotRenderProxies?: boolean, 39 | }; 40 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/openapi-types/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2020 Gregor Martynus 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /github-action/node_modules/az-func-as-a-graph.core/FunctionsMap.ts: -------------------------------------------------------------------------------- 1 | 2 | export type FunctionsMap = { 3 | [name: string]: { 4 | bindings: any[], 5 | isCalledBy: string[], 6 | isSignalledBy: { name: string, signalName: string }[], 7 | isCalledByItself?: boolean, 8 | filePath?: string, 9 | pos?: number, 10 | lineNr?: number 11 | } 12 | }; 13 | 14 | export type ProxiesMap = { 15 | [name: string]: { 16 | matchCondition?: { 17 | methods?: string[]; 18 | route?: string; 19 | }; 20 | backendUri?: string; 21 | requestOverrides?: {}; 22 | responseOverrides?: {}; 23 | filePath?: string, 24 | pos?: number, 25 | lineNr?: number, 26 | warningNotAddedToCsProjFile?: boolean 27 | } 28 | }; 29 | 30 | export type TraverseFunctionResult = { 31 | functions: FunctionsMap; 32 | proxies: ProxiesMap; 33 | projectFolder: string; 34 | }; 35 | 36 | export type GraphSettings = { 37 | doNotRenderFunctions?: boolean, 38 | doNotRenderProxies?: boolean, 39 | }; 40 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/fetch/global.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // In case of breaking changes, increase the version 4 | // number to avoid conflicts. 5 | const globalOrigin = Symbol.for('undici.globalOrigin.1') 6 | 7 | function getGlobalOrigin () { 8 | return globalThis[globalOrigin] 9 | } 10 | 11 | function setGlobalOrigin (newOrigin) { 12 | if (newOrigin === undefined) { 13 | Object.defineProperty(globalThis, globalOrigin, { 14 | value: undefined, 15 | writable: true, 16 | enumerable: false, 17 | configurable: false 18 | }) 19 | 20 | return 21 | } 22 | 23 | const parsedURL = new URL(newOrigin) 24 | 25 | if (parsedURL.protocol !== 'http:' && parsedURL.protocol !== 'https:') { 26 | throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`) 27 | } 28 | 29 | Object.defineProperty(globalThis, globalOrigin, { 30 | value: parsedURL, 31 | writable: true, 32 | enumerable: false, 33 | configurable: false 34 | }) 35 | } 36 | 37 | module.exports = { 38 | getGlobalOrigin, 39 | setGlobalOrigin 40 | } 41 | -------------------------------------------------------------------------------- /deploy-with-xcopy-and-zip-deploy.cmd: -------------------------------------------------------------------------------- 1 | :: ---------------------- 2 | :: Custom Deployment Script 3 | :: Fetches npm packages inside a temp folder (which is much faster), then zips it and mounts that zip file. 4 | :: ---------------------- 5 | 6 | @IF "%WEBSITE_RUN_FROM_PACKAGE%" NEQ "1" ( 7 | echo For this script to work you need to enable Run from Package, aka set WEBSITE_RUN_FROM_PACKAGE=1 8 | exit /b 1 9 | ) 10 | 11 | SET MY_BUILD_TEMP_FOLDER=%TMP%\D72793BA373B4EBB80AEC9E6CF1E0C0E 12 | 13 | mkdir %MY_BUILD_TEMP_FOLDER% 14 | xcopy %DEPLOYMENT_SOURCE% %MY_BUILD_TEMP_FOLDER% /S /H /Y 15 | IF %errorlevel% NEQ 0 goto end 16 | 17 | cd %MY_BUILD_TEMP_FOLDER% 18 | 19 | call npm install --production 20 | IF %errorlevel% NEQ 0 goto end 21 | 22 | mkdir d:\home\data\SitePackages 23 | echo package.zip > d:\home\data\SitePackages\packagename.txt 24 | del /Q d:\home\data\SitePackages\package.zip 25 | 26 | powershell "$ProgressPreference = 'SilentlyContinue'; Compress-Archive %MY_BUILD_TEMP_FOLDER%\* d:\home\data\SitePackages\package.zip" 27 | 28 | :end 29 | rmdir /S /Q %MY_BUILD_TEMP_FOLDER% 30 | exit /b %ERRORLEVEL% 31 | -------------------------------------------------------------------------------- /github-action/node_modules/@actions/core/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright 2019 GitHub 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /github-action/node_modules/@actions/github/LICENSE.md: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright 2019 GitHub 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/mock-pool.d.ts: -------------------------------------------------------------------------------- 1 | import Pool from './pool' 2 | import MockAgent from './mock-agent' 3 | import { Interceptable, MockInterceptor } from './mock-interceptor' 4 | import Dispatcher from './dispatcher' 5 | 6 | export default MockPool 7 | 8 | /** MockPool extends the Pool API and allows one to mock requests. */ 9 | declare class MockPool extends Pool implements Interceptable { 10 | constructor(origin: string, options: MockPool.Options); 11 | /** Intercepts any matching requests that use the same origin as this mock pool. */ 12 | intercept(options: MockInterceptor.Options): MockInterceptor; 13 | /** Dispatches a mocked request. */ 14 | dispatch(options: Dispatcher.DispatchOptions, handlers: Dispatcher.DispatchHandlers): boolean; 15 | /** Closes the mock pool and gracefully waits for enqueued requests to complete. */ 16 | close(): Promise; 17 | } 18 | 19 | declare namespace MockPool { 20 | /** MockPool options. */ 21 | export interface Options extends Pool.Options { 22 | /** The agent to associate this MockPool with. */ 23 | agent: MockAgent; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /core/dist/FunctionsMap.d.ts: -------------------------------------------------------------------------------- 1 | export declare type FunctionsMap = { 2 | [name: string]: { 3 | bindings: any[]; 4 | isCalledBy: string[]; 5 | isSignalledBy: { 6 | name: string; 7 | signalName: string; 8 | }[]; 9 | isCalledByItself?: boolean; 10 | filePath?: string; 11 | pos?: number; 12 | lineNr?: number; 13 | }; 14 | }; 15 | export declare type ProxiesMap = { 16 | [name: string]: { 17 | matchCondition?: { 18 | methods?: string[]; 19 | route?: string; 20 | }; 21 | backendUri?: string; 22 | requestOverrides?: {}; 23 | responseOverrides?: {}; 24 | filePath?: string; 25 | pos?: number; 26 | lineNr?: number; 27 | warningNotAddedToCsProjFile?: boolean; 28 | }; 29 | }; 30 | export declare type TraverseFunctionResult = { 31 | functions: FunctionsMap; 32 | proxies: ProxiesMap; 33 | projectFolder: string; 34 | }; 35 | export declare type GraphSettings = { 36 | doNotRenderFunctions?: boolean; 37 | doNotRenderProxies?: boolean; 38 | }; 39 | -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/request-error/dist-types/index.d.ts: -------------------------------------------------------------------------------- 1 | import type { RequestOptions, ResponseHeaders, OctokitResponse } from "@octokit/types"; 2 | import type { RequestErrorOptions } from "./types"; 3 | /** 4 | * Error with extra properties to help with debugging 5 | */ 6 | export declare class RequestError extends Error { 7 | name: "HttpError"; 8 | /** 9 | * http status code 10 | */ 11 | status: number; 12 | /** 13 | * http status code 14 | * 15 | * @deprecated `error.code` is deprecated in favor of `error.status` 16 | */ 17 | code: number; 18 | /** 19 | * Request options that lead to the error. 20 | */ 21 | request: RequestOptions; 22 | /** 23 | * error response headers 24 | * 25 | * @deprecated `error.headers` is deprecated in favor of `error.response.headers` 26 | */ 27 | headers: ResponseHeaders; 28 | /** 29 | * Response object if a response was received 30 | */ 31 | response?: OctokitResponse; 32 | constructor(message: string, statusCode: number, options: RequestErrorOptions); 33 | } 34 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /core/fileSystemWrapper.ts: -------------------------------------------------------------------------------- 1 | import * as fileSystem from 'fs'; 2 | import * as path from 'path'; 3 | import { FileSystemWrapperBase } from './fileSystemWrapperBase'; 4 | 5 | // Implements common filesystem routines via 'fs' module 6 | export class FileSystemWrapper extends FileSystemWrapperBase { 7 | 8 | public joinPath(path1: string, path2: string): string { 9 | 10 | return path.join(path1, path2); 11 | } 12 | 13 | public dirName(path1: string): string { 14 | 15 | return path.dirname(path1); 16 | } 17 | 18 | public async readFile(path: string): Promise { 19 | 20 | return await fileSystem.promises.readFile(path, { encoding: 'utf8' }); 21 | } 22 | 23 | public async isDirectory(path: string): Promise { 24 | 25 | return (await fileSystem.promises.lstat(path)).isDirectory(); 26 | } 27 | 28 | public async readDir(path: string): Promise { 29 | 30 | return await fileSystem.promises.readdir(path); 31 | } 32 | 33 | public async pathExists(path: string): Promise { 34 | 35 | return fileSystem.existsSync(path); 36 | } 37 | } -------------------------------------------------------------------------------- /github-action/node_modules/universal-user-agent/README.md: -------------------------------------------------------------------------------- 1 | # universal-user-agent 2 | 3 | > Get a user agent string in both browser and node 4 | 5 | [![@latest](https://img.shields.io/npm/v/universal-user-agent.svg)](https://www.npmjs.com/package/universal-user-agent) 6 | [![Build Status](https://github.com/gr2m/universal-user-agent/workflows/Test/badge.svg)](https://github.com/gr2m/universal-user-agent/actions?query=workflow%3ATest+branch%3Amaster) 7 | [![Greenkeeper](https://badges.greenkeeper.io/gr2m/universal-user-agent.svg)](https://greenkeeper.io/) 8 | 9 | ```js 10 | const { getUserAgent } = require("universal-user-agent"); 11 | // or import { getUserAgent } from "universal-user-agent"; 12 | 13 | const userAgent = getUserAgent(); 14 | // userAgent will look like this 15 | // in browser: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0" 16 | // in node: Node.js/v8.9.4 (macOS High Sierra; x64) 17 | ``` 18 | 19 | ## Credits 20 | 21 | The Node implementation was originally inspired by [default-user-agent](https://www.npmjs.com/package/default-user-agent). 22 | 23 | ## License 24 | 25 | [ISC](LICENSE.md) 26 | -------------------------------------------------------------------------------- /ui/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | overflow-y: auto; 4 | overflow-x: hidden; 5 | font-family: 'Arial', 'Lucida Grande', sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | .title-typography { 11 | min-width: 320px !important; 12 | } 13 | 14 | .zoom-slider { 15 | min-width: 100px !important; 16 | margin-right: 50px !important; 17 | } 18 | 19 | .filter-button { 20 | min-width: 200px !important; 21 | margin-right: 130px !important; 22 | } 23 | 24 | .github-link { 25 | position: absolute; 26 | right: 0px; 27 | top: 0px; 28 | } 29 | 30 | .diagram-div { 31 | padding-top: 60px; 32 | padding-bottom: 30px; 33 | } 34 | 35 | .diagram-div > svg { 36 | display: block; 37 | margin: auto; 38 | width: 100% !important; 39 | height: 100% !important; 40 | } 41 | 42 | .error-typography { 43 | padding: 30px !important; 44 | } 45 | 46 | .bottom-toolbar { 47 | padding-top: 30px; 48 | padding-bottom: 30px; 49 | } 50 | 51 | .settings-group { 52 | padding-top: 20px; 53 | padding-right: 100px; 54 | float:right; 55 | } -------------------------------------------------------------------------------- /github-action/node_modules/@octokit/types/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License Copyright (c) 2019 Octokit contributors 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /github-action/node_modules/once/once.js: -------------------------------------------------------------------------------- 1 | var wrappy = require('wrappy') 2 | module.exports = wrappy(once) 3 | module.exports.strict = wrappy(onceStrict) 4 | 5 | once.proto = once(function () { 6 | Object.defineProperty(Function.prototype, 'once', { 7 | value: function () { 8 | return once(this) 9 | }, 10 | configurable: true 11 | }) 12 | 13 | Object.defineProperty(Function.prototype, 'onceStrict', { 14 | value: function () { 15 | return onceStrict(this) 16 | }, 17 | configurable: true 18 | }) 19 | }) 20 | 21 | function once (fn) { 22 | var f = function () { 23 | if (f.called) return f.value 24 | f.called = true 25 | return f.value = fn.apply(this, arguments) 26 | } 27 | f.called = false 28 | return f 29 | } 30 | 31 | function onceStrict (fn) { 32 | var f = function () { 33 | if (f.called) 34 | throw new Error(f.onceError) 35 | f.called = true 36 | return f.value = fn.apply(this, arguments) 37 | } 38 | var name = fn.name || 'Function wrapped with `once`' 39 | f.onceError = name + " shouldn't be called more than once" 40 | f.called = false 41 | return f 42 | } 43 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/mock-client.d.ts: -------------------------------------------------------------------------------- 1 | import Client from './client' 2 | import Dispatcher from './dispatcher' 3 | import MockAgent from './mock-agent' 4 | import { MockInterceptor, Interceptable } from './mock-interceptor' 5 | 6 | export default MockClient 7 | 8 | /** MockClient extends the Client API and allows one to mock requests. */ 9 | declare class MockClient extends Client implements Interceptable { 10 | constructor(origin: string, options: MockClient.Options); 11 | /** Intercepts any matching requests that use the same origin as this mock client. */ 12 | intercept(options: MockInterceptor.Options): MockInterceptor; 13 | /** Dispatches a mocked request. */ 14 | dispatch(options: Dispatcher.DispatchOptions, handlers: Dispatcher.DispatchHandlers): boolean; 15 | /** Closes the mock client and gracefully waits for enqueued requests to complete. */ 16 | close(): Promise; 17 | } 18 | 19 | declare namespace MockClient { 20 | /** MockClient options. */ 21 | export interface Options extends Client.Options { 22 | /** The agent to associate this MockClient with. */ 23 | agent: MockAgent; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /github-action/node_modules/uuid/dist/esm-browser/rng.js: -------------------------------------------------------------------------------- 1 | // Unique ID creation requires a high quality random # generator. In the browser we therefore 2 | // require the crypto API and do not support built-in fallback to lower quality random number 3 | // generators (like Math.random()). 4 | var getRandomValues; 5 | var rnds8 = new Uint8Array(16); 6 | export default function rng() { 7 | // lazy load so that environments that need to polyfill have a chance to do so 8 | if (!getRandomValues) { 9 | // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also, 10 | // find the complete implementation of crypto (msCrypto) on IE11. 11 | getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto); 12 | 13 | if (!getRandomValues) { 14 | throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported'); 15 | } 16 | } 17 | 18 | return getRandomValues(rnds8); 19 | } -------------------------------------------------------------------------------- /vscode-web-ext/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/lib/websocket/constants.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | // This is a Globally Unique Identifier unique used 4 | // to validate that the endpoint accepts websocket 5 | // connections. 6 | // See https://www.rfc-editor.org/rfc/rfc6455.html#section-1.3 7 | const uid = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11' 8 | 9 | /** @type {PropertyDescriptor} */ 10 | const staticPropertyDescriptors = { 11 | enumerable: true, 12 | writable: false, 13 | configurable: false 14 | } 15 | 16 | const states = { 17 | CONNECTING: 0, 18 | OPEN: 1, 19 | CLOSING: 2, 20 | CLOSED: 3 21 | } 22 | 23 | const opcodes = { 24 | CONTINUATION: 0x0, 25 | TEXT: 0x1, 26 | BINARY: 0x2, 27 | CLOSE: 0x8, 28 | PING: 0x9, 29 | PONG: 0xA 30 | } 31 | 32 | const maxUnsigned16Bit = 2 ** 16 - 1 // 65535 33 | 34 | const parserStates = { 35 | INFO: 0, 36 | PAYLOADLENGTH_16: 2, 37 | PAYLOADLENGTH_64: 3, 38 | READ_DATA: 4 39 | } 40 | 41 | const emptyBuffer = Buffer.allocUnsafe(0) 42 | 43 | module.exports = { 44 | uid, 45 | staticPropertyDescriptors, 46 | states, 47 | opcodes, 48 | maxUnsigned16Bit, 49 | parserStates, 50 | emptyBuffer 51 | } 52 | -------------------------------------------------------------------------------- /github-action/node_modules/undici/types/pool.d.ts: -------------------------------------------------------------------------------- 1 | import Client from './client' 2 | import TPoolStats from './pool-stats' 3 | import { URL } from 'url' 4 | import Dispatcher from "./dispatcher"; 5 | 6 | export default Pool 7 | 8 | declare class Pool extends Dispatcher { 9 | constructor(url: string | URL, options?: Pool.Options) 10 | /** `true` after `pool.close()` has been called. */ 11 | closed: boolean; 12 | /** `true` after `pool.destroyed()` has been called or `pool.close()` has been called and the pool shutdown has completed. */ 13 | destroyed: boolean; 14 | /** Aggregate stats for a Pool. */ 15 | readonly stats: TPoolStats; 16 | } 17 | 18 | declare namespace Pool { 19 | export type PoolStats = TPoolStats; 20 | export interface Options extends Client.Options { 21 | /** Default: `(origin, opts) => new Client(origin, opts)`. */ 22 | factory?(origin: URL, opts: object): Dispatcher; 23 | /** The max number of clients to create. `null` if no limit. Default `null`. */ 24 | connections?: number | null; 25 | 26 | interceptors?: { Pool?: readonly Dispatcher.DispatchInterceptor[] } & Client.Options["interceptors"] 27 | } 28 | } 29 | --------------------------------------------------------------------------------