diff --git a/backend/server.js b/backend/server.js
index fb0c94c..c41906c 100644
--- a/backend/server.js
+++ b/backend/server.js
@@ -30,19 +30,57 @@ app.get('/api/config/:tenantId', (req, res) => {
res.json(config);
});
-// Mock WhatsApp Webhook
+// Official Twilio Webhook parsing middleware
+app.use(express.urlencoded({ extended: true }));
+
+// WhatsApp Webhook (Twilio)
app.post('/whatsapp/webhook', async (req, res) => {
- const { from, body } = req.body;
- console.log(`Received message from ${from}: ${body}`);
+ // Twilio sends urlencoded fields: From, Body
+ // Or our mock sends json: from, body
+ const from = req.body.From || req.body.from;
+ const body = req.body.Body || req.body.body;
- const response = await botLogic.handleMessage(from, body);
+ console.log(`[WhatsApp Webhook] Received message from ${from}: ${body}`);
- // In a real app, you'd call Twilio/Meta API here to send the reply
- res.json({
- success: true,
- reply: response.reply,
- buttons: response.buttons || []
- });
+ if (!from || !body) {
+ return res.status(400).send("Missing from or body");
+ }
+
+ try {
+ const temporalClient = await getTemporalClient();
+ // Use the phone number as the unique Workflow ID
+ const workflowId = `booking-${from.replace(/[^a-zA-Z0-9]/g, '')}`;
+
+ let handle;
+ try {
+ handle = temporalClient.workflow.getHandle(workflowId);
+ const desc = await handle.describe();
+ if (desc.status.name === 'RUNNING') {
+ // Ongoing conversation! Send a signal with the new message
+ console.log(`[WhatsApp Webhook] Signaling existing workflow ${workflowId}`);
+ await handle.signal('receive_message', body);
+
+ // Twilio expects a valid TwiML response. Empty response means no immediate automated reply.
+ // Our Temporal worker will asynchronously send a reply back via Twilio API.
+ res.type('text/xml').send('');
+ return;
+ }
+ } catch (err) {
+ // Workflow does not exist. We will start a new one below.
+ }
+
+ console.log(`[WhatsApp Webhook] Starting new AppointmentBookingWorkflow for ${from}`);
+ await temporalClient.workflow.start('AppointmentBookingWorkflow', {
+ args: [body, from],
+ taskQueue: 'curaflow-tasks',
+ workflowId: workflowId,
+ });
+
+ res.type('text/xml').send('');
+ } catch (err) {
+ console.error('[WhatsApp Webhook] Error processing message:', err);
+ res.status(500).send('Internal Server Error');
+ }
});
// AI Scribe Endpoints
diff --git a/k8s/app.yaml b/k8s/app.yaml
index 6685e84..e609bc1 100644
--- a/k8s/app.yaml
+++ b/k8s/app.yaml
@@ -24,6 +24,8 @@ spec:
env:
- name: DATABASE_URL
value: "postgres://postgres:curio_secret@curio-db:5432/curio"
+ - name: TEMPORAL_URL
+ value: "temporal-frontend.ai-core.svc.cluster.local:7233"
livenessProbe:
httpGet:
path: /
diff --git a/mock_whatsapp_client.py b/mock_whatsapp_client.py
new file mode 100644
index 0000000..5e6ab78
--- /dev/null
+++ b/mock_whatsapp_client.py
@@ -0,0 +1,31 @@
+import requests
+
+PHONE_NUMBER = "whatsapp:+918500176938"
+WEBHOOK_URL = "http://localhost:3000/whatsapp/webhook"
+
+print("========================================")
+print("🤖 CuraFlow Autonomous Appointment Agent")
+print("========================================")
+print("Type your WhatsApp message below to send it to the agent.")
+print("The agent will parse your intent and reply directly to your REAL WhatsApp number via Twilio!")
+print("Type 'exit' to quit.\n")
+
+while True:
+ message = input(f"[{PHONE_NUMBER}] You: ")
+ if message.lower() == 'exit':
+ break
+
+ # Simulate Twilio Webhook Payload
+ data = {
+ "From": PHONE_NUMBER,
+ "Body": message
+ }
+
+ try:
+ response = requests.post(WEBHOOK_URL, data=data)
+ if response.status_code == 200:
+ print("✅ Message sent to Webhook! Check your phone for the agent's reply in a few seconds.")
+ else:
+ print(f"❌ Webhook returned {response.status_code}: {response.text}")
+ except Exception as e:
+ print(f"❌ Failed to reach webhook: {e}")
diff --git a/node_modules/.bin/mime b/node_modules/.bin/mime
deleted file mode 100644
index 7751de3..0000000
--- a/node_modules/.bin/mime
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*)
- if command -v cygpath > /dev/null 2>&1; then
- basedir=`cygpath -w "$basedir"`
- fi
- ;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../mime/cli.js" "$@"
-else
- exec node "$basedir/../mime/cli.js" "$@"
-fi
diff --git a/node_modules/.bin/mime.cmd b/node_modules/.bin/mime.cmd
deleted file mode 100644
index 54491f1..0000000
--- a/node_modules/.bin/mime.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mime\cli.js" %*
diff --git a/node_modules/.bin/mime.ps1 b/node_modules/.bin/mime.ps1
deleted file mode 100644
index 2222f40..0000000
--- a/node_modules/.bin/mime.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../mime/cli.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../mime/cli.js" $args
- } else {
- & "node$exe" "$basedir/../mime/cli.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/proto-loader-gen-types b/node_modules/.bin/proto-loader-gen-types
deleted file mode 100644
index 03c2fcc..0000000
--- a/node_modules/.bin/proto-loader-gen-types
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*)
- if command -v cygpath > /dev/null 2>&1; then
- basedir=`cygpath -w "$basedir"`
- fi
- ;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" "$@"
-else
- exec node "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" "$@"
-fi
diff --git a/node_modules/.bin/proto-loader-gen-types.cmd b/node_modules/.bin/proto-loader-gen-types.cmd
deleted file mode 100644
index 772529b..0000000
--- a/node_modules/.bin/proto-loader-gen-types.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\@grpc\proto-loader\build\bin\proto-loader-gen-types.js" %*
diff --git a/node_modules/.bin/proto-loader-gen-types.ps1 b/node_modules/.bin/proto-loader-gen-types.ps1
deleted file mode 100644
index d1db451..0000000
--- a/node_modules/.bin/proto-loader-gen-types.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" $args
- } else {
- & "$basedir/node$exe" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" $args
- } else {
- & "node$exe" "$basedir/../@grpc/proto-loader/build/bin/proto-loader-gen-types.js" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.bin/uuid b/node_modules/.bin/uuid
deleted file mode 100644
index 26eb018..0000000
--- a/node_modules/.bin/uuid
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
-
-case `uname` in
- *CYGWIN*|*MINGW*|*MSYS*)
- if command -v cygpath > /dev/null 2>&1; then
- basedir=`cygpath -w "$basedir"`
- fi
- ;;
-esac
-
-if [ -x "$basedir/node" ]; then
- exec "$basedir/node" "$basedir/../uuid/dist-node/bin/uuid" "$@"
-else
- exec node "$basedir/../uuid/dist-node/bin/uuid" "$@"
-fi
diff --git a/node_modules/.bin/uuid.cmd b/node_modules/.bin/uuid.cmd
deleted file mode 100644
index 91d932f..0000000
--- a/node_modules/.bin/uuid.cmd
+++ /dev/null
@@ -1,17 +0,0 @@
-@ECHO off
-GOTO start
-:find_dp0
-SET dp0=%~dp0
-EXIT /b
-:start
-SETLOCAL
-CALL :find_dp0
-
-IF EXIST "%dp0%\node.exe" (
- SET "_prog=%dp0%\node.exe"
-) ELSE (
- SET "_prog=node"
- SET PATHEXT=%PATHEXT:;.JS;=;%
-)
-
-endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\uuid\dist-node\bin\uuid" %*
diff --git a/node_modules/.bin/uuid.ps1 b/node_modules/.bin/uuid.ps1
deleted file mode 100644
index 42eab25..0000000
--- a/node_modules/.bin/uuid.ps1
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env pwsh
-$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
-
-$exe=""
-if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
- # Fix case when both the Windows and Linux builds of Node
- # are installed in the same directory
- $exe=".exe"
-}
-$ret=0
-if (Test-Path "$basedir/node$exe") {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "$basedir/node$exe" "$basedir/../uuid/dist-node/bin/uuid" $args
- } else {
- & "$basedir/node$exe" "$basedir/../uuid/dist-node/bin/uuid" $args
- }
- $ret=$LASTEXITCODE
-} else {
- # Support pipeline input
- if ($MyInvocation.ExpectingInput) {
- $input | & "node$exe" "$basedir/../uuid/dist-node/bin/uuid" $args
- } else {
- & "node$exe" "$basedir/../uuid/dist-node/bin/uuid" $args
- }
- $ret=$LASTEXITCODE
-}
-exit $ret
diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json
deleted file mode 100644
index ab23f9e..0000000
--- a/node_modules/.package-lock.json
+++ /dev/null
@@ -1,1275 +0,0 @@
-{
- "name": "curaflow-hms",
- "version": "1.0.0",
- "lockfileVersion": 3,
- "requires": true,
- "packages": {
- "node_modules/@grpc/grpc-js": {
- "version": "1.14.4",
- "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.4.tgz",
- "integrity": "sha512-k9Dj3DV/itK9D06Y8f190Qgop7/Ui+D0njFV3LHMPwPT75DpXLQohE9Wmz0QElrJnzsjB7KPWiKJbOl7IPDArQ==",
- "license": "Apache-2.0",
- "dependencies": {
- "@grpc/proto-loader": "^0.8.0",
- "@js-sdsl/ordered-map": "^4.4.2"
- },
- "engines": {
- "node": ">=12.10.0"
- }
- },
- "node_modules/@grpc/proto-loader": {
- "version": "0.8.1",
- "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.8.1.tgz",
- "integrity": "sha512-wtF6h+DY6M3YaDBPAmvuuA6jV8Sif9MjtOI5euKFWRgCDl5PeDpPsHR9u2l6St5ceY8AZgoNDww5+HvEsXFsGg==",
- "license": "Apache-2.0",
- "dependencies": {
- "lodash.camelcase": "^4.3.0",
- "long": "^5.0.0",
- "protobufjs": "^7.5.5",
- "yargs": "^17.7.2"
- },
- "bin": {
- "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js"
- },
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/@js-sdsl/ordered-map": {
- "version": "4.4.2",
- "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz",
- "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==",
- "license": "MIT",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/js-sdsl"
- }
- },
- "node_modules/@protobufjs/aspromise": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
- "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/base64": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
- "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/codegen": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz",
- "integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/eventemitter": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz",
- "integrity": "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/fetch": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.1.tgz",
- "integrity": "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==",
- "license": "BSD-3-Clause",
- "dependencies": {
- "@protobufjs/aspromise": "^1.1.1"
- }
- },
- "node_modules/@protobufjs/float": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
- "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/inquire": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.2.tgz",
- "integrity": "sha512-pa0vFRuws4wkvaXKK1uXZMAwAX4/t8ANaJo45iw/oQHNQ9q5xUzwgFmVJGXiga2BeN+zpX7Vf9vmsiIa2J+MUw==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/path": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
- "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/pool": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
- "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@protobufjs/utf8": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.1.tgz",
- "integrity": "sha512-oOAWABowe8EAbMyWKM0tYDKi8Yaox52D+HWZhAIJqQXbqe0xI/GV7FhLWqlEKreMkfDjshR5FKgi3mnle0h6Eg==",
- "license": "BSD-3-Clause"
- },
- "node_modules/@temporalio/client": {
- "version": "1.16.2",
- "resolved": "https://registry.npmjs.org/@temporalio/client/-/client-1.16.2.tgz",
- "integrity": "sha512-SvuFpikonwOSLjedesueh71010h304ub436OA16mHeunQgUfldqtI9ZrHqP9L5jzBxWOxRIKZL52clMjaebSxQ==",
- "license": "MIT",
- "dependencies": {
- "@grpc/grpc-js": "^1.12.4",
- "@temporalio/common": "1.16.2",
- "@temporalio/proto": "1.16.2",
- "abort-controller": "^3.0.0",
- "long": "^5.2.3",
- "uuid": "^11.1.0"
- },
- "engines": {
- "node": ">= 20.0.0"
- }
- },
- "node_modules/@temporalio/client/node_modules/uuid": {
- "version": "11.1.1",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-11.1.1.tgz",
- "integrity": "sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==",
- "funding": [
- "https://github.com/sponsors/broofa",
- "https://github.com/sponsors/ctavan"
- ],
- "license": "MIT",
- "bin": {
- "uuid": "dist/esm/bin/uuid"
- }
- },
- "node_modules/@temporalio/common": {
- "version": "1.16.2",
- "resolved": "https://registry.npmjs.org/@temporalio/common/-/common-1.16.2.tgz",
- "integrity": "sha512-Yu62OW85wU3/XDt/xXDxw1lB3bce0xCrrgfd7aJJ5lp7FGzPgIgcC7bu2iIcSZnnCJGF86pnLJb+emo0mwINVg==",
- "license": "MIT",
- "dependencies": {
- "@temporalio/proto": "1.16.2",
- "long": "^5.2.3",
- "ms": "3.0.0-canary.1",
- "nexus-rpc": "^0.0.2",
- "proto3-json-serializer": "^2.0.0"
- },
- "engines": {
- "node": ">= 20.0.0"
- }
- },
- "node_modules/@temporalio/proto": {
- "version": "1.16.2",
- "resolved": "https://registry.npmjs.org/@temporalio/proto/-/proto-1.16.2.tgz",
- "integrity": "sha512-KIBlGV38W3HiHsDFSEs33TsXl7I2KcApbuLlBcCKtjHVdl5pzEt1nQpD5szi+y6saIENaXBifmVTELtYh2w7Rw==",
- "license": "MIT",
- "dependencies": {
- "long": "^5.2.3",
- "protobufjs": "^7.2.5"
- },
- "engines": {
- "node": ">= 20.0.0"
- }
- },
- "node_modules/@types/node": {
- "version": "25.9.1",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.1.tgz",
- "integrity": "sha512-xfrlY7UD5rMJk3ZVJP8BNzS28J36YJg+xp+LPXV1TdWxr8uMH5A860QNxYDGQe/ylDSgjxE52Q9VnO7p75tJxg==",
- "license": "MIT",
- "dependencies": {
- "undici-types": ">=7.24.0 <7.24.7"
- }
- },
- "node_modules/abort-controller": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
- "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==",
- "license": "MIT",
- "dependencies": {
- "event-target-shim": "^5.0.0"
- },
- "engines": {
- "node": ">=6.5"
- }
- },
- "node_modules/accepts": {
- "version": "1.3.8",
- "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
- "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
- "license": "MIT",
- "dependencies": {
- "mime-types": "~2.1.34",
- "negotiator": "0.6.3"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/ansi-regex": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/ansi-styles": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
- "license": "MIT",
- "dependencies": {
- "color-convert": "^2.0.1"
- },
- "engines": {
- "node": ">=8"
- },
- "funding": {
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
- }
- },
- "node_modules/array-flatten": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
- "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==",
- "license": "MIT"
- },
- "node_modules/body-parser": {
- "version": "1.20.5",
- "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.5.tgz",
- "integrity": "sha512-3grm+/2tUOvu2cjJkvsIxrv/wVpfXQW4PsQHYm7yk4vfpu7Ekl6nEsYBoJUL6qDwZUx8wUhQ8tR2qz+ad9c9OA==",
- "license": "MIT",
- "dependencies": {
- "bytes": "~3.1.2",
- "content-type": "~1.0.5",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "~1.2.0",
- "http-errors": "~2.0.1",
- "iconv-lite": "~0.4.24",
- "on-finished": "~2.4.1",
- "qs": "~6.15.1",
- "raw-body": "~2.5.3",
- "type-is": "~1.6.18",
- "unpipe": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- }
- },
- "node_modules/bytes": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
- "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/call-bind-apply-helpers": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz",
- "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0",
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/call-bound": {
- "version": "1.0.4",
- "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.4.tgz",
- "integrity": "sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==",
- "license": "MIT",
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.2",
- "get-intrinsic": "^1.3.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/cliui": {
- "version": "8.0.1",
- "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz",
- "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==",
- "license": "ISC",
- "dependencies": {
- "string-width": "^4.2.0",
- "strip-ansi": "^6.0.1",
- "wrap-ansi": "^7.0.0"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/color-convert": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
- "license": "MIT",
- "dependencies": {
- "color-name": "~1.1.4"
- },
- "engines": {
- "node": ">=7.0.0"
- }
- },
- "node_modules/color-name": {
- "version": "1.1.4",
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
- "license": "MIT"
- },
- "node_modules/content-disposition": {
- "version": "0.5.4",
- "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
- "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
- "license": "MIT",
- "dependencies": {
- "safe-buffer": "5.2.1"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/content-type": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
- "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookie": {
- "version": "0.7.2",
- "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz",
- "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/cookie-signature": {
- "version": "1.0.7",
- "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.7.tgz",
- "integrity": "sha512-NXdYc3dLr47pBkpUCHtKSwIOQXLVn8dZEuywboCOJY/osA0wFSLlSawr3KN8qXJEyX66FcONTH8EIlVuK0yyFA==",
- "license": "MIT"
- },
- "node_modules/debug": {
- "version": "2.6.9",
- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
- "license": "MIT",
- "dependencies": {
- "ms": "2.0.0"
- }
- },
- "node_modules/debug/node_modules/ms": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
- "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==",
- "license": "MIT"
- },
- "node_modules/depd": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
- "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/destroy": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
- "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8",
- "npm": "1.2.8000 || >= 1.4.16"
- }
- },
- "node_modules/dunder-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
- "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
- "license": "MIT",
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.1",
- "es-errors": "^1.3.0",
- "gopd": "^1.2.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/ee-first": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
- "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==",
- "license": "MIT"
- },
- "node_modules/emoji-regex": {
- "version": "8.0.0",
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
- "license": "MIT"
- },
- "node_modules/encodeurl": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz",
- "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/es-define-property": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz",
- "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-errors": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
- "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/es-object-atoms": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.2.tgz",
- "integrity": "sha512-HWcBoN6NileqtSydK2FqHbS/LoDd2pqrnQHLyJzBj4kOp/ky2MWMN694xOfkK8/SnUsW2DH7EfyVlydKCsm1Zw==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/escalade": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",
- "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/escape-html": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
- "license": "MIT"
- },
- "node_modules/etag": {
- "version": "1.8.1",
- "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
- "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/event-target-shim": {
- "version": "5.0.1",
- "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz",
- "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==",
- "license": "MIT",
- "engines": {
- "node": ">=6"
- }
- },
- "node_modules/express": {
- "version": "4.22.2",
- "resolved": "https://registry.npmjs.org/express/-/express-4.22.2.tgz",
- "integrity": "sha512-IuL+Elrou2ZvCFHs18/CIzy2Nzvo25nZ1/D2eIZlz7c+QUayAcYoiM2BthCjs+EBHVpjYjcuLDAiCWgeIX3X1Q==",
- "license": "MIT",
- "dependencies": {
- "accepts": "~1.3.8",
- "array-flatten": "1.1.1",
- "body-parser": "~1.20.5",
- "content-disposition": "~0.5.4",
- "content-type": "~1.0.4",
- "cookie": "~0.7.1",
- "cookie-signature": "~1.0.6",
- "debug": "2.6.9",
- "depd": "2.0.0",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "finalhandler": "~1.3.1",
- "fresh": "~0.5.2",
- "http-errors": "~2.0.0",
- "merge-descriptors": "1.0.3",
- "methods": "~1.1.2",
- "on-finished": "~2.4.1",
- "parseurl": "~1.3.3",
- "path-to-regexp": "~0.1.12",
- "proxy-addr": "~2.0.7",
- "qs": "~6.15.1",
- "range-parser": "~1.2.1",
- "safe-buffer": "5.2.1",
- "send": "~0.19.0",
- "serve-static": "~1.16.2",
- "setprototypeof": "1.2.0",
- "statuses": "~2.0.1",
- "type-is": "~1.6.18",
- "utils-merge": "1.0.1",
- "vary": "~1.1.2"
- },
- "engines": {
- "node": ">= 0.10.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
- }
- },
- "node_modules/finalhandler": {
- "version": "1.3.2",
- "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.2.tgz",
- "integrity": "sha512-aA4RyPcd3badbdABGDuTXCMTtOneUCAYH/gxoYRTZlIJdF0YPWuGqiAsIrhNnnqdXGswYk6dGujem4w80UJFhg==",
- "license": "MIT",
- "dependencies": {
- "debug": "2.6.9",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "on-finished": "~2.4.1",
- "parseurl": "~1.3.3",
- "statuses": "~2.0.2",
- "unpipe": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/forwarded": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
- "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/fresh": {
- "version": "0.5.2",
- "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
- "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/function-bind": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
- "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-caller-file": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
- "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
- "license": "ISC",
- "engines": {
- "node": "6.* || 8.* || >= 10.*"
- }
- },
- "node_modules/get-intrinsic": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz",
- "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==",
- "license": "MIT",
- "dependencies": {
- "call-bind-apply-helpers": "^1.0.2",
- "es-define-property": "^1.0.1",
- "es-errors": "^1.3.0",
- "es-object-atoms": "^1.1.1",
- "function-bind": "^1.1.2",
- "get-proto": "^1.0.1",
- "gopd": "^1.2.0",
- "has-symbols": "^1.1.0",
- "hasown": "^2.0.2",
- "math-intrinsics": "^1.1.0"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/get-proto": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz",
- "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==",
- "license": "MIT",
- "dependencies": {
- "dunder-proto": "^1.0.1",
- "es-object-atoms": "^1.0.0"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/gopd": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz",
- "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/has-symbols": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz",
- "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/hasown": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.3.tgz",
- "integrity": "sha512-ej4AhfhfL2Q2zpMmLo7U1Uv9+PyhIZpgQLGT1F9miIGmiCJIoCgSmczFdrc97mWT4kVY72KA+WnnhJ5pghSvSg==",
- "license": "MIT",
- "dependencies": {
- "function-bind": "^1.1.2"
- },
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/http-errors": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
- "integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
- "license": "MIT",
- "dependencies": {
- "depd": "~2.0.0",
- "inherits": "~2.0.4",
- "setprototypeof": "~1.2.0",
- "statuses": "~2.0.2",
- "toidentifier": "~1.0.1"
- },
- "engines": {
- "node": ">= 0.8"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/express"
- }
- },
- "node_modules/iconv-lite": {
- "version": "0.4.24",
- "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
- "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
- "license": "MIT",
- "dependencies": {
- "safer-buffer": ">= 2.1.2 < 3"
- },
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/inherits": {
- "version": "2.0.4",
- "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "license": "ISC"
- },
- "node_modules/ipaddr.js": {
- "version": "1.9.1",
- "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
- "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/is-fullwidth-code-point": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/lodash.camelcase": {
- "version": "4.3.0",
- "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
- "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==",
- "license": "MIT"
- },
- "node_modules/long": {
- "version": "5.3.2",
- "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz",
- "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==",
- "license": "Apache-2.0"
- },
- "node_modules/math-intrinsics": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz",
- "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- }
- },
- "node_modules/media-typer": {
- "version": "0.3.0",
- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
- "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/merge-descriptors": {
- "version": "1.0.3",
- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz",
- "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==",
- "license": "MIT",
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/methods": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
- "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime": {
- "version": "1.6.0",
- "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
- "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==",
- "license": "MIT",
- "bin": {
- "mime": "cli.js"
- },
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/mime-db": {
- "version": "1.52.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/mime-types": {
- "version": "2.1.35",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
- "license": "MIT",
- "dependencies": {
- "mime-db": "1.52.0"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/ms": {
- "version": "3.0.0-canary.1",
- "resolved": "https://registry.npmjs.org/ms/-/ms-3.0.0-canary.1.tgz",
- "integrity": "sha512-kh8ARjh8rMN7Du2igDRO9QJnqCb2xYTJxyQYK7vJJS4TvLLmsbyhiKpSW+t+y26gyOyMd0riphX0GeWKU3ky5g==",
- "license": "MIT",
- "engines": {
- "node": ">=12.13"
- }
- },
- "node_modules/negotiator": {
- "version": "0.6.3",
- "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
- "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/nexus-rpc": {
- "version": "0.0.2",
- "resolved": "https://registry.npmjs.org/nexus-rpc/-/nexus-rpc-0.0.2.tgz",
- "integrity": "sha512-IWjIExdVYlmwXuzHdY/Q3lXCv1gbqoAXPazQhy2w4Xgtgha3H0OOujEESVPQcFUFMWm+pAk2gKnb57g8S41JZg==",
- "license": "MIT",
- "engines": {
- "node": ">= 20.0.0"
- }
- },
- "node_modules/object-inspect": {
- "version": "1.13.4",
- "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.4.tgz",
- "integrity": "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/on-finished": {
- "version": "2.4.1",
- "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
- "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
- "license": "MIT",
- "dependencies": {
- "ee-first": "1.1.1"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/parseurl": {
- "version": "1.3.3",
- "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
- "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/path-to-regexp": {
- "version": "0.1.13",
- "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.13.tgz",
- "integrity": "sha512-A/AGNMFN3c8bOlvV9RreMdrv7jsmF9XIfDeCd87+I8RNg6s78BhJxMu69NEMHBSJFxKidViTEdruRwEk/WIKqA==",
- "license": "MIT"
- },
- "node_modules/proto3-json-serializer": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-2.0.2.tgz",
- "integrity": "sha512-SAzp/O4Yh02jGdRc+uIrGoe87dkN/XtwxfZ4ZyafJHymd79ozp5VG5nyZ7ygqPM5+cpLDjjGnYFUkngonyDPOQ==",
- "license": "Apache-2.0",
- "dependencies": {
- "protobufjs": "^7.2.5"
- },
- "engines": {
- "node": ">=14.0.0"
- }
- },
- "node_modules/protobufjs": {
- "version": "7.6.1",
- "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.1.tgz",
- "integrity": "sha512-4K0myLaWL5EteuSAro91EGFgcfVgxb64Jx+7oDAY6GOkXD4M69yuSEljNcInGVCA5sOPxmZ/EqDLj2x0Q0+Ygg==",
- "hasInstallScript": true,
- "license": "BSD-3-Clause",
- "dependencies": {
- "@protobufjs/aspromise": "^1.1.2",
- "@protobufjs/base64": "^1.1.2",
- "@protobufjs/codegen": "^2.0.5",
- "@protobufjs/eventemitter": "^1.1.1",
- "@protobufjs/fetch": "^1.1.1",
- "@protobufjs/float": "^1.0.2",
- "@protobufjs/inquire": "^1.1.2",
- "@protobufjs/path": "^1.1.2",
- "@protobufjs/pool": "^1.1.0",
- "@protobufjs/utf8": "^1.1.1",
- "@types/node": ">=13.7.0",
- "long": "^5.3.2"
- },
- "engines": {
- "node": ">=12.0.0"
- }
- },
- "node_modules/proxy-addr": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
- "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
- "license": "MIT",
- "dependencies": {
- "forwarded": "0.2.0",
- "ipaddr.js": "1.9.1"
- },
- "engines": {
- "node": ">= 0.10"
- }
- },
- "node_modules/qs": {
- "version": "6.15.2",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.2.tgz",
- "integrity": "sha512-Rzq0KEyX/w/tEybncDgdkZrJgVUsUMk3xjh3t5bv3S1HTAtg+uOYt72+ZfwiQwKdysThkTBdL/rTi6HDmX9Ddw==",
- "license": "BSD-3-Clause",
- "dependencies": {
- "side-channel": "^1.1.0"
- },
- "engines": {
- "node": ">=0.6"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/range-parser": {
- "version": "1.2.1",
- "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
- "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/raw-body": {
- "version": "2.5.3",
- "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz",
- "integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==",
- "license": "MIT",
- "dependencies": {
- "bytes": "~3.1.2",
- "http-errors": "~2.0.1",
- "iconv-lite": "~0.4.24",
- "unpipe": "~1.0.0"
- },
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/require-directory": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
- "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==",
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
- "node_modules/safe-buffer": {
- "version": "5.2.1",
- "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
- "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "license": "MIT"
- },
- "node_modules/safer-buffer": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
- "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==",
- "license": "MIT"
- },
- "node_modules/send": {
- "version": "0.19.2",
- "resolved": "https://registry.npmjs.org/send/-/send-0.19.2.tgz",
- "integrity": "sha512-VMbMxbDeehAxpOtWJXlcUS5E8iXh6QmN+BkRX1GARS3wRaXEEgzCcB10gTQazO42tpNIya8xIyNx8fll1OFPrg==",
- "license": "MIT",
- "dependencies": {
- "debug": "2.6.9",
- "depd": "2.0.0",
- "destroy": "1.2.0",
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "etag": "~1.8.1",
- "fresh": "~0.5.2",
- "http-errors": "~2.0.1",
- "mime": "1.6.0",
- "ms": "2.1.3",
- "on-finished": "~2.4.1",
- "range-parser": "~1.2.1",
- "statuses": "~2.0.2"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/send/node_modules/ms": {
- "version": "2.1.3",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
- "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "license": "MIT"
- },
- "node_modules/serve-static": {
- "version": "1.16.3",
- "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.3.tgz",
- "integrity": "sha512-x0RTqQel6g5SY7Lg6ZreMmsOzncHFU7nhnRWkKgWuMTu5NN0DR5oruckMqRvacAN9d5w6ARnRBXl9xhDCgfMeA==",
- "license": "MIT",
- "dependencies": {
- "encodeurl": "~2.0.0",
- "escape-html": "~1.0.3",
- "parseurl": "~1.3.3",
- "send": "~0.19.1"
- },
- "engines": {
- "node": ">= 0.8.0"
- }
- },
- "node_modules/setprototypeof": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
- "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==",
- "license": "ISC"
- },
- "node_modules/side-channel": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",
- "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0",
- "object-inspect": "^1.13.3",
- "side-channel-list": "^1.0.0",
- "side-channel-map": "^1.0.1",
- "side-channel-weakmap": "^1.0.2"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/side-channel-list": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.1.tgz",
- "integrity": "sha512-mjn/0bi/oUURjc5Xl7IaWi/OJJJumuoJFQJfDDyO46+hBWsfaVM65TBHq2eoZBhzl9EchxOijpkbRC8SVBQU0w==",
- "license": "MIT",
- "dependencies": {
- "es-errors": "^1.3.0",
- "object-inspect": "^1.13.4"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/side-channel-map": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz",
- "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==",
- "license": "MIT",
- "dependencies": {
- "call-bound": "^1.0.2",
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.5",
- "object-inspect": "^1.13.3"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/side-channel-weakmap": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz",
- "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==",
- "license": "MIT",
- "dependencies": {
- "call-bound": "^1.0.2",
- "es-errors": "^1.3.0",
- "get-intrinsic": "^1.2.5",
- "object-inspect": "^1.13.3",
- "side-channel-map": "^1.0.1"
- },
- "engines": {
- "node": ">= 0.4"
- },
- "funding": {
- "url": "https://github.com/sponsors/ljharb"
- }
- },
- "node_modules/statuses": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
- "integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/string-width": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
- "license": "MIT",
- "dependencies": {
- "emoji-regex": "^8.0.0",
- "is-fullwidth-code-point": "^3.0.0",
- "strip-ansi": "^6.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/strip-ansi": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
- "license": "MIT",
- "dependencies": {
- "ansi-regex": "^5.0.1"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/toidentifier": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
- "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==",
- "license": "MIT",
- "engines": {
- "node": ">=0.6"
- }
- },
- "node_modules/type-is": {
- "version": "1.6.18",
- "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
- "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
- "license": "MIT",
- "dependencies": {
- "media-typer": "0.3.0",
- "mime-types": "~2.1.24"
- },
- "engines": {
- "node": ">= 0.6"
- }
- },
- "node_modules/undici-types": {
- "version": "7.24.6",
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz",
- "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==",
- "license": "MIT"
- },
- "node_modules/unpipe": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
- "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/utils-merge": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
- "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.4.0"
- }
- },
- "node_modules/uuid": {
- "version": "14.0.0",
- "resolved": "https://registry.npmjs.org/uuid/-/uuid-14.0.0.tgz",
- "integrity": "sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==",
- "funding": [
- "https://github.com/sponsors/broofa",
- "https://github.com/sponsors/ctavan"
- ],
- "license": "MIT",
- "bin": {
- "uuid": "dist-node/bin/uuid"
- }
- },
- "node_modules/vary": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
- "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==",
- "license": "MIT",
- "engines": {
- "node": ">= 0.8"
- }
- },
- "node_modules/wrap-ansi": {
- "version": "7.0.0",
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
- "license": "MIT",
- "dependencies": {
- "ansi-styles": "^4.0.0",
- "string-width": "^4.1.0",
- "strip-ansi": "^6.0.0"
- },
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
- }
- },
- "node_modules/y18n": {
- "version": "5.0.8",
- "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",
- "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",
- "license": "ISC",
- "engines": {
- "node": ">=10"
- }
- },
- "node_modules/yargs": {
- "version": "17.7.2",
- "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz",
- "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==",
- "license": "MIT",
- "dependencies": {
- "cliui": "^8.0.1",
- "escalade": "^3.1.1",
- "get-caller-file": "^2.0.5",
- "require-directory": "^2.1.1",
- "string-width": "^4.2.3",
- "y18n": "^5.0.5",
- "yargs-parser": "^21.1.1"
- },
- "engines": {
- "node": ">=12"
- }
- },
- "node_modules/yargs-parser": {
- "version": "21.1.1",
- "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz",
- "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==",
- "license": "ISC",
- "engines": {
- "node": ">=12"
- }
- }
- }
-}
diff --git a/node_modules/@grpc/grpc-js/LICENSE b/node_modules/@grpc/grpc-js/LICENSE
deleted file mode 100644
index 8dada3e..0000000
--- a/node_modules/@grpc/grpc-js/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright {yyyy} {name of copyright owner}
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/node_modules/@grpc/grpc-js/README.md b/node_modules/@grpc/grpc-js/README.md
deleted file mode 100644
index 7b1ff43..0000000
--- a/node_modules/@grpc/grpc-js/README.md
+++ /dev/null
@@ -1,84 +0,0 @@
-# Pure JavaScript gRPC Client
-
-## Installation
-
-Node 12 is recommended. The exact set of compatible Node versions can be found in the `engines` field of the `package.json` file.
-
-```sh
-npm install @grpc/grpc-js
-```
-
-## Documentation
-
-Documentation specifically for the `@grpc/grpc-js` package is currently not available. However, [documentation is available for the `grpc` package](https://grpc.github.io/grpc/node/grpc.html), and the two packages contain mostly the same interface. There are a few notable differences, however, and these differences are noted in the "Migrating from grpc" section below.
-
-## Features
-
-- Clients
-- Automatic reconnection
-- Servers
-- Streaming
-- Metadata
-- Partial compression support: clients can compress and decompress messages, and servers can decompress request messages
-- Pick first and round robin load balancing policies
-- Client Interceptors
-- Connection Keepalives
-- HTTP Connect support (proxies)
-
-If you need a feature from the `grpc` package that is not provided by the `@grpc/grpc-js`, please file a feature request with that information.
-
-This library does not directly handle `.proto` files. To use `.proto` files with this library we recommend using the `@grpc/proto-loader` package.
-
-## Migrating from [`grpc`](https://www.npmjs.com/package/grpc)
-
-`@grpc/grpc-js` is almost a drop-in replacement for `grpc`, but you may need to make a few code changes to use it:
-
-- If you are currently loading `.proto` files using `grpc.load`, that function is not available in this library. You should instead load your `.proto` files using `@grpc/proto-loader` and load the resulting package definition objects into `@grpc/grpc-js` using `grpc.loadPackageDefinition`.
-- If you are currently loading packages generated by `grpc-tools`, you should instead generate your files using the `generate_package_definition` option in `grpc-tools`, then load the object exported by the generated file into `@grpc/grpc-js` using `grpc.loadPackageDefinition`.
-- If you have a server and you are using `Server#bind` to bind ports, you will need to use `Server#bindAsync` instead.
-- If you are using any channel options supported in `grpc` but not supported in `@grpc/grpc-js`, you may need to adjust your code to handle the different behavior. Refer to [the list of supported options](#supported-channel-options) below.
-- Refer to the [detailed package comparison](https://github.com/grpc/grpc-node/blob/master/PACKAGE-COMPARISON.md) for more details on the differences between `grpc` and `@grpc/grpc-js`.
-
-## Supported Channel Options
-Many channel arguments supported in `grpc` are not supported in `@grpc/grpc-js`. The channel arguments supported by `@grpc/grpc-js` are:
- - `grpc.ssl_target_name_override`
- - `grpc.primary_user_agent`
- - `grpc.secondary_user_agent`
- - `grpc.default_authority`
- - `grpc.keepalive_time_ms`
- - `grpc.keepalive_timeout_ms`
- - `grpc.keepalive_permit_without_calls`
- - `grpc.service_config`
- - `grpc.max_concurrent_streams`
- - `grpc.initial_reconnect_backoff_ms`
- - `grpc.max_reconnect_backoff_ms`
- - `grpc.use_local_subchannel_pool`
- - `grpc.max_send_message_length`
- - `grpc.max_receive_message_length`
- - `grpc.enable_http_proxy`
- - `grpc.default_compression_algorithm`
- - `grpc.enable_channelz`
- - `grpc.dns_min_time_between_resolutions_ms`
- - `grpc.enable_retries`
- - `grpc.max_connection_age_ms`
- - `grpc.max_connection_age_grace_ms`
- - `grpc.max_connection_idle_ms`
- - `grpc.per_rpc_retry_buffer_size`
- - `grpc.retry_buffer_size`
- - `grpc.service_config_disable_resolution`
- - `grpc.client_idle_timeout_ms`
- - `grpc-node.max_session_memory`
- - `grpc-node.tls_enable_trace`
- - `grpc-node.retry_max_attempts_limit`
- - `grpc-node.flow_control_window`
- - `channelOverride`
- - `channelFactoryOverride`
-
-## Some Notes on API Guarantees
-
-The public API of this library follows semantic versioning, with some caveats:
-
-- Some methods are prefixed with an underscore. These methods are internal and should not be considered part of the public API.
-- The class `Call` is only exposed due to limitations of TypeScript. It should not be considered part of the public API.
-- In general, any API that is exposed by this library but is not exposed by the `grpc` library is likely an error and should not be considered part of the public API.
-- The `grpc.experimental` namespace contains APIs that have not stabilized. Any API in that namespace may break in any minor version update.
diff --git a/node_modules/@grpc/grpc-js/build/src/admin.d.ts b/node_modules/@grpc/grpc-js/build/src/admin.d.ts
deleted file mode 100644
index 92b9bba..0000000
--- a/node_modules/@grpc/grpc-js/build/src/admin.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import { ServiceDefinition } from './make-client';
-import { Server, UntypedServiceImplementation } from './server';
-interface GetServiceDefinition {
- (): ServiceDefinition;
-}
-interface GetHandlers {
- (): UntypedServiceImplementation;
-}
-export declare function registerAdminService(getServiceDefinition: GetServiceDefinition, getHandlers: GetHandlers): void;
-export declare function addAdminServicesToServer(server: Server): void;
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/admin.js b/node_modules/@grpc/grpc-js/build/src/admin.js
deleted file mode 100644
index 6189c52..0000000
--- a/node_modules/@grpc/grpc-js/build/src/admin.js
+++ /dev/null
@@ -1,30 +0,0 @@
-"use strict";
-/*
- * Copyright 2021 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.registerAdminService = registerAdminService;
-exports.addAdminServicesToServer = addAdminServicesToServer;
-const registeredAdminServices = [];
-function registerAdminService(getServiceDefinition, getHandlers) {
- registeredAdminServices.push({ getServiceDefinition, getHandlers });
-}
-function addAdminServicesToServer(server) {
- for (const { getServiceDefinition, getHandlers } of registeredAdminServices) {
- server.addService(getServiceDefinition(), getHandlers());
- }
-}
-//# sourceMappingURL=admin.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/admin.js.map b/node_modules/@grpc/grpc-js/build/src/admin.js.map
deleted file mode 100644
index 44885c5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/admin.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"admin.js","sourceRoot":"","sources":["../../src/admin.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AAkBH,oDAKC;AAED,4DAIC;AAhBD,MAAM,uBAAuB,GAGvB,EAAE,CAAC;AAET,SAAgB,oBAAoB,CAClC,oBAA0C,EAC1C,WAAwB;IAExB,uBAAuB,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,WAAW,EAAE,CAAC,CAAC;AACtE,CAAC;AAED,SAAgB,wBAAwB,CAAC,MAAc;IACrD,KAAK,MAAM,EAAE,oBAAoB,EAAE,WAAW,EAAE,IAAI,uBAAuB,EAAE,CAAC;QAC5E,MAAM,CAAC,UAAU,CAAC,oBAAoB,EAAE,EAAE,WAAW,EAAE,CAAC,CAAC;IAC3D,CAAC;AACH,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/auth-context.d.ts b/node_modules/@grpc/grpc-js/build/src/auth-context.d.ts
deleted file mode 100644
index f58e923..0000000
--- a/node_modules/@grpc/grpc-js/build/src/auth-context.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import { PeerCertificate } from "tls";
-export interface AuthContext {
- transportSecurityType?: string;
- sslPeerCertificate?: PeerCertificate;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/auth-context.js b/node_modules/@grpc/grpc-js/build/src/auth-context.js
deleted file mode 100644
index b602f66..0000000
--- a/node_modules/@grpc/grpc-js/build/src/auth-context.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-/*
- * Copyright 2025 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=auth-context.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/auth-context.js.map b/node_modules/@grpc/grpc-js/build/src/auth-context.js.map
deleted file mode 100644
index 512cbe7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/auth-context.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"auth-context.js","sourceRoot":"","sources":["../../src/auth-context.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/backoff-timeout.d.ts b/node_modules/@grpc/grpc-js/build/src/backoff-timeout.d.ts
deleted file mode 100644
index 7c41bd7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/backoff-timeout.d.ts
+++ /dev/null
@@ -1,94 +0,0 @@
-export interface BackoffOptions {
- initialDelay?: number;
- multiplier?: number;
- jitter?: number;
- maxDelay?: number;
-}
-export declare class BackoffTimeout {
- private callback;
- /**
- * The delay time at the start, and after each reset.
- */
- private readonly initialDelay;
- /**
- * The exponential backoff multiplier.
- */
- private readonly multiplier;
- /**
- * The maximum delay time
- */
- private readonly maxDelay;
- /**
- * The maximum fraction by which the delay time can randomly vary after
- * applying the multiplier.
- */
- private readonly jitter;
- /**
- * The delay time for the next time the timer runs.
- */
- private nextDelay;
- /**
- * The handle of the underlying timer. If running is false, this value refers
- * to an object representing a timer that has ended, but it can still be
- * interacted with without error.
- */
- private timerId;
- /**
- * Indicates whether the timer is currently running.
- */
- private running;
- /**
- * Indicates whether the timer should keep the Node process running if no
- * other async operation is doing so.
- */
- private hasRef;
- /**
- * The time that the currently running timer was started. Only valid if
- * running is true.
- */
- private startTime;
- /**
- * The approximate time that the currently running timer will end. Only valid
- * if running is true.
- */
- private endTime;
- private id;
- private static nextId;
- constructor(callback: () => void, options?: BackoffOptions);
- private static getNextId;
- private trace;
- private runTimer;
- /**
- * Call the callback after the current amount of delay time
- */
- runOnce(): void;
- /**
- * Stop the timer. The callback will not be called until `runOnce` is called
- * again.
- */
- stop(): void;
- /**
- * Reset the delay time to its initial value. If the timer is still running,
- * retroactively apply that reset to the current timer.
- */
- reset(): void;
- /**
- * Check whether the timer is currently running.
- */
- isRunning(): boolean;
- /**
- * Set that while the timer is running, it should keep the Node process
- * running.
- */
- ref(): void;
- /**
- * Set that while the timer is running, it should not keep the Node process
- * running.
- */
- unref(): void;
- /**
- * Get the approximate timestamp of when the timer will fire. Only valid if
- * this.isRunning() is true.
- */
- getEndTime(): Date;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js b/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js
deleted file mode 100644
index b4721f3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js
+++ /dev/null
@@ -1,191 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.BackoffTimeout = void 0;
-const constants_1 = require("./constants");
-const logging = require("./logging");
-const TRACER_NAME = 'backoff';
-const INITIAL_BACKOFF_MS = 1000;
-const BACKOFF_MULTIPLIER = 1.6;
-const MAX_BACKOFF_MS = 120000;
-const BACKOFF_JITTER = 0.2;
-/**
- * Get a number uniformly at random in the range [min, max)
- * @param min
- * @param max
- */
-function uniformRandom(min, max) {
- return Math.random() * (max - min) + min;
-}
-class BackoffTimeout {
- constructor(callback, options) {
- this.callback = callback;
- /**
- * The delay time at the start, and after each reset.
- */
- this.initialDelay = INITIAL_BACKOFF_MS;
- /**
- * The exponential backoff multiplier.
- */
- this.multiplier = BACKOFF_MULTIPLIER;
- /**
- * The maximum delay time
- */
- this.maxDelay = MAX_BACKOFF_MS;
- /**
- * The maximum fraction by which the delay time can randomly vary after
- * applying the multiplier.
- */
- this.jitter = BACKOFF_JITTER;
- /**
- * Indicates whether the timer is currently running.
- */
- this.running = false;
- /**
- * Indicates whether the timer should keep the Node process running if no
- * other async operation is doing so.
- */
- this.hasRef = true;
- /**
- * The time that the currently running timer was started. Only valid if
- * running is true.
- */
- this.startTime = new Date();
- /**
- * The approximate time that the currently running timer will end. Only valid
- * if running is true.
- */
- this.endTime = new Date();
- this.id = BackoffTimeout.getNextId();
- if (options) {
- if (options.initialDelay) {
- this.initialDelay = options.initialDelay;
- }
- if (options.multiplier) {
- this.multiplier = options.multiplier;
- }
- if (options.jitter) {
- this.jitter = options.jitter;
- }
- if (options.maxDelay) {
- this.maxDelay = options.maxDelay;
- }
- }
- this.trace('constructed initialDelay=' + this.initialDelay + ' multiplier=' + this.multiplier + ' jitter=' + this.jitter + ' maxDelay=' + this.maxDelay);
- this.nextDelay = this.initialDelay;
- this.timerId = setTimeout(() => { }, 0);
- clearTimeout(this.timerId);
- }
- static getNextId() {
- return this.nextId++;
- }
- trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, '{' + this.id + '} ' + text);
- }
- runTimer(delay) {
- var _a, _b;
- this.trace('runTimer(delay=' + delay + ')');
- this.endTime = this.startTime;
- this.endTime.setMilliseconds(this.endTime.getMilliseconds() + delay);
- clearTimeout(this.timerId);
- this.timerId = setTimeout(() => {
- this.trace('timer fired');
- this.running = false;
- this.callback();
- }, delay);
- if (!this.hasRef) {
- (_b = (_a = this.timerId).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- }
- }
- /**
- * Call the callback after the current amount of delay time
- */
- runOnce() {
- this.trace('runOnce()');
- this.running = true;
- this.startTime = new Date();
- this.runTimer(this.nextDelay);
- const nextBackoff = Math.min(this.nextDelay * this.multiplier, this.maxDelay);
- const jitterMagnitude = nextBackoff * this.jitter;
- this.nextDelay =
- nextBackoff + uniformRandom(-jitterMagnitude, jitterMagnitude);
- }
- /**
- * Stop the timer. The callback will not be called until `runOnce` is called
- * again.
- */
- stop() {
- this.trace('stop()');
- clearTimeout(this.timerId);
- this.running = false;
- }
- /**
- * Reset the delay time to its initial value. If the timer is still running,
- * retroactively apply that reset to the current timer.
- */
- reset() {
- this.trace('reset() running=' + this.running);
- this.nextDelay = this.initialDelay;
- if (this.running) {
- const now = new Date();
- const newEndTime = this.startTime;
- newEndTime.setMilliseconds(newEndTime.getMilliseconds() + this.nextDelay);
- clearTimeout(this.timerId);
- if (now < newEndTime) {
- this.runTimer(newEndTime.getTime() - now.getTime());
- }
- else {
- this.running = false;
- }
- }
- }
- /**
- * Check whether the timer is currently running.
- */
- isRunning() {
- return this.running;
- }
- /**
- * Set that while the timer is running, it should keep the Node process
- * running.
- */
- ref() {
- var _a, _b;
- this.hasRef = true;
- (_b = (_a = this.timerId).ref) === null || _b === void 0 ? void 0 : _b.call(_a);
- }
- /**
- * Set that while the timer is running, it should not keep the Node process
- * running.
- */
- unref() {
- var _a, _b;
- this.hasRef = false;
- (_b = (_a = this.timerId).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- }
- /**
- * Get the approximate timestamp of when the timer will fire. Only valid if
- * this.isRunning() is true.
- */
- getEndTime() {
- return this.endTime;
- }
-}
-exports.BackoffTimeout = BackoffTimeout;
-BackoffTimeout.nextId = 0;
-//# sourceMappingURL=backoff-timeout.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js.map b/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js.map
deleted file mode 100644
index a108e38..0000000
--- a/node_modules/@grpc/grpc-js/build/src/backoff-timeout.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"backoff-timeout.js","sourceRoot":"","sources":["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MAAM,UAAU,GAAG,IAAI,CAAC,SAAS,CAAC;YAClC,UAAU,CAAC,eAAe,CAAC,UAAU,CAAC,eAAe,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;YAC1E,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAC3B,IAAI,GAAG,GAAG,UAAU,EAAE,CAAC;gBACrB,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,OAAO,EAAE,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;YACtD,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;YACvB,CAAC;QACH,CAAC;IACH,CAAC;IAED;;OAEG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED;;;OAGG;IACH,GAAG;;QACD,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;QACnB,MAAA,MAAA,IAAI,CAAC,OAAO,EAAC,GAAG,kDAAI,CAAC;IACvB,CAAC;IAED;;;OAGG;IACH,KAAK;;QACH,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,MAAA,MAAA,IAAI,CAAC,OAAO,EAAC,KAAK,kDAAI,CAAC;IACzB,CAAC;IAED;;;OAGG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;;AAjLH,wCAkLC;AAhIgB,qBAAM,GAAG,CAAC,AAAJ,CAAK"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/call-credentials.d.ts b/node_modules/@grpc/grpc-js/build/src/call-credentials.d.ts
deleted file mode 100644
index ecdb3f9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-credentials.d.ts
+++ /dev/null
@@ -1,57 +0,0 @@
-import { Metadata } from './metadata';
-export interface CallMetadataOptions {
- method_name: string;
- service_url: string;
-}
-export type CallMetadataGenerator = (options: CallMetadataOptions, cb: (err: Error | null, metadata?: Metadata) => void) => void;
-export interface OldOAuth2Client {
- getRequestMetadata: (url: string, callback: (err: Error | null, headers?: {
- [index: string]: string;
- }) => void) => void;
-}
-export interface CurrentOAuth2Client {
- getRequestHeaders: (url?: string) => Promise<{
- [index: string]: string;
- }>;
-}
-export type OAuth2Client = OldOAuth2Client | CurrentOAuth2Client;
-/**
- * A class that represents a generic method of adding authentication-related
- * metadata on a per-request basis.
- */
-export declare abstract class CallCredentials {
- /**
- * Asynchronously generates a new Metadata object.
- * @param options Options used in generating the Metadata object.
- */
- abstract generateMetadata(options: CallMetadataOptions): Promise;
- /**
- * Creates a new CallCredentials object from properties of both this and
- * another CallCredentials object. This object's metadata generator will be
- * called first.
- * @param callCredentials The other CallCredentials object.
- */
- abstract compose(callCredentials: CallCredentials): CallCredentials;
- /**
- * Check whether two call credentials objects are equal. Separate
- * SingleCallCredentials with identical metadata generator functions are
- * equal.
- * @param other The other CallCredentials object to compare with.
- */
- abstract _equals(other: CallCredentials): boolean;
- /**
- * Creates a new CallCredentials object from a given function that generates
- * Metadata objects.
- * @param metadataGenerator A function that accepts a set of options, and
- * generates a Metadata object based on these options, which is passed back
- * to the caller via a supplied (err, metadata) callback.
- */
- static createFromMetadataGenerator(metadataGenerator: CallMetadataGenerator): CallCredentials;
- /**
- * Create a gRPC credential from a Google credential object.
- * @param googleCredentials The authentication client to use.
- * @return The resulting CallCredentials object.
- */
- static createFromGoogleCredential(googleCredentials: OAuth2Client): CallCredentials;
- static createEmpty(): CallCredentials;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/call-credentials.js b/node_modules/@grpc/grpc-js/build/src/call-credentials.js
deleted file mode 100644
index 67b9266..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-credentials.js
+++ /dev/null
@@ -1,153 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CallCredentials = void 0;
-const metadata_1 = require("./metadata");
-function isCurrentOauth2Client(client) {
- return ('getRequestHeaders' in client &&
- typeof client.getRequestHeaders === 'function');
-}
-/**
- * A class that represents a generic method of adding authentication-related
- * metadata on a per-request basis.
- */
-class CallCredentials {
- /**
- * Creates a new CallCredentials object from a given function that generates
- * Metadata objects.
- * @param metadataGenerator A function that accepts a set of options, and
- * generates a Metadata object based on these options, which is passed back
- * to the caller via a supplied (err, metadata) callback.
- */
- static createFromMetadataGenerator(metadataGenerator) {
- return new SingleCallCredentials(metadataGenerator);
- }
- /**
- * Create a gRPC credential from a Google credential object.
- * @param googleCredentials The authentication client to use.
- * @return The resulting CallCredentials object.
- */
- static createFromGoogleCredential(googleCredentials) {
- return CallCredentials.createFromMetadataGenerator((options, callback) => {
- let getHeaders;
- if (isCurrentOauth2Client(googleCredentials)) {
- getHeaders = googleCredentials.getRequestHeaders(options.service_url);
- }
- else {
- getHeaders = new Promise((resolve, reject) => {
- googleCredentials.getRequestMetadata(options.service_url, (err, headers) => {
- if (err) {
- reject(err);
- return;
- }
- if (!headers) {
- reject(new Error('Headers not set by metadata plugin'));
- return;
- }
- resolve(headers);
- });
- });
- }
- getHeaders.then(headers => {
- const metadata = new metadata_1.Metadata();
- for (const key of Object.keys(headers)) {
- metadata.add(key, headers[key]);
- }
- callback(null, metadata);
- }, err => {
- callback(err);
- });
- });
- }
- static createEmpty() {
- return new EmptyCallCredentials();
- }
-}
-exports.CallCredentials = CallCredentials;
-class ComposedCallCredentials extends CallCredentials {
- constructor(creds) {
- super();
- this.creds = creds;
- }
- async generateMetadata(options) {
- const base = new metadata_1.Metadata();
- const generated = await Promise.all(this.creds.map(cred => cred.generateMetadata(options)));
- for (const gen of generated) {
- base.merge(gen);
- }
- return base;
- }
- compose(other) {
- return new ComposedCallCredentials(this.creds.concat([other]));
- }
- _equals(other) {
- if (this === other) {
- return true;
- }
- if (other instanceof ComposedCallCredentials) {
- return this.creds.every((value, index) => value._equals(other.creds[index]));
- }
- else {
- return false;
- }
- }
-}
-class SingleCallCredentials extends CallCredentials {
- constructor(metadataGenerator) {
- super();
- this.metadataGenerator = metadataGenerator;
- }
- generateMetadata(options) {
- return new Promise((resolve, reject) => {
- this.metadataGenerator(options, (err, metadata) => {
- if (metadata !== undefined) {
- resolve(metadata);
- }
- else {
- reject(err);
- }
- });
- });
- }
- compose(other) {
- return new ComposedCallCredentials([this, other]);
- }
- _equals(other) {
- if (this === other) {
- return true;
- }
- if (other instanceof SingleCallCredentials) {
- return this.metadataGenerator === other.metadataGenerator;
- }
- else {
- return false;
- }
- }
-}
-class EmptyCallCredentials extends CallCredentials {
- generateMetadata(options) {
- return Promise.resolve(new metadata_1.Metadata());
- }
- compose(other) {
- return other;
- }
- _equals(other) {
- return other instanceof EmptyCallCredentials;
- }
-}
-//# sourceMappingURL=call-credentials.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/call-credentials.js.map b/node_modules/@grpc/grpc-js/build/src/call-credentials.js.map
deleted file mode 100644
index 71ad1c3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-credentials.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"call-credentials.js","sourceRoot":"","sources":["../../src/call-credentials.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yCAAsC;AAgCtC,SAAS,qBAAqB,CAC5B,MAAoB;IAEpB,OAAO,CACL,mBAAmB,IAAI,MAAM;QAC7B,OAAO,MAAM,CAAC,iBAAiB,KAAK,UAAU,CAC/C,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAsB,eAAe;IAsBnC;;;;;;OAMG;IACH,MAAM,CAAC,2BAA2B,C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ff --git a/node_modules/@grpc/grpc-js/build/src/call-interface.d.ts b/node_modules/@grpc/grpc-js/build/src/call-interface.d.ts
deleted file mode 100644
index c33a3d7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-interface.d.ts
+++ /dev/null
@@ -1,101 +0,0 @@
-import { AuthContext } from './auth-context';
-import { CallCredentials } from './call-credentials';
-import { Status } from './constants';
-import { Deadline } from './deadline';
-import { Metadata } from './metadata';
-import { ServerSurfaceCall } from './server-call';
-export interface CallStreamOptions {
- deadline: Deadline;
- flags: number;
- host: string;
- parentCall: ServerSurfaceCall | null;
-}
-export type PartialCallStreamOptions = Partial;
-export interface StatusObject {
- code: Status;
- details: string;
- metadata: Metadata;
-}
-export type PartialStatusObject = Pick & {
- metadata?: Metadata | null | undefined;
-};
-export interface StatusOrOk {
- ok: true;
- value: T;
-}
-export interface StatusOrError {
- ok: false;
- error: StatusObject;
-}
-export type StatusOr = StatusOrOk | StatusOrError;
-export declare function statusOrFromValue(value: T): StatusOr;
-export declare function statusOrFromError(error: PartialStatusObject): StatusOr;
-export declare const enum WriteFlags {
- BufferHint = 1,
- NoCompress = 2,
- WriteThrough = 4
-}
-export interface WriteObject {
- message: Buffer;
- flags?: number;
-}
-export interface MetadataListener {
- (metadata: Metadata, next: (metadata: Metadata) => void): void;
-}
-export interface MessageListener {
- (message: any, next: (message: any) => void): void;
-}
-export interface StatusListener {
- (status: StatusObject, next: (status: StatusObject) => void): void;
-}
-export interface FullListener {
- onReceiveMetadata: MetadataListener;
- onReceiveMessage: MessageListener;
- onReceiveStatus: StatusListener;
-}
-export type Listener = Partial;
-/**
- * An object with methods for handling the responses to a call.
- */
-export interface InterceptingListener {
- onReceiveMetadata(metadata: Metadata): void;
- onReceiveMessage(message: any): void;
- onReceiveStatus(status: StatusObject): void;
-}
-export declare function isInterceptingListener(listener: Listener | InterceptingListener): listener is InterceptingListener;
-export declare class InterceptingListenerImpl implements InterceptingListener {
- private listener;
- private nextListener;
- private processingMetadata;
- private hasPendingMessage;
- private pendingMessage;
- private processingMessage;
- private pendingStatus;
- constructor(listener: FullListener, nextListener: InterceptingListener);
- private processPendingMessage;
- private processPendingStatus;
- onReceiveMetadata(metadata: Metadata): void;
- onReceiveMessage(message: any): void;
- onReceiveStatus(status: StatusObject): void;
-}
-export interface WriteCallback {
- (error?: Error | null): void;
-}
-export interface MessageContext {
- callback?: WriteCallback;
- flags?: number;
-}
-export interface Call {
- cancelWithStatus(status: Status, details: string): void;
- getPeer(): string;
- start(metadata: Metadata, listener: InterceptingListener): void;
- sendMessageWithContext(context: MessageContext, message: Buffer): void;
- startRead(): void;
- halfClose(): void;
- getCallNumber(): number;
- setCredentials(credentials: CallCredentials): void;
- getAuthContext(): AuthContext | null;
-}
-export interface DeadlineInfoProvider {
- getDeadlineInfo(): string[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/call-interface.js b/node_modules/@grpc/grpc-js/build/src/call-interface.js
deleted file mode 100644
index 88abb51..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-interface.js
+++ /dev/null
@@ -1,100 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.InterceptingListenerImpl = void 0;
-exports.statusOrFromValue = statusOrFromValue;
-exports.statusOrFromError = statusOrFromError;
-exports.isInterceptingListener = isInterceptingListener;
-const metadata_1 = require("./metadata");
-function statusOrFromValue(value) {
- return {
- ok: true,
- value: value
- };
-}
-function statusOrFromError(error) {
- var _a;
- return {
- ok: false,
- error: Object.assign(Object.assign({}, error), { metadata: (_a = error.metadata) !== null && _a !== void 0 ? _a : new metadata_1.Metadata() })
- };
-}
-function isInterceptingListener(listener) {
- return (listener.onReceiveMetadata !== undefined &&
- listener.onReceiveMetadata.length === 1);
-}
-class InterceptingListenerImpl {
- constructor(listener, nextListener) {
- this.listener = listener;
- this.nextListener = nextListener;
- this.processingMetadata = false;
- this.hasPendingMessage = false;
- this.processingMessage = false;
- this.pendingStatus = null;
- }
- processPendingMessage() {
- if (this.hasPendingMessage) {
- this.nextListener.onReceiveMessage(this.pendingMessage);
- this.pendingMessage = null;
- this.hasPendingMessage = false;
- }
- }
- processPendingStatus() {
- if (this.pendingStatus) {
- this.nextListener.onReceiveStatus(this.pendingStatus);
- }
- }
- onReceiveMetadata(metadata) {
- this.processingMetadata = true;
- this.listener.onReceiveMetadata(metadata, metadata => {
- this.processingMetadata = false;
- this.nextListener.onReceiveMetadata(metadata);
- this.processPendingMessage();
- this.processPendingStatus();
- });
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- onReceiveMessage(message) {
- /* If this listener processes messages asynchronously, the last message may
- * be reordered with respect to the status */
- this.processingMessage = true;
- this.listener.onReceiveMessage(message, msg => {
- this.processingMessage = false;
- if (this.processingMetadata) {
- this.pendingMessage = msg;
- this.hasPendingMessage = true;
- }
- else {
- this.nextListener.onReceiveMessage(msg);
- this.processPendingStatus();
- }
- });
- }
- onReceiveStatus(status) {
- this.listener.onReceiveStatus(status, processedStatus => {
- if (this.processingMetadata || this.processingMessage) {
- this.pendingStatus = processedStatus;
- }
- else {
- this.nextListener.onReceiveStatus(processedStatus);
- }
- });
- }
-}
-exports.InterceptingListenerImpl = InterceptingListenerImpl;
-//# sourceMappingURL=call-interface.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/call-interface.js.map b/node_modules/@grpc/grpc-js/build/src/call-interface.js.map
deleted file mode 100644
index ccf8fdd..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-interface.js.map
+++ /dev/null
@@ -1 +0,0 @@
-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Y,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;YACrD,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AA3DD,4DA2DC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/call-number.d.ts b/node_modules/@grpc/grpc-js/build/src/call-number.d.ts
deleted file mode 100644
index a679ff6..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-number.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare function getNextCallNumber(): number;
diff --git a/node_modules/@grpc/grpc-js/build/src/call-number.js b/node_modules/@grpc/grpc-js/build/src/call-number.js
deleted file mode 100644
index ed8bcdf..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-number.js
+++ /dev/null
@@ -1,24 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.getNextCallNumber = getNextCallNumber;
-let nextCallNumber = 0;
-function getNextCallNumber() {
- return nextCallNumber++;
-}
-//# sourceMappingURL=call-number.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/call-number.js.map b/node_modules/@grpc/grpc-js/build/src/call-number.js.map
deleted file mode 100644
index 7d3a9ae..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call-number.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"call-number.js","sourceRoot":"","sources":["../../src/call-number.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AAIH,8CAEC;AAJD,IAAI,cAAc,GAAG,CAAC,CAAC;AAEvB,SAAgB,iBAAiB;IAC/B,OAAO,cAAc,EAAE,CAAC;AAC1B,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/call.d.ts b/node_modules/@grpc/grpc-js/build/src/call.d.ts
deleted file mode 100644
index 7fac22a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call.d.ts
+++ /dev/null
@@ -1,86 +0,0 @@
-import { EventEmitter } from 'events';
-import { Duplex, Readable, Writable } from 'stream';
-import { StatusObject } from './call-interface';
-import { EmitterAugmentation1 } from './events';
-import { Metadata } from './metadata';
-import { ObjectReadable, ObjectWritable, WriteCallback } from './object-stream';
-import { InterceptingCallInterface } from './client-interceptors';
-import { AuthContext } from './auth-context';
-/**
- * A type extending the built-in Error object with additional fields.
- */
-export type ServiceError = StatusObject & Error;
-/**
- * A base type for all user-facing values returned by client-side method calls.
- */
-export type SurfaceCall = {
- call?: InterceptingCallInterface;
- cancel(): void;
- getPeer(): string;
- getAuthContext(): AuthContext | null;
-} & EmitterAugmentation1<'metadata', Metadata> & EmitterAugmentation1<'status', StatusObject> & EventEmitter;
-/**
- * A type representing the return value of a unary method call.
- */
-export type ClientUnaryCall = SurfaceCall;
-/**
- * A type representing the return value of a server stream method call.
- */
-export type ClientReadableStream = {
- deserialize: (chunk: Buffer) => ResponseType;
-} & SurfaceCall & ObjectReadable;
-/**
- * A type representing the return value of a client stream method call.
- */
-export type ClientWritableStream = {
- serialize: (value: RequestType) => Buffer;
-} & SurfaceCall & ObjectWritable;
-/**
- * A type representing the return value of a bidirectional stream method call.
- */
-export type ClientDuplexStream = ClientWritableStream & ClientReadableStream;
-/**
- * Construct a ServiceError from a StatusObject. This function exists primarily
- * as an attempt to make the error stack trace clearly communicate that the
- * error is not necessarily a problem in gRPC itself.
- * @param status
- */
-export declare function callErrorFromStatus(status: StatusObject, callerStack: string): ServiceError;
-export declare class ClientUnaryCallImpl extends EventEmitter implements ClientUnaryCall {
- call?: InterceptingCallInterface;
- constructor();
- cancel(): void;
- getPeer(): string;
- getAuthContext(): AuthContext | null;
-}
-export declare class ClientReadableStreamImpl extends Readable implements ClientReadableStream {
- readonly deserialize: (chunk: Buffer) => ResponseType;
- call?: InterceptingCallInterface;
- constructor(deserialize: (chunk: Buffer) => ResponseType);
- cancel(): void;
- getPeer(): string;
- getAuthContext(): AuthContext | null;
- _read(_size: number): void;
-}
-export declare class ClientWritableStreamImpl extends Writable implements ClientWritableStream {
- readonly serialize: (value: RequestType) => Buffer;
- call?: InterceptingCallInterface;
- constructor(serialize: (value: RequestType) => Buffer);
- cancel(): void;
- getPeer(): string;
- getAuthContext(): AuthContext | null;
- _write(chunk: RequestType, encoding: string, cb: WriteCallback): void;
- _final(cb: Function): void;
-}
-export declare class ClientDuplexStreamImpl extends Duplex implements ClientDuplexStream {
- readonly serialize: (value: RequestType) => Buffer;
- readonly deserialize: (chunk: Buffer) => ResponseType;
- call?: InterceptingCallInterface;
- constructor(serialize: (value: RequestType) => Buffer, deserialize: (chunk: Buffer) => ResponseType);
- cancel(): void;
- getPeer(): string;
- getAuthContext(): AuthContext | null;
- _read(_size: number): void;
- _write(chunk: RequestType, encoding: string, cb: WriteCallback): void;
- _final(cb: Function): void;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/call.js b/node_modules/@grpc/grpc-js/build/src/call.js
deleted file mode 100644
index ff6d179..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call.js
+++ /dev/null
@@ -1,152 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ClientDuplexStreamImpl = exports.ClientWritableStreamImpl = exports.ClientReadableStreamImpl = exports.ClientUnaryCallImpl = void 0;
-exports.callErrorFromStatus = callErrorFromStatus;
-const events_1 = require("events");
-const stream_1 = require("stream");
-const constants_1 = require("./constants");
-/**
- * Construct a ServiceError from a StatusObject. This function exists primarily
- * as an attempt to make the error stack trace clearly communicate that the
- * error is not necessarily a problem in gRPC itself.
- * @param status
- */
-function callErrorFromStatus(status, callerStack) {
- const message = `${status.code} ${constants_1.Status[status.code]}: ${status.details}`;
- const error = new Error(message);
- const stack = `${error.stack}\nfor call at\n${callerStack}`;
- return Object.assign(new Error(message), status, { stack });
-}
-class ClientUnaryCallImpl extends events_1.EventEmitter {
- constructor() {
- super();
- }
- cancel() {
- var _a;
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.cancelWithStatus(constants_1.Status.CANCELLED, 'Cancelled on client');
- }
- getPeer() {
- var _a, _b;
- return (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.getPeer()) !== null && _b !== void 0 ? _b : 'unknown';
- }
- getAuthContext() {
- var _a, _b;
- return (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.getAuthContext()) !== null && _b !== void 0 ? _b : null;
- }
-}
-exports.ClientUnaryCallImpl = ClientUnaryCallImpl;
-class ClientReadableStreamImpl extends stream_1.Readable {
- constructor(deserialize) {
- super({ objectMode: true });
- this.deserialize = deserialize;
- }
- cancel() {
- var _a;
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.cancelWithStatus(constants_1.Status.CANCELLED, 'Cancelled on client');
- }
- getPeer() {
- var _a, _b;
- return (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.getPeer()) !== null && _b !== void 0 ? _b : 'unknown';
- }
- getAuthContext() {
- var _a, _b;
- return (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.getAuthContext()) !== null && _b !== void 0 ? _b : null;
- }
- _read(_size) {
- var _a;
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.startRead();
- }
-}
-exports.ClientReadableStreamImpl = ClientReadableStreamImpl;
-class ClientWritableStreamImpl extends stream_1.Writable {
- constructor(serialize) {
- super({ objectMode: true });
- this.serialize = serialize;
- }
- cancel() {
- var _a;
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.cancelWithStatus(constants_1.Status.CANCELLED, 'Cancelled on client');
- }
- getPeer() {
- var _a, _b;
- return (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.getPeer()) !== null && _b !== void 0 ? _b : 'unknown';
- }
- getAuthContext() {
- var _a, _b;
- return (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.getAuthContext()) !== null && _b !== void 0 ? _b : null;
- }
- _write(chunk, encoding, cb) {
- var _a;
- const context = {
- callback: cb,
- };
- const flags = Number(encoding);
- if (!Number.isNaN(flags)) {
- context.flags = flags;
- }
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.sendMessageWithContext(context, chunk);
- }
- _final(cb) {
- var _a;
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.halfClose();
- cb();
- }
-}
-exports.ClientWritableStreamImpl = ClientWritableStreamImpl;
-class ClientDuplexStreamImpl extends stream_1.Duplex {
- constructor(serialize, deserialize) {
- super({ objectMode: true });
- this.serialize = serialize;
- this.deserialize = deserialize;
- }
- cancel() {
- var _a;
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.cancelWithStatus(constants_1.Status.CANCELLED, 'Cancelled on client');
- }
- getPeer() {
- var _a, _b;
- return (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.getPeer()) !== null && _b !== void 0 ? _b : 'unknown';
- }
- getAuthContext() {
- var _a, _b;
- return (_b = (_a = this.call) === null || _a === void 0 ? void 0 : _a.getAuthContext()) !== null && _b !== void 0 ? _b : null;
- }
- _read(_size) {
- var _a;
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.startRead();
- }
- _write(chunk, encoding, cb) {
- var _a;
- const context = {
- callback: cb,
- };
- const flags = Number(encoding);
- if (!Number.isNaN(flags)) {
- context.flags = flags;
- }
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.sendMessageWithContext(context, chunk);
- }
- _final(cb) {
- var _a;
- (_a = this.call) === null || _a === void 0 ? void 0 : _a.halfClose();
- cb();
- }
-}
-exports.ClientDuplexStreamImpl = ClientDuplexStreamImpl;
-//# sourceMappingURL=call.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/call.js.map b/node_modules/@grpc/grpc-js/build/src/call.js.map
deleted file mode 100644
index 0b0689d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/call.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"call.js","sourceRoot":"","sources":["../../src/call.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA+DH,kDAQC;AArED,mCAAsC;AACtC,mCAAoD;AAGpD,2CAAqC;AAmDrC;;;;;GAKG;AACH,SAAgB,mBAAmB,CACjC,MAAoB,EACpB,WAAmB;IAEnB,MAAM,OAAO,GAAG,GAAG,MAAM,CAAC,IAAI,IAAI,kBAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,MAAM,CAAC,OAAO,EAAE,CAAC;IAC3E,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;IACjC,MAAM,KAAK,GAAG,GAAG,KAAK,CAAC,KAAK,kBAAkB,WAAW,EAAE,CAAC;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;AAC9D,CAAC;AAED,MAAa,mBACX,SAAQ,qBAAY;IAIpB;QACE,KAAK,EAAE,CAAC;IACV,CAAC;IAED,MAAM;;QACJ,MAAA,IAAI,CAAC,IAAI,0CAAE,gBAAgB,CAAC,kBAAM,CAAC,SAAS,EAAE,qBAAqB,CAAC,CAAC;IACvE,CAAC;IAED,OAAO;;QACL,OAAO,MAAA,MAAA,IAAI,CAAC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AiB;;QAC5D,MAAM,OAAO,GAAmB;YAC9B,QAAQ,EAAE,EAAE;SACb,CAAC;QACF,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC/B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC;QACxB,CAAC;QACD,MAAA,IAAI,CAAC,IAAI,0CAAE,sBAAsB,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IACpD,CAAC;IAED,MAAM,CAAC,EAAY;;QACjB,MAAA,IAAI,CAAC,IAAI,0CAAE,SAAS,EAAE,CAAC;QACvB,EAAE,EAAE,CAAC;IACP,CAAC;CACF;AA3CD,wDA2CC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/certificate-provider.d.ts b/node_modules/@grpc/grpc-js/build/src/certificate-provider.d.ts
deleted file mode 100644
index d0ddf3e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/certificate-provider.d.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-export interface CaCertificateUpdate {
- caCertificate: Buffer;
-}
-export interface IdentityCertificateUpdate {
- certificate: Buffer;
- privateKey: Buffer;
-}
-export interface CaCertificateUpdateListener {
- (update: CaCertificateUpdate | null): void;
-}
-export interface IdentityCertificateUpdateListener {
- (update: IdentityCertificateUpdate | null): void;
-}
-export interface CertificateProvider {
- addCaCertificateListener(listener: CaCertificateUpdateListener): void;
- removeCaCertificateListener(listener: CaCertificateUpdateListener): void;
- addIdentityCertificateListener(listener: IdentityCertificateUpdateListener): void;
- removeIdentityCertificateListener(listener: IdentityCertificateUpdateListener): void;
-}
-export interface FileWatcherCertificateProviderConfig {
- certificateFile?: string | undefined;
- privateKeyFile?: string | undefined;
- caCertificateFile?: string | undefined;
- refreshIntervalMs: number;
-}
-export declare class FileWatcherCertificateProvider implements CertificateProvider {
- private config;
- private refreshTimer;
- private fileResultPromise;
- private latestCaUpdate;
- private caListeners;
- private latestIdentityUpdate;
- private identityListeners;
- private lastUpdateTime;
- constructor(config: FileWatcherCertificateProviderConfig);
- private updateCertificates;
- private maybeStartWatchingFiles;
- private maybeStopWatchingFiles;
- addCaCertificateListener(listener: CaCertificateUpdateListener): void;
- removeCaCertificateListener(listener: CaCertificateUpdateListener): void;
- addIdentityCertificateListener(listener: IdentityCertificateUpdateListener): void;
- removeIdentityCertificateListener(listener: IdentityCertificateUpdateListener): void;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/certificate-provider.js b/node_modules/@grpc/grpc-js/build/src/certificate-provider.js
deleted file mode 100644
index 75cd0f8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/certificate-provider.js
+++ /dev/null
@@ -1,141 +0,0 @@
-"use strict";
-/*
- * Copyright 2024 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FileWatcherCertificateProvider = void 0;
-const fs = require("fs");
-const logging = require("./logging");
-const constants_1 = require("./constants");
-const util_1 = require("util");
-const TRACER_NAME = 'certificate_provider';
-function trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-const readFilePromise = (0, util_1.promisify)(fs.readFile);
-class FileWatcherCertificateProvider {
- constructor(config) {
- this.config = config;
- this.refreshTimer = null;
- this.fileResultPromise = null;
- this.latestCaUpdate = undefined;
- this.caListeners = new Set();
- this.latestIdentityUpdate = undefined;
- this.identityListeners = new Set();
- this.lastUpdateTime = null;
- if ((config.certificateFile === undefined) !== (config.privateKeyFile === undefined)) {
- throw new Error('certificateFile and privateKeyFile must be set or unset together');
- }
- if (config.certificateFile === undefined && config.caCertificateFile === undefined) {
- throw new Error('At least one of certificateFile and caCertificateFile must be set');
- }
- trace('File watcher constructed with config ' + JSON.stringify(config));
- }
- updateCertificates() {
- if (this.fileResultPromise) {
- return;
- }
- this.fileResultPromise = Promise.allSettled([
- this.config.certificateFile ? readFilePromise(this.config.certificateFile) : Promise.reject(),
- this.config.privateKeyFile ? readFilePromise(this.config.privateKeyFile) : Promise.reject(),
- this.config.caCertificateFile ? readFilePromise(this.config.caCertificateFile) : Promise.reject()
- ]);
- this.fileResultPromise.then(([certificateResult, privateKeyResult, caCertificateResult]) => {
- if (!this.refreshTimer) {
- return;
- }
- trace('File watcher read certificates certificate ' + certificateResult.status + ', privateKey ' + privateKeyResult.status + ', CA certificate ' + caCertificateResult.status);
- this.lastUpdateTime = new Date();
- this.fileResultPromise = null;
- if (certificateResult.status === 'fulfilled' && privateKeyResult.status === 'fulfilled') {
- this.latestIdentityUpdate = {
- certificate: certificateResult.value,
- privateKey: privateKeyResult.value
- };
- }
- else {
- this.latestIdentityUpdate = null;
- }
- if (caCertificateResult.status === 'fulfilled') {
- this.latestCaUpdate = {
- caCertificate: caCertificateResult.value
- };
- }
- else {
- this.latestCaUpdate = null;
- }
- for (const listener of this.identityListeners) {
- listener(this.latestIdentityUpdate);
- }
- for (const listener of this.caListeners) {
- listener(this.latestCaUpdate);
- }
- });
- trace('File watcher initiated certificate update');
- }
- maybeStartWatchingFiles() {
- if (!this.refreshTimer) {
- /* Perform the first read immediately, but only if there was not already
- * a recent read, to avoid reading from the filesystem significantly more
- * frequently than configured if the provider quickly switches between
- * used and unused. */
- const timeSinceLastUpdate = this.lastUpdateTime ? (new Date()).getTime() - this.lastUpdateTime.getTime() : Infinity;
- if (timeSinceLastUpdate > this.config.refreshIntervalMs) {
- this.updateCertificates();
- }
- if (timeSinceLastUpdate > this.config.refreshIntervalMs * 2) {
- // Clear out old updates if they are definitely stale
- this.latestCaUpdate = undefined;
- this.latestIdentityUpdate = undefined;
- }
- this.refreshTimer = setInterval(() => this.updateCertificates(), this.config.refreshIntervalMs);
- trace('File watcher started watching');
- }
- }
- maybeStopWatchingFiles() {
- if (this.caListeners.size === 0 && this.identityListeners.size === 0) {
- this.fileResultPromise = null;
- if (this.refreshTimer) {
- clearInterval(this.refreshTimer);
- this.refreshTimer = null;
- }
- }
- }
- addCaCertificateListener(listener) {
- this.caListeners.add(listener);
- this.maybeStartWatchingFiles();
- if (this.latestCaUpdate !== undefined) {
- process.nextTick(listener, this.latestCaUpdate);
- }
- }
- removeCaCertificateListener(listener) {
- this.caListeners.delete(listener);
- this.maybeStopWatchingFiles();
- }
- addIdentityCertificateListener(listener) {
- this.identityListeners.add(listener);
- this.maybeStartWatchingFiles();
- if (this.latestIdentityUpdate !== undefined) {
- process.nextTick(listener, this.latestIdentityUpdate);
- }
- }
- removeIdentityCertificateListener(listener) {
- this.identityListeners.delete(listener);
- this.maybeStopWatchingFiles();
- }
-}
-exports.FileWatcherCertificateProvider = FileWatcherCertificateProvider;
-//# sourceMappingURL=certificate-provider.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/certificate-provider.js.map b/node_modules/@grpc/grpc-js/build/src/certificate-provider.js.map
deleted file mode 100644
index 390b450..0000000
--- a/node_modules/@grpc/grpc-js/build/src/certificate-provider.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"certificate-provider.js","sourceRoot":"","sources":["../../src/certificate-provider.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yBAAyB;AACzB,qCAAqC;AACrC,2CAA2C;AAC3C,+BAAiC;AAEjC,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAE3C,SAAS,KAAK,CAAC,IAAY;IACzB,OAAO,CAAC,KAAK,CAAC,wBAAY,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC;AAiCD,MAAM,eAAe,GAAG,IAAA,gBAAS,EAAC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AC,YAAY,CAAC,CAAC;gBACjC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC;YAC3B,CAAC;QACH,CAAC;IACH,CAAC;IAED,wBAAwB,CAAC,QAAqC;QAC5D,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAC/B,IAAI,CAAC,uBAAuB,EAAE,CAAC;QAC/B,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,EAAE,CAAC;YACtC,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;QAClD,CAAC;IACH,CAAC;IACD,2BAA2B,CAAC,QAAqC;QAC/D,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QAClC,IAAI,CAAC,sBAAsB,EAAE,CAAC;IAChC,CAAC;IACD,8BAA8B,CAAC,QAA2C;QACxE,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QACrC,IAAI,CAAC,uBAAuB,EAAE,CAAC;QAC/B,IAAI,IAAI,CAAC,oBAAoB,KAAK,SAAS,EAAE,CAAC;YAC5C,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACxD,CAAC;IACH,CAAC;IACD,iCAAiC,CAAC,QAA2C;QAC3E,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;QACxC,IAAI,CAAC,sBAAsB,EAAE,CAAC;IAChC,CAAC;CACF;AAlHD,wEAkHC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/channel-credentials.d.ts b/node_modules/@grpc/grpc-js/build/src/channel-credentials.d.ts
deleted file mode 100644
index 3935757..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel-credentials.d.ts
+++ /dev/null
@@ -1,119 +0,0 @@
-import { PeerCertificate, SecureContext } from 'tls';
-import { CallCredentials } from './call-credentials';
-import { CertificateProvider } from './certificate-provider';
-import { Socket } from 'net';
-import { ChannelOptions } from './channel-options';
-import { GrpcUri } from './uri-parser';
-/**
- * A callback that will receive the expected hostname and presented peer
- * certificate as parameters. The callback should return an error to
- * indicate that the presented certificate is considered invalid and
- * otherwise returned undefined.
- */
-export type CheckServerIdentityCallback = (hostname: string, cert: PeerCertificate) => Error | undefined;
-/**
- * Additional peer verification options that can be set when creating
- * SSL credentials.
- */
-export interface VerifyOptions {
- /**
- * If set, this callback will be invoked after the usual hostname verification
- * has been performed on the peer certificate.
- */
- checkServerIdentity?: CheckServerIdentityCallback;
- rejectUnauthorized?: boolean;
-}
-export interface SecureConnectResult {
- socket: Socket;
- secure: boolean;
-}
-export interface SecureConnector {
- connect(socket: Socket): Promise;
- waitForReady(): Promise;
- getCallCredentials(): CallCredentials;
- destroy(): void;
-}
-/**
- * A class that contains credentials for communicating over a channel, as well
- * as a set of per-call credentials, which are applied to every method call made
- * over a channel initialized with an instance of this class.
- */
-export declare abstract class ChannelCredentials {
- /**
- * Returns a copy of this object with the included set of per-call credentials
- * expanded to include callCredentials.
- * @param callCredentials A CallCredentials object to associate with this
- * instance.
- */
- compose(callCredentials: CallCredentials): ChannelCredentials;
- /**
- * Indicates whether this credentials object creates a secure channel.
- */
- abstract _isSecure(): boolean;
- /**
- * Check whether two channel credentials objects are equal. Two secure
- * credentials are equal if they were constructed with the same parameters.
- * @param other The other ChannelCredentials Object
- */
- abstract _equals(other: ChannelCredentials): boolean;
- abstract _createSecureConnector(channelTarget: GrpcUri, options: ChannelOptions, callCredentials?: CallCredentials): SecureConnector;
- /**
- * Return a new ChannelCredentials instance with a given set of credentials.
- * The resulting instance can be used to construct a Channel that communicates
- * over TLS.
- * @param rootCerts The root certificate data.
- * @param privateKey The client certificate private key, if available.
- * @param certChain The client certificate key chain, if available.
- * @param verifyOptions Additional options to modify certificate verification
- */
- static createSsl(rootCerts?: Buffer | null, privateKey?: Buffer | null, certChain?: Buffer | null, verifyOptions?: VerifyOptions): ChannelCredentials;
- /**
- * Return a new ChannelCredentials instance with credentials created using
- * the provided secureContext. The resulting instances can be used to
- * construct a Channel that communicates over TLS. gRPC will not override
- * anything in the provided secureContext, so the environment variables
- * GRPC_SSL_CIPHER_SUITES and GRPC_DEFAULT_SSL_ROOTS_FILE_PATH will
- * not be applied.
- * @param secureContext The return value of tls.createSecureContext()
- * @param verifyOptions Additional options to modify certificate verification
- */
- static createFromSecureContext(secureContext: SecureContext, verifyOptions?: VerifyOptions): ChannelCredentials;
- /**
- * Return a new ChannelCredentials instance with no credentials.
- */
- static createInsecure(): ChannelCredentials;
-}
-declare class CertificateProviderChannelCredentialsImpl extends ChannelCredentials {
- private caCertificateProvider;
- private identityCertificateProvider;
- private verifyOptions;
- private refcount;
- /**
- * `undefined` means that the certificates have not yet been loaded. `null`
- * means that an attempt to load them has completed, and has failed.
- */
- private latestCaUpdate;
- /**
- * `undefined` means that the certificates have not yet been loaded. `null`
- * means that an attempt to load them has completed, and has failed.
- */
- private latestIdentityUpdate;
- private caCertificateUpdateListener;
- private identityCertificateUpdateListener;
- private secureContextWatchers;
- private static SecureConnectorImpl;
- constructor(caCertificateProvider: CertificateProvider, identityCertificateProvider: CertificateProvider | null, verifyOptions: VerifyOptions);
- _isSecure(): boolean;
- _equals(other: ChannelCredentials): boolean;
- private ref;
- private unref;
- _createSecureConnector(channelTarget: GrpcUri, options: ChannelOptions, callCredentials?: CallCredentials): SecureConnector;
- private maybeUpdateWatchers;
- private handleCaCertificateUpdate;
- private handleIdentityCertitificateUpdate;
- private hasReceivedUpdates;
- private getSecureContext;
- private getLatestSecureContext;
-}
-export declare function createCertificateProviderChannelCredentials(caCertificateProvider: CertificateProvider, identityCertificateProvider: CertificateProvider | null, verifyOptions?: VerifyOptions): CertificateProviderChannelCredentialsImpl;
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/channel-credentials.js b/node_modules/@grpc/grpc-js/build/src/channel-credentials.js
deleted file mode 100644
index 9be5ea3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel-credentials.js
+++ /dev/null
@@ -1,430 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ChannelCredentials = void 0;
-exports.createCertificateProviderChannelCredentials = createCertificateProviderChannelCredentials;
-const tls_1 = require("tls");
-const call_credentials_1 = require("./call-credentials");
-const tls_helpers_1 = require("./tls-helpers");
-const uri_parser_1 = require("./uri-parser");
-const resolver_1 = require("./resolver");
-const logging_1 = require("./logging");
-const constants_1 = require("./constants");
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
-function verifyIsBufferOrNull(obj, friendlyName) {
- if (obj && !(obj instanceof Buffer)) {
- throw new TypeError(`${friendlyName}, if provided, must be a Buffer.`);
- }
-}
-/**
- * A class that contains credentials for communicating over a channel, as well
- * as a set of per-call credentials, which are applied to every method call made
- * over a channel initialized with an instance of this class.
- */
-class ChannelCredentials {
- /**
- * Returns a copy of this object with the included set of per-call credentials
- * expanded to include callCredentials.
- * @param callCredentials A CallCredentials object to associate with this
- * instance.
- */
- compose(callCredentials) {
- return new ComposedChannelCredentialsImpl(this, callCredentials);
- }
- /**
- * Return a new ChannelCredentials instance with a given set of credentials.
- * The resulting instance can be used to construct a Channel that communicates
- * over TLS.
- * @param rootCerts The root certificate data.
- * @param privateKey The client certificate private key, if available.
- * @param certChain The client certificate key chain, if available.
- * @param verifyOptions Additional options to modify certificate verification
- */
- static createSsl(rootCerts, privateKey, certChain, verifyOptions) {
- var _a;
- verifyIsBufferOrNull(rootCerts, 'Root certificate');
- verifyIsBufferOrNull(privateKey, 'Private key');
- verifyIsBufferOrNull(certChain, 'Certificate chain');
- if (privateKey && !certChain) {
- throw new Error('Private key must be given with accompanying certificate chain');
- }
- if (!privateKey && certChain) {
- throw new Error('Certificate chain must be given with accompanying private key');
- }
- const secureContext = (0, tls_1.createSecureContext)({
- ca: (_a = rootCerts !== null && rootCerts !== void 0 ? rootCerts : (0, tls_helpers_1.getDefaultRootsData)()) !== null && _a !== void 0 ? _a : undefined,
- key: privateKey !== null && privateKey !== void 0 ? privateKey : undefined,
- cert: certChain !== null && certChain !== void 0 ? certChain : undefined,
- ciphers: tls_helpers_1.CIPHER_SUITES,
- });
- return new SecureChannelCredentialsImpl(secureContext, verifyOptions !== null && verifyOptions !== void 0 ? verifyOptions : {});
- }
- /**
- * Return a new ChannelCredentials instance with credentials created using
- * the provided secureContext. The resulting instances can be used to
- * construct a Channel that communicates over TLS. gRPC will not override
- * anything in the provided secureContext, so the environment variables
- * GRPC_SSL_CIPHER_SUITES and GRPC_DEFAULT_SSL_ROOTS_FILE_PATH will
- * not be applied.
- * @param secureContext The return value of tls.createSecureContext()
- * @param verifyOptions Additional options to modify certificate verification
- */
- static createFromSecureContext(secureContext, verifyOptions) {
- return new SecureChannelCredentialsImpl(secureContext, verifyOptions !== null && verifyOptions !== void 0 ? verifyOptions : {});
- }
- /**
- * Return a new ChannelCredentials instance with no credentials.
- */
- static createInsecure() {
- return new InsecureChannelCredentialsImpl();
- }
-}
-exports.ChannelCredentials = ChannelCredentials;
-class InsecureChannelCredentialsImpl extends ChannelCredentials {
- constructor() {
- super();
- }
- compose(callCredentials) {
- throw new Error('Cannot compose insecure credentials');
- }
- _isSecure() {
- return false;
- }
- _equals(other) {
- return other instanceof InsecureChannelCredentialsImpl;
- }
- _createSecureConnector(channelTarget, options, callCredentials) {
- return {
- connect(socket) {
- return Promise.resolve({
- socket,
- secure: false
- });
- },
- waitForReady: () => {
- return Promise.resolve();
- },
- getCallCredentials: () => {
- return callCredentials !== null && callCredentials !== void 0 ? callCredentials : call_credentials_1.CallCredentials.createEmpty();
- },
- destroy() { }
- };
- }
-}
-function getConnectionOptions(secureContext, verifyOptions, channelTarget, options) {
- var _a, _b;
- const connectionOptions = {
- secureContext: secureContext
- };
- let realTarget = channelTarget;
- if ('grpc.http_connect_target' in options) {
- const parsedTarget = (0, uri_parser_1.parseUri)(options['grpc.http_connect_target']);
- if (parsedTarget) {
- realTarget = parsedTarget;
- }
- }
- const targetPath = (0, resolver_1.getDefaultAuthority)(realTarget);
- const hostPort = (0, uri_parser_1.splitHostPort)(targetPath);
- const remoteHost = (_a = hostPort === null || hostPort === void 0 ? void 0 : hostPort.host) !== null && _a !== void 0 ? _a : targetPath;
- connectionOptions.host = remoteHost;
- if (verifyOptions.checkServerIdentity) {
- connectionOptions.checkServerIdentity = verifyOptions.checkServerIdentity;
- }
- if (verifyOptions.rejectUnauthorized !== undefined) {
- connectionOptions.rejectUnauthorized = verifyOptions.rejectUnauthorized;
- }
- connectionOptions.ALPNProtocols = ['h2'];
- if (options['grpc.ssl_target_name_override']) {
- const sslTargetNameOverride = options['grpc.ssl_target_name_override'];
- const originalCheckServerIdentity = (_b = connectionOptions.checkServerIdentity) !== null && _b !== void 0 ? _b : tls_1.checkServerIdentity;
- connectionOptions.checkServerIdentity = (host, cert) => {
- return originalCheckServerIdentity(sslTargetNameOverride, cert);
- };
- connectionOptions.servername = sslTargetNameOverride;
- }
- else {
- connectionOptions.servername = remoteHost;
- }
- if (options['grpc-node.tls_enable_trace']) {
- connectionOptions.enableTrace = true;
- }
- return connectionOptions;
-}
-class SecureConnectorImpl {
- constructor(connectionOptions, callCredentials) {
- this.connectionOptions = connectionOptions;
- this.callCredentials = callCredentials;
- }
- connect(socket) {
- const tlsConnectOptions = Object.assign({ socket: socket }, this.connectionOptions);
- return new Promise((resolve, reject) => {
- const tlsSocket = (0, tls_1.connect)(tlsConnectOptions, () => {
- var _a;
- if (((_a = this.connectionOptions.rejectUnauthorized) !== null && _a !== void 0 ? _a : true) && !tlsSocket.authorized) {
- reject(tlsSocket.authorizationError);
- return;
- }
- resolve({
- socket: tlsSocket,
- secure: true
- });
- });
- tlsSocket.on('error', (error) => {
- reject(error);
- });
- });
- }
- waitForReady() {
- return Promise.resolve();
- }
- getCallCredentials() {
- return this.callCredentials;
- }
- destroy() { }
-}
-class SecureChannelCredentialsImpl extends ChannelCredentials {
- constructor(secureContext, verifyOptions) {
- super();
- this.secureContext = secureContext;
- this.verifyOptions = verifyOptions;
- }
- _isSecure() {
- return true;
- }
- _equals(other) {
- if (this === other) {
- return true;
- }
- if (other instanceof SecureChannelCredentialsImpl) {
- return (this.secureContext === other.secureContext &&
- this.verifyOptions.checkServerIdentity ===
- other.verifyOptions.checkServerIdentity);
- }
- else {
- return false;
- }
- }
- _createSecureConnector(channelTarget, options, callCredentials) {
- const connectionOptions = getConnectionOptions(this.secureContext, this.verifyOptions, channelTarget, options);
- return new SecureConnectorImpl(connectionOptions, callCredentials !== null && callCredentials !== void 0 ? callCredentials : call_credentials_1.CallCredentials.createEmpty());
- }
-}
-class CertificateProviderChannelCredentialsImpl extends ChannelCredentials {
- constructor(caCertificateProvider, identityCertificateProvider, verifyOptions) {
- super();
- this.caCertificateProvider = caCertificateProvider;
- this.identityCertificateProvider = identityCertificateProvider;
- this.verifyOptions = verifyOptions;
- this.refcount = 0;
- /**
- * `undefined` means that the certificates have not yet been loaded. `null`
- * means that an attempt to load them has completed, and has failed.
- */
- this.latestCaUpdate = undefined;
- /**
- * `undefined` means that the certificates have not yet been loaded. `null`
- * means that an attempt to load them has completed, and has failed.
- */
- this.latestIdentityUpdate = undefined;
- this.caCertificateUpdateListener = this.handleCaCertificateUpdate.bind(this);
- this.identityCertificateUpdateListener = this.handleIdentityCertitificateUpdate.bind(this);
- this.secureContextWatchers = [];
- }
- _isSecure() {
- return true;
- }
- _equals(other) {
- var _a, _b;
- if (this === other) {
- return true;
- }
- if (other instanceof CertificateProviderChannelCredentialsImpl) {
- return this.caCertificateProvider === other.caCertificateProvider &&
- this.identityCertificateProvider === other.identityCertificateProvider &&
- ((_a = this.verifyOptions) === null || _a === void 0 ? void 0 : _a.checkServerIdentity) === ((_b = other.verifyOptions) === null || _b === void 0 ? void 0 : _b.checkServerIdentity);
- }
- else {
- return false;
- }
- }
- ref() {
- var _a;
- if (this.refcount === 0) {
- this.caCertificateProvider.addCaCertificateListener(this.caCertificateUpdateListener);
- (_a = this.identityCertificateProvider) === null || _a === void 0 ? void 0 : _a.addIdentityCertificateListener(this.identityCertificateUpdateListener);
- }
- this.refcount += 1;
- }
- unref() {
- var _a;
- this.refcount -= 1;
- if (this.refcount === 0) {
- this.caCertificateProvider.removeCaCertificateListener(this.caCertificateUpdateListener);
- (_a = this.identityCertificateProvider) === null || _a === void 0 ? void 0 : _a.removeIdentityCertificateListener(this.identityCertificateUpdateListener);
- }
- }
- _createSecureConnector(channelTarget, options, callCredentials) {
- this.ref();
- return new CertificateProviderChannelCredentialsImpl.SecureConnectorImpl(this, channelTarget, options, callCredentials !== null && callCredentials !== void 0 ? callCredentials : call_credentials_1.CallCredentials.createEmpty());
- }
- maybeUpdateWatchers() {
- if (this.hasReceivedUpdates()) {
- for (const watcher of this.secureContextWatchers) {
- watcher(this.getLatestSecureContext());
- }
- this.secureContextWatchers = [];
- }
- }
- handleCaCertificateUpdate(update) {
- this.latestCaUpdate = update;
- this.maybeUpdateWatchers();
- }
- handleIdentityCertitificateUpdate(update) {
- this.latestIdentityUpdate = update;
- this.maybeUpdateWatchers();
- }
- hasReceivedUpdates() {
- if (this.latestCaUpdate === undefined) {
- return false;
- }
- if (this.identityCertificateProvider && this.latestIdentityUpdate === undefined) {
- return false;
- }
- return true;
- }
- getSecureContext() {
- if (this.hasReceivedUpdates()) {
- return Promise.resolve(this.getLatestSecureContext());
- }
- else {
- return new Promise(resolve => {
- this.secureContextWatchers.push(resolve);
- });
- }
- }
- getLatestSecureContext() {
- var _a, _b;
- if (!this.latestCaUpdate) {
- return null;
- }
- if (this.identityCertificateProvider !== null && !this.latestIdentityUpdate) {
- return null;
- }
- try {
- return (0, tls_1.createSecureContext)({
- ca: this.latestCaUpdate.caCertificate,
- key: (_a = this.latestIdentityUpdate) === null || _a === void 0 ? void 0 : _a.privateKey,
- cert: (_b = this.latestIdentityUpdate) === null || _b === void 0 ? void 0 : _b.certificate,
- ciphers: tls_helpers_1.CIPHER_SUITES
- });
- }
- catch (e) {
- (0, logging_1.log)(constants_1.LogVerbosity.ERROR, 'Failed to createSecureContext with error ' + e.message);
- return null;
- }
- }
-}
-CertificateProviderChannelCredentialsImpl.SecureConnectorImpl = class {
- constructor(parent, channelTarget, options, callCredentials) {
- this.parent = parent;
- this.channelTarget = channelTarget;
- this.options = options;
- this.callCredentials = callCredentials;
- }
- connect(socket) {
- return new Promise((resolve, reject) => {
- const secureContext = this.parent.getLatestSecureContext();
- if (!secureContext) {
- reject(new Error('Failed to load credentials'));
- return;
- }
- if (socket.closed) {
- reject(new Error('Socket closed while loading credentials'));
- }
- const connnectionOptions = getConnectionOptions(secureContext, this.parent.verifyOptions, this.channelTarget, this.options);
- const tlsConnectOptions = Object.assign({ socket: socket }, connnectionOptions);
- const closeCallback = () => {
- reject(new Error('Socket closed'));
- };
- const errorCallback = (error) => {
- reject(error);
- };
- const tlsSocket = (0, tls_1.connect)(tlsConnectOptions, () => {
- var _a;
- tlsSocket.removeListener('close', closeCallback);
- tlsSocket.removeListener('error', errorCallback);
- if (((_a = this.parent.verifyOptions.rejectUnauthorized) !== null && _a !== void 0 ? _a : true) && !tlsSocket.authorized) {
- reject(tlsSocket.authorizationError);
- return;
- }
- resolve({
- socket: tlsSocket,
- secure: true
- });
- });
- tlsSocket.once('close', closeCallback);
- tlsSocket.once('error', errorCallback);
- });
- }
- async waitForReady() {
- await this.parent.getSecureContext();
- }
- getCallCredentials() {
- return this.callCredentials;
- }
- destroy() {
- this.parent.unref();
- }
-};
-function createCertificateProviderChannelCredentials(caCertificateProvider, identityCertificateProvider, verifyOptions) {
- return new CertificateProviderChannelCredentialsImpl(caCertificateProvider, identityCertificateProvider, verifyOptions !== null && verifyOptions !== void 0 ? verifyOptions : {});
-}
-class ComposedChannelCredentialsImpl extends ChannelCredentials {
- constructor(channelCredentials, callCredentials) {
- super();
- this.channelCredentials = channelCredentials;
- this.callCredentials = callCredentials;
- if (!channelCredentials._isSecure()) {
- throw new Error('Cannot compose insecure credentials');
- }
- }
- compose(callCredentials) {
- const combinedCallCredentials = this.callCredentials.compose(callCredentials);
- return new ComposedChannelCredentialsImpl(this.channelCredentials, combinedCallCredentials);
- }
- _isSecure() {
- return true;
- }
- _equals(other) {
- if (this === other) {
- return true;
- }
- if (other instanceof ComposedChannelCredentialsImpl) {
- return (this.channelCredentials._equals(other.channelCredentials) &&
- this.callCredentials._equals(other.callCredentials));
- }
- else {
- return false;
- }
- }
- _createSecureConnector(channelTarget, options, callCredentials) {
- const combinedCallCredentials = this.callCredentials.compose(callCredentials !== null && callCredentials !== void 0 ? callCredentials : call_credentials_1.CallCredentials.createEmpty());
- return this.channelCredentials._createSecureConnector(channelTarget, options, combinedCallCredentials);
- }
-}
-//# sourceMappingURL=channel-credentials.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/channel-credentials.js.map b/node_modules/@grpc/grpc-js/build/src/channel-credentials.js.map
deleted file mode 100644
index af3bce2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel-credentials.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"channel-credentials.js","sourceRoot":"","sources":["../../src/channel-credentials.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAidH,kGAEC;AAjdD,6BAOa;AAEb,yDAAqD;AACrD,+CAAmE;AAInE,6CAAgE;AAChE,yCAAiD;AACjD,uCAAgC;AAChC,2CAA2C;AAE3C,8DAA8D;AAC9D,SAAS,oBAAoB,CAAC,GAAQ,EAAE,YAAoB;IAC1D,IAAI,GAAG,IAAI,CAAC,CAAC,GAAG,YAAY,MAAM,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AO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IACD,sBAAsB,CAAC,aAAsB,EAAE,OAAuB,EAAE,eAAiC;QACvG,MAAM,uBAAuB,GAAG,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,kCAAe,CAAC,WAAW,EAAE,CAAC,CAAC;QAC/G,OAAO,IAAI,CAAC,kBAAkB,CAAC,sBAAsB,CAAC,aAAa,EAAE,OAAO,EAAE,uBAAuB,CAAC,CAAC;IACzG,CAAC;CACF"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/channel-options.d.ts b/node_modules/@grpc/grpc-js/build/src/channel-options.d.ts
deleted file mode 100644
index e3b4584..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel-options.d.ts
+++ /dev/null
@@ -1,81 +0,0 @@
-import { CompressionAlgorithms } from './compression-algorithms';
-/**
- * An interface that contains options used when initializing a Channel instance.
- */
-export interface ChannelOptions {
- 'grpc.ssl_target_name_override'?: string;
- 'grpc.primary_user_agent'?: string;
- 'grpc.secondary_user_agent'?: string;
- 'grpc.default_authority'?: string;
- 'grpc.keepalive_time_ms'?: number;
- 'grpc.keepalive_timeout_ms'?: number;
- 'grpc.keepalive_permit_without_calls'?: number;
- 'grpc.service_config'?: string;
- 'grpc.max_concurrent_streams'?: number;
- 'grpc.initial_reconnect_backoff_ms'?: number;
- 'grpc.max_reconnect_backoff_ms'?: number;
- 'grpc.use_local_subchannel_pool'?: number;
- 'grpc.max_send_message_length'?: number;
- 'grpc.max_receive_message_length'?: number;
- 'grpc.enable_http_proxy'?: number;
- 'grpc.http_connect_target'?: string;
- 'grpc.http_connect_creds'?: string;
- 'grpc.default_compression_algorithm'?: CompressionAlgorithms;
- 'grpc.enable_channelz'?: number;
- 'grpc.dns_min_time_between_resolutions_ms'?: number;
- 'grpc.enable_retries'?: number;
- 'grpc.per_rpc_retry_buffer_size'?: number;
- 'grpc.retry_buffer_size'?: number;
- 'grpc.max_connection_age_ms'?: number;
- 'grpc.max_connection_age_grace_ms'?: number;
- 'grpc.max_connection_idle_ms'?: number;
- 'grpc-node.max_session_memory'?: number;
- 'grpc.service_config_disable_resolution'?: number;
- 'grpc.client_idle_timeout_ms'?: number;
- /**
- * Set the enableTrace option in TLS clients and servers
- */
- 'grpc-node.tls_enable_trace'?: number;
- 'grpc.lb.ring_hash.ring_size_cap'?: number;
- 'grpc-node.retry_max_attempts_limit'?: number;
- 'grpc-node.flow_control_window'?: number;
- 'grpc.server_call_metric_recording'?: number;
- [key: string]: any;
-}
-/**
- * This is for checking provided options at runtime. This is an object for
- * easier membership checking.
- */
-export declare const recognizedOptions: {
- 'grpc.ssl_target_name_override': boolean;
- 'grpc.primary_user_agent': boolean;
- 'grpc.secondary_user_agent': boolean;
- 'grpc.default_authority': boolean;
- 'grpc.keepalive_time_ms': boolean;
- 'grpc.keepalive_timeout_ms': boolean;
- 'grpc.keepalive_permit_without_calls': boolean;
- 'grpc.service_config': boolean;
- 'grpc.max_concurrent_streams': boolean;
- 'grpc.initial_reconnect_backoff_ms': boolean;
- 'grpc.max_reconnect_backoff_ms': boolean;
- 'grpc.use_local_subchannel_pool': boolean;
- 'grpc.max_send_message_length': boolean;
- 'grpc.max_receive_message_length': boolean;
- 'grpc.enable_http_proxy': boolean;
- 'grpc.enable_channelz': boolean;
- 'grpc.dns_min_time_between_resolutions_ms': boolean;
- 'grpc.enable_retries': boolean;
- 'grpc.per_rpc_retry_buffer_size': boolean;
- 'grpc.retry_buffer_size': boolean;
- 'grpc.max_connection_age_ms': boolean;
- 'grpc.max_connection_age_grace_ms': boolean;
- 'grpc-node.max_session_memory': boolean;
- 'grpc.service_config_disable_resolution': boolean;
- 'grpc.client_idle_timeout_ms': boolean;
- 'grpc-node.tls_enable_trace': boolean;
- 'grpc.lb.ring_hash.ring_size_cap': boolean;
- 'grpc-node.retry_max_attempts_limit': boolean;
- 'grpc-node.flow_control_window': boolean;
- 'grpc.server_call_metric_recording': boolean;
-};
-export declare function channelOptionsEqual(options1: ChannelOptions, options2: ChannelOptions): boolean;
diff --git a/node_modules/@grpc/grpc-js/build/src/channel-options.js b/node_modules/@grpc/grpc-js/build/src/channel-options.js
deleted file mode 100644
index c6aaa95..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel-options.js
+++ /dev/null
@@ -1,73 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.recognizedOptions = void 0;
-exports.channelOptionsEqual = channelOptionsEqual;
-/**
- * This is for checking provided options at runtime. This is an object for
- * easier membership checking.
- */
-exports.recognizedOptions = {
- 'grpc.ssl_target_name_override': true,
- 'grpc.primary_user_agent': true,
- 'grpc.secondary_user_agent': true,
- 'grpc.default_authority': true,
- 'grpc.keepalive_time_ms': true,
- 'grpc.keepalive_timeout_ms': true,
- 'grpc.keepalive_permit_without_calls': true,
- 'grpc.service_config': true,
- 'grpc.max_concurrent_streams': true,
- 'grpc.initial_reconnect_backoff_ms': true,
- 'grpc.max_reconnect_backoff_ms': true,
- 'grpc.use_local_subchannel_pool': true,
- 'grpc.max_send_message_length': true,
- 'grpc.max_receive_message_length': true,
- 'grpc.enable_http_proxy': true,
- 'grpc.enable_channelz': true,
- 'grpc.dns_min_time_between_resolutions_ms': true,
- 'grpc.enable_retries': true,
- 'grpc.per_rpc_retry_buffer_size': true,
- 'grpc.retry_buffer_size': true,
- 'grpc.max_connection_age_ms': true,
- 'grpc.max_connection_age_grace_ms': true,
- 'grpc-node.max_session_memory': true,
- 'grpc.service_config_disable_resolution': true,
- 'grpc.client_idle_timeout_ms': true,
- 'grpc-node.tls_enable_trace': true,
- 'grpc.lb.ring_hash.ring_size_cap': true,
- 'grpc-node.retry_max_attempts_limit': true,
- 'grpc-node.flow_control_window': true,
- 'grpc.server_call_metric_recording': true
-};
-function channelOptionsEqual(options1, options2) {
- const keys1 = Object.keys(options1).sort();
- const keys2 = Object.keys(options2).sort();
- if (keys1.length !== keys2.length) {
- return false;
- }
- for (let i = 0; i < keys1.length; i += 1) {
- if (keys1[i] !== keys2[i]) {
- return false;
- }
- if (options1[keys1[i]] !== options2[keys2[i]]) {
- return false;
- }
- }
- return true;
-}
-//# sourceMappingURL=channel-options.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/channel-options.js.map b/node_modules/@grpc/grpc-js/build/src/channel-options.js.map
deleted file mode 100644
index 26ac269..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel-options.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"channel-options.js","sourceRoot":"","sources":["../../src/channel-options.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA8FH,kDAkBC;AAvDD;;;GAGG;AACU,QAAA,iBAAiB,GAAG;IAC/B,+BAA+B,EAAE,IAAI;IACrC,yBAAyB,EAAE,IAAI;IAC/B,2BAA2B,EAAE,IAAI;IACjC,wBAAwB,EAAE,IAAI;IAC9B,wBAAwB,EAAE,IAAI;IAC9B,2BAA2B,EAAE,IAAI;IACjC,qCAAqC,EAAE,IAAI;IAC3C,qBAAqB,EAAE,IAAI;IAC3B,6BAA6B,EAAE,IAAI;IACnC,mCAAmC,EAAE,IAAI;IACzC,+BAA+B,EAAE,IAAI;IACrC,gCAAgC,EAAE,IAAI;IACtC,8BAA8B,EAAE,IAAI;IACpC,iCAAiC,EAAE,IAAI;IACvC,wBAAwB,EAAE,IAAI;IAC9B,sBAAsB,EAAE,IAAI;IAC5B,0CAA0C,EAAE,IAAI;IAChD,qBAAqB,EAAE,IAAI;IAC3B,gCAAgC,EAAE,IAAI;IACtC,wBAAwB,EAAE,IAAI;IAC9B,4BAA4B,EAAE,IAAI;IAClC,kCAAkC,EAAE,IAAI;IACxC,8BAA8B,EAAE,IAAI;IACpC,wCAAwC,EAAE,IAAI;IAC9C,6BAA6B,EAAE,IAAI;IACnC,4BAA4B,EAAE,IAAI;IAClC,iCAAiC,EAAE,IAAI;IACvC,oCAAoC,EAAE,IAAI;IAC1C,+BAA+B,EAAE,IAAI;IACrC,mCAAmC,EAAE,IAAI;CAC1C,CAAC;AAEF,SAAgB,mBAAmB,CACjC,QAAwB,EACxB,QAAwB;IAExB,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;IAC3C,MAAM,KAAK,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,IAAI,EAAE,CAAC;IAC3C,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,MAAM,EAAE,CAAC;QAClC,OAAO,KAAK,CAAC;IACf,CAAC;IACD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC;QACzC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;YAC1B,OAAO,KAAK,CAAC;QACf,CAAC;QACD,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YAC9C,OAAO,KAAK,CAAC;QACf,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/channel.d.ts b/node_modules/@grpc/grpc-js/build/src/channel.d.ts
deleted file mode 100644
index f4d646e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel.d.ts
+++ /dev/null
@@ -1,76 +0,0 @@
-import { ChannelCredentials } from './channel-credentials';
-import { ChannelOptions } from './channel-options';
-import { ServerSurfaceCall } from './server-call';
-import { ConnectivityState } from './connectivity-state';
-import type { ChannelRef } from './channelz';
-import { Call } from './call-interface';
-import { Deadline } from './deadline';
-/**
- * An interface that represents a communication channel to a server specified
- * by a given address.
- */
-export interface Channel {
- /**
- * Close the channel. This has the same functionality as the existing
- * grpc.Client.prototype.close
- */
- close(): void;
- /**
- * Return the target that this channel connects to
- */
- getTarget(): string;
- /**
- * Get the channel's current connectivity state. This method is here mainly
- * because it is in the existing internal Channel class, and there isn't
- * another good place to put it.
- * @param tryToConnect If true, the channel will start connecting if it is
- * idle. Otherwise, idle channels will only start connecting when a
- * call starts.
- */
- getConnectivityState(tryToConnect: boolean): ConnectivityState;
- /**
- * Watch for connectivity state changes. This is also here mainly because
- * it is in the existing external Channel class.
- * @param currentState The state to watch for transitions from. This should
- * always be populated by calling getConnectivityState immediately
- * before.
- * @param deadline A deadline for waiting for a state change
- * @param callback Called with no error when a state change, or with an
- * error if the deadline passes without a state change.
- */
- watchConnectivityState(currentState: ConnectivityState, deadline: Date | number, callback: (error?: Error) => void): void;
- /**
- * Get the channelz reference object for this channel. A request to the
- * channelz service for the id in this object will provide information
- * about this channel.
- */
- getChannelzRef(): ChannelRef;
- /**
- * Create a call object. Call is an opaque type that is used by the Client
- * class. This function is called by the gRPC library when starting a
- * request. Implementers should return an instance of Call that is returned
- * from calling createCall on an instance of the provided Channel class.
- * @param method The full method string to request.
- * @param deadline The call deadline
- * @param host A host string override for making the request
- * @param parentCall A server call to propagate some information from
- * @param propagateFlags A bitwise combination of elements of grpc.propagate
- * that indicates what information to propagate from parentCall.
- */
- createCall(method: string, deadline: Deadline, host: string | null | undefined, parentCall: ServerSurfaceCall | null, propagateFlags: number | null | undefined): Call;
-}
-export declare class ChannelImplementation implements Channel {
- private internalChannel;
- constructor(target: string, credentials: ChannelCredentials, options: ChannelOptions);
- close(): void;
- getTarget(): string;
- getConnectivityState(tryToConnect: boolean): ConnectivityState;
- watchConnectivityState(currentState: ConnectivityState, deadline: Date | number, callback: (error?: Error) => void): void;
- /**
- * Get the channelz reference object for this channel. The returned value is
- * garbage if channelz is disabled for this channel.
- * @returns
- */
- getChannelzRef(): ChannelRef;
- createCall(method: string, deadline: Deadline, host: string | null | undefined, parentCall: ServerSurfaceCall | null, propagateFlags: number | null | undefined): Call;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/channel.js b/node_modules/@grpc/grpc-js/build/src/channel.js
deleted file mode 100644
index 49e8639..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel.js
+++ /dev/null
@@ -1,68 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ChannelImplementation = void 0;
-const channel_credentials_1 = require("./channel-credentials");
-const internal_channel_1 = require("./internal-channel");
-class ChannelImplementation {
- constructor(target, credentials, options) {
- if (typeof target !== 'string') {
- throw new TypeError('Channel target must be a string');
- }
- if (!(credentials instanceof channel_credentials_1.ChannelCredentials)) {
- throw new TypeError('Channel credentials must be a ChannelCredentials object');
- }
- if (options) {
- if (typeof options !== 'object') {
- throw new TypeError('Channel options must be an object');
- }
- }
- this.internalChannel = new internal_channel_1.InternalChannel(target, credentials, options);
- }
- close() {
- this.internalChannel.close();
- }
- getTarget() {
- return this.internalChannel.getTarget();
- }
- getConnectivityState(tryToConnect) {
- return this.internalChannel.getConnectivityState(tryToConnect);
- }
- watchConnectivityState(currentState, deadline, callback) {
- this.internalChannel.watchConnectivityState(currentState, deadline, callback);
- }
- /**
- * Get the channelz reference object for this channel. The returned value is
- * garbage if channelz is disabled for this channel.
- * @returns
- */
- getChannelzRef() {
- return this.internalChannel.getChannelzRef();
- }
- createCall(method, deadline, host, parentCall, propagateFlags) {
- if (typeof method !== 'string') {
- throw new TypeError('Channel#createCall: method must be a string');
- }
- if (!(typeof deadline === 'number' || deadline instanceof Date)) {
- throw new TypeError('Channel#createCall: deadline must be a number or Date');
- }
- return this.internalChannel.createCall(method, deadline, host, parentCall, propagateFlags);
- }
-}
-exports.ChannelImplementation = ChannelImplementation;
-//# sourceMappingURL=channel.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/channel.js.map b/node_modules/@grpc/grpc-js/build/src/channel.js.map
deleted file mode 100644
index 8758e84..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channel.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"channel.js","sourceRoot":"","sources":["../../src/channel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,+DAA2D;AAO3D,yDAAqD;AAoErD,MAAa,qBAAqB;IAGhC,YACE,MAAc,EACd,WAA+B,EAC/B,OAAuB;QAEvB,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC/B,MAAM,IAAI,SAAS,CAAC,iCAAiC,CAAC,CAAC;QACzD,CAAC;QACD,IAAI,CAAC,CAAC,WAAW,YAAY,wCAAkB,CAAC,EAAE,CAAC;YACjD,MAAM,IAAI,SAAS,CACjB,yDAAyD,CAC1D,CAAC;QACJ,CAAC;QACD,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,MAAM,IAAI,SAAS,CAAC,mCAAmC,CAAC,CAAC;YAC3D,CAAC;QACH,CAAC;QAED,IAAI,CAAC,eAAe,GAAG,IAAI,kCAAe,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAED,KAAK;QACH,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE,CAAC;IAC/B,CAAC;IAED,SAAS;QACP,OAAO,IAAI,CAAC,eAAe,CAAC,SAAS,EAAE,CAAC;IAC1C,CAAC;IAED,oBAAoB,CAAC,YAAqB;QACxC,OAAO,IAAI,CAAC,eAAe,CAAC,oBAAoB,CAAC,YAAY,CAAC,CAAC;IACjE,CAAC;IAED,sBAAsB,CACpB,YAA+B,EAC/B,QAAuB,EACvB,QAAiC;QAEjC,IAAI,CAAC,eAAe,CAAC,sBAAsB,CACzC,YAAY,EACZ,QAAQ,EACR,QAAQ,CACT,CAAC;IACJ,CAAC;IAED;;;;OAIG;IACH,cAAc;QACZ,OAAO,IAAI,CAAC,eAAe,CAAC,cAAc,EAAE,CAAC;IAC/C,CAAC;IAED,UAAU,CACR,MAAc,EACd,QAAkB,EAClB,IAA+B,EAC/B,UAAoC,EACpC,cAAyC;QAEzC,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC/B,MAAM,IAAI,SAAS,CAAC,6CAA6C,CAAC,CAAC;QACrE,CAAC;QACD,IAAI,CAAC,CAAC,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,YAAY,IAAI,CAAC,EAAE,CAAC;YAChE,MAAM,IAAI,SAAS,CACjB,uDAAuD,CACxD,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC,eAAe,CAAC,UAAU,CACpC,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,CACf,CAAC;IACJ,CAAC;CACF;AAjFD,sDAiFC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/channelz.d.ts b/node_modules/@grpc/grpc-js/build/src/channelz.d.ts
deleted file mode 100644
index 831222d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channelz.d.ts
+++ /dev/null
@@ -1,158 +0,0 @@
-import { OrderedMap } from '@js-sdsl/ordered-map';
-import { ConnectivityState } from './connectivity-state';
-import { ChannelTrace } from './generated/grpc/channelz/v1/ChannelTrace';
-import { SubchannelAddress } from './subchannel-address';
-import { ChannelzDefinition, ChannelzHandlers } from './generated/grpc/channelz/v1/Channelz';
-export type TraceSeverity = 'CT_UNKNOWN' | 'CT_INFO' | 'CT_WARNING' | 'CT_ERROR';
-interface Ref {
- kind: EntityTypes;
- id: number;
- name: string;
-}
-export interface ChannelRef extends Ref {
- kind: EntityTypes.channel;
-}
-export interface SubchannelRef extends Ref {
- kind: EntityTypes.subchannel;
-}
-export interface ServerRef extends Ref {
- kind: EntityTypes.server;
-}
-export interface SocketRef extends Ref {
- kind: EntityTypes.socket;
-}
-interface TraceEvent {
- description: string;
- severity: TraceSeverity;
- timestamp: Date;
- childChannel?: ChannelRef;
- childSubchannel?: SubchannelRef;
-}
-export declare class ChannelzTraceStub {
- readonly events: TraceEvent[];
- readonly creationTimestamp: Date;
- readonly eventsLogged = 0;
- addTrace(): void;
- getTraceMessage(): ChannelTrace;
-}
-export declare class ChannelzTrace {
- events: TraceEvent[];
- creationTimestamp: Date;
- eventsLogged: number;
- constructor();
- addTrace(severity: TraceSeverity, description: string, child?: ChannelRef | SubchannelRef): void;
- getTraceMessage(): ChannelTrace;
-}
-export declare class ChannelzChildrenTracker {
- private channelChildren;
- private subchannelChildren;
- private socketChildren;
- private trackerMap;
- refChild(child: ChannelRef | SubchannelRef | SocketRef): void;
- unrefChild(child: ChannelRef | SubchannelRef | SocketRef): void;
- getChildLists(): ChannelzChildren;
-}
-export declare class ChannelzChildrenTrackerStub extends ChannelzChildrenTracker {
- refChild(): void;
- unrefChild(): void;
-}
-export declare class ChannelzCallTracker {
- callsStarted: number;
- callsSucceeded: number;
- callsFailed: number;
- lastCallStartedTimestamp: Date | null;
- addCallStarted(): void;
- addCallSucceeded(): void;
- addCallFailed(): void;
-}
-export declare class ChannelzCallTrackerStub extends ChannelzCallTracker {
- addCallStarted(): void;
- addCallSucceeded(): void;
- addCallFailed(): void;
-}
-export interface ChannelzChildren {
- channels: OrderedMap;
- subchannels: OrderedMap;
- sockets: OrderedMap;
-}
-export interface ChannelInfo {
- target: string;
- state: ConnectivityState;
- trace: ChannelzTrace | ChannelzTraceStub;
- callTracker: ChannelzCallTracker | ChannelzCallTrackerStub;
- children: ChannelzChildren;
-}
-export type SubchannelInfo = ChannelInfo;
-export interface ServerInfo {
- trace: ChannelzTrace;
- callTracker: ChannelzCallTracker;
- listenerChildren: ChannelzChildren;
- sessionChildren: ChannelzChildren;
-}
-export interface TlsInfo {
- cipherSuiteStandardName: string | null;
- cipherSuiteOtherName: string | null;
- localCertificate: Buffer | null;
- remoteCertificate: Buffer | null;
-}
-export interface SocketInfo {
- localAddress: SubchannelAddress | null;
- remoteAddress: SubchannelAddress | null;
- security: TlsInfo | null;
- remoteName: string | null;
- streamsStarted: number;
- streamsSucceeded: number;
- streamsFailed: number;
- messagesSent: number;
- messagesReceived: number;
- keepAlivesSent: number;
- lastLocalStreamCreatedTimestamp: Date | null;
- lastRemoteStreamCreatedTimestamp: Date | null;
- lastMessageSentTimestamp: Date | null;
- lastMessageReceivedTimestamp: Date | null;
- localFlowControlWindow: number | null;
- remoteFlowControlWindow: number | null;
-}
-interface ChannelEntry {
- ref: ChannelRef;
- getInfo(): ChannelInfo;
-}
-interface SubchannelEntry {
- ref: SubchannelRef;
- getInfo(): SubchannelInfo;
-}
-interface ServerEntry {
- ref: ServerRef;
- getInfo(): ServerInfo;
-}
-interface SocketEntry {
- ref: SocketRef;
- getInfo(): SocketInfo;
-}
-export declare const enum EntityTypes {
- channel = "channel",
- subchannel = "subchannel",
- server = "server",
- socket = "socket"
-}
-export type RefByType = T extends EntityTypes.channel ? ChannelRef : T extends EntityTypes.server ? ServerRef : T extends EntityTypes.socket ? SocketRef : T extends EntityTypes.subchannel ? SubchannelRef : never;
-export type EntryByType = T extends EntityTypes.channel ? ChannelEntry : T extends EntityTypes.server ? ServerEntry : T extends EntityTypes.socket ? SocketEntry : T extends EntityTypes.subchannel ? SubchannelEntry : never;
-export type InfoByType = T extends EntityTypes.channel ? ChannelInfo : T extends EntityTypes.subchannel ? SubchannelInfo : T extends EntityTypes.server ? ServerInfo : T extends EntityTypes.socket ? SocketInfo : never;
-export declare const registerChannelzChannel: (name: string, getInfo: () => ChannelInfo, channelzEnabled: boolean) => ChannelRef;
-export declare const registerChannelzSubchannel: (name: string, getInfo: () => ChannelInfo, channelzEnabled: boolean) => SubchannelRef;
-export declare const registerChannelzServer: (name: string, getInfo: () => ServerInfo, channelzEnabled: boolean) => ServerRef;
-export declare const registerChannelzSocket: (name: string, getInfo: () => SocketInfo, channelzEnabled: boolean) => SocketRef;
-export declare function unregisterChannelzRef(ref: ChannelRef | SubchannelRef | ServerRef | SocketRef): void;
-export declare function getChannelzHandlers(): ChannelzHandlers;
-export declare function getChannelzServiceDefinition(): ChannelzDefinition;
-export declare function setup(): void;
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/channelz.js b/node_modules/@grpc/grpc-js/build/src/channelz.js
deleted file mode 100644
index 91e9ace..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channelz.js
+++ /dev/null
@@ -1,598 +0,0 @@
-"use strict";
-/*
- * Copyright 2021 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.registerChannelzSocket = exports.registerChannelzServer = exports.registerChannelzSubchannel = exports.registerChannelzChannel = exports.ChannelzCallTrackerStub = exports.ChannelzCallTracker = exports.ChannelzChildrenTrackerStub = exports.ChannelzChildrenTracker = exports.ChannelzTrace = exports.ChannelzTraceStub = void 0;
-exports.unregisterChannelzRef = unregisterChannelzRef;
-exports.getChannelzHandlers = getChannelzHandlers;
-exports.getChannelzServiceDefinition = getChannelzServiceDefinition;
-exports.setup = setup;
-const net_1 = require("net");
-const ordered_map_1 = require("@js-sdsl/ordered-map");
-const connectivity_state_1 = require("./connectivity-state");
-const constants_1 = require("./constants");
-const subchannel_address_1 = require("./subchannel-address");
-const admin_1 = require("./admin");
-const make_client_1 = require("./make-client");
-function channelRefToMessage(ref) {
- return {
- channel_id: ref.id,
- name: ref.name,
- };
-}
-function subchannelRefToMessage(ref) {
- return {
- subchannel_id: ref.id,
- name: ref.name,
- };
-}
-function serverRefToMessage(ref) {
- return {
- server_id: ref.id,
- };
-}
-function socketRefToMessage(ref) {
- return {
- socket_id: ref.id,
- name: ref.name,
- };
-}
-/**
- * The loose upper bound on the number of events that should be retained in a
- * trace. This may be exceeded by up to a factor of 2. Arbitrarily chosen as a
- * number that should be large enough to contain the recent relevant
- * information, but small enough to not use excessive memory.
- */
-const TARGET_RETAINED_TRACES = 32;
-/**
- * Default number of sockets/servers/channels/subchannels to return
- */
-const DEFAULT_MAX_RESULTS = 100;
-class ChannelzTraceStub {
- constructor() {
- this.events = [];
- this.creationTimestamp = new Date();
- this.eventsLogged = 0;
- }
- addTrace() { }
- getTraceMessage() {
- return {
- creation_timestamp: dateToProtoTimestamp(this.creationTimestamp),
- num_events_logged: this.eventsLogged,
- events: [],
- };
- }
-}
-exports.ChannelzTraceStub = ChannelzTraceStub;
-class ChannelzTrace {
- constructor() {
- this.events = [];
- this.eventsLogged = 0;
- this.creationTimestamp = new Date();
- }
- addTrace(severity, description, child) {
- const timestamp = new Date();
- this.events.push({
- description: description,
- severity: severity,
- timestamp: timestamp,
- childChannel: (child === null || child === void 0 ? void 0 : child.kind) === 'channel' ? child : undefined,
- childSubchannel: (child === null || child === void 0 ? void 0 : child.kind) === 'subchannel' ? child : undefined,
- });
- // Whenever the trace array gets too large, discard the first half
- if (this.events.length >= TARGET_RETAINED_TRACES * 2) {
- this.events = this.events.slice(TARGET_RETAINED_TRACES);
- }
- this.eventsLogged += 1;
- }
- getTraceMessage() {
- return {
- creation_timestamp: dateToProtoTimestamp(this.creationTimestamp),
- num_events_logged: this.eventsLogged,
- events: this.events.map(event => {
- return {
- description: event.description,
- severity: event.severity,
- timestamp: dateToProtoTimestamp(event.timestamp),
- channel_ref: event.childChannel
- ? channelRefToMessage(event.childChannel)
- : null,
- subchannel_ref: event.childSubchannel
- ? subchannelRefToMessage(event.childSubchannel)
- : null,
- };
- }),
- };
- }
-}
-exports.ChannelzTrace = ChannelzTrace;
-class ChannelzChildrenTracker {
- constructor() {
- this.channelChildren = new ordered_map_1.OrderedMap();
- this.subchannelChildren = new ordered_map_1.OrderedMap();
- this.socketChildren = new ordered_map_1.OrderedMap();
- this.trackerMap = {
- ["channel" /* EntityTypes.channel */]: this.channelChildren,
- ["subchannel" /* EntityTypes.subchannel */]: this.subchannelChildren,
- ["socket" /* EntityTypes.socket */]: this.socketChildren,
- };
- }
- refChild(child) {
- const tracker = this.trackerMap[child.kind];
- const trackedChild = tracker.find(child.id);
- if (trackedChild.equals(tracker.end())) {
- tracker.setElement(child.id, {
- ref: child,
- count: 1,
- }, trackedChild);
- }
- else {
- trackedChild.pointer[1].count += 1;
- }
- }
- unrefChild(child) {
- const tracker = this.trackerMap[child.kind];
- const trackedChild = tracker.getElementByKey(child.id);
- if (trackedChild !== undefined) {
- trackedChild.count -= 1;
- if (trackedChild.count === 0) {
- tracker.eraseElementByKey(child.id);
- }
- }
- }
- getChildLists() {
- return {
- channels: this.channelChildren,
- subchannels: this.subchannelChildren,
- sockets: this.socketChildren,
- };
- }
-}
-exports.ChannelzChildrenTracker = ChannelzChildrenTracker;
-class ChannelzChildrenTrackerStub extends ChannelzChildrenTracker {
- refChild() { }
- unrefChild() { }
-}
-exports.ChannelzChildrenTrackerStub = ChannelzChildrenTrackerStub;
-class ChannelzCallTracker {
- constructor() {
- this.callsStarted = 0;
- this.callsSucceeded = 0;
- this.callsFailed = 0;
- this.lastCallStartedTimestamp = null;
- }
- addCallStarted() {
- this.callsStarted += 1;
- this.lastCallStartedTimestamp = new Date();
- }
- addCallSucceeded() {
- this.callsSucceeded += 1;
- }
- addCallFailed() {
- this.callsFailed += 1;
- }
-}
-exports.ChannelzCallTracker = ChannelzCallTracker;
-class ChannelzCallTrackerStub extends ChannelzCallTracker {
- addCallStarted() { }
- addCallSucceeded() { }
- addCallFailed() { }
-}
-exports.ChannelzCallTrackerStub = ChannelzCallTrackerStub;
-const entityMaps = {
- ["channel" /* EntityTypes.channel */]: new ordered_map_1.OrderedMap(),
- ["subchannel" /* EntityTypes.subchannel */]: new ordered_map_1.OrderedMap(),
- ["server" /* EntityTypes.server */]: new ordered_map_1.OrderedMap(),
- ["socket" /* EntityTypes.socket */]: new ordered_map_1.OrderedMap(),
-};
-const generateRegisterFn = (kind) => {
- let nextId = 1;
- function getNextId() {
- return nextId++;
- }
- const entityMap = entityMaps[kind];
- return (name, getInfo, channelzEnabled) => {
- const id = getNextId();
- const ref = { id, name, kind };
- if (channelzEnabled) {
- entityMap.setElement(id, { ref, getInfo });
- }
- return ref;
- };
-};
-exports.registerChannelzChannel = generateRegisterFn("channel" /* EntityTypes.channel */);
-exports.registerChannelzSubchannel = generateRegisterFn("subchannel" /* EntityTypes.subchannel */);
-exports.registerChannelzServer = generateRegisterFn("server" /* EntityTypes.server */);
-exports.registerChannelzSocket = generateRegisterFn("socket" /* EntityTypes.socket */);
-function unregisterChannelzRef(ref) {
- entityMaps[ref.kind].eraseElementByKey(ref.id);
-}
-/**
- * Parse a single section of an IPv6 address as two bytes
- * @param addressSection A hexadecimal string of length up to 4
- * @returns The pair of bytes representing this address section
- */
-function parseIPv6Section(addressSection) {
- const numberValue = Number.parseInt(addressSection, 16);
- return [(numberValue / 256) | 0, numberValue % 256];
-}
-/**
- * Parse a chunk of an IPv6 address string to some number of bytes
- * @param addressChunk Some number of segments of up to 4 hexadecimal
- * characters each, joined by colons.
- * @returns The list of bytes representing this address chunk
- */
-function parseIPv6Chunk(addressChunk) {
- if (addressChunk === '') {
- return [];
- }
- const bytePairs = addressChunk
- .split(':')
- .map(section => parseIPv6Section(section));
- const result = [];
- return result.concat(...bytePairs);
-}
-function isIPv6MappedIPv4(ipAddress) {
- return (0, net_1.isIPv6)(ipAddress) && ipAddress.toLowerCase().startsWith('::ffff:') && (0, net_1.isIPv4)(ipAddress.substring(7));
-}
-/**
- * Prerequisite: isIPv4(ipAddress)
- * @param ipAddress
- * @returns
- */
-function ipv4AddressStringToBuffer(ipAddress) {
- return Buffer.from(Uint8Array.from(ipAddress.split('.').map(segment => Number.parseInt(segment))));
-}
-/**
- * Converts an IPv4 or IPv6 address from string representation to binary
- * representation
- * @param ipAddress an IP address in standard IPv4 or IPv6 text format
- * @returns
- */
-function ipAddressStringToBuffer(ipAddress) {
- if ((0, net_1.isIPv4)(ipAddress)) {
- return ipv4AddressStringToBuffer(ipAddress);
- }
- else if (isIPv6MappedIPv4(ipAddress)) {
- return ipv4AddressStringToBuffer(ipAddress.substring(7));
- }
- else if ((0, net_1.isIPv6)(ipAddress)) {
- let leftSection;
- let rightSection;
- const doubleColonIndex = ipAddress.indexOf('::');
- if (doubleColonIndex === -1) {
- leftSection = ipAddress;
- rightSection = '';
- }
- else {
- leftSection = ipAddress.substring(0, doubleColonIndex);
- rightSection = ipAddress.substring(doubleColonIndex + 2);
- }
- const leftBuffer = Buffer.from(parseIPv6Chunk(leftSection));
- const rightBuffer = Buffer.from(parseIPv6Chunk(rightSection));
- const middleBuffer = Buffer.alloc(16 - leftBuffer.length - rightBuffer.length, 0);
- return Buffer.concat([leftBuffer, middleBuffer, rightBuffer]);
- }
- else {
- return null;
- }
-}
-function connectivityStateToMessage(state) {
- switch (state) {
- case connectivity_state_1.ConnectivityState.CONNECTING:
- return {
- state: 'CONNECTING',
- };
- case connectivity_state_1.ConnectivityState.IDLE:
- return {
- state: 'IDLE',
- };
- case connectivity_state_1.ConnectivityState.READY:
- return {
- state: 'READY',
- };
- case connectivity_state_1.ConnectivityState.SHUTDOWN:
- return {
- state: 'SHUTDOWN',
- };
- case connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE:
- return {
- state: 'TRANSIENT_FAILURE',
- };
- default:
- return {
- state: 'UNKNOWN',
- };
- }
-}
-function dateToProtoTimestamp(date) {
- if (!date) {
- return null;
- }
- const millisSinceEpoch = date.getTime();
- return {
- seconds: (millisSinceEpoch / 1000) | 0,
- nanos: (millisSinceEpoch % 1000) * 1000000,
- };
-}
-function getChannelMessage(channelEntry) {
- const resolvedInfo = channelEntry.getInfo();
- const channelRef = [];
- const subchannelRef = [];
- resolvedInfo.children.channels.forEach(el => {
- channelRef.push(channelRefToMessage(el[1].ref));
- });
- resolvedInfo.children.subchannels.forEach(el => {
- subchannelRef.push(subchannelRefToMessage(el[1].ref));
- });
- return {
- ref: channelRefToMessage(channelEntry.ref),
- data: {
- target: resolvedInfo.target,
- state: connectivityStateToMessage(resolvedInfo.state),
- calls_started: resolvedInfo.callTracker.callsStarted,
- calls_succeeded: resolvedInfo.callTracker.callsSucceeded,
- calls_failed: resolvedInfo.callTracker.callsFailed,
- last_call_started_timestamp: dateToProtoTimestamp(resolvedInfo.callTracker.lastCallStartedTimestamp),
- trace: resolvedInfo.trace.getTraceMessage(),
- },
- channel_ref: channelRef,
- subchannel_ref: subchannelRef,
- };
-}
-function GetChannel(call, callback) {
- const channelId = parseInt(call.request.channel_id, 10);
- const channelEntry = entityMaps["channel" /* EntityTypes.channel */].getElementByKey(channelId);
- if (channelEntry === undefined) {
- callback({
- code: constants_1.Status.NOT_FOUND,
- details: 'No channel data found for id ' + channelId,
- });
- return;
- }
- callback(null, { channel: getChannelMessage(channelEntry) });
-}
-function GetTopChannels(call, callback) {
- const maxResults = parseInt(call.request.max_results, 10) || DEFAULT_MAX_RESULTS;
- const resultList = [];
- const startId = parseInt(call.request.start_channel_id, 10);
- const channelEntries = entityMaps["channel" /* EntityTypes.channel */];
- let i;
- for (i = channelEntries.lowerBound(startId); !i.equals(channelEntries.end()) && resultList.length < maxResults; i = i.next()) {
- resultList.push(getChannelMessage(i.pointer[1]));
- }
- callback(null, {
- channel: resultList,
- end: i.equals(channelEntries.end()),
- });
-}
-function getServerMessage(serverEntry) {
- const resolvedInfo = serverEntry.getInfo();
- const listenSocket = [];
- resolvedInfo.listenerChildren.sockets.forEach(el => {
- listenSocket.push(socketRefToMessage(el[1].ref));
- });
- return {
- ref: serverRefToMessage(serverEntry.ref),
- data: {
- calls_started: resolvedInfo.callTracker.callsStarted,
- calls_succeeded: resolvedInfo.callTracker.callsSucceeded,
- calls_failed: resolvedInfo.callTracker.callsFailed,
- last_call_started_timestamp: dateToProtoTimestamp(resolvedInfo.callTracker.lastCallStartedTimestamp),
- trace: resolvedInfo.trace.getTraceMessage(),
- },
- listen_socket: listenSocket,
- };
-}
-function GetServer(call, callback) {
- const serverId = parseInt(call.request.server_id, 10);
- const serverEntries = entityMaps["server" /* EntityTypes.server */];
- const serverEntry = serverEntries.getElementByKey(serverId);
- if (serverEntry === undefined) {
- callback({
- code: constants_1.Status.NOT_FOUND,
- details: 'No server data found for id ' + serverId,
- });
- return;
- }
- callback(null, { server: getServerMessage(serverEntry) });
-}
-function GetServers(call, callback) {
- const maxResults = parseInt(call.request.max_results, 10) || DEFAULT_MAX_RESULTS;
- const startId = parseInt(call.request.start_server_id, 10);
- const serverEntries = entityMaps["server" /* EntityTypes.server */];
- const resultList = [];
- let i;
- for (i = serverEntries.lowerBound(startId); !i.equals(serverEntries.end()) && resultList.length < maxResults; i = i.next()) {
- resultList.push(getServerMessage(i.pointer[1]));
- }
- callback(null, {
- server: resultList,
- end: i.equals(serverEntries.end()),
- });
-}
-function GetSubchannel(call, callback) {
- const subchannelId = parseInt(call.request.subchannel_id, 10);
- const subchannelEntry = entityMaps["subchannel" /* EntityTypes.subchannel */].getElementByKey(subchannelId);
- if (subchannelEntry === undefined) {
- callback({
- code: constants_1.Status.NOT_FOUND,
- details: 'No subchannel data found for id ' + subchannelId,
- });
- return;
- }
- const resolvedInfo = subchannelEntry.getInfo();
- const listenSocket = [];
- resolvedInfo.children.sockets.forEach(el => {
- listenSocket.push(socketRefToMessage(el[1].ref));
- });
- const subchannelMessage = {
- ref: subchannelRefToMessage(subchannelEntry.ref),
- data: {
- target: resolvedInfo.target,
- state: connectivityStateToMessage(resolvedInfo.state),
- calls_started: resolvedInfo.callTracker.callsStarted,
- calls_succeeded: resolvedInfo.callTracker.callsSucceeded,
- calls_failed: resolvedInfo.callTracker.callsFailed,
- last_call_started_timestamp: dateToProtoTimestamp(resolvedInfo.callTracker.lastCallStartedTimestamp),
- trace: resolvedInfo.trace.getTraceMessage(),
- },
- socket_ref: listenSocket,
- };
- callback(null, { subchannel: subchannelMessage });
-}
-function subchannelAddressToAddressMessage(subchannelAddress) {
- var _a;
- if ((0, subchannel_address_1.isTcpSubchannelAddress)(subchannelAddress)) {
- return {
- address: 'tcpip_address',
- tcpip_address: {
- ip_address: (_a = ipAddressStringToBuffer(subchannelAddress.host)) !== null && _a !== void 0 ? _a : undefined,
- port: subchannelAddress.port,
- },
- };
- }
- else {
- return {
- address: 'uds_address',
- uds_address: {
- filename: subchannelAddress.path,
- },
- };
- }
-}
-function GetSocket(call, callback) {
- var _a, _b, _c, _d, _e;
- const socketId = parseInt(call.request.socket_id, 10);
- const socketEntry = entityMaps["socket" /* EntityTypes.socket */].getElementByKey(socketId);
- if (socketEntry === undefined) {
- callback({
- code: constants_1.Status.NOT_FOUND,
- details: 'No socket data found for id ' + socketId,
- });
- return;
- }
- const resolvedInfo = socketEntry.getInfo();
- const securityMessage = resolvedInfo.security
- ? {
- model: 'tls',
- tls: {
- cipher_suite: resolvedInfo.security.cipherSuiteStandardName
- ? 'standard_name'
- : 'other_name',
- standard_name: (_a = resolvedInfo.security.cipherSuiteStandardName) !== null && _a !== void 0 ? _a : undefined,
- other_name: (_b = resolvedInfo.security.cipherSuiteOtherName) !== null && _b !== void 0 ? _b : undefined,
- local_certificate: (_c = resolvedInfo.security.localCertificate) !== null && _c !== void 0 ? _c : undefined,
- remote_certificate: (_d = resolvedInfo.security.remoteCertificate) !== null && _d !== void 0 ? _d : undefined,
- },
- }
- : null;
- const socketMessage = {
- ref: socketRefToMessage(socketEntry.ref),
- local: resolvedInfo.localAddress
- ? subchannelAddressToAddressMessage(resolvedInfo.localAddress)
- : null,
- remote: resolvedInfo.remoteAddress
- ? subchannelAddressToAddressMessage(resolvedInfo.remoteAddress)
- : null,
- remote_name: (_e = resolvedInfo.remoteName) !== null && _e !== void 0 ? _e : undefined,
- security: securityMessage,
- data: {
- keep_alives_sent: resolvedInfo.keepAlivesSent,
- streams_started: resolvedInfo.streamsStarted,
- streams_succeeded: resolvedInfo.streamsSucceeded,
- streams_failed: resolvedInfo.streamsFailed,
- last_local_stream_created_timestamp: dateToProtoTimestamp(resolvedInfo.lastLocalStreamCreatedTimestamp),
- last_remote_stream_created_timestamp: dateToProtoTimestamp(resolvedInfo.lastRemoteStreamCreatedTimestamp),
- messages_received: resolvedInfo.messagesReceived,
- messages_sent: resolvedInfo.messagesSent,
- last_message_received_timestamp: dateToProtoTimestamp(resolvedInfo.lastMessageReceivedTimestamp),
- last_message_sent_timestamp: dateToProtoTimestamp(resolvedInfo.lastMessageSentTimestamp),
- local_flow_control_window: resolvedInfo.localFlowControlWindow
- ? { value: resolvedInfo.localFlowControlWindow }
- : null,
- remote_flow_control_window: resolvedInfo.remoteFlowControlWindow
- ? { value: resolvedInfo.remoteFlowControlWindow }
- : null,
- },
- };
- callback(null, { socket: socketMessage });
-}
-function GetServerSockets(call, callback) {
- const serverId = parseInt(call.request.server_id, 10);
- const serverEntry = entityMaps["server" /* EntityTypes.server */].getElementByKey(serverId);
- if (serverEntry === undefined) {
- callback({
- code: constants_1.Status.NOT_FOUND,
- details: 'No server data found for id ' + serverId,
- });
- return;
- }
- const startId = parseInt(call.request.start_socket_id, 10);
- const maxResults = parseInt(call.request.max_results, 10) || DEFAULT_MAX_RESULTS;
- const resolvedInfo = serverEntry.getInfo();
- // If we wanted to include listener sockets in the result, this line would
- // instead say
- // const allSockets = resolvedInfo.listenerChildren.sockets.concat(resolvedInfo.sessionChildren.sockets).sort((ref1, ref2) => ref1.id - ref2.id);
- const allSockets = resolvedInfo.sessionChildren.sockets;
- const resultList = [];
- let i;
- for (i = allSockets.lowerBound(startId); !i.equals(allSockets.end()) && resultList.length < maxResults; i = i.next()) {
- resultList.push(socketRefToMessage(i.pointer[1].ref));
- }
- callback(null, {
- socket_ref: resultList,
- end: i.equals(allSockets.end()),
- });
-}
-function getChannelzHandlers() {
- return {
- GetChannel,
- GetTopChannels,
- GetServer,
- GetServers,
- GetSubchannel,
- GetSocket,
- GetServerSockets,
- };
-}
-let loadedChannelzDefinition = null;
-function getChannelzServiceDefinition() {
- if (loadedChannelzDefinition) {
- return loadedChannelzDefinition;
- }
- /* The purpose of this complexity is to avoid loading @grpc/proto-loader at
- * runtime for users who will not use/enable channelz. */
- const loaderLoadSync = require('@grpc/proto-loader')
- .loadSync;
- const loadedProto = loaderLoadSync('channelz.proto', {
- keepCase: true,
- longs: String,
- enums: String,
- defaults: true,
- oneofs: true,
- includeDirs: [`${__dirname}/../../proto`],
- });
- const channelzGrpcObject = (0, make_client_1.loadPackageDefinition)(loadedProto);
- loadedChannelzDefinition =
- channelzGrpcObject.grpc.channelz.v1.Channelz.service;
- return loadedChannelzDefinition;
-}
-function setup() {
- (0, admin_1.registerAdminService)(getChannelzServiceDefinition, getChannelzHandlers);
-}
-//# sourceMappingURL=channelz.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/channelz.js.map b/node_modules/@grpc/grpc-js/build/src/channelz.js.map
deleted file mode 100644
index 1536e0b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/channelz.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"channelz.js","sourceRoot":"","sources":["../../src/channelz.ts"],"names":[],"mappings":";AAAA;;;;;;;;;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IAAA,4BAAoB,EAAC,4BAA4B,EAAE,mBAAmB,CAAC,CAAC;AAC1E,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/client-interceptors.d.ts b/node_modules/@grpc/grpc-js/build/src/client-interceptors.d.ts
deleted file mode 100644
index 4da2b9c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/client-interceptors.d.ts
+++ /dev/null
@@ -1,123 +0,0 @@
-import { Metadata } from './metadata';
-import { Listener, MetadataListener, MessageListener, StatusListener, InterceptingListener, MessageContext } from './call-interface';
-import { Status } from './constants';
-import { Channel } from './channel';
-import { CallOptions } from './client';
-import { ClientMethodDefinition } from './make-client';
-import { AuthContext } from './auth-context';
-/**
- * Error class associated with passing both interceptors and interceptor
- * providers to a client constructor or as call options.
- */
-export declare class InterceptorConfigurationError extends Error {
- constructor(message: string);
-}
-export interface MetadataRequester {
- (metadata: Metadata, listener: InterceptingListener, next: (metadata: Metadata, listener: InterceptingListener | Listener) => void): void;
-}
-export interface MessageRequester {
- (message: any, next: (message: any) => void): void;
-}
-export interface CloseRequester {
- (next: () => void): void;
-}
-export interface CancelRequester {
- (next: () => void): void;
-}
-/**
- * An object with methods for intercepting and modifying outgoing call operations.
- */
-export interface FullRequester {
- start: MetadataRequester;
- sendMessage: MessageRequester;
- halfClose: CloseRequester;
- cancel: CancelRequester;
-}
-export type Requester = Partial;
-export declare class ListenerBuilder {
- private metadata;
- private message;
- private status;
- withOnReceiveMetadata(onReceiveMetadata: MetadataListener): this;
- withOnReceiveMessage(onReceiveMessage: MessageListener): this;
- withOnReceiveStatus(onReceiveStatus: StatusListener): this;
- build(): Listener;
-}
-export declare class RequesterBuilder {
- private start;
- private message;
- private halfClose;
- private cancel;
- withStart(start: MetadataRequester): this;
- withSendMessage(sendMessage: MessageRequester): this;
- withHalfClose(halfClose: CloseRequester): this;
- withCancel(cancel: CancelRequester): this;
- build(): Requester;
-}
-export interface InterceptorOptions extends CallOptions {
- method_definition: ClientMethodDefinition;
-}
-export interface InterceptingCallInterface {
- cancelWithStatus(status: Status, details: string): void;
- getPeer(): string;
- start(metadata: Metadata, listener?: Partial): void;
- sendMessageWithContext(context: MessageContext, message: any): void;
- sendMessage(message: any): void;
- startRead(): void;
- halfClose(): void;
- getAuthContext(): AuthContext | null;
-}
-export declare class InterceptingCall implements InterceptingCallInterface {
- private nextCall;
- /**
- * The requester that this InterceptingCall uses to modify outgoing operations
- */
- private requester;
- /**
- * Indicates that metadata has been passed to the requester's start
- * method but it has not been passed to the corresponding next callback
- */
- private processingMetadata;
- /**
- * Message context for a pending message that is waiting for
- */
- private pendingMessageContext;
- private pendingMessage;
- /**
- * Indicates that a message has been passed to the requester's sendMessage
- * method but it has not been passed to the corresponding next callback
- */
- private processingMessage;
- /**
- * Indicates that a status was received but could not be propagated because
- * a message was still being processed.
- */
- private pendingHalfClose;
- constructor(nextCall: InterceptingCallInterface, requester?: Requester);
- cancelWithStatus(status: Status, details: string): void;
- getPeer(): string;
- private processPendingMessage;
- private processPendingHalfClose;
- start(metadata: Metadata, interceptingListener?: Partial): void;
- sendMessageWithContext(context: MessageContext, message: any): void;
- sendMessage(message: any): void;
- startRead(): void;
- halfClose(): void;
- getAuthContext(): AuthContext | null;
-}
-export interface NextCall {
- (options: InterceptorOptions): InterceptingCallInterface;
-}
-export interface Interceptor {
- (options: InterceptorOptions, nextCall: NextCall): InterceptingCall;
-}
-export interface InterceptorProvider {
- (methodDefinition: ClientMethodDefinition): Interceptor;
-}
-export interface InterceptorArguments {
- clientInterceptors: Interceptor[];
- clientInterceptorProviders: InterceptorProvider[];
- callInterceptors: Interceptor[];
- callInterceptorProviders: InterceptorProvider[];
-}
-export declare function getInterceptingCall(interceptorArgs: InterceptorArguments, methodDefinition: ClientMethodDefinition, options: CallOptions, channel: Channel): InterceptingCallInterface;
diff --git a/node_modules/@grpc/grpc-js/build/src/client-interceptors.js b/node_modules/@grpc/grpc-js/build/src/client-interceptors.js
deleted file mode 100644
index 51fa979..0000000
--- a/node_modules/@grpc/grpc-js/build/src/client-interceptors.js
+++ /dev/null
@@ -1,434 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.InterceptingCall = exports.RequesterBuilder = exports.ListenerBuilder = exports.InterceptorConfigurationError = void 0;
-exports.getInterceptingCall = getInterceptingCall;
-const metadata_1 = require("./metadata");
-const call_interface_1 = require("./call-interface");
-const constants_1 = require("./constants");
-const error_1 = require("./error");
-/**
- * Error class associated with passing both interceptors and interceptor
- * providers to a client constructor or as call options.
- */
-class InterceptorConfigurationError extends Error {
- constructor(message) {
- super(message);
- this.name = 'InterceptorConfigurationError';
- Error.captureStackTrace(this, InterceptorConfigurationError);
- }
-}
-exports.InterceptorConfigurationError = InterceptorConfigurationError;
-class ListenerBuilder {
- constructor() {
- this.metadata = undefined;
- this.message = undefined;
- this.status = undefined;
- }
- withOnReceiveMetadata(onReceiveMetadata) {
- this.metadata = onReceiveMetadata;
- return this;
- }
- withOnReceiveMessage(onReceiveMessage) {
- this.message = onReceiveMessage;
- return this;
- }
- withOnReceiveStatus(onReceiveStatus) {
- this.status = onReceiveStatus;
- return this;
- }
- build() {
- return {
- onReceiveMetadata: this.metadata,
- onReceiveMessage: this.message,
- onReceiveStatus: this.status,
- };
- }
-}
-exports.ListenerBuilder = ListenerBuilder;
-class RequesterBuilder {
- constructor() {
- this.start = undefined;
- this.message = undefined;
- this.halfClose = undefined;
- this.cancel = undefined;
- }
- withStart(start) {
- this.start = start;
- return this;
- }
- withSendMessage(sendMessage) {
- this.message = sendMessage;
- return this;
- }
- withHalfClose(halfClose) {
- this.halfClose = halfClose;
- return this;
- }
- withCancel(cancel) {
- this.cancel = cancel;
- return this;
- }
- build() {
- return {
- start: this.start,
- sendMessage: this.message,
- halfClose: this.halfClose,
- cancel: this.cancel,
- };
- }
-}
-exports.RequesterBuilder = RequesterBuilder;
-/**
- * A Listener with a default pass-through implementation of each method. Used
- * for filling out Listeners with some methods omitted.
- */
-const defaultListener = {
- onReceiveMetadata: (metadata, next) => {
- next(metadata);
- },
- onReceiveMessage: (message, next) => {
- next(message);
- },
- onReceiveStatus: (status, next) => {
- next(status);
- },
-};
-/**
- * A Requester with a default pass-through implementation of each method. Used
- * for filling out Requesters with some methods omitted.
- */
-const defaultRequester = {
- start: (metadata, listener, next) => {
- next(metadata, listener);
- },
- sendMessage: (message, next) => {
- next(message);
- },
- halfClose: next => {
- next();
- },
- cancel: next => {
- next();
- },
-};
-class InterceptingCall {
- constructor(nextCall, requester) {
- var _a, _b, _c, _d;
- this.nextCall = nextCall;
- /**
- * Indicates that metadata has been passed to the requester's start
- * method but it has not been passed to the corresponding next callback
- */
- this.processingMetadata = false;
- /**
- * Message context for a pending message that is waiting for
- */
- this.pendingMessageContext = null;
- /**
- * Indicates that a message has been passed to the requester's sendMessage
- * method but it has not been passed to the corresponding next callback
- */
- this.processingMessage = false;
- /**
- * Indicates that a status was received but could not be propagated because
- * a message was still being processed.
- */
- this.pendingHalfClose = false;
- if (requester) {
- this.requester = {
- start: (_a = requester.start) !== null && _a !== void 0 ? _a : defaultRequester.start,
- sendMessage: (_b = requester.sendMessage) !== null && _b !== void 0 ? _b : defaultRequester.sendMessage,
- halfClose: (_c = requester.halfClose) !== null && _c !== void 0 ? _c : defaultRequester.halfClose,
- cancel: (_d = requester.cancel) !== null && _d !== void 0 ? _d : defaultRequester.cancel,
- };
- }
- else {
- this.requester = defaultRequester;
- }
- }
- cancelWithStatus(status, details) {
- this.requester.cancel(() => {
- this.nextCall.cancelWithStatus(status, details);
- });
- }
- getPeer() {
- return this.nextCall.getPeer();
- }
- processPendingMessage() {
- if (this.pendingMessageContext) {
- this.nextCall.sendMessageWithContext(this.pendingMessageContext, this.pendingMessage);
- this.pendingMessageContext = null;
- this.pendingMessage = null;
- }
- }
- processPendingHalfClose() {
- if (this.pendingHalfClose) {
- this.nextCall.halfClose();
- }
- }
- start(metadata, interceptingListener) {
- var _a, _b, _c, _d, _e, _f;
- const fullInterceptingListener = {
- onReceiveMetadata: (_b = (_a = interceptingListener === null || interceptingListener === void 0 ? void 0 : interceptingListener.onReceiveMetadata) === null || _a === void 0 ? void 0 : _a.bind(interceptingListener)) !== null && _b !== void 0 ? _b : (metadata => { }),
- onReceiveMessage: (_d = (_c = interceptingListener === null || interceptingListener === void 0 ? void 0 : interceptingListener.onReceiveMessage) === null || _c === void 0 ? void 0 : _c.bind(interceptingListener)) !== null && _d !== void 0 ? _d : (message => { }),
- onReceiveStatus: (_f = (_e = interceptingListener === null || interceptingListener === void 0 ? void 0 : interceptingListener.onReceiveStatus) === null || _e === void 0 ? void 0 : _e.bind(interceptingListener)) !== null && _f !== void 0 ? _f : (status => { }),
- };
- this.processingMetadata = true;
- this.requester.start(metadata, fullInterceptingListener, (md, listener) => {
- var _a, _b, _c;
- this.processingMetadata = false;
- let finalInterceptingListener;
- if ((0, call_interface_1.isInterceptingListener)(listener)) {
- finalInterceptingListener = listener;
- }
- else {
- const fullListener = {
- onReceiveMetadata: (_a = listener.onReceiveMetadata) !== null && _a !== void 0 ? _a : defaultListener.onReceiveMetadata,
- onReceiveMessage: (_b = listener.onReceiveMessage) !== null && _b !== void 0 ? _b : defaultListener.onReceiveMessage,
- onReceiveStatus: (_c = listener.onReceiveStatus) !== null && _c !== void 0 ? _c : defaultListener.onReceiveStatus,
- };
- finalInterceptingListener = new call_interface_1.InterceptingListenerImpl(fullListener, fullInterceptingListener);
- }
- this.nextCall.start(md, finalInterceptingListener);
- this.processPendingMessage();
- this.processPendingHalfClose();
- });
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- sendMessageWithContext(context, message) {
- this.processingMessage = true;
- this.requester.sendMessage(message, finalMessage => {
- this.processingMessage = false;
- if (this.processingMetadata) {
- this.pendingMessageContext = context;
- this.pendingMessage = message;
- }
- else {
- this.nextCall.sendMessageWithContext(context, finalMessage);
- this.processPendingHalfClose();
- }
- });
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- sendMessage(message) {
- this.sendMessageWithContext({}, message);
- }
- startRead() {
- this.nextCall.startRead();
- }
- halfClose() {
- this.requester.halfClose(() => {
- if (this.processingMetadata || this.processingMessage) {
- this.pendingHalfClose = true;
- }
- else {
- this.nextCall.halfClose();
- }
- });
- }
- getAuthContext() {
- return this.nextCall.getAuthContext();
- }
-}
-exports.InterceptingCall = InterceptingCall;
-function getCall(channel, path, options) {
- var _a, _b;
- const deadline = (_a = options.deadline) !== null && _a !== void 0 ? _a : Infinity;
- const host = options.host;
- const parent = (_b = options.parent) !== null && _b !== void 0 ? _b : null;
- const propagateFlags = options.propagate_flags;
- const credentials = options.credentials;
- const call = channel.createCall(path, deadline, host, parent, propagateFlags);
- if (credentials) {
- call.setCredentials(credentials);
- }
- return call;
-}
-/**
- * InterceptingCall implementation that directly owns the underlying Call
- * object and handles serialization and deseraizliation.
- */
-class BaseInterceptingCall {
- constructor(call,
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- methodDefinition) {
- this.call = call;
- this.methodDefinition = methodDefinition;
- }
- cancelWithStatus(status, details) {
- this.call.cancelWithStatus(status, details);
- }
- getPeer() {
- return this.call.getPeer();
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- sendMessageWithContext(context, message) {
- let serialized;
- try {
- serialized = this.methodDefinition.requestSerialize(message);
- }
- catch (e) {
- this.call.cancelWithStatus(constants_1.Status.INTERNAL, `Request message serialization failure: ${(0, error_1.getErrorMessage)(e)}`);
- return;
- }
- this.call.sendMessageWithContext(context, serialized);
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- sendMessage(message) {
- this.sendMessageWithContext({}, message);
- }
- start(metadata, interceptingListener) {
- let readError = null;
- this.call.start(metadata, {
- onReceiveMetadata: metadata => {
- var _a;
- (_a = interceptingListener === null || interceptingListener === void 0 ? void 0 : interceptingListener.onReceiveMetadata) === null || _a === void 0 ? void 0 : _a.call(interceptingListener, metadata);
- },
- onReceiveMessage: message => {
- var _a;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- let deserialized;
- try {
- deserialized = this.methodDefinition.responseDeserialize(message);
- }
- catch (e) {
- readError = {
- code: constants_1.Status.INTERNAL,
- details: `Response message parsing error: ${(0, error_1.getErrorMessage)(e)}`,
- metadata: new metadata_1.Metadata(),
- };
- this.call.cancelWithStatus(readError.code, readError.details);
- return;
- }
- (_a = interceptingListener === null || interceptingListener === void 0 ? void 0 : interceptingListener.onReceiveMessage) === null || _a === void 0 ? void 0 : _a.call(interceptingListener, deserialized);
- },
- onReceiveStatus: status => {
- var _a, _b;
- if (readError) {
- (_a = interceptingListener === null || interceptingListener === void 0 ? void 0 : interceptingListener.onReceiveStatus) === null || _a === void 0 ? void 0 : _a.call(interceptingListener, readError);
- }
- else {
- (_b = interceptingListener === null || interceptingListener === void 0 ? void 0 : interceptingListener.onReceiveStatus) === null || _b === void 0 ? void 0 : _b.call(interceptingListener, status);
- }
- },
- });
- }
- startRead() {
- this.call.startRead();
- }
- halfClose() {
- this.call.halfClose();
- }
- getAuthContext() {
- return this.call.getAuthContext();
- }
-}
-/**
- * BaseInterceptingCall with special-cased behavior for methods with unary
- * responses.
- */
-class BaseUnaryInterceptingCall extends BaseInterceptingCall {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- constructor(call, methodDefinition) {
- super(call, methodDefinition);
- }
- start(metadata, listener) {
- var _a, _b;
- let receivedMessage = false;
- const wrapperListener = {
- onReceiveMetadata: (_b = (_a = listener === null || listener === void 0 ? void 0 : listener.onReceiveMetadata) === null || _a === void 0 ? void 0 : _a.bind(listener)) !== null && _b !== void 0 ? _b : (metadata => { }),
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- onReceiveMessage: (message) => {
- var _a;
- receivedMessage = true;
- (_a = listener === null || listener === void 0 ? void 0 : listener.onReceiveMessage) === null || _a === void 0 ? void 0 : _a.call(listener, message);
- },
- onReceiveStatus: (status) => {
- var _a, _b;
- if (!receivedMessage) {
- (_a = listener === null || listener === void 0 ? void 0 : listener.onReceiveMessage) === null || _a === void 0 ? void 0 : _a.call(listener, null);
- }
- (_b = listener === null || listener === void 0 ? void 0 : listener.onReceiveStatus) === null || _b === void 0 ? void 0 : _b.call(listener, status);
- },
- };
- super.start(metadata, wrapperListener);
- this.call.startRead();
- }
-}
-/**
- * BaseInterceptingCall with special-cased behavior for methods with streaming
- * responses.
- */
-class BaseStreamingInterceptingCall extends BaseInterceptingCall {
-}
-function getBottomInterceptingCall(channel, options,
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
-methodDefinition) {
- const call = getCall(channel, methodDefinition.path, options);
- if (methodDefinition.responseStream) {
- return new BaseStreamingInterceptingCall(call, methodDefinition);
- }
- else {
- return new BaseUnaryInterceptingCall(call, methodDefinition);
- }
-}
-function getInterceptingCall(interceptorArgs,
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
-methodDefinition, options, channel) {
- if (interceptorArgs.clientInterceptors.length > 0 &&
- interceptorArgs.clientInterceptorProviders.length > 0) {
- throw new InterceptorConfigurationError('Both interceptors and interceptor_providers were passed as options ' +
- 'to the client constructor. Only one of these is allowed.');
- }
- if (interceptorArgs.callInterceptors.length > 0 &&
- interceptorArgs.callInterceptorProviders.length > 0) {
- throw new InterceptorConfigurationError('Both interceptors and interceptor_providers were passed as call ' +
- 'options. Only one of these is allowed.');
- }
- let interceptors = [];
- // Interceptors passed to the call override interceptors passed to the client constructor
- if (interceptorArgs.callInterceptors.length > 0 ||
- interceptorArgs.callInterceptorProviders.length > 0) {
- interceptors = []
- .concat(interceptorArgs.callInterceptors, interceptorArgs.callInterceptorProviders.map(provider => provider(methodDefinition)))
- .filter(interceptor => interceptor);
- // Filter out falsy values when providers return nothing
- }
- else {
- interceptors = []
- .concat(interceptorArgs.clientInterceptors, interceptorArgs.clientInterceptorProviders.map(provider => provider(methodDefinition)))
- .filter(interceptor => interceptor);
- // Filter out falsy values when providers return nothing
- }
- const interceptorOptions = Object.assign({}, options, {
- method_definition: methodDefinition,
- });
- /* For each interceptor in the list, the nextCall function passed to it is
- * based on the next interceptor in the list, using a nextCall function
- * constructed with the following interceptor in the list, and so on. The
- * initialValue, which is effectively at the end of the list, is a nextCall
- * function that invokes getBottomInterceptingCall, the result of which
- * handles (de)serialization and also gets the underlying call from the
- * channel. */
- const getCall = interceptors.reduceRight((nextCall, nextInterceptor) => {
- return currentOptions => nextInterceptor(currentOptions, nextCall);
- }, (finalOptions) => getBottomInterceptingCall(channel, finalOptions, methodDefinition));
- return getCall(interceptorOptions);
-}
-//# sourceMappingURL=client-interceptors.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/client-interceptors.js.map b/node_modules/@grpc/grpc-js/build/src/client-interceptors.js.map
deleted file mode 100644
index 9a961ea..0000000
--- a/node_modules/@grpc/grpc-js/build/src/client-interceptors.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"client-interceptors.js","sourceRoot":"","sources":["../../src/client-interceptors.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAofH,kDAqEC;AAvjBD,yCAAsC;AACtC,qDAY0B;AAC1B,2CAAqC;AAIrC,mCAA0C;AAG1C;;;GAGG;AACH,MAAa,6BAA8B,SAAQ,KAAK;IACtD,YAAY,OAAe;QACzB,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,GAAG,+BAA+B,CAAC;QAC5C,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,6BAA6B,CAAC,CAAC;IAC/D,CAAC;CACF;AAND,sEAMC;AAsCD,MAAa,eAAe;IAA5B;QACU,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.ts b/node_modules/@grpc/grpc-js/build/src/client.d.ts
deleted file mode 100644
index 5c71ae4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/client.d.ts
+++ /dev/null
@@ -1,74 +0,0 @@
-import { ClientDuplexStream, ClientReadableStream, ClientUnaryCall, ClientWritableStream, ServiceError, SurfaceCall } from './call';
-import { CallCredentials } from './call-credentials';
-import { Channel } from './channel';
-import { ChannelCredentials } from './channel-credentials';
-import { ChannelOptions } from './channel-options';
-import { Metadata } from './metadata';
-import { ClientMethodDefinition } from './make-client';
-import { Interceptor, InterceptorProvider } from './client-interceptors';
-import { ServerUnaryCall, ServerReadableStream, ServerWritableStream, ServerDuplexStream } from './server-call';
-import { Deadline } from './deadline';
-declare const CHANNEL_SYMBOL: unique symbol;
-declare const INTERCEPTOR_SYMBOL: unique symbol;
-declare const INTERCEPTOR_PROVIDER_SYMBOL: unique symbol;
-declare const CALL_INVOCATION_TRANSFORMER_SYMBOL: unique symbol;
-export interface UnaryCallback {
- (err: ServiceError | null, value?: ResponseType): void;
-}
-export interface CallOptions {
- deadline?: Deadline;
- host?: string;
- parent?: ServerUnaryCall | ServerReadableStream | ServerWritableStream | ServerDuplexStream;
- propagate_flags?: number;
- credentials?: CallCredentials;
- interceptors?: Interceptor[];
- interceptor_providers?: InterceptorProvider[];
-}
-export interface CallProperties {
- argument?: RequestType;
- metadata: Metadata;
- call: SurfaceCall;
- channel: Channel;
- methodDefinition: ClientMethodDefinition;
- callOptions: CallOptions;
- callback?: UnaryCallback;
-}
-export interface CallInvocationTransformer {
- (callProperties: CallProperties): CallProperties;
-}
-export type ClientOptions = Partial & {
- channelOverride?: Channel;
- channelFactoryOverride?: (address: string, credentials: ChannelCredentials, options: ClientOptions) => Channel;
- interceptors?: Interceptor[];
- interceptor_providers?: InterceptorProvider[];
- callInvocationTransformer?: CallInvocationTransformer;
-};
-/**
- * A generic gRPC client. Primarily useful as a base class for all generated
- * clients.
- */
-export declare class Client {
- private readonly [CHANNEL_SYMBOL];
- private readonly [INTERCEPTOR_SYMBOL];
- private readonly [INTERCEPTOR_PROVIDER_SYMBOL];
- private readonly [CALL_INVOCATION_TRANSFORMER_SYMBOL]?;
- constructor(address: string, credentials: ChannelCredentials, options?: ClientOptions);
- close(): void;
- getChannel(): Channel;
- waitForReady(deadline: Deadline, callback: (error?: Error) => void): void;
- private checkOptionalUnaryResponseArguments;
- makeUnaryRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, argument: RequestType, metadata: Metadata, options: CallOptions, callback: UnaryCallback): ClientUnaryCall;
- makeUnaryRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, argument: RequestType, metadata: Metadata, callback: UnaryCallback): ClientUnaryCall;
- makeUnaryRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, argument: RequestType, options: CallOptions, callback: UnaryCallback): ClientUnaryCall;
- makeUnaryRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, argument: RequestType, callback: UnaryCallback): ClientUnaryCall;
- makeClientStreamRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, metadata: Metadata, options: CallOptions, callback: UnaryCallback): ClientWritableStream;
- makeClientStreamRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, metadata: Metadata, callback: UnaryCallback): ClientWritableStream;
- makeClientStreamRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, options: CallOptions, callback: UnaryCallback): ClientWritableStream;
- makeClientStreamRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, callback: UnaryCallback): ClientWritableStream;
- private checkMetadataAndOptions;
- makeServerStreamRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, argument: RequestType, metadata: Metadata, options?: CallOptions): ClientReadableStream;
- makeServerStreamRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, argument: RequestType, options?: CallOptions): ClientReadableStream;
- makeBidiStreamRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, metadata: Metadata, options?: CallOptions): ClientDuplexStream;
- makeBidiStreamRequest(method: string, serialize: (value: RequestType) => Buffer, deserialize: (value: Buffer) => ResponseType, options?: CallOptions): ClientDuplexStream;
-}
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/client.js b/node_modules/@grpc/grpc-js/build/src/client.js
deleted file mode 100644
index 9cd559a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/client.js
+++ /dev/null
@@ -1,433 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Client = void 0;
-const call_1 = require("./call");
-const channel_1 = require("./channel");
-const connectivity_state_1 = require("./connectivity-state");
-const constants_1 = require("./constants");
-const metadata_1 = require("./metadata");
-const client_interceptors_1 = require("./client-interceptors");
-const CHANNEL_SYMBOL = Symbol();
-const INTERCEPTOR_SYMBOL = Symbol();
-const INTERCEPTOR_PROVIDER_SYMBOL = Symbol();
-const CALL_INVOCATION_TRANSFORMER_SYMBOL = Symbol();
-function isFunction(arg) {
- return typeof arg === 'function';
-}
-function getErrorStackString(error) {
- var _a;
- return ((_a = error.stack) === null || _a === void 0 ? void 0 : _a.split('\n').slice(1).join('\n')) || 'no stack trace available';
-}
-/**
- * A generic gRPC client. Primarily useful as a base class for all generated
- * clients.
- */
-class Client {
- constructor(address, credentials, options = {}) {
- var _a, _b;
- options = Object.assign({}, options);
- this[INTERCEPTOR_SYMBOL] = (_a = options.interceptors) !== null && _a !== void 0 ? _a : [];
- delete options.interceptors;
- this[INTERCEPTOR_PROVIDER_SYMBOL] = (_b = options.interceptor_providers) !== null && _b !== void 0 ? _b : [];
- delete options.interceptor_providers;
- if (this[INTERCEPTOR_SYMBOL].length > 0 &&
- this[INTERCEPTOR_PROVIDER_SYMBOL].length > 0) {
- throw new Error('Both interceptors and interceptor_providers were passed as options ' +
- 'to the client constructor. Only one of these is allowed.');
- }
- this[CALL_INVOCATION_TRANSFORMER_SYMBOL] =
- options.callInvocationTransformer;
- delete options.callInvocationTransformer;
- if (options.channelOverride) {
- this[CHANNEL_SYMBOL] = options.channelOverride;
- }
- else if (options.channelFactoryOverride) {
- const channelFactoryOverride = options.channelFactoryOverride;
- delete options.channelFactoryOverride;
- this[CHANNEL_SYMBOL] = channelFactoryOverride(address, credentials, options);
- }
- else {
- this[CHANNEL_SYMBOL] = new channel_1.ChannelImplementation(address, credentials, options);
- }
- }
- close() {
- this[CHANNEL_SYMBOL].close();
- }
- getChannel() {
- return this[CHANNEL_SYMBOL];
- }
- waitForReady(deadline, callback) {
- const checkState = (err) => {
- if (err) {
- callback(new Error('Failed to connect before the deadline'));
- return;
- }
- let newState;
- try {
- newState = this[CHANNEL_SYMBOL].getConnectivityState(true);
- }
- catch (e) {
- callback(new Error('The channel has been closed'));
- return;
- }
- if (newState === connectivity_state_1.ConnectivityState.READY) {
- callback();
- }
- else {
- try {
- this[CHANNEL_SYMBOL].watchConnectivityState(newState, deadline, checkState);
- }
- catch (e) {
- callback(new Error('The channel has been closed'));
- }
- }
- };
- setImmediate(checkState);
- }
- checkOptionalUnaryResponseArguments(arg1, arg2, arg3) {
- if (isFunction(arg1)) {
- return { metadata: new metadata_1.Metadata(), options: {}, callback: arg1 };
- }
- else if (isFunction(arg2)) {
- if (arg1 instanceof metadata_1.Metadata) {
- return { metadata: arg1, options: {}, callback: arg2 };
- }
- else {
- return { metadata: new metadata_1.Metadata(), options: arg1, callback: arg2 };
- }
- }
- else {
- if (!(arg1 instanceof metadata_1.Metadata &&
- arg2 instanceof Object &&
- isFunction(arg3))) {
- throw new Error('Incorrect arguments passed');
- }
- return { metadata: arg1, options: arg2, callback: arg3 };
- }
- }
- makeUnaryRequest(method, serialize, deserialize, argument, metadata, options, callback) {
- var _a, _b;
- const checkedArguments = this.checkOptionalUnaryResponseArguments(metadata, options, callback);
- const methodDefinition = {
- path: method,
- requestStream: false,
- responseStream: false,
- requestSerialize: serialize,
- responseDeserialize: deserialize,
- };
- let callProperties = {
- argument: argument,
- metadata: checkedArguments.metadata,
- call: new call_1.ClientUnaryCallImpl(),
- channel: this[CHANNEL_SYMBOL],
- methodDefinition: methodDefinition,
- callOptions: checkedArguments.options,
- callback: checkedArguments.callback,
- };
- if (this[CALL_INVOCATION_TRANSFORMER_SYMBOL]) {
- callProperties = this[CALL_INVOCATION_TRANSFORMER_SYMBOL](callProperties);
- }
- const emitter = callProperties.call;
- const interceptorArgs = {
- clientInterceptors: this[INTERCEPTOR_SYMBOL],
- clientInterceptorProviders: this[INTERCEPTOR_PROVIDER_SYMBOL],
- callInterceptors: (_a = callProperties.callOptions.interceptors) !== null && _a !== void 0 ? _a : [],
- callInterceptorProviders: (_b = callProperties.callOptions.interceptor_providers) !== null && _b !== void 0 ? _b : [],
- };
- const call = (0, client_interceptors_1.getInterceptingCall)(interceptorArgs, callProperties.methodDefinition, callProperties.callOptions, callProperties.channel);
- /* This needs to happen before the emitter is used. Unfortunately we can't
- * enforce this with the type system. We need to construct this emitter
- * before calling the CallInvocationTransformer, and we need to create the
- * call after that. */
- emitter.call = call;
- let responseMessage = null;
- let receivedStatus = false;
- let callerStackError = new Error();
- call.start(callProperties.metadata, {
- onReceiveMetadata: metadata => {
- emitter.emit('metadata', metadata);
- },
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- onReceiveMessage(message) {
- if (responseMessage !== null) {
- call.cancelWithStatus(constants_1.Status.UNIMPLEMENTED, 'Too many responses received');
- }
- responseMessage = message;
- },
- onReceiveStatus(status) {
- if (receivedStatus) {
- return;
- }
- receivedStatus = true;
- if (status.code === constants_1.Status.OK) {
- if (responseMessage === null) {
- const callerStack = getErrorStackString(callerStackError);
- callProperties.callback((0, call_1.callErrorFromStatus)({
- code: constants_1.Status.UNIMPLEMENTED,
- details: 'No message received',
- metadata: status.metadata,
- }, callerStack));
- }
- else {
- callProperties.callback(null, responseMessage);
- }
- }
- else {
- const callerStack = getErrorStackString(callerStackError);
- callProperties.callback((0, call_1.callErrorFromStatus)(status, callerStack));
- }
- /* Avoid retaining the callerStackError object in the call context of
- * the status event handler. */
- callerStackError = null;
- emitter.emit('status', status);
- },
- });
- call.sendMessage(argument);
- call.halfClose();
- return emitter;
- }
- makeClientStreamRequest(method, serialize, deserialize, metadata, options, callback) {
- var _a, _b;
- const checkedArguments = this.checkOptionalUnaryResponseArguments(metadata, options, callback);
- const methodDefinition = {
- path: method,
- requestStream: true,
- responseStream: false,
- requestSerialize: serialize,
- responseDeserialize: deserialize,
- };
- let callProperties = {
- metadata: checkedArguments.metadata,
- call: new call_1.ClientWritableStreamImpl(serialize),
- channel: this[CHANNEL_SYMBOL],
- methodDefinition: methodDefinition,
- callOptions: checkedArguments.options,
- callback: checkedArguments.callback,
- };
- if (this[CALL_INVOCATION_TRANSFORMER_SYMBOL]) {
- callProperties = this[CALL_INVOCATION_TRANSFORMER_SYMBOL](callProperties);
- }
- const emitter = callProperties.call;
- const interceptorArgs = {
- clientInterceptors: this[INTERCEPTOR_SYMBOL],
- clientInterceptorProviders: this[INTERCEPTOR_PROVIDER_SYMBOL],
- callInterceptors: (_a = callProperties.callOptions.interceptors) !== null && _a !== void 0 ? _a : [],
- callInterceptorProviders: (_b = callProperties.callOptions.interceptor_providers) !== null && _b !== void 0 ? _b : [],
- };
- const call = (0, client_interceptors_1.getInterceptingCall)(interceptorArgs, callProperties.methodDefinition, callProperties.callOptions, callProperties.channel);
- /* This needs to happen before the emitter is used. Unfortunately we can't
- * enforce this with the type system. We need to construct this emitter
- * before calling the CallInvocationTransformer, and we need to create the
- * call after that. */
- emitter.call = call;
- let responseMessage = null;
- let receivedStatus = false;
- let callerStackError = new Error();
- call.start(callProperties.metadata, {
- onReceiveMetadata: metadata => {
- emitter.emit('metadata', metadata);
- },
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- onReceiveMessage(message) {
- if (responseMessage !== null) {
- call.cancelWithStatus(constants_1.Status.UNIMPLEMENTED, 'Too many responses received');
- }
- responseMessage = message;
- call.startRead();
- },
- onReceiveStatus(status) {
- if (receivedStatus) {
- return;
- }
- receivedStatus = true;
- if (status.code === constants_1.Status.OK) {
- if (responseMessage === null) {
- const callerStack = getErrorStackString(callerStackError);
- callProperties.callback((0, call_1.callErrorFromStatus)({
- code: constants_1.Status.UNIMPLEMENTED,
- details: 'No message received',
- metadata: status.metadata,
- }, callerStack));
- }
- else {
- callProperties.callback(null, responseMessage);
- }
- }
- else {
- const callerStack = getErrorStackString(callerStackError);
- callProperties.callback((0, call_1.callErrorFromStatus)(status, callerStack));
- }
- /* Avoid retaining the callerStackError object in the call context of
- * the status event handler. */
- callerStackError = null;
- emitter.emit('status', status);
- },
- });
- return emitter;
- }
- checkMetadataAndOptions(arg1, arg2) {
- let metadata;
- let options;
- if (arg1 instanceof metadata_1.Metadata) {
- metadata = arg1;
- if (arg2) {
- options = arg2;
- }
- else {
- options = {};
- }
- }
- else {
- if (arg1) {
- options = arg1;
- }
- else {
- options = {};
- }
- metadata = new metadata_1.Metadata();
- }
- return { metadata, options };
- }
- makeServerStreamRequest(method, serialize, deserialize, argument, metadata, options) {
- var _a, _b;
- const checkedArguments = this.checkMetadataAndOptions(metadata, options);
- const methodDefinition = {
- path: method,
- requestStream: false,
- responseStream: true,
- requestSerialize: serialize,
- responseDeserialize: deserialize,
- };
- let callProperties = {
- argument: argument,
- metadata: checkedArguments.metadata,
- call: new call_1.ClientReadableStreamImpl(deserialize),
- channel: this[CHANNEL_SYMBOL],
- methodDefinition: methodDefinition,
- callOptions: checkedArguments.options,
- };
- if (this[CALL_INVOCATION_TRANSFORMER_SYMBOL]) {
- callProperties = this[CALL_INVOCATION_TRANSFORMER_SYMBOL](callProperties);
- }
- const stream = callProperties.call;
- const interceptorArgs = {
- clientInterceptors: this[INTERCEPTOR_SYMBOL],
- clientInterceptorProviders: this[INTERCEPTOR_PROVIDER_SYMBOL],
- callInterceptors: (_a = callProperties.callOptions.interceptors) !== null && _a !== void 0 ? _a : [],
- callInterceptorProviders: (_b = callProperties.callOptions.interceptor_providers) !== null && _b !== void 0 ? _b : [],
- };
- const call = (0, client_interceptors_1.getInterceptingCall)(interceptorArgs, callProperties.methodDefinition, callProperties.callOptions, callProperties.channel);
- /* This needs to happen before the emitter is used. Unfortunately we can't
- * enforce this with the type system. We need to construct this emitter
- * before calling the CallInvocationTransformer, and we need to create the
- * call after that. */
- stream.call = call;
- let receivedStatus = false;
- let callerStackError = new Error();
- call.start(callProperties.metadata, {
- onReceiveMetadata(metadata) {
- stream.emit('metadata', metadata);
- },
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- onReceiveMessage(message) {
- stream.push(message);
- },
- onReceiveStatus(status) {
- if (receivedStatus) {
- return;
- }
- receivedStatus = true;
- stream.push(null);
- if (status.code !== constants_1.Status.OK) {
- const callerStack = getErrorStackString(callerStackError);
- stream.emit('error', (0, call_1.callErrorFromStatus)(status, callerStack));
- }
- /* Avoid retaining the callerStackError object in the call context of
- * the status event handler. */
- callerStackError = null;
- stream.emit('status', status);
- },
- });
- call.sendMessage(argument);
- call.halfClose();
- return stream;
- }
- makeBidiStreamRequest(method, serialize, deserialize, metadata, options) {
- var _a, _b;
- const checkedArguments = this.checkMetadataAndOptions(metadata, options);
- const methodDefinition = {
- path: method,
- requestStream: true,
- responseStream: true,
- requestSerialize: serialize,
- responseDeserialize: deserialize,
- };
- let callProperties = {
- metadata: checkedArguments.metadata,
- call: new call_1.ClientDuplexStreamImpl(serialize, deserialize),
- channel: this[CHANNEL_SYMBOL],
- methodDefinition: methodDefinition,
- callOptions: checkedArguments.options,
- };
- if (this[CALL_INVOCATION_TRANSFORMER_SYMBOL]) {
- callProperties = this[CALL_INVOCATION_TRANSFORMER_SYMBOL](callProperties);
- }
- const stream = callProperties.call;
- const interceptorArgs = {
- clientInterceptors: this[INTERCEPTOR_SYMBOL],
- clientInterceptorProviders: this[INTERCEPTOR_PROVIDER_SYMBOL],
- callInterceptors: (_a = callProperties.callOptions.interceptors) !== null && _a !== void 0 ? _a : [],
- callInterceptorProviders: (_b = callProperties.callOptions.interceptor_providers) !== null && _b !== void 0 ? _b : [],
- };
- const call = (0, client_interceptors_1.getInterceptingCall)(interceptorArgs, callProperties.methodDefinition, callProperties.callOptions, callProperties.channel);
- /* This needs to happen before the emitter is used. Unfortunately we can't
- * enforce this with the type system. We need to construct this emitter
- * before calling the CallInvocationTransformer, and we need to create the
- * call after that. */
- stream.call = call;
- let receivedStatus = false;
- let callerStackError = new Error();
- call.start(callProperties.metadata, {
- onReceiveMetadata(metadata) {
- stream.emit('metadata', metadata);
- },
- onReceiveMessage(message) {
- stream.push(message);
- },
- onReceiveStatus(status) {
- if (receivedStatus) {
- return;
- }
- receivedStatus = true;
- stream.push(null);
- if (status.code !== constants_1.Status.OK) {
- const callerStack = getErrorStackString(callerStackError);
- stream.emit('error', (0, call_1.callErrorFromStatus)(status, callerStack));
- }
- /* Avoid retaining the callerStackError object in the call context of
- * the status event handler. */
- callerStackError = null;
- stream.emit('status', status);
- },
- });
- return stream;
- }
-}
-exports.Client = Client;
-//# sourceMappingURL=client.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/client.js.map b/node_modules/@grpc/grpc-js/build/src/client.js.map
deleted file mode 100644
index 8b62cc5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/client.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"client.js","sourceRoot":"","sources":["../../src/client.ts"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AAC,cAAc,CAAC,QAAQ,EAAE;YAClC,iBAAiB,CAAC,QAAkB;gBAClC,MAAM,CAAC,IAAI,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;YACpC,CAAC;YACD,gBAAgB,CAAC,OAAe;gBAC9B,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;YACD,eAAe,CAAC,MAAoB;gBAClC,IAAI,cAAc,EAAE,CAAC;oBACnB,OAAO;gBACT,CAAC;gBACD,cAAc,GAAG,IAAI,CAAC;gBACtB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;gBAClB,IAAI,MAAM,CAAC,IAAI,KAAK,kBAAM,CAAC,EAAE,EAAE,CAAC;oBAC9B,MAAM,WAAW,GAAG,mBAAmB,CAAC,gBAAiB,CAAC,CAAC;oBAC3D,MAAM,CAAC,IAAI,CAAC,OAAO,EAAE,IAAA,0BAAmB,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC;gBACjE,CAAC;gBACD;+CAC+B;gBAC/B,gBAAgB,GAAG,IAAI,CAAC;gBACxB,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;YAChC,CAAC;SACF,CAAC,CAAC;QACH,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAplBD,wBAolBC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/compression-algorithms.d.ts b/node_modules/@grpc/grpc-js/build/src/compression-algorithms.d.ts
deleted file mode 100644
index 555b222..0000000
--- a/node_modules/@grpc/grpc-js/build/src/compression-algorithms.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export declare enum CompressionAlgorithms {
- identity = 0,
- deflate = 1,
- gzip = 2
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js b/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js
deleted file mode 100644
index 15a4f00..0000000
--- a/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js
+++ /dev/null
@@ -1,26 +0,0 @@
-"use strict";
-/*
- * Copyright 2021 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CompressionAlgorithms = void 0;
-var CompressionAlgorithms;
-(function (CompressionAlgorithms) {
- CompressionAlgorithms[CompressionAlgorithms["identity"] = 0] = "identity";
- CompressionAlgorithms[CompressionAlgorithms["deflate"] = 1] = "deflate";
- CompressionAlgorithms[CompressionAlgorithms["gzip"] = 2] = "gzip";
-})(CompressionAlgorithms || (exports.CompressionAlgorithms = CompressionAlgorithms = {}));
-//# sourceMappingURL=compression-algorithms.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js.map b/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js.map
deleted file mode 100644
index 760772f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/compression-algorithms.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"compression-algorithms.js","sourceRoot":"","sources":["../../src/compression-algorithms.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,iEAAQ,CAAA;AACV,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/compression-filter.d.ts b/node_modules/@grpc/grpc-js/build/src/compression-filter.d.ts
deleted file mode 100644
index d1667c3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/compression-filter.d.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { WriteObject } from './call-interface';
-import { Channel } from './channel';
-import { ChannelOptions } from './channel-options';
-import { BaseFilter, Filter, FilterFactory } from './filter';
-import { Metadata } from './metadata';
-type SharedCompressionFilterConfig = {
- serverSupportedEncodingHeader?: string;
-};
-export declare class CompressionFilter extends BaseFilter implements Filter {
- private sharedFilterConfig;
- private sendCompression;
- private receiveCompression;
- private currentCompressionAlgorithm;
- private maxReceiveMessageLength;
- private maxSendMessageLength;
- constructor(channelOptions: ChannelOptions, sharedFilterConfig: SharedCompressionFilterConfig);
- sendMetadata(metadata: Promise): Promise;
- receiveMetadata(metadata: Metadata): Metadata;
- sendMessage(message: Promise): Promise;
- receiveMessage(message: Promise): Promise>;
-}
-export declare class CompressionFilterFactory implements FilterFactory {
- private readonly options;
- private sharedFilterConfig;
- constructor(channel: Channel, options: ChannelOptions);
- createFilter(): CompressionFilter;
-}
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/compression-filter.js b/node_modules/@grpc/grpc-js/build/src/compression-filter.js
deleted file mode 100644
index a3d422a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/compression-filter.js
+++ /dev/null
@@ -1,307 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CompressionFilterFactory = exports.CompressionFilter = void 0;
-const zlib = require("zlib");
-const compression_algorithms_1 = require("./compression-algorithms");
-const constants_1 = require("./constants");
-const filter_1 = require("./filter");
-const logging = require("./logging");
-const isCompressionAlgorithmKey = (key) => {
- return (typeof key === 'number' && typeof compression_algorithms_1.CompressionAlgorithms[key] === 'string');
-};
-class CompressionHandler {
- /**
- * @param message Raw uncompressed message bytes
- * @param compress Indicates whether the message should be compressed
- * @return Framed message, compressed if applicable
- */
- async writeMessage(message, compress) {
- let messageBuffer = message;
- if (compress) {
- messageBuffer = await this.compressMessage(messageBuffer);
- }
- const output = Buffer.allocUnsafe(messageBuffer.length + 5);
- output.writeUInt8(compress ? 1 : 0, 0);
- output.writeUInt32BE(messageBuffer.length, 1);
- messageBuffer.copy(output, 5);
- return output;
- }
- /**
- * @param data Framed message, possibly compressed
- * @return Uncompressed message
- */
- async readMessage(data) {
- const compressed = data.readUInt8(0) === 1;
- let messageBuffer = data.slice(5);
- if (compressed) {
- messageBuffer = await this.decompressMessage(messageBuffer);
- }
- return messageBuffer;
- }
-}
-class IdentityHandler extends CompressionHandler {
- async compressMessage(message) {
- return message;
- }
- async writeMessage(message, compress) {
- const output = Buffer.allocUnsafe(message.length + 5);
- /* With "identity" compression, messages should always be marked as
- * uncompressed */
- output.writeUInt8(0, 0);
- output.writeUInt32BE(message.length, 1);
- message.copy(output, 5);
- return output;
- }
- decompressMessage(message) {
- return Promise.reject(new Error('Received compressed message but "grpc-encoding" header was identity'));
- }
-}
-class DeflateHandler extends CompressionHandler {
- constructor(maxRecvMessageLength) {
- super();
- this.maxRecvMessageLength = maxRecvMessageLength;
- }
- compressMessage(message) {
- return new Promise((resolve, reject) => {
- zlib.deflate(message, (err, output) => {
- if (err) {
- reject(err);
- }
- else {
- resolve(output);
- }
- });
- });
- }
- decompressMessage(message) {
- return new Promise((resolve, reject) => {
- let totalLength = 0;
- const messageParts = [];
- const decompresser = zlib.createInflate();
- decompresser.on('error', (error) => {
- reject({
- code: constants_1.Status.INTERNAL,
- details: 'Failed to decompress deflate-encoded message'
- });
- });
- decompresser.on('data', (chunk) => {
- messageParts.push(chunk);
- totalLength += chunk.byteLength;
- if (this.maxRecvMessageLength !== -1 && totalLength > this.maxRecvMessageLength) {
- decompresser.destroy();
- reject({
- code: constants_1.Status.RESOURCE_EXHAUSTED,
- details: `Received message that decompresses to a size larger than ${this.maxRecvMessageLength}`
- });
- }
- });
- decompresser.on('end', () => {
- resolve(Buffer.concat(messageParts));
- });
- decompresser.write(message);
- decompresser.end();
- });
- }
-}
-class GzipHandler extends CompressionHandler {
- constructor(maxRecvMessageLength) {
- super();
- this.maxRecvMessageLength = maxRecvMessageLength;
- }
- compressMessage(message) {
- return new Promise((resolve, reject) => {
- zlib.gzip(message, (err, output) => {
- if (err) {
- reject(err);
- }
- else {
- resolve(output);
- }
- });
- });
- }
- decompressMessage(message) {
- return new Promise((resolve, reject) => {
- let totalLength = 0;
- const messageParts = [];
- const decompresser = zlib.createGunzip();
- decompresser.on('error', (error) => {
- reject({
- code: constants_1.Status.INTERNAL,
- details: 'Failed to decompress gzip-encoded message'
- });
- });
- decompresser.on('data', (chunk) => {
- messageParts.push(chunk);
- totalLength += chunk.byteLength;
- if (this.maxRecvMessageLength !== -1 && totalLength > this.maxRecvMessageLength) {
- decompresser.destroy();
- reject({
- code: constants_1.Status.RESOURCE_EXHAUSTED,
- details: `Received message that decompresses to a size larger than ${this.maxRecvMessageLength}`
- });
- }
- });
- decompresser.on('end', () => {
- resolve(Buffer.concat(messageParts));
- });
- decompresser.write(message);
- decompresser.end();
- });
- }
-}
-class UnknownHandler extends CompressionHandler {
- constructor(compressionName) {
- super();
- this.compressionName = compressionName;
- }
- compressMessage(message) {
- return Promise.reject(new Error(`Received message compressed with unsupported compression method ${this.compressionName}`));
- }
- decompressMessage(message) {
- // This should be unreachable
- return Promise.reject(new Error(`Compression method not supported: ${this.compressionName}`));
- }
-}
-function getCompressionHandler(compressionName, maxReceiveMessageSize) {
- switch (compressionName) {
- case 'identity':
- return new IdentityHandler();
- case 'deflate':
- return new DeflateHandler(maxReceiveMessageSize);
- case 'gzip':
- return new GzipHandler(maxReceiveMessageSize);
- default:
- return new UnknownHandler(compressionName);
- }
-}
-class CompressionFilter extends filter_1.BaseFilter {
- constructor(channelOptions, sharedFilterConfig) {
- var _a, _b, _c;
- super();
- this.sharedFilterConfig = sharedFilterConfig;
- this.sendCompression = new IdentityHandler();
- this.receiveCompression = new IdentityHandler();
- this.currentCompressionAlgorithm = 'identity';
- const compressionAlgorithmKey = channelOptions['grpc.default_compression_algorithm'];
- this.maxReceiveMessageLength = (_a = channelOptions['grpc.max_receive_message_length']) !== null && _a !== void 0 ? _a : constants_1.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH;
- this.maxSendMessageLength = (_b = channelOptions['grpc.max_send_message_length']) !== null && _b !== void 0 ? _b : constants_1.DEFAULT_MAX_SEND_MESSAGE_LENGTH;
- if (compressionAlgorithmKey !== undefined) {
- if (isCompressionAlgorithmKey(compressionAlgorithmKey)) {
- const clientSelectedEncoding = compression_algorithms_1.CompressionAlgorithms[compressionAlgorithmKey];
- const serverSupportedEncodings = (_c = sharedFilterConfig.serverSupportedEncodingHeader) === null || _c === void 0 ? void 0 : _c.split(',');
- /**
- * There are two possible situations here:
- * 1) We don't have any info yet from the server about what compression it supports
- * In that case we should just use what the client tells us to use
- * 2) We've previously received a response from the server including a grpc-accept-encoding header
- * In that case we only want to use the encoding chosen by the client if the server supports it
- */
- if (!serverSupportedEncodings ||
- serverSupportedEncodings.includes(clientSelectedEncoding)) {
- this.currentCompressionAlgorithm = clientSelectedEncoding;
- this.sendCompression = getCompressionHandler(this.currentCompressionAlgorithm, -1);
- }
- }
- else {
- logging.log(constants_1.LogVerbosity.ERROR, `Invalid value provided for grpc.default_compression_algorithm option: ${compressionAlgorithmKey}`);
- }
- }
- }
- async sendMetadata(metadata) {
- const headers = await metadata;
- headers.set('grpc-accept-encoding', 'identity,deflate,gzip');
- headers.set('accept-encoding', 'identity');
- // No need to send the header if it's "identity" - behavior is identical; save the bandwidth
- if (this.currentCompressionAlgorithm === 'identity') {
- headers.remove('grpc-encoding');
- }
- else {
- headers.set('grpc-encoding', this.currentCompressionAlgorithm);
- }
- return headers;
- }
- receiveMetadata(metadata) {
- const receiveEncoding = metadata.get('grpc-encoding');
- if (receiveEncoding.length > 0) {
- const encoding = receiveEncoding[0];
- if (typeof encoding === 'string') {
- this.receiveCompression = getCompressionHandler(encoding, this.maxReceiveMessageLength);
- }
- }
- metadata.remove('grpc-encoding');
- /* Check to see if the compression we're using to send messages is supported by the server
- * If not, reset the sendCompression filter and have it use the default IdentityHandler */
- const serverSupportedEncodingsHeader = metadata.get('grpc-accept-encoding')[0];
- if (serverSupportedEncodingsHeader) {
- this.sharedFilterConfig.serverSupportedEncodingHeader =
- serverSupportedEncodingsHeader;
- const serverSupportedEncodings = serverSupportedEncodingsHeader.split(',');
- if (!serverSupportedEncodings.includes(this.currentCompressionAlgorithm)) {
- this.sendCompression = new IdentityHandler();
- this.currentCompressionAlgorithm = 'identity';
- }
- }
- metadata.remove('grpc-accept-encoding');
- return metadata;
- }
- async sendMessage(message) {
- var _a;
- /* This filter is special. The input message is the bare message bytes,
- * and the output is a framed and possibly compressed message. For this
- * reason, this filter should be at the bottom of the filter stack */
- const resolvedMessage = await message;
- if (this.maxSendMessageLength !== -1 && resolvedMessage.message.length > this.maxSendMessageLength) {
- throw {
- code: constants_1.Status.RESOURCE_EXHAUSTED,
- details: `Attempted to send message with a size larger than ${this.maxSendMessageLength}`
- };
- }
- let compress;
- if (this.sendCompression instanceof IdentityHandler) {
- compress = false;
- }
- else {
- compress = (((_a = resolvedMessage.flags) !== null && _a !== void 0 ? _a : 0) & 2 /* WriteFlags.NoCompress */) === 0;
- }
- return {
- message: await this.sendCompression.writeMessage(resolvedMessage.message, compress),
- flags: resolvedMessage.flags,
- };
- }
- async receiveMessage(message) {
- /* This filter is also special. The input message is framed and possibly
- * compressed, and the output message is deframed and uncompressed. So
- * this is another reason that this filter should be at the bottom of the
- * filter stack. */
- return this.receiveCompression.readMessage(await message);
- }
-}
-exports.CompressionFilter = CompressionFilter;
-class CompressionFilterFactory {
- constructor(channel, options) {
- this.options = options;
- this.sharedFilterConfig = {};
- }
- createFilter() {
- return new CompressionFilter(this.options, this.sharedFilterConfig);
- }
-}
-exports.CompressionFilterFactory = CompressionFilterFactory;
-//# sourceMappingURL=compression-filter.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/compression-filter.js.map b/node_modules/@grpc/grpc-js/build/src/compression-filter.js.map
deleted file mode 100644
index a4bce93..0000000
--- a/node_modules/@grpc/grpc-js/build/src/compression-filter.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"compression-filter.js","sourceRoot":"","sources":["../../src/compression-filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,6BAA6B;AAK7B,qEAAiE;AACjE,2CAAwH;AACxH,qCAA6D;AAC7D,qCAAqC;AAGrC,MAAM,yBAAyB,GAAG,CAChC,GAAW,EACmB,EAAE;IAChC,OAAO,CACL,OAAO,GAAG,KAAK,QAAQ,IAAI,OAAO,8CAAqB,CAAC,GAAG,CAAC,KAAK,QAAQ,CAC1E,CAAC;AACJ,CAAC,CAAC;AAQF,MAAe,kBAAkB;IAG/B;;;;OAIG;IACH,KAAK,CAAC,YAAY,CAAC,OAAe,EAAE,QAAiB;QACnD,IAAI,aAAa,GAAG,OAAO,CAAC;QAC5B,IAAI,QAAQ,EAAE,CAAC;YACb,aAAa,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,aAAa,CAAC,CAAC;QAC5D,CAAC;QACD,MAAM,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC5D,MAAM,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACvC,MAAM,CAAC,aAAa,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;QAC9C,aAAa,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;Q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C;AAED,MAAa,wBAAwB;IAInC,YAAY,OAAgB,EAAmB,OAAuB;QAAvB,YAAO,GAAP,OAAO,CAAgB;QAD9D,uBAAkB,GAAkC,EAAE,CAAC;IACU,CAAC;IAC1E,YAAY;QACV,OAAO,IAAI,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,kBAAkB,CAAC,CAAC;IACtE,CAAC;CACF;AARD,4DAQC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/connectivity-state.d.ts b/node_modules/@grpc/grpc-js/build/src/connectivity-state.d.ts
deleted file mode 100644
index 048ea39..0000000
--- a/node_modules/@grpc/grpc-js/build/src/connectivity-state.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export declare enum ConnectivityState {
- IDLE = 0,
- CONNECTING = 1,
- READY = 2,
- TRANSIENT_FAILURE = 3,
- SHUTDOWN = 4
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/connectivity-state.js b/node_modules/@grpc/grpc-js/build/src/connectivity-state.js
deleted file mode 100644
index c8540b0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/connectivity-state.js
+++ /dev/null
@@ -1,28 +0,0 @@
-"use strict";
-/*
- * Copyright 2021 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ConnectivityState = void 0;
-var ConnectivityState;
-(function (ConnectivityState) {
- ConnectivityState[ConnectivityState["IDLE"] = 0] = "IDLE";
- ConnectivityState[ConnectivityState["CONNECTING"] = 1] = "CONNECTING";
- ConnectivityState[ConnectivityState["READY"] = 2] = "READY";
- ConnectivityState[ConnectivityState["TRANSIENT_FAILURE"] = 3] = "TRANSIENT_FAILURE";
- ConnectivityState[ConnectivityState["SHUTDOWN"] = 4] = "SHUTDOWN";
-})(ConnectivityState || (exports.ConnectivityState = ConnectivityState = {}));
-//# sourceMappingURL=connectivity-state.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/connectivity-state.js.map b/node_modules/@grpc/grpc-js/build/src/connectivity-state.js.map
deleted file mode 100644
index 1afc24d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/connectivity-state.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"connectivity-state.js","sourceRoot":"","sources":["../../src/connectivity-state.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,yDAAI,CAAA;IACJ,qEAAU,CAAA;IACV,2DAAK,CAAA;IACL,mFAAiB,CAAA;IACjB,iEAAQ,CAAA;AACV,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/constants.d.ts b/node_modules/@grpc/grpc-js/build/src/constants.d.ts
deleted file mode 100644
index 43ec358..0000000
--- a/node_modules/@grpc/grpc-js/build/src/constants.d.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-export declare enum Status {
- OK = 0,
- CANCELLED = 1,
- UNKNOWN = 2,
- INVALID_ARGUMENT = 3,
- DEADLINE_EXCEEDED = 4,
- NOT_FOUND = 5,
- ALREADY_EXISTS = 6,
- PERMISSION_DENIED = 7,
- RESOURCE_EXHAUSTED = 8,
- FAILED_PRECONDITION = 9,
- ABORTED = 10,
- OUT_OF_RANGE = 11,
- UNIMPLEMENTED = 12,
- INTERNAL = 13,
- UNAVAILABLE = 14,
- DATA_LOSS = 15,
- UNAUTHENTICATED = 16
-}
-export declare enum LogVerbosity {
- DEBUG = 0,
- INFO = 1,
- ERROR = 2,
- NONE = 3
-}
-/**
- * NOTE: This enum is not currently used in any implemented API in this
- * library. It is included only for type parity with the other implementation.
- */
-export declare enum Propagate {
- DEADLINE = 1,
- CENSUS_STATS_CONTEXT = 2,
- CENSUS_TRACING_CONTEXT = 4,
- CANCELLATION = 8,
- DEFAULTS = 65535
-}
-export declare const DEFAULT_MAX_SEND_MESSAGE_LENGTH = -1;
-export declare const DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH: number;
diff --git a/node_modules/@grpc/grpc-js/build/src/constants.js b/node_modules/@grpc/grpc-js/build/src/constants.js
deleted file mode 100644
index 6e6b8ed..0000000
--- a/node_modules/@grpc/grpc-js/build/src/constants.js
+++ /dev/null
@@ -1,64 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH = exports.DEFAULT_MAX_SEND_MESSAGE_LENGTH = exports.Propagate = exports.LogVerbosity = exports.Status = void 0;
-var Status;
-(function (Status) {
- Status[Status["OK"] = 0] = "OK";
- Status[Status["CANCELLED"] = 1] = "CANCELLED";
- Status[Status["UNKNOWN"] = 2] = "UNKNOWN";
- Status[Status["INVALID_ARGUMENT"] = 3] = "INVALID_ARGUMENT";
- Status[Status["DEADLINE_EXCEEDED"] = 4] = "DEADLINE_EXCEEDED";
- Status[Status["NOT_FOUND"] = 5] = "NOT_FOUND";
- Status[Status["ALREADY_EXISTS"] = 6] = "ALREADY_EXISTS";
- Status[Status["PERMISSION_DENIED"] = 7] = "PERMISSION_DENIED";
- Status[Status["RESOURCE_EXHAUSTED"] = 8] = "RESOURCE_EXHAUSTED";
- Status[Status["FAILED_PRECONDITION"] = 9] = "FAILED_PRECONDITION";
- Status[Status["ABORTED"] = 10] = "ABORTED";
- Status[Status["OUT_OF_RANGE"] = 11] = "OUT_OF_RANGE";
- Status[Status["UNIMPLEMENTED"] = 12] = "UNIMPLEMENTED";
- Status[Status["INTERNAL"] = 13] = "INTERNAL";
- Status[Status["UNAVAILABLE"] = 14] = "UNAVAILABLE";
- Status[Status["DATA_LOSS"] = 15] = "DATA_LOSS";
- Status[Status["UNAUTHENTICATED"] = 16] = "UNAUTHENTICATED";
-})(Status || (exports.Status = Status = {}));
-var LogVerbosity;
-(function (LogVerbosity) {
- LogVerbosity[LogVerbosity["DEBUG"] = 0] = "DEBUG";
- LogVerbosity[LogVerbosity["INFO"] = 1] = "INFO";
- LogVerbosity[LogVerbosity["ERROR"] = 2] = "ERROR";
- LogVerbosity[LogVerbosity["NONE"] = 3] = "NONE";
-})(LogVerbosity || (exports.LogVerbosity = LogVerbosity = {}));
-/**
- * NOTE: This enum is not currently used in any implemented API in this
- * library. It is included only for type parity with the other implementation.
- */
-var Propagate;
-(function (Propagate) {
- Propagate[Propagate["DEADLINE"] = 1] = "DEADLINE";
- Propagate[Propagate["CENSUS_STATS_CONTEXT"] = 2] = "CENSUS_STATS_CONTEXT";
- Propagate[Propagate["CENSUS_TRACING_CONTEXT"] = 4] = "CENSUS_TRACING_CONTEXT";
- Propagate[Propagate["CANCELLATION"] = 8] = "CANCELLATION";
- // https://github.com/grpc/grpc/blob/master/include/grpc/impl/codegen/propagation_bits.h#L43
- Propagate[Propagate["DEFAULTS"] = 65535] = "DEFAULTS";
-})(Propagate || (exports.Propagate = Propagate = {}));
-// -1 means unlimited
-exports.DEFAULT_MAX_SEND_MESSAGE_LENGTH = -1;
-// 4 MB default
-exports.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH = 4 * 1024 * 1024;
-//# sourceMappingURL=constants.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/constants.js.map b/node_modules/@grpc/grpc-js/build/src/constants.js.map
deleted file mode 100644
index a3c5c87..0000000
--- a/node_modules/@grpc/grpc-js/build/src/constants.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,IAAY,MAkBX;AAlBD,WAAY,MAAM;IAChB,+BAAM,CAAA;IACN,6CAAS,CAAA;IACT,yCAAO,CAAA;IACP,2DAAgB,CAAA;IAChB,6DAAiB,CAAA;IACjB,6CAAS,CAAA;IACT,uDAAc,CAAA;IACd,6DAAiB,CAAA;IACjB,+DAAkB,CAAA;IAClB,iEAAmB,CAAA;IACnB,0CAAO,CAAA;IACP,oDAAY,CAAA;IACZ,sDAAa,CAAA;IACb,4CAAQ,CAAA;IACR,kDAAW,CAAA;IACX,8CAAS,CAAA;IACT,0DAAe,CAAA;AACjB,CAAC,EAlBW,MAAM,sBAAN,MAAM,QAkBjB;AAED,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,iDAAS,CAAA;IACT,+CAAI,CAAA;IACJ,iDAAK,CAAA;IACL,+CAAI,CAAA;AACN,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB;AAED;;;GAGG;AACH,IAAY,SAWX;AAXD,WAAY,SAAS;IACnB,iDAAY,CAAA;IACZ,yEAAwB,CAAA;IACxB,6EAA0B,CAAA;IAC1B,yDAAgB,CAAA;IAChB,4FAA4F;IAC5F,qDAIwB,CAAA;AAC1B,CAAC,EAXW,SAAS,yBAAT,SAAS,QAWpB;AAED,qBAAqB;AACR,QAAA,+BAA+B,GAAG,CAAC,CAAC,CAAC;AAElD,eAAe;AACF,QAAA,kCAAkC,GAAG,CAAC,GAAG,IAAI,GAAG,IAAI,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/control-plane-status.d.ts b/node_modules/@grpc/grpc-js/build/src/control-plane-status.d.ts
deleted file mode 100644
index a137cab..0000000
--- a/node_modules/@grpc/grpc-js/build/src/control-plane-status.d.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import { Status } from './constants';
-export declare function restrictControlPlaneStatusCode(code: Status, details: string): {
- code: Status;
- details: string;
-};
diff --git a/node_modules/@grpc/grpc-js/build/src/control-plane-status.js b/node_modules/@grpc/grpc-js/build/src/control-plane-status.js
deleted file mode 100644
index 5d55796..0000000
--- a/node_modules/@grpc/grpc-js/build/src/control-plane-status.js
+++ /dev/null
@@ -1,42 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.restrictControlPlaneStatusCode = restrictControlPlaneStatusCode;
-const constants_1 = require("./constants");
-const INAPPROPRIATE_CONTROL_PLANE_CODES = [
- constants_1.Status.OK,
- constants_1.Status.INVALID_ARGUMENT,
- constants_1.Status.NOT_FOUND,
- constants_1.Status.ALREADY_EXISTS,
- constants_1.Status.FAILED_PRECONDITION,
- constants_1.Status.ABORTED,
- constants_1.Status.OUT_OF_RANGE,
- constants_1.Status.DATA_LOSS,
-];
-function restrictControlPlaneStatusCode(code, details) {
- if (INAPPROPRIATE_CONTROL_PLANE_CODES.includes(code)) {
- return {
- code: constants_1.Status.INTERNAL,
- details: `Invalid status from control plane: ${code} ${constants_1.Status[code]} ${details}`,
- };
- }
- else {
- return { code, details };
- }
-}
-//# sourceMappingURL=control-plane-status.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/control-plane-status.js.map b/node_modules/@grpc/grpc-js/build/src/control-plane-status.js.map
deleted file mode 100644
index b5c0b71..0000000
--- a/node_modules/@grpc/grpc-js/build/src/control-plane-status.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"control-plane-status.js","sourceRoot":"","sources":["../../src/control-plane-status.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AAeH,wEAYC;AAzBD,2CAAqC;AAErC,MAAM,iCAAiC,GAAa;IAClD,kBAAM,CAAC,EAAE;IACT,kBAAM,CAAC,gBAAgB;IACvB,kBAAM,CAAC,SAAS;IAChB,kBAAM,CAAC,cAAc;IACrB,kBAAM,CAAC,mBAAmB;IAC1B,kBAAM,CAAC,OAAO;IACd,kBAAM,CAAC,YAAY;IACnB,kBAAM,CAAC,SAAS;CACjB,CAAC;AAEF,SAAgB,8BAA8B,CAC5C,IAAY,EACZ,OAAe;IAEf,IAAI,iCAAiC,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACrD,OAAO;YACL,IAAI,EAAE,kBAAM,CAAC,QAAQ;YACrB,OAAO,EAAE,sCAAsC,IAAI,IAAI,kBAAM,CAAC,IAAI,CAAC,IAAI,OAAO,EAAE;SACjF,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;IAC3B,CAAC;AACH,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/deadline.d.ts b/node_modules/@grpc/grpc-js/build/src/deadline.d.ts
deleted file mode 100644
index 63db6af..0000000
--- a/node_modules/@grpc/grpc-js/build/src/deadline.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-export type Deadline = Date | number;
-export declare function minDeadline(...deadlineList: Deadline[]): Deadline;
-export declare function getDeadlineTimeoutString(deadline: Deadline): string;
-/**
- * Get the timeout value that should be passed to setTimeout now for the timer
- * to end at the deadline. For any deadline before now, the timer should end
- * immediately, represented by a value of 0. For any deadline more than
- * MAX_TIMEOUT_TIME milliseconds in the future, a timer cannot be set that will
- * end at that time, so it is treated as infinitely far in the future.
- * @param deadline
- * @returns
- */
-export declare function getRelativeTimeout(deadline: Deadline): number;
-export declare function deadlineToString(deadline: Deadline): string;
-/**
- * Calculate the difference between two dates as a number of seconds and format
- * it as a string.
- * @param startDate
- * @param endDate
- * @returns
- */
-export declare function formatDateDifference(startDate: Date, endDate: Date): string;
diff --git a/node_modules/@grpc/grpc-js/build/src/deadline.js b/node_modules/@grpc/grpc-js/build/src/deadline.js
deleted file mode 100644
index 8b4a39e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/deadline.js
+++ /dev/null
@@ -1,108 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.minDeadline = minDeadline;
-exports.getDeadlineTimeoutString = getDeadlineTimeoutString;
-exports.getRelativeTimeout = getRelativeTimeout;
-exports.deadlineToString = deadlineToString;
-exports.formatDateDifference = formatDateDifference;
-function minDeadline(...deadlineList) {
- let minValue = Infinity;
- for (const deadline of deadlineList) {
- const deadlineMsecs = deadline instanceof Date ? deadline.getTime() : deadline;
- if (deadlineMsecs < minValue) {
- minValue = deadlineMsecs;
- }
- }
- return minValue;
-}
-const units = [
- ['m', 1],
- ['S', 1000],
- ['M', 60 * 1000],
- ['H', 60 * 60 * 1000],
-];
-function getDeadlineTimeoutString(deadline) {
- const now = new Date().getTime();
- if (deadline instanceof Date) {
- deadline = deadline.getTime();
- }
- const timeoutMs = Math.max(deadline - now, 0);
- for (const [unit, factor] of units) {
- const amount = timeoutMs / factor;
- if (amount < 1e8) {
- return String(Math.ceil(amount)) + unit;
- }
- }
- throw new Error('Deadline is too far in the future');
-}
-/**
- * See https://nodejs.org/api/timers.html#settimeoutcallback-delay-args
- * In particular, "When delay is larger than 2147483647 or less than 1, the
- * delay will be set to 1. Non-integer delays are truncated to an integer."
- * This number of milliseconds is almost 25 days.
- */
-const MAX_TIMEOUT_TIME = 2147483647;
-/**
- * Get the timeout value that should be passed to setTimeout now for the timer
- * to end at the deadline. For any deadline before now, the timer should end
- * immediately, represented by a value of 0. For any deadline more than
- * MAX_TIMEOUT_TIME milliseconds in the future, a timer cannot be set that will
- * end at that time, so it is treated as infinitely far in the future.
- * @param deadline
- * @returns
- */
-function getRelativeTimeout(deadline) {
- const deadlineMs = deadline instanceof Date ? deadline.getTime() : deadline;
- const now = new Date().getTime();
- const timeout = deadlineMs - now;
- if (timeout < 0) {
- return 0;
- }
- else if (timeout > MAX_TIMEOUT_TIME) {
- return Infinity;
- }
- else {
- return timeout;
- }
-}
-function deadlineToString(deadline) {
- if (deadline instanceof Date) {
- return deadline.toISOString();
- }
- else {
- const dateDeadline = new Date(deadline);
- if (Number.isNaN(dateDeadline.getTime())) {
- return '' + deadline;
- }
- else {
- return dateDeadline.toISOString();
- }
- }
-}
-/**
- * Calculate the difference between two dates as a number of seconds and format
- * it as a string.
- * @param startDate
- * @param endDate
- * @returns
- */
-function formatDateDifference(startDate, endDate) {
- return ((endDate.getTime() - startDate.getTime()) / 1000).toFixed(3) + 's';
-}
-//# sourceMappingURL=deadline.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/deadline.js.map b/node_modules/@grpc/grpc-js/build/src/deadline.js.map
deleted file mode 100644
index 8176a9c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/deadline.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"deadline.js","sourceRoot":"","sources":["../../src/deadline.ts"],"names":[],"mapp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AC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;AAC7E,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/duration.d.ts b/node_modules/@grpc/grpc-js/build/src/duration.d.ts
deleted file mode 100644
index 6d306ed..0000000
--- a/node_modules/@grpc/grpc-js/build/src/duration.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-export interface Duration {
- seconds: number;
- nanos: number;
-}
-export interface DurationMessage {
- seconds: string;
- nanos: number;
-}
-export declare function durationMessageToDuration(message: DurationMessage): Duration;
-export declare function msToDuration(millis: number): Duration;
-export declare function durationToMs(duration: Duration): number;
-export declare function isDuration(value: any): value is Duration;
-export declare function isDurationMessage(value: any): value is DurationMessage;
-export declare function parseDuration(value: string): Duration | null;
-export declare function durationToString(duration: Duration): string;
diff --git a/node_modules/@grpc/grpc-js/build/src/duration.js b/node_modules/@grpc/grpc-js/build/src/duration.js
deleted file mode 100644
index f48caa5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/duration.js
+++ /dev/null
@@ -1,74 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.durationMessageToDuration = durationMessageToDuration;
-exports.msToDuration = msToDuration;
-exports.durationToMs = durationToMs;
-exports.isDuration = isDuration;
-exports.isDurationMessage = isDurationMessage;
-exports.parseDuration = parseDuration;
-exports.durationToString = durationToString;
-function durationMessageToDuration(message) {
- return {
- seconds: Number.parseInt(message.seconds),
- nanos: message.nanos
- };
-}
-function msToDuration(millis) {
- return {
- seconds: (millis / 1000) | 0,
- nanos: ((millis % 1000) * 1000000) | 0,
- };
-}
-function durationToMs(duration) {
- return (duration.seconds * 1000 + duration.nanos / 1000000) | 0;
-}
-function isDuration(value) {
- return typeof value.seconds === 'number' && typeof value.nanos === 'number';
-}
-function isDurationMessage(value) {
- return typeof value.seconds === 'string' && typeof value.nanos === 'number';
-}
-const durationRegex = /^(\d+)(?:\.(\d+))?s$/;
-function parseDuration(value) {
- const match = value.match(durationRegex);
- if (!match) {
- return null;
- }
- return {
- seconds: Number.parseInt(match[1], 10),
- nanos: match[2] ? Number.parseInt(match[2].padEnd(9, '0'), 10) : 0
- };
-}
-function durationToString(duration) {
- if (duration.nanos === 0) {
- return `${duration.seconds}s`;
- }
- let scaleFactor;
- if (duration.nanos % 1000000 === 0) {
- scaleFactor = 1000000;
- }
- else if (duration.nanos % 1000 === 0) {
- scaleFactor = 1000;
- }
- else {
- scaleFactor = 1;
- }
- return `${duration.seconds}.${duration.nanos / scaleFactor}s`;
-}
-//# sourceMappingURL=duration.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/duration.js.map b/node_modules/@grpc/grpc-js/build/src/duration.js.map
deleted file mode 100644
index 4efe75a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/duration.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"duration.js","sourceRoot":"","sources":["../../src/duration.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AAYH,8DAKC;AAED,oCAKC;AAED,oCAEC;AAED,gCAEC;AAED,8CAEC;AAGD,sCASC;AAED,4CAaC;AAnDD,SAAgB,yBAAyB,CAAC,OAAwB;IAChE,OAAO;QACL,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC;QACzC,KAAK,EAAE,OAAO,CAAC,KAAK;KACrB,CAAC;AACJ,CAAC;AAED,SAAgB,YAAY,CAAC,MAAc;IACzC,OAAO;QACL,OAAO,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,CAAC,OAAO,GAAG,CAAC;IAChC,CAAC;IACD,IAAI,WAAmB,CAAC;IACxB,IAAI,QAAQ,CAAC,KAAK,GAAG,OAAS,KAAK,CAAC,EAAE,CAAC;QACrC,WAAW,GAAG,OAAS,CAAC;IAC1B,CAAC;SAAM,IAAI,QAAQ,CAAC,KAAK,GAAG,IAAK,KAAK,CAAC,EAAE,CAAC;QACxC,WAAW,GAAG,IAAK,CAAC;IACtB,CAAC;SAAM,CAAC;QACN,WAAW,GAAG,CAAC,CAAC;IAClB,CAAC;IACD,OAAO,GAAG,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,KAAK,GAAC,WAAW,GAAG,CAAC;AAC9D,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/environment.d.ts b/node_modules/@grpc/grpc-js/build/src/environment.d.ts
deleted file mode 100644
index de68f25..0000000
--- a/node_modules/@grpc/grpc-js/build/src/environment.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare const GRPC_NODE_USE_ALTERNATIVE_RESOLVER: boolean;
diff --git a/node_modules/@grpc/grpc-js/build/src/environment.js b/node_modules/@grpc/grpc-js/build/src/environment.js
deleted file mode 100644
index e8d67c2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/environment.js
+++ /dev/null
@@ -1,22 +0,0 @@
-"use strict";
-/*
- * Copyright 2024 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-var _a;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.GRPC_NODE_USE_ALTERNATIVE_RESOLVER = void 0;
-exports.GRPC_NODE_USE_ALTERNATIVE_RESOLVER = ((_a = process.env.GRPC_NODE_USE_ALTERNATIVE_RESOLVER) !== null && _a !== void 0 ? _a : 'false') === 'true';
-//# sourceMappingURL=environment.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/environment.js.map b/node_modules/@grpc/grpc-js/build/src/environment.js.map
deleted file mode 100644
index 84205a5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/environment.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"environment.js","sourceRoot":"","sources":["../../src/environment.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;AAEU,QAAA,kCAAkC,GAC7C,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,kCAAkC,mCAAI,OAAO,CAAC,KAAK,MAAM,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/error.d.ts b/node_modules/@grpc/grpc-js/build/src/error.d.ts
deleted file mode 100644
index fd4cc77..0000000
--- a/node_modules/@grpc/grpc-js/build/src/error.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export declare function getErrorMessage(error: unknown): string;
-export declare function getErrorCode(error: unknown): number | null;
diff --git a/node_modules/@grpc/grpc-js/build/src/error.js b/node_modules/@grpc/grpc-js/build/src/error.js
deleted file mode 100644
index 5cb1539..0000000
--- a/node_modules/@grpc/grpc-js/build/src/error.js
+++ /dev/null
@@ -1,40 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.getErrorMessage = getErrorMessage;
-exports.getErrorCode = getErrorCode;
-function getErrorMessage(error) {
- if (error instanceof Error) {
- return error.message;
- }
- else {
- return String(error);
- }
-}
-function getErrorCode(error) {
- if (typeof error === 'object' &&
- error !== null &&
- 'code' in error &&
- typeof error.code === 'number') {
- return error.code;
- }
- else {
- return null;
- }
-}
-//# sourceMappingURL=error.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/error.js.map b/node_modules/@grpc/grpc-js/build/src/error.js.map
deleted file mode 100644
index ab40258..0000000
--- a/node_modules/@grpc/grpc-js/build/src/error.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"error.js","sourceRoot":"","sources":["../../src/error.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AAEH,0CAMC;AAED,oCAWC;AAnBD,SAAgB,eAAe,CAAC,KAAc;IAC5C,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,OAAO,KAAK,CAAC,OAAO,CAAC;IACvB,CAAC;SAAM,CAAC;QACN,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;AACH,CAAC;AAED,SAAgB,YAAY,CAAC,KAAc;IACzC,IACE,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,MAAM,IAAI,KAAK;QACf,OAAQ,KAAiC,CAAC,IAAI,KAAK,QAAQ,EAC3D,CAAC;QACD,OAAQ,KAAgC,CAAC,IAAI,CAAC;IAChD,CAAC;SAAM,CAAC;QACN,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/events.d.ts b/node_modules/@grpc/grpc-js/build/src/events.d.ts
deleted file mode 100644
index d1a764e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/events.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-export interface EmitterAugmentation1 {
- addListener(event: Name, listener: (arg1: Arg) => void): this;
- emit(event: Name, arg1: Arg): boolean;
- on(event: Name, listener: (arg1: Arg) => void): this;
- once(event: Name, listener: (arg1: Arg) => void): this;
- prependListener(event: Name, listener: (arg1: Arg) => void): this;
- prependOnceListener(event: Name, listener: (arg1: Arg) => void): this;
- removeListener(event: Name, listener: (arg1: Arg) => void): this;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/events.js b/node_modules/@grpc/grpc-js/build/src/events.js
deleted file mode 100644
index 082ed9b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/events.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=events.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/events.js.map b/node_modules/@grpc/grpc-js/build/src/events.js.map
deleted file mode 100644
index ba39b5d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/events.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"events.js","sourceRoot":"","sources":["../../src/events.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/experimental.d.ts b/node_modules/@grpc/grpc-js/build/src/experimental.d.ts
deleted file mode 100644
index f636190..0000000
--- a/node_modules/@grpc/grpc-js/build/src/experimental.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-export { trace, log } from './logging';
-export { Resolver, ResolverListener, registerResolver, ConfigSelector, createResolver, CHANNEL_ARGS_CONFIG_SELECTOR_KEY, } from './resolver';
-export { GrpcUri, uriToString, splitHostPort, HostPort } from './uri-parser';
-export { Duration, durationToMs, parseDuration } from './duration';
-export { BackoffTimeout } from './backoff-timeout';
-export { LoadBalancer, TypedLoadBalancingConfig, ChannelControlHelper, createChildChannelControlHelper, registerLoadBalancerType, selectLbConfigFromList, parseLoadBalancingConfig, isLoadBalancerNameRegistered, } from './load-balancer';
-export { LeafLoadBalancer } from './load-balancer-pick-first';
-export { SubchannelAddress, subchannelAddressToString, Endpoint, endpointToString, endpointHasAddress, EndpointMap, } from './subchannel-address';
-export { ChildLoadBalancerHandler } from './load-balancer-child-handler';
-export { Picker, UnavailablePicker, QueuePicker, PickResult, PickArgs, PickResultType, } from './picker';
-export { Call as CallStream, StatusOr, statusOrFromValue, statusOrFromError } from './call-interface';
-export { Filter, BaseFilter, FilterFactory } from './filter';
-export { FilterStackFactory } from './filter-stack';
-export { registerAdminService } from './admin';
-export { SubchannelInterface, BaseSubchannelWrapper, ConnectivityStateListener, HealthListener, } from './subchannel-interface';
-export { OutlierDetectionRawConfig, SuccessRateEjectionConfig, FailurePercentageEjectionConfig, } from './load-balancer-outlier-detection';
-export { createServerCredentialsWithInterceptors, createCertificateProviderServerCredentials } from './server-credentials';
-export { CaCertificateUpdate, CaCertificateUpdateListener, IdentityCertificateUpdate, IdentityCertificateUpdateListener, CertificateProvider, FileWatcherCertificateProvider, FileWatcherCertificateProviderConfig } from './certificate-provider';
-export { createCertificateProviderChannelCredentials, SecureConnector, SecureConnectResult } from './channel-credentials';
-export { SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX } from './internal-channel';
diff --git a/node_modules/@grpc/grpc-js/build/src/experimental.js b/node_modules/@grpc/grpc-js/build/src/experimental.js
deleted file mode 100644
index 3f2835c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/experimental.js
+++ /dev/null
@@ -1,58 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX = exports.createCertificateProviderChannelCredentials = exports.FileWatcherCertificateProvider = exports.createCertificateProviderServerCredentials = exports.createServerCredentialsWithInterceptors = exports.BaseSubchannelWrapper = exports.registerAdminService = exports.FilterStackFactory = exports.BaseFilter = exports.statusOrFromError = exports.statusOrFromValue = exports.PickResultType = exports.QueuePicker = exports.UnavailablePicker = exports.ChildLoadBalancerHandler = exports.EndpointMap = exports.endpointHasAddress = exports.endpointToString = exports.subchannelAddressToString = exports.LeafLoadBalancer = exports.isLoadBalancerNameRegistered = exports.parseLoadBalancingConfig = exports.selectLbConfigFromList = exports.registerLoadBalancerType = exports.createChildChannelControlHelper = exports.BackoffTimeout = exports.parseDuration = exports.durationToMs = exports.splitHostPort = exports.uriToString = exports.CHANNEL_ARGS_CONFIG_SELECTOR_KEY = exports.createResolver = exports.registerResolver = exports.log = exports.trace = void 0;
-var logging_1 = require("./logging");
-Object.defineProperty(exports, "trace", { enumerable: true, get: function () { return logging_1.trace; } });
-Object.defineProperty(exports, "log", { enumerable: true, get: function () { return logging_1.log; } });
-var resolver_1 = require("./resolver");
-Object.defineProperty(exports, "registerResolver", { enumerable: true, get: function () { return resolver_1.registerResolver; } });
-Object.defineProperty(exports, "createResolver", { enumerable: true, get: function () { return resolver_1.createResolver; } });
-Object.defineProperty(exports, "CHANNEL_ARGS_CONFIG_SELECTOR_KEY", { enumerable: true, get: function () { return resolver_1.CHANNEL_ARGS_CONFIG_SELECTOR_KEY; } });
-var uri_parser_1 = require("./uri-parser");
-Object.defineProperty(exports, "uriToString", { enumerable: true, get: function () { return uri_parser_1.uriToString; } });
-Object.defineProperty(exports, "splitHostPort", { enumerable: true, get: function () { return uri_parser_1.splitHostPort; } });
-var duration_1 = require("./duration");
-Object.defineProperty(exports, "durationToMs", { enumerable: true, get: function () { return duration_1.durationToMs; } });
-Object.defineProperty(exports, "parseDuration", { enumerable: true, get: function () { return duration_1.parseDuration; } });
-var backoff_timeout_1 = require("./backoff-timeout");
-Object.defineProperty(exports, "BackoffTimeout", { enumerable: true, get: function () { return backoff_timeout_1.BackoffTimeout; } });
-var load_balancer_1 = require("./load-balancer");
-Object.defineProperty(exports, "createChildChannelControlHelper", { enumerable: true, get: function () { return load_balancer_1.createChildChannelControlHelper; } });
-Object.defineProperty(exports, "registerLoadBalancerType", { enumerable: true, get: function () { return load_balancer_1.registerLoadBalancerType; } });
-Object.defineProperty(exports, "selectLbConfigFromList", { enumerable: true, get: function () { return load_balancer_1.selectLbConfigFromList; } });
-Object.defineProperty(exports, "parseLoadBalancingConfig", { enumerable: true, get: function () { return load_balancer_1.parseLoadBalancingConfig; } });
-Object.defineProperty(exports, "isLoadBalancerNameRegistered", { enumerable: true, get: function () { return load_balancer_1.isLoadBalancerNameRegistered; } });
-var load_balancer_pick_first_1 = require("./load-balancer-pick-first");
-Object.defineProperty(exports, "LeafLoadBalancer", { enumerable: true, get: function () { return load_balancer_pick_first_1.LeafLoadBalancer; } });
-var subchannel_address_1 = require("./subchannel-address");
-Object.defineProperty(exports, "subchannelAddressToString", { enumerable: true, get: function () { return subchannel_address_1.subchannelAddressToString; } });
-Object.defineProperty(exports, "endpointToString", { enumerable: true, get: function () { return subchannel_address_1.endpointToString; } });
-Object.defineProperty(exports, "endpointHasAddress", { enumerable: true, get: function () { return subchannel_address_1.endpointHasAddress; } });
-Object.defineProperty(exports, "EndpointMap", { enumerable: true, get: function () { return subchannel_address_1.EndpointMap; } });
-var load_balancer_child_handler_1 = require("./load-balancer-child-handler");
-Object.defineProperty(exports, "ChildLoadBalancerHandler", { enumerable: true, get: function () { return load_balancer_child_handler_1.ChildLoadBalancerHandler; } });
-var picker_1 = require("./picker");
-Object.defineProperty(exports, "UnavailablePicker", { enumerable: true, get: function () { return picker_1.UnavailablePicker; } });
-Object.defineProperty(exports, "QueuePicker", { enumerable: true, get: function () { return picker_1.QueuePicker; } });
-Object.defineProperty(exports, "PickResultType", { enumerable: true, get: function () { return picker_1.PickResultType; } });
-var call_interface_1 = require("./call-interface");
-Object.defineProperty(exports, "statusOrFromValue", { enumerable: true, get: function () { return call_interface_1.statusOrFromValue; } });
-Object.defineProperty(exports, "statusOrFromError", { enumerable: true, get: function () { return call_interface_1.statusOrFromError; } });
-var filter_1 = require("./filter");
-Object.defineProperty(exports, "BaseFilter", { enumerable: true, get: function () { return filter_1.BaseFilter; } });
-var filter_stack_1 = require("./filter-stack");
-Object.defineProperty(exports, "FilterStackFactory", { enumerable: true, get: function () { return filter_stack_1.FilterStackFactory; } });
-var admin_1 = require("./admin");
-Object.defineProperty(exports, "registerAdminService", { enumerable: true, get: function () { return admin_1.registerAdminService; } });
-var subchannel_interface_1 = require("./subchannel-interface");
-Object.defineProperty(exports, "BaseSubchannelWrapper", { enumerable: true, get: function () { return subchannel_interface_1.BaseSubchannelWrapper; } });
-var server_credentials_1 = require("./server-credentials");
-Object.defineProperty(exports, "createServerCredentialsWithInterceptors", { enumerable: true, get: function () { return server_credentials_1.createServerCredentialsWithInterceptors; } });
-Object.defineProperty(exports, "createCertificateProviderServerCredentials", { enumerable: true, get: function () { return server_credentials_1.createCertificateProviderServerCredentials; } });
-var certificate_provider_1 = require("./certificate-provider");
-Object.defineProperty(exports, "FileWatcherCertificateProvider", { enumerable: true, get: function () { return certificate_provider_1.FileWatcherCertificateProvider; } });
-var channel_credentials_1 = require("./channel-credentials");
-Object.defineProperty(exports, "createCertificateProviderChannelCredentials", { enumerable: true, get: function () { return channel_credentials_1.createCertificateProviderChannelCredentials; } });
-var internal_channel_1 = require("./internal-channel");
-Object.defineProperty(exports, "SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX", { enumerable: true, get: function () { return internal_channel_1.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX; } });
-//# sourceMappingURL=experimental.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/experimental.js.map b/node_modules/@grpc/grpc-js/build/src/experimental.js.map
deleted file mode 100644
index bbffebf..0000000
--- a/node_modules/@grpc/grpc-js/build/src/experimental.js.map
+++ /dev/null
@@ -1 +0,0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AGhC,6DAA0H;AAAjH,kJAAA,2CAA2C,OAAA;AACpD,uDAAwE;AAA/D,sIAAA,kCAAkC,OAAA"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/filter-stack.d.ts b/node_modules/@grpc/grpc-js/build/src/filter-stack.d.ts
deleted file mode 100644
index 1689c2d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/filter-stack.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import { StatusObject, WriteObject } from './call-interface';
-import { Filter, FilterFactory } from './filter';
-import { Metadata } from './metadata';
-export declare class FilterStack implements Filter {
- private readonly filters;
- constructor(filters: Filter[]);
- sendMetadata(metadata: Promise): Promise;
- receiveMetadata(metadata: Metadata): Metadata;
- sendMessage(message: Promise): Promise;
- receiveMessage(message: Promise): Promise;
- receiveTrailers(status: StatusObject): StatusObject;
- push(filters: Filter[]): void;
- getFilters(): Filter[];
-}
-export declare class FilterStackFactory implements FilterFactory {
- private readonly factories;
- constructor(factories: Array>);
- push(filterFactories: FilterFactory[]): void;
- clone(): FilterStackFactory;
- createFilter(): FilterStack;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/filter-stack.js b/node_modules/@grpc/grpc-js/build/src/filter-stack.js
deleted file mode 100644
index 6cf2e1a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/filter-stack.js
+++ /dev/null
@@ -1,82 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.FilterStackFactory = exports.FilterStack = void 0;
-class FilterStack {
- constructor(filters) {
- this.filters = filters;
- }
- sendMetadata(metadata) {
- let result = metadata;
- for (let i = 0; i < this.filters.length; i++) {
- result = this.filters[i].sendMetadata(result);
- }
- return result;
- }
- receiveMetadata(metadata) {
- let result = metadata;
- for (let i = this.filters.length - 1; i >= 0; i--) {
- result = this.filters[i].receiveMetadata(result);
- }
- return result;
- }
- sendMessage(message) {
- let result = message;
- for (let i = 0; i < this.filters.length; i++) {
- result = this.filters[i].sendMessage(result);
- }
- return result;
- }
- receiveMessage(message) {
- let result = message;
- for (let i = this.filters.length - 1; i >= 0; i--) {
- result = this.filters[i].receiveMessage(result);
- }
- return result;
- }
- receiveTrailers(status) {
- let result = status;
- for (let i = this.filters.length - 1; i >= 0; i--) {
- result = this.filters[i].receiveTrailers(result);
- }
- return result;
- }
- push(filters) {
- this.filters.unshift(...filters);
- }
- getFilters() {
- return this.filters;
- }
-}
-exports.FilterStack = FilterStack;
-class FilterStackFactory {
- constructor(factories) {
- this.factories = factories;
- }
- push(filterFactories) {
- this.factories.unshift(...filterFactories);
- }
- clone() {
- return new FilterStackFactory([...this.factories]);
- }
- createFilter() {
- return new FilterStack(this.factories.map(factory => factory.createFilter()));
- }
-}
-exports.FilterStackFactory = FilterStackFactory;
-//# sourceMappingURL=filter-stack.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/filter-stack.js.map b/node_modules/@grpc/grpc-js/build/src/filter-stack.js.map
deleted file mode 100644
index ffbeadf..0000000
--- a/node_modules/@grpc/grpc-js/build/src/filter-stack.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"filter-stack.js","sourceRoot":"","sources":["../../src/filter-stack.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAMH,MAAa,WAAW;IACtB,YAA6B,OAAiB;QAAjB,YAAO,GAAP,OAAO,CAAU;IAAG,CAAC;IAElD,YAAY,CAAC,QAA2B;QACtC,IAAI,MAAM,GAAsB,QAAQ,CAAC;QAEzC,KAAK,I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QAClC,IAAI,MAAM,GAAiB,MAAM,CAAC;QAElC,KAAK,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YAClD,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC;QACnD,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,IAAI,CAAC,OAAiB;QACpB,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,CAAC;IACnC,CAAC;IAED,UAAU;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;CACF;AA5DD,kCA4DC;AAED,MAAa,kBAAkB;IAC7B,YAA6B,SAAuC;QAAvC,cAAS,GAAT,SAAS,CAA8B;IAAG,CAAC;IAExE,IAAI,CAAC,eAAwC;QAC3C,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,GAAG,eAAe,CAAC,CAAC;IAC7C,CAAC;IAED,KAAK;QACH,OAAO,IAAI,kBAAkB,CAAC,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IACrD,CAAC;IAED,YAAY;QACV,OAAO,IAAI,WAAW,CACpB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC,CACtD,CAAC;IACJ,CAAC;CACF;AAhBD,gDAgBC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/filter.d.ts b/node_modules/@grpc/grpc-js/build/src/filter.d.ts
deleted file mode 100644
index e3fe87d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/filter.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { StatusObject, WriteObject } from './call-interface';
-import { Metadata } from './metadata';
-/**
- * Filter classes represent related per-call logic and state that is primarily
- * used to modify incoming and outgoing data. All async filters can be
- * rejected. The rejection error must be a StatusObject, and a rejection will
- * cause the call to end with that status.
- */
-export interface Filter {
- sendMetadata(metadata: Promise): Promise;
- receiveMetadata(metadata: Metadata): Metadata;
- sendMessage(message: Promise): Promise;
- receiveMessage(message: Promise): Promise;
- receiveTrailers(status: StatusObject): StatusObject;
-}
-export declare abstract class BaseFilter implements Filter {
- sendMetadata(metadata: Promise): Promise;
- receiveMetadata(metadata: Metadata): Metadata;
- sendMessage(message: Promise): Promise;
- receiveMessage(message: Promise): Promise;
- receiveTrailers(status: StatusObject): StatusObject;
-}
-export interface FilterFactory {
- createFilter(): T;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/filter.js b/node_modules/@grpc/grpc-js/build/src/filter.js
deleted file mode 100644
index d888a82..0000000
--- a/node_modules/@grpc/grpc-js/build/src/filter.js
+++ /dev/null
@@ -1,38 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.BaseFilter = void 0;
-class BaseFilter {
- async sendMetadata(metadata) {
- return metadata;
- }
- receiveMetadata(metadata) {
- return metadata;
- }
- async sendMessage(message) {
- return message;
- }
- async receiveMessage(message) {
- return message;
- }
- receiveTrailers(status) {
- return status;
- }
-}
-exports.BaseFilter = BaseFilter;
-//# sourceMappingURL=filter.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/filter.js.map b/node_modules/@grpc/grpc-js/build/src/filter.js.map
deleted file mode 100644
index 1ddf110..0000000
--- a/node_modules/@grpc/grpc-js/build/src/filter.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"filter.js","sourceRoot":"","sources":["../../src/filter.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAuBH,MAAsB,UAAU;IAC9B,KAAK,CAAC,YAAY,CAAC,QAA2B;QAC5C,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,eAAe,CAAC,QAAkB;QAChC,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,OAA6B;QAC7C,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,OAAwB;QAC3C,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,eAAe,CAAC,MAAoB;QAClC,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AApBD,gCAoBC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/channelz.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/channelz.d.ts
deleted file mode 100644
index 434d8b0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/channelz.d.ts
+++ /dev/null
@@ -1,118 +0,0 @@
-import type * as grpc from '../index';
-import type { MessageTypeDefinition } from '@grpc/proto-loader';
-import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from './google/protobuf/Any';
-import type { BoolValue as _google_protobuf_BoolValue, BoolValue__Output as _google_protobuf_BoolValue__Output } from './google/protobuf/BoolValue';
-import type { BytesValue as _google_protobuf_BytesValue, BytesValue__Output as _google_protobuf_BytesValue__Output } from './google/protobuf/BytesValue';
-import type { DoubleValue as _google_protobuf_DoubleValue, DoubleValue__Output as _google_protobuf_DoubleValue__Output } from './google/protobuf/DoubleValue';
-import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration';
-import type { FloatValue as _google_protobuf_FloatValue, FloatValue__Output as _google_protobuf_FloatValue__Output } from './google/protobuf/FloatValue';
-import type { Int32Value as _google_protobuf_Int32Value, Int32Value__Output as _google_protobuf_Int32Value__Output } from './google/protobuf/Int32Value';
-import type { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from './google/protobuf/Int64Value';
-import type { StringValue as _google_protobuf_StringValue, StringValue__Output as _google_protobuf_StringValue__Output } from './google/protobuf/StringValue';
-import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp';
-import type { UInt32Value as _google_protobuf_UInt32Value, UInt32Value__Output as _google_protobuf_UInt32Value__Output } from './google/protobuf/UInt32Value';
-import type { UInt64Value as _google_protobuf_UInt64Value, UInt64Value__Output as _google_protobuf_UInt64Value__Output } from './google/protobuf/UInt64Value';
-import type { Address as _grpc_channelz_v1_Address, Address__Output as _grpc_channelz_v1_Address__Output } from './grpc/channelz/v1/Address';
-import type { Channel as _grpc_channelz_v1_Channel, Channel__Output as _grpc_channelz_v1_Channel__Output } from './grpc/channelz/v1/Channel';
-import type { ChannelConnectivityState as _grpc_channelz_v1_ChannelConnectivityState, ChannelConnectivityState__Output as _grpc_channelz_v1_ChannelConnectivityState__Output } from './grpc/channelz/v1/ChannelConnectivityState';
-import type { ChannelData as _grpc_channelz_v1_ChannelData, ChannelData__Output as _grpc_channelz_v1_ChannelData__Output } from './grpc/channelz/v1/ChannelData';
-import type { ChannelRef as _grpc_channelz_v1_ChannelRef, ChannelRef__Output as _grpc_channelz_v1_ChannelRef__Output } from './grpc/channelz/v1/ChannelRef';
-import type { ChannelTrace as _grpc_channelz_v1_ChannelTrace, ChannelTrace__Output as _grpc_channelz_v1_ChannelTrace__Output } from './grpc/channelz/v1/ChannelTrace';
-import type { ChannelTraceEvent as _grpc_channelz_v1_ChannelTraceEvent, ChannelTraceEvent__Output as _grpc_channelz_v1_ChannelTraceEvent__Output } from './grpc/channelz/v1/ChannelTraceEvent';
-import type { ChannelzClient as _grpc_channelz_v1_ChannelzClient, ChannelzDefinition as _grpc_channelz_v1_ChannelzDefinition } from './grpc/channelz/v1/Channelz';
-import type { GetChannelRequest as _grpc_channelz_v1_GetChannelRequest, GetChannelRequest__Output as _grpc_channelz_v1_GetChannelRequest__Output } from './grpc/channelz/v1/GetChannelRequest';
-import type { GetChannelResponse as _grpc_channelz_v1_GetChannelResponse, GetChannelResponse__Output as _grpc_channelz_v1_GetChannelResponse__Output } from './grpc/channelz/v1/GetChannelResponse';
-import type { GetServerRequest as _grpc_channelz_v1_GetServerRequest, GetServerRequest__Output as _grpc_channelz_v1_GetServerRequest__Output } from './grpc/channelz/v1/GetServerRequest';
-import type { GetServerResponse as _grpc_channelz_v1_GetServerResponse, GetServerResponse__Output as _grpc_channelz_v1_GetServerResponse__Output } from './grpc/channelz/v1/GetServerResponse';
-import type { GetServerSocketsRequest as _grpc_channelz_v1_GetServerSocketsRequest, GetServerSocketsRequest__Output as _grpc_channelz_v1_GetServerSocketsRequest__Output } from './grpc/channelz/v1/GetServerSocketsRequest';
-import type { GetServerSocketsResponse as _grpc_channelz_v1_GetServerSocketsResponse, GetServerSocketsResponse__Output as _grpc_channelz_v1_GetServerSocketsResponse__Output } from './grpc/channelz/v1/GetServerSocketsResponse';
-import type { GetServersRequest as _grpc_channelz_v1_GetServersRequest, GetServersRequest__Output as _grpc_channelz_v1_GetServersRequest__Output } from './grpc/channelz/v1/GetServersRequest';
-import type { GetServersResponse as _grpc_channelz_v1_GetServersResponse, GetServersResponse__Output as _grpc_channelz_v1_GetServersResponse__Output } from './grpc/channelz/v1/GetServersResponse';
-import type { GetSocketRequest as _grpc_channelz_v1_GetSocketRequest, GetSocketRequest__Output as _grpc_channelz_v1_GetSocketRequest__Output } from './grpc/channelz/v1/GetSocketRequest';
-import type { GetSocketResponse as _grpc_channelz_v1_GetSocketResponse, GetSocketResponse__Output as _grpc_channelz_v1_GetSocketResponse__Output } from './grpc/channelz/v1/GetSocketResponse';
-import type { GetSubchannelRequest as _grpc_channelz_v1_GetSubchannelRequest, GetSubchannelRequest__Output as _grpc_channelz_v1_GetSubchannelRequest__Output } from './grpc/channelz/v1/GetSubchannelRequest';
-import type { GetSubchannelResponse as _grpc_channelz_v1_GetSubchannelResponse, GetSubchannelResponse__Output as _grpc_channelz_v1_GetSubchannelResponse__Output } from './grpc/channelz/v1/GetSubchannelResponse';
-import type { GetTopChannelsRequest as _grpc_channelz_v1_GetTopChannelsRequest, GetTopChannelsRequest__Output as _grpc_channelz_v1_GetTopChannelsRequest__Output } from './grpc/channelz/v1/GetTopChannelsRequest';
-import type { GetTopChannelsResponse as _grpc_channelz_v1_GetTopChannelsResponse, GetTopChannelsResponse__Output as _grpc_channelz_v1_GetTopChannelsResponse__Output } from './grpc/channelz/v1/GetTopChannelsResponse';
-import type { Security as _grpc_channelz_v1_Security, Security__Output as _grpc_channelz_v1_Security__Output } from './grpc/channelz/v1/Security';
-import type { Server as _grpc_channelz_v1_Server, Server__Output as _grpc_channelz_v1_Server__Output } from './grpc/channelz/v1/Server';
-import type { ServerData as _grpc_channelz_v1_ServerData, ServerData__Output as _grpc_channelz_v1_ServerData__Output } from './grpc/channelz/v1/ServerData';
-import type { ServerRef as _grpc_channelz_v1_ServerRef, ServerRef__Output as _grpc_channelz_v1_ServerRef__Output } from './grpc/channelz/v1/ServerRef';
-import type { Socket as _grpc_channelz_v1_Socket, Socket__Output as _grpc_channelz_v1_Socket__Output } from './grpc/channelz/v1/Socket';
-import type { SocketData as _grpc_channelz_v1_SocketData, SocketData__Output as _grpc_channelz_v1_SocketData__Output } from './grpc/channelz/v1/SocketData';
-import type { SocketOption as _grpc_channelz_v1_SocketOption, SocketOption__Output as _grpc_channelz_v1_SocketOption__Output } from './grpc/channelz/v1/SocketOption';
-import type { SocketOptionLinger as _grpc_channelz_v1_SocketOptionLinger, SocketOptionLinger__Output as _grpc_channelz_v1_SocketOptionLinger__Output } from './grpc/channelz/v1/SocketOptionLinger';
-import type { SocketOptionTcpInfo as _grpc_channelz_v1_SocketOptionTcpInfo, SocketOptionTcpInfo__Output as _grpc_channelz_v1_SocketOptionTcpInfo__Output } from './grpc/channelz/v1/SocketOptionTcpInfo';
-import type { SocketOptionTimeout as _grpc_channelz_v1_SocketOptionTimeout, SocketOptionTimeout__Output as _grpc_channelz_v1_SocketOptionTimeout__Output } from './grpc/channelz/v1/SocketOptionTimeout';
-import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from './grpc/channelz/v1/SocketRef';
-import type { Subchannel as _grpc_channelz_v1_Subchannel, Subchannel__Output as _grpc_channelz_v1_Subchannel__Output } from './grpc/channelz/v1/Subchannel';
-import type { SubchannelRef as _grpc_channelz_v1_SubchannelRef, SubchannelRef__Output as _grpc_channelz_v1_SubchannelRef__Output } from './grpc/channelz/v1/SubchannelRef';
-type SubtypeConstructor any, Subtype> = {
- new (...args: ConstructorParameters): Subtype;
-};
-export interface ProtoGrpcType {
- google: {
- protobuf: {
- Any: MessageTypeDefinition<_google_protobuf_Any, _google_protobuf_Any__Output>;
- BoolValue: MessageTypeDefinition<_google_protobuf_BoolValue, _google_protobuf_BoolValue__Output>;
- BytesValue: MessageTypeDefinition<_google_protobuf_BytesValue, _google_protobuf_BytesValue__Output>;
- DoubleValue: MessageTypeDefinition<_google_protobuf_DoubleValue, _google_protobuf_DoubleValue__Output>;
- Duration: MessageTypeDefinition<_google_protobuf_Duration, _google_protobuf_Duration__Output>;
- FloatValue: MessageTypeDefinition<_google_protobuf_FloatValue, _google_protobuf_FloatValue__Output>;
- Int32Value: MessageTypeDefinition<_google_protobuf_Int32Value, _google_protobuf_Int32Value__Output>;
- Int64Value: MessageTypeDefinition<_google_protobuf_Int64Value, _google_protobuf_Int64Value__Output>;
- StringValue: MessageTypeDefinition<_google_protobuf_StringValue, _google_protobuf_StringValue__Output>;
- Timestamp: MessageTypeDefinition<_google_protobuf_Timestamp, _google_protobuf_Timestamp__Output>;
- UInt32Value: MessageTypeDefinition<_google_protobuf_UInt32Value, _google_protobuf_UInt32Value__Output>;
- UInt64Value: MessageTypeDefinition<_google_protobuf_UInt64Value, _google_protobuf_UInt64Value__Output>;
- };
- };
- grpc: {
- channelz: {
- v1: {
- Address: MessageTypeDefinition<_grpc_channelz_v1_Address, _grpc_channelz_v1_Address__Output>;
- Channel: MessageTypeDefinition<_grpc_channelz_v1_Channel, _grpc_channelz_v1_Channel__Output>;
- ChannelConnectivityState: MessageTypeDefinition<_grpc_channelz_v1_ChannelConnectivityState, _grpc_channelz_v1_ChannelConnectivityState__Output>;
- ChannelData: MessageTypeDefinition<_grpc_channelz_v1_ChannelData, _grpc_channelz_v1_ChannelData__Output>;
- ChannelRef: MessageTypeDefinition<_grpc_channelz_v1_ChannelRef, _grpc_channelz_v1_ChannelRef__Output>;
- ChannelTrace: MessageTypeDefinition<_grpc_channelz_v1_ChannelTrace, _grpc_channelz_v1_ChannelTrace__Output>;
- ChannelTraceEvent: MessageTypeDefinition<_grpc_channelz_v1_ChannelTraceEvent, _grpc_channelz_v1_ChannelTraceEvent__Output>;
- /**
- * Channelz is a service exposed by gRPC servers that provides detailed debug
- * information.
- */
- Channelz: SubtypeConstructor & {
- service: _grpc_channelz_v1_ChannelzDefinition;
- };
- GetChannelRequest: MessageTypeDefinition<_grpc_channelz_v1_GetChannelRequest, _grpc_channelz_v1_GetChannelRequest__Output>;
- GetChannelResponse: MessageTypeDefinition<_grpc_channelz_v1_GetChannelResponse, _grpc_channelz_v1_GetChannelResponse__Output>;
- GetServerRequest: MessageTypeDefinition<_grpc_channelz_v1_GetServerRequest, _grpc_channelz_v1_GetServerRequest__Output>;
- GetServerResponse: MessageTypeDefinition<_grpc_channelz_v1_GetServerResponse, _grpc_channelz_v1_GetServerResponse__Output>;
- GetServerSocketsRequest: MessageTypeDefinition<_grpc_channelz_v1_GetServerSocketsRequest, _grpc_channelz_v1_GetServerSocketsRequest__Output>;
- GetServerSocketsResponse: MessageTypeDefinition<_grpc_channelz_v1_GetServerSocketsResponse, _grpc_channelz_v1_GetServerSocketsResponse__Output>;
- GetServersRequest: MessageTypeDefinition<_grpc_channelz_v1_GetServersRequest, _grpc_channelz_v1_GetServersRequest__Output>;
- GetServersResponse: MessageTypeDefinition<_grpc_channelz_v1_GetServersResponse, _grpc_channelz_v1_GetServersResponse__Output>;
- GetSocketRequest: MessageTypeDefinition<_grpc_channelz_v1_GetSocketRequest, _grpc_channelz_v1_GetSocketRequest__Output>;
- GetSocketResponse: MessageTypeDefinition<_grpc_channelz_v1_GetSocketResponse, _grpc_channelz_v1_GetSocketResponse__Output>;
- GetSubchannelRequest: MessageTypeDefinition<_grpc_channelz_v1_GetSubchannelRequest, _grpc_channelz_v1_GetSubchannelRequest__Output>;
- GetSubchannelResponse: MessageTypeDefinition<_grpc_channelz_v1_GetSubchannelResponse, _grpc_channelz_v1_GetSubchannelResponse__Output>;
- GetTopChannelsRequest: MessageTypeDefinition<_grpc_channelz_v1_GetTopChannelsRequest, _grpc_channelz_v1_GetTopChannelsRequest__Output>;
- GetTopChannelsResponse: MessageTypeDefinition<_grpc_channelz_v1_GetTopChannelsResponse, _grpc_channelz_v1_GetTopChannelsResponse__Output>;
- Security: MessageTypeDefinition<_grpc_channelz_v1_Security, _grpc_channelz_v1_Security__Output>;
- Server: MessageTypeDefinition<_grpc_channelz_v1_Server, _grpc_channelz_v1_Server__Output>;
- ServerData: MessageTypeDefinition<_grpc_channelz_v1_ServerData, _grpc_channelz_v1_ServerData__Output>;
- ServerRef: MessageTypeDefinition<_grpc_channelz_v1_ServerRef, _grpc_channelz_v1_ServerRef__Output>;
- Socket: MessageTypeDefinition<_grpc_channelz_v1_Socket, _grpc_channelz_v1_Socket__Output>;
- SocketData: MessageTypeDefinition<_grpc_channelz_v1_SocketData, _grpc_channelz_v1_SocketData__Output>;
- SocketOption: MessageTypeDefinition<_grpc_channelz_v1_SocketOption, _grpc_channelz_v1_SocketOption__Output>;
- SocketOptionLinger: MessageTypeDefinition<_grpc_channelz_v1_SocketOptionLinger, _grpc_channelz_v1_SocketOptionLinger__Output>;
- SocketOptionTcpInfo: MessageTypeDefinition<_grpc_channelz_v1_SocketOptionTcpInfo, _grpc_channelz_v1_SocketOptionTcpInfo__Output>;
- SocketOptionTimeout: MessageTypeDefinition<_grpc_channelz_v1_SocketOptionTimeout, _grpc_channelz_v1_SocketOptionTimeout__Output>;
- SocketRef: MessageTypeDefinition<_grpc_channelz_v1_SocketRef, _grpc_channelz_v1_SocketRef__Output>;
- Subchannel: MessageTypeDefinition<_grpc_channelz_v1_Subchannel, _grpc_channelz_v1_Subchannel__Output>;
- SubchannelRef: MessageTypeDefinition<_grpc_channelz_v1_SubchannelRef, _grpc_channelz_v1_SubchannelRef__Output>;
- };
- };
- };
-}
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/channelz.js b/node_modules/@grpc/grpc-js/build/src/generated/channelz.js
deleted file mode 100644
index 0c2cf67..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/channelz.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=channelz.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/channelz.js.map b/node_modules/@grpc/grpc-js/build/src/generated/channelz.js.map
deleted file mode 100644
index af4016b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/channelz.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"channelz.js","sourceRoot":"","sources":["../../../src/generated/channelz.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.d.ts
deleted file mode 100644
index 1aa55a4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { AnyExtension } from '@grpc/proto-loader';
-export type Any = AnyExtension | {
- type_url: string;
- value: Buffer | Uint8Array | string;
-};
-export interface Any__Output {
- 'type_url': (string);
- 'value': (Buffer);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.js
deleted file mode 100644
index f9651f8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Any.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.js.map
deleted file mode 100644
index 2e75474..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Any.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Any.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/Any.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.d.ts
deleted file mode 100644
index b7235a7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export interface BoolValue {
- 'value'?: (boolean);
-}
-export interface BoolValue__Output {
- 'value': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.js
deleted file mode 100644
index f893f74..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=BoolValue.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.js.map
deleted file mode 100644
index 3573853..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BoolValue.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BoolValue.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/BoolValue.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.d.ts
deleted file mode 100644
index ec0dae9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export interface BytesValue {
- 'value'?: (Buffer | Uint8Array | string);
-}
-export interface BytesValue__Output {
- 'value': (Buffer);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.js
deleted file mode 100644
index 4cac93e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=BytesValue.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.js.map
deleted file mode 100644
index a589ea5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/BytesValue.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BytesValue.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/BytesValue.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.d.ts
deleted file mode 100644
index 35e95e1..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.d.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-import type { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from '../../google/protobuf/FieldDescriptorProto';
-import type { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from '../../google/protobuf/DescriptorProto';
-import type { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from '../../google/protobuf/EnumDescriptorProto';
-import type { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from '../../google/protobuf/MessageOptions';
-import type { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from '../../google/protobuf/OneofDescriptorProto';
-import type { SymbolVisibility as _google_protobuf_SymbolVisibility, SymbolVisibility__Output as _google_protobuf_SymbolVisibility__Output } from '../../google/protobuf/SymbolVisibility';
-import type { ExtensionRangeOptions as _google_protobuf_ExtensionRangeOptions, ExtensionRangeOptions__Output as _google_protobuf_ExtensionRangeOptions__Output } from '../../google/protobuf/ExtensionRangeOptions';
-export interface _google_protobuf_DescriptorProto_ExtensionRange {
- 'start'?: (number);
- 'end'?: (number);
- 'options'?: (_google_protobuf_ExtensionRangeOptions | null);
-}
-export interface _google_protobuf_DescriptorProto_ExtensionRange__Output {
- 'start': (number);
- 'end': (number);
- 'options': (_google_protobuf_ExtensionRangeOptions__Output | null);
-}
-export interface _google_protobuf_DescriptorProto_ReservedRange {
- 'start'?: (number);
- 'end'?: (number);
-}
-export interface _google_protobuf_DescriptorProto_ReservedRange__Output {
- 'start': (number);
- 'end': (number);
-}
-export interface DescriptorProto {
- 'name'?: (string);
- 'field'?: (_google_protobuf_FieldDescriptorProto)[];
- 'nestedType'?: (_google_protobuf_DescriptorProto)[];
- 'enumType'?: (_google_protobuf_EnumDescriptorProto)[];
- 'extensionRange'?: (_google_protobuf_DescriptorProto_ExtensionRange)[];
- 'extension'?: (_google_protobuf_FieldDescriptorProto)[];
- 'options'?: (_google_protobuf_MessageOptions | null);
- 'oneofDecl'?: (_google_protobuf_OneofDescriptorProto)[];
- 'reservedRange'?: (_google_protobuf_DescriptorProto_ReservedRange)[];
- 'reservedName'?: (string)[];
- 'visibility'?: (_google_protobuf_SymbolVisibility);
-}
-export interface DescriptorProto__Output {
- 'name': (string);
- 'field': (_google_protobuf_FieldDescriptorProto__Output)[];
- 'nestedType': (_google_protobuf_DescriptorProto__Output)[];
- 'enumType': (_google_protobuf_EnumDescriptorProto__Output)[];
- 'extensionRange': (_google_protobuf_DescriptorProto_ExtensionRange__Output)[];
- 'extension': (_google_protobuf_FieldDescriptorProto__Output)[];
- 'options': (_google_protobuf_MessageOptions__Output | null);
- 'oneofDecl': (_google_protobuf_OneofDescriptorProto__Output)[];
- 'reservedRange': (_google_protobuf_DescriptorProto_ReservedRange__Output)[];
- 'reservedName': (string)[];
- 'visibility': (_google_protobuf_SymbolVisibility__Output);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.js
deleted file mode 100644
index ea5f608..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=DescriptorProto.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.js.map
deleted file mode 100644
index 0855a90..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DescriptorProto.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"DescriptorProto.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/DescriptorProto.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.d.ts
deleted file mode 100644
index e4e2204..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export interface DoubleValue {
- 'value'?: (number | string);
-}
-export interface DoubleValue__Output {
- 'value': (number);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.js
deleted file mode 100644
index 133e011..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=DoubleValue.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.js.map
deleted file mode 100644
index 7f28720..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/DoubleValue.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"DoubleValue.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/DoubleValue.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.d.ts
deleted file mode 100644
index 7e04ea6..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface Duration {
- 'seconds'?: (number | string | Long);
- 'nanos'?: (number);
-}
-export interface Duration__Output {
- 'seconds': (string);
- 'nanos': (number);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.js
deleted file mode 100644
index b071b70..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Duration.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.js.map
deleted file mode 100644
index 3fc8fe8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Duration.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Duration.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/Duration.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.d.ts
deleted file mode 100644
index 6ec1032..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-export declare const Edition: {
- readonly EDITION_UNKNOWN: "EDITION_UNKNOWN";
- readonly EDITION_LEGACY: "EDITION_LEGACY";
- readonly EDITION_PROTO2: "EDITION_PROTO2";
- readonly EDITION_PROTO3: "EDITION_PROTO3";
- readonly EDITION_2023: "EDITION_2023";
- readonly EDITION_2024: "EDITION_2024";
- readonly EDITION_1_TEST_ONLY: "EDITION_1_TEST_ONLY";
- readonly EDITION_2_TEST_ONLY: "EDITION_2_TEST_ONLY";
- readonly EDITION_99997_TEST_ONLY: "EDITION_99997_TEST_ONLY";
- readonly EDITION_99998_TEST_ONLY: "EDITION_99998_TEST_ONLY";
- readonly EDITION_99999_TEST_ONLY: "EDITION_99999_TEST_ONLY";
- readonly EDITION_MAX: "EDITION_MAX";
-};
-export type Edition = 'EDITION_UNKNOWN' | 0 | 'EDITION_LEGACY' | 900 | 'EDITION_PROTO2' | 998 | 'EDITION_PROTO3' | 999 | 'EDITION_2023' | 1000 | 'EDITION_2024' | 1001 | 'EDITION_1_TEST_ONLY' | 1 | 'EDITION_2_TEST_ONLY' | 2 | 'EDITION_99997_TEST_ONLY' | 99997 | 'EDITION_99998_TEST_ONLY' | 99998 | 'EDITION_99999_TEST_ONLY' | 99999 | 'EDITION_MAX' | 2147483647;
-export type Edition__Output = typeof Edition[keyof typeof Edition];
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.js
deleted file mode 100644
index e3d848d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Edition = void 0;
-exports.Edition = {
- EDITION_UNKNOWN: 'EDITION_UNKNOWN',
- EDITION_LEGACY: 'EDITION_LEGACY',
- EDITION_PROTO2: 'EDITION_PROTO2',
- EDITION_PROTO3: 'EDITION_PROTO3',
- EDITION_2023: 'EDITION_2023',
- EDITION_2024: 'EDITION_2024',
- EDITION_1_TEST_ONLY: 'EDITION_1_TEST_ONLY',
- EDITION_2_TEST_ONLY: 'EDITION_2_TEST_ONLY',
- EDITION_99997_TEST_ONLY: 'EDITION_99997_TEST_ONLY',
- EDITION_99998_TEST_ONLY: 'EDITION_99998_TEST_ONLY',
- EDITION_99999_TEST_ONLY: 'EDITION_99999_TEST_ONLY',
- EDITION_MAX: 'EDITION_MAX',
-};
-//# sourceMappingURL=Edition.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.js.map
deleted file mode 100644
index ce43ad0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Edition.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Edition.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/Edition.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAET,QAAA,OAAO,GAAG;IACrB,eAAe,EAAE,iBAAiB;IAClC,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,mBAAmB,EAAE,qBAAqB;IAC1C,mBAAmB,EAAE,qBAAqB;IAC1C,uBAAuB,EAAE,yBAAyB;IAClD,uBAAuB,EAAE,yBAAyB;IAClD,uBAAuB,EAAE,yBAAyB;IAClD,WAAW,EAAE,aAAa;CAClB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.d.ts
deleted file mode 100644
index 943eb31..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from '../../google/protobuf/EnumValueDescriptorProto';
-import type { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from '../../google/protobuf/EnumOptions';
-import type { SymbolVisibility as _google_protobuf_SymbolVisibility, SymbolVisibility__Output as _google_protobuf_SymbolVisibility__Output } from '../../google/protobuf/SymbolVisibility';
-export interface _google_protobuf_EnumDescriptorProto_EnumReservedRange {
- 'start'?: (number);
- 'end'?: (number);
-}
-export interface _google_protobuf_EnumDescriptorProto_EnumReservedRange__Output {
- 'start': (number);
- 'end': (number);
-}
-export interface EnumDescriptorProto {
- 'name'?: (string);
- 'value'?: (_google_protobuf_EnumValueDescriptorProto)[];
- 'options'?: (_google_protobuf_EnumOptions | null);
- 'reservedRange'?: (_google_protobuf_EnumDescriptorProto_EnumReservedRange)[];
- 'reservedName'?: (string)[];
- 'visibility'?: (_google_protobuf_SymbolVisibility);
-}
-export interface EnumDescriptorProto__Output {
- 'name': (string);
- 'value': (_google_protobuf_EnumValueDescriptorProto__Output)[];
- 'options': (_google_protobuf_EnumOptions__Output | null);
- 'reservedRange': (_google_protobuf_EnumDescriptorProto_EnumReservedRange__Output)[];
- 'reservedName': (string)[];
- 'visibility': (_google_protobuf_SymbolVisibility__Output);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.js
deleted file mode 100644
index 903ec03..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=EnumDescriptorProto.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.js.map
deleted file mode 100644
index 9eef1e6..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumDescriptorProto.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"EnumDescriptorProto.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/EnumDescriptorProto.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.d.ts
deleted file mode 100644
index 690d0dc..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-export interface EnumOptions {
- 'allowAlias'?: (boolean);
- 'deprecated'?: (boolean);
- /**
- * @deprecated
- */
- 'deprecatedLegacyJsonFieldConflicts'?: (boolean);
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
-}
-export interface EnumOptions__Output {
- 'allowAlias': (boolean);
- 'deprecated': (boolean);
- /**
- * @deprecated
- */
- 'deprecatedLegacyJsonFieldConflicts': (boolean);
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.js
deleted file mode 100644
index 9b8fa44..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=EnumOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.js.map
deleted file mode 100644
index 5f1f05a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"EnumOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/EnumOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts
deleted file mode 100644
index b0a458b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import type { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from '../../google/protobuf/EnumValueOptions';
-export interface EnumValueDescriptorProto {
- 'name'?: (string);
- 'number'?: (number);
- 'options'?: (_google_protobuf_EnumValueOptions | null);
-}
-export interface EnumValueDescriptorProto__Output {
- 'name': (string);
- 'number': (number);
- 'options': (_google_protobuf_EnumValueOptions__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.js
deleted file mode 100644
index d19f3db..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=EnumValueDescriptorProto.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.js.map
deleted file mode 100644
index 624fe37..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueDescriptorProto.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"EnumValueDescriptorProto.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/EnumValueDescriptorProto.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.d.ts
deleted file mode 100644
index 198dde7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { _google_protobuf_FieldOptions_FeatureSupport, _google_protobuf_FieldOptions_FeatureSupport__Output } from '../../google/protobuf/FieldOptions';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-export interface EnumValueOptions {
- 'deprecated'?: (boolean);
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'debugRedact'?: (boolean);
- 'featureSupport'?: (_google_protobuf_FieldOptions_FeatureSupport | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
-}
-export interface EnumValueOptions__Output {
- 'deprecated': (boolean);
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'debugRedact': (boolean);
- 'featureSupport': (_google_protobuf_FieldOptions_FeatureSupport__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.js
deleted file mode 100644
index bfe5888..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=EnumValueOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.js.map
deleted file mode 100644
index bc6df35..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/EnumValueOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"EnumValueOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/EnumValueOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.d.ts
deleted file mode 100644
index b296f6e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.d.ts
+++ /dev/null
@@ -1,34 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-export interface _google_protobuf_ExtensionRangeOptions_Declaration {
- 'number'?: (number);
- 'fullName'?: (string);
- 'type'?: (string);
- 'reserved'?: (boolean);
- 'repeated'?: (boolean);
-}
-export interface _google_protobuf_ExtensionRangeOptions_Declaration__Output {
- 'number': (number);
- 'fullName': (string);
- 'type': (string);
- 'reserved': (boolean);
- 'repeated': (boolean);
-}
-export declare const _google_protobuf_ExtensionRangeOptions_VerificationState: {
- readonly DECLARATION: "DECLARATION";
- readonly UNVERIFIED: "UNVERIFIED";
-};
-export type _google_protobuf_ExtensionRangeOptions_VerificationState = 'DECLARATION' | 0 | 'UNVERIFIED' | 1;
-export type _google_protobuf_ExtensionRangeOptions_VerificationState__Output = typeof _google_protobuf_ExtensionRangeOptions_VerificationState[keyof typeof _google_protobuf_ExtensionRangeOptions_VerificationState];
-export interface ExtensionRangeOptions {
- 'declaration'?: (_google_protobuf_ExtensionRangeOptions_Declaration)[];
- 'verification'?: (_google_protobuf_ExtensionRangeOptions_VerificationState);
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
-}
-export interface ExtensionRangeOptions__Output {
- 'declaration': (_google_protobuf_ExtensionRangeOptions_Declaration__Output)[];
- 'verification': (_google_protobuf_ExtensionRangeOptions_VerificationState__Output);
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.js
deleted file mode 100644
index d210aaf..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.js
+++ /dev/null
@@ -1,10 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._google_protobuf_ExtensionRangeOptions_VerificationState = void 0;
-// Original file: null
-exports._google_protobuf_ExtensionRangeOptions_VerificationState = {
- DECLARATION: 'DECLARATION',
- UNVERIFIED: 'UNVERIFIED',
-};
-//# sourceMappingURL=ExtensionRangeOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.js.map
deleted file mode 100644
index 1c37476..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ExtensionRangeOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ExtensionRangeOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/ExtensionRangeOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAqBtB,sBAAsB;AAET,QAAA,wDAAwD,GAAG;IACtE,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;CAChB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.d.ts
deleted file mode 100644
index 7d60053..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.d.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-export declare const _google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility: {
- readonly DEFAULT_SYMBOL_VISIBILITY_UNKNOWN: "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN";
- readonly EXPORT_ALL: "EXPORT_ALL";
- readonly EXPORT_TOP_LEVEL: "EXPORT_TOP_LEVEL";
- readonly LOCAL_ALL: "LOCAL_ALL";
- readonly STRICT: "STRICT";
-};
-export type _google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility = 'DEFAULT_SYMBOL_VISIBILITY_UNKNOWN' | 0 | 'EXPORT_ALL' | 1 | 'EXPORT_TOP_LEVEL' | 2 | 'LOCAL_ALL' | 3 | 'STRICT' | 4;
-export type _google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility__Output = typeof _google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility[keyof typeof _google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility];
-export declare const _google_protobuf_FeatureSet_EnforceNamingStyle: {
- readonly ENFORCE_NAMING_STYLE_UNKNOWN: "ENFORCE_NAMING_STYLE_UNKNOWN";
- readonly STYLE2024: "STYLE2024";
- readonly STYLE_LEGACY: "STYLE_LEGACY";
-};
-export type _google_protobuf_FeatureSet_EnforceNamingStyle = 'ENFORCE_NAMING_STYLE_UNKNOWN' | 0 | 'STYLE2024' | 1 | 'STYLE_LEGACY' | 2;
-export type _google_protobuf_FeatureSet_EnforceNamingStyle__Output = typeof _google_protobuf_FeatureSet_EnforceNamingStyle[keyof typeof _google_protobuf_FeatureSet_EnforceNamingStyle];
-export declare const _google_protobuf_FeatureSet_EnumType: {
- readonly ENUM_TYPE_UNKNOWN: "ENUM_TYPE_UNKNOWN";
- readonly OPEN: "OPEN";
- readonly CLOSED: "CLOSED";
-};
-export type _google_protobuf_FeatureSet_EnumType = 'ENUM_TYPE_UNKNOWN' | 0 | 'OPEN' | 1 | 'CLOSED' | 2;
-export type _google_protobuf_FeatureSet_EnumType__Output = typeof _google_protobuf_FeatureSet_EnumType[keyof typeof _google_protobuf_FeatureSet_EnumType];
-export declare const _google_protobuf_FeatureSet_FieldPresence: {
- readonly FIELD_PRESENCE_UNKNOWN: "FIELD_PRESENCE_UNKNOWN";
- readonly EXPLICIT: "EXPLICIT";
- readonly IMPLICIT: "IMPLICIT";
- readonly LEGACY_REQUIRED: "LEGACY_REQUIRED";
-};
-export type _google_protobuf_FeatureSet_FieldPresence = 'FIELD_PRESENCE_UNKNOWN' | 0 | 'EXPLICIT' | 1 | 'IMPLICIT' | 2 | 'LEGACY_REQUIRED' | 3;
-export type _google_protobuf_FeatureSet_FieldPresence__Output = typeof _google_protobuf_FeatureSet_FieldPresence[keyof typeof _google_protobuf_FeatureSet_FieldPresence];
-export declare const _google_protobuf_FeatureSet_JsonFormat: {
- readonly JSON_FORMAT_UNKNOWN: "JSON_FORMAT_UNKNOWN";
- readonly ALLOW: "ALLOW";
- readonly LEGACY_BEST_EFFORT: "LEGACY_BEST_EFFORT";
-};
-export type _google_protobuf_FeatureSet_JsonFormat = 'JSON_FORMAT_UNKNOWN' | 0 | 'ALLOW' | 1 | 'LEGACY_BEST_EFFORT' | 2;
-export type _google_protobuf_FeatureSet_JsonFormat__Output = typeof _google_protobuf_FeatureSet_JsonFormat[keyof typeof _google_protobuf_FeatureSet_JsonFormat];
-export declare const _google_protobuf_FeatureSet_MessageEncoding: {
- readonly MESSAGE_ENCODING_UNKNOWN: "MESSAGE_ENCODING_UNKNOWN";
- readonly LENGTH_PREFIXED: "LENGTH_PREFIXED";
- readonly DELIMITED: "DELIMITED";
-};
-export type _google_protobuf_FeatureSet_MessageEncoding = 'MESSAGE_ENCODING_UNKNOWN' | 0 | 'LENGTH_PREFIXED' | 1 | 'DELIMITED' | 2;
-export type _google_protobuf_FeatureSet_MessageEncoding__Output = typeof _google_protobuf_FeatureSet_MessageEncoding[keyof typeof _google_protobuf_FeatureSet_MessageEncoding];
-export declare const _google_protobuf_FeatureSet_RepeatedFieldEncoding: {
- readonly REPEATED_FIELD_ENCODING_UNKNOWN: "REPEATED_FIELD_ENCODING_UNKNOWN";
- readonly PACKED: "PACKED";
- readonly EXPANDED: "EXPANDED";
-};
-export type _google_protobuf_FeatureSet_RepeatedFieldEncoding = 'REPEATED_FIELD_ENCODING_UNKNOWN' | 0 | 'PACKED' | 1 | 'EXPANDED' | 2;
-export type _google_protobuf_FeatureSet_RepeatedFieldEncoding__Output = typeof _google_protobuf_FeatureSet_RepeatedFieldEncoding[keyof typeof _google_protobuf_FeatureSet_RepeatedFieldEncoding];
-export declare const _google_protobuf_FeatureSet_Utf8Validation: {
- readonly UTF8_VALIDATION_UNKNOWN: "UTF8_VALIDATION_UNKNOWN";
- readonly VERIFY: "VERIFY";
- readonly NONE: "NONE";
-};
-export type _google_protobuf_FeatureSet_Utf8Validation = 'UTF8_VALIDATION_UNKNOWN' | 0 | 'VERIFY' | 2 | 'NONE' | 3;
-export type _google_protobuf_FeatureSet_Utf8Validation__Output = typeof _google_protobuf_FeatureSet_Utf8Validation[keyof typeof _google_protobuf_FeatureSet_Utf8Validation];
-export interface _google_protobuf_FeatureSet_VisibilityFeature {
-}
-export interface _google_protobuf_FeatureSet_VisibilityFeature__Output {
-}
-export interface FeatureSet {
- 'fieldPresence'?: (_google_protobuf_FeatureSet_FieldPresence);
- 'enumType'?: (_google_protobuf_FeatureSet_EnumType);
- 'repeatedFieldEncoding'?: (_google_protobuf_FeatureSet_RepeatedFieldEncoding);
- 'utf8Validation'?: (_google_protobuf_FeatureSet_Utf8Validation);
- 'messageEncoding'?: (_google_protobuf_FeatureSet_MessageEncoding);
- 'jsonFormat'?: (_google_protobuf_FeatureSet_JsonFormat);
- 'enforceNamingStyle'?: (_google_protobuf_FeatureSet_EnforceNamingStyle);
- 'defaultSymbolVisibility'?: (_google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility);
-}
-export interface FeatureSet__Output {
- 'fieldPresence': (_google_protobuf_FeatureSet_FieldPresence__Output);
- 'enumType': (_google_protobuf_FeatureSet_EnumType__Output);
- 'repeatedFieldEncoding': (_google_protobuf_FeatureSet_RepeatedFieldEncoding__Output);
- 'utf8Validation': (_google_protobuf_FeatureSet_Utf8Validation__Output);
- 'messageEncoding': (_google_protobuf_FeatureSet_MessageEncoding__Output);
- 'jsonFormat': (_google_protobuf_FeatureSet_JsonFormat__Output);
- 'enforceNamingStyle': (_google_protobuf_FeatureSet_EnforceNamingStyle__Output);
- 'defaultSymbolVisibility': (_google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility__Output);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.js
deleted file mode 100644
index 2aa1002..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.js
+++ /dev/null
@@ -1,56 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._google_protobuf_FeatureSet_Utf8Validation = exports._google_protobuf_FeatureSet_RepeatedFieldEncoding = exports._google_protobuf_FeatureSet_MessageEncoding = exports._google_protobuf_FeatureSet_JsonFormat = exports._google_protobuf_FeatureSet_FieldPresence = exports._google_protobuf_FeatureSet_EnumType = exports._google_protobuf_FeatureSet_EnforceNamingStyle = exports._google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility = void 0;
-// Original file: null
-exports._google_protobuf_FeatureSet_VisibilityFeature_DefaultSymbolVisibility = {
- DEFAULT_SYMBOL_VISIBILITY_UNKNOWN: 'DEFAULT_SYMBOL_VISIBILITY_UNKNOWN',
- EXPORT_ALL: 'EXPORT_ALL',
- EXPORT_TOP_LEVEL: 'EXPORT_TOP_LEVEL',
- LOCAL_ALL: 'LOCAL_ALL',
- STRICT: 'STRICT',
-};
-// Original file: null
-exports._google_protobuf_FeatureSet_EnforceNamingStyle = {
- ENFORCE_NAMING_STYLE_UNKNOWN: 'ENFORCE_NAMING_STYLE_UNKNOWN',
- STYLE2024: 'STYLE2024',
- STYLE_LEGACY: 'STYLE_LEGACY',
-};
-// Original file: null
-exports._google_protobuf_FeatureSet_EnumType = {
- ENUM_TYPE_UNKNOWN: 'ENUM_TYPE_UNKNOWN',
- OPEN: 'OPEN',
- CLOSED: 'CLOSED',
-};
-// Original file: null
-exports._google_protobuf_FeatureSet_FieldPresence = {
- FIELD_PRESENCE_UNKNOWN: 'FIELD_PRESENCE_UNKNOWN',
- EXPLICIT: 'EXPLICIT',
- IMPLICIT: 'IMPLICIT',
- LEGACY_REQUIRED: 'LEGACY_REQUIRED',
-};
-// Original file: null
-exports._google_protobuf_FeatureSet_JsonFormat = {
- JSON_FORMAT_UNKNOWN: 'JSON_FORMAT_UNKNOWN',
- ALLOW: 'ALLOW',
- LEGACY_BEST_EFFORT: 'LEGACY_BEST_EFFORT',
-};
-// Original file: null
-exports._google_protobuf_FeatureSet_MessageEncoding = {
- MESSAGE_ENCODING_UNKNOWN: 'MESSAGE_ENCODING_UNKNOWN',
- LENGTH_PREFIXED: 'LENGTH_PREFIXED',
- DELIMITED: 'DELIMITED',
-};
-// Original file: null
-exports._google_protobuf_FeatureSet_RepeatedFieldEncoding = {
- REPEATED_FIELD_ENCODING_UNKNOWN: 'REPEATED_FIELD_ENCODING_UNKNOWN',
- PACKED: 'PACKED',
- EXPANDED: 'EXPANDED',
-};
-// Original file: null
-exports._google_protobuf_FeatureSet_Utf8Validation = {
- UTF8_VALIDATION_UNKNOWN: 'UTF8_VALIDATION_UNKNOWN',
- VERIFY: 'VERIFY',
- NONE: 'NONE',
-};
-//# sourceMappingURL=FeatureSet.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.js.map
deleted file mode 100644
index 86820cb..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSet.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FeatureSet.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/FeatureSet.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAGtB,sBAAsB;AAET,QAAA,qEAAqE,GAAG;IACnF,iCAAiC,EAAE,mCAAmC;IACtE,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAgBX,sBAAsB;AAET,QAAA,8CAA8C,GAAG;IAC5D,4BAA4B,EAAE,8BAA8B;IAC5D,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;CACpB,CAAC;AAYX,sBAAsB;AAET,QAAA,oCAAoC,GAAG;IAClD,iBAAiB,EAAE,mBAAmB;IACtC,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAC;AAYX,sBAAsB;AAET,QAAA,yCAAyC,GAAG;IACvD,sBAAsB,EAAE,wBAAwB;IAChD,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,eAAe,EAAE,iBAAiB;CAC1B,CAAC;AAcX,sBAAsB;AAET,QAAA,sCAAsC,GAAG;IACpD,mBAAmB,EAAE,qBAAqB;IAC1C,KAAK,EAAE,OAAO;IACd,kBAAkB,EAAE,oBAAoB;CAChC,CAAC;AAYX,sBAAsB;AAET,QAAA,2CAA2C,GAAG;IACzD,wBAAwB,EAAE,0BAA0B;IACpD,eAAe,EAAE,iBAAiB;IAClC,SAAS,EAAE,WAAW;CACd,CAAC;AAYX,sBAAsB;AAET,QAAA,iDAAiD,GAAG;IAC/D,+BAA+B,EAAE,iCAAiC;IAClE,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACZ,CAAC;AAYX,sBAAsB;AAET,QAAA,0CAA0C,GAAG;IACxD,uBAAuB,EAAE,yBAAyB;IAClD,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;CACJ,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.d.ts
deleted file mode 100644
index c305486..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.d.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-import type { Edition as _google_protobuf_Edition, Edition__Output as _google_protobuf_Edition__Output } from '../../google/protobuf/Edition';
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-export interface _google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault {
- 'edition'?: (_google_protobuf_Edition);
- 'overridableFeatures'?: (_google_protobuf_FeatureSet | null);
- 'fixedFeatures'?: (_google_protobuf_FeatureSet | null);
-}
-export interface _google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault__Output {
- 'edition': (_google_protobuf_Edition__Output);
- 'overridableFeatures': (_google_protobuf_FeatureSet__Output | null);
- 'fixedFeatures': (_google_protobuf_FeatureSet__Output | null);
-}
-export interface FeatureSetDefaults {
- 'defaults'?: (_google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault)[];
- 'minimumEdition'?: (_google_protobuf_Edition);
- 'maximumEdition'?: (_google_protobuf_Edition);
-}
-export interface FeatureSetDefaults__Output {
- 'defaults': (_google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault__Output)[];
- 'minimumEdition': (_google_protobuf_Edition__Output);
- 'maximumEdition': (_google_protobuf_Edition__Output);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.js
deleted file mode 100644
index fbf2c8c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=FeatureSetDefaults.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.js.map
deleted file mode 100644
index a81eced..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FeatureSetDefaults.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FeatureSetDefaults.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/FeatureSetDefaults.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.d.ts
deleted file mode 100644
index b1250f1..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.d.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-import type { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from '../../google/protobuf/FieldOptions';
-export declare const _google_protobuf_FieldDescriptorProto_Label: {
- readonly LABEL_OPTIONAL: "LABEL_OPTIONAL";
- readonly LABEL_REPEATED: "LABEL_REPEATED";
- readonly LABEL_REQUIRED: "LABEL_REQUIRED";
-};
-export type _google_protobuf_FieldDescriptorProto_Label = 'LABEL_OPTIONAL' | 1 | 'LABEL_REPEATED' | 3 | 'LABEL_REQUIRED' | 2;
-export type _google_protobuf_FieldDescriptorProto_Label__Output = typeof _google_protobuf_FieldDescriptorProto_Label[keyof typeof _google_protobuf_FieldDescriptorProto_Label];
-export declare const _google_protobuf_FieldDescriptorProto_Type: {
- readonly TYPE_DOUBLE: "TYPE_DOUBLE";
- readonly TYPE_FLOAT: "TYPE_FLOAT";
- readonly TYPE_INT64: "TYPE_INT64";
- readonly TYPE_UINT64: "TYPE_UINT64";
- readonly TYPE_INT32: "TYPE_INT32";
- readonly TYPE_FIXED64: "TYPE_FIXED64";
- readonly TYPE_FIXED32: "TYPE_FIXED32";
- readonly TYPE_BOOL: "TYPE_BOOL";
- readonly TYPE_STRING: "TYPE_STRING";
- readonly TYPE_GROUP: "TYPE_GROUP";
- readonly TYPE_MESSAGE: "TYPE_MESSAGE";
- readonly TYPE_BYTES: "TYPE_BYTES";
- readonly TYPE_UINT32: "TYPE_UINT32";
- readonly TYPE_ENUM: "TYPE_ENUM";
- readonly TYPE_SFIXED32: "TYPE_SFIXED32";
- readonly TYPE_SFIXED64: "TYPE_SFIXED64";
- readonly TYPE_SINT32: "TYPE_SINT32";
- readonly TYPE_SINT64: "TYPE_SINT64";
-};
-export type _google_protobuf_FieldDescriptorProto_Type = 'TYPE_DOUBLE' | 1 | 'TYPE_FLOAT' | 2 | 'TYPE_INT64' | 3 | 'TYPE_UINT64' | 4 | 'TYPE_INT32' | 5 | 'TYPE_FIXED64' | 6 | 'TYPE_FIXED32' | 7 | 'TYPE_BOOL' | 8 | 'TYPE_STRING' | 9 | 'TYPE_GROUP' | 10 | 'TYPE_MESSAGE' | 11 | 'TYPE_BYTES' | 12 | 'TYPE_UINT32' | 13 | 'TYPE_ENUM' | 14 | 'TYPE_SFIXED32' | 15 | 'TYPE_SFIXED64' | 16 | 'TYPE_SINT32' | 17 | 'TYPE_SINT64' | 18;
-export type _google_protobuf_FieldDescriptorProto_Type__Output = typeof _google_protobuf_FieldDescriptorProto_Type[keyof typeof _google_protobuf_FieldDescriptorProto_Type];
-export interface FieldDescriptorProto {
- 'name'?: (string);
- 'extendee'?: (string);
- 'number'?: (number);
- 'label'?: (_google_protobuf_FieldDescriptorProto_Label);
- 'type'?: (_google_protobuf_FieldDescriptorProto_Type);
- 'typeName'?: (string);
- 'defaultValue'?: (string);
- 'options'?: (_google_protobuf_FieldOptions | null);
- 'oneofIndex'?: (number);
- 'jsonName'?: (string);
- 'proto3Optional'?: (boolean);
-}
-export interface FieldDescriptorProto__Output {
- 'name': (string);
- 'extendee': (string);
- 'number': (number);
- 'label': (_google_protobuf_FieldDescriptorProto_Label__Output);
- 'type': (_google_protobuf_FieldDescriptorProto_Type__Output);
- 'typeName': (string);
- 'defaultValue': (string);
- 'options': (_google_protobuf_FieldOptions__Output | null);
- 'oneofIndex': (number);
- 'jsonName': (string);
- 'proto3Optional': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.js
deleted file mode 100644
index b47a320..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.js
+++ /dev/null
@@ -1,32 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._google_protobuf_FieldDescriptorProto_Type = exports._google_protobuf_FieldDescriptorProto_Label = void 0;
-// Original file: null
-exports._google_protobuf_FieldDescriptorProto_Label = {
- LABEL_OPTIONAL: 'LABEL_OPTIONAL',
- LABEL_REPEATED: 'LABEL_REPEATED',
- LABEL_REQUIRED: 'LABEL_REQUIRED',
-};
-// Original file: null
-exports._google_protobuf_FieldDescriptorProto_Type = {
- TYPE_DOUBLE: 'TYPE_DOUBLE',
- TYPE_FLOAT: 'TYPE_FLOAT',
- TYPE_INT64: 'TYPE_INT64',
- TYPE_UINT64: 'TYPE_UINT64',
- TYPE_INT32: 'TYPE_INT32',
- TYPE_FIXED64: 'TYPE_FIXED64',
- TYPE_FIXED32: 'TYPE_FIXED32',
- TYPE_BOOL: 'TYPE_BOOL',
- TYPE_STRING: 'TYPE_STRING',
- TYPE_GROUP: 'TYPE_GROUP',
- TYPE_MESSAGE: 'TYPE_MESSAGE',
- TYPE_BYTES: 'TYPE_BYTES',
- TYPE_UINT32: 'TYPE_UINT32',
- TYPE_ENUM: 'TYPE_ENUM',
- TYPE_SFIXED32: 'TYPE_SFIXED32',
- TYPE_SFIXED64: 'TYPE_SFIXED64',
- TYPE_SINT32: 'TYPE_SINT32',
- TYPE_SINT64: 'TYPE_SINT64',
-};
-//# sourceMappingURL=FieldDescriptorProto.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.js.map
deleted file mode 100644
index 95373d0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldDescriptorProto.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FieldDescriptorProto.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/FieldDescriptorProto.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAItB,sBAAsB;AAET,QAAA,2CAA2C,GAAG;IACzD,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;CACxB,CAAC;AAYX,sBAAsB;AAET,QAAA,0CAA0C,GAAG;IACxD,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,YAAY,EAAE,cAAc;IAC5B,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;IACxB,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,eAAe;IAC9B,WAAW,EAAE,aAAa;IAC1B,WAAW,EAAE,aAAa;CAClB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.d.ts
deleted file mode 100644
index 7cc46ff..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.d.ts
+++ /dev/null
@@ -1,99 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-import type { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../../validate/FieldRules';
-import type { Edition as _google_protobuf_Edition, Edition__Output as _google_protobuf_Edition__Output } from '../../google/protobuf/Edition';
-export declare const _google_protobuf_FieldOptions_CType: {
- readonly STRING: "STRING";
- readonly CORD: "CORD";
- readonly STRING_PIECE: "STRING_PIECE";
-};
-export type _google_protobuf_FieldOptions_CType = 'STRING' | 0 | 'CORD' | 1 | 'STRING_PIECE' | 2;
-export type _google_protobuf_FieldOptions_CType__Output = typeof _google_protobuf_FieldOptions_CType[keyof typeof _google_protobuf_FieldOptions_CType];
-export interface _google_protobuf_FieldOptions_EditionDefault {
- 'edition'?: (_google_protobuf_Edition);
- 'value'?: (string);
-}
-export interface _google_protobuf_FieldOptions_EditionDefault__Output {
- 'edition': (_google_protobuf_Edition__Output);
- 'value': (string);
-}
-export interface _google_protobuf_FieldOptions_FeatureSupport {
- 'editionIntroduced'?: (_google_protobuf_Edition);
- 'editionDeprecated'?: (_google_protobuf_Edition);
- 'deprecationWarning'?: (string);
- 'editionRemoved'?: (_google_protobuf_Edition);
-}
-export interface _google_protobuf_FieldOptions_FeatureSupport__Output {
- 'editionIntroduced': (_google_protobuf_Edition__Output);
- 'editionDeprecated': (_google_protobuf_Edition__Output);
- 'deprecationWarning': (string);
- 'editionRemoved': (_google_protobuf_Edition__Output);
-}
-export declare const _google_protobuf_FieldOptions_JSType: {
- readonly JS_NORMAL: "JS_NORMAL";
- readonly JS_STRING: "JS_STRING";
- readonly JS_NUMBER: "JS_NUMBER";
-};
-export type _google_protobuf_FieldOptions_JSType = 'JS_NORMAL' | 0 | 'JS_STRING' | 1 | 'JS_NUMBER' | 2;
-export type _google_protobuf_FieldOptions_JSType__Output = typeof _google_protobuf_FieldOptions_JSType[keyof typeof _google_protobuf_FieldOptions_JSType];
-export declare const _google_protobuf_FieldOptions_OptionRetention: {
- readonly RETENTION_UNKNOWN: "RETENTION_UNKNOWN";
- readonly RETENTION_RUNTIME: "RETENTION_RUNTIME";
- readonly RETENTION_SOURCE: "RETENTION_SOURCE";
-};
-export type _google_protobuf_FieldOptions_OptionRetention = 'RETENTION_UNKNOWN' | 0 | 'RETENTION_RUNTIME' | 1 | 'RETENTION_SOURCE' | 2;
-export type _google_protobuf_FieldOptions_OptionRetention__Output = typeof _google_protobuf_FieldOptions_OptionRetention[keyof typeof _google_protobuf_FieldOptions_OptionRetention];
-export declare const _google_protobuf_FieldOptions_OptionTargetType: {
- readonly TARGET_TYPE_UNKNOWN: "TARGET_TYPE_UNKNOWN";
- readonly TARGET_TYPE_FILE: "TARGET_TYPE_FILE";
- readonly TARGET_TYPE_EXTENSION_RANGE: "TARGET_TYPE_EXTENSION_RANGE";
- readonly TARGET_TYPE_MESSAGE: "TARGET_TYPE_MESSAGE";
- readonly TARGET_TYPE_FIELD: "TARGET_TYPE_FIELD";
- readonly TARGET_TYPE_ONEOF: "TARGET_TYPE_ONEOF";
- readonly TARGET_TYPE_ENUM: "TARGET_TYPE_ENUM";
- readonly TARGET_TYPE_ENUM_ENTRY: "TARGET_TYPE_ENUM_ENTRY";
- readonly TARGET_TYPE_SERVICE: "TARGET_TYPE_SERVICE";
- readonly TARGET_TYPE_METHOD: "TARGET_TYPE_METHOD";
-};
-export type _google_protobuf_FieldOptions_OptionTargetType = 'TARGET_TYPE_UNKNOWN' | 0 | 'TARGET_TYPE_FILE' | 1 | 'TARGET_TYPE_EXTENSION_RANGE' | 2 | 'TARGET_TYPE_MESSAGE' | 3 | 'TARGET_TYPE_FIELD' | 4 | 'TARGET_TYPE_ONEOF' | 5 | 'TARGET_TYPE_ENUM' | 6 | 'TARGET_TYPE_ENUM_ENTRY' | 7 | 'TARGET_TYPE_SERVICE' | 8 | 'TARGET_TYPE_METHOD' | 9;
-export type _google_protobuf_FieldOptions_OptionTargetType__Output = typeof _google_protobuf_FieldOptions_OptionTargetType[keyof typeof _google_protobuf_FieldOptions_OptionTargetType];
-export interface FieldOptions {
- 'ctype'?: (_google_protobuf_FieldOptions_CType);
- 'packed'?: (boolean);
- 'deprecated'?: (boolean);
- 'lazy'?: (boolean);
- 'jstype'?: (_google_protobuf_FieldOptions_JSType);
- /**
- * @deprecated
- */
- 'weak'?: (boolean);
- 'unverifiedLazy'?: (boolean);
- 'debugRedact'?: (boolean);
- 'retention'?: (_google_protobuf_FieldOptions_OptionRetention);
- 'targets'?: (_google_protobuf_FieldOptions_OptionTargetType)[];
- 'editionDefaults'?: (_google_protobuf_FieldOptions_EditionDefault)[];
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'featureSupport'?: (_google_protobuf_FieldOptions_FeatureSupport | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
- '.validate.rules'?: (_validate_FieldRules | null);
-}
-export interface FieldOptions__Output {
- 'ctype': (_google_protobuf_FieldOptions_CType__Output);
- 'packed': (boolean);
- 'deprecated': (boolean);
- 'lazy': (boolean);
- 'jstype': (_google_protobuf_FieldOptions_JSType__Output);
- /**
- * @deprecated
- */
- 'weak': (boolean);
- 'unverifiedLazy': (boolean);
- 'debugRedact': (boolean);
- 'retention': (_google_protobuf_FieldOptions_OptionRetention__Output);
- 'targets': (_google_protobuf_FieldOptions_OptionTargetType__Output)[];
- 'editionDefaults': (_google_protobuf_FieldOptions_EditionDefault__Output)[];
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'featureSupport': (_google_protobuf_FieldOptions_FeatureSupport__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
- '.validate.rules': (_validate_FieldRules__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.js
deleted file mode 100644
index d0cca00..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.js
+++ /dev/null
@@ -1,36 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._google_protobuf_FieldOptions_OptionTargetType = exports._google_protobuf_FieldOptions_OptionRetention = exports._google_protobuf_FieldOptions_JSType = exports._google_protobuf_FieldOptions_CType = void 0;
-// Original file: null
-exports._google_protobuf_FieldOptions_CType = {
- STRING: 'STRING',
- CORD: 'CORD',
- STRING_PIECE: 'STRING_PIECE',
-};
-// Original file: null
-exports._google_protobuf_FieldOptions_JSType = {
- JS_NORMAL: 'JS_NORMAL',
- JS_STRING: 'JS_STRING',
- JS_NUMBER: 'JS_NUMBER',
-};
-// Original file: null
-exports._google_protobuf_FieldOptions_OptionRetention = {
- RETENTION_UNKNOWN: 'RETENTION_UNKNOWN',
- RETENTION_RUNTIME: 'RETENTION_RUNTIME',
- RETENTION_SOURCE: 'RETENTION_SOURCE',
-};
-// Original file: null
-exports._google_protobuf_FieldOptions_OptionTargetType = {
- TARGET_TYPE_UNKNOWN: 'TARGET_TYPE_UNKNOWN',
- TARGET_TYPE_FILE: 'TARGET_TYPE_FILE',
- TARGET_TYPE_EXTENSION_RANGE: 'TARGET_TYPE_EXTENSION_RANGE',
- TARGET_TYPE_MESSAGE: 'TARGET_TYPE_MESSAGE',
- TARGET_TYPE_FIELD: 'TARGET_TYPE_FIELD',
- TARGET_TYPE_ONEOF: 'TARGET_TYPE_ONEOF',
- TARGET_TYPE_ENUM: 'TARGET_TYPE_ENUM',
- TARGET_TYPE_ENUM_ENTRY: 'TARGET_TYPE_ENUM_ENTRY',
- TARGET_TYPE_SERVICE: 'TARGET_TYPE_SERVICE',
- TARGET_TYPE_METHOD: 'TARGET_TYPE_METHOD',
-};
-//# sourceMappingURL=FieldOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.js.map
deleted file mode 100644
index ddf7116..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FieldOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FieldOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/FieldOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAOtB,sBAAsB;AAET,QAAA,mCAAmC,GAAG;IACjD,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,cAAc;CACpB,CAAC;AAoCX,sBAAsB;AAET,QAAA,oCAAoC,GAAG;IAClD,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;CACd,CAAC;AAYX,sBAAsB;AAET,QAAA,6CAA6C,GAAG;IAC3D,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,gBAAgB,EAAE,kBAAkB;CAC5B,CAAC;AAYX,sBAAsB;AAET,QAAA,8CAA8C,GAAG;IAC5D,mBAAmB,EAAE,qBAAqB;IAC1C,gBAAgB,EAAE,kBAAkB;IACpC,2BAA2B,EAAE,6BAA6B;IAC1D,mBAAmB,EAAE,qBAAqB;IAC1C,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,gBAAgB,EAAE,kBAAkB;IACpC,sBAAsB,EAAE,wBAAwB;IAChD,mBAAmB,EAAE,qBAAqB;IAC1C,kBAAkB,EAAE,oBAAoB;CAChC,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.d.ts
deleted file mode 100644
index 6e71048..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.d.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-import type { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from '../../google/protobuf/DescriptorProto';
-import type { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from '../../google/protobuf/EnumDescriptorProto';
-import type { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from '../../google/protobuf/ServiceDescriptorProto';
-import type { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from '../../google/protobuf/FieldDescriptorProto';
-import type { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from '../../google/protobuf/FileOptions';
-import type { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from '../../google/protobuf/SourceCodeInfo';
-import type { Edition as _google_protobuf_Edition, Edition__Output as _google_protobuf_Edition__Output } from '../../google/protobuf/Edition';
-export interface FileDescriptorProto {
- 'name'?: (string);
- 'package'?: (string);
- 'dependency'?: (string)[];
- 'messageType'?: (_google_protobuf_DescriptorProto)[];
- 'enumType'?: (_google_protobuf_EnumDescriptorProto)[];
- 'service'?: (_google_protobuf_ServiceDescriptorProto)[];
- 'extension'?: (_google_protobuf_FieldDescriptorProto)[];
- 'options'?: (_google_protobuf_FileOptions | null);
- 'sourceCodeInfo'?: (_google_protobuf_SourceCodeInfo | null);
- 'publicDependency'?: (number)[];
- 'weakDependency'?: (number)[];
- 'syntax'?: (string);
- 'edition'?: (_google_protobuf_Edition);
- 'optionDependency'?: (string)[];
-}
-export interface FileDescriptorProto__Output {
- 'name': (string);
- 'package': (string);
- 'dependency': (string)[];
- 'messageType': (_google_protobuf_DescriptorProto__Output)[];
- 'enumType': (_google_protobuf_EnumDescriptorProto__Output)[];
- 'service': (_google_protobuf_ServiceDescriptorProto__Output)[];
- 'extension': (_google_protobuf_FieldDescriptorProto__Output)[];
- 'options': (_google_protobuf_FileOptions__Output | null);
- 'sourceCodeInfo': (_google_protobuf_SourceCodeInfo__Output | null);
- 'publicDependency': (number)[];
- 'weakDependency': (number)[];
- 'syntax': (string);
- 'edition': (_google_protobuf_Edition__Output);
- 'optionDependency': (string)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.js
deleted file mode 100644
index 9eb665d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=FileDescriptorProto.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.js.map
deleted file mode 100644
index cb1e0ce..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorProto.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FileDescriptorProto.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/FileDescriptorProto.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.d.ts
deleted file mode 100644
index 18931c1..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import type { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from '../../google/protobuf/FileDescriptorProto';
-export interface FileDescriptorSet {
- 'file'?: (_google_protobuf_FileDescriptorProto)[];
-}
-export interface FileDescriptorSet__Output {
- 'file': (_google_protobuf_FileDescriptorProto__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.js
deleted file mode 100644
index fcbe86a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=FileDescriptorSet.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.js.map
deleted file mode 100644
index a911e6f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileDescriptorSet.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FileDescriptorSet.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/FileDescriptorSet.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.d.ts
deleted file mode 100644
index e5bfa52..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.d.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-export declare const _google_protobuf_FileOptions_OptimizeMode: {
- readonly SPEED: "SPEED";
- readonly CODE_SIZE: "CODE_SIZE";
- readonly LITE_RUNTIME: "LITE_RUNTIME";
-};
-export type _google_protobuf_FileOptions_OptimizeMode = 'SPEED' | 1 | 'CODE_SIZE' | 2 | 'LITE_RUNTIME' | 3;
-export type _google_protobuf_FileOptions_OptimizeMode__Output = typeof _google_protobuf_FileOptions_OptimizeMode[keyof typeof _google_protobuf_FileOptions_OptimizeMode];
-export interface FileOptions {
- 'javaPackage'?: (string);
- 'javaOuterClassname'?: (string);
- 'optimizeFor'?: (_google_protobuf_FileOptions_OptimizeMode);
- 'javaMultipleFiles'?: (boolean);
- 'goPackage'?: (string);
- 'ccGenericServices'?: (boolean);
- 'javaGenericServices'?: (boolean);
- 'pyGenericServices'?: (boolean);
- /**
- * @deprecated
- */
- 'javaGenerateEqualsAndHash'?: (boolean);
- 'deprecated'?: (boolean);
- 'javaStringCheckUtf8'?: (boolean);
- 'ccEnableArenas'?: (boolean);
- 'objcClassPrefix'?: (string);
- 'csharpNamespace'?: (string);
- 'swiftPrefix'?: (string);
- 'phpClassPrefix'?: (string);
- 'phpNamespace'?: (string);
- 'phpMetadataNamespace'?: (string);
- 'rubyPackage'?: (string);
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
-}
-export interface FileOptions__Output {
- 'javaPackage': (string);
- 'javaOuterClassname': (string);
- 'optimizeFor': (_google_protobuf_FileOptions_OptimizeMode__Output);
- 'javaMultipleFiles': (boolean);
- 'goPackage': (string);
- 'ccGenericServices': (boolean);
- 'javaGenericServices': (boolean);
- 'pyGenericServices': (boolean);
- /**
- * @deprecated
- */
- 'javaGenerateEqualsAndHash': (boolean);
- 'deprecated': (boolean);
- 'javaStringCheckUtf8': (boolean);
- 'ccEnableArenas': (boolean);
- 'objcClassPrefix': (string);
- 'csharpNamespace': (string);
- 'swiftPrefix': (string);
- 'phpClassPrefix': (string);
- 'phpNamespace': (string);
- 'phpMetadataNamespace': (string);
- 'rubyPackage': (string);
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.js
deleted file mode 100644
index abf630e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._google_protobuf_FileOptions_OptimizeMode = void 0;
-// Original file: null
-exports._google_protobuf_FileOptions_OptimizeMode = {
- SPEED: 'SPEED',
- CODE_SIZE: 'CODE_SIZE',
- LITE_RUNTIME: 'LITE_RUNTIME',
-};
-//# sourceMappingURL=FileOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.js.map
deleted file mode 100644
index 3b2bc9e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FileOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FileOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/FileOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAKtB,sBAAsB;AAET,QAAA,yCAAyC,GAAG;IACvD,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,YAAY,EAAE,cAAc;CACpB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.d.ts
deleted file mode 100644
index 33bd60b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export interface FloatValue {
- 'value'?: (number | string);
-}
-export interface FloatValue__Output {
- 'value': (number);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.js
deleted file mode 100644
index 17290a2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=FloatValue.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.js.map
deleted file mode 100644
index bf27b78..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/FloatValue.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FloatValue.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/FloatValue.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.d.ts
deleted file mode 100644
index 586daa7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-export interface _google_protobuf_GeneratedCodeInfo_Annotation {
- 'path'?: (number)[];
- 'sourceFile'?: (string);
- 'begin'?: (number);
- 'end'?: (number);
- 'semantic'?: (_google_protobuf_GeneratedCodeInfo_Annotation_Semantic);
-}
-export interface _google_protobuf_GeneratedCodeInfo_Annotation__Output {
- 'path': (number)[];
- 'sourceFile': (string);
- 'begin': (number);
- 'end': (number);
- 'semantic': (_google_protobuf_GeneratedCodeInfo_Annotation_Semantic__Output);
-}
-export declare const _google_protobuf_GeneratedCodeInfo_Annotation_Semantic: {
- readonly NONE: "NONE";
- readonly SET: "SET";
- readonly ALIAS: "ALIAS";
-};
-export type _google_protobuf_GeneratedCodeInfo_Annotation_Semantic = 'NONE' | 0 | 'SET' | 1 | 'ALIAS' | 2;
-export type _google_protobuf_GeneratedCodeInfo_Annotation_Semantic__Output = typeof _google_protobuf_GeneratedCodeInfo_Annotation_Semantic[keyof typeof _google_protobuf_GeneratedCodeInfo_Annotation_Semantic];
-export interface GeneratedCodeInfo {
- 'annotation'?: (_google_protobuf_GeneratedCodeInfo_Annotation)[];
-}
-export interface GeneratedCodeInfo__Output {
- 'annotation': (_google_protobuf_GeneratedCodeInfo_Annotation__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.js
deleted file mode 100644
index b63e564..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._google_protobuf_GeneratedCodeInfo_Annotation_Semantic = void 0;
-// Original file: null
-exports._google_protobuf_GeneratedCodeInfo_Annotation_Semantic = {
- NONE: 'NONE',
- SET: 'SET',
- ALIAS: 'ALIAS',
-};
-//# sourceMappingURL=GeneratedCodeInfo.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.js.map
deleted file mode 100644
index c26b200..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/GeneratedCodeInfo.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GeneratedCodeInfo.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/GeneratedCodeInfo.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAmBtB,sBAAsB;AAET,QAAA,sDAAsD,GAAG;IACpE,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;CACN,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.d.ts
deleted file mode 100644
index 895fb9d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export interface Int32Value {
- 'value'?: (number);
-}
-export interface Int32Value__Output {
- 'value': (number);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.js
deleted file mode 100644
index dc46343..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Int32Value.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.js.map
deleted file mode 100644
index 157e73a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int32Value.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Int32Value.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/Int32Value.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.d.ts
deleted file mode 100644
index 00bd119..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface Int64Value {
- 'value'?: (number | string | Long);
-}
-export interface Int64Value__Output {
- 'value': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.js
deleted file mode 100644
index a77bc96..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Int64Value.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.js.map
deleted file mode 100644
index b8894b1..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Int64Value.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Int64Value.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/Int64Value.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.d.ts
deleted file mode 100644
index 3369f96..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.d.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-export interface MessageOptions {
- 'messageSetWireFormat'?: (boolean);
- 'noStandardDescriptorAccessor'?: (boolean);
- 'deprecated'?: (boolean);
- 'mapEntry'?: (boolean);
- /**
- * @deprecated
- */
- 'deprecatedLegacyJsonFieldConflicts'?: (boolean);
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
- '.validate.disabled'?: (boolean);
-}
-export interface MessageOptions__Output {
- 'messageSetWireFormat': (boolean);
- 'noStandardDescriptorAccessor': (boolean);
- 'deprecated': (boolean);
- 'mapEntry': (boolean);
- /**
- * @deprecated
- */
- 'deprecatedLegacyJsonFieldConflicts': (boolean);
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
- '.validate.disabled': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.js
deleted file mode 100644
index aff6546..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=MessageOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.js.map
deleted file mode 100644
index 0f78196..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MessageOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"MessageOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/MessageOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.d.ts
deleted file mode 100644
index 7b39b72..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.d.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from '../../google/protobuf/MethodOptions';
-export interface MethodDescriptorProto {
- 'name'?: (string);
- 'inputType'?: (string);
- 'outputType'?: (string);
- 'options'?: (_google_protobuf_MethodOptions | null);
- 'clientStreaming'?: (boolean);
- 'serverStreaming'?: (boolean);
-}
-export interface MethodDescriptorProto__Output {
- 'name': (string);
- 'inputType': (string);
- 'outputType': (string);
- 'options': (_google_protobuf_MethodOptions__Output | null);
- 'clientStreaming': (boolean);
- 'serverStreaming': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.js
deleted file mode 100644
index 939d4e2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=MethodDescriptorProto.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.js.map
deleted file mode 100644
index 6b6f373..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodDescriptorProto.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"MethodDescriptorProto.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/MethodDescriptorProto.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.d.ts
deleted file mode 100644
index 389f621..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-export declare const _google_protobuf_MethodOptions_IdempotencyLevel: {
- readonly IDEMPOTENCY_UNKNOWN: "IDEMPOTENCY_UNKNOWN";
- readonly NO_SIDE_EFFECTS: "NO_SIDE_EFFECTS";
- readonly IDEMPOTENT: "IDEMPOTENT";
-};
-export type _google_protobuf_MethodOptions_IdempotencyLevel = 'IDEMPOTENCY_UNKNOWN' | 0 | 'NO_SIDE_EFFECTS' | 1 | 'IDEMPOTENT' | 2;
-export type _google_protobuf_MethodOptions_IdempotencyLevel__Output = typeof _google_protobuf_MethodOptions_IdempotencyLevel[keyof typeof _google_protobuf_MethodOptions_IdempotencyLevel];
-export interface MethodOptions {
- 'deprecated'?: (boolean);
- 'idempotencyLevel'?: (_google_protobuf_MethodOptions_IdempotencyLevel);
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
-}
-export interface MethodOptions__Output {
- 'deprecated': (boolean);
- 'idempotencyLevel': (_google_protobuf_MethodOptions_IdempotencyLevel__Output);
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.js
deleted file mode 100644
index c82ee01..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.js
+++ /dev/null
@@ -1,11 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._google_protobuf_MethodOptions_IdempotencyLevel = void 0;
-// Original file: null
-exports._google_protobuf_MethodOptions_IdempotencyLevel = {
- IDEMPOTENCY_UNKNOWN: 'IDEMPOTENCY_UNKNOWN',
- NO_SIDE_EFFECTS: 'NO_SIDE_EFFECTS',
- IDEMPOTENT: 'IDEMPOTENT',
-};
-//# sourceMappingURL=MethodOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.js.map
deleted file mode 100644
index 4c2d1a3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/MethodOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"MethodOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/MethodOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAKtB,sBAAsB;AAET,QAAA,+CAA+C,GAAG;IAC7D,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,iBAAiB;IAClC,UAAU,EAAE,YAAY;CAChB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.d.ts
deleted file mode 100644
index 4dc1e13..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from '../../google/protobuf/OneofOptions';
-export interface OneofDescriptorProto {
- 'name'?: (string);
- 'options'?: (_google_protobuf_OneofOptions | null);
-}
-export interface OneofDescriptorProto__Output {
- 'name': (string);
- 'options': (_google_protobuf_OneofOptions__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.js
deleted file mode 100644
index 80102f4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=OneofDescriptorProto.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.js.map
deleted file mode 100644
index b6d3568..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofDescriptorProto.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OneofDescriptorProto.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/OneofDescriptorProto.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.d.ts
deleted file mode 100644
index 072d3e2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-export interface OneofOptions {
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
- '.validate.required'?: (boolean);
-}
-export interface OneofOptions__Output {
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
- '.validate.required': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.js
deleted file mode 100644
index 5060198..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=OneofOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.js.map
deleted file mode 100644
index 207e815..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/OneofOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OneofOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/OneofOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.d.ts
deleted file mode 100644
index 96b5517..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from '../../google/protobuf/MethodDescriptorProto';
-import type { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from '../../google/protobuf/ServiceOptions';
-export interface ServiceDescriptorProto {
- 'name'?: (string);
- 'method'?: (_google_protobuf_MethodDescriptorProto)[];
- 'options'?: (_google_protobuf_ServiceOptions | null);
-}
-export interface ServiceDescriptorProto__Output {
- 'name': (string);
- 'method': (_google_protobuf_MethodDescriptorProto__Output)[];
- 'options': (_google_protobuf_ServiceOptions__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.js
deleted file mode 100644
index 727eeb4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=ServiceDescriptorProto.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.js.map
deleted file mode 100644
index 92e01ad..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceDescriptorProto.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ServiceDescriptorProto.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/ServiceDescriptorProto.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.d.ts
deleted file mode 100644
index cf0d0ad..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from '../../google/protobuf/FeatureSet';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from '../../google/protobuf/UninterpretedOption';
-export interface ServiceOptions {
- 'deprecated'?: (boolean);
- 'features'?: (_google_protobuf_FeatureSet | null);
- 'uninterpretedOption'?: (_google_protobuf_UninterpretedOption)[];
-}
-export interface ServiceOptions__Output {
- 'deprecated': (boolean);
- 'features': (_google_protobuf_FeatureSet__Output | null);
- 'uninterpretedOption': (_google_protobuf_UninterpretedOption__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.js
deleted file mode 100644
index f8ad6b7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=ServiceOptions.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.js.map
deleted file mode 100644
index 10443df..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/ServiceOptions.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ServiceOptions.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/ServiceOptions.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.d.ts
deleted file mode 100644
index 165dbfa..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-export interface _google_protobuf_SourceCodeInfo_Location {
- 'path'?: (number)[];
- 'span'?: (number)[];
- 'leadingComments'?: (string);
- 'trailingComments'?: (string);
- 'leadingDetachedComments'?: (string)[];
-}
-export interface _google_protobuf_SourceCodeInfo_Location__Output {
- 'path': (number)[];
- 'span': (number)[];
- 'leadingComments': (string);
- 'trailingComments': (string);
- 'leadingDetachedComments': (string)[];
-}
-export interface SourceCodeInfo {
- 'location'?: (_google_protobuf_SourceCodeInfo_Location)[];
-}
-export interface SourceCodeInfo__Output {
- 'location': (_google_protobuf_SourceCodeInfo_Location__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.js
deleted file mode 100644
index 065992b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SourceCodeInfo.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.js.map
deleted file mode 100644
index 13b7406..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SourceCodeInfo.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SourceCodeInfo.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/SourceCodeInfo.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.d.ts
deleted file mode 100644
index 74230c9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export interface StringValue {
- 'value'?: (string);
-}
-export interface StringValue__Output {
- 'value': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.js
deleted file mode 100644
index 0836e97..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=StringValue.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.js.map
deleted file mode 100644
index bc05ddc..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/StringValue.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"StringValue.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/StringValue.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.d.ts
deleted file mode 100644
index 7327d0a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-export declare const SymbolVisibility: {
- readonly VISIBILITY_UNSET: "VISIBILITY_UNSET";
- readonly VISIBILITY_LOCAL: "VISIBILITY_LOCAL";
- readonly VISIBILITY_EXPORT: "VISIBILITY_EXPORT";
-};
-export type SymbolVisibility = 'VISIBILITY_UNSET' | 0 | 'VISIBILITY_LOCAL' | 1 | 'VISIBILITY_EXPORT' | 2;
-export type SymbolVisibility__Output = typeof SymbolVisibility[keyof typeof SymbolVisibility];
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.js
deleted file mode 100644
index 4119671..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.js
+++ /dev/null
@@ -1,10 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SymbolVisibility = void 0;
-exports.SymbolVisibility = {
- VISIBILITY_UNSET: 'VISIBILITY_UNSET',
- VISIBILITY_LOCAL: 'VISIBILITY_LOCAL',
- VISIBILITY_EXPORT: 'VISIBILITY_EXPORT',
-};
-//# sourceMappingURL=SymbolVisibility.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.js.map
deleted file mode 100644
index f69c165..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/SymbolVisibility.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SymbolVisibility.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/SymbolVisibility.ts"],"names":[],"mappings":";AAAA,sBAAsB;;;AAET,QAAA,gBAAgB,GAAG;IAC9B,gBAAgB,EAAE,kBAAkB;IACpC,gBAAgB,EAAE,kBAAkB;IACpC,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.d.ts
deleted file mode 100644
index 900ff5a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface Timestamp {
- 'seconds'?: (number | string | Long);
- 'nanos'?: (number);
-}
-export interface Timestamp__Output {
- 'seconds': (string);
- 'nanos': (number);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.js
deleted file mode 100644
index dcca213..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Timestamp.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.js.map
deleted file mode 100644
index e90342e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/Timestamp.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Timestamp.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/Timestamp.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.d.ts
deleted file mode 100644
index d7e185f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.d.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export interface UInt32Value {
- 'value'?: (number);
-}
-export interface UInt32Value__Output {
- 'value': (number);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.js
deleted file mode 100644
index 889cd2e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=UInt32Value.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.js.map
deleted file mode 100644
index 2a0420f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt32Value.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"UInt32Value.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/UInt32Value.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.d.ts
deleted file mode 100644
index fe94d29..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface UInt64Value {
- 'value'?: (number | string | Long);
-}
-export interface UInt64Value__Output {
- 'value': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.js
deleted file mode 100644
index 2a06a69..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=UInt64Value.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.js.map
deleted file mode 100644
index 4ea43ca..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UInt64Value.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"UInt64Value.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/UInt64Value.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.d.ts
deleted file mode 100644
index 9bc5adc..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface _google_protobuf_UninterpretedOption_NamePart {
- 'namePart'?: (string);
- 'isExtension'?: (boolean);
-}
-export interface _google_protobuf_UninterpretedOption_NamePart__Output {
- 'namePart': (string);
- 'isExtension': (boolean);
-}
-export interface UninterpretedOption {
- 'name'?: (_google_protobuf_UninterpretedOption_NamePart)[];
- 'identifierValue'?: (string);
- 'positiveIntValue'?: (number | string | Long);
- 'negativeIntValue'?: (number | string | Long);
- 'doubleValue'?: (number | string);
- 'stringValue'?: (Buffer | Uint8Array | string);
- 'aggregateValue'?: (string);
-}
-export interface UninterpretedOption__Output {
- 'name': (_google_protobuf_UninterpretedOption_NamePart__Output)[];
- 'identifierValue': (string);
- 'positiveIntValue': (string);
- 'negativeIntValue': (string);
- 'doubleValue': (number);
- 'stringValue': (Buffer);
- 'aggregateValue': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.js b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.js
deleted file mode 100644
index b3ebb69..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: null
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=UninterpretedOption.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.js.map b/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.js.map
deleted file mode 100644
index 607583a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/google/protobuf/UninterpretedOption.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"UninterpretedOption.js","sourceRoot":"","sources":["../../../../../src/generated/google/protobuf/UninterpretedOption.ts"],"names":[],"mappings":";AAAA,sBAAsB"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.d.ts
deleted file mode 100644
index dbf0fa8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.d.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any';
-/**
- * An address type not included above.
- */
-export interface _grpc_channelz_v1_Address_OtherAddress {
- /**
- * The human readable version of the value. This value should be set.
- */
- 'name'?: (string);
- /**
- * The actual address message.
- */
- 'value'?: (_google_protobuf_Any | null);
-}
-/**
- * An address type not included above.
- */
-export interface _grpc_channelz_v1_Address_OtherAddress__Output {
- /**
- * The human readable version of the value. This value should be set.
- */
- 'name': (string);
- /**
- * The actual address message.
- */
- 'value': (_google_protobuf_Any__Output | null);
-}
-export interface _grpc_channelz_v1_Address_TcpIpAddress {
- /**
- * Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16
- * bytes in length.
- */
- 'ip_address'?: (Buffer | Uint8Array | string);
- /**
- * 0-64k, or -1 if not appropriate.
- */
- 'port'?: (number);
-}
-export interface _grpc_channelz_v1_Address_TcpIpAddress__Output {
- /**
- * Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16
- * bytes in length.
- */
- 'ip_address': (Buffer);
- /**
- * 0-64k, or -1 if not appropriate.
- */
- 'port': (number);
-}
-/**
- * A Unix Domain Socket address.
- */
-export interface _grpc_channelz_v1_Address_UdsAddress {
- 'filename'?: (string);
-}
-/**
- * A Unix Domain Socket address.
- */
-export interface _grpc_channelz_v1_Address_UdsAddress__Output {
- 'filename': (string);
-}
-/**
- * Address represents the address used to create the socket.
- */
-export interface Address {
- 'tcpip_address'?: (_grpc_channelz_v1_Address_TcpIpAddress | null);
- 'uds_address'?: (_grpc_channelz_v1_Address_UdsAddress | null);
- 'other_address'?: (_grpc_channelz_v1_Address_OtherAddress | null);
- 'address'?: "tcpip_address" | "uds_address" | "other_address";
-}
-/**
- * Address represents the address used to create the socket.
- */
-export interface Address__Output {
- 'tcpip_address'?: (_grpc_channelz_v1_Address_TcpIpAddress__Output | null);
- 'uds_address'?: (_grpc_channelz_v1_Address_UdsAddress__Output | null);
- 'other_address'?: (_grpc_channelz_v1_Address_OtherAddress__Output | null);
- 'address'?: "tcpip_address" | "uds_address" | "other_address";
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.js
deleted file mode 100644
index 6f15b91..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Address.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.js.map
deleted file mode 100644
index 554d6da..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Address.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Address.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/Address.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.d.ts
deleted file mode 100644
index 3bd11ca..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.d.ts
+++ /dev/null
@@ -1,64 +0,0 @@
-import type { ChannelRef as _grpc_channelz_v1_ChannelRef, ChannelRef__Output as _grpc_channelz_v1_ChannelRef__Output } from '../../../grpc/channelz/v1/ChannelRef';
-import type { ChannelData as _grpc_channelz_v1_ChannelData, ChannelData__Output as _grpc_channelz_v1_ChannelData__Output } from '../../../grpc/channelz/v1/ChannelData';
-import type { SubchannelRef as _grpc_channelz_v1_SubchannelRef, SubchannelRef__Output as _grpc_channelz_v1_SubchannelRef__Output } from '../../../grpc/channelz/v1/SubchannelRef';
-import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';
-/**
- * Channel is a logical grouping of channels, subchannels, and sockets.
- */
-export interface Channel {
- /**
- * The identifier for this channel. This should bet set.
- */
- 'ref'?: (_grpc_channelz_v1_ChannelRef | null);
- /**
- * Data specific to this channel.
- */
- 'data'?: (_grpc_channelz_v1_ChannelData | null);
- /**
- * There are no ordering guarantees on the order of channel refs.
- * There may not be cycles in the ref graph.
- * A channel ref may be present in more than one channel or subchannel.
- */
- 'channel_ref'?: (_grpc_channelz_v1_ChannelRef)[];
- /**
- * At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
- * There are no ordering guarantees on the order of subchannel refs.
- * There may not be cycles in the ref graph.
- * A sub channel ref may be present in more than one channel or subchannel.
- */
- 'subchannel_ref'?: (_grpc_channelz_v1_SubchannelRef)[];
- /**
- * There are no ordering guarantees on the order of sockets.
- */
- 'socket_ref'?: (_grpc_channelz_v1_SocketRef)[];
-}
-/**
- * Channel is a logical grouping of channels, subchannels, and sockets.
- */
-export interface Channel__Output {
- /**
- * The identifier for this channel. This should bet set.
- */
- 'ref': (_grpc_channelz_v1_ChannelRef__Output | null);
- /**
- * Data specific to this channel.
- */
- 'data': (_grpc_channelz_v1_ChannelData__Output | null);
- /**
- * There are no ordering guarantees on the order of channel refs.
- * There may not be cycles in the ref graph.
- * A channel ref may be present in more than one channel or subchannel.
- */
- 'channel_ref': (_grpc_channelz_v1_ChannelRef__Output)[];
- /**
- * At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
- * There are no ordering guarantees on the order of subchannel refs.
- * There may not be cycles in the ref graph.
- * A sub channel ref may be present in more than one channel or subchannel.
- */
- 'subchannel_ref': (_grpc_channelz_v1_SubchannelRef__Output)[];
- /**
- * There are no ordering guarantees on the order of sockets.
- */
- 'socket_ref': (_grpc_channelz_v1_SocketRef__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.js
deleted file mode 100644
index d9bc55a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Channel.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.js.map
deleted file mode 100644
index 5dd6b69..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channel.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Channel.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/Channel.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.d.ts
deleted file mode 100644
index 2ea3833..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-export declare const _grpc_channelz_v1_ChannelConnectivityState_State: {
- readonly UNKNOWN: "UNKNOWN";
- readonly IDLE: "IDLE";
- readonly CONNECTING: "CONNECTING";
- readonly READY: "READY";
- readonly TRANSIENT_FAILURE: "TRANSIENT_FAILURE";
- readonly SHUTDOWN: "SHUTDOWN";
-};
-export type _grpc_channelz_v1_ChannelConnectivityState_State = 'UNKNOWN' | 0 | 'IDLE' | 1 | 'CONNECTING' | 2 | 'READY' | 3 | 'TRANSIENT_FAILURE' | 4 | 'SHUTDOWN' | 5;
-export type _grpc_channelz_v1_ChannelConnectivityState_State__Output = typeof _grpc_channelz_v1_ChannelConnectivityState_State[keyof typeof _grpc_channelz_v1_ChannelConnectivityState_State];
-/**
- * These come from the specified states in this document:
- * https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md
- */
-export interface ChannelConnectivityState {
- 'state'?: (_grpc_channelz_v1_ChannelConnectivityState_State);
-}
-/**
- * These come from the specified states in this document:
- * https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md
- */
-export interface ChannelConnectivityState__Output {
- 'state': (_grpc_channelz_v1_ChannelConnectivityState_State__Output);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js
deleted file mode 100644
index 2a783d9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js
+++ /dev/null
@@ -1,14 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._grpc_channelz_v1_ChannelConnectivityState_State = void 0;
-// Original file: proto/channelz.proto
-exports._grpc_channelz_v1_ChannelConnectivityState_State = {
- UNKNOWN: 'UNKNOWN',
- IDLE: 'IDLE',
- CONNECTING: 'CONNECTING',
- READY: 'READY',
- TRANSIENT_FAILURE: 'TRANSIENT_FAILURE',
- SHUTDOWN: 'SHUTDOWN',
-};
-//# sourceMappingURL=ChannelConnectivityState.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js.map
deleted file mode 100644
index d4b2567..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelConnectivityState.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ChannelConnectivityState.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/ChannelConnectivityState.ts"],"names":[],"mappings":";AAAA,sCAAsC;;;AAGtC,sCAAsC;AAEzB,QAAA,gDAAgD,GAAG;IAC9D,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,iBAAiB,EAAE,mBAAmB;IACtC,QAAQ,EAAE,UAAU;CACZ,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.d.ts
deleted file mode 100644
index 3d9716a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.d.ts
+++ /dev/null
@@ -1,72 +0,0 @@
-import type { ChannelConnectivityState as _grpc_channelz_v1_ChannelConnectivityState, ChannelConnectivityState__Output as _grpc_channelz_v1_ChannelConnectivityState__Output } from '../../../grpc/channelz/v1/ChannelConnectivityState';
-import type { ChannelTrace as _grpc_channelz_v1_ChannelTrace, ChannelTrace__Output as _grpc_channelz_v1_ChannelTrace__Output } from '../../../grpc/channelz/v1/ChannelTrace';
-import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp';
-import type { Long } from '@grpc/proto-loader';
-/**
- * Channel data is data related to a specific Channel or Subchannel.
- */
-export interface ChannelData {
- /**
- * The connectivity state of the channel or subchannel. Implementations
- * should always set this.
- */
- 'state'?: (_grpc_channelz_v1_ChannelConnectivityState | null);
- /**
- * The target this channel originally tried to connect to. May be absent
- */
- 'target'?: (string);
- /**
- * A trace of recent events on the channel. May be absent.
- */
- 'trace'?: (_grpc_channelz_v1_ChannelTrace | null);
- /**
- * The number of calls started on the channel
- */
- 'calls_started'?: (number | string | Long);
- /**
- * The number of calls that have completed with an OK status
- */
- 'calls_succeeded'?: (number | string | Long);
- /**
- * The number of calls that have completed with a non-OK status
- */
- 'calls_failed'?: (number | string | Long);
- /**
- * The last time a call was started on the channel.
- */
- 'last_call_started_timestamp'?: (_google_protobuf_Timestamp | null);
-}
-/**
- * Channel data is data related to a specific Channel or Subchannel.
- */
-export interface ChannelData__Output {
- /**
- * The connectivity state of the channel or subchannel. Implementations
- * should always set this.
- */
- 'state': (_grpc_channelz_v1_ChannelConnectivityState__Output | null);
- /**
- * The target this channel originally tried to connect to. May be absent
- */
- 'target': (string);
- /**
- * A trace of recent events on the channel. May be absent.
- */
- 'trace': (_grpc_channelz_v1_ChannelTrace__Output | null);
- /**
- * The number of calls started on the channel
- */
- 'calls_started': (string);
- /**
- * The number of calls that have completed with an OK status
- */
- 'calls_succeeded': (string);
- /**
- * The number of calls that have completed with a non-OK status
- */
- 'calls_failed': (string);
- /**
- * The last time a call was started on the channel.
- */
- 'last_call_started_timestamp': (_google_protobuf_Timestamp__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.js
deleted file mode 100644
index dffbd45..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=ChannelData.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.js.map
deleted file mode 100644
index bb2b4c4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelData.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ChannelData.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/ChannelData.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.d.ts
deleted file mode 100644
index 29deef9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * ChannelRef is a reference to a Channel.
- */
-export interface ChannelRef {
- /**
- * The globally unique id for this channel. Must be a positive number.
- */
- 'channel_id'?: (number | string | Long);
- /**
- * An optional name associated with the channel.
- */
- 'name'?: (string);
-}
-/**
- * ChannelRef is a reference to a Channel.
- */
-export interface ChannelRef__Output {
- /**
- * The globally unique id for this channel. Must be a positive number.
- */
- 'channel_id': (string);
- /**
- * An optional name associated with the channel.
- */
- 'name': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.js
deleted file mode 100644
index d239819..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=ChannelRef.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.js.map
deleted file mode 100644
index 1030ded..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelRef.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ChannelRef.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/ChannelRef.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.d.ts
deleted file mode 100644
index 5b6170a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.d.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp';
-import type { ChannelTraceEvent as _grpc_channelz_v1_ChannelTraceEvent, ChannelTraceEvent__Output as _grpc_channelz_v1_ChannelTraceEvent__Output } from '../../../grpc/channelz/v1/ChannelTraceEvent';
-import type { Long } from '@grpc/proto-loader';
-/**
- * ChannelTrace represents the recent events that have occurred on the channel.
- */
-export interface ChannelTrace {
- /**
- * Number of events ever logged in this tracing object. This can differ from
- * events.size() because events can be overwritten or garbage collected by
- * implementations.
- */
- 'num_events_logged'?: (number | string | Long);
- /**
- * Time that this channel was created.
- */
- 'creation_timestamp'?: (_google_protobuf_Timestamp | null);
- /**
- * List of events that have occurred on this channel.
- */
- 'events'?: (_grpc_channelz_v1_ChannelTraceEvent)[];
-}
-/**
- * ChannelTrace represents the recent events that have occurred on the channel.
- */
-export interface ChannelTrace__Output {
- /**
- * Number of events ever logged in this tracing object. This can differ from
- * events.size() because events can be overwritten or garbage collected by
- * implementations.
- */
- 'num_events_logged': (string);
- /**
- * Time that this channel was created.
- */
- 'creation_timestamp': (_google_protobuf_Timestamp__Output | null);
- /**
- * List of events that have occurred on this channel.
- */
- 'events': (_grpc_channelz_v1_ChannelTraceEvent__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.js
deleted file mode 100644
index 112069c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=ChannelTrace.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.js.map
deleted file mode 100644
index 2f665dc..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTrace.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ChannelTrace.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/ChannelTrace.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.d.ts
deleted file mode 100644
index 7cb594d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.d.ts
+++ /dev/null
@@ -1,74 +0,0 @@
-import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp';
-import type { ChannelRef as _grpc_channelz_v1_ChannelRef, ChannelRef__Output as _grpc_channelz_v1_ChannelRef__Output } from '../../../grpc/channelz/v1/ChannelRef';
-import type { SubchannelRef as _grpc_channelz_v1_SubchannelRef, SubchannelRef__Output as _grpc_channelz_v1_SubchannelRef__Output } from '../../../grpc/channelz/v1/SubchannelRef';
-/**
- * The supported severity levels of trace events.
- */
-export declare const _grpc_channelz_v1_ChannelTraceEvent_Severity: {
- readonly CT_UNKNOWN: "CT_UNKNOWN";
- readonly CT_INFO: "CT_INFO";
- readonly CT_WARNING: "CT_WARNING";
- readonly CT_ERROR: "CT_ERROR";
-};
-/**
- * The supported severity levels of trace events.
- */
-export type _grpc_channelz_v1_ChannelTraceEvent_Severity = 'CT_UNKNOWN' | 0 | 'CT_INFO' | 1 | 'CT_WARNING' | 2 | 'CT_ERROR' | 3;
-/**
- * The supported severity levels of trace events.
- */
-export type _grpc_channelz_v1_ChannelTraceEvent_Severity__Output = typeof _grpc_channelz_v1_ChannelTraceEvent_Severity[keyof typeof _grpc_channelz_v1_ChannelTraceEvent_Severity];
-/**
- * A trace event is an interesting thing that happened to a channel or
- * subchannel, such as creation, address resolution, subchannel creation, etc.
- */
-export interface ChannelTraceEvent {
- /**
- * High level description of the event.
- */
- 'description'?: (string);
- /**
- * the severity of the trace event
- */
- 'severity'?: (_grpc_channelz_v1_ChannelTraceEvent_Severity);
- /**
- * When this event occurred.
- */
- 'timestamp'?: (_google_protobuf_Timestamp | null);
- 'channel_ref'?: (_grpc_channelz_v1_ChannelRef | null);
- 'subchannel_ref'?: (_grpc_channelz_v1_SubchannelRef | null);
- /**
- * ref of referenced channel or subchannel.
- * Optional, only present if this event refers to a child object. For example,
- * this field would be filled if this trace event was for a subchannel being
- * created.
- */
- 'child_ref'?: "channel_ref" | "subchannel_ref";
-}
-/**
- * A trace event is an interesting thing that happened to a channel or
- * subchannel, such as creation, address resolution, subchannel creation, etc.
- */
-export interface ChannelTraceEvent__Output {
- /**
- * High level description of the event.
- */
- 'description': (string);
- /**
- * the severity of the trace event
- */
- 'severity': (_grpc_channelz_v1_ChannelTraceEvent_Severity__Output);
- /**
- * When this event occurred.
- */
- 'timestamp': (_google_protobuf_Timestamp__Output | null);
- 'channel_ref'?: (_grpc_channelz_v1_ChannelRef__Output | null);
- 'subchannel_ref'?: (_grpc_channelz_v1_SubchannelRef__Output | null);
- /**
- * ref of referenced channel or subchannel.
- * Optional, only present if this event refers to a child object. For example,
- * this field would be filled if this trace event was for a subchannel being
- * created.
- */
- 'child_ref'?: "channel_ref" | "subchannel_ref";
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js
deleted file mode 100644
index ae9981b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js
+++ /dev/null
@@ -1,15 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-exports._grpc_channelz_v1_ChannelTraceEvent_Severity = void 0;
-// Original file: proto/channelz.proto
-/**
- * The supported severity levels of trace events.
- */
-exports._grpc_channelz_v1_ChannelTraceEvent_Severity = {
- CT_UNKNOWN: 'CT_UNKNOWN',
- CT_INFO: 'CT_INFO',
- CT_WARNING: 'CT_WARNING',
- CT_ERROR: 'CT_ERROR',
-};
-//# sourceMappingURL=ChannelTraceEvent.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js.map
deleted file mode 100644
index 2ed003c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ChannelTraceEvent.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ChannelTraceEvent.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/ChannelTraceEvent.ts"],"names":[],"mappings":";AAAA,sCAAsC;;;AAMtC,sCAAsC;AAEtC;;GAEG;AACU,QAAA,4CAA4C,GAAG;IAC1D,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,QAAQ,EAAE,UAAU;CACZ,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.d.ts
deleted file mode 100644
index 3e9eb98..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.d.ts
+++ /dev/null
@@ -1,159 +0,0 @@
-import type * as grpc from '../../../../index';
-import type { MethodDefinition } from '@grpc/proto-loader';
-import type { GetChannelRequest as _grpc_channelz_v1_GetChannelRequest, GetChannelRequest__Output as _grpc_channelz_v1_GetChannelRequest__Output } from '../../../grpc/channelz/v1/GetChannelRequest';
-import type { GetChannelResponse as _grpc_channelz_v1_GetChannelResponse, GetChannelResponse__Output as _grpc_channelz_v1_GetChannelResponse__Output } from '../../../grpc/channelz/v1/GetChannelResponse';
-import type { GetServerRequest as _grpc_channelz_v1_GetServerRequest, GetServerRequest__Output as _grpc_channelz_v1_GetServerRequest__Output } from '../../../grpc/channelz/v1/GetServerRequest';
-import type { GetServerResponse as _grpc_channelz_v1_GetServerResponse, GetServerResponse__Output as _grpc_channelz_v1_GetServerResponse__Output } from '../../../grpc/channelz/v1/GetServerResponse';
-import type { GetServerSocketsRequest as _grpc_channelz_v1_GetServerSocketsRequest, GetServerSocketsRequest__Output as _grpc_channelz_v1_GetServerSocketsRequest__Output } from '../../../grpc/channelz/v1/GetServerSocketsRequest';
-import type { GetServerSocketsResponse as _grpc_channelz_v1_GetServerSocketsResponse, GetServerSocketsResponse__Output as _grpc_channelz_v1_GetServerSocketsResponse__Output } from '../../../grpc/channelz/v1/GetServerSocketsResponse';
-import type { GetServersRequest as _grpc_channelz_v1_GetServersRequest, GetServersRequest__Output as _grpc_channelz_v1_GetServersRequest__Output } from '../../../grpc/channelz/v1/GetServersRequest';
-import type { GetServersResponse as _grpc_channelz_v1_GetServersResponse, GetServersResponse__Output as _grpc_channelz_v1_GetServersResponse__Output } from '../../../grpc/channelz/v1/GetServersResponse';
-import type { GetSocketRequest as _grpc_channelz_v1_GetSocketRequest, GetSocketRequest__Output as _grpc_channelz_v1_GetSocketRequest__Output } from '../../../grpc/channelz/v1/GetSocketRequest';
-import type { GetSocketResponse as _grpc_channelz_v1_GetSocketResponse, GetSocketResponse__Output as _grpc_channelz_v1_GetSocketResponse__Output } from '../../../grpc/channelz/v1/GetSocketResponse';
-import type { GetSubchannelRequest as _grpc_channelz_v1_GetSubchannelRequest, GetSubchannelRequest__Output as _grpc_channelz_v1_GetSubchannelRequest__Output } from '../../../grpc/channelz/v1/GetSubchannelRequest';
-import type { GetSubchannelResponse as _grpc_channelz_v1_GetSubchannelResponse, GetSubchannelResponse__Output as _grpc_channelz_v1_GetSubchannelResponse__Output } from '../../../grpc/channelz/v1/GetSubchannelResponse';
-import type { GetTopChannelsRequest as _grpc_channelz_v1_GetTopChannelsRequest, GetTopChannelsRequest__Output as _grpc_channelz_v1_GetTopChannelsRequest__Output } from '../../../grpc/channelz/v1/GetTopChannelsRequest';
-import type { GetTopChannelsResponse as _grpc_channelz_v1_GetTopChannelsResponse, GetTopChannelsResponse__Output as _grpc_channelz_v1_GetTopChannelsResponse__Output } from '../../../grpc/channelz/v1/GetTopChannelsResponse';
-/**
- * Channelz is a service exposed by gRPC servers that provides detailed debug
- * information.
- */
-export interface ChannelzClient extends grpc.Client {
- /**
- * Returns a single Channel, or else a NOT_FOUND code.
- */
- GetChannel(argument: _grpc_channelz_v1_GetChannelRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetChannelResponse__Output>): grpc.ClientUnaryCall;
- GetChannel(argument: _grpc_channelz_v1_GetChannelRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetChannelResponse__Output>): grpc.ClientUnaryCall;
- GetChannel(argument: _grpc_channelz_v1_GetChannelRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetChannelResponse__Output>): grpc.ClientUnaryCall;
- GetChannel(argument: _grpc_channelz_v1_GetChannelRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetChannelResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Returns a single Server, or else a NOT_FOUND code.
- */
- GetServer(argument: _grpc_channelz_v1_GetServerRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerResponse__Output>): grpc.ClientUnaryCall;
- GetServer(argument: _grpc_channelz_v1_GetServerRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerResponse__Output>): grpc.ClientUnaryCall;
- GetServer(argument: _grpc_channelz_v1_GetServerRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerResponse__Output>): grpc.ClientUnaryCall;
- GetServer(argument: _grpc_channelz_v1_GetServerRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Returns a single Server, or else a NOT_FOUND code.
- */
- getServer(argument: _grpc_channelz_v1_GetServerRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerResponse__Output>): grpc.ClientUnaryCall;
- getServer(argument: _grpc_channelz_v1_GetServerRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerResponse__Output>): grpc.ClientUnaryCall;
- getServer(argument: _grpc_channelz_v1_GetServerRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerResponse__Output>): grpc.ClientUnaryCall;
- getServer(argument: _grpc_channelz_v1_GetServerRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Gets all server sockets that exist in the process.
- */
- GetServerSockets(argument: _grpc_channelz_v1_GetServerSocketsRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerSocketsResponse__Output>): grpc.ClientUnaryCall;
- GetServerSockets(argument: _grpc_channelz_v1_GetServerSocketsRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerSocketsResponse__Output>): grpc.ClientUnaryCall;
- GetServerSockets(argument: _grpc_channelz_v1_GetServerSocketsRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerSocketsResponse__Output>): grpc.ClientUnaryCall;
- GetServerSockets(argument: _grpc_channelz_v1_GetServerSocketsRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerSocketsResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Gets all server sockets that exist in the process.
- */
- getServerSockets(argument: _grpc_channelz_v1_GetServerSocketsRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerSocketsResponse__Output>): grpc.ClientUnaryCall;
- getServerSockets(argument: _grpc_channelz_v1_GetServerSocketsRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerSocketsResponse__Output>): grpc.ClientUnaryCall;
- getServerSockets(argument: _grpc_channelz_v1_GetServerSocketsRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerSocketsResponse__Output>): grpc.ClientUnaryCall;
- getServerSockets(argument: _grpc_channelz_v1_GetServerSocketsRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetServerSocketsResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Gets all servers that exist in the process.
- */
- GetServers(argument: _grpc_channelz_v1_GetServersRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServersResponse__Output>): grpc.ClientUnaryCall;
- GetServers(argument: _grpc_channelz_v1_GetServersRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetServersResponse__Output>): grpc.ClientUnaryCall;
- GetServers(argument: _grpc_channelz_v1_GetServersRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServersResponse__Output>): grpc.ClientUnaryCall;
- GetServers(argument: _grpc_channelz_v1_GetServersRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetServersResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Gets all servers that exist in the process.
- */
- getServers(argument: _grpc_channelz_v1_GetServersRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServersResponse__Output>): grpc.ClientUnaryCall;
- getServers(argument: _grpc_channelz_v1_GetServersRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetServersResponse__Output>): grpc.ClientUnaryCall;
- getServers(argument: _grpc_channelz_v1_GetServersRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetServersResponse__Output>): grpc.ClientUnaryCall;
- getServers(argument: _grpc_channelz_v1_GetServersRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetServersResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Returns a single Socket or else a NOT_FOUND code.
- */
- GetSocket(argument: _grpc_channelz_v1_GetSocketRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetSocketResponse__Output>): grpc.ClientUnaryCall;
- GetSocket(argument: _grpc_channelz_v1_GetSocketRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetSocketResponse__Output>): grpc.ClientUnaryCall;
- GetSocket(argument: _grpc_channelz_v1_GetSocketRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetSocketResponse__Output>): grpc.ClientUnaryCall;
- GetSocket(argument: _grpc_channelz_v1_GetSocketRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetSocketResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Returns a single Socket or else a NOT_FOUND code.
- */
- getSocket(argument: _grpc_channelz_v1_GetSocketRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetSocketResponse__Output>): grpc.ClientUnaryCall;
- getSocket(argument: _grpc_channelz_v1_GetSocketRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetSocketResponse__Output>): grpc.ClientUnaryCall;
- getSocket(argument: _grpc_channelz_v1_GetSocketRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetSocketResponse__Output>): grpc.ClientUnaryCall;
- getSocket(argument: _grpc_channelz_v1_GetSocketRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetSocketResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Returns a single Subchannel, or else a NOT_FOUND code.
- */
- GetSubchannel(argument: _grpc_channelz_v1_GetSubchannelRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetSubchannelResponse__Output>): grpc.ClientUnaryCall;
- GetSubchannel(argument: _grpc_channelz_v1_GetSubchannelRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetSubchannelResponse__Output>): grpc.ClientUnaryCall;
- GetSubchannel(argument: _grpc_channelz_v1_GetSubchannelRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetSubchannelResponse__Output>): grpc.ClientUnaryCall;
- GetSubchannel(argument: _grpc_channelz_v1_GetSubchannelRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetSubchannelResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Returns a single Subchannel, or else a NOT_FOUND code.
- */
- getSubchannel(argument: _grpc_channelz_v1_GetSubchannelRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetSubchannelResponse__Output>): grpc.ClientUnaryCall;
- getSubchannel(argument: _grpc_channelz_v1_GetSubchannelRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetSubchannelResponse__Output>): grpc.ClientUnaryCall;
- getSubchannel(argument: _grpc_channelz_v1_GetSubchannelRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetSubchannelResponse__Output>): grpc.ClientUnaryCall;
- getSubchannel(argument: _grpc_channelz_v1_GetSubchannelRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetSubchannelResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Gets all root channels (i.e. channels the application has directly
- * created). This does not include subchannels nor non-top level channels.
- */
- GetTopChannels(argument: _grpc_channelz_v1_GetTopChannelsRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetTopChannelsResponse__Output>): grpc.ClientUnaryCall;
- GetTopChannels(argument: _grpc_channelz_v1_GetTopChannelsRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetTopChannelsResponse__Output>): grpc.ClientUnaryCall;
- GetTopChannels(argument: _grpc_channelz_v1_GetTopChannelsRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetTopChannelsResponse__Output>): grpc.ClientUnaryCall;
- GetTopChannels(argument: _grpc_channelz_v1_GetTopChannelsRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetTopChannelsResponse__Output>): grpc.ClientUnaryCall;
- /**
- * Gets all root channels (i.e. channels the application has directly
- * created). This does not include subchannels nor non-top level channels.
- */
- getTopChannels(argument: _grpc_channelz_v1_GetTopChannelsRequest, metadata: grpc.Metadata, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetTopChannelsResponse__Output>): grpc.ClientUnaryCall;
- getTopChannels(argument: _grpc_channelz_v1_GetTopChannelsRequest, metadata: grpc.Metadata, callback: grpc.requestCallback<_grpc_channelz_v1_GetTopChannelsResponse__Output>): grpc.ClientUnaryCall;
- getTopChannels(argument: _grpc_channelz_v1_GetTopChannelsRequest, options: grpc.CallOptions, callback: grpc.requestCallback<_grpc_channelz_v1_GetTopChannelsResponse__Output>): grpc.ClientUnaryCall;
- getTopChannels(argument: _grpc_channelz_v1_GetTopChannelsRequest, callback: grpc.requestCallback<_grpc_channelz_v1_GetTopChannelsResponse__Output>): grpc.ClientUnaryCall;
-}
-/**
- * Channelz is a service exposed by gRPC servers that provides detailed debug
- * information.
- */
-export interface ChannelzHandlers extends grpc.UntypedServiceImplementation {
- /**
- * Returns a single Channel, or else a NOT_FOUND code.
- */
- GetChannel: grpc.handleUnaryCall<_grpc_channelz_v1_GetChannelRequest__Output, _grpc_channelz_v1_GetChannelResponse>;
- /**
- * Returns a single Server, or else a NOT_FOUND code.
- */
- GetServer: grpc.handleUnaryCall<_grpc_channelz_v1_GetServerRequest__Output, _grpc_channelz_v1_GetServerResponse>;
- /**
- * Gets all server sockets that exist in the process.
- */
- GetServerSockets: grpc.handleUnaryCall<_grpc_channelz_v1_GetServerSocketsRequest__Output, _grpc_channelz_v1_GetServerSocketsResponse>;
- /**
- * Gets all servers that exist in the process.
- */
- GetServers: grpc.handleUnaryCall<_grpc_channelz_v1_GetServersRequest__Output, _grpc_channelz_v1_GetServersResponse>;
- /**
- * Returns a single Socket or else a NOT_FOUND code.
- */
- GetSocket: grpc.handleUnaryCall<_grpc_channelz_v1_GetSocketRequest__Output, _grpc_channelz_v1_GetSocketResponse>;
- /**
- * Returns a single Subchannel, or else a NOT_FOUND code.
- */
- GetSubchannel: grpc.handleUnaryCall<_grpc_channelz_v1_GetSubchannelRequest__Output, _grpc_channelz_v1_GetSubchannelResponse>;
- /**
- * Gets all root channels (i.e. channels the application has directly
- * created). This does not include subchannels nor non-top level channels.
- */
- GetTopChannels: grpc.handleUnaryCall<_grpc_channelz_v1_GetTopChannelsRequest__Output, _grpc_channelz_v1_GetTopChannelsResponse>;
-}
-export interface ChannelzDefinition extends grpc.ServiceDefinition {
- GetChannel: MethodDefinition<_grpc_channelz_v1_GetChannelRequest, _grpc_channelz_v1_GetChannelResponse, _grpc_channelz_v1_GetChannelRequest__Output, _grpc_channelz_v1_GetChannelResponse__Output>;
- GetServer: MethodDefinition<_grpc_channelz_v1_GetServerRequest, _grpc_channelz_v1_GetServerResponse, _grpc_channelz_v1_GetServerRequest__Output, _grpc_channelz_v1_GetServerResponse__Output>;
- GetServerSockets: MethodDefinition<_grpc_channelz_v1_GetServerSocketsRequest, _grpc_channelz_v1_GetServerSocketsResponse, _grpc_channelz_v1_GetServerSocketsRequest__Output, _grpc_channelz_v1_GetServerSocketsResponse__Output>;
- GetServers: MethodDefinition<_grpc_channelz_v1_GetServersRequest, _grpc_channelz_v1_GetServersResponse, _grpc_channelz_v1_GetServersRequest__Output, _grpc_channelz_v1_GetServersResponse__Output>;
- GetSocket: MethodDefinition<_grpc_channelz_v1_GetSocketRequest, _grpc_channelz_v1_GetSocketResponse, _grpc_channelz_v1_GetSocketRequest__Output, _grpc_channelz_v1_GetSocketResponse__Output>;
- GetSubchannel: MethodDefinition<_grpc_channelz_v1_GetSubchannelRequest, _grpc_channelz_v1_GetSubchannelResponse, _grpc_channelz_v1_GetSubchannelRequest__Output, _grpc_channelz_v1_GetSubchannelResponse__Output>;
- GetTopChannels: MethodDefinition<_grpc_channelz_v1_GetTopChannelsRequest, _grpc_channelz_v1_GetTopChannelsResponse, _grpc_channelz_v1_GetTopChannelsRequest__Output, _grpc_channelz_v1_GetTopChannelsResponse__Output>;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.js
deleted file mode 100644
index 9fdf9fc..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Channelz.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.js.map
deleted file mode 100644
index 86fafec..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Channelz.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Channelz.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/Channelz.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.d.ts
deleted file mode 100644
index 4956cfa..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface GetChannelRequest {
- /**
- * channel_id is the identifier of the specific channel to get.
- */
- 'channel_id'?: (number | string | Long);
-}
-export interface GetChannelRequest__Output {
- /**
- * channel_id is the identifier of the specific channel to get.
- */
- 'channel_id': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.js
deleted file mode 100644
index 10948d4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetChannelRequest.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.js.map
deleted file mode 100644
index 0ae3f26..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelRequest.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetChannelRequest.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetChannelRequest.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.d.ts
deleted file mode 100644
index 2fbab92..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { Channel as _grpc_channelz_v1_Channel, Channel__Output as _grpc_channelz_v1_Channel__Output } from '../../../grpc/channelz/v1/Channel';
-export interface GetChannelResponse {
- /**
- * The Channel that corresponds to the requested channel_id. This field
- * should be set.
- */
- 'channel'?: (_grpc_channelz_v1_Channel | null);
-}
-export interface GetChannelResponse__Output {
- /**
- * The Channel that corresponds to the requested channel_id. This field
- * should be set.
- */
- 'channel': (_grpc_channelz_v1_Channel__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.js
deleted file mode 100644
index 02a4426..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetChannelResponse.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.js.map
deleted file mode 100644
index a3cfefb..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetChannelResponse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetChannelResponse.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetChannelResponse.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.d.ts
deleted file mode 100644
index 1df8503..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface GetServerRequest {
- /**
- * server_id is the identifier of the specific server to get.
- */
- 'server_id'?: (number | string | Long);
-}
-export interface GetServerRequest__Output {
- /**
- * server_id is the identifier of the specific server to get.
- */
- 'server_id': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.js
deleted file mode 100644
index 77717b4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetServerRequest.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.js.map
deleted file mode 100644
index 86fbba6..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerRequest.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetServerRequest.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetServerRequest.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.d.ts
deleted file mode 100644
index 2da13dd..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { Server as _grpc_channelz_v1_Server, Server__Output as _grpc_channelz_v1_Server__Output } from '../../../grpc/channelz/v1/Server';
-export interface GetServerResponse {
- /**
- * The Server that corresponds to the requested server_id. This field
- * should be set.
- */
- 'server'?: (_grpc_channelz_v1_Server | null);
-}
-export interface GetServerResponse__Output {
- /**
- * The Server that corresponds to the requested server_id. This field
- * should be set.
- */
- 'server': (_grpc_channelz_v1_Server__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.js
deleted file mode 100644
index 130eb1b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetServerResponse.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.js.map
deleted file mode 100644
index f4b16ff..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerResponse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetServerResponse.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetServerResponse.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.d.ts
deleted file mode 100644
index d810b92..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.d.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface GetServerSocketsRequest {
- 'server_id'?: (number | string | Long);
- /**
- * start_socket_id indicates that only sockets at or above this id should be
- * included in the results.
- * To request the first page, this must be set to 0. To request
- * subsequent pages, the client generates this value by adding 1 to
- * the highest seen result ID.
- */
- 'start_socket_id'?: (number | string | Long);
- /**
- * If non-zero, the server will return a page of results containing
- * at most this many items. If zero, the server will choose a
- * reasonable page size. Must never be negative.
- */
- 'max_results'?: (number | string | Long);
-}
-export interface GetServerSocketsRequest__Output {
- 'server_id': (string);
- /**
- * start_socket_id indicates that only sockets at or above this id should be
- * included in the results.
- * To request the first page, this must be set to 0. To request
- * subsequent pages, the client generates this value by adding 1 to
- * the highest seen result ID.
- */
- 'start_socket_id': (string);
- /**
- * If non-zero, the server will return a page of results containing
- * at most this many items. If zero, the server will choose a
- * reasonable page size. Must never be negative.
- */
- 'max_results': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js
deleted file mode 100644
index 1a15183..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetServerSocketsRequest.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js.map
deleted file mode 100644
index 458dd98..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsRequest.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetServerSocketsRequest.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetServerSocketsRequest.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.d.ts
deleted file mode 100644
index 4c329ae..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';
-export interface GetServerSocketsResponse {
- /**
- * list of socket refs that the connection detail service knows about. Sorted in
- * ascending socket_id order.
- * Must contain at least 1 result, otherwise 'end' must be true.
- */
- 'socket_ref'?: (_grpc_channelz_v1_SocketRef)[];
- /**
- * If set, indicates that the list of sockets is the final list. Requesting
- * more sockets will only return more if they are created after this RPC
- * completes.
- */
- 'end'?: (boolean);
-}
-export interface GetServerSocketsResponse__Output {
- /**
- * list of socket refs that the connection detail service knows about. Sorted in
- * ascending socket_id order.
- * Must contain at least 1 result, otherwise 'end' must be true.
- */
- 'socket_ref': (_grpc_channelz_v1_SocketRef__Output)[];
- /**
- * If set, indicates that the list of sockets is the final list. Requesting
- * more sockets will only return more if they are created after this RPC
- * completes.
- */
- 'end': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js
deleted file mode 100644
index 29e424f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetServerSocketsResponse.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js.map
deleted file mode 100644
index dc99923..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServerSocketsResponse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetServerSocketsResponse.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetServerSocketsResponse.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.d.ts
deleted file mode 100644
index 64ace6e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.d.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface GetServersRequest {
- /**
- * start_server_id indicates that only servers at or above this id should be
- * included in the results.
- * To request the first page, this must be set to 0. To request
- * subsequent pages, the client generates this value by adding 1 to
- * the highest seen result ID.
- */
- 'start_server_id'?: (number | string | Long);
- /**
- * If non-zero, the server will return a page of results containing
- * at most this many items. If zero, the server will choose a
- * reasonable page size. Must never be negative.
- */
- 'max_results'?: (number | string | Long);
-}
-export interface GetServersRequest__Output {
- /**
- * start_server_id indicates that only servers at or above this id should be
- * included in the results.
- * To request the first page, this must be set to 0. To request
- * subsequent pages, the client generates this value by adding 1 to
- * the highest seen result ID.
- */
- 'start_server_id': (string);
- /**
- * If non-zero, the server will return a page of results containing
- * at most this many items. If zero, the server will choose a
- * reasonable page size. Must never be negative.
- */
- 'max_results': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.js
deleted file mode 100644
index 7371813..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetServersRequest.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.js.map
deleted file mode 100644
index db7c710..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersRequest.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetServersRequest.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetServersRequest.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.d.ts
deleted file mode 100644
index d3840cd..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import type { Server as _grpc_channelz_v1_Server, Server__Output as _grpc_channelz_v1_Server__Output } from '../../../grpc/channelz/v1/Server';
-export interface GetServersResponse {
- /**
- * list of servers that the connection detail service knows about. Sorted in
- * ascending server_id order.
- * Must contain at least 1 result, otherwise 'end' must be true.
- */
- 'server'?: (_grpc_channelz_v1_Server)[];
- /**
- * If set, indicates that the list of servers is the final list. Requesting
- * more servers will only return more if they are created after this RPC
- * completes.
- */
- 'end'?: (boolean);
-}
-export interface GetServersResponse__Output {
- /**
- * list of servers that the connection detail service knows about. Sorted in
- * ascending server_id order.
- * Must contain at least 1 result, otherwise 'end' must be true.
- */
- 'server': (_grpc_channelz_v1_Server__Output)[];
- /**
- * If set, indicates that the list of servers is the final list. Requesting
- * more servers will only return more if they are created after this RPC
- * completes.
- */
- 'end': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.js
deleted file mode 100644
index 5124298..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetServersResponse.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.js.map
deleted file mode 100644
index 74e4bba..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetServersResponse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetServersResponse.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetServersResponse.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.d.ts
deleted file mode 100644
index f80615c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface GetSocketRequest {
- /**
- * socket_id is the identifier of the specific socket to get.
- */
- 'socket_id'?: (number | string | Long);
- /**
- * If true, the response will contain only high level information
- * that is inexpensive to obtain. Fields thay may be omitted are
- * documented.
- */
- 'summary'?: (boolean);
-}
-export interface GetSocketRequest__Output {
- /**
- * socket_id is the identifier of the specific socket to get.
- */
- 'socket_id': (string);
- /**
- * If true, the response will contain only high level information
- * that is inexpensive to obtain. Fields thay may be omitted are
- * documented.
- */
- 'summary': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.js
deleted file mode 100644
index 40ad25b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetSocketRequest.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.js.map
deleted file mode 100644
index 3b4c180..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketRequest.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetSocketRequest.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetSocketRequest.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.d.ts
deleted file mode 100644
index a9795d3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { Socket as _grpc_channelz_v1_Socket, Socket__Output as _grpc_channelz_v1_Socket__Output } from '../../../grpc/channelz/v1/Socket';
-export interface GetSocketResponse {
- /**
- * The Socket that corresponds to the requested socket_id. This field
- * should be set.
- */
- 'socket'?: (_grpc_channelz_v1_Socket | null);
-}
-export interface GetSocketResponse__Output {
- /**
- * The Socket that corresponds to the requested socket_id. This field
- * should be set.
- */
- 'socket': (_grpc_channelz_v1_Socket__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.js
deleted file mode 100644
index ace0ef2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetSocketResponse.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.js.map
deleted file mode 100644
index 90fada3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSocketResponse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetSocketResponse.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetSocketResponse.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.d.ts
deleted file mode 100644
index 114a91f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface GetSubchannelRequest {
- /**
- * subchannel_id is the identifier of the specific subchannel to get.
- */
- 'subchannel_id'?: (number | string | Long);
-}
-export interface GetSubchannelRequest__Output {
- /**
- * subchannel_id is the identifier of the specific subchannel to get.
- */
- 'subchannel_id': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js
deleted file mode 100644
index 90f45ea..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetSubchannelRequest.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js.map
deleted file mode 100644
index b8f8f62..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelRequest.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetSubchannelRequest.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetSubchannelRequest.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.d.ts
deleted file mode 100644
index 455639f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { Subchannel as _grpc_channelz_v1_Subchannel, Subchannel__Output as _grpc_channelz_v1_Subchannel__Output } from '../../../grpc/channelz/v1/Subchannel';
-export interface GetSubchannelResponse {
- /**
- * The Subchannel that corresponds to the requested subchannel_id. This
- * field should be set.
- */
- 'subchannel'?: (_grpc_channelz_v1_Subchannel | null);
-}
-export interface GetSubchannelResponse__Output {
- /**
- * The Subchannel that corresponds to the requested subchannel_id. This
- * field should be set.
- */
- 'subchannel': (_grpc_channelz_v1_Subchannel__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js
deleted file mode 100644
index 52d4111..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetSubchannelResponse.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js.map
deleted file mode 100644
index b39861f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetSubchannelResponse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetSubchannelResponse.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetSubchannelResponse.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.d.ts
deleted file mode 100644
index 43049af..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.d.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface GetTopChannelsRequest {
- /**
- * start_channel_id indicates that only channels at or above this id should be
- * included in the results.
- * To request the first page, this should be set to 0. To request
- * subsequent pages, the client generates this value by adding 1 to
- * the highest seen result ID.
- */
- 'start_channel_id'?: (number | string | Long);
- /**
- * If non-zero, the server will return a page of results containing
- * at most this many items. If zero, the server will choose a
- * reasonable page size. Must never be negative.
- */
- 'max_results'?: (number | string | Long);
-}
-export interface GetTopChannelsRequest__Output {
- /**
- * start_channel_id indicates that only channels at or above this id should be
- * included in the results.
- * To request the first page, this should be set to 0. To request
- * subsequent pages, the client generates this value by adding 1 to
- * the highest seen result ID.
- */
- 'start_channel_id': (string);
- /**
- * If non-zero, the server will return a page of results containing
- * at most this many items. If zero, the server will choose a
- * reasonable page size. Must never be negative.
- */
- 'max_results': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js
deleted file mode 100644
index 8b3e023..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetTopChannelsRequest.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js.map
deleted file mode 100644
index c4ffc68..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsRequest.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetTopChannelsRequest.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetTopChannelsRequest.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.d.ts
deleted file mode 100644
index 03f282f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import type { Channel as _grpc_channelz_v1_Channel, Channel__Output as _grpc_channelz_v1_Channel__Output } from '../../../grpc/channelz/v1/Channel';
-export interface GetTopChannelsResponse {
- /**
- * list of channels that the connection detail service knows about. Sorted in
- * ascending channel_id order.
- * Must contain at least 1 result, otherwise 'end' must be true.
- */
- 'channel'?: (_grpc_channelz_v1_Channel)[];
- /**
- * If set, indicates that the list of channels is the final list. Requesting
- * more channels can only return more if they are created after this RPC
- * completes.
- */
- 'end'?: (boolean);
-}
-export interface GetTopChannelsResponse__Output {
- /**
- * list of channels that the connection detail service knows about. Sorted in
- * ascending channel_id order.
- * Must contain at least 1 result, otherwise 'end' must be true.
- */
- 'channel': (_grpc_channelz_v1_Channel__Output)[];
- /**
- * If set, indicates that the list of channels is the final list. Requesting
- * more channels can only return more if they are created after this RPC
- * completes.
- */
- 'end': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js
deleted file mode 100644
index 44f1c91..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=GetTopChannelsResponse.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js.map
deleted file mode 100644
index b691e5e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/GetTopChannelsResponse.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"GetTopChannelsResponse.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/GetTopChannelsResponse.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.d.ts
deleted file mode 100644
index a30090a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.d.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any';
-export interface _grpc_channelz_v1_Security_OtherSecurity {
- /**
- * The human readable version of the value.
- */
- 'name'?: (string);
- /**
- * The actual security details message.
- */
- 'value'?: (_google_protobuf_Any | null);
-}
-export interface _grpc_channelz_v1_Security_OtherSecurity__Output {
- /**
- * The human readable version of the value.
- */
- 'name': (string);
- /**
- * The actual security details message.
- */
- 'value': (_google_protobuf_Any__Output | null);
-}
-export interface _grpc_channelz_v1_Security_Tls {
- /**
- * The cipher suite name in the RFC 4346 format:
- * https://tools.ietf.org/html/rfc4346#appendix-C
- */
- 'standard_name'?: (string);
- /**
- * Some other way to describe the cipher suite if
- * the RFC 4346 name is not available.
- */
- 'other_name'?: (string);
- /**
- * the certificate used by this endpoint.
- */
- 'local_certificate'?: (Buffer | Uint8Array | string);
- /**
- * the certificate used by the remote endpoint.
- */
- 'remote_certificate'?: (Buffer | Uint8Array | string);
- 'cipher_suite'?: "standard_name" | "other_name";
-}
-export interface _grpc_channelz_v1_Security_Tls__Output {
- /**
- * The cipher suite name in the RFC 4346 format:
- * https://tools.ietf.org/html/rfc4346#appendix-C
- */
- 'standard_name'?: (string);
- /**
- * Some other way to describe the cipher suite if
- * the RFC 4346 name is not available.
- */
- 'other_name'?: (string);
- /**
- * the certificate used by this endpoint.
- */
- 'local_certificate': (Buffer);
- /**
- * the certificate used by the remote endpoint.
- */
- 'remote_certificate': (Buffer);
- 'cipher_suite'?: "standard_name" | "other_name";
-}
-/**
- * Security represents details about how secure the socket is.
- */
-export interface Security {
- 'tls'?: (_grpc_channelz_v1_Security_Tls | null);
- 'other'?: (_grpc_channelz_v1_Security_OtherSecurity | null);
- 'model'?: "tls" | "other";
-}
-/**
- * Security represents details about how secure the socket is.
- */
-export interface Security__Output {
- 'tls'?: (_grpc_channelz_v1_Security_Tls__Output | null);
- 'other'?: (_grpc_channelz_v1_Security_OtherSecurity__Output | null);
- 'model'?: "tls" | "other";
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.js
deleted file mode 100644
index 022b367..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Security.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.js.map
deleted file mode 100644
index 3243c97..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Security.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Security.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/Security.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.d.ts
deleted file mode 100644
index 8d984af..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.d.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-import type { ServerRef as _grpc_channelz_v1_ServerRef, ServerRef__Output as _grpc_channelz_v1_ServerRef__Output } from '../../../grpc/channelz/v1/ServerRef';
-import type { ServerData as _grpc_channelz_v1_ServerData, ServerData__Output as _grpc_channelz_v1_ServerData__Output } from '../../../grpc/channelz/v1/ServerData';
-import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';
-/**
- * Server represents a single server. There may be multiple servers in a single
- * program.
- */
-export interface Server {
- /**
- * The identifier for a Server. This should be set.
- */
- 'ref'?: (_grpc_channelz_v1_ServerRef | null);
- /**
- * The associated data of the Server.
- */
- 'data'?: (_grpc_channelz_v1_ServerData | null);
- /**
- * The sockets that the server is listening on. There are no ordering
- * guarantees. This may be absent.
- */
- 'listen_socket'?: (_grpc_channelz_v1_SocketRef)[];
-}
-/**
- * Server represents a single server. There may be multiple servers in a single
- * program.
- */
-export interface Server__Output {
- /**
- * The identifier for a Server. This should be set.
- */
- 'ref': (_grpc_channelz_v1_ServerRef__Output | null);
- /**
- * The associated data of the Server.
- */
- 'data': (_grpc_channelz_v1_ServerData__Output | null);
- /**
- * The sockets that the server is listening on. There are no ordering
- * guarantees. This may be absent.
- */
- 'listen_socket': (_grpc_channelz_v1_SocketRef__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.js
deleted file mode 100644
index b230e4d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Server.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.js.map
deleted file mode 100644
index 522934d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Server.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Server.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/Server.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.d.ts
deleted file mode 100644
index 7a2de0f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.d.ts
+++ /dev/null
@@ -1,53 +0,0 @@
-import type { ChannelTrace as _grpc_channelz_v1_ChannelTrace, ChannelTrace__Output as _grpc_channelz_v1_ChannelTrace__Output } from '../../../grpc/channelz/v1/ChannelTrace';
-import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp';
-import type { Long } from '@grpc/proto-loader';
-/**
- * ServerData is data for a specific Server.
- */
-export interface ServerData {
- /**
- * A trace of recent events on the server. May be absent.
- */
- 'trace'?: (_grpc_channelz_v1_ChannelTrace | null);
- /**
- * The number of incoming calls started on the server
- */
- 'calls_started'?: (number | string | Long);
- /**
- * The number of incoming calls that have completed with an OK status
- */
- 'calls_succeeded'?: (number | string | Long);
- /**
- * The number of incoming calls that have a completed with a non-OK status
- */
- 'calls_failed'?: (number | string | Long);
- /**
- * The last time a call was started on the server.
- */
- 'last_call_started_timestamp'?: (_google_protobuf_Timestamp | null);
-}
-/**
- * ServerData is data for a specific Server.
- */
-export interface ServerData__Output {
- /**
- * A trace of recent events on the server. May be absent.
- */
- 'trace': (_grpc_channelz_v1_ChannelTrace__Output | null);
- /**
- * The number of incoming calls started on the server
- */
- 'calls_started': (string);
- /**
- * The number of incoming calls that have completed with an OK status
- */
- 'calls_succeeded': (string);
- /**
- * The number of incoming calls that have a completed with a non-OK status
- */
- 'calls_failed': (string);
- /**
- * The last time a call was started on the server.
- */
- 'last_call_started_timestamp': (_google_protobuf_Timestamp__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.js
deleted file mode 100644
index 53d92a6..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=ServerData.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.js.map
deleted file mode 100644
index b78c5b4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerData.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ServerData.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/ServerData.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.d.ts
deleted file mode 100644
index 778b87d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * ServerRef is a reference to a Server.
- */
-export interface ServerRef {
- /**
- * A globally unique identifier for this server. Must be a positive number.
- */
- 'server_id'?: (number | string | Long);
- /**
- * An optional name associated with the server.
- */
- 'name'?: (string);
-}
-/**
- * ServerRef is a reference to a Server.
- */
-export interface ServerRef__Output {
- /**
- * A globally unique identifier for this server. Must be a positive number.
- */
- 'server_id': (string);
- /**
- * An optional name associated with the server.
- */
- 'name': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.js
deleted file mode 100644
index 9a623c7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=ServerRef.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.js.map
deleted file mode 100644
index 75f5aad..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/ServerRef.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"ServerRef.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/ServerRef.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.d.ts
deleted file mode 100644
index 91d4ad8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.d.ts
+++ /dev/null
@@ -1,66 +0,0 @@
-import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';
-import type { SocketData as _grpc_channelz_v1_SocketData, SocketData__Output as _grpc_channelz_v1_SocketData__Output } from '../../../grpc/channelz/v1/SocketData';
-import type { Address as _grpc_channelz_v1_Address, Address__Output as _grpc_channelz_v1_Address__Output } from '../../../grpc/channelz/v1/Address';
-import type { Security as _grpc_channelz_v1_Security, Security__Output as _grpc_channelz_v1_Security__Output } from '../../../grpc/channelz/v1/Security';
-/**
- * Information about an actual connection. Pronounced "sock-ay".
- */
-export interface Socket {
- /**
- * The identifier for the Socket.
- */
- 'ref'?: (_grpc_channelz_v1_SocketRef | null);
- /**
- * Data specific to this Socket.
- */
- 'data'?: (_grpc_channelz_v1_SocketData | null);
- /**
- * The locally bound address.
- */
- 'local'?: (_grpc_channelz_v1_Address | null);
- /**
- * The remote bound address. May be absent.
- */
- 'remote'?: (_grpc_channelz_v1_Address | null);
- /**
- * Security details for this socket. May be absent if not available, or
- * there is no security on the socket.
- */
- 'security'?: (_grpc_channelz_v1_Security | null);
- /**
- * Optional, represents the name of the remote endpoint, if different than
- * the original target name.
- */
- 'remote_name'?: (string);
-}
-/**
- * Information about an actual connection. Pronounced "sock-ay".
- */
-export interface Socket__Output {
- /**
- * The identifier for the Socket.
- */
- 'ref': (_grpc_channelz_v1_SocketRef__Output | null);
- /**
- * Data specific to this Socket.
- */
- 'data': (_grpc_channelz_v1_SocketData__Output | null);
- /**
- * The locally bound address.
- */
- 'local': (_grpc_channelz_v1_Address__Output | null);
- /**
- * The remote bound address. May be absent.
- */
- 'remote': (_grpc_channelz_v1_Address__Output | null);
- /**
- * Security details for this socket. May be absent if not available, or
- * there is no security on the socket.
- */
- 'security': (_grpc_channelz_v1_Security__Output | null);
- /**
- * Optional, represents the name of the remote endpoint, if different than
- * the original target name.
- */
- 'remote_name': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.js
deleted file mode 100644
index c1e5004..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Socket.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.js.map
deleted file mode 100644
index d49d9df..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Socket.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Socket.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/Socket.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.d.ts
deleted file mode 100644
index 5553cb2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.d.ts
+++ /dev/null
@@ -1,146 +0,0 @@
-import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../../../google/protobuf/Timestamp';
-import type { Int64Value as _google_protobuf_Int64Value, Int64Value__Output as _google_protobuf_Int64Value__Output } from '../../../google/protobuf/Int64Value';
-import type { SocketOption as _grpc_channelz_v1_SocketOption, SocketOption__Output as _grpc_channelz_v1_SocketOption__Output } from '../../../grpc/channelz/v1/SocketOption';
-import type { Long } from '@grpc/proto-loader';
-/**
- * SocketData is data associated for a specific Socket. The fields present
- * are specific to the implementation, so there may be minor differences in
- * the semantics. (e.g. flow control windows)
- */
-export interface SocketData {
- /**
- * The number of streams that have been started.
- */
- 'streams_started'?: (number | string | Long);
- /**
- * The number of streams that have ended successfully:
- * On client side, received frame with eos bit set;
- * On server side, sent frame with eos bit set.
- */
- 'streams_succeeded'?: (number | string | Long);
- /**
- * The number of streams that have ended unsuccessfully:
- * On client side, ended without receiving frame with eos bit set;
- * On server side, ended without sending frame with eos bit set.
- */
- 'streams_failed'?: (number | string | Long);
- /**
- * The number of grpc messages successfully sent on this socket.
- */
- 'messages_sent'?: (number | string | Long);
- /**
- * The number of grpc messages received on this socket.
- */
- 'messages_received'?: (number | string | Long);
- /**
- * The number of keep alives sent. This is typically implemented with HTTP/2
- * ping messages.
- */
- 'keep_alives_sent'?: (number | string | Long);
- /**
- * The last time a stream was created by this endpoint. Usually unset for
- * servers.
- */
- 'last_local_stream_created_timestamp'?: (_google_protobuf_Timestamp | null);
- /**
- * The last time a stream was created by the remote endpoint. Usually unset
- * for clients.
- */
- 'last_remote_stream_created_timestamp'?: (_google_protobuf_Timestamp | null);
- /**
- * The last time a message was sent by this endpoint.
- */
- 'last_message_sent_timestamp'?: (_google_protobuf_Timestamp | null);
- /**
- * The last time a message was received by this endpoint.
- */
- 'last_message_received_timestamp'?: (_google_protobuf_Timestamp | null);
- /**
- * The amount of window, granted to the local endpoint by the remote endpoint.
- * This may be slightly out of date due to network latency. This does NOT
- * include stream level or TCP level flow control info.
- */
- 'local_flow_control_window'?: (_google_protobuf_Int64Value | null);
- /**
- * The amount of window, granted to the remote endpoint by the local endpoint.
- * This may be slightly out of date due to network latency. This does NOT
- * include stream level or TCP level flow control info.
- */
- 'remote_flow_control_window'?: (_google_protobuf_Int64Value | null);
- /**
- * Socket options set on this socket. May be absent if 'summary' is set
- * on GetSocketRequest.
- */
- 'option'?: (_grpc_channelz_v1_SocketOption)[];
-}
-/**
- * SocketData is data associated for a specific Socket. The fields present
- * are specific to the implementation, so there may be minor differences in
- * the semantics. (e.g. flow control windows)
- */
-export interface SocketData__Output {
- /**
- * The number of streams that have been started.
- */
- 'streams_started': (string);
- /**
- * The number of streams that have ended successfully:
- * On client side, received frame with eos bit set;
- * On server side, sent frame with eos bit set.
- */
- 'streams_succeeded': (string);
- /**
- * The number of streams that have ended unsuccessfully:
- * On client side, ended without receiving frame with eos bit set;
- * On server side, ended without sending frame with eos bit set.
- */
- 'streams_failed': (string);
- /**
- * The number of grpc messages successfully sent on this socket.
- */
- 'messages_sent': (string);
- /**
- * The number of grpc messages received on this socket.
- */
- 'messages_received': (string);
- /**
- * The number of keep alives sent. This is typically implemented with HTTP/2
- * ping messages.
- */
- 'keep_alives_sent': (string);
- /**
- * The last time a stream was created by this endpoint. Usually unset for
- * servers.
- */
- 'last_local_stream_created_timestamp': (_google_protobuf_Timestamp__Output | null);
- /**
- * The last time a stream was created by the remote endpoint. Usually unset
- * for clients.
- */
- 'last_remote_stream_created_timestamp': (_google_protobuf_Timestamp__Output | null);
- /**
- * The last time a message was sent by this endpoint.
- */
- 'last_message_sent_timestamp': (_google_protobuf_Timestamp__Output | null);
- /**
- * The last time a message was received by this endpoint.
- */
- 'last_message_received_timestamp': (_google_protobuf_Timestamp__Output | null);
- /**
- * The amount of window, granted to the local endpoint by the remote endpoint.
- * This may be slightly out of date due to network latency. This does NOT
- * include stream level or TCP level flow control info.
- */
- 'local_flow_control_window': (_google_protobuf_Int64Value__Output | null);
- /**
- * The amount of window, granted to the remote endpoint by the local endpoint.
- * This may be slightly out of date due to network latency. This does NOT
- * include stream level or TCP level flow control info.
- */
- 'remote_flow_control_window': (_google_protobuf_Int64Value__Output | null);
- /**
- * Socket options set on this socket. May be absent if 'summary' is set
- * on GetSocketRequest.
- */
- 'option': (_grpc_channelz_v1_SocketOption__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.js
deleted file mode 100644
index 40638de..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SocketData.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.js.map
deleted file mode 100644
index c17becd..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketData.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SocketData.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/SocketData.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.d.ts
deleted file mode 100644
index 53c23a2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.d.ts
+++ /dev/null
@@ -1,43 +0,0 @@
-import type { Any as _google_protobuf_Any, Any__Output as _google_protobuf_Any__Output } from '../../../google/protobuf/Any';
-/**
- * SocketOption represents socket options for a socket. Specifically, these
- * are the options returned by getsockopt().
- */
-export interface SocketOption {
- /**
- * The full name of the socket option. Typically this will be the upper case
- * name, such as "SO_REUSEPORT".
- */
- 'name'?: (string);
- /**
- * The human readable value of this socket option. At least one of value or
- * additional will be set.
- */
- 'value'?: (string);
- /**
- * Additional data associated with the socket option. At least one of value
- * or additional will be set.
- */
- 'additional'?: (_google_protobuf_Any | null);
-}
-/**
- * SocketOption represents socket options for a socket. Specifically, these
- * are the options returned by getsockopt().
- */
-export interface SocketOption__Output {
- /**
- * The full name of the socket option. Typically this will be the upper case
- * name, such as "SO_REUSEPORT".
- */
- 'name': (string);
- /**
- * The human readable value of this socket option. At least one of value or
- * additional will be set.
- */
- 'value': (string);
- /**
- * Additional data associated with the socket option. At least one of value
- * or additional will be set.
- */
- 'additional': (_google_protobuf_Any__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.js
deleted file mode 100644
index c459962..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SocketOption.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.js.map
deleted file mode 100644
index 6b8bf59..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOption.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SocketOption.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/SocketOption.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.d.ts
deleted file mode 100644
index d0fd4b0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.d.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration';
-/**
- * For use with SocketOption's additional field. This is primarily used for
- * SO_LINGER.
- */
-export interface SocketOptionLinger {
- /**
- * active maps to `struct linger.l_onoff`
- */
- 'active'?: (boolean);
- /**
- * duration maps to `struct linger.l_linger`
- */
- 'duration'?: (_google_protobuf_Duration | null);
-}
-/**
- * For use with SocketOption's additional field. This is primarily used for
- * SO_LINGER.
- */
-export interface SocketOptionLinger__Output {
- /**
- * active maps to `struct linger.l_onoff`
- */
- 'active': (boolean);
- /**
- * duration maps to `struct linger.l_linger`
- */
- 'duration': (_google_protobuf_Duration__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js
deleted file mode 100644
index 01028c8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SocketOptionLinger.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js.map
deleted file mode 100644
index a5283ab..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionLinger.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SocketOptionLinger.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/SocketOptionLinger.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.d.ts
deleted file mode 100644
index d2457e1..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.d.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * For use with SocketOption's additional field. Tcp info for
- * SOL_TCP and TCP_INFO.
- */
-export interface SocketOptionTcpInfo {
- 'tcpi_state'?: (number);
- 'tcpi_ca_state'?: (number);
- 'tcpi_retransmits'?: (number);
- 'tcpi_probes'?: (number);
- 'tcpi_backoff'?: (number);
- 'tcpi_options'?: (number);
- 'tcpi_snd_wscale'?: (number);
- 'tcpi_rcv_wscale'?: (number);
- 'tcpi_rto'?: (number);
- 'tcpi_ato'?: (number);
- 'tcpi_snd_mss'?: (number);
- 'tcpi_rcv_mss'?: (number);
- 'tcpi_unacked'?: (number);
- 'tcpi_sacked'?: (number);
- 'tcpi_lost'?: (number);
- 'tcpi_retrans'?: (number);
- 'tcpi_fackets'?: (number);
- 'tcpi_last_data_sent'?: (number);
- 'tcpi_last_ack_sent'?: (number);
- 'tcpi_last_data_recv'?: (number);
- 'tcpi_last_ack_recv'?: (number);
- 'tcpi_pmtu'?: (number);
- 'tcpi_rcv_ssthresh'?: (number);
- 'tcpi_rtt'?: (number);
- 'tcpi_rttvar'?: (number);
- 'tcpi_snd_ssthresh'?: (number);
- 'tcpi_snd_cwnd'?: (number);
- 'tcpi_advmss'?: (number);
- 'tcpi_reordering'?: (number);
-}
-/**
- * For use with SocketOption's additional field. Tcp info for
- * SOL_TCP and TCP_INFO.
- */
-export interface SocketOptionTcpInfo__Output {
- 'tcpi_state': (number);
- 'tcpi_ca_state': (number);
- 'tcpi_retransmits': (number);
- 'tcpi_probes': (number);
- 'tcpi_backoff': (number);
- 'tcpi_options': (number);
- 'tcpi_snd_wscale': (number);
- 'tcpi_rcv_wscale': (number);
- 'tcpi_rto': (number);
- 'tcpi_ato': (number);
- 'tcpi_snd_mss': (number);
- 'tcpi_rcv_mss': (number);
- 'tcpi_unacked': (number);
- 'tcpi_sacked': (number);
- 'tcpi_lost': (number);
- 'tcpi_retrans': (number);
- 'tcpi_fackets': (number);
- 'tcpi_last_data_sent': (number);
- 'tcpi_last_ack_sent': (number);
- 'tcpi_last_data_recv': (number);
- 'tcpi_last_ack_recv': (number);
- 'tcpi_pmtu': (number);
- 'tcpi_rcv_ssthresh': (number);
- 'tcpi_rtt': (number);
- 'tcpi_rttvar': (number);
- 'tcpi_snd_ssthresh': (number);
- 'tcpi_snd_cwnd': (number);
- 'tcpi_advmss': (number);
- 'tcpi_reordering': (number);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js
deleted file mode 100644
index b663a2e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SocketOptionTcpInfo.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js.map
deleted file mode 100644
index cb68a32..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTcpInfo.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SocketOptionTcpInfo.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/SocketOptionTcpInfo.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.d.ts
deleted file mode 100644
index b102a34..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.d.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../google/protobuf/Duration';
-/**
- * For use with SocketOption's additional field. This is primarily used for
- * SO_RCVTIMEO and SO_SNDTIMEO
- */
-export interface SocketOptionTimeout {
- 'duration'?: (_google_protobuf_Duration | null);
-}
-/**
- * For use with SocketOption's additional field. This is primarily used for
- * SO_RCVTIMEO and SO_SNDTIMEO
- */
-export interface SocketOptionTimeout__Output {
- 'duration': (_google_protobuf_Duration__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js
deleted file mode 100644
index bcef7f5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SocketOptionTimeout.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js.map
deleted file mode 100644
index 73c8085..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketOptionTimeout.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SocketOptionTimeout.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/SocketOptionTimeout.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.d.ts
deleted file mode 100644
index 2f34d65..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * SocketRef is a reference to a Socket.
- */
-export interface SocketRef {
- /**
- * The globally unique id for this socket. Must be a positive number.
- */
- 'socket_id'?: (number | string | Long);
- /**
- * An optional name associated with the socket.
- */
- 'name'?: (string);
-}
-/**
- * SocketRef is a reference to a Socket.
- */
-export interface SocketRef__Output {
- /**
- * The globally unique id for this socket. Must be a positive number.
- */
- 'socket_id': (string);
- /**
- * An optional name associated with the socket.
- */
- 'name': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.js
deleted file mode 100644
index a73587f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SocketRef.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.js.map
deleted file mode 100644
index d970f9c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SocketRef.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SocketRef.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/SocketRef.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.d.ts
deleted file mode 100644
index 1222cb5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.d.ts
+++ /dev/null
@@ -1,66 +0,0 @@
-import type { SubchannelRef as _grpc_channelz_v1_SubchannelRef, SubchannelRef__Output as _grpc_channelz_v1_SubchannelRef__Output } from '../../../grpc/channelz/v1/SubchannelRef';
-import type { ChannelData as _grpc_channelz_v1_ChannelData, ChannelData__Output as _grpc_channelz_v1_ChannelData__Output } from '../../../grpc/channelz/v1/ChannelData';
-import type { ChannelRef as _grpc_channelz_v1_ChannelRef, ChannelRef__Output as _grpc_channelz_v1_ChannelRef__Output } from '../../../grpc/channelz/v1/ChannelRef';
-import type { SocketRef as _grpc_channelz_v1_SocketRef, SocketRef__Output as _grpc_channelz_v1_SocketRef__Output } from '../../../grpc/channelz/v1/SocketRef';
-/**
- * Subchannel is a logical grouping of channels, subchannels, and sockets.
- * A subchannel is load balanced over by it's ancestor
- */
-export interface Subchannel {
- /**
- * The identifier for this channel.
- */
- 'ref'?: (_grpc_channelz_v1_SubchannelRef | null);
- /**
- * Data specific to this channel.
- */
- 'data'?: (_grpc_channelz_v1_ChannelData | null);
- /**
- * There are no ordering guarantees on the order of channel refs.
- * There may not be cycles in the ref graph.
- * A channel ref may be present in more than one channel or subchannel.
- */
- 'channel_ref'?: (_grpc_channelz_v1_ChannelRef)[];
- /**
- * At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
- * There are no ordering guarantees on the order of subchannel refs.
- * There may not be cycles in the ref graph.
- * A sub channel ref may be present in more than one channel or subchannel.
- */
- 'subchannel_ref'?: (_grpc_channelz_v1_SubchannelRef)[];
- /**
- * There are no ordering guarantees on the order of sockets.
- */
- 'socket_ref'?: (_grpc_channelz_v1_SocketRef)[];
-}
-/**
- * Subchannel is a logical grouping of channels, subchannels, and sockets.
- * A subchannel is load balanced over by it's ancestor
- */
-export interface Subchannel__Output {
- /**
- * The identifier for this channel.
- */
- 'ref': (_grpc_channelz_v1_SubchannelRef__Output | null);
- /**
- * Data specific to this channel.
- */
- 'data': (_grpc_channelz_v1_ChannelData__Output | null);
- /**
- * There are no ordering guarantees on the order of channel refs.
- * There may not be cycles in the ref graph.
- * A channel ref may be present in more than one channel or subchannel.
- */
- 'channel_ref': (_grpc_channelz_v1_ChannelRef__Output)[];
- /**
- * At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
- * There are no ordering guarantees on the order of subchannel refs.
- * There may not be cycles in the ref graph.
- * A sub channel ref may be present in more than one channel or subchannel.
- */
- 'subchannel_ref': (_grpc_channelz_v1_SubchannelRef__Output)[];
- /**
- * There are no ordering guarantees on the order of sockets.
- */
- 'socket_ref': (_grpc_channelz_v1_SocketRef__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.js
deleted file mode 100644
index 6a5e543..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Subchannel.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.js.map
deleted file mode 100644
index 6441346..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/Subchannel.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Subchannel.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/Subchannel.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.d.ts
deleted file mode 100644
index 290fc85..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * SubchannelRef is a reference to a Subchannel.
- */
-export interface SubchannelRef {
- /**
- * The globally unique id for this subchannel. Must be a positive number.
- */
- 'subchannel_id'?: (number | string | Long);
- /**
- * An optional name associated with the subchannel.
- */
- 'name'?: (string);
-}
-/**
- * SubchannelRef is a reference to a Subchannel.
- */
-export interface SubchannelRef__Output {
- /**
- * The globally unique id for this subchannel. Must be a positive number.
- */
- 'subchannel_id': (string);
- /**
- * An optional name associated with the subchannel.
- */
- 'name': (string);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.js b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.js
deleted file mode 100644
index 68520f9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/channelz.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SubchannelRef.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.js.map b/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.js.map
deleted file mode 100644
index 1e4b009..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/grpc/channelz/v1/SubchannelRef.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SubchannelRef.js","sourceRoot":"","sources":["../../../../../../src/generated/grpc/channelz/v1/SubchannelRef.ts"],"names":[],"mappings":";AAAA,sCAAsC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/orca.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/orca.d.ts
deleted file mode 100644
index c1d2b01..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/orca.d.ts
+++ /dev/null
@@ -1,145 +0,0 @@
-import type * as grpc from '../index';
-import type { EnumTypeDefinition, MessageTypeDefinition } from '@grpc/proto-loader';
-import type { DescriptorProto as _google_protobuf_DescriptorProto, DescriptorProto__Output as _google_protobuf_DescriptorProto__Output } from './google/protobuf/DescriptorProto';
-import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from './google/protobuf/Duration';
-import type { EnumDescriptorProto as _google_protobuf_EnumDescriptorProto, EnumDescriptorProto__Output as _google_protobuf_EnumDescriptorProto__Output } from './google/protobuf/EnumDescriptorProto';
-import type { EnumOptions as _google_protobuf_EnumOptions, EnumOptions__Output as _google_protobuf_EnumOptions__Output } from './google/protobuf/EnumOptions';
-import type { EnumValueDescriptorProto as _google_protobuf_EnumValueDescriptorProto, EnumValueDescriptorProto__Output as _google_protobuf_EnumValueDescriptorProto__Output } from './google/protobuf/EnumValueDescriptorProto';
-import type { EnumValueOptions as _google_protobuf_EnumValueOptions, EnumValueOptions__Output as _google_protobuf_EnumValueOptions__Output } from './google/protobuf/EnumValueOptions';
-import type { ExtensionRangeOptions as _google_protobuf_ExtensionRangeOptions, ExtensionRangeOptions__Output as _google_protobuf_ExtensionRangeOptions__Output } from './google/protobuf/ExtensionRangeOptions';
-import type { FeatureSet as _google_protobuf_FeatureSet, FeatureSet__Output as _google_protobuf_FeatureSet__Output } from './google/protobuf/FeatureSet';
-import type { FeatureSetDefaults as _google_protobuf_FeatureSetDefaults, FeatureSetDefaults__Output as _google_protobuf_FeatureSetDefaults__Output } from './google/protobuf/FeatureSetDefaults';
-import type { FieldDescriptorProto as _google_protobuf_FieldDescriptorProto, FieldDescriptorProto__Output as _google_protobuf_FieldDescriptorProto__Output } from './google/protobuf/FieldDescriptorProto';
-import type { FieldOptions as _google_protobuf_FieldOptions, FieldOptions__Output as _google_protobuf_FieldOptions__Output } from './google/protobuf/FieldOptions';
-import type { FileDescriptorProto as _google_protobuf_FileDescriptorProto, FileDescriptorProto__Output as _google_protobuf_FileDescriptorProto__Output } from './google/protobuf/FileDescriptorProto';
-import type { FileDescriptorSet as _google_protobuf_FileDescriptorSet, FileDescriptorSet__Output as _google_protobuf_FileDescriptorSet__Output } from './google/protobuf/FileDescriptorSet';
-import type { FileOptions as _google_protobuf_FileOptions, FileOptions__Output as _google_protobuf_FileOptions__Output } from './google/protobuf/FileOptions';
-import type { GeneratedCodeInfo as _google_protobuf_GeneratedCodeInfo, GeneratedCodeInfo__Output as _google_protobuf_GeneratedCodeInfo__Output } from './google/protobuf/GeneratedCodeInfo';
-import type { MessageOptions as _google_protobuf_MessageOptions, MessageOptions__Output as _google_protobuf_MessageOptions__Output } from './google/protobuf/MessageOptions';
-import type { MethodDescriptorProto as _google_protobuf_MethodDescriptorProto, MethodDescriptorProto__Output as _google_protobuf_MethodDescriptorProto__Output } from './google/protobuf/MethodDescriptorProto';
-import type { MethodOptions as _google_protobuf_MethodOptions, MethodOptions__Output as _google_protobuf_MethodOptions__Output } from './google/protobuf/MethodOptions';
-import type { OneofDescriptorProto as _google_protobuf_OneofDescriptorProto, OneofDescriptorProto__Output as _google_protobuf_OneofDescriptorProto__Output } from './google/protobuf/OneofDescriptorProto';
-import type { OneofOptions as _google_protobuf_OneofOptions, OneofOptions__Output as _google_protobuf_OneofOptions__Output } from './google/protobuf/OneofOptions';
-import type { ServiceDescriptorProto as _google_protobuf_ServiceDescriptorProto, ServiceDescriptorProto__Output as _google_protobuf_ServiceDescriptorProto__Output } from './google/protobuf/ServiceDescriptorProto';
-import type { ServiceOptions as _google_protobuf_ServiceOptions, ServiceOptions__Output as _google_protobuf_ServiceOptions__Output } from './google/protobuf/ServiceOptions';
-import type { SourceCodeInfo as _google_protobuf_SourceCodeInfo, SourceCodeInfo__Output as _google_protobuf_SourceCodeInfo__Output } from './google/protobuf/SourceCodeInfo';
-import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from './google/protobuf/Timestamp';
-import type { UninterpretedOption as _google_protobuf_UninterpretedOption, UninterpretedOption__Output as _google_protobuf_UninterpretedOption__Output } from './google/protobuf/UninterpretedOption';
-import type { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from './validate/AnyRules';
-import type { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from './validate/BoolRules';
-import type { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from './validate/BytesRules';
-import type { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from './validate/DoubleRules';
-import type { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from './validate/DurationRules';
-import type { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from './validate/EnumRules';
-import type { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from './validate/FieldRules';
-import type { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from './validate/Fixed32Rules';
-import type { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from './validate/Fixed64Rules';
-import type { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from './validate/FloatRules';
-import type { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from './validate/Int32Rules';
-import type { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from './validate/Int64Rules';
-import type { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from './validate/MapRules';
-import type { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from './validate/MessageRules';
-import type { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from './validate/RepeatedRules';
-import type { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from './validate/SFixed32Rules';
-import type { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from './validate/SFixed64Rules';
-import type { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from './validate/SInt32Rules';
-import type { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from './validate/SInt64Rules';
-import type { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from './validate/StringRules';
-import type { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from './validate/TimestampRules';
-import type { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from './validate/UInt32Rules';
-import type { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from './validate/UInt64Rules';
-import type { OrcaLoadReport as _xds_data_orca_v3_OrcaLoadReport, OrcaLoadReport__Output as _xds_data_orca_v3_OrcaLoadReport__Output } from './xds/data/orca/v3/OrcaLoadReport';
-import type { OpenRcaServiceClient as _xds_service_orca_v3_OpenRcaServiceClient, OpenRcaServiceDefinition as _xds_service_orca_v3_OpenRcaServiceDefinition } from './xds/service/orca/v3/OpenRcaService';
-import type { OrcaLoadReportRequest as _xds_service_orca_v3_OrcaLoadReportRequest, OrcaLoadReportRequest__Output as _xds_service_orca_v3_OrcaLoadReportRequest__Output } from './xds/service/orca/v3/OrcaLoadReportRequest';
-type SubtypeConstructor any, Subtype> = {
- new (...args: ConstructorParameters): Subtype;
-};
-export interface ProtoGrpcType {
- google: {
- protobuf: {
- DescriptorProto: MessageTypeDefinition<_google_protobuf_DescriptorProto, _google_protobuf_DescriptorProto__Output>;
- Duration: MessageTypeDefinition<_google_protobuf_Duration, _google_protobuf_Duration__Output>;
- Edition: EnumTypeDefinition;
- EnumDescriptorProto: MessageTypeDefinition<_google_protobuf_EnumDescriptorProto, _google_protobuf_EnumDescriptorProto__Output>;
- EnumOptions: MessageTypeDefinition<_google_protobuf_EnumOptions, _google_protobuf_EnumOptions__Output>;
- EnumValueDescriptorProto: MessageTypeDefinition<_google_protobuf_EnumValueDescriptorProto, _google_protobuf_EnumValueDescriptorProto__Output>;
- EnumValueOptions: MessageTypeDefinition<_google_protobuf_EnumValueOptions, _google_protobuf_EnumValueOptions__Output>;
- ExtensionRangeOptions: MessageTypeDefinition<_google_protobuf_ExtensionRangeOptions, _google_protobuf_ExtensionRangeOptions__Output>;
- FeatureSet: MessageTypeDefinition<_google_protobuf_FeatureSet, _google_protobuf_FeatureSet__Output>;
- FeatureSetDefaults: MessageTypeDefinition<_google_protobuf_FeatureSetDefaults, _google_protobuf_FeatureSetDefaults__Output>;
- FieldDescriptorProto: MessageTypeDefinition<_google_protobuf_FieldDescriptorProto, _google_protobuf_FieldDescriptorProto__Output>;
- FieldOptions: MessageTypeDefinition<_google_protobuf_FieldOptions, _google_protobuf_FieldOptions__Output>;
- FileDescriptorProto: MessageTypeDefinition<_google_protobuf_FileDescriptorProto, _google_protobuf_FileDescriptorProto__Output>;
- FileDescriptorSet: MessageTypeDefinition<_google_protobuf_FileDescriptorSet, _google_protobuf_FileDescriptorSet__Output>;
- FileOptions: MessageTypeDefinition<_google_protobuf_FileOptions, _google_protobuf_FileOptions__Output>;
- GeneratedCodeInfo: MessageTypeDefinition<_google_protobuf_GeneratedCodeInfo, _google_protobuf_GeneratedCodeInfo__Output>;
- MessageOptions: MessageTypeDefinition<_google_protobuf_MessageOptions, _google_protobuf_MessageOptions__Output>;
- MethodDescriptorProto: MessageTypeDefinition<_google_protobuf_MethodDescriptorProto, _google_protobuf_MethodDescriptorProto__Output>;
- MethodOptions: MessageTypeDefinition<_google_protobuf_MethodOptions, _google_protobuf_MethodOptions__Output>;
- OneofDescriptorProto: MessageTypeDefinition<_google_protobuf_OneofDescriptorProto, _google_protobuf_OneofDescriptorProto__Output>;
- OneofOptions: MessageTypeDefinition<_google_protobuf_OneofOptions, _google_protobuf_OneofOptions__Output>;
- ServiceDescriptorProto: MessageTypeDefinition<_google_protobuf_ServiceDescriptorProto, _google_protobuf_ServiceDescriptorProto__Output>;
- ServiceOptions: MessageTypeDefinition<_google_protobuf_ServiceOptions, _google_protobuf_ServiceOptions__Output>;
- SourceCodeInfo: MessageTypeDefinition<_google_protobuf_SourceCodeInfo, _google_protobuf_SourceCodeInfo__Output>;
- SymbolVisibility: EnumTypeDefinition;
- Timestamp: MessageTypeDefinition<_google_protobuf_Timestamp, _google_protobuf_Timestamp__Output>;
- UninterpretedOption: MessageTypeDefinition<_google_protobuf_UninterpretedOption, _google_protobuf_UninterpretedOption__Output>;
- };
- };
- validate: {
- AnyRules: MessageTypeDefinition<_validate_AnyRules, _validate_AnyRules__Output>;
- BoolRules: MessageTypeDefinition<_validate_BoolRules, _validate_BoolRules__Output>;
- BytesRules: MessageTypeDefinition<_validate_BytesRules, _validate_BytesRules__Output>;
- DoubleRules: MessageTypeDefinition<_validate_DoubleRules, _validate_DoubleRules__Output>;
- DurationRules: MessageTypeDefinition<_validate_DurationRules, _validate_DurationRules__Output>;
- EnumRules: MessageTypeDefinition<_validate_EnumRules, _validate_EnumRules__Output>;
- FieldRules: MessageTypeDefinition<_validate_FieldRules, _validate_FieldRules__Output>;
- Fixed32Rules: MessageTypeDefinition<_validate_Fixed32Rules, _validate_Fixed32Rules__Output>;
- Fixed64Rules: MessageTypeDefinition<_validate_Fixed64Rules, _validate_Fixed64Rules__Output>;
- FloatRules: MessageTypeDefinition<_validate_FloatRules, _validate_FloatRules__Output>;
- Int32Rules: MessageTypeDefinition<_validate_Int32Rules, _validate_Int32Rules__Output>;
- Int64Rules: MessageTypeDefinition<_validate_Int64Rules, _validate_Int64Rules__Output>;
- KnownRegex: EnumTypeDefinition;
- MapRules: MessageTypeDefinition<_validate_MapRules, _validate_MapRules__Output>;
- MessageRules: MessageTypeDefinition<_validate_MessageRules, _validate_MessageRules__Output>;
- RepeatedRules: MessageTypeDefinition<_validate_RepeatedRules, _validate_RepeatedRules__Output>;
- SFixed32Rules: MessageTypeDefinition<_validate_SFixed32Rules, _validate_SFixed32Rules__Output>;
- SFixed64Rules: MessageTypeDefinition<_validate_SFixed64Rules, _validate_SFixed64Rules__Output>;
- SInt32Rules: MessageTypeDefinition<_validate_SInt32Rules, _validate_SInt32Rules__Output>;
- SInt64Rules: MessageTypeDefinition<_validate_SInt64Rules, _validate_SInt64Rules__Output>;
- StringRules: MessageTypeDefinition<_validate_StringRules, _validate_StringRules__Output>;
- TimestampRules: MessageTypeDefinition<_validate_TimestampRules, _validate_TimestampRules__Output>;
- UInt32Rules: MessageTypeDefinition<_validate_UInt32Rules, _validate_UInt32Rules__Output>;
- UInt64Rules: MessageTypeDefinition<_validate_UInt64Rules, _validate_UInt64Rules__Output>;
- };
- xds: {
- data: {
- orca: {
- v3: {
- OrcaLoadReport: MessageTypeDefinition<_xds_data_orca_v3_OrcaLoadReport, _xds_data_orca_v3_OrcaLoadReport__Output>;
- };
- };
- };
- service: {
- orca: {
- v3: {
- /**
- * Out-of-band (OOB) load reporting service for the additional load reporting
- * agent that does not sit in the request path. Reports are periodically sampled
- * with sufficient frequency to provide temporal association with requests.
- * OOB reporting compensates the limitation of in-band reporting in revealing
- * costs for backends that do not provide a steady stream of telemetry such as
- * long running stream operations and zero QPS services. This is a server
- * streaming service, client needs to terminate current RPC and initiate
- * a new call to change backend reporting frequency.
- */
- OpenRcaService: SubtypeConstructor & {
- service: _xds_service_orca_v3_OpenRcaServiceDefinition;
- };
- OrcaLoadReportRequest: MessageTypeDefinition<_xds_service_orca_v3_OrcaLoadReportRequest, _xds_service_orca_v3_OrcaLoadReportRequest__Output>;
- };
- };
- };
- };
-}
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/orca.js b/node_modules/@grpc/grpc-js/build/src/generated/orca.js
deleted file mode 100644
index fd23d4e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/orca.js
+++ /dev/null
@@ -1,3 +0,0 @@
-"use strict";
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=orca.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/orca.js.map b/node_modules/@grpc/grpc-js/build/src/generated/orca.js.map
deleted file mode 100644
index 5451d45..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/orca.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"orca.js","sourceRoot":"","sources":["../../../src/generated/orca.ts"],"names":[],"mappings":""}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.d.ts
deleted file mode 100644
index 7d7ff8d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-/**
- * AnyRules describe constraints applied exclusively to the
- * `google.protobuf.Any` well-known type
- */
-export interface AnyRules {
- /**
- * Required specifies that this field must be set
- */
- 'required'?: (boolean);
- /**
- * In specifies that this field's `type_url` must be equal to one of the
- * specified values.
- */
- 'in'?: (string)[];
- /**
- * NotIn specifies that this field's `type_url` must not be equal to any of
- * the specified values.
- */
- 'not_in'?: (string)[];
-}
-/**
- * AnyRules describe constraints applied exclusively to the
- * `google.protobuf.Any` well-known type
- */
-export interface AnyRules__Output {
- /**
- * Required specifies that this field must be set
- */
- 'required': (boolean);
- /**
- * In specifies that this field's `type_url` must be equal to one of the
- * specified values.
- */
- 'in': (string)[];
- /**
- * NotIn specifies that this field's `type_url` must not be equal to any of
- * the specified values.
- */
- 'not_in': (string)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.js
deleted file mode 100644
index 2d1e6ca..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=AnyRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.js.map
deleted file mode 100644
index 23bf70f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/AnyRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"AnyRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/AnyRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.d.ts
deleted file mode 100644
index 3fed392..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.d.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * BoolRules describes the constraints applied to `bool` values
- */
-export interface BoolRules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (boolean);
-}
-/**
- * BoolRules describes the constraints applied to `bool` values
- */
-export interface BoolRules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.js
deleted file mode 100644
index 16b1b53..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=BoolRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.js.map
deleted file mode 100644
index 3222bae..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/BoolRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BoolRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/BoolRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.d.ts
deleted file mode 100644
index b542026..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.d.ts
+++ /dev/null
@@ -1,149 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * BytesRules describe the constraints applied to `bytes` values
- */
-export interface BytesRules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (Buffer | Uint8Array | string);
- /**
- * MinLen specifies that this field must be the specified number of bytes
- * at a minimum
- */
- 'min_len'?: (number | string | Long);
- /**
- * MaxLen specifies that this field must be the specified number of bytes
- * at a maximum
- */
- 'max_len'?: (number | string | Long);
- /**
- * Pattern specifes that this field must match against the specified
- * regular expression (RE2 syntax). The included expression should elide
- * any delimiters.
- */
- 'pattern'?: (string);
- /**
- * Prefix specifies that this field must have the specified bytes at the
- * beginning of the string.
- */
- 'prefix'?: (Buffer | Uint8Array | string);
- /**
- * Suffix specifies that this field must have the specified bytes at the
- * end of the string.
- */
- 'suffix'?: (Buffer | Uint8Array | string);
- /**
- * Contains specifies that this field must have the specified bytes
- * anywhere in the string.
- */
- 'contains'?: (Buffer | Uint8Array | string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (Buffer | Uint8Array | string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (Buffer | Uint8Array | string)[];
- /**
- * Ip specifies that the field must be a valid IP (v4 or v6) address in
- * byte format
- */
- 'ip'?: (boolean);
- /**
- * Ipv4 specifies that the field must be a valid IPv4 address in byte
- * format
- */
- 'ipv4'?: (boolean);
- /**
- * Ipv6 specifies that the field must be a valid IPv6 address in byte
- * format
- */
- 'ipv6'?: (boolean);
- /**
- * Len specifies that this field must be the specified number of bytes
- */
- 'len'?: (number | string | Long);
- /**
- * WellKnown rules provide advanced constraints against common byte
- * patterns
- */
- 'well_known'?: "ip" | "ipv4" | "ipv6";
-}
-/**
- * BytesRules describe the constraints applied to `bytes` values
- */
-export interface BytesRules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (Buffer);
- /**
- * MinLen specifies that this field must be the specified number of bytes
- * at a minimum
- */
- 'min_len': (string);
- /**
- * MaxLen specifies that this field must be the specified number of bytes
- * at a maximum
- */
- 'max_len': (string);
- /**
- * Pattern specifes that this field must match against the specified
- * regular expression (RE2 syntax). The included expression should elide
- * any delimiters.
- */
- 'pattern': (string);
- /**
- * Prefix specifies that this field must have the specified bytes at the
- * beginning of the string.
- */
- 'prefix': (Buffer);
- /**
- * Suffix specifies that this field must have the specified bytes at the
- * end of the string.
- */
- 'suffix': (Buffer);
- /**
- * Contains specifies that this field must have the specified bytes
- * anywhere in the string.
- */
- 'contains': (Buffer);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (Buffer)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (Buffer)[];
- /**
- * Ip specifies that the field must be a valid IP (v4 or v6) address in
- * byte format
- */
- 'ip'?: (boolean);
- /**
- * Ipv4 specifies that the field must be a valid IPv4 address in byte
- * format
- */
- 'ipv4'?: (boolean);
- /**
- * Ipv6 specifies that the field must be a valid IPv6 address in byte
- * format
- */
- 'ipv6'?: (boolean);
- /**
- * Len specifies that this field must be the specified number of bytes
- */
- 'len': (string);
- /**
- * WellKnown rules provide advanced constraints against common byte
- * patterns
- */
- 'well_known'?: "ip" | "ipv4" | "ipv6";
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.js
deleted file mode 100644
index a33075c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=BytesRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.js.map
deleted file mode 100644
index 40114fb..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/BytesRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"BytesRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/BytesRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.d.ts
deleted file mode 100644
index 973aa44..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * DoubleRules describes the constraints applied to `double` values
- */
-export interface DoubleRules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number | string);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number | string);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number | string);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number | string);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number | string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number | string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number | string)[];
-}
-/**
- * DoubleRules describes the constraints applied to `double` values
- */
-export interface DoubleRules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (number)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.js
deleted file mode 100644
index 1e104ae..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=DoubleRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.js.map
deleted file mode 100644
index 1734270..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/DoubleRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"DoubleRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/DoubleRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.d.ts
deleted file mode 100644
index c6b9351..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.d.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../google/protobuf/Duration';
-/**
- * DurationRules describe the constraints applied exclusively to the
- * `google.protobuf.Duration` well-known type
- */
-export interface DurationRules {
- /**
- * Required specifies that this field must be set
- */
- 'required'?: (boolean);
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (_google_protobuf_Duration | null);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (_google_protobuf_Duration | null);
- /**
- * Lt specifies that this field must be less than the specified value,
- * inclusive
- */
- 'lte'?: (_google_protobuf_Duration | null);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive
- */
- 'gt'?: (_google_protobuf_Duration | null);
- /**
- * Gte specifies that this field must be greater than the specified value,
- * inclusive
- */
- 'gte'?: (_google_protobuf_Duration | null);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (_google_protobuf_Duration)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (_google_protobuf_Duration)[];
-}
-/**
- * DurationRules describe the constraints applied exclusively to the
- * `google.protobuf.Duration` well-known type
- */
-export interface DurationRules__Output {
- /**
- * Required specifies that this field must be set
- */
- 'required': (boolean);
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (_google_protobuf_Duration__Output | null);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (_google_protobuf_Duration__Output | null);
- /**
- * Lt specifies that this field must be less than the specified value,
- * inclusive
- */
- 'lte': (_google_protobuf_Duration__Output | null);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive
- */
- 'gt': (_google_protobuf_Duration__Output | null);
- /**
- * Gte specifies that this field must be greater than the specified value,
- * inclusive
- */
- 'gte': (_google_protobuf_Duration__Output | null);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (_google_protobuf_Duration__Output)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (_google_protobuf_Duration__Output)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.js
deleted file mode 100644
index afd338e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=DurationRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.js.map
deleted file mode 100644
index 7d18655..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/DurationRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"DurationRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/DurationRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.d.ts
deleted file mode 100644
index e6750d5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.d.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-/**
- * EnumRules describe the constraints applied to enum values
- */
-export interface EnumRules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number);
- /**
- * DefinedOnly specifies that this field must be only one of the defined
- * values for this enum, failing on any undefined value.
- */
- 'defined_only'?: (boolean);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number)[];
-}
-/**
- * EnumRules describe the constraints applied to enum values
- */
-export interface EnumRules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (number);
- /**
- * DefinedOnly specifies that this field must be only one of the defined
- * values for this enum, failing on any undefined value.
- */
- 'defined_only': (boolean);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (number)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.js
deleted file mode 100644
index 7532c8e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=EnumRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.js.map
deleted file mode 100644
index 4af04d4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/EnumRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"EnumRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/EnumRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.d.ts
deleted file mode 100644
index 26faab8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.d.ts
+++ /dev/null
@@ -1,98 +0,0 @@
-import type { FloatRules as _validate_FloatRules, FloatRules__Output as _validate_FloatRules__Output } from '../validate/FloatRules';
-import type { DoubleRules as _validate_DoubleRules, DoubleRules__Output as _validate_DoubleRules__Output } from '../validate/DoubleRules';
-import type { Int32Rules as _validate_Int32Rules, Int32Rules__Output as _validate_Int32Rules__Output } from '../validate/Int32Rules';
-import type { Int64Rules as _validate_Int64Rules, Int64Rules__Output as _validate_Int64Rules__Output } from '../validate/Int64Rules';
-import type { UInt32Rules as _validate_UInt32Rules, UInt32Rules__Output as _validate_UInt32Rules__Output } from '../validate/UInt32Rules';
-import type { UInt64Rules as _validate_UInt64Rules, UInt64Rules__Output as _validate_UInt64Rules__Output } from '../validate/UInt64Rules';
-import type { SInt32Rules as _validate_SInt32Rules, SInt32Rules__Output as _validate_SInt32Rules__Output } from '../validate/SInt32Rules';
-import type { SInt64Rules as _validate_SInt64Rules, SInt64Rules__Output as _validate_SInt64Rules__Output } from '../validate/SInt64Rules';
-import type { Fixed32Rules as _validate_Fixed32Rules, Fixed32Rules__Output as _validate_Fixed32Rules__Output } from '../validate/Fixed32Rules';
-import type { Fixed64Rules as _validate_Fixed64Rules, Fixed64Rules__Output as _validate_Fixed64Rules__Output } from '../validate/Fixed64Rules';
-import type { SFixed32Rules as _validate_SFixed32Rules, SFixed32Rules__Output as _validate_SFixed32Rules__Output } from '../validate/SFixed32Rules';
-import type { SFixed64Rules as _validate_SFixed64Rules, SFixed64Rules__Output as _validate_SFixed64Rules__Output } from '../validate/SFixed64Rules';
-import type { BoolRules as _validate_BoolRules, BoolRules__Output as _validate_BoolRules__Output } from '../validate/BoolRules';
-import type { StringRules as _validate_StringRules, StringRules__Output as _validate_StringRules__Output } from '../validate/StringRules';
-import type { BytesRules as _validate_BytesRules, BytesRules__Output as _validate_BytesRules__Output } from '../validate/BytesRules';
-import type { EnumRules as _validate_EnumRules, EnumRules__Output as _validate_EnumRules__Output } from '../validate/EnumRules';
-import type { MessageRules as _validate_MessageRules, MessageRules__Output as _validate_MessageRules__Output } from '../validate/MessageRules';
-import type { RepeatedRules as _validate_RepeatedRules, RepeatedRules__Output as _validate_RepeatedRules__Output } from '../validate/RepeatedRules';
-import type { MapRules as _validate_MapRules, MapRules__Output as _validate_MapRules__Output } from '../validate/MapRules';
-import type { AnyRules as _validate_AnyRules, AnyRules__Output as _validate_AnyRules__Output } from '../validate/AnyRules';
-import type { DurationRules as _validate_DurationRules, DurationRules__Output as _validate_DurationRules__Output } from '../validate/DurationRules';
-import type { TimestampRules as _validate_TimestampRules, TimestampRules__Output as _validate_TimestampRules__Output } from '../validate/TimestampRules';
-/**
- * FieldRules encapsulates the rules for each type of field. Depending on the
- * field, the correct set should be used to ensure proper validations.
- */
-export interface FieldRules {
- /**
- * Scalar Field Types
- */
- 'float'?: (_validate_FloatRules | null);
- 'double'?: (_validate_DoubleRules | null);
- 'int32'?: (_validate_Int32Rules | null);
- 'int64'?: (_validate_Int64Rules | null);
- 'uint32'?: (_validate_UInt32Rules | null);
- 'uint64'?: (_validate_UInt64Rules | null);
- 'sint32'?: (_validate_SInt32Rules | null);
- 'sint64'?: (_validate_SInt64Rules | null);
- 'fixed32'?: (_validate_Fixed32Rules | null);
- 'fixed64'?: (_validate_Fixed64Rules | null);
- 'sfixed32'?: (_validate_SFixed32Rules | null);
- 'sfixed64'?: (_validate_SFixed64Rules | null);
- 'bool'?: (_validate_BoolRules | null);
- 'string'?: (_validate_StringRules | null);
- 'bytes'?: (_validate_BytesRules | null);
- /**
- * Complex Field Types
- */
- 'enum'?: (_validate_EnumRules | null);
- 'message'?: (_validate_MessageRules | null);
- 'repeated'?: (_validate_RepeatedRules | null);
- 'map'?: (_validate_MapRules | null);
- /**
- * Well-Known Field Types
- */
- 'any'?: (_validate_AnyRules | null);
- 'duration'?: (_validate_DurationRules | null);
- 'timestamp'?: (_validate_TimestampRules | null);
- 'type'?: "float" | "double" | "int32" | "int64" | "uint32" | "uint64" | "sint32" | "sint64" | "fixed32" | "fixed64" | "sfixed32" | "sfixed64" | "bool" | "string" | "bytes" | "enum" | "repeated" | "map" | "any" | "duration" | "timestamp";
-}
-/**
- * FieldRules encapsulates the rules for each type of field. Depending on the
- * field, the correct set should be used to ensure proper validations.
- */
-export interface FieldRules__Output {
- /**
- * Scalar Field Types
- */
- 'float'?: (_validate_FloatRules__Output | null);
- 'double'?: (_validate_DoubleRules__Output | null);
- 'int32'?: (_validate_Int32Rules__Output | null);
- 'int64'?: (_validate_Int64Rules__Output | null);
- 'uint32'?: (_validate_UInt32Rules__Output | null);
- 'uint64'?: (_validate_UInt64Rules__Output | null);
- 'sint32'?: (_validate_SInt32Rules__Output | null);
- 'sint64'?: (_validate_SInt64Rules__Output | null);
- 'fixed32'?: (_validate_Fixed32Rules__Output | null);
- 'fixed64'?: (_validate_Fixed64Rules__Output | null);
- 'sfixed32'?: (_validate_SFixed32Rules__Output | null);
- 'sfixed64'?: (_validate_SFixed64Rules__Output | null);
- 'bool'?: (_validate_BoolRules__Output | null);
- 'string'?: (_validate_StringRules__Output | null);
- 'bytes'?: (_validate_BytesRules__Output | null);
- /**
- * Complex Field Types
- */
- 'enum'?: (_validate_EnumRules__Output | null);
- 'message': (_validate_MessageRules__Output | null);
- 'repeated'?: (_validate_RepeatedRules__Output | null);
- 'map'?: (_validate_MapRules__Output | null);
- /**
- * Well-Known Field Types
- */
- 'any'?: (_validate_AnyRules__Output | null);
- 'duration'?: (_validate_DurationRules__Output | null);
- 'timestamp'?: (_validate_TimestampRules__Output | null);
- 'type'?: "float" | "double" | "int32" | "int64" | "uint32" | "uint64" | "sint32" | "sint64" | "fixed32" | "fixed64" | "sfixed32" | "sfixed64" | "bool" | "string" | "bytes" | "enum" | "repeated" | "map" | "any" | "duration" | "timestamp";
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.js
deleted file mode 100644
index e6c39ec..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=FieldRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.js.map
deleted file mode 100644
index 8ed4b19..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/FieldRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FieldRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/FieldRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.d.ts
deleted file mode 100644
index 688e2dd..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Fixed32Rules describes the constraints applied to `fixed32` values
- */
-export interface Fixed32Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number)[];
-}
-/**
- * Fixed32Rules describes the constraints applied to `fixed32` values
- */
-export interface Fixed32Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (number)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.js
deleted file mode 100644
index da4f301..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Fixed32Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.js.map
deleted file mode 100644
index b2f3a5c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed32Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Fixed32Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/Fixed32Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.d.ts
deleted file mode 100644
index 6c84a9e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.d.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * Fixed64Rules describes the constraints applied to `fixed64` values
- */
-export interface Fixed64Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number | string | Long);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number | string | Long);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number | string | Long);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number | string | Long);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number | string | Long);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number | string | Long)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number | string | Long)[];
-}
-/**
- * Fixed64Rules describes the constraints applied to `fixed64` values
- */
-export interface Fixed64Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (string);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (string);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (string);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (string);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (string)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.js
deleted file mode 100644
index 1b22d0c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Fixed64Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.js.map
deleted file mode 100644
index 7f93808..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Fixed64Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Fixed64Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/Fixed64Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.d.ts
deleted file mode 100644
index c1cdaaf..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * FloatRules describes the constraints applied to `float` values
- */
-export interface FloatRules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number | string);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number | string);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number | string);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number | string);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number | string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number | string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number | string)[];
-}
-/**
- * FloatRules describes the constraints applied to `float` values
- */
-export interface FloatRules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (number)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.js
deleted file mode 100644
index 6402268..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=FloatRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.js.map
deleted file mode 100644
index ac4ae7e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/FloatRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"FloatRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/FloatRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.d.ts
deleted file mode 100644
index e1010fc..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * Int32Rules describes the constraints applied to `int32` values
- */
-export interface Int32Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number)[];
-}
-/**
- * Int32Rules describes the constraints applied to `int32` values
- */
-export interface Int32Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (number)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.js
deleted file mode 100644
index 69a8264..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Int32Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.js.map
deleted file mode 100644
index 83e7e94..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int32Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Int32Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/Int32Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.d.ts
deleted file mode 100644
index 423c229..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.d.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * Int64Rules describes the constraints applied to `int64` values
- */
-export interface Int64Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number | string | Long);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number | string | Long);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number | string | Long);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number | string | Long);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number | string | Long);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number | string | Long)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number | string | Long)[];
-}
-/**
- * Int64Rules describes the constraints applied to `int64` values
- */
-export interface Int64Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (string);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (string);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (string);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (string);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (string)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.js
deleted file mode 100644
index 93797e9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=Int64Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.js.map
deleted file mode 100644
index 5d632a3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/Int64Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"Int64Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/Int64Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.d.ts
deleted file mode 100644
index 8af850b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * WellKnownRegex contain some well-known patterns.
- */
-export declare const KnownRegex: {
- readonly UNKNOWN: "UNKNOWN";
- /**
- * HTTP header name as defined by RFC 7230.
- */
- readonly HTTP_HEADER_NAME: "HTTP_HEADER_NAME";
- /**
- * HTTP header value as defined by RFC 7230.
- */
- readonly HTTP_HEADER_VALUE: "HTTP_HEADER_VALUE";
-};
-/**
- * WellKnownRegex contain some well-known patterns.
- */
-export type KnownRegex = 'UNKNOWN' | 0
-/**
- * HTTP header name as defined by RFC 7230.
- */
- | 'HTTP_HEADER_NAME' | 1
-/**
- * HTTP header value as defined by RFC 7230.
- */
- | 'HTTP_HEADER_VALUE' | 2;
-/**
- * WellKnownRegex contain some well-known patterns.
- */
-export type KnownRegex__Output = typeof KnownRegex[keyof typeof KnownRegex];
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.js
deleted file mode 100644
index 5431991..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.KnownRegex = void 0;
-/**
- * WellKnownRegex contain some well-known patterns.
- */
-exports.KnownRegex = {
- UNKNOWN: 'UNKNOWN',
- /**
- * HTTP header name as defined by RFC 7230.
- */
- HTTP_HEADER_NAME: 'HTTP_HEADER_NAME',
- /**
- * HTTP header value as defined by RFC 7230.
- */
- HTTP_HEADER_VALUE: 'HTTP_HEADER_VALUE',
-};
-//# sourceMappingURL=KnownRegex.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.js.map
deleted file mode 100644
index b00a48f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/KnownRegex.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"KnownRegex.js","sourceRoot":"","sources":["../../../../src/generated/validate/KnownRegex.ts"],"names":[],"mappings":";AAAA,mEAAmE;;;AAEnE;;GAEG;AACU,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,gBAAgB,EAAE,kBAAkB;IACpC;;OAEG;IACH,iBAAiB,EAAE,mBAAmB;CAC9B,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.d.ts
deleted file mode 100644
index d5afb2e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.d.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-import type { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../validate/FieldRules';
-import type { Long } from '@grpc/proto-loader';
-/**
- * MapRules describe the constraints applied to `map` values
- */
-export interface MapRules {
- /**
- * MinPairs specifies that this field must have the specified number of
- * KVs at a minimum
- */
- 'min_pairs'?: (number | string | Long);
- /**
- * MaxPairs specifies that this field must have the specified number of
- * KVs at a maximum
- */
- 'max_pairs'?: (number | string | Long);
- /**
- * NoSparse specifies values in this field cannot be unset. This only
- * applies to map's with message value types.
- */
- 'no_sparse'?: (boolean);
- /**
- * Keys specifies the constraints to be applied to each key in the field.
- */
- 'keys'?: (_validate_FieldRules | null);
- /**
- * Values specifies the constraints to be applied to the value of each key
- * in the field. Message values will still have their validations evaluated
- * unless skip is specified here.
- */
- 'values'?: (_validate_FieldRules | null);
-}
-/**
- * MapRules describe the constraints applied to `map` values
- */
-export interface MapRules__Output {
- /**
- * MinPairs specifies that this field must have the specified number of
- * KVs at a minimum
- */
- 'min_pairs': (string);
- /**
- * MaxPairs specifies that this field must have the specified number of
- * KVs at a maximum
- */
- 'max_pairs': (string);
- /**
- * NoSparse specifies values in this field cannot be unset. This only
- * applies to map's with message value types.
- */
- 'no_sparse': (boolean);
- /**
- * Keys specifies the constraints to be applied to each key in the field.
- */
- 'keys': (_validate_FieldRules__Output | null);
- /**
- * Values specifies the constraints to be applied to the value of each key
- * in the field. Message values will still have their validations evaluated
- * unless skip is specified here.
- */
- 'values': (_validate_FieldRules__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.js
deleted file mode 100644
index cf32fd8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=MapRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.js.map
deleted file mode 100644
index 12d3ae7..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/MapRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"MapRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/MapRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.d.ts
deleted file mode 100644
index a8b48b9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.d.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * MessageRules describe the constraints applied to embedded message values.
- * For message-type fields, validation is performed recursively.
- */
-export interface MessageRules {
- /**
- * Skip specifies that the validation rules of this field should not be
- * evaluated
- */
- 'skip'?: (boolean);
- /**
- * Required specifies that this field must be set
- */
- 'required'?: (boolean);
-}
-/**
- * MessageRules describe the constraints applied to embedded message values.
- * For message-type fields, validation is performed recursively.
- */
-export interface MessageRules__Output {
- /**
- * Skip specifies that the validation rules of this field should not be
- * evaluated
- */
- 'skip': (boolean);
- /**
- * Required specifies that this field must be set
- */
- 'required': (boolean);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.js
deleted file mode 100644
index f54cd2f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=MessageRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.js.map
deleted file mode 100644
index 1e7bdba..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/MessageRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"MessageRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/MessageRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.d.ts
deleted file mode 100644
index d7e7f37..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.d.ts
+++ /dev/null
@@ -1,56 +0,0 @@
-import type { FieldRules as _validate_FieldRules, FieldRules__Output as _validate_FieldRules__Output } from '../validate/FieldRules';
-import type { Long } from '@grpc/proto-loader';
-/**
- * RepeatedRules describe the constraints applied to `repeated` values
- */
-export interface RepeatedRules {
- /**
- * MinItems specifies that this field must have the specified number of
- * items at a minimum
- */
- 'min_items'?: (number | string | Long);
- /**
- * MaxItems specifies that this field must have the specified number of
- * items at a maximum
- */
- 'max_items'?: (number | string | Long);
- /**
- * Unique specifies that all elements in this field must be unique. This
- * contraint is only applicable to scalar and enum types (messages are not
- * supported).
- */
- 'unique'?: (boolean);
- /**
- * Items specifies the contraints to be applied to each item in the field.
- * Repeated message fields will still execute validation against each item
- * unless skip is specified here.
- */
- 'items'?: (_validate_FieldRules | null);
-}
-/**
- * RepeatedRules describe the constraints applied to `repeated` values
- */
-export interface RepeatedRules__Output {
- /**
- * MinItems specifies that this field must have the specified number of
- * items at a minimum
- */
- 'min_items': (string);
- /**
- * MaxItems specifies that this field must have the specified number of
- * items at a maximum
- */
- 'max_items': (string);
- /**
- * Unique specifies that all elements in this field must be unique. This
- * contraint is only applicable to scalar and enum types (messages are not
- * supported).
- */
- 'unique': (boolean);
- /**
- * Items specifies the contraints to be applied to each item in the field.
- * Repeated message fields will still execute validation against each item
- * unless skip is specified here.
- */
- 'items': (_validate_FieldRules__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.js
deleted file mode 100644
index 1a9bf34..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=RepeatedRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.js.map
deleted file mode 100644
index 74fbaa1..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/RepeatedRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"RepeatedRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/RepeatedRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.d.ts
deleted file mode 100644
index d2014d3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * SFixed32Rules describes the constraints applied to `sfixed32` values
- */
-export interface SFixed32Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number)[];
-}
-/**
- * SFixed32Rules describes the constraints applied to `sfixed32` values
- */
-export interface SFixed32Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (number)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.js
deleted file mode 100644
index a07d027..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SFixed32Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.js.map
deleted file mode 100644
index df8f6d0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed32Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SFixed32Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/SFixed32Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.d.ts
deleted file mode 100644
index fbbce08..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.d.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * SFixed64Rules describes the constraints applied to `sfixed64` values
- */
-export interface SFixed64Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number | string | Long);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number | string | Long);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number | string | Long);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number | string | Long);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number | string | Long);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number | string | Long)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number | string | Long)[];
-}
-/**
- * SFixed64Rules describes the constraints applied to `sfixed64` values
- */
-export interface SFixed64Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (string);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (string);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (string);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (string);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (string)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.js
deleted file mode 100644
index ef129da..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SFixed64Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.js.map
deleted file mode 100644
index 8c118fd..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SFixed64Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SFixed64Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/SFixed64Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.d.ts
deleted file mode 100644
index 12db298..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * SInt32Rules describes the constraints applied to `sint32` values
- */
-export interface SInt32Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number)[];
-}
-/**
- * SInt32Rules describes the constraints applied to `sint32` values
- */
-export interface SInt32Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (number)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.js
deleted file mode 100644
index 76f2858..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SInt32Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.js.map
deleted file mode 100644
index b81fc7f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt32Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SInt32Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/SInt32Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.d.ts
deleted file mode 100644
index 90203d9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.d.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * SInt64Rules describes the constraints applied to `sint64` values
- */
-export interface SInt64Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number | string | Long);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number | string | Long);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number | string | Long);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number | string | Long);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number | string | Long);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number | string | Long)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number | string | Long)[];
-}
-/**
- * SInt64Rules describes the constraints applied to `sint64` values
- */
-export interface SInt64Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (string);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (string);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (string);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (string);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (string)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.js
deleted file mode 100644
index 0c5c333..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=SInt64Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.js.map
deleted file mode 100644
index 9641f9e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/SInt64Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"SInt64Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/SInt64Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.d.ts
deleted file mode 100644
index cef14ce..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.d.ts
+++ /dev/null
@@ -1,284 +0,0 @@
-import type { KnownRegex as _validate_KnownRegex, KnownRegex__Output as _validate_KnownRegex__Output } from '../validate/KnownRegex';
-import type { Long } from '@grpc/proto-loader';
-/**
- * StringRules describe the constraints applied to `string` values
- */
-export interface StringRules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (string);
- /**
- * MinLen specifies that this field must be the specified number of
- * characters (Unicode code points) at a minimum. Note that the number of
- * characters may differ from the number of bytes in the string.
- */
- 'min_len'?: (number | string | Long);
- /**
- * MaxLen specifies that this field must be the specified number of
- * characters (Unicode code points) at a maximum. Note that the number of
- * characters may differ from the number of bytes in the string.
- */
- 'max_len'?: (number | string | Long);
- /**
- * MinBytes specifies that this field must be the specified number of bytes
- * at a minimum
- */
- 'min_bytes'?: (number | string | Long);
- /**
- * MaxBytes specifies that this field must be the specified number of bytes
- * at a maximum
- */
- 'max_bytes'?: (number | string | Long);
- /**
- * Pattern specifes that this field must match against the specified
- * regular expression (RE2 syntax). The included expression should elide
- * any delimiters.
- */
- 'pattern'?: (string);
- /**
- * Prefix specifies that this field must have the specified substring at
- * the beginning of the string.
- */
- 'prefix'?: (string);
- /**
- * Suffix specifies that this field must have the specified substring at
- * the end of the string.
- */
- 'suffix'?: (string);
- /**
- * Contains specifies that this field must have the specified substring
- * anywhere in the string.
- */
- 'contains'?: (string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (string)[];
- /**
- * Email specifies that the field must be a valid email address as
- * defined by RFC 5322
- */
- 'email'?: (boolean);
- /**
- * Hostname specifies that the field must be a valid hostname as
- * defined by RFC 1034. This constraint does not support
- * internationalized domain names (IDNs).
- */
- 'hostname'?: (boolean);
- /**
- * Ip specifies that the field must be a valid IP (v4 or v6) address.
- * Valid IPv6 addresses should not include surrounding square brackets.
- */
- 'ip'?: (boolean);
- /**
- * Ipv4 specifies that the field must be a valid IPv4 address.
- */
- 'ipv4'?: (boolean);
- /**
- * Ipv6 specifies that the field must be a valid IPv6 address. Valid
- * IPv6 addresses should not include surrounding square brackets.
- */
- 'ipv6'?: (boolean);
- /**
- * Uri specifies that the field must be a valid, absolute URI as defined
- * by RFC 3986
- */
- 'uri'?: (boolean);
- /**
- * UriRef specifies that the field must be a valid URI as defined by RFC
- * 3986 and may be relative or absolute.
- */
- 'uri_ref'?: (boolean);
- /**
- * Len specifies that this field must be the specified number of
- * characters (Unicode code points). Note that the number of
- * characters may differ from the number of bytes in the string.
- */
- 'len'?: (number | string | Long);
- /**
- * LenBytes specifies that this field must be the specified number of bytes
- * at a minimum
- */
- 'len_bytes'?: (number | string | Long);
- /**
- * Address specifies that the field must be either a valid hostname as
- * defined by RFC 1034 (which does not support internationalized domain
- * names or IDNs), or it can be a valid IP (v4 or v6).
- */
- 'address'?: (boolean);
- /**
- * Uuid specifies that the field must be a valid UUID as defined by
- * RFC 4122
- */
- 'uuid'?: (boolean);
- /**
- * NotContains specifies that this field cannot have the specified substring
- * anywhere in the string.
- */
- 'not_contains'?: (string);
- /**
- * WellKnownRegex specifies a common well known pattern defined as a regex.
- */
- 'well_known_regex'?: (_validate_KnownRegex);
- /**
- * This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable
- * strict header validation.
- * By default, this is true, and HTTP header validations are RFC-compliant.
- * Setting to false will enable a looser validations that only disallows
- * \r\n\0 characters, which can be used to bypass header matching rules.
- */
- 'strict'?: (boolean);
- /**
- * WellKnown rules provide advanced constraints against common string
- * patterns
- */
- 'well_known'?: "email" | "hostname" | "ip" | "ipv4" | "ipv6" | "uri" | "uri_ref" | "address" | "uuid" | "well_known_regex";
-}
-/**
- * StringRules describe the constraints applied to `string` values
- */
-export interface StringRules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (string);
- /**
- * MinLen specifies that this field must be the specified number of
- * characters (Unicode code points) at a minimum. Note that the number of
- * characters may differ from the number of bytes in the string.
- */
- 'min_len': (string);
- /**
- * MaxLen specifies that this field must be the specified number of
- * characters (Unicode code points) at a maximum. Note that the number of
- * characters may differ from the number of bytes in the string.
- */
- 'max_len': (string);
- /**
- * MinBytes specifies that this field must be the specified number of bytes
- * at a minimum
- */
- 'min_bytes': (string);
- /**
- * MaxBytes specifies that this field must be the specified number of bytes
- * at a maximum
- */
- 'max_bytes': (string);
- /**
- * Pattern specifes that this field must match against the specified
- * regular expression (RE2 syntax). The included expression should elide
- * any delimiters.
- */
- 'pattern': (string);
- /**
- * Prefix specifies that this field must have the specified substring at
- * the beginning of the string.
- */
- 'prefix': (string);
- /**
- * Suffix specifies that this field must have the specified substring at
- * the end of the string.
- */
- 'suffix': (string);
- /**
- * Contains specifies that this field must have the specified substring
- * anywhere in the string.
- */
- 'contains': (string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (string)[];
- /**
- * Email specifies that the field must be a valid email address as
- * defined by RFC 5322
- */
- 'email'?: (boolean);
- /**
- * Hostname specifies that the field must be a valid hostname as
- * defined by RFC 1034. This constraint does not support
- * internationalized domain names (IDNs).
- */
- 'hostname'?: (boolean);
- /**
- * Ip specifies that the field must be a valid IP (v4 or v6) address.
- * Valid IPv6 addresses should not include surrounding square brackets.
- */
- 'ip'?: (boolean);
- /**
- * Ipv4 specifies that the field must be a valid IPv4 address.
- */
- 'ipv4'?: (boolean);
- /**
- * Ipv6 specifies that the field must be a valid IPv6 address. Valid
- * IPv6 addresses should not include surrounding square brackets.
- */
- 'ipv6'?: (boolean);
- /**
- * Uri specifies that the field must be a valid, absolute URI as defined
- * by RFC 3986
- */
- 'uri'?: (boolean);
- /**
- * UriRef specifies that the field must be a valid URI as defined by RFC
- * 3986 and may be relative or absolute.
- */
- 'uri_ref'?: (boolean);
- /**
- * Len specifies that this field must be the specified number of
- * characters (Unicode code points). Note that the number of
- * characters may differ from the number of bytes in the string.
- */
- 'len': (string);
- /**
- * LenBytes specifies that this field must be the specified number of bytes
- * at a minimum
- */
- 'len_bytes': (string);
- /**
- * Address specifies that the field must be either a valid hostname as
- * defined by RFC 1034 (which does not support internationalized domain
- * names or IDNs), or it can be a valid IP (v4 or v6).
- */
- 'address'?: (boolean);
- /**
- * Uuid specifies that the field must be a valid UUID as defined by
- * RFC 4122
- */
- 'uuid'?: (boolean);
- /**
- * NotContains specifies that this field cannot have the specified substring
- * anywhere in the string.
- */
- 'not_contains': (string);
- /**
- * WellKnownRegex specifies a common well known pattern defined as a regex.
- */
- 'well_known_regex'?: (_validate_KnownRegex__Output);
- /**
- * This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable
- * strict header validation.
- * By default, this is true, and HTTP header validations are RFC-compliant.
- * Setting to false will enable a looser validations that only disallows
- * \r\n\0 characters, which can be used to bypass header matching rules.
- */
- 'strict': (boolean);
- /**
- * WellKnown rules provide advanced constraints against common string
- * patterns
- */
- 'well_known'?: "email" | "hostname" | "ip" | "ipv4" | "ipv6" | "uri" | "uri_ref" | "address" | "uuid" | "well_known_regex";
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.js
deleted file mode 100644
index 0a64d7b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=StringRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.js.map
deleted file mode 100644
index 5d1e033..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/StringRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"StringRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/StringRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.d.ts
deleted file mode 100644
index 6919a4a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.d.ts
+++ /dev/null
@@ -1,102 +0,0 @@
-import type { Timestamp as _google_protobuf_Timestamp, Timestamp__Output as _google_protobuf_Timestamp__Output } from '../google/protobuf/Timestamp';
-import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../google/protobuf/Duration';
-/**
- * TimestampRules describe the constraints applied exclusively to the
- * `google.protobuf.Timestamp` well-known type
- */
-export interface TimestampRules {
- /**
- * Required specifies that this field must be set
- */
- 'required'?: (boolean);
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (_google_protobuf_Timestamp | null);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (_google_protobuf_Timestamp | null);
- /**
- * Lte specifies that this field must be less than the specified value,
- * inclusive
- */
- 'lte'?: (_google_protobuf_Timestamp | null);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive
- */
- 'gt'?: (_google_protobuf_Timestamp | null);
- /**
- * Gte specifies that this field must be greater than the specified value,
- * inclusive
- */
- 'gte'?: (_google_protobuf_Timestamp | null);
- /**
- * LtNow specifies that this must be less than the current time. LtNow
- * can only be used with the Within rule.
- */
- 'lt_now'?: (boolean);
- /**
- * GtNow specifies that this must be greater than the current time. GtNow
- * can only be used with the Within rule.
- */
- 'gt_now'?: (boolean);
- /**
- * Within specifies that this field must be within this duration of the
- * current time. This constraint can be used alone or with the LtNow and
- * GtNow rules.
- */
- 'within'?: (_google_protobuf_Duration | null);
-}
-/**
- * TimestampRules describe the constraints applied exclusively to the
- * `google.protobuf.Timestamp` well-known type
- */
-export interface TimestampRules__Output {
- /**
- * Required specifies that this field must be set
- */
- 'required': (boolean);
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (_google_protobuf_Timestamp__Output | null);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (_google_protobuf_Timestamp__Output | null);
- /**
- * Lte specifies that this field must be less than the specified value,
- * inclusive
- */
- 'lte': (_google_protobuf_Timestamp__Output | null);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive
- */
- 'gt': (_google_protobuf_Timestamp__Output | null);
- /**
- * Gte specifies that this field must be greater than the specified value,
- * inclusive
- */
- 'gte': (_google_protobuf_Timestamp__Output | null);
- /**
- * LtNow specifies that this must be less than the current time. LtNow
- * can only be used with the Within rule.
- */
- 'lt_now': (boolean);
- /**
- * GtNow specifies that this must be greater than the current time. GtNow
- * can only be used with the Within rule.
- */
- 'gt_now': (boolean);
- /**
- * Within specifies that this field must be within this duration of the
- * current time. This constraint can be used alone or with the LtNow and
- * GtNow rules.
- */
- 'within': (_google_protobuf_Duration__Output | null);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.js
deleted file mode 100644
index 4668d53..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=TimestampRules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.js.map
deleted file mode 100644
index f06278f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/TimestampRules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"TimestampRules.js","sourceRoot":"","sources":["../../../../src/generated/validate/TimestampRules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.d.ts
deleted file mode 100644
index 68d6d77..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * UInt32Rules describes the constraints applied to `uint32` values
- */
-export interface UInt32Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number)[];
-}
-/**
- * UInt32Rules describes the constraints applied to `uint32` values
- */
-export interface UInt32Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (number);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (number);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (number);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (number);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (number);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (number)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (number)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.js
deleted file mode 100644
index a447f24..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=UInt32Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.js.map
deleted file mode 100644
index 5bbb825..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt32Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"UInt32Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/UInt32Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.d.ts
deleted file mode 100644
index c0da066..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.d.ts
+++ /dev/null
@@ -1,83 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-/**
- * UInt64Rules describes the constraints applied to `uint64` values
- */
-export interface UInt64Rules {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const'?: (number | string | Long);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt'?: (number | string | Long);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte'?: (number | string | Long);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt'?: (number | string | Long);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte'?: (number | string | Long);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in'?: (number | string | Long)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in'?: (number | string | Long)[];
-}
-/**
- * UInt64Rules describes the constraints applied to `uint64` values
- */
-export interface UInt64Rules__Output {
- /**
- * Const specifies that this field must be exactly the specified value
- */
- 'const': (string);
- /**
- * Lt specifies that this field must be less than the specified value,
- * exclusive
- */
- 'lt': (string);
- /**
- * Lte specifies that this field must be less than or equal to the
- * specified value, inclusive
- */
- 'lte': (string);
- /**
- * Gt specifies that this field must be greater than the specified value,
- * exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- * range is reversed.
- */
- 'gt': (string);
- /**
- * Gte specifies that this field must be greater than or equal to the
- * specified value, inclusive. If the value of Gte is larger than a
- * specified Lt or Lte, the range is reversed.
- */
- 'gte': (string);
- /**
- * In specifies that this field must be equal to one of the specified
- * values
- */
- 'in': (string)[];
- /**
- * NotIn specifies that this field cannot be equal to one of the specified
- * values
- */
- 'not_in': (string)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.js b/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.js
deleted file mode 100644
index 381e3e1..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/protoc-gen-validate/validate/validate.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=UInt64Rules.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.js.map b/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.js.map
deleted file mode 100644
index ee77fc4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/validate/UInt64Rules.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"UInt64Rules.js","sourceRoot":"","sources":["../../../../src/generated/validate/UInt64Rules.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.d.ts
deleted file mode 100644
index 758a270..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.d.ts
+++ /dev/null
@@ -1,121 +0,0 @@
-import type { Long } from '@grpc/proto-loader';
-export interface OrcaLoadReport {
- /**
- * CPU utilization expressed as a fraction of available CPU resources. This
- * should be derived from the latest sample or measurement. The value may be
- * larger than 1.0 when the usage exceeds the reporter dependent notion of
- * soft limits.
- */
- 'cpu_utilization'?: (number | string);
- /**
- * Memory utilization expressed as a fraction of available memory
- * resources. This should be derived from the latest sample or measurement.
- */
- 'mem_utilization'?: (number | string);
- /**
- * Total RPS being served by an endpoint. This should cover all services that an endpoint is
- * responsible for.
- * Deprecated -- use ``rps_fractional`` field instead.
- * @deprecated
- */
- 'rps'?: (number | string | Long);
- /**
- * Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
- * storage) associated with the request.
- */
- 'request_cost'?: ({
- [key: string]: number | string;
- });
- /**
- * Resource utilization values. Each value is expressed as a fraction of total resources
- * available, derived from the latest sample or measurement.
- */
- 'utilization'?: ({
- [key: string]: number | string;
- });
- /**
- * Total RPS being served by an endpoint. This should cover all services that an endpoint is
- * responsible for.
- */
- 'rps_fractional'?: (number | string);
- /**
- * Total EPS (errors/second) being served by an endpoint. This should cover
- * all services that an endpoint is responsible for.
- */
- 'eps'?: (number | string);
- /**
- * Application specific opaque metrics.
- */
- 'named_metrics'?: ({
- [key: string]: number | string;
- });
- /**
- * Application specific utilization expressed as a fraction of available
- * resources. For example, an application may report the max of CPU and memory
- * utilization for better load balancing if it is both CPU and memory bound.
- * This should be derived from the latest sample or measurement.
- * The value may be larger than 1.0 when the usage exceeds the reporter
- * dependent notion of soft limits.
- */
- 'application_utilization'?: (number | string);
-}
-export interface OrcaLoadReport__Output {
- /**
- * CPU utilization expressed as a fraction of available CPU resources. This
- * should be derived from the latest sample or measurement. The value may be
- * larger than 1.0 when the usage exceeds the reporter dependent notion of
- * soft limits.
- */
- 'cpu_utilization': (number);
- /**
- * Memory utilization expressed as a fraction of available memory
- * resources. This should be derived from the latest sample or measurement.
- */
- 'mem_utilization': (number);
- /**
- * Total RPS being served by an endpoint. This should cover all services that an endpoint is
- * responsible for.
- * Deprecated -- use ``rps_fractional`` field instead.
- * @deprecated
- */
- 'rps': (string);
- /**
- * Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
- * storage) associated with the request.
- */
- 'request_cost': ({
- [key: string]: number;
- });
- /**
- * Resource utilization values. Each value is expressed as a fraction of total resources
- * available, derived from the latest sample or measurement.
- */
- 'utilization': ({
- [key: string]: number;
- });
- /**
- * Total RPS being served by an endpoint. This should cover all services that an endpoint is
- * responsible for.
- */
- 'rps_fractional': (number);
- /**
- * Total EPS (errors/second) being served by an endpoint. This should cover
- * all services that an endpoint is responsible for.
- */
- 'eps': (number);
- /**
- * Application specific opaque metrics.
- */
- 'named_metrics': ({
- [key: string]: number;
- });
- /**
- * Application specific utilization expressed as a fraction of available
- * resources. For example, an application may report the max of CPU and memory
- * utilization for better load balancing if it is both CPU and memory bound.
- * This should be derived from the latest sample or measurement.
- * The value may be larger than 1.0 when the usage exceeds the reporter
- * dependent notion of soft limits.
- */
- 'application_utilization': (number);
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js b/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js
deleted file mode 100644
index ca275f3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/xds/xds/data/orca/v3/orca_load_report.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=OrcaLoadReport.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js.map b/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js.map
deleted file mode 100644
index 619fad8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/data/orca/v3/OrcaLoadReport.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OrcaLoadReport.js","sourceRoot":"","sources":["../../../../../../../src/generated/xds/data/orca/v3/OrcaLoadReport.ts"],"names":[],"mappings":";AAAA,mEAAmE"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.d.ts
deleted file mode 100644
index 0d3fd0b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.d.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-import type * as grpc from '../../../../../index';
-import type { MethodDefinition } from '@grpc/proto-loader';
-import type { OrcaLoadReport as _xds_data_orca_v3_OrcaLoadReport, OrcaLoadReport__Output as _xds_data_orca_v3_OrcaLoadReport__Output } from '../../../../xds/data/orca/v3/OrcaLoadReport';
-import type { OrcaLoadReportRequest as _xds_service_orca_v3_OrcaLoadReportRequest, OrcaLoadReportRequest__Output as _xds_service_orca_v3_OrcaLoadReportRequest__Output } from '../../../../xds/service/orca/v3/OrcaLoadReportRequest';
-/**
- * Out-of-band (OOB) load reporting service for the additional load reporting
- * agent that does not sit in the request path. Reports are periodically sampled
- * with sufficient frequency to provide temporal association with requests.
- * OOB reporting compensates the limitation of in-band reporting in revealing
- * costs for backends that do not provide a steady stream of telemetry such as
- * long running stream operations and zero QPS services. This is a server
- * streaming service, client needs to terminate current RPC and initiate
- * a new call to change backend reporting frequency.
- */
-export interface OpenRcaServiceClient extends grpc.Client {
- StreamCoreMetrics(argument: _xds_service_orca_v3_OrcaLoadReportRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_xds_data_orca_v3_OrcaLoadReport__Output>;
- StreamCoreMetrics(argument: _xds_service_orca_v3_OrcaLoadReportRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_xds_data_orca_v3_OrcaLoadReport__Output>;
- streamCoreMetrics(argument: _xds_service_orca_v3_OrcaLoadReportRequest, metadata: grpc.Metadata, options?: grpc.CallOptions): grpc.ClientReadableStream<_xds_data_orca_v3_OrcaLoadReport__Output>;
- streamCoreMetrics(argument: _xds_service_orca_v3_OrcaLoadReportRequest, options?: grpc.CallOptions): grpc.ClientReadableStream<_xds_data_orca_v3_OrcaLoadReport__Output>;
-}
-/**
- * Out-of-band (OOB) load reporting service for the additional load reporting
- * agent that does not sit in the request path. Reports are periodically sampled
- * with sufficient frequency to provide temporal association with requests.
- * OOB reporting compensates the limitation of in-band reporting in revealing
- * costs for backends that do not provide a steady stream of telemetry such as
- * long running stream operations and zero QPS services. This is a server
- * streaming service, client needs to terminate current RPC and initiate
- * a new call to change backend reporting frequency.
- */
-export interface OpenRcaServiceHandlers extends grpc.UntypedServiceImplementation {
- StreamCoreMetrics: grpc.handleServerStreamingCall<_xds_service_orca_v3_OrcaLoadReportRequest__Output, _xds_data_orca_v3_OrcaLoadReport>;
-}
-export interface OpenRcaServiceDefinition extends grpc.ServiceDefinition {
- StreamCoreMetrics: MethodDefinition<_xds_service_orca_v3_OrcaLoadReportRequest, _xds_data_orca_v3_OrcaLoadReport, _xds_service_orca_v3_OrcaLoadReportRequest__Output, _xds_data_orca_v3_OrcaLoadReport__Output>;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.js b/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.js
deleted file mode 100644
index fea4f9e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/xds/xds/service/orca/v3/orca.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=OpenRcaService.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.js.map b/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.js.map
deleted file mode 100644
index d5c32c8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OpenRcaService.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OpenRcaService.js","sourceRoot":"","sources":["../../../../../../../src/generated/xds/service/orca/v3/OpenRcaService.ts"],"names":[],"mappings":";AAAA,0DAA0D"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.d.ts b/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.d.ts
deleted file mode 100644
index 2c83eff..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import type { Duration as _google_protobuf_Duration, Duration__Output as _google_protobuf_Duration__Output } from '../../../../google/protobuf/Duration';
-export interface OrcaLoadReportRequest {
- /**
- * Interval for generating Open RCA core metric responses.
- */
- 'report_interval'?: (_google_protobuf_Duration | null);
- /**
- * Request costs to collect. If this is empty, all known requests costs tracked by
- * the load reporting agent will be returned. This provides an opportunity for
- * the client to selectively obtain a subset of tracked costs.
- */
- 'request_cost_names'?: (string)[];
-}
-export interface OrcaLoadReportRequest__Output {
- /**
- * Interval for generating Open RCA core metric responses.
- */
- 'report_interval': (_google_protobuf_Duration__Output | null);
- /**
- * Request costs to collect. If this is empty, all known requests costs tracked by
- * the load reporting agent will be returned. This provides an opportunity for
- * the client to selectively obtain a subset of tracked costs.
- */
- 'request_cost_names': (string)[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js b/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js
deleted file mode 100644
index bd89fd0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js
+++ /dev/null
@@ -1,4 +0,0 @@
-"use strict";
-// Original file: proto/xds/xds/service/orca/v3/orca.proto
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=OrcaLoadReportRequest.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js.map b/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js.map
deleted file mode 100644
index b7b7862..0000000
--- a/node_modules/@grpc/grpc-js/build/src/generated/xds/service/orca/v3/OrcaLoadReportRequest.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"OrcaLoadReportRequest.js","sourceRoot":"","sources":["../../../../../../../src/generated/xds/service/orca/v3/OrcaLoadReportRequest.ts"],"names":[],"mappings":";AAAA,0DAA0D"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/http_proxy.d.ts b/node_modules/@grpc/grpc-js/build/src/http_proxy.d.ts
deleted file mode 100644
index 29a97a4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/http_proxy.d.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-import { Socket } from 'net';
-import { SubchannelAddress } from './subchannel-address';
-import { ChannelOptions } from './channel-options';
-import { GrpcUri } from './uri-parser';
-interface CIDRNotation {
- ip: number;
- prefixLength: number;
-}
-export declare function parseCIDR(cidrString: string): CIDRNotation | null;
-export interface ProxyMapResult {
- target: GrpcUri;
- extraOptions: ChannelOptions;
-}
-export declare function mapProxyName(target: GrpcUri, options: ChannelOptions): ProxyMapResult;
-export declare function getProxiedConnection(address: SubchannelAddress, channelOptions: ChannelOptions): Promise;
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/http_proxy.js b/node_modules/@grpc/grpc-js/build/src/http_proxy.js
deleted file mode 100644
index 114017c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/http_proxy.js
+++ /dev/null
@@ -1,274 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.parseCIDR = parseCIDR;
-exports.mapProxyName = mapProxyName;
-exports.getProxiedConnection = getProxiedConnection;
-const logging_1 = require("./logging");
-const constants_1 = require("./constants");
-const net_1 = require("net");
-const http = require("http");
-const logging = require("./logging");
-const subchannel_address_1 = require("./subchannel-address");
-const uri_parser_1 = require("./uri-parser");
-const url_1 = require("url");
-const resolver_dns_1 = require("./resolver-dns");
-const TRACER_NAME = 'proxy';
-function trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-function getProxyInfo() {
- let proxyEnv = '';
- let envVar = '';
- /* Prefer using 'grpc_proxy'. Fallback on 'http_proxy' if it is not set.
- * Also prefer using 'https_proxy' with fallback on 'http_proxy'. The
- * fallback behavior can be removed if there's a demand for it.
- */
- if (process.env.grpc_proxy) {
- envVar = 'grpc_proxy';
- proxyEnv = process.env.grpc_proxy;
- }
- else if (process.env.https_proxy) {
- envVar = 'https_proxy';
- proxyEnv = process.env.https_proxy;
- }
- else if (process.env.http_proxy) {
- envVar = 'http_proxy';
- proxyEnv = process.env.http_proxy;
- }
- else {
- return {};
- }
- let proxyUrl;
- try {
- proxyUrl = new url_1.URL(proxyEnv);
- }
- catch (e) {
- (0, logging_1.log)(constants_1.LogVerbosity.ERROR, `cannot parse value of "${envVar}" env var`);
- return {};
- }
- if (proxyUrl.protocol !== 'http:') {
- (0, logging_1.log)(constants_1.LogVerbosity.ERROR, `"${proxyUrl.protocol}" scheme not supported in proxy URI`);
- return {};
- }
- let userCred = null;
- if (proxyUrl.username) {
- if (proxyUrl.password) {
- (0, logging_1.log)(constants_1.LogVerbosity.INFO, 'userinfo found in proxy URI');
- userCred = decodeURIComponent(`${proxyUrl.username}:${proxyUrl.password}`);
- }
- else {
- userCred = proxyUrl.username;
- }
- }
- const hostname = proxyUrl.hostname;
- let port = proxyUrl.port;
- /* The proxy URL uses the scheme "http:", which has a default port number of
- * 80. We need to set that explicitly here if it is omitted because otherwise
- * it will use gRPC's default port 443. */
- if (port === '') {
- port = '80';
- }
- const result = {
- address: `${hostname}:${port}`,
- };
- if (userCred) {
- result.creds = userCred;
- }
- trace('Proxy server ' + result.address + ' set by environment variable ' + envVar);
- return result;
-}
-function getNoProxyHostList() {
- /* Prefer using 'no_grpc_proxy'. Fallback on 'no_proxy' if it is not set. */
- let noProxyStr = process.env.no_grpc_proxy;
- let envVar = 'no_grpc_proxy';
- if (!noProxyStr) {
- noProxyStr = process.env.no_proxy;
- envVar = 'no_proxy';
- }
- if (noProxyStr) {
- trace('No proxy server list set by environment variable ' + envVar);
- return noProxyStr.split(',');
- }
- else {
- return [];
- }
-}
-/*
- * The groups correspond to CIDR parts as follows:
- * 1. ip
- * 2. prefixLength
- */
-function parseCIDR(cidrString) {
- const splitRange = cidrString.split('/');
- if (splitRange.length !== 2) {
- return null;
- }
- const prefixLength = parseInt(splitRange[1], 10);
- if (!(0, net_1.isIPv4)(splitRange[0]) || Number.isNaN(prefixLength) || prefixLength < 0 || prefixLength > 32) {
- return null;
- }
- return {
- ip: ipToInt(splitRange[0]),
- prefixLength: prefixLength
- };
-}
-function ipToInt(ip) {
- return ip.split(".").reduce((acc, octet) => (acc << 8) + parseInt(octet, 10), 0);
-}
-function isIpInCIDR(cidr, serverHost) {
- const ip = cidr.ip;
- const mask = -1 << (32 - cidr.prefixLength);
- const hostIP = ipToInt(serverHost);
- return (hostIP & mask) === (ip & mask);
-}
-function hostMatchesNoProxyList(serverHost) {
- for (const host of getNoProxyHostList()) {
- const parsedCIDR = parseCIDR(host);
- // host is a CIDR and serverHost is an IP address
- if ((0, net_1.isIPv4)(serverHost) && parsedCIDR && isIpInCIDR(parsedCIDR, serverHost)) {
- return true;
- }
- else if (serverHost.endsWith(host)) {
- // host is a single IP or a domain name suffix
- return true;
- }
- }
- return false;
-}
-function mapProxyName(target, options) {
- var _a;
- const noProxyResult = {
- target: target,
- extraOptions: {},
- };
- if (((_a = options['grpc.enable_http_proxy']) !== null && _a !== void 0 ? _a : 1) === 0) {
- return noProxyResult;
- }
- if (target.scheme === 'unix') {
- return noProxyResult;
- }
- const proxyInfo = getProxyInfo();
- if (!proxyInfo.address) {
- return noProxyResult;
- }
- const hostPort = (0, uri_parser_1.splitHostPort)(target.path);
- if (!hostPort) {
- return noProxyResult;
- }
- const serverHost = hostPort.host;
- if (hostMatchesNoProxyList(serverHost)) {
- trace('Not using proxy for target in no_proxy list: ' + (0, uri_parser_1.uriToString)(target));
- return noProxyResult;
- }
- const extraOptions = {
- 'grpc.http_connect_target': (0, uri_parser_1.uriToString)(target),
- };
- if (proxyInfo.creds) {
- extraOptions['grpc.http_connect_creds'] = proxyInfo.creds;
- }
- return {
- target: {
- scheme: 'dns',
- path: proxyInfo.address,
- },
- extraOptions: extraOptions,
- };
-}
-function getProxiedConnection(address, channelOptions) {
- var _a;
- if (!('grpc.http_connect_target' in channelOptions)) {
- return Promise.resolve(null);
- }
- const realTarget = channelOptions['grpc.http_connect_target'];
- const parsedTarget = (0, uri_parser_1.parseUri)(realTarget);
- if (parsedTarget === null) {
- return Promise.resolve(null);
- }
- const splitHostPost = (0, uri_parser_1.splitHostPort)(parsedTarget.path);
- if (splitHostPost === null) {
- return Promise.resolve(null);
- }
- const hostPort = `${splitHostPost.host}:${(_a = splitHostPost.port) !== null && _a !== void 0 ? _a : resolver_dns_1.DEFAULT_PORT}`;
- const options = {
- method: 'CONNECT',
- path: hostPort,
- };
- const headers = {
- Host: hostPort,
- };
- // Connect to the subchannel address as a proxy
- if ((0, subchannel_address_1.isTcpSubchannelAddress)(address)) {
- options.host = address.host;
- options.port = address.port;
- }
- else {
- options.socketPath = address.path;
- }
- if ('grpc.http_connect_creds' in channelOptions) {
- headers['Proxy-Authorization'] =
- 'Basic ' +
- Buffer.from(channelOptions['grpc.http_connect_creds']).toString('base64');
- }
- options.headers = headers;
- const proxyAddressString = (0, subchannel_address_1.subchannelAddressToString)(address);
- trace('Using proxy ' + proxyAddressString + ' to connect to ' + options.path);
- return new Promise((resolve, reject) => {
- const request = http.request(options);
- request.once('connect', (res, socket, head) => {
- request.removeAllListeners();
- socket.removeAllListeners();
- if (res.statusCode === 200) {
- trace('Successfully connected to ' +
- options.path +
- ' through proxy ' +
- proxyAddressString);
- // The HTTP client may have already read a few bytes of the proxied
- // connection. If that's the case, put them back into the socket.
- // See https://github.com/grpc/grpc-node/issues/2744.
- if (head.length > 0) {
- socket.unshift(head);
- }
- trace('Successfully established a plaintext connection to ' +
- options.path +
- ' through proxy ' +
- proxyAddressString);
- resolve(socket);
- }
- else {
- (0, logging_1.log)(constants_1.LogVerbosity.ERROR, 'Failed to connect to ' +
- options.path +
- ' through proxy ' +
- proxyAddressString +
- ' with status ' +
- res.statusCode);
- reject();
- }
- });
- request.once('error', err => {
- request.removeAllListeners();
- (0, logging_1.log)(constants_1.LogVerbosity.ERROR, 'Failed to connect to proxy ' +
- proxyAddressString +
- ' with error ' +
- err.message);
- reject();
- });
- request.end();
- });
-}
-//# sourceMappingURL=http_proxy.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/http_proxy.js.map b/node_modules/@grpc/grpc-js/build/src/http_proxy.js.map
deleted file mode 100644
index 85e768c..0000000
--- a/node_modules/@grpc/grpc-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.ts b/node_modules/@grpc/grpc-js/build/src/index.d.ts
deleted file mode 100644
index 5e959ef..0000000
--- a/node_modules/@grpc/grpc-js/build/src/index.d.ts
+++ /dev/null
@@ -1,79 +0,0 @@
-import { ClientDuplexStream, ClientReadableStream, ClientUnaryCall, ClientWritableStream, ServiceError } from './call';
-import { CallCredentials, OAuth2Client } from './call-credentials';
-import { StatusObject } from './call-interface';
-import { Channel, ChannelImplementation } from './channel';
-import { CompressionAlgorithms } from './compression-algorithms';
-import { ConnectivityState } from './connectivity-state';
-import { ChannelCredentials, VerifyOptions } from './channel-credentials';
-import { CallOptions, Client, ClientOptions, CallInvocationTransformer, CallProperties, UnaryCallback } from './client';
-import { LogVerbosity, Status, Propagate } from './constants';
-import { Deserialize, loadPackageDefinition, makeClientConstructor, MethodDefinition, Serialize, ServerMethodDefinition, ServiceDefinition } from './make-client';
-import { Metadata, MetadataOptions, MetadataValue } from './metadata';
-import { ConnectionInjector, Server, ServerOptions, UntypedHandleCall, UntypedServiceImplementation } from './server';
-import { KeyCertPair, ServerCredentials } from './server-credentials';
-import { StatusBuilder } from './status-builder';
-import { handleBidiStreamingCall, handleServerStreamingCall, handleClientStreamingCall, handleUnaryCall, sendUnaryData, ServerUnaryCall, ServerReadableStream, ServerWritableStream, ServerDuplexStream, ServerErrorResponse } from './server-call';
-export { OAuth2Client };
-/**** Client Credentials ****/
-export declare const credentials: {
- /**
- * Combine a ChannelCredentials with any number of CallCredentials into a
- * single ChannelCredentials object.
- * @param channelCredentials The ChannelCredentials object.
- * @param callCredentials Any number of CallCredentials objects.
- * @return The resulting ChannelCredentials object.
- */
- combineChannelCredentials: (channelCredentials: ChannelCredentials, ...callCredentials: CallCredentials[]) => ChannelCredentials;
- /**
- * Combine any number of CallCredentials into a single CallCredentials
- * object.
- * @param first The first CallCredentials object.
- * @param additional Any number of additional CallCredentials objects.
- * @return The resulting CallCredentials object.
- */
- combineCallCredentials: (first: CallCredentials, ...additional: CallCredentials[]) => CallCredentials;
- createInsecure: typeof ChannelCredentials.createInsecure;
- createSsl: typeof ChannelCredentials.createSsl;
- createFromSecureContext: typeof ChannelCredentials.createFromSecureContext;
- createFromMetadataGenerator: typeof CallCredentials.createFromMetadataGenerator;
- createFromGoogleCredential: typeof CallCredentials.createFromGoogleCredential;
- createEmpty: typeof CallCredentials.createEmpty;
-};
-/**** Metadata ****/
-export { Metadata, MetadataOptions, MetadataValue };
-/**** Constants ****/
-export { LogVerbosity as logVerbosity, Status as status, ConnectivityState as connectivityState, Propagate as propagate, CompressionAlgorithms as compressionAlgorithms, };
-/**** Client ****/
-export { Client, ClientOptions, loadPackageDefinition, makeClientConstructor, makeClientConstructor as makeGenericClientConstructor, CallProperties, CallInvocationTransformer, ChannelImplementation as Channel, Channel as ChannelInterface, UnaryCallback as requestCallback, };
-/**
- * Close a Client object.
- * @param client The client to close.
- */
-export declare const closeClient: (client: Client) => void;
-export declare const waitForClientReady: (client: Client, deadline: Date | number, callback: (error?: Error) => void) => void;
-export { sendUnaryData, ChannelCredentials, CallCredentials, Deadline, Serialize as serialize, Deserialize as deserialize, ClientUnaryCall, ClientReadableStream, ClientWritableStream, ClientDuplexStream, CallOptions, MethodDefinition, StatusObject, ServiceError, ServerUnaryCall, ServerReadableStream, ServerWritableStream, ServerDuplexStream, ServerErrorResponse, ServerMethodDefinition, ServiceDefinition, UntypedHandleCall, UntypedServiceImplementation, VerifyOptions, };
-/**** Server ****/
-export { handleBidiStreamingCall, handleServerStreamingCall, handleUnaryCall, handleClientStreamingCall, };
-export type Call = ClientUnaryCall | ClientReadableStream | ClientWritableStream | ClientDuplexStream;
-/**** Unimplemented function stubs ****/
-export declare const loadObject: (value: any, options: any) => never;
-export declare const load: (filename: any, format: any, options: any) => never;
-export declare const setLogger: (logger: Partial) => void;
-export declare const setLogVerbosity: (verbosity: LogVerbosity) => void;
-export { ConnectionInjector, Server, ServerOptions };
-export { ServerCredentials };
-export { KeyCertPair };
-export declare const getClientChannel: (client: Client) => Channel;
-export { StatusBuilder };
-export { Listener, InterceptingListener } from './call-interface';
-export { Requester, ListenerBuilder, RequesterBuilder, Interceptor, InterceptorOptions, InterceptorProvider, InterceptingCall, InterceptorConfigurationError, NextCall, } from './client-interceptors';
-export { GrpcObject, ServiceClientConstructor, ProtobufTypeDefinition, } from './make-client';
-export { ChannelOptions } from './channel-options';
-export { getChannelzServiceDefinition, getChannelzHandlers } from './channelz';
-export { addAdminServicesToServer } from './admin';
-export { ServiceConfig, LoadBalancingConfig, MethodConfig, RetryPolicy, } from './service-config';
-export { ServerListener, FullServerListener, ServerListenerBuilder, Responder, FullResponder, ResponderBuilder, ServerInterceptingCallInterface, ServerInterceptingCall, ServerInterceptor, } from './server-interceptors';
-export { ServerMetricRecorder } from './orca';
-import * as experimental from './experimental';
-export { experimental };
-import { Deadline } from './deadline';
diff --git a/node_modules/@grpc/grpc-js/build/src/index.js b/node_modules/@grpc/grpc-js/build/src/index.js
deleted file mode 100644
index 0c5c58a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/index.js
+++ /dev/null
@@ -1,148 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.experimental = exports.ServerMetricRecorder = exports.ServerInterceptingCall = exports.ResponderBuilder = exports.ServerListenerBuilder = exports.addAdminServicesToServer = exports.getChannelzHandlers = exports.getChannelzServiceDefinition = exports.InterceptorConfigurationError = exports.InterceptingCall = exports.RequesterBuilder = exports.ListenerBuilder = exports.StatusBuilder = exports.getClientChannel = exports.ServerCredentials = exports.Server = exports.setLogVerbosity = exports.setLogger = exports.load = exports.loadObject = exports.CallCredentials = exports.ChannelCredentials = exports.waitForClientReady = exports.closeClient = exports.Channel = exports.makeGenericClientConstructor = exports.makeClientConstructor = exports.loadPackageDefinition = exports.Client = exports.compressionAlgorithms = exports.propagate = exports.connectivityState = exports.status = exports.logVerbosity = exports.Metadata = exports.credentials = void 0;
-const call_credentials_1 = require("./call-credentials");
-Object.defineProperty(exports, "CallCredentials", { enumerable: true, get: function () { return call_credentials_1.CallCredentials; } });
-const channel_1 = require("./channel");
-Object.defineProperty(exports, "Channel", { enumerable: true, get: function () { return channel_1.ChannelImplementation; } });
-const compression_algorithms_1 = require("./compression-algorithms");
-Object.defineProperty(exports, "compressionAlgorithms", { enumerable: true, get: function () { return compression_algorithms_1.CompressionAlgorithms; } });
-const connectivity_state_1 = require("./connectivity-state");
-Object.defineProperty(exports, "connectivityState", { enumerable: true, get: function () { return connectivity_state_1.ConnectivityState; } });
-const channel_credentials_1 = require("./channel-credentials");
-Object.defineProperty(exports, "ChannelCredentials", { enumerable: true, get: function () { return channel_credentials_1.ChannelCredentials; } });
-const client_1 = require("./client");
-Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_1.Client; } });
-const constants_1 = require("./constants");
-Object.defineProperty(exports, "logVerbosity", { enumerable: true, get: function () { return constants_1.LogVerbosity; } });
-Object.defineProperty(exports, "status", { enumerable: true, get: function () { return constants_1.Status; } });
-Object.defineProperty(exports, "propagate", { enumerable: true, get: function () { return constants_1.Propagate; } });
-const logging = require("./logging");
-const make_client_1 = require("./make-client");
-Object.defineProperty(exports, "loadPackageDefinition", { enumerable: true, get: function () { return make_client_1.loadPackageDefinition; } });
-Object.defineProperty(exports, "makeClientConstructor", { enumerable: true, get: function () { return make_client_1.makeClientConstructor; } });
-Object.defineProperty(exports, "makeGenericClientConstructor", { enumerable: true, get: function () { return make_client_1.makeClientConstructor; } });
-const metadata_1 = require("./metadata");
-Object.defineProperty(exports, "Metadata", { enumerable: true, get: function () { return metadata_1.Metadata; } });
-const server_1 = require("./server");
-Object.defineProperty(exports, "Server", { enumerable: true, get: function () { return server_1.Server; } });
-const server_credentials_1 = require("./server-credentials");
-Object.defineProperty(exports, "ServerCredentials", { enumerable: true, get: function () { return server_credentials_1.ServerCredentials; } });
-const status_builder_1 = require("./status-builder");
-Object.defineProperty(exports, "StatusBuilder", { enumerable: true, get: function () { return status_builder_1.StatusBuilder; } });
-/**** Client Credentials ****/
-// Using assign only copies enumerable properties, which is what we want
-exports.credentials = {
- /**
- * Combine a ChannelCredentials with any number of CallCredentials into a
- * single ChannelCredentials object.
- * @param channelCredentials The ChannelCredentials object.
- * @param callCredentials Any number of CallCredentials objects.
- * @return The resulting ChannelCredentials object.
- */
- combineChannelCredentials: (channelCredentials, ...callCredentials) => {
- return callCredentials.reduce((acc, other) => acc.compose(other), channelCredentials);
- },
- /**
- * Combine any number of CallCredentials into a single CallCredentials
- * object.
- * @param first The first CallCredentials object.
- * @param additional Any number of additional CallCredentials objects.
- * @return The resulting CallCredentials object.
- */
- combineCallCredentials: (first, ...additional) => {
- return additional.reduce((acc, other) => acc.compose(other), first);
- },
- // from channel-credentials.ts
- createInsecure: channel_credentials_1.ChannelCredentials.createInsecure,
- createSsl: channel_credentials_1.ChannelCredentials.createSsl,
- createFromSecureContext: channel_credentials_1.ChannelCredentials.createFromSecureContext,
- // from call-credentials.ts
- createFromMetadataGenerator: call_credentials_1.CallCredentials.createFromMetadataGenerator,
- createFromGoogleCredential: call_credentials_1.CallCredentials.createFromGoogleCredential,
- createEmpty: call_credentials_1.CallCredentials.createEmpty,
-};
-/**
- * Close a Client object.
- * @param client The client to close.
- */
-const closeClient = (client) => client.close();
-exports.closeClient = closeClient;
-const waitForClientReady = (client, deadline, callback) => client.waitForReady(deadline, callback);
-exports.waitForClientReady = waitForClientReady;
-/* eslint-enable @typescript-eslint/no-explicit-any */
-/**** Unimplemented function stubs ****/
-/* eslint-disable @typescript-eslint/no-explicit-any */
-const loadObject = (value, options) => {
- throw new Error('Not available in this library. Use @grpc/proto-loader and loadPackageDefinition instead');
-};
-exports.loadObject = loadObject;
-const load = (filename, format, options) => {
- throw new Error('Not available in this library. Use @grpc/proto-loader and loadPackageDefinition instead');
-};
-exports.load = load;
-const setLogger = (logger) => {
- logging.setLogger(logger);
-};
-exports.setLogger = setLogger;
-const setLogVerbosity = (verbosity) => {
- logging.setLoggerVerbosity(verbosity);
-};
-exports.setLogVerbosity = setLogVerbosity;
-const getClientChannel = (client) => {
- return client_1.Client.prototype.getChannel.call(client);
-};
-exports.getClientChannel = getClientChannel;
-var client_interceptors_1 = require("./client-interceptors");
-Object.defineProperty(exports, "ListenerBuilder", { enumerable: true, get: function () { return client_interceptors_1.ListenerBuilder; } });
-Object.defineProperty(exports, "RequesterBuilder", { enumerable: true, get: function () { return client_interceptors_1.RequesterBuilder; } });
-Object.defineProperty(exports, "InterceptingCall", { enumerable: true, get: function () { return client_interceptors_1.InterceptingCall; } });
-Object.defineProperty(exports, "InterceptorConfigurationError", { enumerable: true, get: function () { return client_interceptors_1.InterceptorConfigurationError; } });
-var channelz_1 = require("./channelz");
-Object.defineProperty(exports, "getChannelzServiceDefinition", { enumerable: true, get: function () { return channelz_1.getChannelzServiceDefinition; } });
-Object.defineProperty(exports, "getChannelzHandlers", { enumerable: true, get: function () { return channelz_1.getChannelzHandlers; } });
-var admin_1 = require("./admin");
-Object.defineProperty(exports, "addAdminServicesToServer", { enumerable: true, get: function () { return admin_1.addAdminServicesToServer; } });
-var server_interceptors_1 = require("./server-interceptors");
-Object.defineProperty(exports, "ServerListenerBuilder", { enumerable: true, get: function () { return server_interceptors_1.ServerListenerBuilder; } });
-Object.defineProperty(exports, "ResponderBuilder", { enumerable: true, get: function () { return server_interceptors_1.ResponderBuilder; } });
-Object.defineProperty(exports, "ServerInterceptingCall", { enumerable: true, get: function () { return server_interceptors_1.ServerInterceptingCall; } });
-var orca_1 = require("./orca");
-Object.defineProperty(exports, "ServerMetricRecorder", { enumerable: true, get: function () { return orca_1.ServerMetricRecorder; } });
-const experimental = require("./experimental");
-exports.experimental = experimental;
-const resolver_dns = require("./resolver-dns");
-const resolver_uds = require("./resolver-uds");
-const resolver_ip = require("./resolver-ip");
-const load_balancer_pick_first = require("./load-balancer-pick-first");
-const load_balancer_round_robin = require("./load-balancer-round-robin");
-const load_balancer_outlier_detection = require("./load-balancer-outlier-detection");
-const load_balancer_weighted_round_robin = require("./load-balancer-weighted-round-robin");
-const channelz = require("./channelz");
-(() => {
- resolver_dns.setup();
- resolver_uds.setup();
- resolver_ip.setup();
- load_balancer_pick_first.setup();
- load_balancer_round_robin.setup();
- load_balancer_outlier_detection.setup();
- load_balancer_weighted_round_robin.setup();
- channelz.setup();
-})();
-//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/index.js.map b/node_modules/@grpc/grpc-js/build/src/index.js.map
deleted file mode 100644
index 4555836..0000000
--- a/node_modules/@grpc/grpc-js/build/src/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AASH,yDAAmE;AA+IjE,gGA/IO,kCAAe,OA+IP;AA7IjB,uCAA2D;AAuHhC,wFAvHT,+BAAqB,OAuHL;AAtHlC,qEAAiE;AAwGtC,sGAxGlB,8CAAqB,OAwGkB;AAvGhD,6DAAyD;AAqGlC,kGArGd,sCAAiB,OAqGc;AApGxC,+DAA0E;AAyIxE,mGAzIO,wCAAkB,OAyIP;AAxIpB,qCAOkB;AAqGhB,uFA1GA,eAAM,OA0GA;AApGR,2CAA8D;AAyF5C,6FAzFT,wBAAY,OAyFS;AAClB,uFA1FW,kBAAM,OA0FX;AAEH,0FA5FgB,qBAAS,OA4FhB;AA3FxB,qCAAqC;AACrC,+CAQuB;AA4FrB,sGAlGA,mCAAqB,OAkGA;AACrB,sGAlGA,mCAAqB,OAkGA;AACI,6GAnGzB,mCAAqB,OAm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sBAAsB,OAAA;AAIxB,+BAA8C;AAArC,4GAAA,oBAAoB,OAAA;AAE7B,+CAA+C;AACtC,oCAAY;AAErB,+CAA+C;AAC/C,+CAA+C;AAC/C,6CAA6C;AAC7C,uEAAuE;AACvE,yEAAyE;AACzE,qFAAqF;AACrF,2FAA2F;AAC3F,uCAAuC;AAGvC,CAAC,GAAG,EAAE;IACJ,YAAY,CAAC,KAAK,EAAE,CAAC;IACrB,YAAY,CAAC,KAAK,EAAE,CAAC;IACrB,WAAW,CAAC,KAAK,EAAE,CAAC;IACpB,wBAAwB,CAAC,KAAK,EAAE,CAAC;IACjC,yBAAyB,CAAC,KAAK,EAAE,CAAC;IAClC,+BAA+B,CAAC,KAAK,EAAE,CAAC;IACxC,kCAAkC,CAAC,KAAK,EAAE,CAAC;IAC3C,QAAQ,CAAC,KAAK,EAAE,CAAC;AACnB,CAAC,CAAC,EAAE,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/internal-channel.d.ts b/node_modules/@grpc/grpc-js/build/src/internal-channel.d.ts
deleted file mode 100644
index 9568a92..0000000
--- a/node_modules/@grpc/grpc-js/build/src/internal-channel.d.ts
+++ /dev/null
@@ -1,124 +0,0 @@
-import { ChannelCredentials } from './channel-credentials';
-import { ChannelOptions } from './channel-options';
-import { PickResult } from './picker';
-import { Metadata } from './metadata';
-import { CallConfig } from './resolver';
-import { ServerSurfaceCall } from './server-call';
-import { ConnectivityState } from './connectivity-state';
-import { ChannelRef } from './channelz';
-import { LoadBalancingCall } from './load-balancing-call';
-import { CallCredentials } from './call-credentials';
-import { Call, StatusObject } from './call-interface';
-import { Deadline } from './deadline';
-import { ResolvingCall } from './resolving-call';
-import { RetryingCall } from './retrying-call';
-import { BaseSubchannelWrapper, SubchannelInterface } from './subchannel-interface';
-interface NoneConfigResult {
- type: 'NONE';
-}
-interface SuccessConfigResult {
- type: 'SUCCESS';
- config: CallConfig;
-}
-interface ErrorConfigResult {
- type: 'ERROR';
- error: StatusObject;
-}
-type GetConfigResult = NoneConfigResult | SuccessConfigResult | ErrorConfigResult;
-declare class ChannelSubchannelWrapper extends BaseSubchannelWrapper implements SubchannelInterface {
- private channel;
- private refCount;
- private subchannelStateListener;
- constructor(childSubchannel: SubchannelInterface, channel: InternalChannel);
- ref(): void;
- unref(): void;
-}
-export declare const SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX = "grpc.internal.no_subchannel";
-export declare class InternalChannel {
- private readonly credentials;
- private readonly options;
- private readonly resolvingLoadBalancer;
- private readonly subchannelPool;
- private connectivityState;
- private currentPicker;
- /**
- * Calls queued up to get a call config. Should only be populated before the
- * first time the resolver returns a result, which includes the ConfigSelector.
- */
- private configSelectionQueue;
- private pickQueue;
- private connectivityStateWatchers;
- private readonly defaultAuthority;
- private readonly filterStackFactory;
- private readonly target;
- /**
- * This timer does not do anything on its own. Its purpose is to hold the
- * event loop open while there are any pending calls for the channel that
- * have not yet been assigned to specific subchannels. In other words,
- * the invariant is that callRefTimer is reffed if and only if pickQueue
- * is non-empty. In addition, the timer is null while the state is IDLE or
- * SHUTDOWN and there are no pending calls.
- */
- private callRefTimer;
- private configSelector;
- /**
- * This is the error from the name resolver if it failed most recently. It
- * is only used to end calls that start while there is no config selector
- * and the name resolver is in backoff, so it should be nulled if
- * configSelector becomes set or the channel state becomes anything other
- * than TRANSIENT_FAILURE.
- */
- private currentResolutionError;
- private readonly retryBufferTracker;
- private keepaliveTime;
- private readonly wrappedSubchannels;
- private callCount;
- private idleTimer;
- private readonly idleTimeoutMs;
- private lastActivityTimestamp;
- private readonly channelzEnabled;
- private readonly channelzRef;
- private readonly channelzInfoTracker;
- /**
- * Randomly generated ID to be passed to the config selector, for use by
- * ring_hash in xDS. An integer distributed approximately uniformly between
- * 0 and MAX_SAFE_INTEGER.
- */
- private readonly randomChannelId;
- constructor(target: string, credentials: ChannelCredentials, options: ChannelOptions);
- private trace;
- private callRefTimerRef;
- private callRefTimerUnref;
- private removeConnectivityStateWatcher;
- private updateState;
- throttleKeepalive(newKeepaliveTime: number): void;
- addWrappedSubchannel(wrappedSubchannel: ChannelSubchannelWrapper): void;
- removeWrappedSubchannel(wrappedSubchannel: ChannelSubchannelWrapper): void;
- doPick(metadata: Metadata, extraPickInfo: {
- [key: string]: string;
- }): PickResult;
- queueCallForPick(call: LoadBalancingCall): void;
- getConfig(method: string, metadata: Metadata): GetConfigResult;
- queueCallForConfig(call: ResolvingCall): void;
- private enterIdle;
- private startIdleTimeout;
- private maybeStartIdleTimer;
- private onCallStart;
- private onCallEnd;
- createLoadBalancingCall(callConfig: CallConfig, method: string, host: string, credentials: CallCredentials, deadline: Deadline): LoadBalancingCall;
- createRetryingCall(callConfig: CallConfig, method: string, host: string, credentials: CallCredentials, deadline: Deadline): RetryingCall;
- createResolvingCall(method: string, deadline: Deadline, host: string | null | undefined, parentCall: ServerSurfaceCall | null, propagateFlags: number | null | undefined): ResolvingCall;
- close(): void;
- getTarget(): string;
- getConnectivityState(tryToConnect: boolean): ConnectivityState;
- watchConnectivityState(currentState: ConnectivityState, deadline: Date | number, callback: (error?: Error) => void): void;
- /**
- * Get the channelz reference object for this channel. The returned value is
- * garbage if channelz is disabled for this channel.
- * @returns
- */
- getChannelzRef(): ChannelRef;
- createCall(method: string, deadline: Deadline, host: string | null | undefined, parentCall: ServerSurfaceCall | null, propagateFlags: number | null | undefined): Call;
- getOptions(): ChannelOptions;
-}
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/internal-channel.js b/node_modules/@grpc/grpc-js/build/src/internal-channel.js
deleted file mode 100644
index e52f881..0000000
--- a/node_modules/@grpc/grpc-js/build/src/internal-channel.js
+++ /dev/null
@@ -1,605 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.InternalChannel = exports.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX = void 0;
-const channel_credentials_1 = require("./channel-credentials");
-const resolving_load_balancer_1 = require("./resolving-load-balancer");
-const subchannel_pool_1 = require("./subchannel-pool");
-const picker_1 = require("./picker");
-const metadata_1 = require("./metadata");
-const constants_1 = require("./constants");
-const filter_stack_1 = require("./filter-stack");
-const compression_filter_1 = require("./compression-filter");
-const resolver_1 = require("./resolver");
-const logging_1 = require("./logging");
-const http_proxy_1 = require("./http_proxy");
-const uri_parser_1 = require("./uri-parser");
-const connectivity_state_1 = require("./connectivity-state");
-const channelz_1 = require("./channelz");
-const load_balancing_call_1 = require("./load-balancing-call");
-const deadline_1 = require("./deadline");
-const resolving_call_1 = require("./resolving-call");
-const call_number_1 = require("./call-number");
-const control_plane_status_1 = require("./control-plane-status");
-const retrying_call_1 = require("./retrying-call");
-const subchannel_interface_1 = require("./subchannel-interface");
-/**
- * See https://nodejs.org/api/timers.html#timers_setinterval_callback_delay_args
- */
-const MAX_TIMEOUT_TIME = 2147483647;
-const MIN_IDLE_TIMEOUT_MS = 1000;
-// 30 minutes
-const DEFAULT_IDLE_TIMEOUT_MS = 30 * 60 * 1000;
-const RETRY_THROTTLER_MAP = new Map();
-const DEFAULT_RETRY_BUFFER_SIZE_BYTES = 1 << 24; // 16 MB
-const DEFAULT_PER_RPC_RETRY_BUFFER_SIZE_BYTES = 1 << 20; // 1 MB
-class ChannelSubchannelWrapper extends subchannel_interface_1.BaseSubchannelWrapper {
- constructor(childSubchannel, channel) {
- super(childSubchannel);
- this.channel = channel;
- this.refCount = 0;
- this.subchannelStateListener = (subchannel, previousState, newState, keepaliveTime) => {
- channel.throttleKeepalive(keepaliveTime);
- };
- }
- ref() {
- if (this.refCount === 0) {
- this.child.addConnectivityStateListener(this.subchannelStateListener);
- this.channel.addWrappedSubchannel(this);
- }
- this.child.ref();
- this.refCount += 1;
- }
- unref() {
- this.child.unref();
- this.refCount -= 1;
- if (this.refCount <= 0) {
- this.child.removeConnectivityStateListener(this.subchannelStateListener);
- this.channel.removeWrappedSubchannel(this);
- }
- }
-}
-class ShutdownPicker {
- pick(pickArgs) {
- return {
- pickResultType: picker_1.PickResultType.DROP,
- status: {
- code: constants_1.Status.UNAVAILABLE,
- details: 'Channel closed before call started',
- metadata: new metadata_1.Metadata()
- },
- subchannel: null,
- onCallStarted: null,
- onCallEnded: null
- };
- }
-}
-exports.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX = 'grpc.internal.no_subchannel';
-class ChannelzInfoTracker {
- constructor(target) {
- this.target = target;
- this.trace = new channelz_1.ChannelzTrace();
- this.callTracker = new channelz_1.ChannelzCallTracker();
- this.childrenTracker = new channelz_1.ChannelzChildrenTracker();
- this.state = connectivity_state_1.ConnectivityState.IDLE;
- }
- getChannelzInfoCallback() {
- return () => {
- return {
- target: this.target,
- state: this.state,
- trace: this.trace,
- callTracker: this.callTracker,
- children: this.childrenTracker.getChildLists()
- };
- };
- }
-}
-class InternalChannel {
- constructor(target, credentials, options) {
- var _a, _b, _c, _d, _e, _f;
- this.credentials = credentials;
- this.options = options;
- this.connectivityState = connectivity_state_1.ConnectivityState.IDLE;
- this.currentPicker = new picker_1.UnavailablePicker();
- /**
- * Calls queued up to get a call config. Should only be populated before the
- * first time the resolver returns a result, which includes the ConfigSelector.
- */
- this.configSelectionQueue = [];
- this.pickQueue = [];
- this.connectivityStateWatchers = [];
- /**
- * This timer does not do anything on its own. Its purpose is to hold the
- * event loop open while there are any pending calls for the channel that
- * have not yet been assigned to specific subchannels. In other words,
- * the invariant is that callRefTimer is reffed if and only if pickQueue
- * is non-empty. In addition, the timer is null while the state is IDLE or
- * SHUTDOWN and there are no pending calls.
- */
- this.callRefTimer = null;
- this.configSelector = null;
- /**
- * This is the error from the name resolver if it failed most recently. It
- * is only used to end calls that start while there is no config selector
- * and the name resolver is in backoff, so it should be nulled if
- * configSelector becomes set or the channel state becomes anything other
- * than TRANSIENT_FAILURE.
- */
- this.currentResolutionError = null;
- this.wrappedSubchannels = new Set();
- this.callCount = 0;
- this.idleTimer = null;
- // Channelz info
- this.channelzEnabled = true;
- /**
- * Randomly generated ID to be passed to the config selector, for use by
- * ring_hash in xDS. An integer distributed approximately uniformly between
- * 0 and MAX_SAFE_INTEGER.
- */
- this.randomChannelId = Math.floor(Math.random() * Number.MAX_SAFE_INTEGER);
- if (typeof target !== 'string') {
- throw new TypeError('Channel target must be a string');
- }
- if (!(credentials instanceof channel_credentials_1.ChannelCredentials)) {
- throw new TypeError('Channel credentials must be a ChannelCredentials object');
- }
- if (options) {
- if (typeof options !== 'object') {
- throw new TypeError('Channel options must be an object');
- }
- }
- this.channelzInfoTracker = new ChannelzInfoTracker(target);
- const originalTargetUri = (0, uri_parser_1.parseUri)(target);
- if (originalTargetUri === null) {
- throw new Error(`Could not parse target name "${target}"`);
- }
- /* This ensures that the target has a scheme that is registered with the
- * resolver */
- const defaultSchemeMapResult = (0, resolver_1.mapUriDefaultScheme)(originalTargetUri);
- if (defaultSchemeMapResult === null) {
- throw new Error(`Could not find a default scheme for target name "${target}"`);
- }
- if (this.options['grpc.enable_channelz'] === 0) {
- this.channelzEnabled = false;
- }
- this.channelzRef = (0, channelz_1.registerChannelzChannel)(target, this.channelzInfoTracker.getChannelzInfoCallback(), this.channelzEnabled);
- if (this.channelzEnabled) {
- this.channelzInfoTracker.trace.addTrace('CT_INFO', 'Channel created');
- }
- if (this.options['grpc.default_authority']) {
- this.defaultAuthority = this.options['grpc.default_authority'];
- }
- else {
- this.defaultAuthority = (0, resolver_1.getDefaultAuthority)(defaultSchemeMapResult);
- }
- const proxyMapResult = (0, http_proxy_1.mapProxyName)(defaultSchemeMapResult, options);
- this.target = proxyMapResult.target;
- this.options = Object.assign({}, this.options, proxyMapResult.extraOptions);
- /* The global boolean parameter to getSubchannelPool has the inverse meaning to what
- * the grpc.use_local_subchannel_pool channel option means. */
- this.subchannelPool = (0, subchannel_pool_1.getSubchannelPool)(((_a = this.options['grpc.use_local_subchannel_pool']) !== null && _a !== void 0 ? _a : 0) === 0);
- this.retryBufferTracker = new retrying_call_1.MessageBufferTracker((_b = this.options['grpc.retry_buffer_size']) !== null && _b !== void 0 ? _b : DEFAULT_RETRY_BUFFER_SIZE_BYTES, (_c = this.options['grpc.per_rpc_retry_buffer_size']) !== null && _c !== void 0 ? _c : DEFAULT_PER_RPC_RETRY_BUFFER_SIZE_BYTES);
- this.keepaliveTime = (_d = this.options['grpc.keepalive_time_ms']) !== null && _d !== void 0 ? _d : -1;
- this.idleTimeoutMs = Math.max((_e = this.options['grpc.client_idle_timeout_ms']) !== null && _e !== void 0 ? _e : DEFAULT_IDLE_TIMEOUT_MS, MIN_IDLE_TIMEOUT_MS);
- const channelControlHelper = {
- createSubchannel: (subchannelAddress, subchannelArgs) => {
- const finalSubchannelArgs = {};
- for (const [key, value] of Object.entries(subchannelArgs)) {
- if (!key.startsWith(exports.SUBCHANNEL_ARGS_EXCLUDE_KEY_PREFIX)) {
- finalSubchannelArgs[key] = value;
- }
- }
- const subchannel = this.subchannelPool.getOrCreateSubchannel(this.target, subchannelAddress, finalSubchannelArgs, this.credentials);
- subchannel.throttleKeepalive(this.keepaliveTime);
- if (this.channelzEnabled) {
- this.channelzInfoTracker.trace.addTrace('CT_INFO', 'Created subchannel or used existing subchannel', subchannel.getChannelzRef());
- }
- const wrappedSubchannel = new ChannelSubchannelWrapper(subchannel, this);
- return wrappedSubchannel;
- },
- updateState: (connectivityState, picker) => {
- this.currentPicker = picker;
- const queueCopy = this.pickQueue.slice();
- this.pickQueue = [];
- if (queueCopy.length > 0) {
- this.callRefTimerUnref();
- }
- for (const call of queueCopy) {
- call.doPick();
- }
- this.updateState(connectivityState);
- },
- requestReresolution: () => {
- // This should never be called.
- throw new Error('Resolving load balancer should never call requestReresolution');
- },
- addChannelzChild: (child) => {
- if (this.channelzEnabled) {
- this.channelzInfoTracker.childrenTracker.refChild(child);
- }
- },
- removeChannelzChild: (child) => {
- if (this.channelzEnabled) {
- this.channelzInfoTracker.childrenTracker.unrefChild(child);
- }
- },
- };
- this.resolvingLoadBalancer = new resolving_load_balancer_1.ResolvingLoadBalancer(this.target, channelControlHelper, this.options, (serviceConfig, configSelector) => {
- var _a;
- if (serviceConfig.retryThrottling) {
- RETRY_THROTTLER_MAP.set(this.getTarget(), new retrying_call_1.RetryThrottler(serviceConfig.retryThrottling.maxTokens, serviceConfig.retryThrottling.tokenRatio, RETRY_THROTTLER_MAP.get(this.getTarget())));
- }
- else {
- RETRY_THROTTLER_MAP.delete(this.getTarget());
- }
- if (this.channelzEnabled) {
- this.channelzInfoTracker.trace.addTrace('CT_INFO', 'Address resolution succeeded');
- }
- (_a = this.configSelector) === null || _a === void 0 ? void 0 : _a.unref();
- this.configSelector = configSelector;
- this.currentResolutionError = null;
- /* We process the queue asynchronously to ensure that the corresponding
- * load balancer update has completed. */
- process.nextTick(() => {
- const localQueue = this.configSelectionQueue;
- this.configSelectionQueue = [];
- if (localQueue.length > 0) {
- this.callRefTimerUnref();
- }
- for (const call of localQueue) {
- call.getConfig();
- }
- });
- }, status => {
- if (this.channelzEnabled) {
- this.channelzInfoTracker.trace.addTrace('CT_WARNING', 'Address resolution failed with code ' +
- status.code +
- ' and details "' +
- status.details +
- '"');
- }
- if (this.configSelectionQueue.length > 0) {
- this.trace('Name resolution failed with calls queued for config selection');
- }
- if (this.configSelector === null) {
- this.currentResolutionError = Object.assign(Object.assign({}, (0, control_plane_status_1.restrictControlPlaneStatusCode)(status.code, status.details)), { metadata: status.metadata });
- }
- const localQueue = this.configSelectionQueue;
- this.configSelectionQueue = [];
- if (localQueue.length > 0) {
- this.callRefTimerUnref();
- }
- for (const call of localQueue) {
- call.reportResolverError(status);
- }
- });
- this.filterStackFactory = new filter_stack_1.FilterStackFactory([
- new compression_filter_1.CompressionFilterFactory(this, this.options),
- ]);
- this.trace('Channel constructed with options ' +
- JSON.stringify(options, undefined, 2));
- const error = new Error();
- if ((0, logging_1.isTracerEnabled)('channel_stacktrace')) {
- (0, logging_1.trace)(constants_1.LogVerbosity.DEBUG, 'channel_stacktrace', '(' +
- this.channelzRef.id +
- ') ' +
- 'Channel constructed \n' +
- ((_f = error.stack) === null || _f === void 0 ? void 0 : _f.substring(error.stack.indexOf('\n') + 1)));
- }
- this.lastActivityTimestamp = new Date();
- }
- trace(text, verbosityOverride) {
- (0, logging_1.trace)(verbosityOverride !== null && verbosityOverride !== void 0 ? verbosityOverride : constants_1.LogVerbosity.DEBUG, 'channel', '(' + this.channelzRef.id + ') ' + (0, uri_parser_1.uriToString)(this.target) + ' ' + text);
- }
- callRefTimerRef() {
- var _a, _b, _c, _d;
- if (!this.callRefTimer) {
- this.callRefTimer = setInterval(() => { }, MAX_TIMEOUT_TIME);
- }
- // If the hasRef function does not exist, always run the code
- if (!((_b = (_a = this.callRefTimer).hasRef) === null || _b === void 0 ? void 0 : _b.call(_a))) {
- this.trace('callRefTimer.ref | configSelectionQueue.length=' +
- this.configSelectionQueue.length +
- ' pickQueue.length=' +
- this.pickQueue.length);
- (_d = (_c = this.callRefTimer).ref) === null || _d === void 0 ? void 0 : _d.call(_c);
- }
- }
- callRefTimerUnref() {
- var _a, _b, _c;
- // If the timer or the hasRef function does not exist, always run the code
- if (!((_a = this.callRefTimer) === null || _a === void 0 ? void 0 : _a.hasRef) || this.callRefTimer.hasRef()) {
- this.trace('callRefTimer.unref | configSelectionQueue.length=' +
- this.configSelectionQueue.length +
- ' pickQueue.length=' +
- this.pickQueue.length);
- (_c = (_b = this.callRefTimer) === null || _b === void 0 ? void 0 : _b.unref) === null || _c === void 0 ? void 0 : _c.call(_b);
- }
- }
- removeConnectivityStateWatcher(watcherObject) {
- const watcherIndex = this.connectivityStateWatchers.findIndex(value => value === watcherObject);
- if (watcherIndex >= 0) {
- this.connectivityStateWatchers.splice(watcherIndex, 1);
- }
- }
- updateState(newState) {
- (0, logging_1.trace)(constants_1.LogVerbosity.DEBUG, 'connectivity_state', '(' +
- this.channelzRef.id +
- ') ' +
- (0, uri_parser_1.uriToString)(this.target) +
- ' ' +
- connectivity_state_1.ConnectivityState[this.connectivityState] +
- ' -> ' +
- connectivity_state_1.ConnectivityState[newState]);
- if (this.channelzEnabled) {
- this.channelzInfoTracker.trace.addTrace('CT_INFO', 'Connectivity state change to ' + connectivity_state_1.ConnectivityState[newState]);
- }
- this.connectivityState = newState;
- this.channelzInfoTracker.state = newState;
- const watchersCopy = this.connectivityStateWatchers.slice();
- for (const watcherObject of watchersCopy) {
- if (newState !== watcherObject.currentState) {
- if (watcherObject.timer) {
- clearTimeout(watcherObject.timer);
- }
- this.removeConnectivityStateWatcher(watcherObject);
- watcherObject.callback();
- }
- }
- if (newState !== connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE) {
- this.currentResolutionError = null;
- }
- }
- throttleKeepalive(newKeepaliveTime) {
- if (newKeepaliveTime > this.keepaliveTime) {
- this.keepaliveTime = newKeepaliveTime;
- for (const wrappedSubchannel of this.wrappedSubchannels) {
- wrappedSubchannel.throttleKeepalive(newKeepaliveTime);
- }
- }
- }
- addWrappedSubchannel(wrappedSubchannel) {
- this.wrappedSubchannels.add(wrappedSubchannel);
- }
- removeWrappedSubchannel(wrappedSubchannel) {
- this.wrappedSubchannels.delete(wrappedSubchannel);
- }
- doPick(metadata, extraPickInfo) {
- return this.currentPicker.pick({
- metadata: metadata,
- extraPickInfo: extraPickInfo,
- });
- }
- queueCallForPick(call) {
- this.pickQueue.push(call);
- this.callRefTimerRef();
- }
- getConfig(method, metadata) {
- if (this.connectivityState !== connectivity_state_1.ConnectivityState.SHUTDOWN) {
- this.resolvingLoadBalancer.exitIdle();
- }
- if (this.configSelector) {
- return {
- type: 'SUCCESS',
- config: this.configSelector.invoke(method, metadata, this.randomChannelId),
- };
- }
- else {
- if (this.currentResolutionError) {
- return {
- type: 'ERROR',
- error: this.currentResolutionError,
- };
- }
- else {
- return {
- type: 'NONE',
- };
- }
- }
- }
- queueCallForConfig(call) {
- this.configSelectionQueue.push(call);
- this.callRefTimerRef();
- }
- enterIdle() {
- this.resolvingLoadBalancer.destroy();
- this.updateState(connectivity_state_1.ConnectivityState.IDLE);
- this.currentPicker = new picker_1.QueuePicker(this.resolvingLoadBalancer);
- if (this.idleTimer) {
- clearTimeout(this.idleTimer);
- this.idleTimer = null;
- }
- if (this.callRefTimer) {
- clearInterval(this.callRefTimer);
- this.callRefTimer = null;
- }
- }
- startIdleTimeout(timeoutMs) {
- var _a, _b;
- this.idleTimer = setTimeout(() => {
- if (this.callCount > 0) {
- /* If there is currently a call, the channel will not go idle for a
- * period of at least idleTimeoutMs, so check again after that time.
- */
- this.startIdleTimeout(this.idleTimeoutMs);
- return;
- }
- const now = new Date();
- const timeSinceLastActivity = now.valueOf() - this.lastActivityTimestamp.valueOf();
- if (timeSinceLastActivity >= this.idleTimeoutMs) {
- this.trace('Idle timer triggered after ' +
- this.idleTimeoutMs +
- 'ms of inactivity');
- this.enterIdle();
- }
- else {
- /* Whenever the timer fires with the latest activity being too recent,
- * set the timer again for the time when the time since the last
- * activity is equal to the timeout. This should result in the timer
- * firing no more than once every idleTimeoutMs/2 on average. */
- this.startIdleTimeout(this.idleTimeoutMs - timeSinceLastActivity);
- }
- }, timeoutMs);
- (_b = (_a = this.idleTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- }
- maybeStartIdleTimer() {
- if (this.connectivityState !== connectivity_state_1.ConnectivityState.SHUTDOWN &&
- !this.idleTimer) {
- this.startIdleTimeout(this.idleTimeoutMs);
- }
- }
- onCallStart() {
- if (this.channelzEnabled) {
- this.channelzInfoTracker.callTracker.addCallStarted();
- }
- this.callCount += 1;
- }
- onCallEnd(status) {
- if (this.channelzEnabled) {
- if (status.code === constants_1.Status.OK) {
- this.channelzInfoTracker.callTracker.addCallSucceeded();
- }
- else {
- this.channelzInfoTracker.callTracker.addCallFailed();
- }
- }
- this.callCount -= 1;
- this.lastActivityTimestamp = new Date();
- this.maybeStartIdleTimer();
- }
- createLoadBalancingCall(callConfig, method, host, credentials, deadline) {
- const callNumber = (0, call_number_1.getNextCallNumber)();
- this.trace('createLoadBalancingCall [' + callNumber + '] method="' + method + '"');
- return new load_balancing_call_1.LoadBalancingCall(this, callConfig, method, host, credentials, deadline, callNumber);
- }
- createRetryingCall(callConfig, method, host, credentials, deadline) {
- const callNumber = (0, call_number_1.getNextCallNumber)();
- this.trace('createRetryingCall [' + callNumber + '] method="' + method + '"');
- return new retrying_call_1.RetryingCall(this, callConfig, method, host, credentials, deadline, callNumber, this.retryBufferTracker, RETRY_THROTTLER_MAP.get(this.getTarget()));
- }
- createResolvingCall(method, deadline, host, parentCall, propagateFlags) {
- const callNumber = (0, call_number_1.getNextCallNumber)();
- this.trace('createResolvingCall [' +
- callNumber +
- '] method="' +
- method +
- '", deadline=' +
- (0, deadline_1.deadlineToString)(deadline));
- const finalOptions = {
- deadline: deadline,
- flags: propagateFlags !== null && propagateFlags !== void 0 ? propagateFlags : constants_1.Propagate.DEFAULTS,
- host: host !== null && host !== void 0 ? host : this.defaultAuthority,
- parentCall: parentCall,
- };
- const call = new resolving_call_1.ResolvingCall(this, method, finalOptions, this.filterStackFactory.clone(), callNumber);
- this.onCallStart();
- call.addStatusWatcher(status => {
- this.onCallEnd(status);
- });
- return call;
- }
- close() {
- var _a;
- this.resolvingLoadBalancer.destroy();
- this.updateState(connectivity_state_1.ConnectivityState.SHUTDOWN);
- this.currentPicker = new ShutdownPicker();
- for (const call of this.configSelectionQueue) {
- call.cancelWithStatus(constants_1.Status.UNAVAILABLE, 'Channel closed before call started');
- }
- this.configSelectionQueue = [];
- for (const call of this.pickQueue) {
- call.cancelWithStatus(constants_1.Status.UNAVAILABLE, 'Channel closed before call started');
- }
- this.pickQueue = [];
- if (this.callRefTimer) {
- clearInterval(this.callRefTimer);
- }
- if (this.idleTimer) {
- clearTimeout(this.idleTimer);
- }
- if (this.channelzEnabled) {
- (0, channelz_1.unregisterChannelzRef)(this.channelzRef);
- }
- this.subchannelPool.unrefUnusedSubchannels();
- (_a = this.configSelector) === null || _a === void 0 ? void 0 : _a.unref();
- this.configSelector = null;
- }
- getTarget() {
- return (0, uri_parser_1.uriToString)(this.target);
- }
- getConnectivityState(tryToConnect) {
- const connectivityState = this.connectivityState;
- if (tryToConnect) {
- this.resolvingLoadBalancer.exitIdle();
- this.lastActivityTimestamp = new Date();
- this.maybeStartIdleTimer();
- }
- return connectivityState;
- }
- watchConnectivityState(currentState, deadline, callback) {
- if (this.connectivityState === connectivity_state_1.ConnectivityState.SHUTDOWN) {
- throw new Error('Channel has been shut down');
- }
- let timer = null;
- if (deadline !== Infinity) {
- const deadlineDate = deadline instanceof Date ? deadline : new Date(deadline);
- const now = new Date();
- if (deadline === -Infinity || deadlineDate <= now) {
- process.nextTick(callback, new Error('Deadline passed without connectivity state change'));
- return;
- }
- timer = setTimeout(() => {
- this.removeConnectivityStateWatcher(watcherObject);
- callback(new Error('Deadline passed without connectivity state change'));
- }, deadlineDate.getTime() - now.getTime());
- }
- const watcherObject = {
- currentState,
- callback,
- timer,
- };
- this.connectivityStateWatchers.push(watcherObject);
- }
- /**
- * Get the channelz reference object for this channel. The returned value is
- * garbage if channelz is disabled for this channel.
- * @returns
- */
- getChannelzRef() {
- return this.channelzRef;
- }
- createCall(method, deadline, host, parentCall, propagateFlags) {
- if (typeof method !== 'string') {
- throw new TypeError('Channel#createCall: method must be a string');
- }
- if (!(typeof deadline === 'number' || deadline instanceof Date)) {
- throw new TypeError('Channel#createCall: deadline must be a number or Date');
- }
- if (this.connectivityState === connectivity_state_1.ConnectivityState.SHUTDOWN) {
- throw new Error('Channel has been shut down');
- }
- return this.createResolvingCall(method, deadline, host, parentCall, propagateFlags);
- }
- getOptions() {
- return this.options;
- }
-}
-exports.InternalChannel = InternalChannel;
-//# sourceMappingURL=internal-channel.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/internal-channel.js.map b/node_modules/@grpc/grpc-js/build/src/internal-channel.js.map
deleted file mode 100644
index 70174ab..0000000
--- a/node_modules/@grpc/grpc-js/build/src/internal-channel.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"internal-channel.js","sourceRoot":"","sources":["../../src/internal-channel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,+DAA2D;AAE3D,uEAAkE;AAClE,uDAAsE;AAEtE,qCAAwG;AACxG,yCAAsC;AACtC,2CAA8D;AAC9D,iDAAoD;AACpD,6DAAgE;AAChE,yCAKoB;AACpB,uCAAmD;AAEnD,6CAA4C;AAC5C,6CAA8D;AAG9D,6DAAyD;AACzD,yCASoB;AACpB,+DAA0D;AAG1D,yCAAwD;AACxD,qDAAiD;AACjD,+CAAkD;AAClD,iEAAwE;AACxE,mDAIyB;AACzB,iEAIgC;AAEhC;;GAEG;AACH,MAAM,gBAAgB,GAAG,UAAU,CAAC;AAEpC,MAAM,mBAAmB,GAAG,IAAI,CAAC;AAEjC,aAAa;AACb,MAAM,uBAAuB,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AA2B/C,MAAM,mBAAmB,GAAgC,IAAI,GAAG,EAAE,CAAC;AAEnE,MAAM,+BAA+B,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ;AACzD,MAAM,uCAAuC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO;AAEhE,MAAM,wBACJ,SAAQ,4CAAqB;IAK7B,YACE,eAAoC,EAC5B,OAAwB;QAEhC,KAAK,CAAC,eAAe,CAAC,CAAC;QAFf,YAAO,GAAP,OAAO,CAAiB;QAJ1B,aAAQ,GAAG,CAAC,CAAC;QAOnB,IAAI,CAAC,uBAAuB,GAAG,CAC7B,UAAU,EACV,aAAa,EACb,QAAQ,EACR,aAAa,EACb,EAAE;YACF,OAAO,CAAC,iBAAiB,CAAC,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D,MAAM,aAAa,GAAG;YACpB,YAAY;YACZ,QAAQ;YACR,KAAK;SACN,CAAC;QACF,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;IACrD,CAAC;IAED;;;;OAIG;IACH,cAAc;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAED,UAAU,CACR,MAAc,EACd,QAAkB,EAClB,IAA+B,EAC/B,UAAoC,EACpC,cAAyC;QAEzC,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC/B,MAAM,IAAI,SAAS,CAAC,6CAA6C,CAAC,CAAC;QACrE,CAAC;QACD,IAAI,CAAC,CAAC,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,YAAY,IAAI,CAAC,EAAE,CAAC;YAChE,MAAM,IAAI,SAAS,CACjB,uDAAuD,CACxD,CAAC;QACJ,CAAC;QACD,IAAI,IAAI,CAAC,iBAAiB,KAAK,sCAAiB,CAAC,QAAQ,EAAE,CAAC;YAC1D,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;QAChD,CAAC;QACD,OAAO,IAAI,CAAC,mBAAmB,CAC7B,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,CACf,CAAC;IACJ,CAAC;IAED,UAAU;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;CACF;AAprBD,0CAorBC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.d.ts b/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.d.ts
deleted file mode 100644
index c3d571f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { ChannelControlHelper, TypedLoadBalancingConfig } from './load-balancer';
-import { Endpoint } from './subchannel-address';
-import { ChannelOptions } from './channel-options';
-import { StatusOr } from './call-interface';
-export declare class ChildLoadBalancerHandler {
- private readonly channelControlHelper;
- private currentChild;
- private pendingChild;
- private latestConfig;
- private ChildPolicyHelper;
- constructor(channelControlHelper: ChannelControlHelper);
- protected configUpdateRequiresNewPolicyInstance(oldConfig: TypedLoadBalancingConfig, newConfig: TypedLoadBalancingConfig): boolean;
- /**
- * Prerequisites: lbConfig !== null and lbConfig.name is registered
- * @param endpointList
- * @param lbConfig
- * @param attributes
- */
- updateAddressList(endpointList: StatusOr, lbConfig: TypedLoadBalancingConfig, options: ChannelOptions, resolutionNote: string): boolean;
- exitIdle(): void;
- resetBackoff(): void;
- destroy(): void;
- getTypeName(): string;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js b/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js
deleted file mode 100644
index d8c37a9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js
+++ /dev/null
@@ -1,151 +0,0 @@
-"use strict";
-/*
- * Copyright 2020 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ChildLoadBalancerHandler = void 0;
-const load_balancer_1 = require("./load-balancer");
-const connectivity_state_1 = require("./connectivity-state");
-const TYPE_NAME = 'child_load_balancer_helper';
-class ChildLoadBalancerHandler {
- constructor(channelControlHelper) {
- this.channelControlHelper = channelControlHelper;
- this.currentChild = null;
- this.pendingChild = null;
- this.latestConfig = null;
- this.ChildPolicyHelper = class {
- constructor(parent) {
- this.parent = parent;
- this.child = null;
- }
- createSubchannel(subchannelAddress, subchannelArgs) {
- return this.parent.channelControlHelper.createSubchannel(subchannelAddress, subchannelArgs);
- }
- updateState(connectivityState, picker, errorMessage) {
- var _a;
- if (this.calledByPendingChild()) {
- if (connectivityState === connectivity_state_1.ConnectivityState.CONNECTING) {
- return;
- }
- (_a = this.parent.currentChild) === null || _a === void 0 ? void 0 : _a.destroy();
- this.parent.currentChild = this.parent.pendingChild;
- this.parent.pendingChild = null;
- }
- else if (!this.calledByCurrentChild()) {
- return;
- }
- this.parent.channelControlHelper.updateState(connectivityState, picker, errorMessage);
- }
- requestReresolution() {
- var _a;
- const latestChild = (_a = this.parent.pendingChild) !== null && _a !== void 0 ? _a : this.parent.currentChild;
- if (this.child === latestChild) {
- this.parent.channelControlHelper.requestReresolution();
- }
- }
- setChild(newChild) {
- this.child = newChild;
- }
- addChannelzChild(child) {
- this.parent.channelControlHelper.addChannelzChild(child);
- }
- removeChannelzChild(child) {
- this.parent.channelControlHelper.removeChannelzChild(child);
- }
- calledByPendingChild() {
- return this.child === this.parent.pendingChild;
- }
- calledByCurrentChild() {
- return this.child === this.parent.currentChild;
- }
- };
- }
- configUpdateRequiresNewPolicyInstance(oldConfig, newConfig) {
- return oldConfig.getLoadBalancerName() !== newConfig.getLoadBalancerName();
- }
- /**
- * Prerequisites: lbConfig !== null and lbConfig.name is registered
- * @param endpointList
- * @param lbConfig
- * @param attributes
- */
- updateAddressList(endpointList, lbConfig, options, resolutionNote) {
- let childToUpdate;
- if (this.currentChild === null ||
- this.latestConfig === null ||
- this.configUpdateRequiresNewPolicyInstance(this.latestConfig, lbConfig)) {
- const newHelper = new this.ChildPolicyHelper(this);
- const newChild = (0, load_balancer_1.createLoadBalancer)(lbConfig, newHelper);
- newHelper.setChild(newChild);
- if (this.currentChild === null) {
- this.currentChild = newChild;
- childToUpdate = this.currentChild;
- }
- else {
- if (this.pendingChild) {
- this.pendingChild.destroy();
- }
- this.pendingChild = newChild;
- childToUpdate = this.pendingChild;
- }
- }
- else {
- if (this.pendingChild === null) {
- childToUpdate = this.currentChild;
- }
- else {
- childToUpdate = this.pendingChild;
- }
- }
- this.latestConfig = lbConfig;
- return childToUpdate.updateAddressList(endpointList, lbConfig, options, resolutionNote);
- }
- exitIdle() {
- if (this.currentChild) {
- this.currentChild.exitIdle();
- if (this.pendingChild) {
- this.pendingChild.exitIdle();
- }
- }
- }
- resetBackoff() {
- if (this.currentChild) {
- this.currentChild.resetBackoff();
- if (this.pendingChild) {
- this.pendingChild.resetBackoff();
- }
- }
- }
- destroy() {
- /* Note: state updates are only propagated from the child balancer if that
- * object is equal to this.currentChild or this.pendingChild. Since this
- * function sets both of those to null, no further state updates will
- * occur after this function returns. */
- if (this.currentChild) {
- this.currentChild.destroy();
- this.currentChild = null;
- }
- if (this.pendingChild) {
- this.pendingChild.destroy();
- this.pendingChild = null;
- }
- }
- getTypeName() {
- return TYPE_NAME;
- }
-}
-exports.ChildLoadBalancerHandler = ChildLoadBalancerHandler;
-//# sourceMappingURL=load-balancer-child-handler.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js.map b/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js.map
deleted file mode 100644
index 26f16dc..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-child-handler.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"load-balancer-child-handler.js","sourceRoot":"","sources":["../../src/load-balancer-child-handler.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,mDAKyB;AAGzB,6DAAyD;AAMzD,MAAM,SAAS,GAAG,4BAA4B,CAAC;AAE/C,MAAa,wBAAwB;IAsDnC,YACmB,oBAA0C;QAA1C,yBAAoB,GAApB,oBAAoB,CAAsB;QAtDrD,iBAAY,GAAwB,IAAI,CAAC;QACzC,iBAAY,GAAwB,IAAI,CAAC;QACzC,iBAAY,GAAoC,IAAI,CAAC;QAErD,sBAAiB,GAAG;YAE1B,YAAoB,MAAgC;gBAAhC,WAAM,GAAN,MAAM,CAA0B;gBAD5C,UAAK,GAA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B,CAAC;IACH,CAAC;IACD,WAAW;QACT,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AA3ID,4DA2IC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.d.ts b/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.d.ts
deleted file mode 100644
index afcee90..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.d.ts
+++ /dev/null
@@ -1,71 +0,0 @@
-import { ChannelOptions } from './channel-options';
-import { Duration } from './duration';
-import { ChannelControlHelper } from './experimental';
-import { LoadBalancer, TypedLoadBalancingConfig } from './load-balancer';
-import { Endpoint } from './subchannel-address';
-import { LoadBalancingConfig } from './service-config';
-import { StatusOr } from './call-interface';
-export interface SuccessRateEjectionConfig {
- readonly stdev_factor: number;
- readonly enforcement_percentage: number;
- readonly minimum_hosts: number;
- readonly request_volume: number;
-}
-export interface FailurePercentageEjectionConfig {
- readonly threshold: number;
- readonly enforcement_percentage: number;
- readonly minimum_hosts: number;
- readonly request_volume: number;
-}
-export interface OutlierDetectionRawConfig {
- interval?: Duration;
- base_ejection_time?: Duration;
- max_ejection_time?: Duration;
- max_ejection_percent?: number;
- success_rate_ejection?: Partial;
- failure_percentage_ejection?: Partial;
- child_policy: LoadBalancingConfig[];
-}
-export declare class OutlierDetectionLoadBalancingConfig implements TypedLoadBalancingConfig {
- private readonly childPolicy;
- private readonly intervalMs;
- private readonly baseEjectionTimeMs;
- private readonly maxEjectionTimeMs;
- private readonly maxEjectionPercent;
- private readonly successRateEjection;
- private readonly failurePercentageEjection;
- constructor(intervalMs: number | null, baseEjectionTimeMs: number | null, maxEjectionTimeMs: number | null, maxEjectionPercent: number | null, successRateEjection: Partial | null, failurePercentageEjection: Partial | null, childPolicy: TypedLoadBalancingConfig);
- getLoadBalancerName(): string;
- toJsonObject(): object;
- getIntervalMs(): number;
- getBaseEjectionTimeMs(): number;
- getMaxEjectionTimeMs(): number;
- getMaxEjectionPercent(): number;
- getSuccessRateEjectionConfig(): SuccessRateEjectionConfig | null;
- getFailurePercentageEjectionConfig(): FailurePercentageEjectionConfig | null;
- getChildPolicy(): TypedLoadBalancingConfig;
- static createFromJson(obj: any): OutlierDetectionLoadBalancingConfig;
-}
-export declare class OutlierDetectionLoadBalancer implements LoadBalancer {
- private childBalancer;
- private entryMap;
- private latestConfig;
- private ejectionTimer;
- private timerStartTime;
- constructor(channelControlHelper: ChannelControlHelper);
- private isCountingEnabled;
- private getCurrentEjectionPercent;
- private runSuccessRateCheck;
- private runFailurePercentageCheck;
- private eject;
- private uneject;
- private switchAllBuckets;
- private startTimer;
- private runChecks;
- updateAddressList(endpointList: StatusOr, lbConfig: TypedLoadBalancingConfig, options: ChannelOptions, resolutionNote: string): boolean;
- exitIdle(): void;
- resetBackoff(): void;
- destroy(): void;
- getTypeName(): string;
-}
-export declare function setup(): void;
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js b/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js
deleted file mode 100644
index ee32bf3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js
+++ /dev/null
@@ -1,571 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-var _a;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.OutlierDetectionLoadBalancer = exports.OutlierDetectionLoadBalancingConfig = void 0;
-exports.setup = setup;
-const connectivity_state_1 = require("./connectivity-state");
-const constants_1 = require("./constants");
-const duration_1 = require("./duration");
-const experimental_1 = require("./experimental");
-const load_balancer_1 = require("./load-balancer");
-const load_balancer_child_handler_1 = require("./load-balancer-child-handler");
-const picker_1 = require("./picker");
-const subchannel_address_1 = require("./subchannel-address");
-const subchannel_interface_1 = require("./subchannel-interface");
-const logging = require("./logging");
-const TRACER_NAME = 'outlier_detection';
-function trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-const TYPE_NAME = 'outlier_detection';
-const OUTLIER_DETECTION_ENABLED = ((_a = process.env.GRPC_EXPERIMENTAL_ENABLE_OUTLIER_DETECTION) !== null && _a !== void 0 ? _a : 'true') === 'true';
-const defaultSuccessRateEjectionConfig = {
- stdev_factor: 1900,
- enforcement_percentage: 100,
- minimum_hosts: 5,
- request_volume: 100,
-};
-const defaultFailurePercentageEjectionConfig = {
- threshold: 85,
- enforcement_percentage: 100,
- minimum_hosts: 5,
- request_volume: 50,
-};
-function validateFieldType(obj, fieldName, expectedType, objectName) {
- if (fieldName in obj &&
- obj[fieldName] !== undefined &&
- typeof obj[fieldName] !== expectedType) {
- const fullFieldName = objectName ? `${objectName}.${fieldName}` : fieldName;
- throw new Error(`outlier detection config ${fullFieldName} parse error: expected ${expectedType}, got ${typeof obj[fieldName]}`);
- }
-}
-function validatePositiveDuration(obj, fieldName, objectName) {
- const fullFieldName = objectName ? `${objectName}.${fieldName}` : fieldName;
- if (fieldName in obj && obj[fieldName] !== undefined) {
- if (!(0, duration_1.isDuration)(obj[fieldName])) {
- throw new Error(`outlier detection config ${fullFieldName} parse error: expected Duration, got ${typeof obj[fieldName]}`);
- }
- if (!(obj[fieldName].seconds >= 0 &&
- obj[fieldName].seconds <= 315576000000 &&
- obj[fieldName].nanos >= 0 &&
- obj[fieldName].nanos <= 999999999)) {
- throw new Error(`outlier detection config ${fullFieldName} parse error: values out of range for non-negative Duaration`);
- }
- }
-}
-function validatePercentage(obj, fieldName, objectName) {
- const fullFieldName = objectName ? `${objectName}.${fieldName}` : fieldName;
- validateFieldType(obj, fieldName, 'number', objectName);
- if (fieldName in obj &&
- obj[fieldName] !== undefined &&
- !(obj[fieldName] >= 0 && obj[fieldName] <= 100)) {
- throw new Error(`outlier detection config ${fullFieldName} parse error: value out of range for percentage (0-100)`);
- }
-}
-class OutlierDetectionLoadBalancingConfig {
- constructor(intervalMs, baseEjectionTimeMs, maxEjectionTimeMs, maxEjectionPercent, successRateEjection, failurePercentageEjection, childPolicy) {
- this.childPolicy = childPolicy;
- if (childPolicy.getLoadBalancerName() === 'pick_first') {
- throw new Error('outlier_detection LB policy cannot have a pick_first child policy');
- }
- this.intervalMs = intervalMs !== null && intervalMs !== void 0 ? intervalMs : 10000;
- this.baseEjectionTimeMs = baseEjectionTimeMs !== null && baseEjectionTimeMs !== void 0 ? baseEjectionTimeMs : 30000;
- this.maxEjectionTimeMs = maxEjectionTimeMs !== null && maxEjectionTimeMs !== void 0 ? maxEjectionTimeMs : 300000;
- this.maxEjectionPercent = maxEjectionPercent !== null && maxEjectionPercent !== void 0 ? maxEjectionPercent : 10;
- this.successRateEjection = successRateEjection
- ? Object.assign(Object.assign({}, defaultSuccessRateEjectionConfig), successRateEjection) : null;
- this.failurePercentageEjection = failurePercentageEjection
- ? Object.assign(Object.assign({}, defaultFailurePercentageEjectionConfig), failurePercentageEjection) : null;
- }
- getLoadBalancerName() {
- return TYPE_NAME;
- }
- toJsonObject() {
- var _a, _b;
- return {
- outlier_detection: {
- interval: (0, duration_1.msToDuration)(this.intervalMs),
- base_ejection_time: (0, duration_1.msToDuration)(this.baseEjectionTimeMs),
- max_ejection_time: (0, duration_1.msToDuration)(this.maxEjectionTimeMs),
- max_ejection_percent: this.maxEjectionPercent,
- success_rate_ejection: (_a = this.successRateEjection) !== null && _a !== void 0 ? _a : undefined,
- failure_percentage_ejection: (_b = this.failurePercentageEjection) !== null && _b !== void 0 ? _b : undefined,
- child_policy: [this.childPolicy.toJsonObject()],
- },
- };
- }
- getIntervalMs() {
- return this.intervalMs;
- }
- getBaseEjectionTimeMs() {
- return this.baseEjectionTimeMs;
- }
- getMaxEjectionTimeMs() {
- return this.maxEjectionTimeMs;
- }
- getMaxEjectionPercent() {
- return this.maxEjectionPercent;
- }
- getSuccessRateEjectionConfig() {
- return this.successRateEjection;
- }
- getFailurePercentageEjectionConfig() {
- return this.failurePercentageEjection;
- }
- getChildPolicy() {
- return this.childPolicy;
- }
- static createFromJson(obj) {
- var _a;
- validatePositiveDuration(obj, 'interval');
- validatePositiveDuration(obj, 'base_ejection_time');
- validatePositiveDuration(obj, 'max_ejection_time');
- validatePercentage(obj, 'max_ejection_percent');
- if ('success_rate_ejection' in obj &&
- obj.success_rate_ejection !== undefined) {
- if (typeof obj.success_rate_ejection !== 'object') {
- throw new Error('outlier detection config success_rate_ejection must be an object');
- }
- validateFieldType(obj.success_rate_ejection, 'stdev_factor', 'number', 'success_rate_ejection');
- validatePercentage(obj.success_rate_ejection, 'enforcement_percentage', 'success_rate_ejection');
- validateFieldType(obj.success_rate_ejection, 'minimum_hosts', 'number', 'success_rate_ejection');
- validateFieldType(obj.success_rate_ejection, 'request_volume', 'number', 'success_rate_ejection');
- }
- if ('failure_percentage_ejection' in obj &&
- obj.failure_percentage_ejection !== undefined) {
- if (typeof obj.failure_percentage_ejection !== 'object') {
- throw new Error('outlier detection config failure_percentage_ejection must be an object');
- }
- validatePercentage(obj.failure_percentage_ejection, 'threshold', 'failure_percentage_ejection');
- validatePercentage(obj.failure_percentage_ejection, 'enforcement_percentage', 'failure_percentage_ejection');
- validateFieldType(obj.failure_percentage_ejection, 'minimum_hosts', 'number', 'failure_percentage_ejection');
- validateFieldType(obj.failure_percentage_ejection, 'request_volume', 'number', 'failure_percentage_ejection');
- }
- if (!('child_policy' in obj) || !Array.isArray(obj.child_policy)) {
- throw new Error('outlier detection config child_policy must be an array');
- }
- const childPolicy = (0, load_balancer_1.selectLbConfigFromList)(obj.child_policy);
- if (!childPolicy) {
- throw new Error('outlier detection config child_policy: no valid recognized policy found');
- }
- return new OutlierDetectionLoadBalancingConfig(obj.interval ? (0, duration_1.durationToMs)(obj.interval) : null, obj.base_ejection_time ? (0, duration_1.durationToMs)(obj.base_ejection_time) : null, obj.max_ejection_time ? (0, duration_1.durationToMs)(obj.max_ejection_time) : null, (_a = obj.max_ejection_percent) !== null && _a !== void 0 ? _a : null, obj.success_rate_ejection, obj.failure_percentage_ejection, childPolicy);
- }
-}
-exports.OutlierDetectionLoadBalancingConfig = OutlierDetectionLoadBalancingConfig;
-class OutlierDetectionSubchannelWrapper extends subchannel_interface_1.BaseSubchannelWrapper {
- constructor(childSubchannel, mapEntry) {
- super(childSubchannel);
- this.mapEntry = mapEntry;
- this.refCount = 0;
- }
- ref() {
- this.child.ref();
- this.refCount += 1;
- }
- unref() {
- this.child.unref();
- this.refCount -= 1;
- if (this.refCount <= 0) {
- if (this.mapEntry) {
- const index = this.mapEntry.subchannelWrappers.indexOf(this);
- if (index >= 0) {
- this.mapEntry.subchannelWrappers.splice(index, 1);
- }
- }
- }
- }
- eject() {
- this.setHealthy(false);
- }
- uneject() {
- this.setHealthy(true);
- }
- getMapEntry() {
- return this.mapEntry;
- }
- getWrappedSubchannel() {
- return this.child;
- }
-}
-function createEmptyBucket() {
- return {
- success: 0,
- failure: 0,
- };
-}
-class CallCounter {
- constructor() {
- this.activeBucket = createEmptyBucket();
- this.inactiveBucket = createEmptyBucket();
- }
- addSuccess() {
- this.activeBucket.success += 1;
- }
- addFailure() {
- this.activeBucket.failure += 1;
- }
- switchBuckets() {
- this.inactiveBucket = this.activeBucket;
- this.activeBucket = createEmptyBucket();
- }
- getLastSuccesses() {
- return this.inactiveBucket.success;
- }
- getLastFailures() {
- return this.inactiveBucket.failure;
- }
-}
-class OutlierDetectionPicker {
- constructor(wrappedPicker, countCalls) {
- this.wrappedPicker = wrappedPicker;
- this.countCalls = countCalls;
- }
- pick(pickArgs) {
- const wrappedPick = this.wrappedPicker.pick(pickArgs);
- if (wrappedPick.pickResultType === picker_1.PickResultType.COMPLETE) {
- const subchannelWrapper = wrappedPick.subchannel;
- const mapEntry = subchannelWrapper.getMapEntry();
- if (mapEntry) {
- let onCallEnded = wrappedPick.onCallEnded;
- if (this.countCalls) {
- onCallEnded = (statusCode, details, metadata) => {
- var _a;
- if (statusCode === constants_1.Status.OK) {
- mapEntry.counter.addSuccess();
- }
- else {
- mapEntry.counter.addFailure();
- }
- (_a = wrappedPick.onCallEnded) === null || _a === void 0 ? void 0 : _a.call(wrappedPick, statusCode, details, metadata);
- };
- }
- return Object.assign(Object.assign({}, wrappedPick), { subchannel: subchannelWrapper.getWrappedSubchannel(), onCallEnded: onCallEnded });
- }
- else {
- return Object.assign(Object.assign({}, wrappedPick), { subchannel: subchannelWrapper.getWrappedSubchannel() });
- }
- }
- else {
- return wrappedPick;
- }
- }
-}
-class OutlierDetectionLoadBalancer {
- constructor(channelControlHelper) {
- this.entryMap = new subchannel_address_1.EndpointMap();
- this.latestConfig = null;
- this.timerStartTime = null;
- this.childBalancer = new load_balancer_child_handler_1.ChildLoadBalancerHandler((0, experimental_1.createChildChannelControlHelper)(channelControlHelper, {
- createSubchannel: (subchannelAddress, subchannelArgs) => {
- const originalSubchannel = channelControlHelper.createSubchannel(subchannelAddress, subchannelArgs);
- const mapEntry = this.entryMap.getForSubchannelAddress(subchannelAddress);
- const subchannelWrapper = new OutlierDetectionSubchannelWrapper(originalSubchannel, mapEntry);
- if ((mapEntry === null || mapEntry === void 0 ? void 0 : mapEntry.currentEjectionTimestamp) !== null) {
- // If the address is ejected, propagate that to the new subchannel wrapper
- subchannelWrapper.eject();
- }
- mapEntry === null || mapEntry === void 0 ? void 0 : mapEntry.subchannelWrappers.push(subchannelWrapper);
- return subchannelWrapper;
- },
- updateState: (connectivityState, picker, errorMessage) => {
- if (connectivityState === connectivity_state_1.ConnectivityState.READY) {
- channelControlHelper.updateState(connectivityState, new OutlierDetectionPicker(picker, this.isCountingEnabled()), errorMessage);
- }
- else {
- channelControlHelper.updateState(connectivityState, picker, errorMessage);
- }
- },
- }));
- this.ejectionTimer = setInterval(() => { }, 0);
- clearInterval(this.ejectionTimer);
- }
- isCountingEnabled() {
- return (this.latestConfig !== null &&
- (this.latestConfig.getSuccessRateEjectionConfig() !== null ||
- this.latestConfig.getFailurePercentageEjectionConfig() !== null));
- }
- getCurrentEjectionPercent() {
- let ejectionCount = 0;
- for (const mapEntry of this.entryMap.values()) {
- if (mapEntry.currentEjectionTimestamp !== null) {
- ejectionCount += 1;
- }
- }
- return (ejectionCount * 100) / this.entryMap.size;
- }
- runSuccessRateCheck(ejectionTimestamp) {
- if (!this.latestConfig) {
- return;
- }
- const successRateConfig = this.latestConfig.getSuccessRateEjectionConfig();
- if (!successRateConfig) {
- return;
- }
- trace('Running success rate check');
- // Step 1
- const targetRequestVolume = successRateConfig.request_volume;
- let addresesWithTargetVolume = 0;
- const successRates = [];
- for (const [endpoint, mapEntry] of this.entryMap.entries()) {
- const successes = mapEntry.counter.getLastSuccesses();
- const failures = mapEntry.counter.getLastFailures();
- trace('Stats for ' +
- (0, subchannel_address_1.endpointToString)(endpoint) +
- ': successes=' +
- successes +
- ' failures=' +
- failures +
- ' targetRequestVolume=' +
- targetRequestVolume);
- if (successes + failures >= targetRequestVolume) {
- addresesWithTargetVolume += 1;
- successRates.push(successes / (successes + failures));
- }
- }
- trace('Found ' +
- addresesWithTargetVolume +
- ' success rate candidates; currentEjectionPercent=' +
- this.getCurrentEjectionPercent() +
- ' successRates=[' +
- successRates +
- ']');
- if (addresesWithTargetVolume < successRateConfig.minimum_hosts) {
- return;
- }
- // Step 2
- const successRateMean = successRates.reduce((a, b) => a + b) / successRates.length;
- let successRateDeviationSum = 0;
- for (const rate of successRates) {
- const deviation = rate - successRateMean;
- successRateDeviationSum += deviation * deviation;
- }
- const successRateVariance = successRateDeviationSum / successRates.length;
- const successRateStdev = Math.sqrt(successRateVariance);
- const ejectionThreshold = successRateMean -
- successRateStdev * (successRateConfig.stdev_factor / 1000);
- trace('stdev=' + successRateStdev + ' ejectionThreshold=' + ejectionThreshold);
- // Step 3
- for (const [address, mapEntry] of this.entryMap.entries()) {
- // Step 3.i
- if (this.getCurrentEjectionPercent() >=
- this.latestConfig.getMaxEjectionPercent()) {
- break;
- }
- // Step 3.ii
- const successes = mapEntry.counter.getLastSuccesses();
- const failures = mapEntry.counter.getLastFailures();
- if (successes + failures < targetRequestVolume) {
- continue;
- }
- // Step 3.iii
- const successRate = successes / (successes + failures);
- trace('Checking candidate ' + address + ' successRate=' + successRate);
- if (successRate < ejectionThreshold) {
- const randomNumber = Math.random() * 100;
- trace('Candidate ' +
- address +
- ' randomNumber=' +
- randomNumber +
- ' enforcement_percentage=' +
- successRateConfig.enforcement_percentage);
- if (randomNumber < successRateConfig.enforcement_percentage) {
- trace('Ejecting candidate ' + address);
- this.eject(mapEntry, ejectionTimestamp);
- }
- }
- }
- }
- runFailurePercentageCheck(ejectionTimestamp) {
- if (!this.latestConfig) {
- return;
- }
- const failurePercentageConfig = this.latestConfig.getFailurePercentageEjectionConfig();
- if (!failurePercentageConfig) {
- return;
- }
- trace('Running failure percentage check. threshold=' +
- failurePercentageConfig.threshold +
- ' request volume threshold=' +
- failurePercentageConfig.request_volume);
- // Step 1
- let addressesWithTargetVolume = 0;
- for (const mapEntry of this.entryMap.values()) {
- const successes = mapEntry.counter.getLastSuccesses();
- const failures = mapEntry.counter.getLastFailures();
- if (successes + failures >= failurePercentageConfig.request_volume) {
- addressesWithTargetVolume += 1;
- }
- }
- if (addressesWithTargetVolume < failurePercentageConfig.minimum_hosts) {
- return;
- }
- // Step 2
- for (const [address, mapEntry] of this.entryMap.entries()) {
- // Step 2.i
- if (this.getCurrentEjectionPercent() >=
- this.latestConfig.getMaxEjectionPercent()) {
- break;
- }
- // Step 2.ii
- const successes = mapEntry.counter.getLastSuccesses();
- const failures = mapEntry.counter.getLastFailures();
- trace('Candidate successes=' + successes + ' failures=' + failures);
- if (successes + failures < failurePercentageConfig.request_volume) {
- continue;
- }
- // Step 2.iii
- const failurePercentage = (failures * 100) / (failures + successes);
- if (failurePercentage > failurePercentageConfig.threshold) {
- const randomNumber = Math.random() * 100;
- trace('Candidate ' +
- address +
- ' randomNumber=' +
- randomNumber +
- ' enforcement_percentage=' +
- failurePercentageConfig.enforcement_percentage);
- if (randomNumber < failurePercentageConfig.enforcement_percentage) {
- trace('Ejecting candidate ' + address);
- this.eject(mapEntry, ejectionTimestamp);
- }
- }
- }
- }
- eject(mapEntry, ejectionTimestamp) {
- mapEntry.currentEjectionTimestamp = new Date();
- mapEntry.ejectionTimeMultiplier += 1;
- for (const subchannelWrapper of mapEntry.subchannelWrappers) {
- subchannelWrapper.eject();
- }
- }
- uneject(mapEntry) {
- mapEntry.currentEjectionTimestamp = null;
- for (const subchannelWrapper of mapEntry.subchannelWrappers) {
- subchannelWrapper.uneject();
- }
- }
- switchAllBuckets() {
- for (const mapEntry of this.entryMap.values()) {
- mapEntry.counter.switchBuckets();
- }
- }
- startTimer(delayMs) {
- var _a, _b;
- this.ejectionTimer = setTimeout(() => this.runChecks(), delayMs);
- (_b = (_a = this.ejectionTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- }
- runChecks() {
- const ejectionTimestamp = new Date();
- trace('Ejection timer running');
- this.switchAllBuckets();
- if (!this.latestConfig) {
- return;
- }
- this.timerStartTime = ejectionTimestamp;
- this.startTimer(this.latestConfig.getIntervalMs());
- this.runSuccessRateCheck(ejectionTimestamp);
- this.runFailurePercentageCheck(ejectionTimestamp);
- for (const [address, mapEntry] of this.entryMap.entries()) {
- if (mapEntry.currentEjectionTimestamp === null) {
- if (mapEntry.ejectionTimeMultiplier > 0) {
- mapEntry.ejectionTimeMultiplier -= 1;
- }
- }
- else {
- const baseEjectionTimeMs = this.latestConfig.getBaseEjectionTimeMs();
- const maxEjectionTimeMs = this.latestConfig.getMaxEjectionTimeMs();
- const returnTime = new Date(mapEntry.currentEjectionTimestamp.getTime());
- returnTime.setMilliseconds(returnTime.getMilliseconds() +
- Math.min(baseEjectionTimeMs * mapEntry.ejectionTimeMultiplier, Math.max(baseEjectionTimeMs, maxEjectionTimeMs)));
- if (returnTime < new Date()) {
- trace('Unejecting ' + address);
- this.uneject(mapEntry);
- }
- }
- }
- }
- updateAddressList(endpointList, lbConfig, options, resolutionNote) {
- if (!(lbConfig instanceof OutlierDetectionLoadBalancingConfig)) {
- return false;
- }
- trace('Received update with config: ' + JSON.stringify(lbConfig.toJsonObject(), undefined, 2));
- if (endpointList.ok) {
- for (const endpoint of endpointList.value) {
- if (!this.entryMap.has(endpoint)) {
- trace('Adding map entry for ' + (0, subchannel_address_1.endpointToString)(endpoint));
- this.entryMap.set(endpoint, {
- counter: new CallCounter(),
- currentEjectionTimestamp: null,
- ejectionTimeMultiplier: 0,
- subchannelWrappers: [],
- });
- }
- }
- this.entryMap.deleteMissing(endpointList.value);
- }
- const childPolicy = lbConfig.getChildPolicy();
- this.childBalancer.updateAddressList(endpointList, childPolicy, options, resolutionNote);
- if (lbConfig.getSuccessRateEjectionConfig() ||
- lbConfig.getFailurePercentageEjectionConfig()) {
- if (this.timerStartTime) {
- trace('Previous timer existed. Replacing timer');
- clearTimeout(this.ejectionTimer);
- const remainingDelay = lbConfig.getIntervalMs() -
- (new Date().getTime() - this.timerStartTime.getTime());
- this.startTimer(remainingDelay);
- }
- else {
- trace('Starting new timer');
- this.timerStartTime = new Date();
- this.startTimer(lbConfig.getIntervalMs());
- this.switchAllBuckets();
- }
- }
- else {
- trace('Counting disabled. Cancelling timer.');
- this.timerStartTime = null;
- clearTimeout(this.ejectionTimer);
- for (const mapEntry of this.entryMap.values()) {
- this.uneject(mapEntry);
- mapEntry.ejectionTimeMultiplier = 0;
- }
- }
- this.latestConfig = lbConfig;
- return true;
- }
- exitIdle() {
- this.childBalancer.exitIdle();
- }
- resetBackoff() {
- this.childBalancer.resetBackoff();
- }
- destroy() {
- clearTimeout(this.ejectionTimer);
- this.childBalancer.destroy();
- }
- getTypeName() {
- return TYPE_NAME;
- }
-}
-exports.OutlierDetectionLoadBalancer = OutlierDetectionLoadBalancer;
-function setup() {
- if (OUTLIER_DETECTION_ENABLED) {
- (0, experimental_1.registerLoadBalancerType)(TYPE_NAME, OutlierDetectionLoadBalancer, OutlierDetectionLoadBalancingConfig);
- }
-}
-//# sourceMappingURL=load-balancer-outlier-detection.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js.map b/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js.map
deleted file mode 100644
index eebff2e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-outlier-detection.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"load-balancer-outlier-detection.js","sourceRoot":"","sources":["../../src/load-balancer-outlier-detection.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;AAgzBH,sBAQC;AArzBD,6DAAyD;AACzD,2CAAmD;AACnD,yCAA8E;AAC9E,iDAIwB;AACxB,mDAIyB;AACzB,+EAAyE;AACzE,qCAAwE;AACxE,6DAK8B;AAC9B,iEAGgC;AAChC,qCAAqC;AAIrC,MAAM,WAAW,GAAG,mBAAmB,CAAC;AAExC,SAAS,KAAK,CAAC,IAAY;IACzB,OAAO,CAAC,KAAK,CAAC,wBAAY,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,MAAM,yBAAyB,GAC7B,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,0CAA0C,mCAAI,MAAM,CAAC,KAAK,MAAM,CAAC;AA0BhF,MAAM,gCAAgC,GAA8B;IAClE,YAAY,EAAE,IAAI;IAClB,sBAAsB,EAAE,GAAG;IAC3B,aAAa,EAAE,CAAC;IAChB,cAAc,EAAE,GAAG;CACpB,CAAC;AAEF,MAAM,sCAAsC,GAC1C;IACE,SAAS,EAAE,EAAE;IACb,sBAAsB,EAAE,GAAG;IAC3B,aAAa,EAAE,CAAC;IAChB,cAAc,EAAE,EAAE;CACnB,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CAAC;YAC3B,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;YACjC,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE,EAAE,CAAC;gBAC9C,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;gBACvB,QAAQ,CAAC,sBAAsB,GAAG,CAAC,CAAC;YACtC,CAAC;QACH,CAAC;QAED,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC;QAC7B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,QAAQ;QACN,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;IAChC,CAAC;IACD,YAAY;QACV,IAAI,CAAC,aAAa,CAAC,YAAY,EAAE,CAAC;IACpC,CAAC;IACD,OAAO;QACL,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QACjC,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;IAC/B,CAAC;IACD,WAAW;QACT,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AA9WD,oEA8WC;AAED,SAAgB,KAAK;IACnB,IAAI,yBAAyB,EAAE,CAAC;QAC9B,IAAA,uCAAwB,EACtB,SAAS,EACT,4BAA4B,EAC5B,mCAAmC,CACpC,CAAC;IACJ,CAAC;AACH,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.d.ts b/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.d.ts
deleted file mode 100644
index d49e02b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.d.ts
+++ /dev/null
@@ -1,134 +0,0 @@
-import { LoadBalancer, ChannelControlHelper, TypedLoadBalancingConfig } from './load-balancer';
-import { ConnectivityState } from './connectivity-state';
-import { Picker } from './picker';
-import { Endpoint } from './subchannel-address';
-import { ChannelOptions } from './channel-options';
-import { StatusOr } from './call-interface';
-export declare class PickFirstLoadBalancingConfig implements TypedLoadBalancingConfig {
- private readonly shuffleAddressList;
- constructor(shuffleAddressList: boolean);
- getLoadBalancerName(): string;
- toJsonObject(): object;
- getShuffleAddressList(): boolean;
- static createFromJson(obj: any): PickFirstLoadBalancingConfig;
-}
-/**
- * Return a new array with the elements of the input array in a random order
- * @param list The input array
- * @returns A shuffled array of the elements of list
- */
-export declare function shuffled(list: T[]): T[];
-export declare class PickFirstLoadBalancer implements LoadBalancer {
- private readonly channelControlHelper;
- /**
- * The list of subchannels this load balancer is currently attempting to
- * connect to.
- */
- private children;
- /**
- * The current connectivity state of the load balancer.
- */
- private currentState;
- /**
- * The index within the `subchannels` array of the subchannel with the most
- * recently started connection attempt.
- */
- private currentSubchannelIndex;
- /**
- * The currently picked subchannel used for making calls. Populated if
- * and only if the load balancer's current state is READY. In that case,
- * the subchannel's current state is also READY.
- */
- private currentPick;
- /**
- * Listener callback attached to each subchannel in the `subchannels` list
- * while establishing a connection.
- */
- private subchannelStateListener;
- private pickedSubchannelHealthListener;
- /**
- * Timer reference for the timer tracking when to start
- */
- private connectionDelayTimeout;
- /**
- * The LB policy enters sticky TRANSIENT_FAILURE mode when all
- * subchannels have failed to connect at least once, and it stays in that
- * mode until a connection attempt is successful. While in sticky TF mode,
- * the LB policy continuously attempts to connect to all of its subchannels.
- */
- private stickyTransientFailureMode;
- private reportHealthStatus;
- /**
- * The most recent error reported by any subchannel as it transitioned to
- * TRANSIENT_FAILURE.
- */
- private lastError;
- private latestAddressList;
- private latestOptions;
- private latestResolutionNote;
- /**
- * Load balancer that attempts to connect to each backend in the address list
- * in order, and picks the first one that connects, using it for every
- * request.
- * @param channelControlHelper `ChannelControlHelper` instance provided by
- * this load balancer's owner.
- */
- constructor(channelControlHelper: ChannelControlHelper);
- private allChildrenHaveReportedTF;
- private resetChildrenReportedTF;
- private calculateAndReportNewState;
- private requestReresolution;
- private maybeEnterStickyTransientFailureMode;
- private removeCurrentPick;
- private onSubchannelStateUpdate;
- private startNextSubchannelConnecting;
- /**
- * Have a single subchannel in the `subchannels` list start connecting.
- * @param subchannelIndex The index into the `subchannels` list.
- */
- private startConnecting;
- /**
- * Declare that the specified subchannel should be used to make requests.
- * This functions the same independent of whether subchannel is a member of
- * this.children and whether it is equal to this.currentPick.
- * Prerequisite: subchannel.getConnectivityState() === READY.
- * @param subchannel
- */
- private pickSubchannel;
- private updateState;
- private resetSubchannelList;
- private connectToAddressList;
- updateAddressList(maybeEndpointList: StatusOr, lbConfig: TypedLoadBalancingConfig, options: ChannelOptions, resolutionNote: string): boolean;
- exitIdle(): void;
- resetBackoff(): void;
- destroy(): void;
- getTypeName(): string;
-}
-/**
- * This class handles the leaf load balancing operations for a single endpoint.
- * It is a thin wrapper around a PickFirstLoadBalancer with a different API
- * that more closely reflects how it will be used as a leaf balancer.
- */
-export declare class LeafLoadBalancer {
- private endpoint;
- private options;
- private resolutionNote;
- private pickFirstBalancer;
- private latestState;
- private latestPicker;
- constructor(endpoint: Endpoint, channelControlHelper: ChannelControlHelper, options: ChannelOptions, resolutionNote: string);
- startConnecting(): void;
- /**
- * Update the endpoint associated with this LeafLoadBalancer to a new
- * endpoint. Does not trigger connection establishment if a connection
- * attempt is not already in progress.
- * @param newEndpoint
- */
- updateEndpoint(newEndpoint: Endpoint, newOptions: ChannelOptions): void;
- getConnectivityState(): ConnectivityState;
- getPicker(): Picker;
- getEndpoint(): Endpoint;
- exitIdle(): void;
- destroy(): void;
-}
-export declare function setup(): void;
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js b/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js
deleted file mode 100644
index c68ef12..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js
+++ /dev/null
@@ -1,514 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.LeafLoadBalancer = exports.PickFirstLoadBalancer = exports.PickFirstLoadBalancingConfig = void 0;
-exports.shuffled = shuffled;
-exports.setup = setup;
-const load_balancer_1 = require("./load-balancer");
-const connectivity_state_1 = require("./connectivity-state");
-const picker_1 = require("./picker");
-const subchannel_address_1 = require("./subchannel-address");
-const logging = require("./logging");
-const constants_1 = require("./constants");
-const subchannel_address_2 = require("./subchannel-address");
-const net_1 = require("net");
-const call_interface_1 = require("./call-interface");
-const TRACER_NAME = 'pick_first';
-function trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-const TYPE_NAME = 'pick_first';
-/**
- * Delay after starting a connection on a subchannel before starting a
- * connection on the next subchannel in the list, for Happy Eyeballs algorithm.
- */
-const CONNECTION_DELAY_INTERVAL_MS = 250;
-class PickFirstLoadBalancingConfig {
- constructor(shuffleAddressList) {
- this.shuffleAddressList = shuffleAddressList;
- }
- getLoadBalancerName() {
- return TYPE_NAME;
- }
- toJsonObject() {
- return {
- [TYPE_NAME]: {
- shuffleAddressList: this.shuffleAddressList,
- },
- };
- }
- getShuffleAddressList() {
- return this.shuffleAddressList;
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- static createFromJson(obj) {
- if ('shuffleAddressList' in obj &&
- !(typeof obj.shuffleAddressList === 'boolean')) {
- throw new Error('pick_first config field shuffleAddressList must be a boolean if provided');
- }
- return new PickFirstLoadBalancingConfig(obj.shuffleAddressList === true);
- }
-}
-exports.PickFirstLoadBalancingConfig = PickFirstLoadBalancingConfig;
-/**
- * Picker for a `PickFirstLoadBalancer` in the READY state. Always returns the
- * picked subchannel.
- */
-class PickFirstPicker {
- constructor(subchannel) {
- this.subchannel = subchannel;
- }
- pick(pickArgs) {
- return {
- pickResultType: picker_1.PickResultType.COMPLETE,
- subchannel: this.subchannel,
- status: null,
- onCallStarted: null,
- onCallEnded: null,
- };
- }
-}
-/**
- * Return a new array with the elements of the input array in a random order
- * @param list The input array
- * @returns A shuffled array of the elements of list
- */
-function shuffled(list) {
- const result = list.slice();
- for (let i = result.length - 1; i > 1; i--) {
- const j = Math.floor(Math.random() * (i + 1));
- const temp = result[i];
- result[i] = result[j];
- result[j] = temp;
- }
- return result;
-}
-/**
- * Interleave addresses in addressList by family in accordance with RFC-8304 section 4
- * @param addressList
- * @returns
- */
-function interleaveAddressFamilies(addressList) {
- if (addressList.length === 0) {
- return [];
- }
- const result = [];
- const ipv6Addresses = [];
- const ipv4Addresses = [];
- const ipv6First = (0, subchannel_address_2.isTcpSubchannelAddress)(addressList[0]) && (0, net_1.isIPv6)(addressList[0].host);
- for (const address of addressList) {
- if ((0, subchannel_address_2.isTcpSubchannelAddress)(address) && (0, net_1.isIPv6)(address.host)) {
- ipv6Addresses.push(address);
- }
- else {
- ipv4Addresses.push(address);
- }
- }
- const firstList = ipv6First ? ipv6Addresses : ipv4Addresses;
- const secondList = ipv6First ? ipv4Addresses : ipv6Addresses;
- for (let i = 0; i < Math.max(firstList.length, secondList.length); i++) {
- if (i < firstList.length) {
- result.push(firstList[i]);
- }
- if (i < secondList.length) {
- result.push(secondList[i]);
- }
- }
- return result;
-}
-const REPORT_HEALTH_STATUS_OPTION_NAME = 'grpc-node.internal.pick-first.report_health_status';
-class PickFirstLoadBalancer {
- /**
- * Load balancer that attempts to connect to each backend in the address list
- * in order, and picks the first one that connects, using it for every
- * request.
- * @param channelControlHelper `ChannelControlHelper` instance provided by
- * this load balancer's owner.
- */
- constructor(channelControlHelper) {
- this.channelControlHelper = channelControlHelper;
- /**
- * The list of subchannels this load balancer is currently attempting to
- * connect to.
- */
- this.children = [];
- /**
- * The current connectivity state of the load balancer.
- */
- this.currentState = connectivity_state_1.ConnectivityState.IDLE;
- /**
- * The index within the `subchannels` array of the subchannel with the most
- * recently started connection attempt.
- */
- this.currentSubchannelIndex = 0;
- /**
- * The currently picked subchannel used for making calls. Populated if
- * and only if the load balancer's current state is READY. In that case,
- * the subchannel's current state is also READY.
- */
- this.currentPick = null;
- /**
- * Listener callback attached to each subchannel in the `subchannels` list
- * while establishing a connection.
- */
- this.subchannelStateListener = (subchannel, previousState, newState, keepaliveTime, errorMessage) => {
- this.onSubchannelStateUpdate(subchannel, previousState, newState, errorMessage);
- };
- this.pickedSubchannelHealthListener = () => this.calculateAndReportNewState();
- /**
- * The LB policy enters sticky TRANSIENT_FAILURE mode when all
- * subchannels have failed to connect at least once, and it stays in that
- * mode until a connection attempt is successful. While in sticky TF mode,
- * the LB policy continuously attempts to connect to all of its subchannels.
- */
- this.stickyTransientFailureMode = false;
- this.reportHealthStatus = false;
- /**
- * The most recent error reported by any subchannel as it transitioned to
- * TRANSIENT_FAILURE.
- */
- this.lastError = null;
- this.latestAddressList = null;
- this.latestOptions = {};
- this.latestResolutionNote = '';
- this.connectionDelayTimeout = setTimeout(() => { }, 0);
- clearTimeout(this.connectionDelayTimeout);
- }
- allChildrenHaveReportedTF() {
- return this.children.every(child => child.hasReportedTransientFailure);
- }
- resetChildrenReportedTF() {
- this.children.every(child => child.hasReportedTransientFailure = false);
- }
- calculateAndReportNewState() {
- var _a;
- if (this.currentPick) {
- if (this.reportHealthStatus && !this.currentPick.isHealthy()) {
- const errorMessage = `Picked subchannel ${this.currentPick.getAddress()} is unhealthy`;
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker({
- details: errorMessage,
- }), errorMessage);
- }
- else {
- this.updateState(connectivity_state_1.ConnectivityState.READY, new PickFirstPicker(this.currentPick), null);
- }
- }
- else if (((_a = this.latestAddressList) === null || _a === void 0 ? void 0 : _a.length) === 0) {
- const errorMessage = `No connection established. Last error: ${this.lastError}. Resolution note: ${this.latestResolutionNote}`;
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker({
- details: errorMessage,
- }), errorMessage);
- }
- else if (this.children.length === 0) {
- this.updateState(connectivity_state_1.ConnectivityState.IDLE, new picker_1.QueuePicker(this), null);
- }
- else {
- if (this.stickyTransientFailureMode) {
- const errorMessage = `No connection established. Last error: ${this.lastError}. Resolution note: ${this.latestResolutionNote}`;
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker({
- details: errorMessage,
- }), errorMessage);
- }
- else {
- this.updateState(connectivity_state_1.ConnectivityState.CONNECTING, new picker_1.QueuePicker(this), null);
- }
- }
- }
- requestReresolution() {
- this.channelControlHelper.requestReresolution();
- }
- maybeEnterStickyTransientFailureMode() {
- if (!this.allChildrenHaveReportedTF()) {
- return;
- }
- this.requestReresolution();
- this.resetChildrenReportedTF();
- if (this.stickyTransientFailureMode) {
- this.calculateAndReportNewState();
- return;
- }
- this.stickyTransientFailureMode = true;
- for (const { subchannel } of this.children) {
- subchannel.startConnecting();
- }
- this.calculateAndReportNewState();
- }
- removeCurrentPick() {
- if (this.currentPick !== null) {
- this.currentPick.removeConnectivityStateListener(this.subchannelStateListener);
- this.channelControlHelper.removeChannelzChild(this.currentPick.getChannelzRef());
- this.currentPick.removeHealthStateWatcher(this.pickedSubchannelHealthListener);
- // Unref last, to avoid triggering listeners
- this.currentPick.unref();
- this.currentPick = null;
- }
- }
- onSubchannelStateUpdate(subchannel, previousState, newState, errorMessage) {
- var _a;
- if ((_a = this.currentPick) === null || _a === void 0 ? void 0 : _a.realSubchannelEquals(subchannel)) {
- if (newState !== connectivity_state_1.ConnectivityState.READY) {
- this.removeCurrentPick();
- this.calculateAndReportNewState();
- }
- return;
- }
- for (const [index, child] of this.children.entries()) {
- if (subchannel.realSubchannelEquals(child.subchannel)) {
- if (newState === connectivity_state_1.ConnectivityState.READY) {
- this.pickSubchannel(child.subchannel);
- }
- if (newState === connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE) {
- child.hasReportedTransientFailure = true;
- if (errorMessage) {
- this.lastError = errorMessage;
- }
- this.maybeEnterStickyTransientFailureMode();
- if (index === this.currentSubchannelIndex) {
- this.startNextSubchannelConnecting(index + 1);
- }
- }
- child.subchannel.startConnecting();
- return;
- }
- }
- }
- startNextSubchannelConnecting(startIndex) {
- clearTimeout(this.connectionDelayTimeout);
- for (const [index, child] of this.children.entries()) {
- if (index >= startIndex) {
- const subchannelState = child.subchannel.getConnectivityState();
- if (subchannelState === connectivity_state_1.ConnectivityState.IDLE ||
- subchannelState === connectivity_state_1.ConnectivityState.CONNECTING) {
- this.startConnecting(index);
- return;
- }
- }
- }
- this.maybeEnterStickyTransientFailureMode();
- }
- /**
- * Have a single subchannel in the `subchannels` list start connecting.
- * @param subchannelIndex The index into the `subchannels` list.
- */
- startConnecting(subchannelIndex) {
- var _a, _b;
- clearTimeout(this.connectionDelayTimeout);
- this.currentSubchannelIndex = subchannelIndex;
- if (this.children[subchannelIndex].subchannel.getConnectivityState() ===
- connectivity_state_1.ConnectivityState.IDLE) {
- trace('Start connecting to subchannel with address ' +
- this.children[subchannelIndex].subchannel.getAddress());
- process.nextTick(() => {
- var _a;
- (_a = this.children[subchannelIndex]) === null || _a === void 0 ? void 0 : _a.subchannel.startConnecting();
- });
- }
- this.connectionDelayTimeout = setTimeout(() => {
- this.startNextSubchannelConnecting(subchannelIndex + 1);
- }, CONNECTION_DELAY_INTERVAL_MS);
- (_b = (_a = this.connectionDelayTimeout).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- }
- /**
- * Declare that the specified subchannel should be used to make requests.
- * This functions the same independent of whether subchannel is a member of
- * this.children and whether it is equal to this.currentPick.
- * Prerequisite: subchannel.getConnectivityState() === READY.
- * @param subchannel
- */
- pickSubchannel(subchannel) {
- trace('Pick subchannel with address ' + subchannel.getAddress());
- this.stickyTransientFailureMode = false;
- /* Ref before removeCurrentPick and resetSubchannelList to avoid the
- * refcount dropping to 0 during this process. */
- subchannel.ref();
- this.channelControlHelper.addChannelzChild(subchannel.getChannelzRef());
- this.removeCurrentPick();
- this.resetSubchannelList();
- subchannel.addConnectivityStateListener(this.subchannelStateListener);
- subchannel.addHealthStateWatcher(this.pickedSubchannelHealthListener);
- this.currentPick = subchannel;
- clearTimeout(this.connectionDelayTimeout);
- this.calculateAndReportNewState();
- }
- updateState(newState, picker, errorMessage) {
- trace(connectivity_state_1.ConnectivityState[this.currentState] +
- ' -> ' +
- connectivity_state_1.ConnectivityState[newState]);
- this.currentState = newState;
- this.channelControlHelper.updateState(newState, picker, errorMessage);
- }
- resetSubchannelList() {
- for (const child of this.children) {
- /* Always remoev the connectivity state listener. If the subchannel is
- getting picked, it will be re-added then. */
- child.subchannel.removeConnectivityStateListener(this.subchannelStateListener);
- /* Refs are counted independently for the children list and the
- * currentPick, so we call unref whether or not the child is the
- * currentPick. Channelz child references are also refcounted, so
- * removeChannelzChild can be handled the same way. */
- child.subchannel.unref();
- this.channelControlHelper.removeChannelzChild(child.subchannel.getChannelzRef());
- }
- this.currentSubchannelIndex = 0;
- this.children = [];
- }
- connectToAddressList(addressList, options) {
- trace('connectToAddressList([' + addressList.map(address => (0, subchannel_address_1.subchannelAddressToString)(address)) + '])');
- const newChildrenList = addressList.map(address => ({
- subchannel: this.channelControlHelper.createSubchannel(address, options),
- hasReportedTransientFailure: false,
- }));
- for (const { subchannel } of newChildrenList) {
- if (subchannel.getConnectivityState() === connectivity_state_1.ConnectivityState.READY) {
- this.pickSubchannel(subchannel);
- return;
- }
- }
- /* Ref each subchannel before resetting the list, to ensure that
- * subchannels shared between the list don't drop to 0 refs during the
- * transition. */
- for (const { subchannel } of newChildrenList) {
- subchannel.ref();
- this.channelControlHelper.addChannelzChild(subchannel.getChannelzRef());
- }
- this.resetSubchannelList();
- this.children = newChildrenList;
- for (const { subchannel } of this.children) {
- subchannel.addConnectivityStateListener(this.subchannelStateListener);
- }
- for (const child of this.children) {
- if (child.subchannel.getConnectivityState() ===
- connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE) {
- child.hasReportedTransientFailure = true;
- }
- }
- this.startNextSubchannelConnecting(0);
- this.calculateAndReportNewState();
- }
- updateAddressList(maybeEndpointList, lbConfig, options, resolutionNote) {
- if (!(lbConfig instanceof PickFirstLoadBalancingConfig)) {
- return false;
- }
- if (!maybeEndpointList.ok) {
- if (this.children.length === 0 && this.currentPick === null) {
- this.channelControlHelper.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker(maybeEndpointList.error), maybeEndpointList.error.details);
- }
- return true;
- }
- let endpointList = maybeEndpointList.value;
- this.reportHealthStatus = options[REPORT_HEALTH_STATUS_OPTION_NAME];
- /* Previously, an update would be discarded if it was identical to the
- * previous update, to minimize churn. Now the DNS resolver is
- * rate-limited, so that is less of a concern. */
- if (lbConfig.getShuffleAddressList()) {
- endpointList = shuffled(endpointList);
- }
- const rawAddressList = [].concat(...endpointList.map(endpoint => endpoint.addresses));
- trace('updateAddressList([' + rawAddressList.map(address => (0, subchannel_address_1.subchannelAddressToString)(address)) + '])');
- const addressList = interleaveAddressFamilies(rawAddressList);
- this.latestAddressList = addressList;
- this.latestOptions = options;
- this.connectToAddressList(addressList, options);
- this.latestResolutionNote = resolutionNote;
- if (rawAddressList.length > 0) {
- return true;
- }
- else {
- this.lastError = 'No addresses resolved';
- return false;
- }
- }
- exitIdle() {
- if (this.currentState === connectivity_state_1.ConnectivityState.IDLE &&
- this.latestAddressList) {
- this.connectToAddressList(this.latestAddressList, this.latestOptions);
- }
- }
- resetBackoff() {
- /* The pick first load balancer does not have a connection backoff, so this
- * does nothing */
- }
- destroy() {
- this.resetSubchannelList();
- this.removeCurrentPick();
- }
- getTypeName() {
- return TYPE_NAME;
- }
-}
-exports.PickFirstLoadBalancer = PickFirstLoadBalancer;
-const LEAF_CONFIG = new PickFirstLoadBalancingConfig(false);
-/**
- * This class handles the leaf load balancing operations for a single endpoint.
- * It is a thin wrapper around a PickFirstLoadBalancer with a different API
- * that more closely reflects how it will be used as a leaf balancer.
- */
-class LeafLoadBalancer {
- constructor(endpoint, channelControlHelper, options, resolutionNote) {
- this.endpoint = endpoint;
- this.options = options;
- this.resolutionNote = resolutionNote;
- this.latestState = connectivity_state_1.ConnectivityState.IDLE;
- const childChannelControlHelper = (0, load_balancer_1.createChildChannelControlHelper)(channelControlHelper, {
- updateState: (connectivityState, picker, errorMessage) => {
- this.latestState = connectivityState;
- this.latestPicker = picker;
- channelControlHelper.updateState(connectivityState, picker, errorMessage);
- },
- });
- this.pickFirstBalancer = new PickFirstLoadBalancer(childChannelControlHelper);
- this.latestPicker = new picker_1.QueuePicker(this.pickFirstBalancer);
- }
- startConnecting() {
- this.pickFirstBalancer.updateAddressList((0, call_interface_1.statusOrFromValue)([this.endpoint]), LEAF_CONFIG, Object.assign(Object.assign({}, this.options), { [REPORT_HEALTH_STATUS_OPTION_NAME]: true }), this.resolutionNote);
- }
- /**
- * Update the endpoint associated with this LeafLoadBalancer to a new
- * endpoint. Does not trigger connection establishment if a connection
- * attempt is not already in progress.
- * @param newEndpoint
- */
- updateEndpoint(newEndpoint, newOptions) {
- this.options = newOptions;
- this.endpoint = newEndpoint;
- if (this.latestState !== connectivity_state_1.ConnectivityState.IDLE) {
- this.startConnecting();
- }
- }
- getConnectivityState() {
- return this.latestState;
- }
- getPicker() {
- return this.latestPicker;
- }
- getEndpoint() {
- return this.endpoint;
- }
- exitIdle() {
- this.pickFirstBalancer.exitIdle();
- }
- destroy() {
- this.pickFirstBalancer.destroy();
- }
-}
-exports.LeafLoadBalancer = LeafLoadBalancer;
-function setup() {
- (0, load_balancer_1.registerLoadBalancerType)(TYPE_NAME, PickFirstLoadBalancer, PickFirstLoadBalancingConfig);
- (0, load_balancer_1.registerDefaultLoadBalancerType)(TYPE_NAME);
-}
-//# sourceMappingURL=load-balancer-pick-first.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js.map b/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js.map
deleted file mode 100644
index 2735cd3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-pick-first.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"load-balancer-pick-first.js","sourceRoot":"","sources":["../../src/load-balancer-pick-first.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA2GH,4BASC;AA2gBD,sBAOC;AApoBD,mDAOyB;AACzB,6DAAyD;AACzD,qCAOkB;AAClB,6DAA8F;AAC9F,qCAAqC;AACrC,2CAA2C;AAM3C,6DAA8D;AAC9D,6BAA6B;AAE7B,qDAA+D;AAE/D,MAAM,WAAW,GAAG,YAAY,CAAC;AAEjC,SAAS,KAAK,CAAC,IAAY;IACzB,OAAO,CAAC,KAAK,CAAC,wBAAY,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,SAAS,GAAG,YAAY,CAAC;AAE/B;;;GAGG;AACH,MAAM,4BAA4B,GAAG,GAAG,CAAC;AAEzC,MAAa,4BAA4B;IACvC,YAA6B,kBAA2B;QAA3B,uBAAkB,GAAlB,kBAAkB,CAAS;IAAG,CAAC;IAE5D,mBAAmB;QACjB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,YAAY;QACV,OAAO;YACL,CAAC,SAAS,CAAC,EAAE;gBACX,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;aAC5C;SACF,CAAC;IACJ,CAAC;IAED,qBAAqB;QACnB,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACjC,CAAC;IAED,8DAA8D;IAC9D,MAAM,CAAC,cAAc,CAAC,GAAQ;QAC5B,IACE,oBAAoB,IAAI,GAAG;YAC3B,CAAC,CAAC,OAAO,GAAG,CAAC,kBAAkB,KAAK,SAAS,CAAC,EAC9C,CAAC;YACD,MAAM,IAAI,KAAK,CACb,0EAA0E,CAC3E,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,4BAA4B,CAAC,GAAG,CAAC,kB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AI,CAAC,iBAAiB,CAAC,OAAO,EAAE,CAAC;IACnC,CAAC;CACF;AApED,4CAoEC;AAED,SAAgB,KAAK;IACnB,IAAA,wCAAwB,EACtB,SAAS,EACT,qBAAqB,EACrB,4BAA4B,CAC7B,CAAC;IACF,IAAA,+CAA+B,EAAC,SAAS,CAAC,CAAC;AAC7C,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.d.ts b/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.d.ts
deleted file mode 100644
index a7e747f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.d.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-import { LoadBalancer, ChannelControlHelper, TypedLoadBalancingConfig } from './load-balancer';
-import { Endpoint } from './subchannel-address';
-import { ChannelOptions } from './channel-options';
-import { StatusOr } from './call-interface';
-export declare class RoundRobinLoadBalancer implements LoadBalancer {
- private readonly channelControlHelper;
- private children;
- private currentState;
- private currentReadyPicker;
- private updatesPaused;
- private childChannelControlHelper;
- private lastError;
- constructor(channelControlHelper: ChannelControlHelper);
- private countChildrenWithState;
- private calculateAndUpdateState;
- private updateState;
- private resetSubchannelList;
- updateAddressList(maybeEndpointList: StatusOr, lbConfig: TypedLoadBalancingConfig, options: ChannelOptions, resolutionNote: string): boolean;
- exitIdle(): void;
- resetBackoff(): void;
- destroy(): void;
- getTypeName(): string;
-}
-export declare function setup(): void;
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js b/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js
deleted file mode 100644
index a49d0e0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js
+++ /dev/null
@@ -1,204 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.RoundRobinLoadBalancer = void 0;
-exports.setup = setup;
-const load_balancer_1 = require("./load-balancer");
-const connectivity_state_1 = require("./connectivity-state");
-const picker_1 = require("./picker");
-const logging = require("./logging");
-const constants_1 = require("./constants");
-const subchannel_address_1 = require("./subchannel-address");
-const load_balancer_pick_first_1 = require("./load-balancer-pick-first");
-const TRACER_NAME = 'round_robin';
-function trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-const TYPE_NAME = 'round_robin';
-class RoundRobinLoadBalancingConfig {
- getLoadBalancerName() {
- return TYPE_NAME;
- }
- constructor() { }
- toJsonObject() {
- return {
- [TYPE_NAME]: {},
- };
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- static createFromJson(obj) {
- return new RoundRobinLoadBalancingConfig();
- }
-}
-class RoundRobinPicker {
- constructor(children, nextIndex = 0) {
- this.children = children;
- this.nextIndex = nextIndex;
- }
- pick(pickArgs) {
- const childPicker = this.children[this.nextIndex].picker;
- this.nextIndex = (this.nextIndex + 1) % this.children.length;
- return childPicker.pick(pickArgs);
- }
- /**
- * Check what the next subchannel returned would be. Used by the load
- * balancer implementation to preserve this part of the picker state if
- * possible when a subchannel connects or disconnects.
- */
- peekNextEndpoint() {
- return this.children[this.nextIndex].endpoint;
- }
-}
-function rotateArray(list, startIndex) {
- return [...list.slice(startIndex), ...list.slice(0, startIndex)];
-}
-class RoundRobinLoadBalancer {
- constructor(channelControlHelper) {
- this.channelControlHelper = channelControlHelper;
- this.children = [];
- this.currentState = connectivity_state_1.ConnectivityState.IDLE;
- this.currentReadyPicker = null;
- this.updatesPaused = false;
- this.lastError = null;
- this.childChannelControlHelper = (0, load_balancer_1.createChildChannelControlHelper)(channelControlHelper, {
- updateState: (connectivityState, picker, errorMessage) => {
- /* Ensure that name resolution is requested again after active
- * connections are dropped. This is more aggressive than necessary to
- * accomplish that, so we are counting on resolvers to have
- * reasonable rate limits. */
- if (this.currentState === connectivity_state_1.ConnectivityState.READY && connectivityState !== connectivity_state_1.ConnectivityState.READY) {
- this.channelControlHelper.requestReresolution();
- }
- if (errorMessage) {
- this.lastError = errorMessage;
- }
- this.calculateAndUpdateState();
- },
- });
- }
- countChildrenWithState(state) {
- return this.children.filter(child => child.getConnectivityState() === state)
- .length;
- }
- calculateAndUpdateState() {
- if (this.updatesPaused) {
- return;
- }
- if (this.countChildrenWithState(connectivity_state_1.ConnectivityState.READY) > 0) {
- const readyChildren = this.children.filter(child => child.getConnectivityState() === connectivity_state_1.ConnectivityState.READY);
- let index = 0;
- if (this.currentReadyPicker !== null) {
- const nextPickedEndpoint = this.currentReadyPicker.peekNextEndpoint();
- index = readyChildren.findIndex(child => (0, subchannel_address_1.endpointEqual)(child.getEndpoint(), nextPickedEndpoint));
- if (index < 0) {
- index = 0;
- }
- }
- this.updateState(connectivity_state_1.ConnectivityState.READY, new RoundRobinPicker(readyChildren.map(child => ({
- endpoint: child.getEndpoint(),
- picker: child.getPicker(),
- })), index), null);
- }
- else if (this.countChildrenWithState(connectivity_state_1.ConnectivityState.CONNECTING) > 0) {
- this.updateState(connectivity_state_1.ConnectivityState.CONNECTING, new picker_1.QueuePicker(this), null);
- }
- else if (this.countChildrenWithState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE) > 0) {
- const errorMessage = `round_robin: No connection established. Last error: ${this.lastError}`;
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker({
- details: errorMessage,
- }), errorMessage);
- }
- else {
- this.updateState(connectivity_state_1.ConnectivityState.IDLE, new picker_1.QueuePicker(this), null);
- }
- /* round_robin should keep all children connected, this is how we do that.
- * We can't do this more efficiently in the individual child's updateState
- * callback because that doesn't have a reference to which child the state
- * change is associated with. */
- for (const child of this.children) {
- if (child.getConnectivityState() === connectivity_state_1.ConnectivityState.IDLE) {
- child.exitIdle();
- }
- }
- }
- updateState(newState, picker, errorMessage) {
- trace(connectivity_state_1.ConnectivityState[this.currentState] +
- ' -> ' +
- connectivity_state_1.ConnectivityState[newState]);
- if (newState === connectivity_state_1.ConnectivityState.READY) {
- this.currentReadyPicker = picker;
- }
- else {
- this.currentReadyPicker = null;
- }
- this.currentState = newState;
- this.channelControlHelper.updateState(newState, picker, errorMessage);
- }
- resetSubchannelList() {
- for (const child of this.children) {
- child.destroy();
- }
- this.children = [];
- }
- updateAddressList(maybeEndpointList, lbConfig, options, resolutionNote) {
- if (!(lbConfig instanceof RoundRobinLoadBalancingConfig)) {
- return false;
- }
- if (!maybeEndpointList.ok) {
- if (this.children.length === 0) {
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker(maybeEndpointList.error), maybeEndpointList.error.details);
- }
- return true;
- }
- const startIndex = (Math.random() * maybeEndpointList.value.length) | 0;
- const endpointList = rotateArray(maybeEndpointList.value, startIndex);
- this.resetSubchannelList();
- if (endpointList.length === 0) {
- const errorMessage = `No addresses resolved. Resolution note: ${resolutionNote}`;
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker({ details: errorMessage }), errorMessage);
- }
- trace('Connect to endpoint list ' + endpointList.map(subchannel_address_1.endpointToString));
- this.updatesPaused = true;
- this.children = endpointList.map(endpoint => new load_balancer_pick_first_1.LeafLoadBalancer(endpoint, this.childChannelControlHelper, options, resolutionNote));
- for (const child of this.children) {
- child.startConnecting();
- }
- this.updatesPaused = false;
- this.calculateAndUpdateState();
- return true;
- }
- exitIdle() {
- /* The round_robin LB policy is only in the IDLE state if it has no
- * addresses to try to connect to and it has no picked subchannel.
- * In that case, there is no meaningful action that can be taken here. */
- }
- resetBackoff() {
- // This LB policy has no backoff to reset
- }
- destroy() {
- this.resetSubchannelList();
- }
- getTypeName() {
- return TYPE_NAME;
- }
-}
-exports.RoundRobinLoadBalancer = RoundRobinLoadBalancer;
-function setup() {
- (0, load_balancer_1.registerLoadBalancerType)(TYPE_NAME, RoundRobinLoadBalancer, RoundRobinLoadBalancingConfig);
-}
-//# sourceMappingURL=load-balancer-round-robin.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js.map b/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js.map
deleted file mode 100644
index 8e5ad1c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"load-balancer-round-robin.js","sourceRoot":"","sources":["../../src/load-balancer-round-robin.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAyQH,sBAMC;AA7QD,mDAMyB;AACzB,6DAAyD;AACzD,qCAMkB;AAClB,qCAAqC;AACrC,2CAA2C;AAC3C,6DAI8B;AAC9B,yEAA8D;AAI9D,MAAM,WAAW,GAAG,aAAa,CAAC;AAElC,SAAS,KAAK,CAAC,IAAY;IACzB,OAAO,CAAC,KAAK,CAAC,wBAAY,CAAC,KAAK,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;AACvD,CAAC;AAED,MAAM,SAAS,GAAG,aAAa,CAAC;AAEhC,MAAM,6BAA6B;IACjC,mBAAmB;QACjB,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,gBAAe,CAAC;IAEhB,YAAY;QACV,OAAO;YACL,CAAC,SAAS,CAAC,EAAE,EAAE;SAChB,CAAC;IACJ,CAAC;IAED,8DAA8D;IAC9D,MAAM,CAAC,cAAc,CAAC,GAAQ;QAC5B,OAAO,IAAI,6BAA6B,EAAE,CAAC;IAC7C,CAAC;CACF;AAED,MAAM,gBAAgB;IACpB,YACmB,QAAkD,EAC3D,YAAY,CAAC;QADJ,aAAQ,GAAR,QAAQ,CAA0C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9B,MAAM,YAAY,GAAG,2CAA2C,cAAc,EAAE,CAAC;YACjF,IAAI,CAAC,WAAW,CACd,sCAAiB,CAAC,iBAAiB,EACnC,IAAI,0BAAiB,CAAC,EAAC,OAAO,EAAE,YAAY,EAAC,CAAC,EAC9C,YAAY,CACb,CAAC;QACJ,CAAC;QACD,KAAK,CAAC,2BAA2B,GAAG,YAAY,CAAC,GAAG,CAAC,qCAAgB,CAAC,CAAC,CAAC;QACxE,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC;QAC1B,IAAI,CAAC,QAAQ,GAAG,YAAY,CAAC,GAAG,CAC9B,QAAQ,CAAC,EAAE,CACT,IAAI,2CAAgB,CAClB,QAAQ,EACR,IAAI,CAAC,yBAAyB,EAC9B,OAAO,EACP,cAAc,CACf,CACJ,CAAC;QACF,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClC,KAAK,CAAC,eAAe,EAAE,CAAC;QAC1B,CAAC;QACD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,uBAAuB,EAAE,CAAC;QAC/B,OAAO,IAAI,CAAC;IACd,CAAC;IAED,QAAQ;QACN;;iFAEyE;IAC3E,CAAC;IACD,YAAY;QACV,yCAAyC;IAC3C,CAAC;IACD,OAAO;QACL,IAAI,CAAC,mBAAmB,EAAE,CAAC;IAC7B,CAAC;IACD,WAAW;QACT,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAtLD,wDAsLC;AAED,SAAgB,KAAK;IACnB,IAAA,wCAAwB,EACtB,SAAS,EACT,sBAAsB,EACtB,6BAA6B,CAC9B,CAAC;AACJ,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.d.ts b/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.d.ts
deleted file mode 100644
index f6838c8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.d.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-import { TypedLoadBalancingConfig } from './load-balancer';
-export declare class WeightedRoundRobinLoadBalancingConfig implements TypedLoadBalancingConfig {
- private readonly enableOobLoadReport;
- private readonly oobLoadReportingPeriodMs;
- private readonly blackoutPeriodMs;
- private readonly weightExpirationPeriodMs;
- private readonly weightUpdatePeriodMs;
- private readonly errorUtilizationPenalty;
- constructor(enableOobLoadReport: boolean | null, oobLoadReportingPeriodMs: number | null, blackoutPeriodMs: number | null, weightExpirationPeriodMs: number | null, weightUpdatePeriodMs: number | null, errorUtilizationPenalty: number | null);
- getLoadBalancerName(): string;
- toJsonObject(): object;
- static createFromJson(obj: any): WeightedRoundRobinLoadBalancingConfig;
- getEnableOobLoadReport(): boolean;
- getOobLoadReportingPeriodMs(): number;
- getBlackoutPeriodMs(): number;
- getWeightExpirationPeriodMs(): number;
- getWeightUpdatePeriodMs(): number;
- getErrorUtilizationPenalty(): number;
-}
-export declare function setup(): void;
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js b/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js
deleted file mode 100644
index 919c36a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js
+++ /dev/null
@@ -1,392 +0,0 @@
-"use strict";
-/*
- * Copyright 2025 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.WeightedRoundRobinLoadBalancingConfig = void 0;
-exports.setup = setup;
-const connectivity_state_1 = require("./connectivity-state");
-const constants_1 = require("./constants");
-const duration_1 = require("./duration");
-const load_balancer_1 = require("./load-balancer");
-const load_balancer_pick_first_1 = require("./load-balancer-pick-first");
-const logging = require("./logging");
-const orca_1 = require("./orca");
-const picker_1 = require("./picker");
-const priority_queue_1 = require("./priority-queue");
-const subchannel_address_1 = require("./subchannel-address");
-const TRACER_NAME = 'weighted_round_robin';
-function trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-const TYPE_NAME = 'weighted_round_robin';
-const DEFAULT_OOB_REPORTING_PERIOD_MS = 10000;
-const DEFAULT_BLACKOUT_PERIOD_MS = 10000;
-const DEFAULT_WEIGHT_EXPIRATION_PERIOD_MS = 3 * 60000;
-const DEFAULT_WEIGHT_UPDATE_PERIOD_MS = 1000;
-const DEFAULT_ERROR_UTILIZATION_PENALTY = 1;
-function validateFieldType(obj, fieldName, expectedType) {
- if (fieldName in obj &&
- obj[fieldName] !== undefined &&
- typeof obj[fieldName] !== expectedType) {
- throw new Error(`weighted round robin config ${fieldName} parse error: expected ${expectedType}, got ${typeof obj[fieldName]}`);
- }
-}
-function parseDurationField(obj, fieldName) {
- if (fieldName in obj && obj[fieldName] !== undefined && obj[fieldName] !== null) {
- let durationObject;
- if ((0, duration_1.isDuration)(obj[fieldName])) {
- durationObject = obj[fieldName];
- }
- else if ((0, duration_1.isDurationMessage)(obj[fieldName])) {
- durationObject = (0, duration_1.durationMessageToDuration)(obj[fieldName]);
- }
- else if (typeof obj[fieldName] === 'string') {
- const parsedDuration = (0, duration_1.parseDuration)(obj[fieldName]);
- if (!parsedDuration) {
- throw new Error(`weighted round robin config ${fieldName}: failed to parse duration string ${obj[fieldName]}`);
- }
- durationObject = parsedDuration;
- }
- else {
- throw new Error(`weighted round robin config ${fieldName}: expected duration, got ${typeof obj[fieldName]}`);
- }
- return (0, duration_1.durationToMs)(durationObject);
- }
- return null;
-}
-class WeightedRoundRobinLoadBalancingConfig {
- constructor(enableOobLoadReport, oobLoadReportingPeriodMs, blackoutPeriodMs, weightExpirationPeriodMs, weightUpdatePeriodMs, errorUtilizationPenalty) {
- this.enableOobLoadReport = enableOobLoadReport !== null && enableOobLoadReport !== void 0 ? enableOobLoadReport : false;
- this.oobLoadReportingPeriodMs = oobLoadReportingPeriodMs !== null && oobLoadReportingPeriodMs !== void 0 ? oobLoadReportingPeriodMs : DEFAULT_OOB_REPORTING_PERIOD_MS;
- this.blackoutPeriodMs = blackoutPeriodMs !== null && blackoutPeriodMs !== void 0 ? blackoutPeriodMs : DEFAULT_BLACKOUT_PERIOD_MS;
- this.weightExpirationPeriodMs = weightExpirationPeriodMs !== null && weightExpirationPeriodMs !== void 0 ? weightExpirationPeriodMs : DEFAULT_WEIGHT_EXPIRATION_PERIOD_MS;
- this.weightUpdatePeriodMs = Math.max(weightUpdatePeriodMs !== null && weightUpdatePeriodMs !== void 0 ? weightUpdatePeriodMs : DEFAULT_WEIGHT_UPDATE_PERIOD_MS, 100);
- this.errorUtilizationPenalty = errorUtilizationPenalty !== null && errorUtilizationPenalty !== void 0 ? errorUtilizationPenalty : DEFAULT_ERROR_UTILIZATION_PENALTY;
- }
- getLoadBalancerName() {
- return TYPE_NAME;
- }
- toJsonObject() {
- return {
- enable_oob_load_report: this.enableOobLoadReport,
- oob_load_reporting_period: (0, duration_1.durationToString)((0, duration_1.msToDuration)(this.oobLoadReportingPeriodMs)),
- blackout_period: (0, duration_1.durationToString)((0, duration_1.msToDuration)(this.blackoutPeriodMs)),
- weight_expiration_period: (0, duration_1.durationToString)((0, duration_1.msToDuration)(this.weightExpirationPeriodMs)),
- weight_update_period: (0, duration_1.durationToString)((0, duration_1.msToDuration)(this.weightUpdatePeriodMs)),
- error_utilization_penalty: this.errorUtilizationPenalty
- };
- }
- static createFromJson(obj) {
- validateFieldType(obj, 'enable_oob_load_report', 'boolean');
- validateFieldType(obj, 'error_utilization_penalty', 'number');
- if (obj.error_utilization_penalty < 0) {
- throw new Error('weighted round robin config error_utilization_penalty < 0');
- }
- return new WeightedRoundRobinLoadBalancingConfig(obj.enable_oob_load_report, parseDurationField(obj, 'oob_load_reporting_period'), parseDurationField(obj, 'blackout_period'), parseDurationField(obj, 'weight_expiration_period'), parseDurationField(obj, 'weight_update_period'), obj.error_utilization_penalty);
- }
- getEnableOobLoadReport() {
- return this.enableOobLoadReport;
- }
- getOobLoadReportingPeriodMs() {
- return this.oobLoadReportingPeriodMs;
- }
- getBlackoutPeriodMs() {
- return this.blackoutPeriodMs;
- }
- getWeightExpirationPeriodMs() {
- return this.weightExpirationPeriodMs;
- }
- getWeightUpdatePeriodMs() {
- return this.weightUpdatePeriodMs;
- }
- getErrorUtilizationPenalty() {
- return this.errorUtilizationPenalty;
- }
-}
-exports.WeightedRoundRobinLoadBalancingConfig = WeightedRoundRobinLoadBalancingConfig;
-class WeightedRoundRobinPicker {
- constructor(children, metricsHandler) {
- this.metricsHandler = metricsHandler;
- this.queue = new priority_queue_1.PriorityQueue((a, b) => a.deadline < b.deadline);
- const positiveWeight = children.filter(picker => picker.weight > 0);
- let averageWeight;
- if (positiveWeight.length < 2) {
- averageWeight = 1;
- }
- else {
- let weightSum = 0;
- for (const { weight } of positiveWeight) {
- weightSum += weight;
- }
- averageWeight = weightSum / positiveWeight.length;
- }
- for (const child of children) {
- const period = child.weight > 0 ? 1 / child.weight : averageWeight;
- this.queue.push({
- endpointName: child.endpointName,
- picker: child.picker,
- period: period,
- deadline: Math.random() * period
- });
- }
- }
- pick(pickArgs) {
- const entry = this.queue.pop();
- this.queue.push(Object.assign(Object.assign({}, entry), { deadline: entry.deadline + entry.period }));
- const childPick = entry.picker.pick(pickArgs);
- if (childPick.pickResultType === picker_1.PickResultType.COMPLETE) {
- if (this.metricsHandler) {
- return Object.assign(Object.assign({}, childPick), { onCallEnded: (0, orca_1.createMetricsReader)(loadReport => this.metricsHandler(loadReport, entry.endpointName), childPick.onCallEnded) });
- }
- else {
- const subchannelWrapper = childPick.subchannel;
- return Object.assign(Object.assign({}, childPick), { subchannel: subchannelWrapper.getWrappedSubchannel() });
- }
- }
- else {
- return childPick;
- }
- }
-}
-class WeightedRoundRobinLoadBalancer {
- constructor(channelControlHelper) {
- this.channelControlHelper = channelControlHelper;
- this.latestConfig = null;
- this.children = new Map();
- this.currentState = connectivity_state_1.ConnectivityState.IDLE;
- this.updatesPaused = false;
- this.lastError = null;
- this.weightUpdateTimer = null;
- }
- countChildrenWithState(state) {
- let count = 0;
- for (const entry of this.children.values()) {
- if (entry.child.getConnectivityState() === state) {
- count += 1;
- }
- }
- return count;
- }
- updateWeight(entry, loadReport) {
- var _a, _b;
- const qps = loadReport.rps_fractional;
- let utilization = loadReport.application_utilization;
- if (utilization > 0 && qps > 0) {
- utilization += (loadReport.eps / qps) * ((_b = (_a = this.latestConfig) === null || _a === void 0 ? void 0 : _a.getErrorUtilizationPenalty()) !== null && _b !== void 0 ? _b : 0);
- }
- const newWeight = utilization === 0 ? 0 : qps / utilization;
- if (newWeight === 0) {
- return;
- }
- const now = new Date();
- if (entry.nonEmptySince === null) {
- entry.nonEmptySince = now;
- }
- entry.lastUpdated = now;
- entry.weight = newWeight;
- }
- getWeight(entry) {
- if (!this.latestConfig) {
- return 0;
- }
- const now = new Date().getTime();
- if (now - entry.lastUpdated.getTime() >= this.latestConfig.getWeightExpirationPeriodMs()) {
- entry.nonEmptySince = null;
- return 0;
- }
- const blackoutPeriod = this.latestConfig.getBlackoutPeriodMs();
- if (blackoutPeriod > 0 && (entry.nonEmptySince === null || now - entry.nonEmptySince.getTime() < blackoutPeriod)) {
- return 0;
- }
- return entry.weight;
- }
- calculateAndUpdateState() {
- if (this.updatesPaused || !this.latestConfig) {
- return;
- }
- if (this.countChildrenWithState(connectivity_state_1.ConnectivityState.READY) > 0) {
- const weightedPickers = [];
- for (const [endpoint, entry] of this.children) {
- if (entry.child.getConnectivityState() !== connectivity_state_1.ConnectivityState.READY) {
- continue;
- }
- weightedPickers.push({
- endpointName: endpoint,
- picker: entry.child.getPicker(),
- weight: this.getWeight(entry)
- });
- }
- trace('Created picker with weights: ' + weightedPickers.map(entry => entry.endpointName + ':' + entry.weight).join(','));
- let metricsHandler;
- if (!this.latestConfig.getEnableOobLoadReport()) {
- metricsHandler = (loadReport, endpointName) => {
- const childEntry = this.children.get(endpointName);
- if (childEntry) {
- this.updateWeight(childEntry, loadReport);
- }
- };
- }
- else {
- metricsHandler = null;
- }
- this.updateState(connectivity_state_1.ConnectivityState.READY, new WeightedRoundRobinPicker(weightedPickers, metricsHandler), null);
- }
- else if (this.countChildrenWithState(connectivity_state_1.ConnectivityState.CONNECTING) > 0) {
- this.updateState(connectivity_state_1.ConnectivityState.CONNECTING, new picker_1.QueuePicker(this), null);
- }
- else if (this.countChildrenWithState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE) > 0) {
- const errorMessage = `weighted_round_robin: No connection established. Last error: ${this.lastError}`;
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker({
- details: errorMessage,
- }), errorMessage);
- }
- else {
- this.updateState(connectivity_state_1.ConnectivityState.IDLE, new picker_1.QueuePicker(this), null);
- }
- /* round_robin should keep all children connected, this is how we do that.
- * We can't do this more efficiently in the individual child's updateState
- * callback because that doesn't have a reference to which child the state
- * change is associated with. */
- for (const { child } of this.children.values()) {
- if (child.getConnectivityState() === connectivity_state_1.ConnectivityState.IDLE) {
- child.exitIdle();
- }
- }
- }
- updateState(newState, picker, errorMessage) {
- trace(connectivity_state_1.ConnectivityState[this.currentState] +
- ' -> ' +
- connectivity_state_1.ConnectivityState[newState]);
- this.currentState = newState;
- this.channelControlHelper.updateState(newState, picker, errorMessage);
- }
- updateAddressList(maybeEndpointList, lbConfig, options, resolutionNote) {
- var _a, _b;
- if (!(lbConfig instanceof WeightedRoundRobinLoadBalancingConfig)) {
- return false;
- }
- if (!maybeEndpointList.ok) {
- if (this.children.size === 0) {
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker(maybeEndpointList.error), maybeEndpointList.error.details);
- }
- return true;
- }
- if (maybeEndpointList.value.length === 0) {
- const errorMessage = `No addresses resolved. Resolution note: ${resolutionNote}`;
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker({ details: errorMessage }), errorMessage);
- return false;
- }
- trace('Connect to endpoint list ' + maybeEndpointList.value.map(subchannel_address_1.endpointToString));
- const now = new Date();
- const seenEndpointNames = new Set();
- this.updatesPaused = true;
- this.latestConfig = lbConfig;
- for (const endpoint of maybeEndpointList.value) {
- const name = (0, subchannel_address_1.endpointToString)(endpoint);
- seenEndpointNames.add(name);
- let entry = this.children.get(name);
- if (!entry) {
- entry = {
- child: new load_balancer_pick_first_1.LeafLoadBalancer(endpoint, (0, load_balancer_1.createChildChannelControlHelper)(this.channelControlHelper, {
- updateState: (connectivityState, picker, errorMessage) => {
- /* Ensure that name resolution is requested again after active
- * connections are dropped. This is more aggressive than necessary to
- * accomplish that, so we are counting on resolvers to have
- * reasonable rate limits. */
- if (this.currentState === connectivity_state_1.ConnectivityState.READY && connectivityState !== connectivity_state_1.ConnectivityState.READY) {
- this.channelControlHelper.requestReresolution();
- }
- if (connectivityState === connectivity_state_1.ConnectivityState.READY) {
- entry.nonEmptySince = null;
- }
- if (errorMessage) {
- this.lastError = errorMessage;
- }
- this.calculateAndUpdateState();
- },
- createSubchannel: (subchannelAddress, subchannelArgs) => {
- const subchannel = this.channelControlHelper.createSubchannel(subchannelAddress, subchannelArgs);
- if (entry === null || entry === void 0 ? void 0 : entry.oobMetricsListener) {
- return new orca_1.OrcaOobMetricsSubchannelWrapper(subchannel, entry.oobMetricsListener, this.latestConfig.getOobLoadReportingPeriodMs());
- }
- else {
- return subchannel;
- }
- }
- }), options, resolutionNote),
- lastUpdated: now,
- nonEmptySince: null,
- weight: 0,
- oobMetricsListener: null
- };
- this.children.set(name, entry);
- }
- if (lbConfig.getEnableOobLoadReport()) {
- entry.oobMetricsListener = loadReport => {
- this.updateWeight(entry, loadReport);
- };
- }
- else {
- entry.oobMetricsListener = null;
- }
- }
- for (const [endpointName, entry] of this.children) {
- if (seenEndpointNames.has(endpointName)) {
- entry.child.startConnecting();
- }
- else {
- entry.child.destroy();
- this.children.delete(endpointName);
- }
- }
- this.updatesPaused = false;
- this.calculateAndUpdateState();
- if (this.weightUpdateTimer) {
- clearInterval(this.weightUpdateTimer);
- }
- this.weightUpdateTimer = (_b = (_a = setInterval(() => {
- if (this.currentState === connectivity_state_1.ConnectivityState.READY) {
- this.calculateAndUpdateState();
- }
- }, lbConfig.getWeightUpdatePeriodMs())).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- return true;
- }
- exitIdle() {
- /* The weighted_round_robin LB policy is only in the IDLE state if it has
- * no addresses to try to connect to and it has no picked subchannel.
- * In that case, there is no meaningful action that can be taken here. */
- }
- resetBackoff() {
- // This LB policy has no backoff to reset
- }
- destroy() {
- for (const entry of this.children.values()) {
- entry.child.destroy();
- }
- this.children.clear();
- if (this.weightUpdateTimer) {
- clearInterval(this.weightUpdateTimer);
- }
- }
- getTypeName() {
- return TYPE_NAME;
- }
-}
-function setup() {
- (0, load_balancer_1.registerLoadBalancerType)(TYPE_NAME, WeightedRoundRobinLoadBalancer, WeightedRoundRobinLoadBalancingConfig);
-}
-//# sourceMappingURL=load-balancer-weighted-round-robin.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js.map b/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js.map
deleted file mode 100644
index 3bc2b03..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer-weighted-round-robin.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"load-balancer-weighted-round-robin.js","sourceRoot":"","sources":["../../src/load-balancer-weighted-round-robin.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAwdH,sBAMC;AA1dD,6DAAyD;AACzD,2CAA2C;AAC3C,yCAA6J;AAE7J,mDAA0J;AAC1J,yEAA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AE,CAAC;QACtB,IAAI,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC3B,aAAa,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;QACxC,CAAC;IACH,CAAC;IACD,WAAW;QACT,OAAO,SAAS,CAAC;IACnB,CAAC;CACF;AAED,SAAgB,KAAK;IACnB,IAAA,wCAAwB,EACtB,SAAS,EACT,8BAA8B,EAC9B,qCAAqC,CACtC,CAAC;AACJ,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer.d.ts b/node_modules/@grpc/grpc-js/build/src/load-balancer.d.ts
deleted file mode 100644
index 2f18461..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer.d.ts
+++ /dev/null
@@ -1,101 +0,0 @@
-import { ChannelOptions } from './channel-options';
-import { Endpoint, SubchannelAddress } from './subchannel-address';
-import { ConnectivityState } from './connectivity-state';
-import { Picker } from './picker';
-import type { ChannelRef, SubchannelRef } from './channelz';
-import { SubchannelInterface } from './subchannel-interface';
-import { LoadBalancingConfig } from './service-config';
-import { StatusOr } from './call-interface';
-/**
- * A collection of functions associated with a channel that a load balancer
- * can call as necessary.
- */
-export interface ChannelControlHelper {
- /**
- * Returns a subchannel connected to the specified address.
- * @param subchannelAddress The address to connect to
- * @param subchannelArgs Channel arguments to use to construct the subchannel
- */
- createSubchannel(subchannelAddress: SubchannelAddress, subchannelArgs: ChannelOptions): SubchannelInterface;
- /**
- * Passes a new subchannel picker up to the channel. This is called if either
- * the connectivity state changes or if a different picker is needed for any
- * other reason.
- * @param connectivityState New connectivity state
- * @param picker New picker
- */
- updateState(connectivityState: ConnectivityState, picker: Picker, errorMessage: string | null): void;
- /**
- * Request new data from the resolver.
- */
- requestReresolution(): void;
- addChannelzChild(child: ChannelRef | SubchannelRef): void;
- removeChannelzChild(child: ChannelRef | SubchannelRef): void;
-}
-/**
- * Create a child ChannelControlHelper that overrides some methods of the
- * parent while letting others pass through to the parent unmodified. This
- * allows other code to create these children without needing to know about
- * all of the methods to be passed through.
- * @param parent
- * @param overrides
- */
-export declare function createChildChannelControlHelper(parent: ChannelControlHelper, overrides: Partial): ChannelControlHelper;
-/**
- * Tracks one or more connected subchannels and determines which subchannel
- * each request should use.
- */
-export interface LoadBalancer {
- /**
- * Gives the load balancer a new list of addresses to start connecting to.
- * The load balancer will start establishing connections with the new list,
- * but will continue using any existing connections until the new connections
- * are established
- * @param endpointList The new list of addresses to connect to
- * @param lbConfig The load balancing config object from the service config,
- * if one was provided
- * @param channelOptions Channel options from the channel, plus resolver
- * attributes
- * @param resolutionNote A not from the resolver to include in errors
- */
- updateAddressList(endpointList: StatusOr, lbConfig: TypedLoadBalancingConfig, channelOptions: ChannelOptions, resolutionNote: string): boolean;
- /**
- * If the load balancer is currently in the IDLE state, start connecting.
- */
- exitIdle(): void;
- /**
- * If the load balancer is currently in the CONNECTING or TRANSIENT_FAILURE
- * state, reset the current connection backoff timeout to its base value and
- * transition to CONNECTING if in TRANSIENT_FAILURE.
- */
- resetBackoff(): void;
- /**
- * The load balancer unrefs all of its subchannels and stops calling methods
- * of its channel control helper.
- */
- destroy(): void;
- /**
- * Get the type name for this load balancer type. Must be constant across an
- * entire load balancer implementation class and must match the name that the
- * balancer implementation class was registered with.
- */
- getTypeName(): string;
-}
-export interface LoadBalancerConstructor {
- new (channelControlHelper: ChannelControlHelper): LoadBalancer;
-}
-export interface TypedLoadBalancingConfig {
- getLoadBalancerName(): string;
- toJsonObject(): object;
-}
-export interface TypedLoadBalancingConfigConstructor {
- new (...args: any): TypedLoadBalancingConfig;
- createFromJson(obj: any): TypedLoadBalancingConfig;
-}
-export declare function registerLoadBalancerType(typeName: string, loadBalancerType: LoadBalancerConstructor, loadBalancingConfigType: TypedLoadBalancingConfigConstructor): void;
-export declare function registerDefaultLoadBalancerType(typeName: string): void;
-export declare function createLoadBalancer(config: TypedLoadBalancingConfig, channelControlHelper: ChannelControlHelper): LoadBalancer | null;
-export declare function isLoadBalancerNameRegistered(typeName: string): boolean;
-export declare function parseLoadBalancingConfig(rawConfig: LoadBalancingConfig): TypedLoadBalancingConfig;
-export declare function getDefaultConfig(): TypedLoadBalancingConfig;
-export declare function selectLbConfigFromList(configs: LoadBalancingConfig[], fallbackTodefault?: boolean): TypedLoadBalancingConfig | null;
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer.js b/node_modules/@grpc/grpc-js/build/src/load-balancer.js
deleted file mode 100644
index adda9c6..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer.js
+++ /dev/null
@@ -1,116 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.createChildChannelControlHelper = createChildChannelControlHelper;
-exports.registerLoadBalancerType = registerLoadBalancerType;
-exports.registerDefaultLoadBalancerType = registerDefaultLoadBalancerType;
-exports.createLoadBalancer = createLoadBalancer;
-exports.isLoadBalancerNameRegistered = isLoadBalancerNameRegistered;
-exports.parseLoadBalancingConfig = parseLoadBalancingConfig;
-exports.getDefaultConfig = getDefaultConfig;
-exports.selectLbConfigFromList = selectLbConfigFromList;
-const logging_1 = require("./logging");
-const constants_1 = require("./constants");
-/**
- * Create a child ChannelControlHelper that overrides some methods of the
- * parent while letting others pass through to the parent unmodified. This
- * allows other code to create these children without needing to know about
- * all of the methods to be passed through.
- * @param parent
- * @param overrides
- */
-function createChildChannelControlHelper(parent, overrides) {
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
- return {
- createSubchannel: (_b = (_a = overrides.createSubchannel) === null || _a === void 0 ? void 0 : _a.bind(overrides)) !== null && _b !== void 0 ? _b : parent.createSubchannel.bind(parent),
- updateState: (_d = (_c = overrides.updateState) === null || _c === void 0 ? void 0 : _c.bind(overrides)) !== null && _d !== void 0 ? _d : parent.updateState.bind(parent),
- requestReresolution: (_f = (_e = overrides.requestReresolution) === null || _e === void 0 ? void 0 : _e.bind(overrides)) !== null && _f !== void 0 ? _f : parent.requestReresolution.bind(parent),
- addChannelzChild: (_h = (_g = overrides.addChannelzChild) === null || _g === void 0 ? void 0 : _g.bind(overrides)) !== null && _h !== void 0 ? _h : parent.addChannelzChild.bind(parent),
- removeChannelzChild: (_k = (_j = overrides.removeChannelzChild) === null || _j === void 0 ? void 0 : _j.bind(overrides)) !== null && _k !== void 0 ? _k : parent.removeChannelzChild.bind(parent),
- };
-}
-const registeredLoadBalancerTypes = {};
-let defaultLoadBalancerType = null;
-function registerLoadBalancerType(typeName, loadBalancerType, loadBalancingConfigType) {
- registeredLoadBalancerTypes[typeName] = {
- LoadBalancer: loadBalancerType,
- LoadBalancingConfig: loadBalancingConfigType,
- };
-}
-function registerDefaultLoadBalancerType(typeName) {
- defaultLoadBalancerType = typeName;
-}
-function createLoadBalancer(config, channelControlHelper) {
- const typeName = config.getLoadBalancerName();
- if (typeName in registeredLoadBalancerTypes) {
- return new registeredLoadBalancerTypes[typeName].LoadBalancer(channelControlHelper);
- }
- else {
- return null;
- }
-}
-function isLoadBalancerNameRegistered(typeName) {
- return typeName in registeredLoadBalancerTypes;
-}
-function parseLoadBalancingConfig(rawConfig) {
- const keys = Object.keys(rawConfig);
- if (keys.length !== 1) {
- throw new Error('Provided load balancing config has multiple conflicting entries');
- }
- const typeName = keys[0];
- if (typeName in registeredLoadBalancerTypes) {
- try {
- return registeredLoadBalancerTypes[typeName].LoadBalancingConfig.createFromJson(rawConfig[typeName]);
- }
- catch (e) {
- throw new Error(`${typeName}: ${e.message}`);
- }
- }
- else {
- throw new Error(`Unrecognized load balancing config name ${typeName}`);
- }
-}
-function getDefaultConfig() {
- if (!defaultLoadBalancerType) {
- throw new Error('No default load balancer type registered');
- }
- return new registeredLoadBalancerTypes[defaultLoadBalancerType].LoadBalancingConfig();
-}
-function selectLbConfigFromList(configs, fallbackTodefault = false) {
- for (const config of configs) {
- try {
- return parseLoadBalancingConfig(config);
- }
- catch (e) {
- (0, logging_1.log)(constants_1.LogVerbosity.DEBUG, 'Config parsing failed with error', e.message);
- continue;
- }
- }
- if (fallbackTodefault) {
- if (defaultLoadBalancerType) {
- return new registeredLoadBalancerTypes[defaultLoadBalancerType].LoadBalancingConfig();
- }
- else {
- return null;
- }
- }
- else {
- return null;
- }
-}
-//# sourceMappingURL=load-balancer.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancer.js.map b/node_modules/@grpc/grpc-js/build/src/load-balancer.js.map
deleted file mode 100644
index 2eec632..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancer.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"load-balancer.js","sourceRoot":"","sources":["../../src/load-balancer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AAuDH,0EAoBC;AA2ED,4DASC;AAED,0EAEC;AAED,gDAYC;AAED,oEAEC;AAED,4DAqBC;AAED,4CAOC;AAED,wDA2BC;AAzOD,uCAAgC;AAChC,2CAA2C;AAqC3C;;;;;;;GAOG;AACH,SAAgB,+BAA+B,CAC7C,MAA4B,EAC5B,SAAwC;;IAExC,OAAO;QACL,gBAAgB,EACd,MAAA,MAAA,SAAS,CAAC,gBAAgB,0CAAE,IAAI,CAAC,SAAS,CAAC,mCAC3C,MAAM,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,CAAC;QACtC,WAAW,EACT,MAAA,MAAA,SAAS,CAAC,WAAW,0CAAE,IAAI,CAAC,SAAS,CAAC,mCAAI,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3E,mBAAmB,EACjB,MAAA,MAAA,SAAS,CAA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5B,OAAO,IAAI,2BAA2B,CACpC,uBAAuB,CACvB,CAAC,mBAAmB,EAAE,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;SAAM,CAAC;QACN,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancing-call.d.ts b/node_modules/@grpc/grpc-js/build/src/load-balancing-call.d.ts
deleted file mode 100644
index 983049b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancing-call.d.ts
+++ /dev/null
@@ -1,49 +0,0 @@
-import { CallCredentials } from './call-credentials';
-import { Call, DeadlineInfoProvider, InterceptingListener, MessageContext, StatusObject } from './call-interface';
-import { Status } from './constants';
-import { Deadline } from './deadline';
-import { InternalChannel } from './internal-channel';
-import { Metadata } from './metadata';
-import { CallConfig } from './resolver';
-import { AuthContext } from './auth-context';
-export type RpcProgress = 'NOT_STARTED' | 'DROP' | 'REFUSED' | 'PROCESSED';
-export interface StatusObjectWithProgress extends StatusObject {
- progress: RpcProgress;
-}
-export interface LoadBalancingCallInterceptingListener extends InterceptingListener {
- onReceiveStatus(status: StatusObjectWithProgress): void;
-}
-export declare class LoadBalancingCall implements Call, DeadlineInfoProvider {
- private readonly channel;
- private readonly callConfig;
- private readonly methodName;
- private readonly host;
- private readonly credentials;
- private readonly deadline;
- private readonly callNumber;
- private child;
- private readPending;
- private pendingMessage;
- private pendingHalfClose;
- private ended;
- private serviceUrl;
- private metadata;
- private listener;
- private onCallEnded;
- private startTime;
- private childStartTime;
- constructor(channel: InternalChannel, callConfig: CallConfig, methodName: string, host: string, credentials: CallCredentials, deadline: Deadline, callNumber: number);
- getDeadlineInfo(): string[];
- private trace;
- private outputStatus;
- doPick(): void;
- cancelWithStatus(status: Status, details: string): void;
- getPeer(): string;
- start(metadata: Metadata, listener: LoadBalancingCallInterceptingListener): void;
- sendMessageWithContext(context: MessageContext, message: Buffer): void;
- startRead(): void;
- halfClose(): void;
- setCredentials(credentials: CallCredentials): void;
- getCallNumber(): number;
- getAuthContext(): AuthContext | null;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js b/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js
deleted file mode 100644
index 44edbd0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js
+++ /dev/null
@@ -1,302 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.LoadBalancingCall = void 0;
-const connectivity_state_1 = require("./connectivity-state");
-const constants_1 = require("./constants");
-const deadline_1 = require("./deadline");
-const metadata_1 = require("./metadata");
-const picker_1 = require("./picker");
-const uri_parser_1 = require("./uri-parser");
-const logging = require("./logging");
-const control_plane_status_1 = require("./control-plane-status");
-const http2 = require("http2");
-const TRACER_NAME = 'load_balancing_call';
-class LoadBalancingCall {
- constructor(channel, callConfig, methodName, host, credentials, deadline, callNumber) {
- var _a, _b;
- this.channel = channel;
- this.callConfig = callConfig;
- this.methodName = methodName;
- this.host = host;
- this.credentials = credentials;
- this.deadline = deadline;
- this.callNumber = callNumber;
- this.child = null;
- this.readPending = false;
- this.pendingMessage = null;
- this.pendingHalfClose = false;
- this.ended = false;
- this.metadata = null;
- this.listener = null;
- this.onCallEnded = null;
- this.childStartTime = null;
- const splitPath = this.methodName.split('/');
- let serviceName = '';
- /* The standard path format is "/{serviceName}/{methodName}", so if we split
- * by '/', the first item should be empty and the second should be the
- * service name */
- if (splitPath.length >= 2) {
- serviceName = splitPath[1];
- }
- const hostname = (_b = (_a = (0, uri_parser_1.splitHostPort)(this.host)) === null || _a === void 0 ? void 0 : _a.host) !== null && _b !== void 0 ? _b : 'localhost';
- /* Currently, call credentials are only allowed on HTTPS connections, so we
- * can assume that the scheme is "https" */
- this.serviceUrl = `https://${hostname}/${serviceName}`;
- this.startTime = new Date();
- }
- getDeadlineInfo() {
- var _a, _b;
- const deadlineInfo = [];
- if (this.childStartTime) {
- if (this.childStartTime > this.startTime) {
- if ((_a = this.metadata) === null || _a === void 0 ? void 0 : _a.getOptions().waitForReady) {
- deadlineInfo.push('wait_for_ready');
- }
- deadlineInfo.push(`LB pick: ${(0, deadline_1.formatDateDifference)(this.startTime, this.childStartTime)}`);
- }
- deadlineInfo.push(...this.child.getDeadlineInfo());
- return deadlineInfo;
- }
- else {
- if ((_b = this.metadata) === null || _b === void 0 ? void 0 : _b.getOptions().waitForReady) {
- deadlineInfo.push('wait_for_ready');
- }
- deadlineInfo.push('Waiting for LB pick');
- }
- return deadlineInfo;
- }
- trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, '[' + this.callNumber + '] ' + text);
- }
- outputStatus(status, progress) {
- var _a, _b;
- if (!this.ended) {
- this.ended = true;
- this.trace('ended with status: code=' +
- status.code +
- ' details="' +
- status.details +
- '" start time=' +
- this.startTime.toISOString());
- const finalStatus = Object.assign(Object.assign({}, status), { progress });
- (_a = this.listener) === null || _a === void 0 ? void 0 : _a.onReceiveStatus(finalStatus);
- (_b = this.onCallEnded) === null || _b === void 0 ? void 0 : _b.call(this, finalStatus.code, finalStatus.details, finalStatus.metadata);
- }
- }
- doPick() {
- var _a, _b;
- if (this.ended) {
- return;
- }
- if (!this.metadata) {
- throw new Error('doPick called before start');
- }
- this.trace('Pick called');
- const finalMetadata = this.metadata.clone();
- const pickResult = this.channel.doPick(finalMetadata, this.callConfig.pickInformation);
- const subchannelString = pickResult.subchannel
- ? '(' +
- pickResult.subchannel.getChannelzRef().id +
- ') ' +
- pickResult.subchannel.getAddress()
- : '' + pickResult.subchannel;
- this.trace('Pick result: ' +
- picker_1.PickResultType[pickResult.pickResultType] +
- ' subchannel: ' +
- subchannelString +
- ' status: ' +
- ((_a = pickResult.status) === null || _a === void 0 ? void 0 : _a.code) +
- ' ' +
- ((_b = pickResult.status) === null || _b === void 0 ? void 0 : _b.details));
- switch (pickResult.pickResultType) {
- case picker_1.PickResultType.COMPLETE:
- const combinedCallCredentials = this.credentials.compose(pickResult.subchannel.getCallCredentials());
- combinedCallCredentials
- .generateMetadata({ method_name: this.methodName, service_url: this.serviceUrl })
- .then(credsMetadata => {
- var _a;
- /* If this call was cancelled (e.g. by the deadline) before
- * metadata generation finished, we shouldn't do anything with
- * it. */
- if (this.ended) {
- this.trace('Credentials metadata generation finished after call ended');
- return;
- }
- finalMetadata.merge(credsMetadata);
- if (finalMetadata.get('authorization').length > 1) {
- this.outputStatus({
- code: constants_1.Status.INTERNAL,
- details: '"authorization" metadata cannot have multiple values',
- metadata: new metadata_1.Metadata(),
- }, 'PROCESSED');
- }
- if (pickResult.subchannel.getConnectivityState() !==
- connectivity_state_1.ConnectivityState.READY) {
- this.trace('Picked subchannel ' +
- subchannelString +
- ' has state ' +
- connectivity_state_1.ConnectivityState[pickResult.subchannel.getConnectivityState()] +
- ' after getting credentials metadata. Retrying pick');
- this.doPick();
- return;
- }
- if (this.deadline !== Infinity) {
- finalMetadata.set('grpc-timeout', (0, deadline_1.getDeadlineTimeoutString)(this.deadline));
- }
- try {
- this.child = pickResult
- .subchannel.getRealSubchannel()
- .createCall(finalMetadata, this.host, this.methodName, {
- onReceiveMetadata: metadata => {
- this.trace('Received metadata');
- this.listener.onReceiveMetadata(metadata);
- },
- onReceiveMessage: message => {
- this.trace('Received message');
- this.listener.onReceiveMessage(message);
- },
- onReceiveStatus: status => {
- this.trace('Received status');
- if (status.rstCode ===
- http2.constants.NGHTTP2_REFUSED_STREAM) {
- this.outputStatus(status, 'REFUSED');
- }
- else {
- this.outputStatus(status, 'PROCESSED');
- }
- },
- });
- this.childStartTime = new Date();
- }
- catch (error) {
- this.trace('Failed to start call on picked subchannel ' +
- subchannelString +
- ' with error ' +
- error.message);
- this.outputStatus({
- code: constants_1.Status.INTERNAL,
- details: 'Failed to start HTTP/2 stream with error ' +
- error.message,
- metadata: new metadata_1.Metadata(),
- }, 'NOT_STARTED');
- return;
- }
- (_a = pickResult.onCallStarted) === null || _a === void 0 ? void 0 : _a.call(pickResult);
- this.onCallEnded = pickResult.onCallEnded;
- this.trace('Created child call [' + this.child.getCallNumber() + ']');
- if (this.readPending) {
- this.child.startRead();
- }
- if (this.pendingMessage) {
- this.child.sendMessageWithContext(this.pendingMessage.context, this.pendingMessage.message);
- }
- if (this.pendingHalfClose) {
- this.child.halfClose();
- }
- }, (error) => {
- // We assume the error code isn't 0 (Status.OK)
- const { code, details } = (0, control_plane_status_1.restrictControlPlaneStatusCode)(typeof error.code === 'number' ? error.code : constants_1.Status.UNKNOWN, `Getting metadata from plugin failed with error: ${error.message}`);
- this.outputStatus({
- code: code,
- details: details,
- metadata: new metadata_1.Metadata(),
- }, 'PROCESSED');
- });
- break;
- case picker_1.PickResultType.DROP:
- const { code, details } = (0, control_plane_status_1.restrictControlPlaneStatusCode)(pickResult.status.code, pickResult.status.details);
- setImmediate(() => {
- this.outputStatus({ code, details, metadata: pickResult.status.metadata }, 'DROP');
- });
- break;
- case picker_1.PickResultType.TRANSIENT_FAILURE:
- if (this.metadata.getOptions().waitForReady) {
- this.channel.queueCallForPick(this);
- }
- else {
- const { code, details } = (0, control_plane_status_1.restrictControlPlaneStatusCode)(pickResult.status.code, pickResult.status.details);
- setImmediate(() => {
- this.outputStatus({ code, details, metadata: pickResult.status.metadata }, 'PROCESSED');
- });
- }
- break;
- case picker_1.PickResultType.QUEUE:
- this.channel.queueCallForPick(this);
- }
- }
- cancelWithStatus(status, details) {
- var _a;
- this.trace('cancelWithStatus code: ' + status + ' details: "' + details + '"');
- (_a = this.child) === null || _a === void 0 ? void 0 : _a.cancelWithStatus(status, details);
- this.outputStatus({ code: status, details: details, metadata: new metadata_1.Metadata() }, 'PROCESSED');
- }
- getPeer() {
- var _a, _b;
- return (_b = (_a = this.child) === null || _a === void 0 ? void 0 : _a.getPeer()) !== null && _b !== void 0 ? _b : this.channel.getTarget();
- }
- start(metadata, listener) {
- this.trace('start called');
- this.listener = listener;
- this.metadata = metadata;
- this.doPick();
- }
- sendMessageWithContext(context, message) {
- this.trace('write() called with message of length ' + message.length);
- if (this.child) {
- this.child.sendMessageWithContext(context, message);
- }
- else {
- this.pendingMessage = { context, message };
- }
- }
- startRead() {
- this.trace('startRead called');
- if (this.child) {
- this.child.startRead();
- }
- else {
- this.readPending = true;
- }
- }
- halfClose() {
- this.trace('halfClose called');
- if (this.child) {
- this.child.halfClose();
- }
- else {
- this.pendingHalfClose = true;
- }
- }
- setCredentials(credentials) {
- throw new Error('Method not implemented.');
- }
- getCallNumber() {
- return this.callNumber;
- }
- getAuthContext() {
- if (this.child) {
- return this.child.getAuthContext();
- }
- else {
- return null;
- }
- }
-}
-exports.LoadBalancingCall = LoadBalancingCall;
-//# sourceMappingURL=load-balancing-call.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js.map b/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js.map
deleted file mode 100644
index 34701f5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/load-balancing-call.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"load-balancing-call.js","sourceRoot":"","sources":["../../src/load-balancing-call.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAWH,6DAAyD;AACzD,2CAAmD;AACnD,yCAAsF;AAEtF,yCAAsC;AACtC,qCAAuD;AAEvD,6CAA6C;AAC7C,qCAAqC;AACrC,iEAAwE;AACxE,+BAA+B;AAG/B,MAAM,WAAW,GAAG,qBAAqB,CAAC;AAa1C,MAAa,iBAAiB;IAa5B,Y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,CAAC,CAAC;IAC7C,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,cAAc;QACZ,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CACF;AA9UD,8CA8UC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/logging.d.ts b/node_modules/@grpc/grpc-js/build/src/logging.d.ts
deleted file mode 100644
index f89da44..0000000
--- a/node_modules/@grpc/grpc-js/build/src/logging.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-import { LogVerbosity } from './constants';
-export declare const getLogger: () => Partial;
-export declare const setLogger: (logger: Partial) => void;
-export declare const setLoggerVerbosity: (verbosity: LogVerbosity) => void;
-export declare const log: (severity: LogVerbosity, ...args: any[]) => void;
-export declare function trace(severity: LogVerbosity, tracer: string, text: string): void;
-export declare function isTracerEnabled(tracer: string): boolean;
diff --git a/node_modules/@grpc/grpc-js/build/src/logging.js b/node_modules/@grpc/grpc-js/build/src/logging.js
deleted file mode 100644
index af7a8c8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/logging.js
+++ /dev/null
@@ -1,122 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-var _a, _b, _c, _d;
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.log = exports.setLoggerVerbosity = exports.setLogger = exports.getLogger = void 0;
-exports.trace = trace;
-exports.isTracerEnabled = isTracerEnabled;
-const constants_1 = require("./constants");
-const process_1 = require("process");
-const clientVersion = require('../../package.json').version;
-const DEFAULT_LOGGER = {
- error: (message, ...optionalParams) => {
- console.error('E ' + message, ...optionalParams);
- },
- info: (message, ...optionalParams) => {
- console.error('I ' + message, ...optionalParams);
- },
- debug: (message, ...optionalParams) => {
- console.error('D ' + message, ...optionalParams);
- },
-};
-let _logger = DEFAULT_LOGGER;
-let _logVerbosity = constants_1.LogVerbosity.ERROR;
-const verbosityString = (_b = (_a = process.env.GRPC_NODE_VERBOSITY) !== null && _a !== void 0 ? _a : process.env.GRPC_VERBOSITY) !== null && _b !== void 0 ? _b : '';
-switch (verbosityString.toUpperCase()) {
- case 'DEBUG':
- _logVerbosity = constants_1.LogVerbosity.DEBUG;
- break;
- case 'INFO':
- _logVerbosity = constants_1.LogVerbosity.INFO;
- break;
- case 'ERROR':
- _logVerbosity = constants_1.LogVerbosity.ERROR;
- break;
- case 'NONE':
- _logVerbosity = constants_1.LogVerbosity.NONE;
- break;
- default:
- // Ignore any other values
-}
-const getLogger = () => {
- return _logger;
-};
-exports.getLogger = getLogger;
-const setLogger = (logger) => {
- _logger = logger;
-};
-exports.setLogger = setLogger;
-const setLoggerVerbosity = (verbosity) => {
- _logVerbosity = verbosity;
-};
-exports.setLoggerVerbosity = setLoggerVerbosity;
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
-const log = (severity, ...args) => {
- let logFunction;
- if (severity >= _logVerbosity) {
- switch (severity) {
- case constants_1.LogVerbosity.DEBUG:
- logFunction = _logger.debug;
- break;
- case constants_1.LogVerbosity.INFO:
- logFunction = _logger.info;
- break;
- case constants_1.LogVerbosity.ERROR:
- logFunction = _logger.error;
- break;
- }
- /* Fall back to _logger.error when other methods are not available for
- * compatiblity with older behavior that always logged to _logger.error */
- if (!logFunction) {
- logFunction = _logger.error;
- }
- if (logFunction) {
- logFunction.bind(_logger)(...args);
- }
- }
-};
-exports.log = log;
-const tracersString = (_d = (_c = process.env.GRPC_NODE_TRACE) !== null && _c !== void 0 ? _c : process.env.GRPC_TRACE) !== null && _d !== void 0 ? _d : '';
-const enabledTracers = new Set();
-const disabledTracers = new Set();
-for (const tracerName of tracersString.split(',')) {
- if (tracerName.startsWith('-')) {
- disabledTracers.add(tracerName.substring(1));
- }
- else {
- enabledTracers.add(tracerName);
- }
-}
-const allEnabled = enabledTracers.has('all');
-function trace(severity, tracer, text) {
- if (isTracerEnabled(tracer)) {
- (0, exports.log)(severity, new Date().toISOString() +
- ' | v' +
- clientVersion +
- ' ' +
- process_1.pid +
- ' | ' +
- tracer +
- ' | ' +
- text);
- }
-}
-function isTracerEnabled(tracer) {
- return (!disabledTracers.has(tracer) && (allEnabled || enabledTracers.has(tracer)));
-}
-//# sourceMappingURL=logging.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/logging.js.map b/node_modules/@grpc/grpc-js/build/src/logging.js.map
deleted file mode 100644
index 9fdc293..0000000
--- a/node_modules/@grpc/grpc-js/build/src/logging.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"logging.js","sourceRoot":"","sources":["../../src/logging.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;AA6FH,sBAmBC;AAED,0CAIC;AApHD,2CAA2C;AAC3C,qCAA8B;AAE9B,MAAM,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC;AAE5D,MAAM,cAAc,GAAqB;IACvC,KAAK,EAAE,CAAC,OAAa,EAAE,GAAG,cAAqB,EAAE,EAAE;QACjD,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,OAAO,EAAE,GAAG,cAAc,CAAC,CAAC;IACnD,CAAC;IACD,IAAI,EAAE,CAAC,OAAa,EAAE,GAAG,cAAqB,EAAE,EAAE;QAChD,OAAO,CAAC,KAAK,CAAC,IAAI,GAAG,OAAO,EAAE,GAAG,cAAc,CAAC,CAAC;IACnD,CAAC;IACD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ACnB,QAAsB,EACtB,MAAc,EACd,IAAY;IAEZ,IAAI,eAAe,CAAC,MAAM,CAAC,EAAE,CAAC;QAC5B,IAAA,WAAG,EACD,QAAQ,EACR,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACtB,MAAM;YACN,aAAa;YACb,GAAG;YACH,aAAG;YACH,KAAK;YACL,MAAM;YACN,KAAK;YACL,IAAI,CACP,CAAC;IACJ,CAAC;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,MAAc;IAC5C,OAAO,CACL,CAAC,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,IAAI,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAC3E,CAAC;AACJ,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/make-client.d.ts b/node_modules/@grpc/grpc-js/build/src/make-client.d.ts
deleted file mode 100644
index e095e6e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/make-client.d.ts
+++ /dev/null
@@ -1,71 +0,0 @@
-import { ChannelCredentials } from './channel-credentials';
-import { ChannelOptions } from './channel-options';
-import { Client } from './client';
-import { UntypedServiceImplementation } from './server';
-export interface Serialize {
- (value: T): Buffer;
-}
-export interface Deserialize {
- (bytes: Buffer): T;
-}
-export interface ClientMethodDefinition {
- path: string;
- requestStream: boolean;
- responseStream: boolean;
- requestSerialize: Serialize;
- responseDeserialize: Deserialize;
- originalName?: string;
-}
-export interface ServerMethodDefinition {
- path: string;
- requestStream: boolean;
- responseStream: boolean;
- responseSerialize: Serialize;
- requestDeserialize: Deserialize;
- originalName?: string;
-}
-export interface MethodDefinition extends ClientMethodDefinition, ServerMethodDefinition {
-}
-export type ServiceDefinition = {
- readonly [index in keyof ImplementationType]: MethodDefinition;
-};
-export interface ProtobufTypeDefinition {
- format: string;
- type: object;
- fileDescriptorProtos: Buffer[];
-}
-export interface PackageDefinition {
- [index: string]: ServiceDefinition | ProtobufTypeDefinition;
-}
-export interface ServiceClient extends Client {
- [methodName: string]: Function;
-}
-export interface ServiceClientConstructor {
- new (address: string, credentials: ChannelCredentials, options?: Partial): ServiceClient;
- service: ServiceDefinition;
- serviceName: string;
-}
-/**
- * Creates a constructor for a client with the given methods, as specified in
- * the methods argument. The resulting class will have an instance method for
- * each method in the service, which is a partial application of one of the
- * [Client]{@link grpc.Client} request methods, depending on `requestSerialize`
- * and `responseSerialize`, with the `method`, `serialize`, and `deserialize`
- * arguments predefined.
- * @param methods An object mapping method names to
- * method attributes
- * @param serviceName The fully qualified name of the service
- * @param classOptions An options object.
- * @return New client constructor, which is a subclass of
- * {@link grpc.Client}, and has the same arguments as that constructor.
- */
-export declare function makeClientConstructor(methods: ServiceDefinition, serviceName: string, classOptions?: {}): ServiceClientConstructor;
-export interface GrpcObject {
- [index: string]: GrpcObject | ServiceClientConstructor | ProtobufTypeDefinition;
-}
-/**
- * Load a gRPC package definition as a gRPC object hierarchy.
- * @param packageDef The package definition object.
- * @return The resulting gRPC object.
- */
-export declare function loadPackageDefinition(packageDef: PackageDefinition): GrpcObject;
diff --git a/node_modules/@grpc/grpc-js/build/src/make-client.js b/node_modules/@grpc/grpc-js/build/src/make-client.js
deleted file mode 100644
index c7d9958..0000000
--- a/node_modules/@grpc/grpc-js/build/src/make-client.js
+++ /dev/null
@@ -1,143 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.makeClientConstructor = makeClientConstructor;
-exports.loadPackageDefinition = loadPackageDefinition;
-const client_1 = require("./client");
-/**
- * Map with short names for each of the requester maker functions. Used in
- * makeClientConstructor
- * @private
- */
-const requesterFuncs = {
- unary: client_1.Client.prototype.makeUnaryRequest,
- server_stream: client_1.Client.prototype.makeServerStreamRequest,
- client_stream: client_1.Client.prototype.makeClientStreamRequest,
- bidi: client_1.Client.prototype.makeBidiStreamRequest,
-};
-/**
- * Returns true, if given key is included in the blacklisted
- * keys.
- * @param key key for check, string.
- */
-function isPrototypePolluted(key) {
- return ['__proto__', 'prototype', 'constructor'].includes(key);
-}
-/**
- * Creates a constructor for a client with the given methods, as specified in
- * the methods argument. The resulting class will have an instance method for
- * each method in the service, which is a partial application of one of the
- * [Client]{@link grpc.Client} request methods, depending on `requestSerialize`
- * and `responseSerialize`, with the `method`, `serialize`, and `deserialize`
- * arguments predefined.
- * @param methods An object mapping method names to
- * method attributes
- * @param serviceName The fully qualified name of the service
- * @param classOptions An options object.
- * @return New client constructor, which is a subclass of
- * {@link grpc.Client}, and has the same arguments as that constructor.
- */
-function makeClientConstructor(methods, serviceName, classOptions) {
- if (!classOptions) {
- classOptions = {};
- }
- class ServiceClientImpl extends client_1.Client {
- }
- Object.keys(methods).forEach(name => {
- if (isPrototypePolluted(name)) {
- return;
- }
- const attrs = methods[name];
- let methodType;
- // TODO(murgatroid99): Verify that we don't need this anymore
- if (typeof name === 'string' && name.charAt(0) === '$') {
- throw new Error('Method names cannot start with $');
- }
- if (attrs.requestStream) {
- if (attrs.responseStream) {
- methodType = 'bidi';
- }
- else {
- methodType = 'client_stream';
- }
- }
- else {
- if (attrs.responseStream) {
- methodType = 'server_stream';
- }
- else {
- methodType = 'unary';
- }
- }
- const serialize = attrs.requestSerialize;
- const deserialize = attrs.responseDeserialize;
- const methodFunc = partial(requesterFuncs[methodType], attrs.path, serialize, deserialize);
- ServiceClientImpl.prototype[name] = methodFunc;
- // Associate all provided attributes with the method
- Object.assign(ServiceClientImpl.prototype[name], attrs);
- if (attrs.originalName && !isPrototypePolluted(attrs.originalName)) {
- ServiceClientImpl.prototype[attrs.originalName] =
- ServiceClientImpl.prototype[name];
- }
- });
- ServiceClientImpl.service = methods;
- ServiceClientImpl.serviceName = serviceName;
- return ServiceClientImpl;
-}
-function partial(fn, path, serialize, deserialize) {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- return function (...args) {
- return fn.call(this, path, serialize, deserialize, ...args);
- };
-}
-function isProtobufTypeDefinition(obj) {
- return 'format' in obj;
-}
-/**
- * Load a gRPC package definition as a gRPC object hierarchy.
- * @param packageDef The package definition object.
- * @return The resulting gRPC object.
- */
-function loadPackageDefinition(packageDef) {
- const result = {};
- for (const serviceFqn in packageDef) {
- if (Object.prototype.hasOwnProperty.call(packageDef, serviceFqn)) {
- const service = packageDef[serviceFqn];
- const nameComponents = serviceFqn.split('.');
- if (nameComponents.some((comp) => isPrototypePolluted(comp))) {
- continue;
- }
- const serviceName = nameComponents[nameComponents.length - 1];
- let current = result;
- for (const packageName of nameComponents.slice(0, -1)) {
- if (!current[packageName]) {
- current[packageName] = {};
- }
- current = current[packageName];
- }
- if (isProtobufTypeDefinition(service)) {
- current[serviceName] = service;
- }
- else {
- current[serviceName] = makeClientConstructor(service, serviceName, {});
- }
- }
- }
- return result;
-}
-//# sourceMappingURL=make-client.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/make-client.js.map b/node_modules/@grpc/grpc-js/build/src/make-client.js.map
deleted file mode 100644
index 6e6b476..0000000
--- a/node_modules/@grpc/grpc-js/build/src/make-client.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"make-client.js","sourceRoot":"","sources":["../../src/make-client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AAwGH,sDA2DC;AAgCD,sDA2BC;AA1ND,qCAAkC;AAmDlC;;;;GAIG;AACH,MAAM,cAAc,GAAG;IACrB,KAAK,EAAE,eAAM,CAAC,SAAS,CAAC,gBAAgB;IACxC,aAAa,EAAE,eAAM,CAAC,SAAS,CAAC,uBAAuB;IACvD,aAA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pC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,UAAU,EAAE,UAAU,CAAC,EAAE,CAAC;YACjE,MAAM,OAAO,GAAG,UAAU,CAAC,UAAU,CAAC,CAAC;YACvC,MAAM,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAC7C,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC,IAAY,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;gBACrE,SAAS;YACX,CAAC;YACD,MAAM,WAAW,GAAG,cAAc,CAAC,cAAc,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YAC9D,IAAI,OAAO,GAAG,MAAM,CAAC;YACrB,KAAK,MAAM,WAAW,IAAI,cAAc,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;gBACtD,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;oBAC1B,OAAO,CAAC,WAAW,CAAC,GAAG,EAAE,CAAC;gBAC5B,CAAC;gBACD,OAAO,GAAG,OAAO,CAAC,WAAW,CAAe,CAAC;YAC/C,CAAC;YACD,IAAI,wBAAwB,CAAC,OAAO,CAAC,EAAE,CAAC;gBACtC,OAAO,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC;YACjC,CAAC;iBAAM,CAAC;gBACN,OAAO,CAAC,WAAW,CAAC,GAAG,qBAAqB,CAAC,OAAO,EAAE,WAAW,EAAE,EAAE,CAAC,CAAC;YACzE,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/metadata.d.ts b/node_modules/@grpc/grpc-js/build/src/metadata.d.ts
deleted file mode 100644
index 7ee8191..0000000
--- a/node_modules/@grpc/grpc-js/build/src/metadata.d.ts
+++ /dev/null
@@ -1,100 +0,0 @@
-import * as http2 from 'http2';
-export type MetadataValue = string | Buffer;
-export type MetadataObject = Map;
-export interface MetadataOptions {
- idempotentRequest?: boolean;
- waitForReady?: boolean;
- cacheableRequest?: boolean;
- corked?: boolean;
-}
-/**
- * A class for storing metadata. Keys are normalized to lowercase ASCII.
- */
-export declare class Metadata {
- protected internalRepr: MetadataObject;
- private options;
- private opaqueData;
- constructor(options?: MetadataOptions);
- /**
- * Sets the given value for the given key by replacing any other values
- * associated with that key. Normalizes the key.
- * @param key The key to whose value should be set.
- * @param value The value to set. Must be a buffer if and only
- * if the normalized key ends with '-bin'.
- */
- set(key: string, value: MetadataValue): void;
- /**
- * Adds the given value for the given key by appending to a list of previous
- * values associated with that key. Normalizes the key.
- * @param key The key for which a new value should be appended.
- * @param value The value to add. Must be a buffer if and only
- * if the normalized key ends with '-bin'.
- */
- add(key: string, value: MetadataValue): void;
- /**
- * Removes the given key and any associated values. Normalizes the key.
- * @param key The key whose values should be removed.
- */
- remove(key: string): void;
- /**
- * Gets a list of all values associated with the key. Normalizes the key.
- * @param key The key whose value should be retrieved.
- * @return A list of values associated with the given key.
- */
- get(key: string): MetadataValue[];
- /**
- * Gets a plain object mapping each key to the first value associated with it.
- * This reflects the most common way that people will want to see metadata.
- * @return A key/value mapping of the metadata.
- */
- getMap(): {
- [key: string]: MetadataValue;
- };
- /**
- * Clones the metadata object.
- * @return The newly cloned object.
- */
- clone(): Metadata;
- /**
- * Merges all key-value pairs from a given Metadata object into this one.
- * If both this object and the given object have values in the same key,
- * values from the other Metadata object will be appended to this object's
- * values.
- * @param other A Metadata object.
- */
- merge(other: Metadata): void;
- setOptions(options: MetadataOptions): void;
- getOptions(): MetadataOptions;
- /**
- * Creates an OutgoingHttpHeaders object that can be used with the http2 API.
- */
- toHttp2Headers(): http2.OutgoingHttpHeaders;
- /**
- * This modifies the behavior of JSON.stringify to show an object
- * representation of the metadata map.
- */
- toJSON(): {
- [key: string]: MetadataValue[];
- };
- /**
- * Attach additional data of any type to the metadata object, which will not
- * be included when sending headers. The data can later be retrieved with
- * `getOpaque`. Keys with the prefix `grpc` are reserved for use by this
- * library.
- * @param key
- * @param value
- */
- setOpaque(key: string, value: unknown): void;
- /**
- * Retrieve data previously added with `setOpaque`.
- * @param key
- * @returns
- */
- getOpaque(key: string): unknown;
- /**
- * Returns a new Metadata object based fields in a given IncomingHttpHeaders
- * object.
- * @param headers An IncomingHttpHeaders object.
- */
- static fromHttp2Headers(headers: http2.IncomingHttpHeaders): Metadata;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/metadata.js b/node_modules/@grpc/grpc-js/build/src/metadata.js
deleted file mode 100644
index d4773d4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/metadata.js
+++ /dev/null
@@ -1,272 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Metadata = void 0;
-const logging_1 = require("./logging");
-const constants_1 = require("./constants");
-const error_1 = require("./error");
-const LEGAL_KEY_REGEX = /^[:0-9a-z_.-]+$/;
-const LEGAL_NON_BINARY_VALUE_REGEX = /^[ -~]*$/;
-function isLegalKey(key) {
- return LEGAL_KEY_REGEX.test(key);
-}
-function isLegalNonBinaryValue(value) {
- return LEGAL_NON_BINARY_VALUE_REGEX.test(value);
-}
-function isBinaryKey(key) {
- return key.endsWith('-bin');
-}
-function isCustomMetadata(key) {
- return !key.startsWith('grpc-');
-}
-function normalizeKey(key) {
- return key.toLowerCase();
-}
-function validate(key, value) {
- if (!isLegalKey(key)) {
- throw new Error('Metadata key "' + key + '" contains illegal characters');
- }
- if (value !== null && value !== undefined) {
- if (isBinaryKey(key)) {
- if (!Buffer.isBuffer(value)) {
- throw new Error("keys that end with '-bin' must have Buffer values");
- }
- }
- else {
- if (Buffer.isBuffer(value)) {
- throw new Error("keys that don't end with '-bin' must have String values");
- }
- if (!isLegalNonBinaryValue(value)) {
- throw new Error('Metadata string value "' + value + '" contains illegal characters');
- }
- }
- }
-}
-/**
- * A class for storing metadata. Keys are normalized to lowercase ASCII.
- */
-class Metadata {
- constructor(options = {}) {
- this.internalRepr = new Map();
- this.opaqueData = new Map();
- this.options = options;
- }
- /**
- * Sets the given value for the given key by replacing any other values
- * associated with that key. Normalizes the key.
- * @param key The key to whose value should be set.
- * @param value The value to set. Must be a buffer if and only
- * if the normalized key ends with '-bin'.
- */
- set(key, value) {
- key = normalizeKey(key);
- validate(key, value);
- this.internalRepr.set(key, [value]);
- }
- /**
- * Adds the given value for the given key by appending to a list of previous
- * values associated with that key. Normalizes the key.
- * @param key The key for which a new value should be appended.
- * @param value The value to add. Must be a buffer if and only
- * if the normalized key ends with '-bin'.
- */
- add(key, value) {
- key = normalizeKey(key);
- validate(key, value);
- const existingValue = this.internalRepr.get(key);
- if (existingValue === undefined) {
- this.internalRepr.set(key, [value]);
- }
- else {
- existingValue.push(value);
- }
- }
- /**
- * Removes the given key and any associated values. Normalizes the key.
- * @param key The key whose values should be removed.
- */
- remove(key) {
- key = normalizeKey(key);
- // validate(key);
- this.internalRepr.delete(key);
- }
- /**
- * Gets a list of all values associated with the key. Normalizes the key.
- * @param key The key whose value should be retrieved.
- * @return A list of values associated with the given key.
- */
- get(key) {
- key = normalizeKey(key);
- // validate(key);
- return this.internalRepr.get(key) || [];
- }
- /**
- * Gets a plain object mapping each key to the first value associated with it.
- * This reflects the most common way that people will want to see metadata.
- * @return A key/value mapping of the metadata.
- */
- getMap() {
- const result = {};
- for (const [key, values] of this.internalRepr) {
- if (values.length > 0) {
- const v = values[0];
- result[key] = Buffer.isBuffer(v) ? Buffer.from(v) : v;
- }
- }
- return result;
- }
- /**
- * Clones the metadata object.
- * @return The newly cloned object.
- */
- clone() {
- const newMetadata = new Metadata(this.options);
- const newInternalRepr = newMetadata.internalRepr;
- for (const [key, value] of this.internalRepr) {
- const clonedValue = value.map(v => {
- if (Buffer.isBuffer(v)) {
- return Buffer.from(v);
- }
- else {
- return v;
- }
- });
- newInternalRepr.set(key, clonedValue);
- }
- return newMetadata;
- }
- /**
- * Merges all key-value pairs from a given Metadata object into this one.
- * If both this object and the given object have values in the same key,
- * values from the other Metadata object will be appended to this object's
- * values.
- * @param other A Metadata object.
- */
- merge(other) {
- for (const [key, values] of other.internalRepr) {
- const mergedValue = (this.internalRepr.get(key) || []).concat(values);
- this.internalRepr.set(key, mergedValue);
- }
- }
- setOptions(options) {
- this.options = options;
- }
- getOptions() {
- return this.options;
- }
- /**
- * Creates an OutgoingHttpHeaders object that can be used with the http2 API.
- */
- toHttp2Headers() {
- // NOTE: Node <8.9 formats http2 headers incorrectly.
- const result = {};
- for (const [key, values] of this.internalRepr) {
- if (key.startsWith(':')) {
- continue;
- }
- // We assume that the user's interaction with this object is limited to
- // through its public API (i.e. keys and values are already validated).
- result[key] = values.map(bufToString);
- }
- return result;
- }
- /**
- * This modifies the behavior of JSON.stringify to show an object
- * representation of the metadata map.
- */
- toJSON() {
- const result = {};
- for (const [key, values] of this.internalRepr) {
- result[key] = values;
- }
- return result;
- }
- /**
- * Attach additional data of any type to the metadata object, which will not
- * be included when sending headers. The data can later be retrieved with
- * `getOpaque`. Keys with the prefix `grpc` are reserved for use by this
- * library.
- * @param key
- * @param value
- */
- setOpaque(key, value) {
- this.opaqueData.set(key, value);
- }
- /**
- * Retrieve data previously added with `setOpaque`.
- * @param key
- * @returns
- */
- getOpaque(key) {
- return this.opaqueData.get(key);
- }
- /**
- * Returns a new Metadata object based fields in a given IncomingHttpHeaders
- * object.
- * @param headers An IncomingHttpHeaders object.
- */
- static fromHttp2Headers(headers) {
- const result = new Metadata();
- for (const key of Object.keys(headers)) {
- // Reserved headers (beginning with `:`) are not valid keys.
- if (key.charAt(0) === ':') {
- continue;
- }
- const values = headers[key];
- try {
- if (isBinaryKey(key)) {
- if (Array.isArray(values)) {
- values.forEach(value => {
- result.add(key, Buffer.from(value, 'base64'));
- });
- }
- else if (values !== undefined) {
- if (isCustomMetadata(key)) {
- values.split(',').forEach(v => {
- result.add(key, Buffer.from(v.trim(), 'base64'));
- });
- }
- else {
- result.add(key, Buffer.from(values, 'base64'));
- }
- }
- }
- else {
- if (Array.isArray(values)) {
- values.forEach(value => {
- result.add(key, value);
- });
- }
- else if (values !== undefined) {
- result.add(key, values);
- }
- }
- }
- catch (error) {
- const message = `Failed to add metadata entry ${key}: ${values}. ${(0, error_1.getErrorMessage)(error)}. For more information see https://github.com/grpc/grpc-node/issues/1173`;
- (0, logging_1.log)(constants_1.LogVerbosity.ERROR, message);
- }
- }
- return result;
- }
-}
-exports.Metadata = Metadata;
-const bufToString = (val) => {
- return Buffer.isBuffer(val) ? val.toString('base64') : val;
-};
-//# sourceMappingURL=metadata.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/metadata.js.map b/node_modules/@grpc/grpc-js/build/src/metadata.js.map
deleted file mode 100644
index ebf0111..0000000
--- a/node_modules/@grpc/grpc-js/build/src/metadata.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/metadata.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,uCAAgC;AAChC,2CAA2C;AAC3C,mCAA0C;AAC1C,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAC1C,MAAM,4BAA4B,GAAG,UAAU,CAAC;AAKhD,SAAS,UAAU,CAAC,GAAW;IAC7B,OAAO,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AACnC,CAAC;AAED,SAAS,qBAAqB,CAAC,KAAa;IAC1C,OAAO,4BAA4B,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;A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C;oBACL,CAAC;yBAAM,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;wBAChC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;oBAC1B,CAAC;gBACH,CAAC;YACH,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,MAAM,OAAO,GAAG,gCAAgC,GAAG,KAAK,MAAM,KAAK,IAAA,uBAAe,EAChF,KAAK,CACN,0EAA0E,CAAC;gBAC5E,IAAA,aAAG,EAAC,wBAAY,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;YACnC,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAtOD,4BAsOC;AAED,MAAM,WAAW,GAAG,CAAC,GAAoB,EAAU,EAAE;IACnD,OAAO,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AAC7D,CAAC,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/object-stream.d.ts b/node_modules/@grpc/grpc-js/build/src/object-stream.d.ts
deleted file mode 100644
index 309fd03..0000000
--- a/node_modules/@grpc/grpc-js/build/src/object-stream.d.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { Readable, Writable } from 'stream';
-import { EmitterAugmentation1 } from './events';
-export type WriteCallback = (error: Error | null | undefined) => void;
-export interface IntermediateObjectReadable extends Readable {
- read(size?: number): any & T;
-}
-export type ObjectReadable = {
- read(size?: number): T;
-} & EmitterAugmentation1<'data', T> & IntermediateObjectReadable;
-export interface IntermediateObjectWritable extends Writable {
- _write(chunk: any & T, encoding: string, callback: Function): void;
- write(chunk: any & T, cb?: WriteCallback): boolean;
- write(chunk: any & T, encoding?: any, cb?: WriteCallback): boolean;
- setDefaultEncoding(encoding: string): this;
- end(): ReturnType extends Writable ? this : void;
- end(chunk: any & T, cb?: Function): ReturnType extends Writable ? this : void;
- end(chunk: any & T, encoding?: any, cb?: Function): ReturnType extends Writable ? this : void;
-}
-export interface ObjectWritable extends IntermediateObjectWritable {
- _write(chunk: T, encoding: string, callback: Function): void;
- write(chunk: T, cb?: Function): boolean;
- write(chunk: T, encoding?: any, cb?: Function): boolean;
- setDefaultEncoding(encoding: string): this;
- end(): ReturnType extends Writable ? this : void;
- end(chunk: T, cb?: Function): ReturnType extends Writable ? this : void;
- end(chunk: T, encoding?: any, cb?: Function): ReturnType extends Writable ? this : void;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/object-stream.js b/node_modules/@grpc/grpc-js/build/src/object-stream.js
deleted file mode 100644
index b947656..0000000
--- a/node_modules/@grpc/grpc-js/build/src/object-stream.js
+++ /dev/null
@@ -1,19 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-//# sourceMappingURL=object-stream.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/object-stream.js.map b/node_modules/@grpc/grpc-js/build/src/object-stream.js.map
deleted file mode 100644
index fe8b624..0000000
--- a/node_modules/@grpc/grpc-js/build/src/object-stream.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"object-stream.js","sourceRoot":"","sources":["../../src/object-stream.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/orca.d.ts b/node_modules/@grpc/grpc-js/build/src/orca.d.ts
deleted file mode 100644
index f15ea60..0000000
--- a/node_modules/@grpc/grpc-js/build/src/orca.d.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-import { OrcaLoadReport__Output } from "./generated/xds/data/orca/v3/OrcaLoadReport";
-import { OpenRcaServiceClient } from "./generated/xds/service/orca/v3/OpenRcaService";
-import { Server } from "./server";
-import { Channel } from "./channel";
-import { OnCallEnded } from "./picker";
-import { BaseSubchannelWrapper, SubchannelInterface } from "./subchannel-interface";
-/**
- * ORCA metrics recorder for a single request
- */
-export declare class PerRequestMetricRecorder {
- private message;
- /**
- * Records a request cost metric measurement for the call.
- * @param name
- * @param value
- */
- recordRequestCostMetric(name: string, value: number): void;
- /**
- * Records a request cost metric measurement for the call.
- * @param name
- * @param value
- */
- recordUtilizationMetric(name: string, value: number): void;
- /**
- * Records an opaque named metric measurement for the call.
- * @param name
- * @param value
- */
- recordNamedMetric(name: string, value: number): void;
- /**
- * Records the CPU utilization metric measurement for the call.
- * @param value
- */
- recordCPUUtilizationMetric(value: number): void;
- /**
- * Records the memory utilization metric measurement for the call.
- * @param value
- */
- recordMemoryUtilizationMetric(value: number): void;
- /**
- * Records the memory utilization metric measurement for the call.
- * @param value
- */
- recordApplicationUtilizationMetric(value: number): void;
- /**
- * Records the queries per second measurement.
- * @param value
- */
- recordQpsMetric(value: number): void;
- /**
- * Records the errors per second measurement.
- * @param value
- */
- recordEpsMetric(value: number): void;
- serialize(): Buffer;
-}
-export declare class ServerMetricRecorder {
- private message;
- private serviceImplementation;
- putUtilizationMetric(name: string, value: number): void;
- setAllUtilizationMetrics(metrics: {
- [name: string]: number;
- }): void;
- deleteUtilizationMetric(name: string): void;
- setCpuUtilizationMetric(value: number): void;
- deleteCpuUtilizationMetric(): void;
- setApplicationUtilizationMetric(value: number): void;
- deleteApplicationUtilizationMetric(): void;
- setQpsMetric(value: number): void;
- deleteQpsMetric(): void;
- setEpsMetric(value: number): void;
- deleteEpsMetric(): void;
- addToServer(server: Server): void;
-}
-export declare function createOrcaClient(channel: Channel): OpenRcaServiceClient;
-export type MetricsListener = (loadReport: OrcaLoadReport__Output) => void;
-export declare const GRPC_METRICS_HEADER = "endpoint-load-metrics-bin";
-/**
- * Create an onCallEnded callback for use in a picker.
- * @param listener The listener to handle metrics, whenever they are provided.
- * @param previousOnCallEnded The previous onCallEnded callback to propagate
- * to, if applicable.
- * @returns
- */
-export declare function createMetricsReader(listener: MetricsListener, previousOnCallEnded: OnCallEnded | null): OnCallEnded;
-export declare class OrcaOobMetricsSubchannelWrapper extends BaseSubchannelWrapper {
- constructor(child: SubchannelInterface, metricsListener: MetricsListener, intervalMs: number);
- getWrappedSubchannel(): SubchannelInterface;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/orca.js b/node_modules/@grpc/grpc-js/build/src/orca.js
deleted file mode 100644
index 5bcd57e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/orca.js
+++ /dev/null
@@ -1,323 +0,0 @@
-"use strict";
-/*
- * Copyright 2025 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.OrcaOobMetricsSubchannelWrapper = exports.GRPC_METRICS_HEADER = exports.ServerMetricRecorder = exports.PerRequestMetricRecorder = void 0;
-exports.createOrcaClient = createOrcaClient;
-exports.createMetricsReader = createMetricsReader;
-const make_client_1 = require("./make-client");
-const duration_1 = require("./duration");
-const channel_credentials_1 = require("./channel-credentials");
-const subchannel_interface_1 = require("./subchannel-interface");
-const constants_1 = require("./constants");
-const backoff_timeout_1 = require("./backoff-timeout");
-const connectivity_state_1 = require("./connectivity-state");
-const loadedOrcaProto = null;
-function loadOrcaProto() {
- if (loadedOrcaProto) {
- return loadedOrcaProto;
- }
- /* The purpose of this complexity is to avoid loading @grpc/proto-loader at
- * runtime for users who will not use/enable ORCA. */
- const loaderLoadSync = require('@grpc/proto-loader')
- .loadSync;
- const loadedProto = loaderLoadSync('xds/service/orca/v3/orca.proto', {
- keepCase: true,
- longs: String,
- enums: String,
- defaults: true,
- oneofs: true,
- includeDirs: [
- `${__dirname}/../../proto/xds`,
- `${__dirname}/../../proto/protoc-gen-validate`
- ],
- });
- return (0, make_client_1.loadPackageDefinition)(loadedProto);
-}
-/**
- * ORCA metrics recorder for a single request
- */
-class PerRequestMetricRecorder {
- constructor() {
- this.message = {};
- }
- /**
- * Records a request cost metric measurement for the call.
- * @param name
- * @param value
- */
- recordRequestCostMetric(name, value) {
- if (!this.message.request_cost) {
- this.message.request_cost = {};
- }
- this.message.request_cost[name] = value;
- }
- /**
- * Records a request cost metric measurement for the call.
- * @param name
- * @param value
- */
- recordUtilizationMetric(name, value) {
- if (!this.message.utilization) {
- this.message.utilization = {};
- }
- this.message.utilization[name] = value;
- }
- /**
- * Records an opaque named metric measurement for the call.
- * @param name
- * @param value
- */
- recordNamedMetric(name, value) {
- if (!this.message.named_metrics) {
- this.message.named_metrics = {};
- }
- this.message.named_metrics[name] = value;
- }
- /**
- * Records the CPU utilization metric measurement for the call.
- * @param value
- */
- recordCPUUtilizationMetric(value) {
- this.message.cpu_utilization = value;
- }
- /**
- * Records the memory utilization metric measurement for the call.
- * @param value
- */
- recordMemoryUtilizationMetric(value) {
- this.message.mem_utilization = value;
- }
- /**
- * Records the memory utilization metric measurement for the call.
- * @param value
- */
- recordApplicationUtilizationMetric(value) {
- this.message.application_utilization = value;
- }
- /**
- * Records the queries per second measurement.
- * @param value
- */
- recordQpsMetric(value) {
- this.message.rps_fractional = value;
- }
- /**
- * Records the errors per second measurement.
- * @param value
- */
- recordEpsMetric(value) {
- this.message.eps = value;
- }
- serialize() {
- const orcaProto = loadOrcaProto();
- return orcaProto.xds.data.orca.v3.OrcaLoadReport.serialize(this.message);
- }
-}
-exports.PerRequestMetricRecorder = PerRequestMetricRecorder;
-const DEFAULT_REPORT_INTERVAL_MS = 30000;
-class ServerMetricRecorder {
- constructor() {
- this.message = {};
- this.serviceImplementation = {
- StreamCoreMetrics: call => {
- const reportInterval = call.request.report_interval ?
- (0, duration_1.durationToMs)((0, duration_1.durationMessageToDuration)(call.request.report_interval)) :
- DEFAULT_REPORT_INTERVAL_MS;
- const reportTimer = setInterval(() => {
- call.write(this.message);
- }, reportInterval);
- call.on('cancelled', () => {
- clearInterval(reportTimer);
- });
- }
- };
- }
- putUtilizationMetric(name, value) {
- if (!this.message.utilization) {
- this.message.utilization = {};
- }
- this.message.utilization[name] = value;
- }
- setAllUtilizationMetrics(metrics) {
- this.message.utilization = Object.assign({}, metrics);
- }
- deleteUtilizationMetric(name) {
- var _a;
- (_a = this.message.utilization) === null || _a === void 0 ? true : delete _a[name];
- }
- setCpuUtilizationMetric(value) {
- this.message.cpu_utilization = value;
- }
- deleteCpuUtilizationMetric() {
- delete this.message.cpu_utilization;
- }
- setApplicationUtilizationMetric(value) {
- this.message.application_utilization = value;
- }
- deleteApplicationUtilizationMetric() {
- delete this.message.application_utilization;
- }
- setQpsMetric(value) {
- this.message.rps_fractional = value;
- }
- deleteQpsMetric() {
- delete this.message.rps_fractional;
- }
- setEpsMetric(value) {
- this.message.eps = value;
- }
- deleteEpsMetric() {
- delete this.message.eps;
- }
- addToServer(server) {
- const serviceDefinition = loadOrcaProto().xds.service.orca.v3.OpenRcaService.service;
- server.addService(serviceDefinition, this.serviceImplementation);
- }
-}
-exports.ServerMetricRecorder = ServerMetricRecorder;
-function createOrcaClient(channel) {
- const ClientClass = loadOrcaProto().xds.service.orca.v3.OpenRcaService;
- return new ClientClass('unused', channel_credentials_1.ChannelCredentials.createInsecure(), { channelOverride: channel });
-}
-exports.GRPC_METRICS_HEADER = 'endpoint-load-metrics-bin';
-const PARSED_LOAD_REPORT_KEY = 'grpc_orca_load_report';
-/**
- * Create an onCallEnded callback for use in a picker.
- * @param listener The listener to handle metrics, whenever they are provided.
- * @param previousOnCallEnded The previous onCallEnded callback to propagate
- * to, if applicable.
- * @returns
- */
-function createMetricsReader(listener, previousOnCallEnded) {
- return (code, details, metadata) => {
- let parsedLoadReport = metadata.getOpaque(PARSED_LOAD_REPORT_KEY);
- if (parsedLoadReport) {
- listener(parsedLoadReport);
- }
- else {
- const serializedLoadReport = metadata.get(exports.GRPC_METRICS_HEADER);
- if (serializedLoadReport.length > 0) {
- const orcaProto = loadOrcaProto();
- parsedLoadReport = orcaProto.xds.data.orca.v3.OrcaLoadReport.deserialize(serializedLoadReport[0]);
- listener(parsedLoadReport);
- metadata.setOpaque(PARSED_LOAD_REPORT_KEY, parsedLoadReport);
- }
- }
- if (previousOnCallEnded) {
- previousOnCallEnded(code, details, metadata);
- }
- };
-}
-const DATA_PRODUCER_KEY = 'orca_oob_metrics';
-class OobMetricsDataWatcher {
- constructor(metricsListener, intervalMs) {
- this.metricsListener = metricsListener;
- this.intervalMs = intervalMs;
- this.dataProducer = null;
- }
- setSubchannel(subchannel) {
- const producer = subchannel.getOrCreateDataProducer(DATA_PRODUCER_KEY, createOobMetricsDataProducer);
- this.dataProducer = producer;
- producer.addDataWatcher(this);
- }
- destroy() {
- var _a;
- (_a = this.dataProducer) === null || _a === void 0 ? void 0 : _a.removeDataWatcher(this);
- }
- getInterval() {
- return this.intervalMs;
- }
- onMetricsUpdate(metrics) {
- this.metricsListener(metrics);
- }
-}
-class OobMetricsDataProducer {
- constructor(subchannel) {
- this.subchannel = subchannel;
- this.dataWatchers = new Set();
- this.orcaSupported = true;
- this.metricsCall = null;
- this.currentInterval = Infinity;
- this.backoffTimer = new backoff_timeout_1.BackoffTimeout(() => this.updateMetricsSubscription());
- this.subchannelStateListener = () => this.updateMetricsSubscription();
- const channel = subchannel.getChannel();
- this.client = createOrcaClient(channel);
- subchannel.addConnectivityStateListener(this.subchannelStateListener);
- }
- addDataWatcher(dataWatcher) {
- this.dataWatchers.add(dataWatcher);
- this.updateMetricsSubscription();
- }
- removeDataWatcher(dataWatcher) {
- var _a;
- this.dataWatchers.delete(dataWatcher);
- if (this.dataWatchers.size === 0) {
- this.subchannel.removeDataProducer(DATA_PRODUCER_KEY);
- (_a = this.metricsCall) === null || _a === void 0 ? void 0 : _a.cancel();
- this.metricsCall = null;
- this.client.close();
- this.subchannel.removeConnectivityStateListener(this.subchannelStateListener);
- }
- else {
- this.updateMetricsSubscription();
- }
- }
- updateMetricsSubscription() {
- var _a;
- if (this.dataWatchers.size === 0 || !this.orcaSupported || this.subchannel.getConnectivityState() !== connectivity_state_1.ConnectivityState.READY) {
- return;
- }
- const newInterval = Math.min(...Array.from(this.dataWatchers).map(watcher => watcher.getInterval()));
- if (!this.metricsCall || newInterval !== this.currentInterval) {
- (_a = this.metricsCall) === null || _a === void 0 ? void 0 : _a.cancel();
- this.currentInterval = newInterval;
- const metricsCall = this.client.streamCoreMetrics({ report_interval: (0, duration_1.msToDuration)(newInterval) });
- this.metricsCall = metricsCall;
- metricsCall.on('data', (report) => {
- this.dataWatchers.forEach(watcher => {
- watcher.onMetricsUpdate(report);
- });
- });
- metricsCall.on('error', (error) => {
- this.metricsCall = null;
- if (error.code === constants_1.Status.UNIMPLEMENTED) {
- this.orcaSupported = false;
- return;
- }
- if (error.code === constants_1.Status.CANCELLED) {
- return;
- }
- this.backoffTimer.runOnce();
- });
- }
- }
-}
-class OrcaOobMetricsSubchannelWrapper extends subchannel_interface_1.BaseSubchannelWrapper {
- constructor(child, metricsListener, intervalMs) {
- super(child);
- this.addDataWatcher(new OobMetricsDataWatcher(metricsListener, intervalMs));
- }
- getWrappedSubchannel() {
- return this.child;
- }
-}
-exports.OrcaOobMetricsSubchannelWrapper = OrcaOobMetricsSubchannelWrapper;
-function createOobMetricsDataProducer(subchannel) {
- return new OobMetricsDataProducer(subchannel);
-}
-//# sourceMappingURL=orca.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/orca.js.map b/node_modules/@grpc/grpc-js/build/src/orca.js.map
deleted file mode 100644
index 5c6736f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/orca.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"orca.js","sourceRoot":"","sources":["../../src/orca.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA2MH,4CAGC;AAcD,kDAkBC;AAxOD,+CAAsD;AAEtD,yCAAmF;AAEnF,+DAA2D;AAI3D,iEAAiG;AAEjG,2CAAqC;AACrC,uDAAmD;AACnD,6DAAyD;AAEzD,MAAM,eAAe,GAA6B,IAAI,CAAC;AACvD,SAAS,aAAa;IACpB,IAAI,eAAe,EAAE,CAAC;QACpB,OAAO,eAAe,CAAC;IACzB,CAAC;IACD;yDACqD;IACrD,MAAM,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC;SACjD,QAA2B,CAAC;IAC/B,MAAM,WAAW,GAAG,cAAc,CAAC,gCAAgC,EAAE;QACnE,QAAQ,EAAE,IAAI;QACd,KAAK,EAAE,MAAM;QACb,KAAK,EAAE,MAAM;QACb,QAAQ,EAAE,IAAI;QACd,MAAM,EAAE,IAAI;QACZ,WAAW,EAAE;YACX,GAAG,SAAS,kBAAkB;YAC9B,GAAG,SAAS,kCAAkC;SAC/C;KACF,CAAC,CAAC;IACH,OAAO,IAAA,mCAAqB,EAAC,WAAW,CAAiC,CAAC;AAC5E,CAAC;AAED;;GAEG;AACH,MAAa,wBAAwB;IAArC;QACU,YAAO,GAAmB,EAAE,CAAC;IAkFvC,CAAC;IAhFC;;;;OAIG;IACH,uBAAuB,CAAC,IAAY,EAAE,KAAa;QACjD,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,CAAC;YAC/B,IAAI,CAAC,OAAO,CAAC,YAAY,GAAG,EAAE,CAAC;QACjC,CAAC;QACD,IAAI,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;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C;YACL,CAAC,CAAC,CAAC;YACH,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,KAAmB,EAAE,EAAE;gBAC9C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;gBACxB,IAAI,KAAK,CAAC,IAAI,KAAK,kBAAM,CAAC,aAAa,EAAE,CAAC;oBACxC,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;oBAC3B,OAAO;gBACT,CAAC;gBACD,IAAI,KAAK,CAAC,IAAI,KAAK,kBAAM,CAAC,SAAS,EAAE,CAAC;oBACpC,OAAO;gBACT,CAAC;gBACD,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,CAAC;YAC9B,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;CACF;AAED,MAAa,+BAAgC,SAAQ,4CAAqB;IACxE,YAAY,KAA0B,EAAE,eAAgC,EAAE,UAAkB;QAC1F,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,cAAc,CAAC,IAAI,qBAAqB,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,CAAC;IAC9E,CAAC;IAED,oBAAoB;QAClB,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AATD,0EASC;AAED,SAAS,4BAA4B,CAAC,UAAsB;IAC1D,OAAO,IAAI,sBAAsB,CAAC,UAAU,CAAC,CAAC;AAChD,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/picker.d.ts b/node_modules/@grpc/grpc-js/build/src/picker.d.ts
deleted file mode 100644
index 8a9a915..0000000
--- a/node_modules/@grpc/grpc-js/build/src/picker.d.ts
+++ /dev/null
@@ -1,95 +0,0 @@
-import { StatusObject } from './call-interface';
-import { Metadata } from './metadata';
-import { Status } from './constants';
-import { LoadBalancer } from './load-balancer';
-import { SubchannelInterface } from './subchannel-interface';
-export declare enum PickResultType {
- COMPLETE = 0,
- QUEUE = 1,
- TRANSIENT_FAILURE = 2,
- DROP = 3
-}
-export type OnCallEnded = (statusCode: Status, details: string, metadata: Metadata) => void;
-export interface PickResult {
- pickResultType: PickResultType;
- /**
- * The subchannel to use as the transport for the call. Only meaningful if
- * `pickResultType` is COMPLETE. If null, indicates that the call should be
- * dropped.
- */
- subchannel: SubchannelInterface | null;
- /**
- * The status object to end the call with. Populated if and only if
- * `pickResultType` is TRANSIENT_FAILURE.
- */
- status: StatusObject | null;
- onCallStarted: (() => void) | null;
- onCallEnded: OnCallEnded | null;
-}
-export interface CompletePickResult extends PickResult {
- pickResultType: PickResultType.COMPLETE;
- subchannel: SubchannelInterface | null;
- status: null;
- onCallStarted: (() => void) | null;
- onCallEnded: OnCallEnded | null;
-}
-export interface QueuePickResult extends PickResult {
- pickResultType: PickResultType.QUEUE;
- subchannel: null;
- status: null;
- onCallStarted: null;
- onCallEnded: null;
-}
-export interface TransientFailurePickResult extends PickResult {
- pickResultType: PickResultType.TRANSIENT_FAILURE;
- subchannel: null;
- status: StatusObject;
- onCallStarted: null;
- onCallEnded: null;
-}
-export interface DropCallPickResult extends PickResult {
- pickResultType: PickResultType.DROP;
- subchannel: null;
- status: StatusObject;
- onCallStarted: null;
- onCallEnded: null;
-}
-export interface PickArgs {
- metadata: Metadata;
- extraPickInfo: {
- [key: string]: string;
- };
-}
-/**
- * A proxy object representing the momentary state of a load balancer. Picks
- * subchannels or returns other information based on that state. Should be
- * replaced every time the load balancer changes state.
- */
-export interface Picker {
- pick(pickArgs: PickArgs): PickResult;
-}
-/**
- * A standard picker representing a load balancer in the TRANSIENT_FAILURE
- * state. Always responds to every pick request with an UNAVAILABLE status.
- */
-export declare class UnavailablePicker implements Picker {
- private status;
- constructor(status?: Partial);
- pick(pickArgs: PickArgs): TransientFailurePickResult;
-}
-/**
- * A standard picker representing a load balancer in the IDLE or CONNECTING
- * state. Always responds to every pick request with a QUEUE pick result
- * indicating that the pick should be tried again with the next `Picker`. Also
- * reports back to the load balancer that a connection should be established
- * once any pick is attempted.
- * If the childPicker is provided, delegate to it instead of returning the
- * hardcoded QUEUE pick result, but still calls exitIdle.
- */
-export declare class QueuePicker {
- private loadBalancer;
- private childPicker?;
- private calledExitIdle;
- constructor(loadBalancer: LoadBalancer, childPicker?: Picker | undefined);
- pick(pickArgs: PickArgs): PickResult;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/picker.js b/node_modules/@grpc/grpc-js/build/src/picker.js
deleted file mode 100644
index e796f09..0000000
--- a/node_modules/@grpc/grpc-js/build/src/picker.js
+++ /dev/null
@@ -1,86 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.QueuePicker = exports.UnavailablePicker = exports.PickResultType = void 0;
-const metadata_1 = require("./metadata");
-const constants_1 = require("./constants");
-var PickResultType;
-(function (PickResultType) {
- PickResultType[PickResultType["COMPLETE"] = 0] = "COMPLETE";
- PickResultType[PickResultType["QUEUE"] = 1] = "QUEUE";
- PickResultType[PickResultType["TRANSIENT_FAILURE"] = 2] = "TRANSIENT_FAILURE";
- PickResultType[PickResultType["DROP"] = 3] = "DROP";
-})(PickResultType || (exports.PickResultType = PickResultType = {}));
-/**
- * A standard picker representing a load balancer in the TRANSIENT_FAILURE
- * state. Always responds to every pick request with an UNAVAILABLE status.
- */
-class UnavailablePicker {
- constructor(status) {
- this.status = Object.assign({ code: constants_1.Status.UNAVAILABLE, details: 'No connection established', metadata: new metadata_1.Metadata() }, status);
- }
- pick(pickArgs) {
- return {
- pickResultType: PickResultType.TRANSIENT_FAILURE,
- subchannel: null,
- status: this.status,
- onCallStarted: null,
- onCallEnded: null,
- };
- }
-}
-exports.UnavailablePicker = UnavailablePicker;
-/**
- * A standard picker representing a load balancer in the IDLE or CONNECTING
- * state. Always responds to every pick request with a QUEUE pick result
- * indicating that the pick should be tried again with the next `Picker`. Also
- * reports back to the load balancer that a connection should be established
- * once any pick is attempted.
- * If the childPicker is provided, delegate to it instead of returning the
- * hardcoded QUEUE pick result, but still calls exitIdle.
- */
-class QueuePicker {
- // Constructed with a load balancer. Calls exitIdle on it the first time pick is called
- constructor(loadBalancer, childPicker) {
- this.loadBalancer = loadBalancer;
- this.childPicker = childPicker;
- this.calledExitIdle = false;
- }
- pick(pickArgs) {
- if (!this.calledExitIdle) {
- process.nextTick(() => {
- this.loadBalancer.exitIdle();
- });
- this.calledExitIdle = true;
- }
- if (this.childPicker) {
- return this.childPicker.pick(pickArgs);
- }
- else {
- return {
- pickResultType: PickResultType.QUEUE,
- subchannel: null,
- status: null,
- onCallStarted: null,
- onCallEnded: null,
- };
- }
- }
-}
-exports.QueuePicker = QueuePicker;
-//# sourceMappingURL=picker.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/picker.js.map b/node_modules/@grpc/grpc-js/build/src/picker.js.map
deleted file mode 100644
index 5853180..0000000
--- a/node_modules/@grpc/grpc-js/build/src/picker.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"picker.js","sourceRoot":"","sources":["../../src/picker.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,yCAAsC;AACtC,2CAAqC;AAIrC,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,2DAAQ,CAAA;IACR,qDAAK,CAAA;IACL,6EAAiB,CAAA;IACjB,mDAAI,CAAA;AACN,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAmED;;;GAGG;AACH,MAAa,iBAAiB;IAE5B,YAAY,MAA8B;QACxC,IAAI,CAAC,MAAM,mBACT,IAAI,EAAE,kBAAM,CAAC,WAAW,EACxB,OAAO,EAAE,2BAA2B,EACpC,QAAQ,EAAE,IAAI,mBAAQ,EAAE,IACrB,MAAM,CACV,CAAC;IACJ,CAAC;IACD,IAAI,CAAC,QAAkB;QACrB,OAAO;YACL,cAAc,EAAE,cAAc,CAAC,iBAAiB;YAChD,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE,IAAI,CAAC,MAAM;YACnB,aAAa,EAAE,IAAI;YACnB,WAAW,EAAE,IAAI;SAClB,CAAC;IACJ,CAAC;CACF;AAnBD,8CAmBC;AAED;;;;;;;;GAQG;AACH,MAAa,WAAW;IAEtB,uFAAuF;IACvF,YACU,YAA0B,EAC1B,WAAoB;QADpB,iBAAY,GAAZ,YAAY,CAAc;QAC1B,gBAAW,GAAX,WAAW,CAAS;QAJtB,mBAAc,GAAG,KAAK,CAAC;IAK5B,CAAC;IAEJ,IAAI,CAAC,QAAkB;QACrB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;YACzB,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE;gBACpB,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;YAC/B,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;QAC7B,CAAC;QACD,IAAI,IAAI,CAAC,WAAW,EAAE,CAAC;YACrB,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACzC,CAAC;aAAM,CAAC;YACN,OAAO;gBACL,cAAc,EAAE,cAAc,CAAC,KAAK;gBACpC,UAAU,EAAE,IAAI;gBAChB,MAAM,EAAE,IAAI;gBACZ,aAAa,EAAE,IAAI;gBACnB,WAAW,EAAE,IAAI;aAClB,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AA3BD,kCA2BC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/priority-queue.d.ts b/node_modules/@grpc/grpc-js/build/src/priority-queue.d.ts
deleted file mode 100644
index 6ce3c7a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/priority-queue.d.ts
+++ /dev/null
@@ -1,50 +0,0 @@
-/**
- * A generic priority queue implemented as an array-based binary heap.
- * Adapted from https://stackoverflow.com/a/42919752/159388
- */
-export declare class PriorityQueue {
- private readonly comparator;
- private readonly heap;
- /**
- *
- * @param comparator Returns true if the first argument should precede the
- * second in the queue. Defaults to `(a, b) => a > b`
- */
- constructor(comparator?: (a: T, b: T) => boolean);
- /**
- * @returns The number of items currently in the queue
- */
- size(): number;
- /**
- * @returns True if there are no items in the queue, false otherwise
- */
- isEmpty(): boolean;
- /**
- * Look at the front item that would be popped, without modifying the contents
- * of the queue
- * @returns The front item in the queue, or undefined if the queue is empty
- */
- peek(): T | undefined;
- /**
- * Add the items to the queue
- * @param values The items to add
- * @returns The new size of the queue after adding the items
- */
- push(...values: T[]): number;
- /**
- * Remove the front item in the queue and return it
- * @returns The front item in the queue, or undefined if the queue is empty
- */
- pop(): T | undefined;
- /**
- * Simultaneously remove the front item in the queue and add the provided
- * item.
- * @param value The item to add
- * @returns The front item in the queue, or undefined if the queue is empty
- */
- replace(value: T): T | undefined;
- private greater;
- private swap;
- private siftUp;
- private siftDown;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/priority-queue.js b/node_modules/@grpc/grpc-js/build/src/priority-queue.js
deleted file mode 100644
index 8628b56..0000000
--- a/node_modules/@grpc/grpc-js/build/src/priority-queue.js
+++ /dev/null
@@ -1,120 +0,0 @@
-"use strict";
-/*
- * Copyright 2025 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.PriorityQueue = void 0;
-const top = 0;
-const parent = (i) => Math.floor(i / 2);
-const left = (i) => i * 2 + 1;
-const right = (i) => i * 2 + 2;
-/**
- * A generic priority queue implemented as an array-based binary heap.
- * Adapted from https://stackoverflow.com/a/42919752/159388
- */
-class PriorityQueue {
- /**
- *
- * @param comparator Returns true if the first argument should precede the
- * second in the queue. Defaults to `(a, b) => a > b`
- */
- constructor(comparator = (a, b) => a > b) {
- this.comparator = comparator;
- this.heap = [];
- }
- /**
- * @returns The number of items currently in the queue
- */
- size() {
- return this.heap.length;
- }
- /**
- * @returns True if there are no items in the queue, false otherwise
- */
- isEmpty() {
- return this.size() == 0;
- }
- /**
- * Look at the front item that would be popped, without modifying the contents
- * of the queue
- * @returns The front item in the queue, or undefined if the queue is empty
- */
- peek() {
- return this.heap[top];
- }
- /**
- * Add the items to the queue
- * @param values The items to add
- * @returns The new size of the queue after adding the items
- */
- push(...values) {
- values.forEach(value => {
- this.heap.push(value);
- this.siftUp();
- });
- return this.size();
- }
- /**
- * Remove the front item in the queue and return it
- * @returns The front item in the queue, or undefined if the queue is empty
- */
- pop() {
- const poppedValue = this.peek();
- const bottom = this.size() - 1;
- if (bottom > top) {
- this.swap(top, bottom);
- }
- this.heap.pop();
- this.siftDown();
- return poppedValue;
- }
- /**
- * Simultaneously remove the front item in the queue and add the provided
- * item.
- * @param value The item to add
- * @returns The front item in the queue, or undefined if the queue is empty
- */
- replace(value) {
- const replacedValue = this.peek();
- this.heap[top] = value;
- this.siftDown();
- return replacedValue;
- }
- greater(i, j) {
- return this.comparator(this.heap[i], this.heap[j]);
- }
- swap(i, j) {
- [this.heap[i], this.heap[j]] = [this.heap[j], this.heap[i]];
- }
- siftUp() {
- let node = this.size() - 1;
- while (node > top && this.greater(node, parent(node))) {
- this.swap(node, parent(node));
- node = parent(node);
- }
- }
- siftDown() {
- let node = top;
- while ((left(node) < this.size() && this.greater(left(node), node)) ||
- (right(node) < this.size() && this.greater(right(node), node))) {
- let maxChild = (right(node) < this.size() && this.greater(right(node), left(node))) ? right(node) : left(node);
- this.swap(node, maxChild);
- node = maxChild;
- }
- }
-}
-exports.PriorityQueue = PriorityQueue;
-//# sourceMappingURL=priority-queue.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/priority-queue.js.map b/node_modules/@grpc/grpc-js/build/src/priority-queue.js.map
deleted file mode 100644
index 06fd2ee..0000000
--- a/node_modules/@grpc/grpc-js/build/src/priority-queue.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"priority-queue.js","sourceRoot":"","sources":["../../src/priority-queue.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,MAAM,GAAG,GAAG,CAAC,CAAC;AACd,MAAM,MAAM,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAChD,MAAM,IAAI,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACtC,MAAM,KAAK,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEvC;;;GAGG;AACH,MAAa,aAAa;IAExB;;;;OAIG;IACH,YAA6B,aAAa,CAAC,CAAI,EAAE,CAAI,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC;QAAlC,eAAU,GAAV,UAAU,CAAwB;QAN9C,SAAI,GAAQ,EAAE,CAAC;IAMkC,CAAC;IAEnE;;OAEG;IACH,IAAI;QACF,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;IAC1B,CAAC;IACD;;OAEG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC1B,CAAC;IACD;;;;OAIG;IACH,IAAI;QACF,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACxB,CAAC;IACD;;;;OAIG;IACH,IAAI,CAAC,GAAG,M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ode 100644
index 138f7f1..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-dns.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-/**
- * The default TCP port to connect to if not explicitly specified in the target.
- */
-export declare const DEFAULT_PORT = 443;
-/**
- * Set up the DNS resolver class by registering it as the handler for the
- * "dns:" prefix and as the default resolver.
- */
-export declare function setup(): void;
-export interface DnsUrl {
- host: string;
- port?: string;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver-dns.js b/node_modules/@grpc/grpc-js/build/src/resolver-dns.js
deleted file mode 100644
index 1221464..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-dns.js
+++ /dev/null
@@ -1,363 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.DEFAULT_PORT = void 0;
-exports.setup = setup;
-const resolver_1 = require("./resolver");
-const dns_1 = require("dns");
-const service_config_1 = require("./service-config");
-const constants_1 = require("./constants");
-const call_interface_1 = require("./call-interface");
-const metadata_1 = require("./metadata");
-const logging = require("./logging");
-const constants_2 = require("./constants");
-const uri_parser_1 = require("./uri-parser");
-const net_1 = require("net");
-const backoff_timeout_1 = require("./backoff-timeout");
-const environment_1 = require("./environment");
-const TRACER_NAME = 'dns_resolver';
-function trace(text) {
- logging.trace(constants_2.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-/**
- * The default TCP port to connect to if not explicitly specified in the target.
- */
-exports.DEFAULT_PORT = 443;
-const DEFAULT_MIN_TIME_BETWEEN_RESOLUTIONS_MS = 30000;
-/**
- * Resolver implementation that handles DNS names and IP addresses.
- */
-class DnsResolver {
- constructor(target, listener, channelOptions) {
- var _a, _b, _c;
- this.target = target;
- this.listener = listener;
- this.pendingLookupPromise = null;
- this.pendingTxtPromise = null;
- this.latestLookupResult = null;
- this.latestServiceConfigResult = null;
- this.continueResolving = false;
- this.isNextResolutionTimerRunning = false;
- this.isServiceConfigEnabled = true;
- this.returnedIpResult = false;
- this.alternativeResolver = new dns_1.promises.Resolver();
- trace('Resolver constructed for target ' + (0, uri_parser_1.uriToString)(target));
- if (target.authority) {
- this.alternativeResolver.setServers([target.authority]);
- }
- const hostPort = (0, uri_parser_1.splitHostPort)(target.path);
- if (hostPort === null) {
- this.ipResult = null;
- this.dnsHostname = null;
- this.port = null;
- }
- else {
- if ((0, net_1.isIPv4)(hostPort.host) || (0, net_1.isIPv6)(hostPort.host)) {
- this.ipResult = [
- {
- addresses: [
- {
- host: hostPort.host,
- port: (_a = hostPort.port) !== null && _a !== void 0 ? _a : exports.DEFAULT_PORT,
- },
- ],
- },
- ];
- this.dnsHostname = null;
- this.port = null;
- }
- else {
- this.ipResult = null;
- this.dnsHostname = hostPort.host;
- this.port = (_b = hostPort.port) !== null && _b !== void 0 ? _b : exports.DEFAULT_PORT;
- }
- }
- this.percentage = Math.random() * 100;
- if (channelOptions['grpc.service_config_disable_resolution'] === 1) {
- this.isServiceConfigEnabled = false;
- }
- this.defaultResolutionError = {
- code: constants_1.Status.UNAVAILABLE,
- details: `Name resolution failed for target ${(0, uri_parser_1.uriToString)(this.target)}`,
- metadata: new metadata_1.Metadata(),
- };
- const backoffOptions = {
- initialDelay: channelOptions['grpc.initial_reconnect_backoff_ms'],
- maxDelay: channelOptions['grpc.max_reconnect_backoff_ms'],
- };
- this.backoff = new backoff_timeout_1.BackoffTimeout(() => {
- if (this.continueResolving) {
- this.startResolutionWithBackoff();
- }
- }, backoffOptions);
- this.backoff.unref();
- this.minTimeBetweenResolutionsMs =
- (_c = channelOptions['grpc.dns_min_time_between_resolutions_ms']) !== null && _c !== void 0 ? _c : DEFAULT_MIN_TIME_BETWEEN_RESOLUTIONS_MS;
- this.nextResolutionTimer = setTimeout(() => { }, 0);
- clearTimeout(this.nextResolutionTimer);
- }
- /**
- * If the target is an IP address, just provide that address as a result.
- * Otherwise, initiate A, AAAA, and TXT lookups
- */
- startResolution() {
- if (this.ipResult !== null) {
- if (!this.returnedIpResult) {
- trace('Returning IP address for target ' + (0, uri_parser_1.uriToString)(this.target));
- setImmediate(() => {
- this.listener((0, call_interface_1.statusOrFromValue)(this.ipResult), {}, null, '');
- });
- this.returnedIpResult = true;
- }
- this.backoff.stop();
- this.backoff.reset();
- this.stopNextResolutionTimer();
- return;
- }
- if (this.dnsHostname === null) {
- trace('Failed to parse DNS address ' + (0, uri_parser_1.uriToString)(this.target));
- setImmediate(() => {
- this.listener((0, call_interface_1.statusOrFromError)({
- code: constants_1.Status.UNAVAILABLE,
- details: `Failed to parse DNS address ${(0, uri_parser_1.uriToString)(this.target)}`
- }), {}, null, '');
- });
- this.stopNextResolutionTimer();
- }
- else {
- if (this.pendingLookupPromise !== null) {
- return;
- }
- trace('Looking up DNS hostname ' + this.dnsHostname);
- /* We clear out latestLookupResult here to ensure that it contains the
- * latest result since the last time we started resolving. That way, the
- * TXT resolution handler can use it, but only if it finishes second. We
- * don't clear out any previous service config results because it's
- * better to use a service config that's slightly out of date than to
- * revert to an effectively blank one. */
- this.latestLookupResult = null;
- const hostname = this.dnsHostname;
- this.pendingLookupPromise = this.lookup(hostname);
- this.pendingLookupPromise.then(addressList => {
- if (this.pendingLookupPromise === null) {
- return;
- }
- this.pendingLookupPromise = null;
- this.latestLookupResult = (0, call_interface_1.statusOrFromValue)(addressList.map(address => ({
- addresses: [address],
- })));
- const allAddressesString = '[' +
- addressList.map(addr => addr.host + ':' + addr.port).join(',') +
- ']';
- trace('Resolved addresses for target ' +
- (0, uri_parser_1.uriToString)(this.target) +
- ': ' +
- allAddressesString);
- /* If the TXT lookup has not yet finished, both of the last two
- * arguments will be null, which is the equivalent of getting an
- * empty TXT response. When the TXT lookup does finish, its handler
- * can update the service config by using the same address list */
- const healthStatus = this.listener(this.latestLookupResult, {}, this.latestServiceConfigResult, '');
- this.handleHealthStatus(healthStatus);
- }, err => {
- if (this.pendingLookupPromise === null) {
- return;
- }
- trace('Resolution error for target ' +
- (0, uri_parser_1.uriToString)(this.target) +
- ': ' +
- err.message);
- this.pendingLookupPromise = null;
- this.stopNextResolutionTimer();
- this.listener((0, call_interface_1.statusOrFromError)(this.defaultResolutionError), {}, this.latestServiceConfigResult, '');
- });
- /* If there already is a still-pending TXT resolution, we can just use
- * that result when it comes in */
- if (this.isServiceConfigEnabled && this.pendingTxtPromise === null) {
- /* We handle the TXT query promise differently than the others because
- * the name resolution attempt as a whole is a success even if the TXT
- * lookup fails */
- this.pendingTxtPromise = this.resolveTxt(hostname);
- this.pendingTxtPromise.then(txtRecord => {
- if (this.pendingTxtPromise === null) {
- return;
- }
- this.pendingTxtPromise = null;
- let serviceConfig;
- try {
- serviceConfig = (0, service_config_1.extractAndSelectServiceConfig)(txtRecord, this.percentage);
- if (serviceConfig) {
- this.latestServiceConfigResult = (0, call_interface_1.statusOrFromValue)(serviceConfig);
- }
- else {
- this.latestServiceConfigResult = null;
- }
- }
- catch (err) {
- this.latestServiceConfigResult = (0, call_interface_1.statusOrFromError)({
- code: constants_1.Status.UNAVAILABLE,
- details: `Parsing service config failed with error ${err.message}`
- });
- }
- if (this.latestLookupResult !== null) {
- /* We rely here on the assumption that calling this function with
- * identical parameters will be essentialy idempotent, and calling
- * it with the same address list and a different service config
- * should result in a fast and seamless switchover. */
- this.listener(this.latestLookupResult, {}, this.latestServiceConfigResult, '');
- }
- }, err => {
- /* If TXT lookup fails we should do nothing, which means that we
- * continue to use the result of the most recent successful lookup,
- * or the default null config object if there has never been a
- * successful lookup. We do not set the latestServiceConfigError
- * here because that is specifically used for response validation
- * errors. We still need to handle this error so that it does not
- * bubble up as an unhandled promise rejection. */
- });
- }
- }
- }
- /**
- * The ResolverListener returns a boolean indicating whether the LB policy
- * accepted the resolution result. A false result on an otherwise successful
- * resolution should be treated as a resolution failure.
- * @param healthStatus
- */
- handleHealthStatus(healthStatus) {
- if (healthStatus) {
- this.backoff.stop();
- this.backoff.reset();
- }
- else {
- this.continueResolving = true;
- }
- }
- async lookup(hostname) {
- if (environment_1.GRPC_NODE_USE_ALTERNATIVE_RESOLVER) {
- trace('Using alternative DNS resolver.');
- const records = await Promise.allSettled([
- this.alternativeResolver.resolve4(hostname),
- this.alternativeResolver.resolve6(hostname),
- ]);
- if (records.every(result => result.status === 'rejected')) {
- throw new Error(records[0].reason);
- }
- return records
- .reduce((acc, result) => {
- return result.status === 'fulfilled'
- ? [...acc, ...result.value]
- : acc;
- }, [])
- .map(addr => ({
- host: addr,
- port: +this.port,
- }));
- }
- /* We lookup both address families here and then split them up later
- * because when looking up a single family, dns.lookup outputs an error
- * if the name exists but there are no records for that family, and that
- * error is indistinguishable from other kinds of errors */
- const addressList = await dns_1.promises.lookup(hostname, { all: true });
- return addressList.map(addr => ({ host: addr.address, port: +this.port }));
- }
- async resolveTxt(hostname) {
- if (environment_1.GRPC_NODE_USE_ALTERNATIVE_RESOLVER) {
- trace('Using alternative DNS resolver.');
- return this.alternativeResolver.resolveTxt(hostname);
- }
- return dns_1.promises.resolveTxt(hostname);
- }
- startNextResolutionTimer() {
- var _a, _b;
- clearTimeout(this.nextResolutionTimer);
- this.nextResolutionTimer = setTimeout(() => {
- this.stopNextResolutionTimer();
- if (this.continueResolving) {
- this.startResolutionWithBackoff();
- }
- }, this.minTimeBetweenResolutionsMs);
- (_b = (_a = this.nextResolutionTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- this.isNextResolutionTimerRunning = true;
- }
- stopNextResolutionTimer() {
- clearTimeout(this.nextResolutionTimer);
- this.isNextResolutionTimerRunning = false;
- }
- startResolutionWithBackoff() {
- if (this.pendingLookupPromise === null) {
- this.continueResolving = false;
- this.backoff.runOnce();
- this.startNextResolutionTimer();
- this.startResolution();
- }
- }
- updateResolution() {
- /* If there is a pending lookup, just let it finish. Otherwise, if the
- * nextResolutionTimer or backoff timer is running, set the
- * continueResolving flag to resolve when whichever of those timers
- * fires. Otherwise, start resolving immediately. */
- if (this.pendingLookupPromise === null) {
- if (this.isNextResolutionTimerRunning || this.backoff.isRunning()) {
- if (this.isNextResolutionTimerRunning) {
- trace('resolution update delayed by "min time between resolutions" rate limit');
- }
- else {
- trace('resolution update delayed by backoff timer until ' +
- this.backoff.getEndTime().toISOString());
- }
- this.continueResolving = true;
- }
- else {
- this.startResolutionWithBackoff();
- }
- }
- }
- /**
- * Reset the resolver to the same state it had when it was created. In-flight
- * DNS requests cannot be cancelled, but they are discarded and their results
- * will be ignored.
- */
- destroy() {
- this.continueResolving = false;
- this.backoff.reset();
- this.backoff.stop();
- this.stopNextResolutionTimer();
- this.pendingLookupPromise = null;
- this.pendingTxtPromise = null;
- this.latestLookupResult = null;
- this.latestServiceConfigResult = null;
- this.returnedIpResult = false;
- }
- /**
- * Get the default authority for the given target. For IP targets, that is
- * the IP address. For DNS targets, it is the hostname.
- * @param target
- */
- static getDefaultAuthority(target) {
- return target.path;
- }
-}
-/**
- * Set up the DNS resolver class by registering it as the handler for the
- * "dns:" prefix and as the default resolver.
- */
-function setup() {
- (0, resolver_1.registerResolver)('dns', DnsResolver);
- (0, resolver_1.registerDefaultScheme)('dns');
-}
-//# sourceMappingURL=resolver-dns.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver-dns.js.map b/node_modules/@grpc/grpc-js/build/src/resolver-dns.js.map
deleted file mode 100644
index c7a950f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-dns.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"resolver-dns.js","sourceRoot":"","sources":["../../src/resolver-dns.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AA0aH,sBAGC;AA3aD,yCAKoB;AAC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K,CACH,mDAAmD;wBACjD,IAAI,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,WAAW,EAAE,CAC1C,CAAC;gBACJ,CAAC;gBACD,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;YAChC,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,0BAA0B,EAAE,CAAC;YACpC,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;;OAIG;IACH,OAAO;QACL,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QAC/B,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QACrB,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;QACpB,IAAI,CAAC,uBAAuB,EAAE,CAAC;QAC/B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;QAC9B,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAC/B,IAAI,CAAC,yBAAyB,GAAG,IAAI,CAAC;QACtC,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;IAChC,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,CAAC,MAAe;QACxC,OAAO,MAAM,CAAC,IAAI,CAAC;IACrB,CAAC;CACF;AAED;;;GAGG;AACH,SAAgB,KAAK;IACnB,IAAA,2BAAgB,EAAC,KAAK,EAAE,WAAW,CAAC,CAAC;IACrC,IAAA,gCAAqB,EAAC,KAAK,CAAC,CAAC;AAC/B,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver-ip.d.ts b/node_modules/@grpc/grpc-js/build/src/resolver-ip.d.ts
deleted file mode 100644
index 2bec678..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-ip.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare function setup(): void;
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver-ip.js b/node_modules/@grpc/grpc-js/build/src/resolver-ip.js
deleted file mode 100644
index 411d64c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-ip.js
+++ /dev/null
@@ -1,106 +0,0 @@
-"use strict";
-/*
- * Copyright 2021 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.setup = setup;
-const net_1 = require("net");
-const call_interface_1 = require("./call-interface");
-const constants_1 = require("./constants");
-const metadata_1 = require("./metadata");
-const resolver_1 = require("./resolver");
-const subchannel_address_1 = require("./subchannel-address");
-const uri_parser_1 = require("./uri-parser");
-const logging = require("./logging");
-const TRACER_NAME = 'ip_resolver';
-function trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-const IPV4_SCHEME = 'ipv4';
-const IPV6_SCHEME = 'ipv6';
-/**
- * The default TCP port to connect to if not explicitly specified in the target.
- */
-const DEFAULT_PORT = 443;
-class IpResolver {
- constructor(target, listener, channelOptions) {
- var _a;
- this.listener = listener;
- this.endpoints = [];
- this.error = null;
- this.hasReturnedResult = false;
- trace('Resolver constructed for target ' + (0, uri_parser_1.uriToString)(target));
- const addresses = [];
- if (!(target.scheme === IPV4_SCHEME || target.scheme === IPV6_SCHEME)) {
- this.error = {
- code: constants_1.Status.UNAVAILABLE,
- details: `Unrecognized scheme ${target.scheme} in IP resolver`,
- metadata: new metadata_1.Metadata(),
- };
- return;
- }
- const pathList = target.path.split(',');
- for (const path of pathList) {
- const hostPort = (0, uri_parser_1.splitHostPort)(path);
- if (hostPort === null) {
- this.error = {
- code: constants_1.Status.UNAVAILABLE,
- details: `Failed to parse ${target.scheme} address ${path}`,
- metadata: new metadata_1.Metadata(),
- };
- return;
- }
- if ((target.scheme === IPV4_SCHEME && !(0, net_1.isIPv4)(hostPort.host)) ||
- (target.scheme === IPV6_SCHEME && !(0, net_1.isIPv6)(hostPort.host))) {
- this.error = {
- code: constants_1.Status.UNAVAILABLE,
- details: `Failed to parse ${target.scheme} address ${path}`,
- metadata: new metadata_1.Metadata(),
- };
- return;
- }
- addresses.push({
- host: hostPort.host,
- port: (_a = hostPort.port) !== null && _a !== void 0 ? _a : DEFAULT_PORT,
- });
- }
- this.endpoints = addresses.map(address => ({ addresses: [address] }));
- trace('Parsed ' + target.scheme + ' address list ' + addresses.map(subchannel_address_1.subchannelAddressToString));
- }
- updateResolution() {
- if (!this.hasReturnedResult) {
- this.hasReturnedResult = true;
- process.nextTick(() => {
- if (this.error) {
- this.listener((0, call_interface_1.statusOrFromError)(this.error), {}, null, '');
- }
- else {
- this.listener((0, call_interface_1.statusOrFromValue)(this.endpoints), {}, null, '');
- }
- });
- }
- }
- destroy() {
- this.hasReturnedResult = false;
- }
- static getDefaultAuthority(target) {
- return target.path.split(',')[0];
- }
-}
-function setup() {
- (0, resolver_1.registerResolver)(IPV4_SCHEME, IpResolver);
- (0, resolver_1.registerResolver)(IPV6_SCHEME, IpResolver);
-}
-//# sourceMappingURL=resolver-ip.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver-ip.js.map b/node_modules/@grpc/grpc-js/build/src/resolver-ip.js.map
deleted file mode 100644
index 7bfdbf8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-ip.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"resolver-ip.js","sourceRoot":"","sources":["../../src/resolver-ip.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AA0GH,sBAGC;AA3GD,6BAAqC;AACrC,qDAAsF;AAEtF,2CAAmD;AACnD,yCAAsC;AACtC,yCAA0E;AAC1E,6DAA8F;AAC9F,6CAAmE;AACnE,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CAAC,KAAK,CAAC,EAC7B,EAAE,EACF,IAAI,EACJ,EAAE,CACH,CAAC;gBACJ,CAAC;qBAAM,CAAC;oBACN,IAAI,CAAC,QAAQ,CACX,IAAA,kCAAiB,EAAC,IAAI,CAAC,SAAS,CAAC,EACjC,EAAE,EACF,IAAI,EACJ,EAAE,CACH,CAAC;gBACJ,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IACD,OAAO;QACL,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;IACjC,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,MAAe;QACxC,OAAO,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IACnC,CAAC;CACF;AAED,SAAgB,KAAK;IACnB,IAAA,2BAAgB,EAAC,WAAW,EAAE,UAAU,CAAC,CAAC;IAC1C,IAAA,2BAAgB,EAAC,WAAW,EAAE,UAAU,CAAC,CAAC;AAC5C,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver-uds.d.ts b/node_modules/@grpc/grpc-js/build/src/resolver-uds.d.ts
deleted file mode 100644
index 2bec678..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-uds.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-export declare function setup(): void;
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver-uds.js b/node_modules/@grpc/grpc-js/build/src/resolver-uds.js
deleted file mode 100644
index 79290d4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-uds.js
+++ /dev/null
@@ -1,51 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.setup = setup;
-const resolver_1 = require("./resolver");
-const call_interface_1 = require("./call-interface");
-class UdsResolver {
- constructor(target, listener, channelOptions) {
- this.listener = listener;
- this.hasReturnedResult = false;
- this.endpoints = [];
- let path;
- if (target.authority === '') {
- path = '/' + target.path;
- }
- else {
- path = target.path;
- }
- this.endpoints = [{ addresses: [{ path }] }];
- }
- updateResolution() {
- if (!this.hasReturnedResult) {
- this.hasReturnedResult = true;
- process.nextTick(this.listener, (0, call_interface_1.statusOrFromValue)(this.endpoints), {}, null, '');
- }
- }
- destroy() {
- this.hasReturnedResult = false;
- }
- static getDefaultAuthority(target) {
- return 'localhost';
- }
-}
-function setup() {
- (0, resolver_1.registerResolver)('unix', UdsResolver);
-}
-//# sourceMappingURL=resolver-uds.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver-uds.js.map b/node_modules/@grpc/grpc-js/build/src/resolver-uds.js.map
deleted file mode 100644
index fdecd59..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver-uds.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"resolver-uds.js","sourceRoot":"","sources":["../../src/resolver-uds.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AA8CH,sBAEC;AA9CD,yCAA0E;AAI1E,qDAAqD;AAErD,MAAM,WAAW;IAGf,YACE,MAAe,EACP,QAA0B,EAClC,cAA8B;QADtB,aAAQ,GAAR,QAAQ,CAAkB;QAJ5B,sBAAiB,GAAG,KAAK,CAAC;QAC1B,cAAS,GAAe,EAAE,CAAC;QAMjC,IAAI,IAAY,CAAC;QACjB,IAAI,MAAM,CAAC,SAAS,KAAK,EAAE,EAAE,CAAC;YAC5B,IAAI,GAAG,GAAG,GAAG,MAAM,CAAC,IAAI,CAAC;QAC3B,CAAC;aAAM,CAAC;YACN,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACrB,CAAC;QACD,IAAI,CAAC,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;IAC/C,CAAC;IACD,gBAAgB;QACd,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC5B,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC;YAC9B,OAAO,CAAC,QAAQ,CACd,IAAI,CAAC,QAAQ,EACb,IAAA,kCAAiB,EAAC,IAAI,CAAC,SAAS,CAAC,EACjC,EAAE,EACF,IAAI,EACJ,EAAE,CACH,CAAC;QACJ,CAAC;IACH,CAAC;IAED,OAAO;QACL,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;IACjC,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,MAAe;QACxC,OAAO,WAAW,CAAC;IACrB,CAAC;CACF;AAED,SAAgB,KAAK;IACnB,IAAA,2BAAgB,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC;AACxC,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver.d.ts b/node_modules/@grpc/grpc-js/build/src/resolver.d.ts
deleted file mode 100644
index a3610a9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver.d.ts
+++ /dev/null
@@ -1,102 +0,0 @@
-import { MethodConfig, ServiceConfig } from './service-config';
-import { StatusOr } from './call-interface';
-import { Endpoint } from './subchannel-address';
-import { GrpcUri } from './uri-parser';
-import { ChannelOptions } from './channel-options';
-import { Metadata } from './metadata';
-import { Status } from './constants';
-import { Filter, FilterFactory } from './filter';
-export declare const CHANNEL_ARGS_CONFIG_SELECTOR_KEY = "grpc.internal.config_selector";
-export interface CallConfig {
- methodConfig: MethodConfig;
- onCommitted?: () => void;
- pickInformation: {
- [key: string]: string;
- };
- status: Status;
- dynamicFilterFactories: FilterFactory[];
-}
-/**
- * Selects a configuration for a method given the name and metadata. Defined in
- * https://github.com/grpc/proposal/blob/master/A31-xds-timeout-support-and-config-selector.md#new-functionality-in-grpc
- */
-export interface ConfigSelector {
- invoke(methodName: string, metadata: Metadata, channelId: number): CallConfig;
- unref(): void;
-}
-export interface ResolverListener {
- /**
- * Called whenever the resolver has new name resolution results or an error to
- * report.
- * @param endpointList The list of endpoints, or an error if resolution failed
- * @param attributes Arbitrary key/value pairs to pass along to load balancing
- * policies
- * @param serviceConfig The service service config for the endpoint list, or an
- * error if the retrieved service config is invalid, or null if there is no
- * service config
- * @param resolutionNote Provides additional context to RPC failure status
- * messages generated by the load balancing policy.
- * @returns Whether or not the load balancing policy accepted the result.
- */
- (endpointList: StatusOr, attributes: {
- [key: string]: unknown;
- }, serviceConfig: StatusOr | null, resolutionNote: string): boolean;
-}
-/**
- * A resolver class that handles one or more of the name syntax schemes defined
- * in the [gRPC Name Resolution document](https://github.com/grpc/grpc/blob/master/doc/naming.md)
- */
-export interface Resolver {
- /**
- * Indicates that the caller wants new name resolution data. Calling this
- * function may eventually result in calling one of the `ResolverListener`
- * functions, but that is not guaranteed. Those functions will never be
- * called synchronously with the constructor or updateResolution.
- */
- updateResolution(): void;
- /**
- * Discard all resources owned by the resolver. A later call to
- * `updateResolution` should reinitialize those resources. No
- * `ResolverListener` callbacks should be called after `destroy` is called
- * until `updateResolution` is called again.
- */
- destroy(): void;
-}
-export interface ResolverConstructor {
- new (target: GrpcUri, listener: ResolverListener, channelOptions: ChannelOptions): Resolver;
- /**
- * Get the default authority for a target. This loosely corresponds to that
- * target's hostname. Throws an error if this resolver class cannot parse the
- * `target`.
- * @param target
- */
- getDefaultAuthority(target: GrpcUri): string;
-}
-/**
- * Register a resolver class to handle target names prefixed with the `prefix`
- * string. This prefix should correspond to a URI scheme name listed in the
- * [gRPC Name Resolution document](https://github.com/grpc/grpc/blob/master/doc/naming.md)
- * @param prefix
- * @param resolverClass
- */
-export declare function registerResolver(scheme: string, resolverClass: ResolverConstructor): void;
-/**
- * Register a default resolver to handle target names that do not start with
- * any registered prefix.
- * @param resolverClass
- */
-export declare function registerDefaultScheme(scheme: string): void;
-/**
- * Create a name resolver for the specified target, if possible. Throws an
- * error if no such name resolver can be created.
- * @param target
- * @param listener
- */
-export declare function createResolver(target: GrpcUri, listener: ResolverListener, options: ChannelOptions): Resolver;
-/**
- * Get the default authority for the specified target, if possible. Throws an
- * error if no registered name resolver can parse that target string.
- * @param target
- */
-export declare function getDefaultAuthority(target: GrpcUri): string;
-export declare function mapUriDefaultScheme(target: GrpcUri): GrpcUri | null;
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver.js b/node_modules/@grpc/grpc-js/build/src/resolver.js
deleted file mode 100644
index 6b1a7c9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver.js
+++ /dev/null
@@ -1,89 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CHANNEL_ARGS_CONFIG_SELECTOR_KEY = void 0;
-exports.registerResolver = registerResolver;
-exports.registerDefaultScheme = registerDefaultScheme;
-exports.createResolver = createResolver;
-exports.getDefaultAuthority = getDefaultAuthority;
-exports.mapUriDefaultScheme = mapUriDefaultScheme;
-const uri_parser_1 = require("./uri-parser");
-exports.CHANNEL_ARGS_CONFIG_SELECTOR_KEY = 'grpc.internal.config_selector';
-const registeredResolvers = {};
-let defaultScheme = null;
-/**
- * Register a resolver class to handle target names prefixed with the `prefix`
- * string. This prefix should correspond to a URI scheme name listed in the
- * [gRPC Name Resolution document](https://github.com/grpc/grpc/blob/master/doc/naming.md)
- * @param prefix
- * @param resolverClass
- */
-function registerResolver(scheme, resolverClass) {
- registeredResolvers[scheme] = resolverClass;
-}
-/**
- * Register a default resolver to handle target names that do not start with
- * any registered prefix.
- * @param resolverClass
- */
-function registerDefaultScheme(scheme) {
- defaultScheme = scheme;
-}
-/**
- * Create a name resolver for the specified target, if possible. Throws an
- * error if no such name resolver can be created.
- * @param target
- * @param listener
- */
-function createResolver(target, listener, options) {
- if (target.scheme !== undefined && target.scheme in registeredResolvers) {
- return new registeredResolvers[target.scheme](target, listener, options);
- }
- else {
- throw new Error(`No resolver could be created for target ${(0, uri_parser_1.uriToString)(target)}`);
- }
-}
-/**
- * Get the default authority for the specified target, if possible. Throws an
- * error if no registered name resolver can parse that target string.
- * @param target
- */
-function getDefaultAuthority(target) {
- if (target.scheme !== undefined && target.scheme in registeredResolvers) {
- return registeredResolvers[target.scheme].getDefaultAuthority(target);
- }
- else {
- throw new Error(`Invalid target ${(0, uri_parser_1.uriToString)(target)}`);
- }
-}
-function mapUriDefaultScheme(target) {
- if (target.scheme === undefined || !(target.scheme in registeredResolvers)) {
- if (defaultScheme !== null) {
- return {
- scheme: defaultScheme,
- authority: undefined,
- path: (0, uri_parser_1.uriToString)(target),
- };
- }
- else {
- return null;
- }
- }
- return target;
-}
-//# sourceMappingURL=resolver.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolver.js.map b/node_modules/@grpc/grpc-js/build/src/resolver.js.map
deleted file mode 100644
index 7b6c268..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolver.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"resolver.js","sourceRoot":"","sources":["../../src/resolver.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAkGH,4CAKC;AAOD,sDAEC;AAQD,wCAYC;AAOD,kDAMC;AAED,kDAaC;AA3JD,6CAAoD;AAMvC,QAAA,gCAAgC,GAAG,+BAA+B,CAAC;AA6EhF,MAAM,mBAAmB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YAC3B,OAAO;gBACL,MAAM,EAAE,aAAa;gBACrB,SAAS,EAAE,SAAS;gBACpB,IAAI,EAAE,IAAA,wBAAW,EAAC,MAAM,CAAC;aAC1B,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolving-call.d.ts b/node_modules/@grpc/grpc-js/build/src/resolving-call.d.ts
deleted file mode 100644
index c94288b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolving-call.d.ts
+++ /dev/null
@@ -1,54 +0,0 @@
-import { CallCredentials } from './call-credentials';
-import { Call, CallStreamOptions, InterceptingListener, MessageContext, StatusObject } from './call-interface';
-import { Status } from './constants';
-import { FilterStackFactory } from './filter-stack';
-import { InternalChannel } from './internal-channel';
-import { Metadata } from './metadata';
-import { AuthContext } from './auth-context';
-export declare class ResolvingCall implements Call {
- private readonly channel;
- private readonly method;
- private readonly filterStackFactory;
- private callNumber;
- private child;
- private readPending;
- private pendingMessage;
- private pendingHalfClose;
- private ended;
- private readFilterPending;
- private writeFilterPending;
- private pendingChildStatus;
- private metadata;
- private listener;
- private deadline;
- private host;
- private statusWatchers;
- private deadlineTimer;
- private filterStack;
- private deadlineStartTime;
- private configReceivedTime;
- private childStartTime;
- /**
- * Credentials configured for this specific call. Does not include
- * call credentials associated with the channel credentials used to create
- * the channel.
- */
- private credentials;
- constructor(channel: InternalChannel, method: string, options: CallStreamOptions, filterStackFactory: FilterStackFactory, callNumber: number);
- private trace;
- private runDeadlineTimer;
- private outputStatus;
- private sendMessageOnChild;
- getConfig(): void;
- reportResolverError(status: StatusObject): void;
- cancelWithStatus(status: Status, details: string): void;
- getPeer(): string;
- start(metadata: Metadata, listener: InterceptingListener): void;
- sendMessageWithContext(context: MessageContext, message: Buffer): void;
- startRead(): void;
- halfClose(): void;
- setCredentials(credentials: CallCredentials): void;
- addStatusWatcher(watcher: (status: StatusObject) => void): void;
- getCallNumber(): number;
- getAuthContext(): AuthContext | null;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/resolving-call.js b/node_modules/@grpc/grpc-js/build/src/resolving-call.js
deleted file mode 100644
index 8a47166..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolving-call.js
+++ /dev/null
@@ -1,319 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ResolvingCall = void 0;
-const call_credentials_1 = require("./call-credentials");
-const constants_1 = require("./constants");
-const deadline_1 = require("./deadline");
-const metadata_1 = require("./metadata");
-const logging = require("./logging");
-const control_plane_status_1 = require("./control-plane-status");
-const TRACER_NAME = 'resolving_call';
-class ResolvingCall {
- constructor(channel, method, options, filterStackFactory, callNumber) {
- this.channel = channel;
- this.method = method;
- this.filterStackFactory = filterStackFactory;
- this.callNumber = callNumber;
- this.child = null;
- this.readPending = false;
- this.pendingMessage = null;
- this.pendingHalfClose = false;
- this.ended = false;
- this.readFilterPending = false;
- this.writeFilterPending = false;
- this.pendingChildStatus = null;
- this.metadata = null;
- this.listener = null;
- this.statusWatchers = [];
- this.deadlineTimer = setTimeout(() => { }, 0);
- this.filterStack = null;
- this.deadlineStartTime = null;
- this.configReceivedTime = null;
- this.childStartTime = null;
- /**
- * Credentials configured for this specific call. Does not include
- * call credentials associated with the channel credentials used to create
- * the channel.
- */
- this.credentials = call_credentials_1.CallCredentials.createEmpty();
- this.deadline = options.deadline;
- this.host = options.host;
- if (options.parentCall) {
- if (options.flags & constants_1.Propagate.CANCELLATION) {
- options.parentCall.on('cancelled', () => {
- this.cancelWithStatus(constants_1.Status.CANCELLED, 'Cancelled by parent call');
- });
- }
- if (options.flags & constants_1.Propagate.DEADLINE) {
- this.trace('Propagating deadline from parent: ' +
- options.parentCall.getDeadline());
- this.deadline = (0, deadline_1.minDeadline)(this.deadline, options.parentCall.getDeadline());
- }
- }
- this.trace('Created');
- this.runDeadlineTimer();
- }
- trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, '[' + this.callNumber + '] ' + text);
- }
- runDeadlineTimer() {
- clearTimeout(this.deadlineTimer);
- this.deadlineStartTime = new Date();
- this.trace('Deadline: ' + (0, deadline_1.deadlineToString)(this.deadline));
- const timeout = (0, deadline_1.getRelativeTimeout)(this.deadline);
- if (timeout !== Infinity) {
- this.trace('Deadline will be reached in ' + timeout + 'ms');
- const handleDeadline = () => {
- if (!this.deadlineStartTime) {
- this.cancelWithStatus(constants_1.Status.DEADLINE_EXCEEDED, 'Deadline exceeded');
- return;
- }
- const deadlineInfo = [];
- const deadlineEndTime = new Date();
- deadlineInfo.push(`Deadline exceeded after ${(0, deadline_1.formatDateDifference)(this.deadlineStartTime, deadlineEndTime)}`);
- if (this.configReceivedTime) {
- if (this.configReceivedTime > this.deadlineStartTime) {
- deadlineInfo.push(`name resolution: ${(0, deadline_1.formatDateDifference)(this.deadlineStartTime, this.configReceivedTime)}`);
- }
- if (this.childStartTime) {
- if (this.childStartTime > this.configReceivedTime) {
- deadlineInfo.push(`metadata filters: ${(0, deadline_1.formatDateDifference)(this.configReceivedTime, this.childStartTime)}`);
- }
- }
- else {
- deadlineInfo.push('waiting for metadata filters');
- }
- }
- else {
- deadlineInfo.push('waiting for name resolution');
- }
- if (this.child) {
- deadlineInfo.push(...this.child.getDeadlineInfo());
- }
- this.cancelWithStatus(constants_1.Status.DEADLINE_EXCEEDED, deadlineInfo.join(','));
- };
- if (timeout <= 0) {
- process.nextTick(handleDeadline);
- }
- else {
- this.deadlineTimer = setTimeout(handleDeadline, timeout);
- }
- }
- }
- outputStatus(status) {
- if (!this.ended) {
- this.ended = true;
- if (!this.filterStack) {
- this.filterStack = this.filterStackFactory.createFilter();
- }
- clearTimeout(this.deadlineTimer);
- const filteredStatus = this.filterStack.receiveTrailers(status);
- this.trace('ended with status: code=' +
- filteredStatus.code +
- ' details="' +
- filteredStatus.details +
- '"');
- this.statusWatchers.forEach(watcher => watcher(filteredStatus));
- process.nextTick(() => {
- var _a;
- (_a = this.listener) === null || _a === void 0 ? void 0 : _a.onReceiveStatus(filteredStatus);
- });
- }
- }
- sendMessageOnChild(context, message) {
- if (!this.child) {
- throw new Error('sendMessageonChild called with child not populated');
- }
- const child = this.child;
- this.writeFilterPending = true;
- this.filterStack.sendMessage(Promise.resolve({ message: message, flags: context.flags })).then(filteredMessage => {
- this.writeFilterPending = false;
- child.sendMessageWithContext(context, filteredMessage.message);
- if (this.pendingHalfClose) {
- child.halfClose();
- }
- }, (status) => {
- this.cancelWithStatus(status.code, status.details);
- });
- }
- getConfig() {
- if (this.ended) {
- return;
- }
- if (!this.metadata || !this.listener) {
- throw new Error('getConfig called before start');
- }
- const configResult = this.channel.getConfig(this.method, this.metadata);
- if (configResult.type === 'NONE') {
- this.channel.queueCallForConfig(this);
- return;
- }
- else if (configResult.type === 'ERROR') {
- if (this.metadata.getOptions().waitForReady) {
- this.channel.queueCallForConfig(this);
- }
- else {
- this.outputStatus(configResult.error);
- }
- return;
- }
- // configResult.type === 'SUCCESS'
- this.configReceivedTime = new Date();
- const config = configResult.config;
- if (config.status !== constants_1.Status.OK) {
- const { code, details } = (0, control_plane_status_1.restrictControlPlaneStatusCode)(config.status, 'Failed to route call to method ' + this.method);
- this.outputStatus({
- code: code,
- details: details,
- metadata: new metadata_1.Metadata(),
- });
- return;
- }
- if (config.methodConfig.timeout) {
- const configDeadline = new Date();
- configDeadline.setSeconds(configDeadline.getSeconds() + config.methodConfig.timeout.seconds);
- configDeadline.setMilliseconds(configDeadline.getMilliseconds() +
- config.methodConfig.timeout.nanos / 1000000);
- this.deadline = (0, deadline_1.minDeadline)(this.deadline, configDeadline);
- this.runDeadlineTimer();
- }
- this.filterStackFactory.push(config.dynamicFilterFactories);
- this.filterStack = this.filterStackFactory.createFilter();
- this.filterStack.sendMetadata(Promise.resolve(this.metadata)).then(filteredMetadata => {
- this.child = this.channel.createRetryingCall(config, this.method, this.host, this.credentials, this.deadline);
- this.trace('Created child [' + this.child.getCallNumber() + ']');
- this.childStartTime = new Date();
- this.child.start(filteredMetadata, {
- onReceiveMetadata: metadata => {
- this.trace('Received metadata');
- this.listener.onReceiveMetadata(this.filterStack.receiveMetadata(metadata));
- },
- onReceiveMessage: message => {
- this.trace('Received message');
- this.readFilterPending = true;
- this.filterStack.receiveMessage(message).then(filteredMesssage => {
- this.trace('Finished filtering received message');
- this.readFilterPending = false;
- this.listener.onReceiveMessage(filteredMesssage);
- if (this.pendingChildStatus) {
- this.outputStatus(this.pendingChildStatus);
- }
- }, (status) => {
- this.cancelWithStatus(status.code, status.details);
- });
- },
- onReceiveStatus: status => {
- this.trace('Received status');
- if (this.readFilterPending) {
- this.pendingChildStatus = status;
- }
- else {
- this.outputStatus(status);
- }
- },
- });
- if (this.readPending) {
- this.child.startRead();
- }
- if (this.pendingMessage) {
- this.sendMessageOnChild(this.pendingMessage.context, this.pendingMessage.message);
- }
- else if (this.pendingHalfClose) {
- this.child.halfClose();
- }
- }, (status) => {
- this.outputStatus(status);
- });
- }
- reportResolverError(status) {
- var _a;
- if ((_a = this.metadata) === null || _a === void 0 ? void 0 : _a.getOptions().waitForReady) {
- this.channel.queueCallForConfig(this);
- }
- else {
- this.outputStatus(status);
- }
- }
- cancelWithStatus(status, details) {
- var _a;
- this.trace('cancelWithStatus code: ' + status + ' details: "' + details + '"');
- (_a = this.child) === null || _a === void 0 ? void 0 : _a.cancelWithStatus(status, details);
- this.outputStatus({
- code: status,
- details: details,
- metadata: new metadata_1.Metadata(),
- });
- }
- getPeer() {
- var _a, _b;
- return (_b = (_a = this.child) === null || _a === void 0 ? void 0 : _a.getPeer()) !== null && _b !== void 0 ? _b : this.channel.getTarget();
- }
- start(metadata, listener) {
- this.trace('start called');
- this.metadata = metadata.clone();
- this.listener = listener;
- this.getConfig();
- }
- sendMessageWithContext(context, message) {
- this.trace('write() called with message of length ' + message.length);
- if (this.child) {
- this.sendMessageOnChild(context, message);
- }
- else {
- this.pendingMessage = { context, message };
- }
- }
- startRead() {
- this.trace('startRead called');
- if (this.child) {
- this.child.startRead();
- }
- else {
- this.readPending = true;
- }
- }
- halfClose() {
- this.trace('halfClose called');
- if (this.child && !this.writeFilterPending) {
- this.child.halfClose();
- }
- else {
- this.pendingHalfClose = true;
- }
- }
- setCredentials(credentials) {
- this.credentials = credentials;
- }
- addStatusWatcher(watcher) {
- this.statusWatchers.push(watcher);
- }
- getCallNumber() {
- return this.callNumber;
- }
- getAuthContext() {
- if (this.child) {
- return this.child.getAuthContext();
- }
- else {
- return null;
- }
- }
-}
-exports.ResolvingCall = ResolvingCall;
-//# sourceMappingURL=resolving-call.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolving-call.js.map b/node_modules/@grpc/grpc-js/build/src/resolving-call.js.map
deleted file mode 100644
index 62bda26..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolving-call.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"resolving-call.js","sourceRoot":"","sources":["../../src/resolving-call.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,yDAAqD;AASrD,2CAA8D;AAC9D,yCAMoB;AAGpB,yCAAsC;AACtC,qCAAqC;AACrC,iEAAwE;AAGxE,MAAM,WAAW,GAAG,gBAAgB,CAAC;AAErC,MAAa,aAAa;IA6BxB,YACmB,OAAwB,EACxB,MAAc,EAC/B,OAA0B,EACT,kBAAsC,EAC/C,UAAkB;QAJT,YAAO,GAAP,OAAO,CAAiB;QACx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KAAK,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC;YAC3C,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,CAAC;QACzB,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;QAC/B,CAAC;IACH,CAAC;IACD,cAAc,CAAC,WAA4B;QACzC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;IAED,gBAAgB,CAAC,OAAuC;QACtD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACpC,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,cAAc;QACZ,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,KAAK,CAAC,cAAc,EAAE,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CACF;AA/UD,sCA+UC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts b/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts
deleted file mode 100644
index bd6e2e8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts
+++ /dev/null
@@ -1,70 +0,0 @@
-import { ChannelControlHelper, LoadBalancer, TypedLoadBalancingConfig } from './load-balancer';
-import { ServiceConfig } from './service-config';
-import { ConfigSelector } from './resolver';
-import { StatusObject, StatusOr } from './call-interface';
-import { Endpoint } from './subchannel-address';
-import { GrpcUri } from './uri-parser';
-import { ChannelOptions } from './channel-options';
-export interface ResolutionCallback {
- (serviceConfig: ServiceConfig, configSelector: ConfigSelector): void;
-}
-export interface ResolutionFailureCallback {
- (status: StatusObject): void;
-}
-export declare class ResolvingLoadBalancer implements LoadBalancer {
- private readonly target;
- private readonly channelControlHelper;
- private readonly channelOptions;
- private readonly onSuccessfulResolution;
- private readonly onFailedResolution;
- /**
- * The resolver class constructed for the target address.
- */
- private readonly innerResolver;
- private readonly childLoadBalancer;
- private latestChildState;
- private latestChildPicker;
- private latestChildErrorMessage;
- /**
- * This resolving load balancer's current connectivity state.
- */
- private currentState;
- private readonly defaultServiceConfig;
- /**
- * The service config object from the last successful resolution, if
- * available. A value of null indicates that we have not yet received a valid
- * service config from the resolver.
- */
- private previousServiceConfig;
- /**
- * The backoff timer for handling name resolution failures.
- */
- private readonly backoffTimeout;
- /**
- * Indicates whether we should attempt to resolve again after the backoff
- * timer runs out.
- */
- private continueResolving;
- /**
- * Wrapper class that behaves like a `LoadBalancer` and also handles name
- * resolution internally.
- * @param target The address of the backend to connect to.
- * @param channelControlHelper `ChannelControlHelper` instance provided by
- * this load balancer's owner.
- * @param defaultServiceConfig The default service configuration to be used
- * if none is provided by the name resolver. A `null` value indicates
- * that the default behavior should be the default unconfigured behavior.
- * In practice, that means using the "pick first" load balancer
- * implmentation
- */
- constructor(target: GrpcUri, channelControlHelper: ChannelControlHelper, channelOptions: ChannelOptions, onSuccessfulResolution: ResolutionCallback, onFailedResolution: ResolutionFailureCallback);
- private handleResolverResult;
- private updateResolution;
- private updateState;
- private handleResolutionFailure;
- exitIdle(): void;
- updateAddressList(endpointList: StatusOr, lbConfig: TypedLoadBalancingConfig | null): never;
- resetBackoff(): void;
- destroy(): void;
- getTypeName(): string;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js b/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js
deleted file mode 100644
index ca61474..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js
+++ /dev/null
@@ -1,304 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ResolvingLoadBalancer = void 0;
-const load_balancer_1 = require("./load-balancer");
-const service_config_1 = require("./service-config");
-const connectivity_state_1 = require("./connectivity-state");
-const resolver_1 = require("./resolver");
-const picker_1 = require("./picker");
-const backoff_timeout_1 = require("./backoff-timeout");
-const constants_1 = require("./constants");
-const metadata_1 = require("./metadata");
-const logging = require("./logging");
-const constants_2 = require("./constants");
-const uri_parser_1 = require("./uri-parser");
-const load_balancer_child_handler_1 = require("./load-balancer-child-handler");
-const TRACER_NAME = 'resolving_load_balancer';
-function trace(text) {
- logging.trace(constants_2.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-/**
- * Name match levels in order from most to least specific. This is the order in
- * which searches will be performed.
- */
-const NAME_MATCH_LEVEL_ORDER = [
- 'SERVICE_AND_METHOD',
- 'SERVICE',
- 'EMPTY',
-];
-function hasMatchingName(service, method, methodConfig, matchLevel) {
- for (const name of methodConfig.name) {
- switch (matchLevel) {
- case 'EMPTY':
- if (!name.service && !name.method) {
- return true;
- }
- break;
- case 'SERVICE':
- if (name.service === service && !name.method) {
- return true;
- }
- break;
- case 'SERVICE_AND_METHOD':
- if (name.service === service && name.method === method) {
- return true;
- }
- }
- }
- return false;
-}
-function findMatchingConfig(service, method, methodConfigs, matchLevel) {
- for (const config of methodConfigs) {
- if (hasMatchingName(service, method, config, matchLevel)) {
- return config;
- }
- }
- return null;
-}
-function getDefaultConfigSelector(serviceConfig) {
- return {
- invoke(methodName, metadata) {
- var _a, _b;
- const splitName = methodName.split('/').filter(x => x.length > 0);
- const service = (_a = splitName[0]) !== null && _a !== void 0 ? _a : '';
- const method = (_b = splitName[1]) !== null && _b !== void 0 ? _b : '';
- if (serviceConfig && serviceConfig.methodConfig) {
- /* Check for the following in order, and return the first method
- * config that matches:
- * 1. A name that exactly matches the service and method
- * 2. A name with no method set that matches the service
- * 3. An empty name
- */
- for (const matchLevel of NAME_MATCH_LEVEL_ORDER) {
- const matchingConfig = findMatchingConfig(service, method, serviceConfig.methodConfig, matchLevel);
- if (matchingConfig) {
- return {
- methodConfig: matchingConfig,
- pickInformation: {},
- status: constants_1.Status.OK,
- dynamicFilterFactories: [],
- };
- }
- }
- }
- return {
- methodConfig: { name: [] },
- pickInformation: {},
- status: constants_1.Status.OK,
- dynamicFilterFactories: [],
- };
- },
- unref() { }
- };
-}
-class ResolvingLoadBalancer {
- /**
- * Wrapper class that behaves like a `LoadBalancer` and also handles name
- * resolution internally.
- * @param target The address of the backend to connect to.
- * @param channelControlHelper `ChannelControlHelper` instance provided by
- * this load balancer's owner.
- * @param defaultServiceConfig The default service configuration to be used
- * if none is provided by the name resolver. A `null` value indicates
- * that the default behavior should be the default unconfigured behavior.
- * In practice, that means using the "pick first" load balancer
- * implmentation
- */
- constructor(target, channelControlHelper, channelOptions, onSuccessfulResolution, onFailedResolution) {
- this.target = target;
- this.channelControlHelper = channelControlHelper;
- this.channelOptions = channelOptions;
- this.onSuccessfulResolution = onSuccessfulResolution;
- this.onFailedResolution = onFailedResolution;
- this.latestChildState = connectivity_state_1.ConnectivityState.IDLE;
- this.latestChildPicker = new picker_1.QueuePicker(this);
- this.latestChildErrorMessage = null;
- /**
- * This resolving load balancer's current connectivity state.
- */
- this.currentState = connectivity_state_1.ConnectivityState.IDLE;
- /**
- * The service config object from the last successful resolution, if
- * available. A value of null indicates that we have not yet received a valid
- * service config from the resolver.
- */
- this.previousServiceConfig = null;
- /**
- * Indicates whether we should attempt to resolve again after the backoff
- * timer runs out.
- */
- this.continueResolving = false;
- if (channelOptions['grpc.service_config']) {
- this.defaultServiceConfig = (0, service_config_1.validateServiceConfig)(JSON.parse(channelOptions['grpc.service_config']));
- }
- else {
- this.defaultServiceConfig = {
- loadBalancingConfig: [],
- methodConfig: [],
- };
- }
- this.updateState(connectivity_state_1.ConnectivityState.IDLE, new picker_1.QueuePicker(this), null);
- this.childLoadBalancer = new load_balancer_child_handler_1.ChildLoadBalancerHandler({
- createSubchannel: channelControlHelper.createSubchannel.bind(channelControlHelper),
- requestReresolution: () => {
- /* If the backoffTimeout is running, we're still backing off from
- * making resolve requests, so we shouldn't make another one here.
- * In that case, the backoff timer callback will call
- * updateResolution */
- if (this.backoffTimeout.isRunning()) {
- trace('requestReresolution delayed by backoff timer until ' +
- this.backoffTimeout.getEndTime().toISOString());
- this.continueResolving = true;
- }
- else {
- this.updateResolution();
- }
- },
- updateState: (newState, picker, errorMessage) => {
- this.latestChildState = newState;
- this.latestChildPicker = picker;
- this.latestChildErrorMessage = errorMessage;
- this.updateState(newState, picker, errorMessage);
- },
- addChannelzChild: channelControlHelper.addChannelzChild.bind(channelControlHelper),
- removeChannelzChild: channelControlHelper.removeChannelzChild.bind(channelControlHelper),
- });
- this.innerResolver = (0, resolver_1.createResolver)(target, this.handleResolverResult.bind(this), channelOptions);
- const backoffOptions = {
- initialDelay: channelOptions['grpc.initial_reconnect_backoff_ms'],
- maxDelay: channelOptions['grpc.max_reconnect_backoff_ms'],
- };
- this.backoffTimeout = new backoff_timeout_1.BackoffTimeout(() => {
- if (this.continueResolving) {
- this.updateResolution();
- this.continueResolving = false;
- }
- else {
- this.updateState(this.latestChildState, this.latestChildPicker, this.latestChildErrorMessage);
- }
- }, backoffOptions);
- this.backoffTimeout.unref();
- }
- handleResolverResult(endpointList, attributes, serviceConfig, resolutionNote) {
- var _a, _b;
- this.backoffTimeout.stop();
- this.backoffTimeout.reset();
- let resultAccepted = true;
- let workingServiceConfig = null;
- if (serviceConfig === null) {
- workingServiceConfig = this.defaultServiceConfig;
- }
- else if (serviceConfig.ok) {
- workingServiceConfig = serviceConfig.value;
- }
- else {
- if (this.previousServiceConfig !== null) {
- workingServiceConfig = this.previousServiceConfig;
- }
- else {
- resultAccepted = false;
- this.handleResolutionFailure(serviceConfig.error);
- }
- }
- if (workingServiceConfig !== null) {
- const workingConfigList = (_a = workingServiceConfig === null || workingServiceConfig === void 0 ? void 0 : workingServiceConfig.loadBalancingConfig) !== null && _a !== void 0 ? _a : [];
- const loadBalancingConfig = (0, load_balancer_1.selectLbConfigFromList)(workingConfigList, true);
- if (loadBalancingConfig === null) {
- resultAccepted = false;
- this.handleResolutionFailure({
- code: constants_1.Status.UNAVAILABLE,
- details: 'All load balancer options in service config are not compatible',
- metadata: new metadata_1.Metadata(),
- });
- }
- else {
- resultAccepted = this.childLoadBalancer.updateAddressList(endpointList, loadBalancingConfig, Object.assign(Object.assign({}, this.channelOptions), attributes), resolutionNote);
- }
- }
- if (resultAccepted) {
- this.onSuccessfulResolution(workingServiceConfig, (_b = attributes[resolver_1.CHANNEL_ARGS_CONFIG_SELECTOR_KEY]) !== null && _b !== void 0 ? _b : getDefaultConfigSelector(workingServiceConfig));
- }
- return resultAccepted;
- }
- updateResolution() {
- this.innerResolver.updateResolution();
- if (this.currentState === connectivity_state_1.ConnectivityState.IDLE) {
- /* this.latestChildPicker is initialized as new QueuePicker(this), which
- * is an appropriate value here if the child LB policy is unset.
- * Otherwise, we want to delegate to the child here, in case that
- * triggers something. */
- this.updateState(connectivity_state_1.ConnectivityState.CONNECTING, this.latestChildPicker, this.latestChildErrorMessage);
- }
- this.backoffTimeout.runOnce();
- }
- updateState(connectivityState, picker, errorMessage) {
- trace((0, uri_parser_1.uriToString)(this.target) +
- ' ' +
- connectivity_state_1.ConnectivityState[this.currentState] +
- ' -> ' +
- connectivity_state_1.ConnectivityState[connectivityState]);
- // Ensure that this.exitIdle() is called by the picker
- if (connectivityState === connectivity_state_1.ConnectivityState.IDLE) {
- picker = new picker_1.QueuePicker(this, picker);
- }
- this.currentState = connectivityState;
- this.channelControlHelper.updateState(connectivityState, picker, errorMessage);
- }
- handleResolutionFailure(error) {
- if (this.latestChildState === connectivity_state_1.ConnectivityState.IDLE) {
- this.updateState(connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, new picker_1.UnavailablePicker(error), error.details);
- this.onFailedResolution(error);
- }
- }
- exitIdle() {
- if (this.currentState === connectivity_state_1.ConnectivityState.IDLE ||
- this.currentState === connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE) {
- if (this.backoffTimeout.isRunning()) {
- this.continueResolving = true;
- }
- else {
- this.updateResolution();
- }
- }
- this.childLoadBalancer.exitIdle();
- }
- updateAddressList(endpointList, lbConfig) {
- throw new Error('updateAddressList not supported on ResolvingLoadBalancer');
- }
- resetBackoff() {
- this.backoffTimeout.reset();
- this.childLoadBalancer.resetBackoff();
- }
- destroy() {
- this.childLoadBalancer.destroy();
- this.innerResolver.destroy();
- this.backoffTimeout.reset();
- this.backoffTimeout.stop();
- this.latestChildState = connectivity_state_1.ConnectivityState.IDLE;
- this.latestChildPicker = new picker_1.QueuePicker(this);
- this.currentState = connectivity_state_1.ConnectivityState.IDLE;
- this.previousServiceConfig = null;
- this.continueResolving = false;
- }
- getTypeName() {
- return 'resolving_load_balancer';
- }
-}
-exports.ResolvingLoadBalancer = ResolvingLoadBalancer;
-//# sourceMappingURL=resolving-load-balancer.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js.map b/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js.map
deleted file mode 100644
index 79b48eb..0000000
--- a/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"resolving-load-balancer.js","sourceRoot":"","sources":["../../src/resolving-load-balancer.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,mDAKyB;AACzB,qDAI0B;AAC1B,6DAAyD;AACzD,yCAAwG;AACxG,qCAAkE;AAClE,uDAAmE;AACnE,2CAAqC;AAErC,yCAAsC;AACtC,qCAAqC;AACrC,2CAA2C;AAE3C,6CAAoD;AACpD,+EAAyE;AAGzE,MAAM,WAAW,GAAG,yBAAyB,CAAC;AAE9C,SAAS,KAAK,CAAC,IAAY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AK,CAAC;IACjC,CAAC;IAED,WAAW;QACT,OAAO,yBAAyB,CAAC;IACnC,CAAC;CACF;AA3PD,sDA2PC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/retrying-call.d.ts b/node_modules/@grpc/grpc-js/build/src/retrying-call.d.ts
deleted file mode 100644
index 560e876..0000000
--- a/node_modules/@grpc/grpc-js/build/src/retrying-call.d.ts
+++ /dev/null
@@ -1,100 +0,0 @@
-import { CallCredentials } from './call-credentials';
-import { Status } from './constants';
-import { Deadline } from './deadline';
-import { Metadata } from './metadata';
-import { CallConfig } from './resolver';
-import { Call, DeadlineInfoProvider, InterceptingListener, MessageContext } from './call-interface';
-import { InternalChannel } from './internal-channel';
-import { AuthContext } from './auth-context';
-export declare class RetryThrottler {
- private readonly maxTokens;
- private readonly tokenRatio;
- private tokens;
- constructor(maxTokens: number, tokenRatio: number, previousRetryThrottler?: RetryThrottler);
- addCallSucceeded(): void;
- addCallFailed(): void;
- canRetryCall(): boolean;
-}
-export declare class MessageBufferTracker {
- private totalLimit;
- private limitPerCall;
- private totalAllocated;
- private allocatedPerCall;
- constructor(totalLimit: number, limitPerCall: number);
- allocate(size: number, callId: number): boolean;
- free(size: number, callId: number): void;
- freeAll(callId: number): void;
-}
-export declare class RetryingCall implements Call, DeadlineInfoProvider {
- private readonly channel;
- private readonly callConfig;
- private readonly methodName;
- private readonly host;
- private readonly credentials;
- private readonly deadline;
- private readonly callNumber;
- private readonly bufferTracker;
- private readonly retryThrottler?;
- private state;
- private listener;
- private initialMetadata;
- private underlyingCalls;
- private writeBuffer;
- /**
- * The offset of message indices in the writeBuffer. For example, if
- * writeBufferOffset is 10, message 10 is in writeBuffer[0] and message 15
- * is in writeBuffer[5].
- */
- private writeBufferOffset;
- /**
- * Tracks whether a read has been started, so that we know whether to start
- * reads on new child calls. This only matters for the first read, because
- * once a message comes in the child call becomes committed and there will
- * be no new child calls.
- */
- private readStarted;
- private transparentRetryUsed;
- /**
- * Number of attempts so far
- */
- private attempts;
- private hedgingTimer;
- private committedCallIndex;
- private initialRetryBackoffSec;
- private nextRetryBackoffSec;
- private startTime;
- private maxAttempts;
- constructor(channel: InternalChannel, callConfig: CallConfig, methodName: string, host: string, credentials: CallCredentials, deadline: Deadline, callNumber: number, bufferTracker: MessageBufferTracker, retryThrottler?: RetryThrottler | undefined);
- getDeadlineInfo(): string[];
- getCallNumber(): number;
- private trace;
- private reportStatus;
- cancelWithStatus(status: Status, details: string): void;
- getPeer(): string;
- private getBufferEntry;
- private getNextBufferIndex;
- private clearSentMessages;
- private commitCall;
- private commitCallWithMostMessages;
- private isStatusCodeInList;
- private getNextRetryJitter;
- private getNextRetryBackoffMs;
- private maybeRetryCall;
- private countActiveCalls;
- private handleProcessedStatus;
- private getPushback;
- private handleChildStatus;
- private maybeStartHedgingAttempt;
- private maybeStartHedgingTimer;
- private startNewAttempt;
- start(metadata: Metadata, listener: InterceptingListener): void;
- private handleChildWriteCompleted;
- private sendNextChildMessage;
- sendMessageWithContext(context: MessageContext, message: Buffer): void;
- startRead(): void;
- halfClose(): void;
- setCredentials(newCredentials: CallCredentials): void;
- getMethod(): string;
- getHost(): string;
- getAuthContext(): AuthContext | null;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/retrying-call.js b/node_modules/@grpc/grpc-js/build/src/retrying-call.js
deleted file mode 100644
index e5935ec..0000000
--- a/node_modules/@grpc/grpc-js/build/src/retrying-call.js
+++ /dev/null
@@ -1,724 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.RetryingCall = exports.MessageBufferTracker = exports.RetryThrottler = void 0;
-const constants_1 = require("./constants");
-const deadline_1 = require("./deadline");
-const metadata_1 = require("./metadata");
-const logging = require("./logging");
-const TRACER_NAME = 'retrying_call';
-class RetryThrottler {
- constructor(maxTokens, tokenRatio, previousRetryThrottler) {
- this.maxTokens = maxTokens;
- this.tokenRatio = tokenRatio;
- if (previousRetryThrottler) {
- /* When carrying over tokens from a previous config, rescale them to the
- * new max value */
- this.tokens =
- previousRetryThrottler.tokens *
- (maxTokens / previousRetryThrottler.maxTokens);
- }
- else {
- this.tokens = maxTokens;
- }
- }
- addCallSucceeded() {
- this.tokens = Math.min(this.tokens + this.tokenRatio, this.maxTokens);
- }
- addCallFailed() {
- this.tokens = Math.max(this.tokens - 1, 0);
- }
- canRetryCall() {
- return this.tokens > (this.maxTokens / 2);
- }
-}
-exports.RetryThrottler = RetryThrottler;
-class MessageBufferTracker {
- constructor(totalLimit, limitPerCall) {
- this.totalLimit = totalLimit;
- this.limitPerCall = limitPerCall;
- this.totalAllocated = 0;
- this.allocatedPerCall = new Map();
- }
- allocate(size, callId) {
- var _a;
- const currentPerCall = (_a = this.allocatedPerCall.get(callId)) !== null && _a !== void 0 ? _a : 0;
- if (this.limitPerCall - currentPerCall < size ||
- this.totalLimit - this.totalAllocated < size) {
- return false;
- }
- this.allocatedPerCall.set(callId, currentPerCall + size);
- this.totalAllocated += size;
- return true;
- }
- free(size, callId) {
- var _a;
- if (this.totalAllocated < size) {
- throw new Error(`Invalid buffer allocation state: call ${callId} freed ${size} > total allocated ${this.totalAllocated}`);
- }
- this.totalAllocated -= size;
- const currentPerCall = (_a = this.allocatedPerCall.get(callId)) !== null && _a !== void 0 ? _a : 0;
- if (currentPerCall < size) {
- throw new Error(`Invalid buffer allocation state: call ${callId} freed ${size} > allocated for call ${currentPerCall}`);
- }
- this.allocatedPerCall.set(callId, currentPerCall - size);
- }
- freeAll(callId) {
- var _a;
- const currentPerCall = (_a = this.allocatedPerCall.get(callId)) !== null && _a !== void 0 ? _a : 0;
- if (this.totalAllocated < currentPerCall) {
- throw new Error(`Invalid buffer allocation state: call ${callId} allocated ${currentPerCall} > total allocated ${this.totalAllocated}`);
- }
- this.totalAllocated -= currentPerCall;
- this.allocatedPerCall.delete(callId);
- }
-}
-exports.MessageBufferTracker = MessageBufferTracker;
-const PREVIONS_RPC_ATTEMPTS_METADATA_KEY = 'grpc-previous-rpc-attempts';
-const DEFAULT_MAX_ATTEMPTS_LIMIT = 5;
-class RetryingCall {
- constructor(channel, callConfig, methodName, host, credentials, deadline, callNumber, bufferTracker, retryThrottler) {
- var _a;
- this.channel = channel;
- this.callConfig = callConfig;
- this.methodName = methodName;
- this.host = host;
- this.credentials = credentials;
- this.deadline = deadline;
- this.callNumber = callNumber;
- this.bufferTracker = bufferTracker;
- this.retryThrottler = retryThrottler;
- this.listener = null;
- this.initialMetadata = null;
- this.underlyingCalls = [];
- this.writeBuffer = [];
- /**
- * The offset of message indices in the writeBuffer. For example, if
- * writeBufferOffset is 10, message 10 is in writeBuffer[0] and message 15
- * is in writeBuffer[5].
- */
- this.writeBufferOffset = 0;
- /**
- * Tracks whether a read has been started, so that we know whether to start
- * reads on new child calls. This only matters for the first read, because
- * once a message comes in the child call becomes committed and there will
- * be no new child calls.
- */
- this.readStarted = false;
- this.transparentRetryUsed = false;
- /**
- * Number of attempts so far
- */
- this.attempts = 0;
- this.hedgingTimer = null;
- this.committedCallIndex = null;
- this.initialRetryBackoffSec = 0;
- this.nextRetryBackoffSec = 0;
- const maxAttemptsLimit = (_a = channel.getOptions()['grpc-node.retry_max_attempts_limit']) !== null && _a !== void 0 ? _a : DEFAULT_MAX_ATTEMPTS_LIMIT;
- if (channel.getOptions()['grpc.enable_retries'] === 0) {
- this.state = 'NO_RETRY';
- this.maxAttempts = 1;
- }
- else if (callConfig.methodConfig.retryPolicy) {
- this.state = 'RETRY';
- const retryPolicy = callConfig.methodConfig.retryPolicy;
- this.nextRetryBackoffSec = this.initialRetryBackoffSec = Number(retryPolicy.initialBackoff.substring(0, retryPolicy.initialBackoff.length - 1));
- this.maxAttempts = Math.min(retryPolicy.maxAttempts, maxAttemptsLimit);
- }
- else if (callConfig.methodConfig.hedgingPolicy) {
- this.state = 'HEDGING';
- this.maxAttempts = Math.min(callConfig.methodConfig.hedgingPolicy.maxAttempts, maxAttemptsLimit);
- }
- else {
- this.state = 'TRANSPARENT_ONLY';
- this.maxAttempts = 1;
- }
- this.startTime = new Date();
- }
- getDeadlineInfo() {
- if (this.underlyingCalls.length === 0) {
- return [];
- }
- const deadlineInfo = [];
- const latestCall = this.underlyingCalls[this.underlyingCalls.length - 1];
- if (this.underlyingCalls.length > 1) {
- deadlineInfo.push(`previous attempts: ${this.underlyingCalls.length - 1}`);
- }
- if (latestCall.startTime > this.startTime) {
- deadlineInfo.push(`time to current attempt start: ${(0, deadline_1.formatDateDifference)(this.startTime, latestCall.startTime)}`);
- }
- deadlineInfo.push(...latestCall.call.getDeadlineInfo());
- return deadlineInfo;
- }
- getCallNumber() {
- return this.callNumber;
- }
- trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, '[' + this.callNumber + '] ' + text);
- }
- reportStatus(statusObject) {
- this.trace('ended with status: code=' +
- statusObject.code +
- ' details="' +
- statusObject.details +
- '" start time=' +
- this.startTime.toISOString());
- this.bufferTracker.freeAll(this.callNumber);
- this.writeBufferOffset = this.writeBufferOffset + this.writeBuffer.length;
- this.writeBuffer = [];
- process.nextTick(() => {
- var _a;
- // Explicitly construct status object to remove progress field
- (_a = this.listener) === null || _a === void 0 ? void 0 : _a.onReceiveStatus({
- code: statusObject.code,
- details: statusObject.details,
- metadata: statusObject.metadata,
- });
- });
- }
- cancelWithStatus(status, details) {
- this.trace('cancelWithStatus code: ' + status + ' details: "' + details + '"');
- this.reportStatus({ code: status, details, metadata: new metadata_1.Metadata() });
- for (const { call } of this.underlyingCalls) {
- call.cancelWithStatus(status, details);
- }
- }
- getPeer() {
- if (this.committedCallIndex !== null) {
- return this.underlyingCalls[this.committedCallIndex].call.getPeer();
- }
- else {
- return 'unknown';
- }
- }
- getBufferEntry(messageIndex) {
- var _a;
- return ((_a = this.writeBuffer[messageIndex - this.writeBufferOffset]) !== null && _a !== void 0 ? _a : {
- entryType: 'FREED',
- allocated: false,
- });
- }
- getNextBufferIndex() {
- return this.writeBufferOffset + this.writeBuffer.length;
- }
- clearSentMessages() {
- if (this.state !== 'COMMITTED') {
- return;
- }
- let earliestNeededMessageIndex;
- if (this.underlyingCalls[this.committedCallIndex].state === 'COMPLETED') {
- /* If the committed call is completed, clear all messages, even if some
- * have not been sent. */
- earliestNeededMessageIndex = this.getNextBufferIndex();
- }
- else {
- earliestNeededMessageIndex =
- this.underlyingCalls[this.committedCallIndex].nextMessageToSend;
- }
- for (let messageIndex = this.writeBufferOffset; messageIndex < earliestNeededMessageIndex; messageIndex++) {
- const bufferEntry = this.getBufferEntry(messageIndex);
- if (bufferEntry.allocated) {
- this.bufferTracker.free(bufferEntry.message.message.length, this.callNumber);
- }
- }
- this.writeBuffer = this.writeBuffer.slice(earliestNeededMessageIndex - this.writeBufferOffset);
- this.writeBufferOffset = earliestNeededMessageIndex;
- }
- commitCall(index) {
- var _a, _b;
- if (this.state === 'COMMITTED') {
- return;
- }
- this.trace('Committing call [' +
- this.underlyingCalls[index].call.getCallNumber() +
- '] at index ' +
- index);
- this.state = 'COMMITTED';
- (_b = (_a = this.callConfig).onCommitted) === null || _b === void 0 ? void 0 : _b.call(_a);
- this.committedCallIndex = index;
- for (let i = 0; i < this.underlyingCalls.length; i++) {
- if (i === index) {
- continue;
- }
- if (this.underlyingCalls[i].state === 'COMPLETED') {
- continue;
- }
- this.underlyingCalls[i].state = 'COMPLETED';
- this.underlyingCalls[i].call.cancelWithStatus(constants_1.Status.CANCELLED, 'Discarded in favor of other hedged attempt');
- }
- this.clearSentMessages();
- }
- commitCallWithMostMessages() {
- if (this.state === 'COMMITTED') {
- return;
- }
- let mostMessages = -1;
- let callWithMostMessages = -1;
- for (const [index, childCall] of this.underlyingCalls.entries()) {
- if (childCall.state === 'ACTIVE' &&
- childCall.nextMessageToSend > mostMessages) {
- mostMessages = childCall.nextMessageToSend;
- callWithMostMessages = index;
- }
- }
- if (callWithMostMessages === -1) {
- /* There are no active calls, disable retries to force the next call that
- * is started to be committed. */
- this.state = 'TRANSPARENT_ONLY';
- }
- else {
- this.commitCall(callWithMostMessages);
- }
- }
- isStatusCodeInList(list, code) {
- return list.some(value => {
- var _a;
- return value === code ||
- value.toString().toLowerCase() === ((_a = constants_1.Status[code]) === null || _a === void 0 ? void 0 : _a.toLowerCase());
- });
- }
- getNextRetryJitter() {
- /* Jitter of +-20% is applied: https://github.com/grpc/proposal/blob/master/A6-client-retries.md#exponential-backoff */
- return Math.random() * (1.2 - 0.8) + 0.8;
- }
- getNextRetryBackoffMs() {
- var _a;
- const retryPolicy = (_a = this.callConfig) === null || _a === void 0 ? void 0 : _a.methodConfig.retryPolicy;
- if (!retryPolicy) {
- return 0;
- }
- const jitter = this.getNextRetryJitter();
- const nextBackoffMs = jitter * this.nextRetryBackoffSec * 1000;
- const maxBackoffSec = Number(retryPolicy.maxBackoff.substring(0, retryPolicy.maxBackoff.length - 1));
- this.nextRetryBackoffSec = Math.min(this.nextRetryBackoffSec * retryPolicy.backoffMultiplier, maxBackoffSec);
- return nextBackoffMs;
- }
- maybeRetryCall(pushback, callback) {
- if (this.state !== 'RETRY') {
- callback(false);
- return;
- }
- if (this.attempts >= this.maxAttempts) {
- callback(false);
- return;
- }
- let retryDelayMs;
- if (pushback === null) {
- retryDelayMs = this.getNextRetryBackoffMs();
- }
- else if (pushback < 0) {
- this.state = 'TRANSPARENT_ONLY';
- callback(false);
- return;
- }
- else {
- retryDelayMs = pushback;
- this.nextRetryBackoffSec = this.initialRetryBackoffSec;
- }
- setTimeout(() => {
- var _a, _b;
- if (this.state !== 'RETRY') {
- callback(false);
- return;
- }
- if ((_b = (_a = this.retryThrottler) === null || _a === void 0 ? void 0 : _a.canRetryCall()) !== null && _b !== void 0 ? _b : true) {
- callback(true);
- this.attempts += 1;
- this.startNewAttempt();
- }
- else {
- this.trace('Retry attempt denied by throttling policy');
- callback(false);
- }
- }, retryDelayMs);
- }
- countActiveCalls() {
- let count = 0;
- for (const call of this.underlyingCalls) {
- if ((call === null || call === void 0 ? void 0 : call.state) === 'ACTIVE') {
- count += 1;
- }
- }
- return count;
- }
- handleProcessedStatus(status, callIndex, pushback) {
- var _a, _b, _c;
- switch (this.state) {
- case 'COMMITTED':
- case 'NO_RETRY':
- case 'TRANSPARENT_ONLY':
- this.commitCall(callIndex);
- this.reportStatus(status);
- break;
- case 'HEDGING':
- if (this.isStatusCodeInList((_a = this.callConfig.methodConfig.hedgingPolicy.nonFatalStatusCodes) !== null && _a !== void 0 ? _a : [], status.code)) {
- (_b = this.retryThrottler) === null || _b === void 0 ? void 0 : _b.addCallFailed();
- let delayMs;
- if (pushback === null) {
- delayMs = 0;
- }
- else if (pushback < 0) {
- this.state = 'TRANSPARENT_ONLY';
- this.commitCall(callIndex);
- this.reportStatus(status);
- return;
- }
- else {
- delayMs = pushback;
- }
- setTimeout(() => {
- this.maybeStartHedgingAttempt();
- // If after trying to start a call there are no active calls, this was the last one
- if (this.countActiveCalls() === 0) {
- this.commitCall(callIndex);
- this.reportStatus(status);
- }
- }, delayMs);
- }
- else {
- this.commitCall(callIndex);
- this.reportStatus(status);
- }
- break;
- case 'RETRY':
- if (this.isStatusCodeInList(this.callConfig.methodConfig.retryPolicy.retryableStatusCodes, status.code)) {
- (_c = this.retryThrottler) === null || _c === void 0 ? void 0 : _c.addCallFailed();
- this.maybeRetryCall(pushback, retried => {
- if (!retried) {
- this.commitCall(callIndex);
- this.reportStatus(status);
- }
- });
- }
- else {
- this.commitCall(callIndex);
- this.reportStatus(status);
- }
- break;
- }
- }
- getPushback(metadata) {
- const mdValue = metadata.get('grpc-retry-pushback-ms');
- if (mdValue.length === 0) {
- return null;
- }
- try {
- return parseInt(mdValue[0]);
- }
- catch (e) {
- return -1;
- }
- }
- handleChildStatus(status, callIndex) {
- var _a;
- if (this.underlyingCalls[callIndex].state === 'COMPLETED') {
- return;
- }
- this.trace('state=' +
- this.state +
- ' handling status with progress ' +
- status.progress +
- ' from child [' +
- this.underlyingCalls[callIndex].call.getCallNumber() +
- '] in state ' +
- this.underlyingCalls[callIndex].state);
- this.underlyingCalls[callIndex].state = 'COMPLETED';
- if (status.code === constants_1.Status.OK) {
- (_a = this.retryThrottler) === null || _a === void 0 ? void 0 : _a.addCallSucceeded();
- this.commitCall(callIndex);
- this.reportStatus(status);
- return;
- }
- if (this.state === 'NO_RETRY') {
- this.commitCall(callIndex);
- this.reportStatus(status);
- return;
- }
- if (this.state === 'COMMITTED') {
- this.reportStatus(status);
- return;
- }
- const pushback = this.getPushback(status.metadata);
- switch (status.progress) {
- case 'NOT_STARTED':
- // RPC never leaves the client, always safe to retry
- this.startNewAttempt();
- break;
- case 'REFUSED':
- // RPC reaches the server library, but not the server application logic
- if (this.transparentRetryUsed) {
- this.handleProcessedStatus(status, callIndex, pushback);
- }
- else {
- this.transparentRetryUsed = true;
- this.startNewAttempt();
- }
- break;
- case 'DROP':
- this.commitCall(callIndex);
- this.reportStatus(status);
- break;
- case 'PROCESSED':
- this.handleProcessedStatus(status, callIndex, pushback);
- break;
- }
- }
- maybeStartHedgingAttempt() {
- if (this.state !== 'HEDGING') {
- return;
- }
- if (!this.callConfig.methodConfig.hedgingPolicy) {
- return;
- }
- if (this.attempts >= this.maxAttempts) {
- return;
- }
- this.attempts += 1;
- this.startNewAttempt();
- this.maybeStartHedgingTimer();
- }
- maybeStartHedgingTimer() {
- var _a, _b, _c;
- if (this.hedgingTimer) {
- clearTimeout(this.hedgingTimer);
- }
- if (this.state !== 'HEDGING') {
- return;
- }
- if (!this.callConfig.methodConfig.hedgingPolicy) {
- return;
- }
- const hedgingPolicy = this.callConfig.methodConfig.hedgingPolicy;
- if (this.attempts >= this.maxAttempts) {
- return;
- }
- const hedgingDelayString = (_a = hedgingPolicy.hedgingDelay) !== null && _a !== void 0 ? _a : '0s';
- const hedgingDelaySec = Number(hedgingDelayString.substring(0, hedgingDelayString.length - 1));
- this.hedgingTimer = setTimeout(() => {
- this.maybeStartHedgingAttempt();
- }, hedgingDelaySec * 1000);
- (_c = (_b = this.hedgingTimer).unref) === null || _c === void 0 ? void 0 : _c.call(_b);
- }
- startNewAttempt() {
- const child = this.channel.createLoadBalancingCall(this.callConfig, this.methodName, this.host, this.credentials, this.deadline);
- this.trace('Created child call [' +
- child.getCallNumber() +
- '] for attempt ' +
- this.attempts);
- const index = this.underlyingCalls.length;
- this.underlyingCalls.push({
- state: 'ACTIVE',
- call: child,
- nextMessageToSend: 0,
- startTime: new Date(),
- });
- const previousAttempts = this.attempts - 1;
- const initialMetadata = this.initialMetadata.clone();
- if (previousAttempts > 0) {
- initialMetadata.set(PREVIONS_RPC_ATTEMPTS_METADATA_KEY, `${previousAttempts}`);
- }
- let receivedMetadata = false;
- child.start(initialMetadata, {
- onReceiveMetadata: metadata => {
- this.trace('Received metadata from child [' + child.getCallNumber() + ']');
- this.commitCall(index);
- receivedMetadata = true;
- if (previousAttempts > 0) {
- metadata.set(PREVIONS_RPC_ATTEMPTS_METADATA_KEY, `${previousAttempts}`);
- }
- if (this.underlyingCalls[index].state === 'ACTIVE') {
- this.listener.onReceiveMetadata(metadata);
- }
- },
- onReceiveMessage: message => {
- this.trace('Received message from child [' + child.getCallNumber() + ']');
- this.commitCall(index);
- if (this.underlyingCalls[index].state === 'ACTIVE') {
- this.listener.onReceiveMessage(message);
- }
- },
- onReceiveStatus: status => {
- this.trace('Received status from child [' + child.getCallNumber() + ']');
- if (!receivedMetadata && previousAttempts > 0) {
- status.metadata.set(PREVIONS_RPC_ATTEMPTS_METADATA_KEY, `${previousAttempts}`);
- }
- this.handleChildStatus(status, index);
- },
- });
- this.sendNextChildMessage(index);
- if (this.readStarted) {
- child.startRead();
- }
- }
- start(metadata, listener) {
- this.trace('start called');
- this.listener = listener;
- this.initialMetadata = metadata;
- this.attempts += 1;
- this.startNewAttempt();
- this.maybeStartHedgingTimer();
- }
- handleChildWriteCompleted(childIndex, messageIndex) {
- var _a, _b;
- (_b = (_a = this.getBufferEntry(messageIndex)).callback) === null || _b === void 0 ? void 0 : _b.call(_a);
- this.clearSentMessages();
- const childCall = this.underlyingCalls[childIndex];
- childCall.nextMessageToSend += 1;
- this.sendNextChildMessage(childIndex);
- }
- sendNextChildMessage(childIndex) {
- const childCall = this.underlyingCalls[childIndex];
- if (childCall.state === 'COMPLETED') {
- return;
- }
- const messageIndex = childCall.nextMessageToSend;
- if (this.getBufferEntry(messageIndex)) {
- const bufferEntry = this.getBufferEntry(messageIndex);
- switch (bufferEntry.entryType) {
- case 'MESSAGE':
- childCall.call.sendMessageWithContext({
- callback: error => {
- // Ignore error
- this.handleChildWriteCompleted(childIndex, messageIndex);
- },
- }, bufferEntry.message.message);
- // Optimization: if the next entry is HALF_CLOSE, send it immediately
- // without waiting for the message callback. This is safe because the message
- // has already been passed to the underlying transport.
- const nextEntry = this.getBufferEntry(messageIndex + 1);
- if (nextEntry.entryType === 'HALF_CLOSE') {
- this.trace('Sending halfClose immediately after message to child [' +
- childCall.call.getCallNumber() +
- '] - optimizing for unary/final message');
- childCall.nextMessageToSend += 1;
- childCall.call.halfClose();
- }
- break;
- case 'HALF_CLOSE':
- childCall.nextMessageToSend += 1;
- childCall.call.halfClose();
- break;
- case 'FREED':
- // Should not be possible
- break;
- }
- }
- }
- sendMessageWithContext(context, message) {
- this.trace('write() called with message of length ' + message.length);
- const writeObj = {
- message,
- flags: context.flags,
- };
- const messageIndex = this.getNextBufferIndex();
- const bufferEntry = {
- entryType: 'MESSAGE',
- message: writeObj,
- allocated: this.bufferTracker.allocate(message.length, this.callNumber),
- };
- this.writeBuffer.push(bufferEntry);
- if (bufferEntry.allocated) {
- // Run this in next tick to avoid suspending the current execution context
- // otherwise it might cause half closing the call before sending message
- process.nextTick(() => {
- var _a;
- (_a = context.callback) === null || _a === void 0 ? void 0 : _a.call(context);
- });
- for (const [callIndex, call] of this.underlyingCalls.entries()) {
- if (call.state === 'ACTIVE' &&
- call.nextMessageToSend === messageIndex) {
- call.call.sendMessageWithContext({
- callback: error => {
- // Ignore error
- this.handleChildWriteCompleted(callIndex, messageIndex);
- },
- }, message);
- }
- }
- }
- else {
- this.commitCallWithMostMessages();
- // commitCallWithMostMessages can fail if we are between ping attempts
- if (this.committedCallIndex === null) {
- return;
- }
- const call = this.underlyingCalls[this.committedCallIndex];
- bufferEntry.callback = context.callback;
- if (call.state === 'ACTIVE' && call.nextMessageToSend === messageIndex) {
- call.call.sendMessageWithContext({
- callback: error => {
- // Ignore error
- this.handleChildWriteCompleted(this.committedCallIndex, messageIndex);
- },
- }, message);
- }
- }
- }
- startRead() {
- this.trace('startRead called');
- this.readStarted = true;
- for (const underlyingCall of this.underlyingCalls) {
- if ((underlyingCall === null || underlyingCall === void 0 ? void 0 : underlyingCall.state) === 'ACTIVE') {
- underlyingCall.call.startRead();
- }
- }
- }
- halfClose() {
- this.trace('halfClose called');
- const halfCloseIndex = this.getNextBufferIndex();
- this.writeBuffer.push({
- entryType: 'HALF_CLOSE',
- allocated: false,
- });
- for (const call of this.underlyingCalls) {
- if ((call === null || call === void 0 ? void 0 : call.state) === 'ACTIVE') {
- // Send halfClose to call when either:
- // - nextMessageToSend === halfCloseIndex - 1: last message sent, callback pending (optimization)
- // - nextMessageToSend === halfCloseIndex: all messages sent and acknowledged
- if (call.nextMessageToSend === halfCloseIndex
- || call.nextMessageToSend === halfCloseIndex - 1) {
- this.trace('Sending halfClose immediately to child [' +
- call.call.getCallNumber() +
- '] - all messages already sent');
- call.nextMessageToSend += 1;
- call.call.halfClose();
- }
- // Otherwise, halfClose will be sent by sendNextChildMessage when message callbacks complete
- }
- }
- }
- setCredentials(newCredentials) {
- throw new Error('Method not implemented.');
- }
- getMethod() {
- return this.methodName;
- }
- getHost() {
- return this.host;
- }
- getAuthContext() {
- if (this.committedCallIndex !== null) {
- return this.underlyingCalls[this.committedCallIndex].call.getAuthContext();
- }
- else {
- return null;
- }
- }
-}
-exports.RetryingCall = RetryingCall;
-//# sourceMappingURL=retrying-call.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/retrying-call.js.map b/node_modules/@grpc/grpc-js/build/src/retrying-call.js.map
deleted file mode 100644
index 13a5042..0000000
--- a/node_modules/@grpc/grpc-js/build/src/retrying-call.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"retrying-call.js","sourceRoot":"","sources":["../../src/retrying-call.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAGH,2CAAmD;AACnD,yCAA4D;AAC5D,yCAAsC;AAEtC,qCAAqC;AAiBrC,MAAM,WAAW,GAAG,eAAe,CAAC;AAEpC,MAAa,cAAc;IAEzB,YACmB,SAAiB,EACjB,UAAkB,EACnC,sBAAuC;QAFtB,cAAS,GAAT,SAAS,CAAQ;QACjB,eAAU,GAAV,UAAU,CAAQ;QAGnC,IAAI,sBAAsB,EAAE,CAAC;YAC3B;+BACmB;YACnB,IAAI,CAAC,MAAM;gBACT,sBAAsB,CAAC,MAAM;oBAC7B,CAAC,SAAS,GAAG,sBAAsB,CAAC,SAAS,CAAC,CAAC;QACnD,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;QAC1B,CAAC;IACH,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC;IACxE,CAAC;IAED,aAAa;QACX,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAC7C,CAAC;IAED,YAAY;QACV,OAAO,IAAI,CAAC,MAAM,GAAG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CAAC;QACH,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YACxC,IAAI,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,MAAK,QAAQ,EAAE,CAAC;gBAC7B,sCAAsC;gBACtC,iGAAiG;gBACjG,6EAA6E;gBAC7E,IAAI,IAAI,CAAC,iBAAiB,KAAK,cAAc;uBACxC,IAAI,CAAC,iBAAiB,KAAK,cAAc,GAAG,CAAC,EAAE,CAAC;oBACnD,IAAI,CAAC,KAAK,CACR,0CAA0C;wBACxC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE;wBACzB,+BAA+B,CAClC,CAAC;oBACF,IAAI,CAAC,iBAAiB,IAAI,CAAC,CAAC;oBAC5B,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;gBACxB,CAAC;gBACD,4FAA4F;YAC9F,CAAC;QACH,CAAC;IACH,CAAC;IACD,cAAc,CAAC,cAA+B;QAC5C,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IACD,SAAS;QACP,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IACD,OAAO;QACL,OAAO,IAAI,CAAC,IAAI,CAAC;IACnB,CAAC;IACD,cAAc;QACZ,IAAI,IAAI,CAAC,kBAAkB,KAAK,IAAI,EAAE,CAAC;YACrC,OAAO,IAAI,CAAC,eAAe,CACzB,IAAI,CAAC,kBAAkB,CACxB,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;QAC1B,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;CACF;AApuBD,oCAouBC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/server-call.d.ts b/node_modules/@grpc/grpc-js/build/src/server-call.d.ts
deleted file mode 100644
index 0f3d779..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-call.d.ts
+++ /dev/null
@@ -1,141 +0,0 @@
-import { EventEmitter } from 'events';
-import { Duplex, Readable, Writable } from 'stream';
-import type { Deserialize, Serialize } from './make-client';
-import { Metadata } from './metadata';
-import type { ObjectReadable, ObjectWritable } from './object-stream';
-import type { StatusObject, PartialStatusObject } from './call-interface';
-import type { Deadline } from './deadline';
-import type { ServerInterceptingCallInterface } from './server-interceptors';
-import { AuthContext } from './auth-context';
-import { PerRequestMetricRecorder } from './orca';
-export type ServerStatusResponse = Partial;
-export type ServerErrorResponse = ServerStatusResponse & Error;
-export type ServerSurfaceCall = {
- cancelled: boolean;
- readonly metadata: Metadata;
- getPeer(): string;
- sendMetadata(responseMetadata: Metadata): void;
- getDeadline(): Deadline;
- getPath(): string;
- getHost(): string;
- getAuthContext(): AuthContext;
- getMetricsRecorder(): PerRequestMetricRecorder;
-} & EventEmitter;
-export type ServerUnaryCall = ServerSurfaceCall & {
- request: RequestType;
-};
-export type ServerReadableStream = ServerSurfaceCall & ObjectReadable;
-export type ServerWritableStream = ServerSurfaceCall & ObjectWritable & {
- request: RequestType;
- end: (metadata?: Metadata) => void;
-};
-export type ServerDuplexStream = ServerSurfaceCall & ObjectReadable & ObjectWritable & {
- end: (metadata?: Metadata) => void;
-};
-export declare function serverErrorToStatus(error: ServerErrorResponse | ServerStatusResponse, overrideTrailers?: Metadata | undefined): PartialStatusObject;
-export declare class ServerUnaryCallImpl extends EventEmitter implements ServerUnaryCall {
- private path;
- private call;
- metadata: Metadata;
- request: RequestType;
- cancelled: boolean;
- constructor(path: string, call: ServerInterceptingCallInterface, metadata: Metadata, request: RequestType);
- getPeer(): string;
- sendMetadata(responseMetadata: Metadata): void;
- getDeadline(): Deadline;
- getPath(): string;
- getHost(): string;
- getAuthContext(): AuthContext;
- getMetricsRecorder(): PerRequestMetricRecorder;
-}
-export declare class ServerReadableStreamImpl extends Readable implements ServerReadableStream {
- private path;
- private call;
- metadata: Metadata;
- cancelled: boolean;
- constructor(path: string, call: ServerInterceptingCallInterface, metadata: Metadata);
- _read(size: number): void;
- getPeer(): string;
- sendMetadata(responseMetadata: Metadata): void;
- getDeadline(): Deadline;
- getPath(): string;
- getHost(): string;
- getAuthContext(): AuthContext;
- getMetricsRecorder(): PerRequestMetricRecorder;
-}
-export declare class ServerWritableStreamImpl extends Writable implements ServerWritableStream {
- private path;
- private call;
- metadata: Metadata;
- request: RequestType;
- cancelled: boolean;
- private trailingMetadata;
- private pendingStatus;
- constructor(path: string, call: ServerInterceptingCallInterface, metadata: Metadata, request: RequestType);
- getPeer(): string;
- sendMetadata(responseMetadata: Metadata): void;
- getDeadline(): Deadline;
- getPath(): string;
- getHost(): string;
- getAuthContext(): AuthContext;
- getMetricsRecorder(): PerRequestMetricRecorder;
- _write(chunk: ResponseType, encoding: string, callback: (...args: any[]) => void): void;
- _final(callback: Function): void;
- end(metadata?: any): this;
-}
-export declare class ServerDuplexStreamImpl extends Duplex implements ServerDuplexStream {
- private path;
- private call;
- metadata: Metadata;
- cancelled: boolean;
- private trailingMetadata;
- private pendingStatus;
- constructor(path: string, call: ServerInterceptingCallInterface, metadata: Metadata);
- getPeer(): string;
- sendMetadata(responseMetadata: Metadata): void;
- getDeadline(): Deadline;
- getPath(): string;
- getHost(): string;
- getAuthContext(): AuthContext;
- getMetricsRecorder(): PerRequestMetricRecorder;
- _read(size: number): void;
- _write(chunk: ResponseType, encoding: string, callback: (...args: any[]) => void): void;
- _final(callback: Function): void;
- end(metadata?: any): this;
-}
-export type sendUnaryData = (error: ServerErrorResponse | ServerStatusResponse | null, value?: ResponseType | null, trailer?: Metadata, flags?: number) => void;
-export type handleUnaryCall = (call: ServerUnaryCall, callback: sendUnaryData) => void;
-export type handleClientStreamingCall = (call: ServerReadableStream, callback: sendUnaryData) => void;
-export type handleServerStreamingCall = (call: ServerWritableStream) => void;
-export type handleBidiStreamingCall = (call: ServerDuplexStream) => void;
-export type HandleCall = handleUnaryCall | handleClientStreamingCall | handleServerStreamingCall | handleBidiStreamingCall;
-export interface UnaryHandler {
- func: handleUnaryCall;
- serialize: Serialize;
- deserialize: Deserialize;
- type: 'unary';
- path: string;
-}
-export interface ClientStreamingHandler {
- func: handleClientStreamingCall;
- serialize: Serialize;
- deserialize: Deserialize;
- type: 'clientStream';
- path: string;
-}
-export interface ServerStreamingHandler {
- func: handleServerStreamingCall;
- serialize: Serialize;
- deserialize: Deserialize;
- type: 'serverStream';
- path: string;
-}
-export interface BidiStreamingHandler {
- func: handleBidiStreamingCall;
- serialize: Serialize;
- deserialize: Deserialize;
- type: 'bidi';
- path: string;
-}
-export type Handler = UnaryHandler | ClientStreamingHandler | ServerStreamingHandler | BidiStreamingHandler;
-export type HandlerType = 'bidi' | 'clientStream' | 'serverStream' | 'unary';
diff --git a/node_modules/@grpc/grpc-js/build/src/server-call.js b/node_modules/@grpc/grpc-js/build/src/server-call.js
deleted file mode 100644
index 521f4d3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-call.js
+++ /dev/null
@@ -1,226 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ServerDuplexStreamImpl = exports.ServerWritableStreamImpl = exports.ServerReadableStreamImpl = exports.ServerUnaryCallImpl = void 0;
-exports.serverErrorToStatus = serverErrorToStatus;
-const events_1 = require("events");
-const stream_1 = require("stream");
-const constants_1 = require("./constants");
-const metadata_1 = require("./metadata");
-function serverErrorToStatus(error, overrideTrailers) {
- var _a;
- const status = {
- code: constants_1.Status.UNKNOWN,
- details: 'message' in error ? error.message : 'Unknown Error',
- metadata: (_a = overrideTrailers !== null && overrideTrailers !== void 0 ? overrideTrailers : error.metadata) !== null && _a !== void 0 ? _a : null,
- };
- if ('code' in error &&
- typeof error.code === 'number' &&
- Number.isInteger(error.code)) {
- status.code = error.code;
- if ('details' in error && typeof error.details === 'string') {
- status.details = error.details;
- }
- }
- return status;
-}
-class ServerUnaryCallImpl extends events_1.EventEmitter {
- constructor(path, call, metadata, request) {
- super();
- this.path = path;
- this.call = call;
- this.metadata = metadata;
- this.request = request;
- this.cancelled = false;
- }
- getPeer() {
- return this.call.getPeer();
- }
- sendMetadata(responseMetadata) {
- this.call.sendMetadata(responseMetadata);
- }
- getDeadline() {
- return this.call.getDeadline();
- }
- getPath() {
- return this.path;
- }
- getHost() {
- return this.call.getHost();
- }
- getAuthContext() {
- return this.call.getAuthContext();
- }
- getMetricsRecorder() {
- return this.call.getMetricsRecorder();
- }
-}
-exports.ServerUnaryCallImpl = ServerUnaryCallImpl;
-class ServerReadableStreamImpl extends stream_1.Readable {
- constructor(path, call, metadata) {
- super({ objectMode: true });
- this.path = path;
- this.call = call;
- this.metadata = metadata;
- this.cancelled = false;
- }
- _read(size) {
- this.call.startRead();
- }
- getPeer() {
- return this.call.getPeer();
- }
- sendMetadata(responseMetadata) {
- this.call.sendMetadata(responseMetadata);
- }
- getDeadline() {
- return this.call.getDeadline();
- }
- getPath() {
- return this.path;
- }
- getHost() {
- return this.call.getHost();
- }
- getAuthContext() {
- return this.call.getAuthContext();
- }
- getMetricsRecorder() {
- return this.call.getMetricsRecorder();
- }
-}
-exports.ServerReadableStreamImpl = ServerReadableStreamImpl;
-class ServerWritableStreamImpl extends stream_1.Writable {
- constructor(path, call, metadata, request) {
- super({ objectMode: true });
- this.path = path;
- this.call = call;
- this.metadata = metadata;
- this.request = request;
- this.pendingStatus = {
- code: constants_1.Status.OK,
- details: 'OK',
- };
- this.cancelled = false;
- this.trailingMetadata = new metadata_1.Metadata();
- this.on('error', err => {
- this.pendingStatus = serverErrorToStatus(err);
- this.end();
- });
- }
- getPeer() {
- return this.call.getPeer();
- }
- sendMetadata(responseMetadata) {
- this.call.sendMetadata(responseMetadata);
- }
- getDeadline() {
- return this.call.getDeadline();
- }
- getPath() {
- return this.path;
- }
- getHost() {
- return this.call.getHost();
- }
- getAuthContext() {
- return this.call.getAuthContext();
- }
- getMetricsRecorder() {
- return this.call.getMetricsRecorder();
- }
- _write(chunk, encoding,
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- callback) {
- this.call.sendMessage(chunk, callback);
- }
- _final(callback) {
- var _a;
- callback(null);
- this.call.sendStatus(Object.assign(Object.assign({}, this.pendingStatus), { metadata: (_a = this.pendingStatus.metadata) !== null && _a !== void 0 ? _a : this.trailingMetadata }));
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- end(metadata) {
- if (metadata) {
- this.trailingMetadata = metadata;
- }
- return super.end();
- }
-}
-exports.ServerWritableStreamImpl = ServerWritableStreamImpl;
-class ServerDuplexStreamImpl extends stream_1.Duplex {
- constructor(path, call, metadata) {
- super({ objectMode: true });
- this.path = path;
- this.call = call;
- this.metadata = metadata;
- this.pendingStatus = {
- code: constants_1.Status.OK,
- details: 'OK',
- };
- this.cancelled = false;
- this.trailingMetadata = new metadata_1.Metadata();
- this.on('error', err => {
- this.pendingStatus = serverErrorToStatus(err);
- this.end();
- });
- }
- getPeer() {
- return this.call.getPeer();
- }
- sendMetadata(responseMetadata) {
- this.call.sendMetadata(responseMetadata);
- }
- getDeadline() {
- return this.call.getDeadline();
- }
- getPath() {
- return this.path;
- }
- getHost() {
- return this.call.getHost();
- }
- getAuthContext() {
- return this.call.getAuthContext();
- }
- getMetricsRecorder() {
- return this.call.getMetricsRecorder();
- }
- _read(size) {
- this.call.startRead();
- }
- _write(chunk, encoding,
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- callback) {
- this.call.sendMessage(chunk, callback);
- }
- _final(callback) {
- var _a;
- callback(null);
- this.call.sendStatus(Object.assign(Object.assign({}, this.pendingStatus), { metadata: (_a = this.pendingStatus.metadata) !== null && _a !== void 0 ? _a : this.trailingMetadata }));
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- end(metadata) {
- if (metadata) {
- this.trailingMetadata = metadata;
- }
- return super.end();
- }
-}
-exports.ServerDuplexStreamImpl = ServerDuplexStreamImpl;
-//# sourceMappingURL=server-call.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/server-call.js.map b/node_modules/@grpc/grpc-js/build/src/server-call.js.map
deleted file mode 100644
index 51c2053..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-call.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"server-call.js","sourceRoot":"","sources":["../../src/server-call.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA8CH,kDAsBC;AAlED,mCAAsC;AACtC,mCAAoD;AAEpD,2CAAqC;AAErC,yCAAsC;AAuCtC,SAAgB,mBAAmB,CACjC,KAAiD,EACjD,gBAAuC;;IAEvC,MAAM,MAAM,GAAwB;QAClC,IAAI,EAAE,kBAAM,CAAC,OAAO;QACpB,OAAO,EAAE,SAAS,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;QAC7D,QAAQ,EAAE,MAAA,gBAAgB,aAAhB,gBAAgB,cAAhB,gBAAgB,GAAI,KAAK,CAAC,QAAQ,mCAAI,IAAI;KACrD,CAAC;IAEF,IACE,MAAM,IAAI,KAAK;QACf,OAAO,KAAK,CAAC,IAAI,KAAK,QAAQ;QAC9B,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,EAC5B,CAAC;QACD,MAAM,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC;QAEzB,IAAI,SAAS,IAAI,KAAK,IAAI,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;YAC5D,MAAM,CAAC,OAAO,GAAG,KAAK,CAAC,OAAQ,CAAC;QAClC,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CA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,QAAkC;QAElC,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;IACzC,CAAC;IAED,MAAM,CAAC,QAAkB;;QACvB,QAAQ,CAAC,IAAI,CAAC,CAAC;QACf,IAAI,CAAC,IAAI,CAAC,UAAU,iCACf,IAAI,CAAC,aAAa,KACrB,QAAQ,EAAE,MAAA,IAAI,CAAC,aAAa,CAAC,QAAQ,mCAAI,IAAI,CAAC,gBAAgB,IAC9D,CAAC;IACL,CAAC;IAED,8DAA8D;IAC9D,GAAG,CAAC,QAAc;QAChB,IAAI,QAAQ,EAAE,CAAC;YACb,IAAI,CAAC,gBAAgB,GAAG,QAAQ,CAAC;QACnC,CAAC;QAED,OAAO,KAAK,CAAC,GAAG,EAAE,CAAC;IACrB,CAAC;CACF;AAnFD,wDAmFC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts b/node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts
deleted file mode 100644
index 2d4fe0c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-credentials.d.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-import { SecureServerOptions } from 'http2';
-import { SecureContextOptions } from 'tls';
-import { ServerInterceptor } from '.';
-import { CertificateProvider } from './certificate-provider';
-export interface KeyCertPair {
- private_key: Buffer;
- cert_chain: Buffer;
-}
-export interface SecureContextWatcher {
- (context: SecureContextOptions | null): void;
-}
-export declare abstract class ServerCredentials {
- private serverConstructorOptions;
- private watchers;
- private latestContextOptions;
- constructor(serverConstructorOptions: SecureServerOptions | null, contextOptions?: SecureContextOptions);
- _addWatcher(watcher: SecureContextWatcher): void;
- _removeWatcher(watcher: SecureContextWatcher): void;
- protected getWatcherCount(): number;
- protected updateSecureContextOptions(options: SecureContextOptions | null): void;
- _isSecure(): boolean;
- _getSecureContextOptions(): SecureContextOptions | null;
- _getConstructorOptions(): SecureServerOptions | null;
- _getInterceptors(): ServerInterceptor[];
- abstract _equals(other: ServerCredentials): boolean;
- static createInsecure(): ServerCredentials;
- static createSsl(rootCerts: Buffer | null, keyCertPairs: KeyCertPair[], checkClientCertificate?: boolean): ServerCredentials;
-}
-declare class CertificateProviderServerCredentials extends ServerCredentials {
- private identityCertificateProvider;
- private caCertificateProvider;
- private requireClientCertificate;
- private latestCaUpdate;
- private latestIdentityUpdate;
- private caCertificateUpdateListener;
- private identityCertificateUpdateListener;
- constructor(identityCertificateProvider: CertificateProvider, caCertificateProvider: CertificateProvider | null, requireClientCertificate: boolean);
- _addWatcher(watcher: SecureContextWatcher): void;
- _removeWatcher(watcher: SecureContextWatcher): void;
- _equals(other: ServerCredentials): boolean;
- private calculateSecureContextOptions;
- private finalizeUpdate;
- private handleCaCertificateUpdate;
- private handleIdentityCertitificateUpdate;
-}
-export declare function createCertificateProviderServerCredentials(caCertificateProvider: CertificateProvider, identityCertificateProvider: CertificateProvider | null, requireClientCertificate: boolean): CertificateProviderServerCredentials;
-export declare function createServerCredentialsWithInterceptors(credentials: ServerCredentials, interceptors: ServerInterceptor[]): ServerCredentials;
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/server-credentials.js b/node_modules/@grpc/grpc-js/build/src/server-credentials.js
deleted file mode 100644
index f8800f8..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-credentials.js
+++ /dev/null
@@ -1,314 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.ServerCredentials = void 0;
-exports.createCertificateProviderServerCredentials = createCertificateProviderServerCredentials;
-exports.createServerCredentialsWithInterceptors = createServerCredentialsWithInterceptors;
-const tls_helpers_1 = require("./tls-helpers");
-class ServerCredentials {
- constructor(serverConstructorOptions, contextOptions) {
- this.serverConstructorOptions = serverConstructorOptions;
- this.watchers = new Set();
- this.latestContextOptions = null;
- this.latestContextOptions = contextOptions !== null && contextOptions !== void 0 ? contextOptions : null;
- }
- _addWatcher(watcher) {
- this.watchers.add(watcher);
- }
- _removeWatcher(watcher) {
- this.watchers.delete(watcher);
- }
- getWatcherCount() {
- return this.watchers.size;
- }
- updateSecureContextOptions(options) {
- this.latestContextOptions = options;
- for (const watcher of this.watchers) {
- watcher(this.latestContextOptions);
- }
- }
- _isSecure() {
- return this.serverConstructorOptions !== null;
- }
- _getSecureContextOptions() {
- return this.latestContextOptions;
- }
- _getConstructorOptions() {
- return this.serverConstructorOptions;
- }
- _getInterceptors() {
- return [];
- }
- static createInsecure() {
- return new InsecureServerCredentials();
- }
- static createSsl(rootCerts, keyCertPairs, checkClientCertificate = false) {
- var _a;
- if (rootCerts !== null && !Buffer.isBuffer(rootCerts)) {
- throw new TypeError('rootCerts must be null or a Buffer');
- }
- if (!Array.isArray(keyCertPairs)) {
- throw new TypeError('keyCertPairs must be an array');
- }
- if (typeof checkClientCertificate !== 'boolean') {
- throw new TypeError('checkClientCertificate must be a boolean');
- }
- const cert = [];
- const key = [];
- for (let i = 0; i < keyCertPairs.length; i++) {
- const pair = keyCertPairs[i];
- if (pair === null || typeof pair !== 'object') {
- throw new TypeError(`keyCertPair[${i}] must be an object`);
- }
- if (!Buffer.isBuffer(pair.private_key)) {
- throw new TypeError(`keyCertPair[${i}].private_key must be a Buffer`);
- }
- if (!Buffer.isBuffer(pair.cert_chain)) {
- throw new TypeError(`keyCertPair[${i}].cert_chain must be a Buffer`);
- }
- cert.push(pair.cert_chain);
- key.push(pair.private_key);
- }
- return new SecureServerCredentials({
- requestCert: checkClientCertificate,
- ciphers: tls_helpers_1.CIPHER_SUITES,
- }, {
- ca: (_a = rootCerts !== null && rootCerts !== void 0 ? rootCerts : (0, tls_helpers_1.getDefaultRootsData)()) !== null && _a !== void 0 ? _a : undefined,
- cert,
- key,
- });
- }
-}
-exports.ServerCredentials = ServerCredentials;
-class InsecureServerCredentials extends ServerCredentials {
- constructor() {
- super(null);
- }
- _getSettings() {
- return null;
- }
- _equals(other) {
- return other instanceof InsecureServerCredentials;
- }
-}
-class SecureServerCredentials extends ServerCredentials {
- constructor(constructorOptions, contextOptions) {
- super(constructorOptions, contextOptions);
- this.options = Object.assign(Object.assign({}, constructorOptions), contextOptions);
- }
- /**
- * Checks equality by checking the options that are actually set by
- * createSsl.
- * @param other
- * @returns
- */
- _equals(other) {
- if (this === other) {
- return true;
- }
- if (!(other instanceof SecureServerCredentials)) {
- return false;
- }
- // options.ca equality check
- if (Buffer.isBuffer(this.options.ca) && Buffer.isBuffer(other.options.ca)) {
- if (!this.options.ca.equals(other.options.ca)) {
- return false;
- }
- }
- else {
- if (this.options.ca !== other.options.ca) {
- return false;
- }
- }
- // options.cert equality check
- if (Array.isArray(this.options.cert) && Array.isArray(other.options.cert)) {
- if (this.options.cert.length !== other.options.cert.length) {
- return false;
- }
- for (let i = 0; i < this.options.cert.length; i++) {
- const thisCert = this.options.cert[i];
- const otherCert = other.options.cert[i];
- if (Buffer.isBuffer(thisCert) && Buffer.isBuffer(otherCert)) {
- if (!thisCert.equals(otherCert)) {
- return false;
- }
- }
- else {
- if (thisCert !== otherCert) {
- return false;
- }
- }
- }
- }
- else {
- if (this.options.cert !== other.options.cert) {
- return false;
- }
- }
- // options.key equality check
- if (Array.isArray(this.options.key) && Array.isArray(other.options.key)) {
- if (this.options.key.length !== other.options.key.length) {
- return false;
- }
- for (let i = 0; i < this.options.key.length; i++) {
- const thisKey = this.options.key[i];
- const otherKey = other.options.key[i];
- if (Buffer.isBuffer(thisKey) && Buffer.isBuffer(otherKey)) {
- if (!thisKey.equals(otherKey)) {
- return false;
- }
- }
- else {
- if (thisKey !== otherKey) {
- return false;
- }
- }
- }
- }
- else {
- if (this.options.key !== other.options.key) {
- return false;
- }
- }
- // options.requestCert equality check
- if (this.options.requestCert !== other.options.requestCert) {
- return false;
- }
- /* ciphers is derived from a value that is constant for the process, so no
- * equality check is needed. */
- return true;
- }
-}
-class CertificateProviderServerCredentials extends ServerCredentials {
- constructor(identityCertificateProvider, caCertificateProvider, requireClientCertificate) {
- super({
- requestCert: caCertificateProvider !== null,
- rejectUnauthorized: requireClientCertificate,
- ciphers: tls_helpers_1.CIPHER_SUITES
- });
- this.identityCertificateProvider = identityCertificateProvider;
- this.caCertificateProvider = caCertificateProvider;
- this.requireClientCertificate = requireClientCertificate;
- this.latestCaUpdate = null;
- this.latestIdentityUpdate = null;
- this.caCertificateUpdateListener = this.handleCaCertificateUpdate.bind(this);
- this.identityCertificateUpdateListener = this.handleIdentityCertitificateUpdate.bind(this);
- }
- _addWatcher(watcher) {
- var _a;
- if (this.getWatcherCount() === 0) {
- (_a = this.caCertificateProvider) === null || _a === void 0 ? void 0 : _a.addCaCertificateListener(this.caCertificateUpdateListener);
- this.identityCertificateProvider.addIdentityCertificateListener(this.identityCertificateUpdateListener);
- }
- super._addWatcher(watcher);
- }
- _removeWatcher(watcher) {
- var _a;
- super._removeWatcher(watcher);
- if (this.getWatcherCount() === 0) {
- (_a = this.caCertificateProvider) === null || _a === void 0 ? void 0 : _a.removeCaCertificateListener(this.caCertificateUpdateListener);
- this.identityCertificateProvider.removeIdentityCertificateListener(this.identityCertificateUpdateListener);
- }
- }
- _equals(other) {
- if (this === other) {
- return true;
- }
- if (!(other instanceof CertificateProviderServerCredentials)) {
- return false;
- }
- return (this.caCertificateProvider === other.caCertificateProvider &&
- this.identityCertificateProvider === other.identityCertificateProvider &&
- this.requireClientCertificate === other.requireClientCertificate);
- }
- calculateSecureContextOptions() {
- var _a;
- if (this.latestIdentityUpdate === null) {
- return null;
- }
- if (this.caCertificateProvider !== null && this.latestCaUpdate === null) {
- return null;
- }
- return {
- ca: (_a = this.latestCaUpdate) === null || _a === void 0 ? void 0 : _a.caCertificate,
- cert: [this.latestIdentityUpdate.certificate],
- key: [this.latestIdentityUpdate.privateKey],
- };
- }
- finalizeUpdate() {
- const secureContextOptions = this.calculateSecureContextOptions();
- this.updateSecureContextOptions(secureContextOptions);
- }
- handleCaCertificateUpdate(update) {
- this.latestCaUpdate = update;
- this.finalizeUpdate();
- }
- handleIdentityCertitificateUpdate(update) {
- this.latestIdentityUpdate = update;
- this.finalizeUpdate();
- }
-}
-function createCertificateProviderServerCredentials(caCertificateProvider, identityCertificateProvider, requireClientCertificate) {
- return new CertificateProviderServerCredentials(caCertificateProvider, identityCertificateProvider, requireClientCertificate);
-}
-class InterceptorServerCredentials extends ServerCredentials {
- constructor(childCredentials, interceptors) {
- super({});
- this.childCredentials = childCredentials;
- this.interceptors = interceptors;
- }
- _isSecure() {
- return this.childCredentials._isSecure();
- }
- _equals(other) {
- if (!(other instanceof InterceptorServerCredentials)) {
- return false;
- }
- if (!(this.childCredentials._equals(other.childCredentials))) {
- return false;
- }
- if (this.interceptors.length !== other.interceptors.length) {
- return false;
- }
- for (let i = 0; i < this.interceptors.length; i++) {
- if (this.interceptors[i] !== other.interceptors[i]) {
- return false;
- }
- }
- return true;
- }
- _getInterceptors() {
- return this.interceptors;
- }
- _addWatcher(watcher) {
- this.childCredentials._addWatcher(watcher);
- }
- _removeWatcher(watcher) {
- this.childCredentials._removeWatcher(watcher);
- }
- _getConstructorOptions() {
- return this.childCredentials._getConstructorOptions();
- }
- _getSecureContextOptions() {
- return this.childCredentials._getSecureContextOptions();
- }
-}
-function createServerCredentialsWithInterceptors(credentials, interceptors) {
- return new InterceptorServerCredentials(credentials, interceptors);
-}
-//# sourceMappingURL=server-credentials.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/server-credentials.js.map b/node_modules/@grpc/grpc-js/build/src/server-credentials.js.map
deleted file mode 100644
index 02658e0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-credentials.js.map
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;IACd,CAAC;IACQ,gBAAgB;QACvB,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IACQ,WAAW,CAAC,OAA6B;QAChD,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAC7C,CAAC;IACQ,cAAc,CAAC,OAA6B;QACnD,IAAI,CAAC,gBAAgB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;IAChD,CAAC;IACQ,sBAAsB;QAC7B,OAAO,IAAI,CAAC,gBAAgB,CAAC,sBAAsB,EAAE,CAAC;IACxD,CAAC;IACQ,wBAAwB;QAC/B,OAAO,IAAI,CAAC,gBAAgB,CAAC,wBAAwB,EAAE,CAAC;IAC1D,CAAC;CACF;AAED,SAAgB,uCAAuC,CAAC,WAA8B,EAAE,YAAiC;IACvH,OAAO,IAAI,4BAA4B,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AACrE,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/server-interceptors.d.ts b/node_modules/@grpc/grpc-js/build/src/server-interceptors.d.ts
deleted file mode 100644
index ab05b76..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-interceptors.d.ts
+++ /dev/null
@@ -1,216 +0,0 @@
-import { PartialStatusObject } from './call-interface';
-import { ServerMethodDefinition } from './make-client';
-import { Metadata } from './metadata';
-import { ChannelOptions } from './channel-options';
-import { Handler } from './server-call';
-import { Deadline } from './deadline';
-import * as http2 from 'http2';
-import { CallEventTracker } from './transport';
-import { AuthContext } from './auth-context';
-import { PerRequestMetricRecorder } from './orca';
-export interface ServerMetadataListener {
- (metadata: Metadata, next: (metadata: Metadata) => void): void;
-}
-export interface ServerMessageListener {
- (message: any, next: (message: any) => void): void;
-}
-export interface ServerHalfCloseListener {
- (next: () => void): void;
-}
-export interface ServerCancelListener {
- (): void;
-}
-export interface FullServerListener {
- onReceiveMetadata: ServerMetadataListener;
- onReceiveMessage: ServerMessageListener;
- onReceiveHalfClose: ServerHalfCloseListener;
- onCancel: ServerCancelListener;
-}
-export type ServerListener = Partial;
-export declare class ServerListenerBuilder {
- private metadata;
- private message;
- private halfClose;
- private cancel;
- withOnReceiveMetadata(onReceiveMetadata: ServerMetadataListener): this;
- withOnReceiveMessage(onReceiveMessage: ServerMessageListener): this;
- withOnReceiveHalfClose(onReceiveHalfClose: ServerHalfCloseListener): this;
- withOnCancel(onCancel: ServerCancelListener): this;
- build(): ServerListener;
-}
-export interface InterceptingServerListener {
- onReceiveMetadata(metadata: Metadata): void;
- onReceiveMessage(message: any): void;
- onReceiveHalfClose(): void;
- onCancel(): void;
-}
-export declare function isInterceptingServerListener(listener: ServerListener | InterceptingServerListener): listener is InterceptingServerListener;
-export interface StartResponder {
- (next: (listener?: ServerListener) => void): void;
-}
-export interface MetadataResponder {
- (metadata: Metadata, next: (metadata: Metadata) => void): void;
-}
-export interface MessageResponder {
- (message: any, next: (message: any) => void): void;
-}
-export interface StatusResponder {
- (status: PartialStatusObject, next: (status: PartialStatusObject) => void): void;
-}
-export interface FullResponder {
- start: StartResponder;
- sendMetadata: MetadataResponder;
- sendMessage: MessageResponder;
- sendStatus: StatusResponder;
-}
-export type Responder = Partial;
-export declare class ResponderBuilder {
- private start;
- private metadata;
- private message;
- private status;
- withStart(start: StartResponder): this;
- withSendMetadata(sendMetadata: MetadataResponder): this;
- withSendMessage(sendMessage: MessageResponder): this;
- withSendStatus(sendStatus: StatusResponder): this;
- build(): Responder;
-}
-export interface ConnectionInfo {
- localAddress?: string | undefined;
- localPort?: number | undefined;
- remoteAddress?: string | undefined;
- remotePort?: number | undefined;
-}
-export interface ServerInterceptingCallInterface {
- /**
- * Register the listener to handle inbound events.
- */
- start(listener: InterceptingServerListener): void;
- /**
- * Send response metadata.
- */
- sendMetadata(metadata: Metadata): void;
- /**
- * Send a response message.
- */
- sendMessage(message: any, callback: () => void): void;
- /**
- * End the call by sending this status.
- */
- sendStatus(status: PartialStatusObject): void;
- /**
- * Start a single read, eventually triggering either listener.onReceiveMessage or listener.onReceiveHalfClose.
- */
- startRead(): void;
- /**
- * Return the peer address of the client making the request, if known, or "unknown" otherwise
- */
- getPeer(): string;
- /**
- * Return the call deadline set by the client. The value is Infinity if there is no deadline.
- */
- getDeadline(): Deadline;
- /**
- * Return the host requested by the client in the ":authority" header.
- */
- getHost(): string;
- /**
- * Return the auth context of the connection the call is associated with.
- */
- getAuthContext(): AuthContext;
- /**
- * Return information about the connection used to make the call.
- */
- getConnectionInfo(): ConnectionInfo;
- /**
- * Get the metrics recorder for this call. Metrics will not be sent unless
- * the server was constructed with the `grpc.server_call_metric_recording`
- * option.
- */
- getMetricsRecorder(): PerRequestMetricRecorder;
-}
-export declare class ServerInterceptingCall implements ServerInterceptingCallInterface {
- private nextCall;
- private responder;
- private processingMetadata;
- private sentMetadata;
- private processingMessage;
- private pendingMessage;
- private pendingMessageCallback;
- private pendingStatus;
- constructor(nextCall: ServerInterceptingCallInterface, responder?: Responder);
- private processPendingMessage;
- private processPendingStatus;
- start(listener: InterceptingServerListener): void;
- sendMetadata(metadata: Metadata): void;
- sendMessage(message: any, callback: () => void): void;
- sendStatus(status: PartialStatusObject): void;
- startRead(): void;
- getPeer(): string;
- getDeadline(): Deadline;
- getHost(): string;
- getAuthContext(): AuthContext;
- getConnectionInfo(): ConnectionInfo;
- getMetricsRecorder(): PerRequestMetricRecorder;
-}
-export interface ServerInterceptor {
- (methodDescriptor: ServerMethodDefinition, call: ServerInterceptingCallInterface): ServerInterceptingCall;
-}
-export declare class BaseServerInterceptingCall implements ServerInterceptingCallInterface {
- private readonly stream;
- private readonly callEventTracker;
- private readonly handler;
- private listener;
- private metadata;
- private deadlineTimer;
- private deadline;
- private maxSendMessageSize;
- private maxReceiveMessageSize;
- private cancelled;
- private metadataSent;
- private wantTrailers;
- private cancelNotified;
- private incomingEncoding;
- private decoder;
- private readQueue;
- private isReadPending;
- private receivedHalfClose;
- private streamEnded;
- private host;
- private connectionInfo;
- private metricsRecorder;
- private shouldSendMetrics;
- constructor(stream: http2.ServerHttp2Stream, headers: http2.IncomingHttpHeaders, callEventTracker: CallEventTracker | null, handler: Handler, options: ChannelOptions);
- private handleTimeoutHeader;
- private checkCancelled;
- private notifyOnCancel;
- /**
- * A server handler can start sending messages without explicitly sending
- * metadata. In that case, we need to send headers before sending any
- * messages. This function does that if necessary.
- */
- private maybeSendMetadata;
- /**
- * Serialize a message to a length-delimited byte string.
- * @param value
- * @returns
- */
- private serializeMessage;
- private decompressMessage;
- private decompressAndMaybePush;
- private maybePushNextMessage;
- private handleDataFrame;
- private handleEndEvent;
- start(listener: InterceptingServerListener): void;
- sendMetadata(metadata: Metadata): void;
- sendMessage(message: any, callback: () => void): void;
- sendStatus(status: PartialStatusObject): void;
- startRead(): void;
- getPeer(): string;
- getDeadline(): Deadline;
- getHost(): string;
- getAuthContext(): AuthContext;
- getConnectionInfo(): ConnectionInfo;
- getMetricsRecorder(): PerRequestMetricRecorder;
-}
-export declare function getServerInterceptingCall(interceptors: ServerInterceptor[], stream: http2.ServerHttp2Stream, headers: http2.IncomingHttpHeaders, callEventTracker: CallEventTracker | null, handler: Handler, options: ChannelOptions): ServerInterceptingCallInterface;
diff --git a/node_modules/@grpc/grpc-js/build/src/server-interceptors.js b/node_modules/@grpc/grpc-js/build/src/server-interceptors.js
deleted file mode 100644
index 4eded8c..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-interceptors.js
+++ /dev/null
@@ -1,816 +0,0 @@
-"use strict";
-/*
- * Copyright 2024 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.BaseServerInterceptingCall = exports.ServerInterceptingCall = exports.ResponderBuilder = exports.ServerListenerBuilder = void 0;
-exports.isInterceptingServerListener = isInterceptingServerListener;
-exports.getServerInterceptingCall = getServerInterceptingCall;
-const metadata_1 = require("./metadata");
-const constants_1 = require("./constants");
-const http2 = require("http2");
-const error_1 = require("./error");
-const zlib = require("zlib");
-const stream_decoder_1 = require("./stream-decoder");
-const logging = require("./logging");
-const tls_1 = require("tls");
-const orca_1 = require("./orca");
-const TRACER_NAME = 'server_call';
-function trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
-}
-class ServerListenerBuilder {
- constructor() {
- this.metadata = undefined;
- this.message = undefined;
- this.halfClose = undefined;
- this.cancel = undefined;
- }
- withOnReceiveMetadata(onReceiveMetadata) {
- this.metadata = onReceiveMetadata;
- return this;
- }
- withOnReceiveMessage(onReceiveMessage) {
- this.message = onReceiveMessage;
- return this;
- }
- withOnReceiveHalfClose(onReceiveHalfClose) {
- this.halfClose = onReceiveHalfClose;
- return this;
- }
- withOnCancel(onCancel) {
- this.cancel = onCancel;
- return this;
- }
- build() {
- return {
- onReceiveMetadata: this.metadata,
- onReceiveMessage: this.message,
- onReceiveHalfClose: this.halfClose,
- onCancel: this.cancel,
- };
- }
-}
-exports.ServerListenerBuilder = ServerListenerBuilder;
-function isInterceptingServerListener(listener) {
- return (listener.onReceiveMetadata !== undefined &&
- listener.onReceiveMetadata.length === 1);
-}
-class InterceptingServerListenerImpl {
- constructor(listener, nextListener) {
- this.listener = listener;
- this.nextListener = nextListener;
- /**
- * Once the call is cancelled, ignore all other events.
- */
- this.cancelled = false;
- this.processingMetadata = false;
- this.hasPendingMessage = false;
- this.pendingMessage = null;
- this.processingMessage = false;
- this.hasPendingHalfClose = false;
- }
- processPendingMessage() {
- if (this.hasPendingMessage) {
- this.nextListener.onReceiveMessage(this.pendingMessage);
- this.pendingMessage = null;
- this.hasPendingMessage = false;
- }
- }
- processPendingHalfClose() {
- if (this.hasPendingHalfClose) {
- this.nextListener.onReceiveHalfClose();
- this.hasPendingHalfClose = false;
- }
- }
- onReceiveMetadata(metadata) {
- if (this.cancelled) {
- return;
- }
- this.processingMetadata = true;
- this.listener.onReceiveMetadata(metadata, interceptedMetadata => {
- this.processingMetadata = false;
- if (this.cancelled) {
- return;
- }
- this.nextListener.onReceiveMetadata(interceptedMetadata);
- this.processPendingMessage();
- this.processPendingHalfClose();
- });
- }
- onReceiveMessage(message) {
- if (this.cancelled) {
- return;
- }
- this.processingMessage = true;
- this.listener.onReceiveMessage(message, msg => {
- this.processingMessage = false;
- if (this.cancelled) {
- return;
- }
- if (this.processingMetadata) {
- this.pendingMessage = msg;
- this.hasPendingMessage = true;
- }
- else {
- this.nextListener.onReceiveMessage(msg);
- this.processPendingHalfClose();
- }
- });
- }
- onReceiveHalfClose() {
- if (this.cancelled) {
- return;
- }
- this.listener.onReceiveHalfClose(() => {
- if (this.cancelled) {
- return;
- }
- if (this.processingMetadata || this.processingMessage) {
- this.hasPendingHalfClose = true;
- }
- else {
- this.nextListener.onReceiveHalfClose();
- }
- });
- }
- onCancel() {
- this.cancelled = true;
- this.listener.onCancel();
- this.nextListener.onCancel();
- }
-}
-class ResponderBuilder {
- constructor() {
- this.start = undefined;
- this.metadata = undefined;
- this.message = undefined;
- this.status = undefined;
- }
- withStart(start) {
- this.start = start;
- return this;
- }
- withSendMetadata(sendMetadata) {
- this.metadata = sendMetadata;
- return this;
- }
- withSendMessage(sendMessage) {
- this.message = sendMessage;
- return this;
- }
- withSendStatus(sendStatus) {
- this.status = sendStatus;
- return this;
- }
- build() {
- return {
- start: this.start,
- sendMetadata: this.metadata,
- sendMessage: this.message,
- sendStatus: this.status,
- };
- }
-}
-exports.ResponderBuilder = ResponderBuilder;
-const defaultServerListener = {
- onReceiveMetadata: (metadata, next) => {
- next(metadata);
- },
- onReceiveMessage: (message, next) => {
- next(message);
- },
- onReceiveHalfClose: next => {
- next();
- },
- onCancel: () => { },
-};
-const defaultResponder = {
- start: next => {
- next();
- },
- sendMetadata: (metadata, next) => {
- next(metadata);
- },
- sendMessage: (message, next) => {
- next(message);
- },
- sendStatus: (status, next) => {
- next(status);
- },
-};
-class ServerInterceptingCall {
- constructor(nextCall, responder) {
- var _a, _b, _c, _d;
- this.nextCall = nextCall;
- this.processingMetadata = false;
- this.sentMetadata = false;
- this.processingMessage = false;
- this.pendingMessage = null;
- this.pendingMessageCallback = null;
- this.pendingStatus = null;
- this.responder = {
- start: (_a = responder === null || responder === void 0 ? void 0 : responder.start) !== null && _a !== void 0 ? _a : defaultResponder.start,
- sendMetadata: (_b = responder === null || responder === void 0 ? void 0 : responder.sendMetadata) !== null && _b !== void 0 ? _b : defaultResponder.sendMetadata,
- sendMessage: (_c = responder === null || responder === void 0 ? void 0 : responder.sendMessage) !== null && _c !== void 0 ? _c : defaultResponder.sendMessage,
- sendStatus: (_d = responder === null || responder === void 0 ? void 0 : responder.sendStatus) !== null && _d !== void 0 ? _d : defaultResponder.sendStatus,
- };
- }
- processPendingMessage() {
- if (this.pendingMessageCallback) {
- this.nextCall.sendMessage(this.pendingMessage, this.pendingMessageCallback);
- this.pendingMessage = null;
- this.pendingMessageCallback = null;
- }
- }
- processPendingStatus() {
- if (this.pendingStatus) {
- this.nextCall.sendStatus(this.pendingStatus);
- this.pendingStatus = null;
- }
- }
- start(listener) {
- this.responder.start(interceptedListener => {
- var _a, _b, _c, _d;
- const fullInterceptedListener = {
- onReceiveMetadata: (_a = interceptedListener === null || interceptedListener === void 0 ? void 0 : interceptedListener.onReceiveMetadata) !== null && _a !== void 0 ? _a : defaultServerListener.onReceiveMetadata,
- onReceiveMessage: (_b = interceptedListener === null || interceptedListener === void 0 ? void 0 : interceptedListener.onReceiveMessage) !== null && _b !== void 0 ? _b : defaultServerListener.onReceiveMessage,
- onReceiveHalfClose: (_c = interceptedListener === null || interceptedListener === void 0 ? void 0 : interceptedListener.onReceiveHalfClose) !== null && _c !== void 0 ? _c : defaultServerListener.onReceiveHalfClose,
- onCancel: (_d = interceptedListener === null || interceptedListener === void 0 ? void 0 : interceptedListener.onCancel) !== null && _d !== void 0 ? _d : defaultServerListener.onCancel,
- };
- const finalInterceptingListener = new InterceptingServerListenerImpl(fullInterceptedListener, listener);
- this.nextCall.start(finalInterceptingListener);
- });
- }
- sendMetadata(metadata) {
- this.processingMetadata = true;
- this.sentMetadata = true;
- this.responder.sendMetadata(metadata, interceptedMetadata => {
- this.processingMetadata = false;
- this.nextCall.sendMetadata(interceptedMetadata);
- this.processPendingMessage();
- this.processPendingStatus();
- });
- }
- sendMessage(message, callback) {
- this.processingMessage = true;
- if (!this.sentMetadata) {
- this.sendMetadata(new metadata_1.Metadata());
- }
- this.responder.sendMessage(message, interceptedMessage => {
- this.processingMessage = false;
- if (this.processingMetadata) {
- this.pendingMessage = interceptedMessage;
- this.pendingMessageCallback = callback;
- }
- else {
- this.nextCall.sendMessage(interceptedMessage, callback);
- }
- });
- }
- sendStatus(status) {
- this.responder.sendStatus(status, interceptedStatus => {
- if (this.processingMetadata || this.processingMessage) {
- this.pendingStatus = interceptedStatus;
- }
- else {
- this.nextCall.sendStatus(interceptedStatus);
- }
- });
- }
- startRead() {
- this.nextCall.startRead();
- }
- getPeer() {
- return this.nextCall.getPeer();
- }
- getDeadline() {
- return this.nextCall.getDeadline();
- }
- getHost() {
- return this.nextCall.getHost();
- }
- getAuthContext() {
- return this.nextCall.getAuthContext();
- }
- getConnectionInfo() {
- return this.nextCall.getConnectionInfo();
- }
- getMetricsRecorder() {
- return this.nextCall.getMetricsRecorder();
- }
-}
-exports.ServerInterceptingCall = ServerInterceptingCall;
-const GRPC_ACCEPT_ENCODING_HEADER = 'grpc-accept-encoding';
-const GRPC_ENCODING_HEADER = 'grpc-encoding';
-const GRPC_MESSAGE_HEADER = 'grpc-message';
-const GRPC_STATUS_HEADER = 'grpc-status';
-const GRPC_TIMEOUT_HEADER = 'grpc-timeout';
-const DEADLINE_REGEX = /(\d{1,8})\s*([HMSmun])/;
-const deadlineUnitsToMs = {
- H: 3600000,
- M: 60000,
- S: 1000,
- m: 1,
- u: 0.001,
- n: 0.000001,
-};
-const defaultCompressionHeaders = {
- // TODO(cjihrig): Remove these encoding headers from the default response
- // once compression is integrated.
- [GRPC_ACCEPT_ENCODING_HEADER]: 'identity,deflate,gzip',
- [GRPC_ENCODING_HEADER]: 'identity',
-};
-const defaultResponseHeaders = {
- [http2.constants.HTTP2_HEADER_STATUS]: http2.constants.HTTP_STATUS_OK,
- [http2.constants.HTTP2_HEADER_CONTENT_TYPE]: 'application/grpc+proto',
-};
-const defaultResponseOptions = {
- waitForTrailers: true,
-};
-class BaseServerInterceptingCall {
- constructor(stream, headers, callEventTracker, handler, options) {
- var _a, _b;
- this.stream = stream;
- this.callEventTracker = callEventTracker;
- this.handler = handler;
- this.listener = null;
- this.deadlineTimer = null;
- this.deadline = Infinity;
- this.maxSendMessageSize = constants_1.DEFAULT_MAX_SEND_MESSAGE_LENGTH;
- this.maxReceiveMessageSize = constants_1.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH;
- this.cancelled = false;
- this.metadataSent = false;
- this.wantTrailers = false;
- this.cancelNotified = false;
- this.incomingEncoding = 'identity';
- this.readQueue = [];
- this.isReadPending = false;
- this.receivedHalfClose = false;
- this.streamEnded = false;
- this.metricsRecorder = new orca_1.PerRequestMetricRecorder();
- this.stream.once('close', () => {
- var _a;
- trace('Request to method ' +
- ((_a = this.handler) === null || _a === void 0 ? void 0 : _a.path) +
- ' stream closed with rstCode ' +
- this.stream.rstCode);
- if (this.callEventTracker && !this.streamEnded) {
- this.streamEnded = true;
- this.callEventTracker.onStreamEnd(false);
- this.callEventTracker.onCallEnd({
- code: constants_1.Status.CANCELLED,
- details: 'Stream closed before sending status',
- metadata: null,
- });
- }
- this.notifyOnCancel();
- });
- this.stream.on('data', (data) => {
- this.handleDataFrame(data);
- });
- this.stream.pause();
- this.stream.on('end', () => {
- this.handleEndEvent();
- });
- if ('grpc.max_send_message_length' in options) {
- this.maxSendMessageSize = options['grpc.max_send_message_length'];
- }
- if ('grpc.max_receive_message_length' in options) {
- this.maxReceiveMessageSize = options['grpc.max_receive_message_length'];
- }
- this.host = (_a = headers[':authority']) !== null && _a !== void 0 ? _a : headers.host;
- this.decoder = new stream_decoder_1.StreamDecoder(this.maxReceiveMessageSize);
- const metadata = metadata_1.Metadata.fromHttp2Headers(headers);
- if (logging.isTracerEnabled(TRACER_NAME)) {
- trace('Request to ' +
- this.handler.path +
- ' received headers ' +
- JSON.stringify(metadata.toJSON()));
- }
- const timeoutHeader = metadata.get(GRPC_TIMEOUT_HEADER);
- if (timeoutHeader.length > 0) {
- this.handleTimeoutHeader(timeoutHeader[0]);
- }
- const encodingHeader = metadata.get(GRPC_ENCODING_HEADER);
- if (encodingHeader.length > 0) {
- this.incomingEncoding = encodingHeader[0];
- }
- // Remove several headers that should not be propagated to the application
- metadata.remove(GRPC_TIMEOUT_HEADER);
- metadata.remove(GRPC_ENCODING_HEADER);
- metadata.remove(GRPC_ACCEPT_ENCODING_HEADER);
- metadata.remove(http2.constants.HTTP2_HEADER_ACCEPT_ENCODING);
- metadata.remove(http2.constants.HTTP2_HEADER_TE);
- metadata.remove(http2.constants.HTTP2_HEADER_CONTENT_TYPE);
- this.metadata = metadata;
- const socket = (_b = stream.session) === null || _b === void 0 ? void 0 : _b.socket;
- this.connectionInfo = {
- localAddress: socket === null || socket === void 0 ? void 0 : socket.localAddress,
- localPort: socket === null || socket === void 0 ? void 0 : socket.localPort,
- remoteAddress: socket === null || socket === void 0 ? void 0 : socket.remoteAddress,
- remotePort: socket === null || socket === void 0 ? void 0 : socket.remotePort
- };
- this.shouldSendMetrics = !!options['grpc.server_call_metric_recording'];
- }
- handleTimeoutHeader(timeoutHeader) {
- const match = timeoutHeader.toString().match(DEADLINE_REGEX);
- if (match === null) {
- const status = {
- code: constants_1.Status.INTERNAL,
- details: `Invalid ${GRPC_TIMEOUT_HEADER} value "${timeoutHeader}"`,
- metadata: null,
- };
- // Wait for the constructor to complete before sending the error.
- process.nextTick(() => {
- this.sendStatus(status);
- });
- return;
- }
- const timeout = (+match[1] * deadlineUnitsToMs[match[2]]) | 0;
- const now = new Date();
- this.deadline = now.setMilliseconds(now.getMilliseconds() + timeout);
- this.deadlineTimer = setTimeout(() => {
- const status = {
- code: constants_1.Status.DEADLINE_EXCEEDED,
- details: 'Deadline exceeded',
- metadata: null,
- };
- this.sendStatus(status);
- }, timeout);
- }
- checkCancelled() {
- /* In some cases the stream can become destroyed before the close event
- * fires. That creates a race condition that this check works around */
- if (!this.cancelled && (this.stream.destroyed || this.stream.closed)) {
- this.notifyOnCancel();
- this.cancelled = true;
- }
- return this.cancelled;
- }
- notifyOnCancel() {
- if (this.cancelNotified) {
- return;
- }
- this.cancelNotified = true;
- this.cancelled = true;
- process.nextTick(() => {
- var _a;
- (_a = this.listener) === null || _a === void 0 ? void 0 : _a.onCancel();
- });
- if (this.deadlineTimer) {
- clearTimeout(this.deadlineTimer);
- }
- // Flush incoming data frames
- this.stream.resume();
- }
- /**
- * A server handler can start sending messages without explicitly sending
- * metadata. In that case, we need to send headers before sending any
- * messages. This function does that if necessary.
- */
- maybeSendMetadata() {
- if (!this.metadataSent) {
- this.sendMetadata(new metadata_1.Metadata());
- }
- }
- /**
- * Serialize a message to a length-delimited byte string.
- * @param value
- * @returns
- */
- serializeMessage(value) {
- const messageBuffer = this.handler.serialize(value);
- const byteLength = messageBuffer.byteLength;
- const output = Buffer.allocUnsafe(byteLength + 5);
- /* Note: response compression is currently not supported, so this
- * compressed bit is always 0. */
- output.writeUInt8(0, 0);
- output.writeUInt32BE(byteLength, 1);
- messageBuffer.copy(output, 5);
- return output;
- }
- decompressMessage(message, encoding) {
- const messageContents = message.subarray(5);
- if (encoding === 'identity') {
- return messageContents;
- }
- else if (encoding === 'deflate' || encoding === 'gzip') {
- let decompresser;
- if (encoding === 'deflate') {
- decompresser = zlib.createInflate();
- }
- else {
- decompresser = zlib.createGunzip();
- }
- return new Promise((resolve, reject) => {
- let totalLength = 0;
- const messageParts = [];
- decompresser.on('error', (error) => {
- reject({
- code: constants_1.Status.INTERNAL,
- details: 'Failed to decompress message'
- });
- });
- decompresser.on('data', (chunk) => {
- messageParts.push(chunk);
- totalLength += chunk.byteLength;
- if (this.maxReceiveMessageSize !== -1 && totalLength > this.maxReceiveMessageSize) {
- decompresser.destroy();
- reject({
- code: constants_1.Status.RESOURCE_EXHAUSTED,
- details: `Received message that decompresses to a size larger than ${this.maxReceiveMessageSize}`
- });
- }
- });
- decompresser.on('end', () => {
- resolve(Buffer.concat(messageParts));
- });
- decompresser.write(messageContents);
- decompresser.end();
- });
- }
- else {
- return Promise.reject({
- code: constants_1.Status.UNIMPLEMENTED,
- details: `Received message compressed with unsupported encoding "${encoding}"`,
- });
- }
- }
- async decompressAndMaybePush(queueEntry) {
- if (queueEntry.type !== 'COMPRESSED') {
- throw new Error(`Invalid queue entry type: ${queueEntry.type}`);
- }
- const compressed = queueEntry.compressedMessage.readUInt8(0) === 1;
- const compressedMessageEncoding = compressed
- ? this.incomingEncoding
- : 'identity';
- let decompressedMessage;
- try {
- decompressedMessage = await this.decompressMessage(queueEntry.compressedMessage, compressedMessageEncoding);
- }
- catch (err) {
- this.sendStatus(err);
- return;
- }
- try {
- queueEntry.parsedMessage = this.handler.deserialize(decompressedMessage);
- }
- catch (err) {
- this.sendStatus({
- code: constants_1.Status.INTERNAL,
- details: `Error deserializing request: ${err.message}`,
- });
- return;
- }
- queueEntry.type = 'READABLE';
- this.maybePushNextMessage();
- }
- maybePushNextMessage() {
- if (this.listener &&
- this.isReadPending &&
- this.readQueue.length > 0 &&
- this.readQueue[0].type !== 'COMPRESSED') {
- this.isReadPending = false;
- const nextQueueEntry = this.readQueue.shift();
- if (nextQueueEntry.type === 'READABLE') {
- this.listener.onReceiveMessage(nextQueueEntry.parsedMessage);
- }
- else {
- // nextQueueEntry.type === 'HALF_CLOSE'
- this.listener.onReceiveHalfClose();
- }
- }
- }
- handleDataFrame(data) {
- var _a;
- if (this.checkCancelled()) {
- return;
- }
- trace('Request to ' +
- this.handler.path +
- ' received data frame of size ' +
- data.length);
- let rawMessages;
- try {
- rawMessages = this.decoder.write(data);
- }
- catch (e) {
- this.sendStatus({ code: constants_1.Status.RESOURCE_EXHAUSTED, details: e.message });
- return;
- }
- for (const messageBytes of rawMessages) {
- this.stream.pause();
- const queueEntry = {
- type: 'COMPRESSED',
- compressedMessage: messageBytes,
- parsedMessage: null,
- };
- this.readQueue.push(queueEntry);
- this.decompressAndMaybePush(queueEntry);
- (_a = this.callEventTracker) === null || _a === void 0 ? void 0 : _a.addMessageReceived();
- }
- }
- handleEndEvent() {
- this.readQueue.push({
- type: 'HALF_CLOSE',
- compressedMessage: null,
- parsedMessage: null,
- });
- this.receivedHalfClose = true;
- this.maybePushNextMessage();
- }
- start(listener) {
- trace('Request to ' + this.handler.path + ' start called');
- if (this.checkCancelled()) {
- return;
- }
- this.listener = listener;
- listener.onReceiveMetadata(this.metadata);
- }
- sendMetadata(metadata) {
- if (this.checkCancelled()) {
- return;
- }
- if (this.metadataSent) {
- return;
- }
- this.metadataSent = true;
- const custom = metadata ? metadata.toHttp2Headers() : null;
- const headers = Object.assign(Object.assign(Object.assign({}, defaultResponseHeaders), defaultCompressionHeaders), custom);
- this.stream.respond(headers, defaultResponseOptions);
- }
- sendMessage(message, callback) {
- if (this.checkCancelled()) {
- return;
- }
- let response;
- try {
- response = this.serializeMessage(message);
- }
- catch (e) {
- this.sendStatus({
- code: constants_1.Status.INTERNAL,
- details: `Error serializing response: ${(0, error_1.getErrorMessage)(e)}`,
- metadata: null,
- });
- return;
- }
- if (this.maxSendMessageSize !== -1 &&
- response.length - 5 > this.maxSendMessageSize) {
- this.sendStatus({
- code: constants_1.Status.RESOURCE_EXHAUSTED,
- details: `Sent message larger than max (${response.length} vs. ${this.maxSendMessageSize})`,
- metadata: null,
- });
- return;
- }
- this.maybeSendMetadata();
- trace('Request to ' +
- this.handler.path +
- ' sent data frame of size ' +
- response.length);
- this.stream.write(response, error => {
- var _a;
- if (error) {
- this.sendStatus({
- code: constants_1.Status.INTERNAL,
- details: `Error writing message: ${(0, error_1.getErrorMessage)(error)}`,
- metadata: null,
- });
- return;
- }
- (_a = this.callEventTracker) === null || _a === void 0 ? void 0 : _a.addMessageSent();
- callback();
- });
- }
- sendStatus(status) {
- var _a, _b, _c;
- if (this.checkCancelled()) {
- return;
- }
- trace('Request to method ' +
- ((_a = this.handler) === null || _a === void 0 ? void 0 : _a.path) +
- ' ended with status code: ' +
- constants_1.Status[status.code] +
- ' details: ' +
- status.details);
- const statusMetadata = (_c = (_b = status.metadata) === null || _b === void 0 ? void 0 : _b.clone()) !== null && _c !== void 0 ? _c : new metadata_1.Metadata();
- if (this.shouldSendMetrics) {
- statusMetadata.set(orca_1.GRPC_METRICS_HEADER, this.metricsRecorder.serialize());
- }
- if (this.metadataSent) {
- if (!this.wantTrailers) {
- this.wantTrailers = true;
- this.stream.once('wantTrailers', () => {
- if (this.callEventTracker && !this.streamEnded) {
- this.streamEnded = true;
- this.callEventTracker.onStreamEnd(true);
- this.callEventTracker.onCallEnd(status);
- }
- const trailersToSend = Object.assign({ [GRPC_STATUS_HEADER]: status.code, [GRPC_MESSAGE_HEADER]: encodeURI(status.details) }, statusMetadata.toHttp2Headers());
- this.stream.sendTrailers(trailersToSend);
- this.notifyOnCancel();
- });
- this.stream.end();
- }
- else {
- this.notifyOnCancel();
- }
- }
- else {
- if (this.callEventTracker && !this.streamEnded) {
- this.streamEnded = true;
- this.callEventTracker.onStreamEnd(true);
- this.callEventTracker.onCallEnd(status);
- }
- // Trailers-only response
- const trailersToSend = Object.assign(Object.assign({ [GRPC_STATUS_HEADER]: status.code, [GRPC_MESSAGE_HEADER]: encodeURI(status.details) }, defaultResponseHeaders), statusMetadata.toHttp2Headers());
- this.stream.respond(trailersToSend, { endStream: true });
- this.notifyOnCancel();
- }
- }
- startRead() {
- trace('Request to ' + this.handler.path + ' startRead called');
- if (this.checkCancelled()) {
- return;
- }
- this.isReadPending = true;
- if (this.readQueue.length === 0) {
- if (!this.receivedHalfClose) {
- this.stream.resume();
- }
- }
- else {
- this.maybePushNextMessage();
- }
- }
- getPeer() {
- var _a;
- const socket = (_a = this.stream.session) === null || _a === void 0 ? void 0 : _a.socket;
- if (socket === null || socket === void 0 ? void 0 : socket.remoteAddress) {
- if (socket.remotePort) {
- return `${socket.remoteAddress}:${socket.remotePort}`;
- }
- else {
- return socket.remoteAddress;
- }
- }
- else {
- return 'unknown';
- }
- }
- getDeadline() {
- return this.deadline;
- }
- getHost() {
- return this.host;
- }
- getAuthContext() {
- var _a;
- if (((_a = this.stream.session) === null || _a === void 0 ? void 0 : _a.socket) instanceof tls_1.TLSSocket) {
- const peerCertificate = this.stream.session.socket.getPeerCertificate();
- return {
- transportSecurityType: 'ssl',
- sslPeerCertificate: peerCertificate.raw ? peerCertificate : undefined
- };
- }
- else {
- return {};
- }
- }
- getConnectionInfo() {
- return this.connectionInfo;
- }
- getMetricsRecorder() {
- return this.metricsRecorder;
- }
-}
-exports.BaseServerInterceptingCall = BaseServerInterceptingCall;
-function getServerInterceptingCall(interceptors, stream, headers, callEventTracker, handler, options) {
- const methodDefinition = {
- path: handler.path,
- requestStream: handler.type === 'clientStream' || handler.type === 'bidi',
- responseStream: handler.type === 'serverStream' || handler.type === 'bidi',
- requestDeserialize: handler.deserialize,
- responseSerialize: handler.serialize,
- };
- const baseCall = new BaseServerInterceptingCall(stream, headers, callEventTracker, handler, options);
- return interceptors.reduce((call, interceptor) => {
- return interceptor(methodDefinition, call);
- }, baseCall);
-}
-//# sourceMappingURL=server-interceptors.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/server-interceptors.js.map b/node_modules/@grpc/grpc-js/build/src/server-interceptors.js.map
deleted file mode 100644
index c0bee72..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server-interceptors.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"server-interceptors.js","sourceRoot":"","sources":["../../src/server-interceptors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CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;IAC7C,CAAC,EACD,QAAQ,CACT,CAAC;AACJ,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/server.d.ts b/node_modules/@grpc/grpc-js/build/src/server.d.ts
deleted file mode 100644
index a1f821e..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server.d.ts
+++ /dev/null
@@ -1,140 +0,0 @@
-import { Deserialize, Serialize, ServiceDefinition } from './make-client';
-import { HandleCall } from './server-call';
-import { ServerCredentials } from './server-credentials';
-import { ChannelOptions } from './channel-options';
-import { SubchannelAddress } from './subchannel-address';
-import { ServerRef, SocketRef } from './channelz';
-import { ServerInterceptor } from './server-interceptors';
-import { Duplex } from 'stream';
-export type UntypedHandleCall = HandleCall;
-export interface UntypedServiceImplementation {
- [name: string]: UntypedHandleCall;
-}
-export interface ServerOptions extends ChannelOptions {
- interceptors?: ServerInterceptor[];
-}
-export interface ConnectionInjector {
- injectConnection(connection: Duplex): void;
- drain(graceTimeMs: number): void;
- destroy(): void;
-}
-export declare class Server {
- private boundPorts;
- private http2Servers;
- private sessionIdleTimeouts;
- private handlers;
- private sessions;
- /**
- * This field only exists to ensure that the start method throws an error if
- * it is called twice, as it did previously.
- */
- private started;
- private shutdown;
- private options;
- private serverAddressString;
- private readonly channelzEnabled;
- private channelzRef;
- private channelzTrace;
- private callTracker;
- private listenerChildrenTracker;
- private sessionChildrenTracker;
- private readonly maxConnectionAgeMs;
- private readonly maxConnectionAgeGraceMs;
- private readonly keepaliveTimeMs;
- private readonly keepaliveTimeoutMs;
- private readonly sessionIdleTimeout;
- private readonly interceptors;
- /**
- * Options that will be used to construct all Http2Server instances for this
- * Server.
- */
- private commonServerOptions;
- constructor(options?: ServerOptions);
- private getChannelzInfo;
- private getChannelzSessionInfo;
- private trace;
- private keepaliveTrace;
- addProtoService(): never;
- addService(service: ServiceDefinition, implementation: UntypedServiceImplementation): void;
- removeService(service: ServiceDefinition): void;
- bind(port: string, creds: ServerCredentials): never;
- /**
- * This API is experimental, so API stability is not guaranteed across minor versions.
- * @param boundAddress
- * @returns
- */
- protected experimentalRegisterListenerToChannelz(boundAddress: SubchannelAddress): SocketRef;
- protected experimentalUnregisterListenerFromChannelz(channelzRef: SocketRef): void;
- private createHttp2Server;
- private bindOneAddress;
- private bindManyPorts;
- private bindAddressList;
- private resolvePort;
- private bindPort;
- private normalizePort;
- bindAsync(port: string, creds: ServerCredentials, callback: (error: Error | null, port: number) => void): void;
- private registerInjectorToChannelz;
- /**
- * This API is experimental, so API stability is not guaranteed across minor versions.
- * @param credentials
- * @param channelzRef
- * @returns
- */
- protected experimentalCreateConnectionInjectorWithChannelzRef(credentials: ServerCredentials, channelzRef: SocketRef, ownsChannelzRef?: boolean): {
- injectConnection: (connection: Duplex) => void;
- drain: (graceTimeMs: number) => void;
- destroy: () => void;
- };
- createConnectionInjector(credentials: ServerCredentials): ConnectionInjector;
- private closeServer;
- private closeSession;
- private completeUnbind;
- /**
- * Unbind a previously bound port, or cancel an in-progress bindAsync
- * operation. If port 0 was bound, only the actual bound port can be
- * unbound. For example, if bindAsync was called with "localhost:0" and the
- * bound port result was 54321, it can be unbound as "localhost:54321".
- * @param port
- */
- unbind(port: string): void;
- /**
- * Gracefully close all connections associated with a previously bound port.
- * After the grace time, forcefully close all remaining open connections.
- *
- * If port 0 was bound, only the actual bound port can be
- * drained. For example, if bindAsync was called with "localhost:0" and the
- * bound port result was 54321, it can be drained as "localhost:54321".
- * @param port
- * @param graceTimeMs
- * @returns
- */
- drain(port: string, graceTimeMs: number): void;
- forceShutdown(): void;
- register(name: string, handler: HandleCall, serialize: Serialize, deserialize: Deserialize, type: string): boolean;
- unregister(name: string): boolean;
- /**
- * @deprecated No longer needed as of version 1.10.x
- */
- start(): void;
- tryShutdown(callback: (error?: Error) => void): void;
- addHttp2Port(): never;
- /**
- * Get the channelz reference object for this server. The returned value is
- * garbage if channelz is disabled for this server.
- * @returns
- */
- getChannelzRef(): ServerRef;
- private _verifyContentType;
- private _retrieveHandler;
- private _respondWithError;
- private _channelzHandler;
- private _streamHandler;
- private _runHandlerForCall;
- private _setupHandlers;
- private _sessionHandler;
- private _channelzSessionHandler;
- private enableIdleTimeout;
- private onIdleTimeout;
- private onStreamOpened;
- private onStreamClose;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/server.js b/node_modules/@grpc/grpc-js/build/src/server.js
deleted file mode 100644
index 813dcfa..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server.js
+++ /dev/null
@@ -1,1622 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
- var useValue = arguments.length > 2;
- for (var i = 0; i < initializers.length; i++) {
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
- }
- return useValue ? value : void 0;
-};
-var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
- function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
- var _, done = false;
- for (var i = decorators.length - 1; i >= 0; i--) {
- var context = {};
- for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
- for (var p in contextIn.access) context.access[p] = contextIn.access[p];
- context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
- if (kind === "accessor") {
- if (result === void 0) continue;
- if (result === null || typeof result !== "object") throw new TypeError("Object expected");
- if (_ = accept(result.get)) descriptor.get = _;
- if (_ = accept(result.set)) descriptor.set = _;
- if (_ = accept(result.init)) initializers.unshift(_);
- }
- else if (_ = accept(result)) {
- if (kind === "field") initializers.unshift(_);
- else descriptor[key] = _;
- }
- }
- if (target) Object.defineProperty(target, contextIn.name, descriptor);
- done = true;
-};
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Server = void 0;
-const http2 = require("http2");
-const util = require("util");
-const constants_1 = require("./constants");
-const server_call_1 = require("./server-call");
-const server_credentials_1 = require("./server-credentials");
-const resolver_1 = require("./resolver");
-const logging = require("./logging");
-const subchannel_address_1 = require("./subchannel-address");
-const uri_parser_1 = require("./uri-parser");
-const channelz_1 = require("./channelz");
-const server_interceptors_1 = require("./server-interceptors");
-const UNLIMITED_CONNECTION_AGE_MS = ~(1 << 31);
-const KEEPALIVE_MAX_TIME_MS = ~(1 << 31);
-const KEEPALIVE_TIMEOUT_MS = 20000;
-const MAX_CONNECTION_IDLE_MS = ~(1 << 31);
-const { HTTP2_HEADER_PATH } = http2.constants;
-const TRACER_NAME = 'server';
-const kMaxAge = Buffer.from('max_age');
-function serverCallTrace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, 'server_call', text);
-}
-function noop() { }
-/**
- * Decorator to wrap a class method with util.deprecate
- * @param message The message to output if the deprecated method is called
- * @returns
- */
-function deprecate(message) {
- return function (target, context) {
- return util.deprecate(target, message);
- };
-}
-function getUnimplementedStatusResponse(methodName) {
- return {
- code: constants_1.Status.UNIMPLEMENTED,
- details: `The server does not implement the method ${methodName}`,
- };
-}
-function getDefaultHandler(handlerType, methodName) {
- const unimplementedStatusResponse = getUnimplementedStatusResponse(methodName);
- switch (handlerType) {
- case 'unary':
- return (call, callback) => {
- callback(unimplementedStatusResponse, null);
- };
- case 'clientStream':
- return (call, callback) => {
- callback(unimplementedStatusResponse, null);
- };
- case 'serverStream':
- return (call) => {
- call.emit('error', unimplementedStatusResponse);
- };
- case 'bidi':
- return (call) => {
- call.emit('error', unimplementedStatusResponse);
- };
- default:
- throw new Error(`Invalid handlerType ${handlerType}`);
- }
-}
-let Server = (() => {
- var _a;
- let _instanceExtraInitializers = [];
- let _start_decorators;
- return _a = class Server {
- constructor(options) {
- var _b, _c, _d, _e, _f, _g;
- this.boundPorts = (__runInitializers(this, _instanceExtraInitializers), new Map());
- this.http2Servers = new Map();
- this.sessionIdleTimeouts = new Map();
- this.handlers = new Map();
- this.sessions = new Map();
- /**
- * This field only exists to ensure that the start method throws an error if
- * it is called twice, as it did previously.
- */
- this.started = false;
- this.shutdown = false;
- this.serverAddressString = 'null';
- // Channelz Info
- this.channelzEnabled = true;
- this.options = options !== null && options !== void 0 ? options : {};
- if (this.options['grpc.enable_channelz'] === 0) {
- this.channelzEnabled = false;
- this.channelzTrace = new channelz_1.ChannelzTraceStub();
- this.callTracker = new channelz_1.ChannelzCallTrackerStub();
- this.listenerChildrenTracker = new channelz_1.ChannelzChildrenTrackerStub();
- this.sessionChildrenTracker = new channelz_1.ChannelzChildrenTrackerStub();
- }
- else {
- this.channelzTrace = new channelz_1.ChannelzTrace();
- this.callTracker = new channelz_1.ChannelzCallTracker();
- this.listenerChildrenTracker = new channelz_1.ChannelzChildrenTracker();
- this.sessionChildrenTracker = new channelz_1.ChannelzChildrenTracker();
- }
- this.channelzRef = (0, channelz_1.registerChannelzServer)('server', () => this.getChannelzInfo(), this.channelzEnabled);
- this.channelzTrace.addTrace('CT_INFO', 'Server created');
- this.maxConnectionAgeMs =
- (_b = this.options['grpc.max_connection_age_ms']) !== null && _b !== void 0 ? _b : UNLIMITED_CONNECTION_AGE_MS;
- this.maxConnectionAgeGraceMs =
- (_c = this.options['grpc.max_connection_age_grace_ms']) !== null && _c !== void 0 ? _c : UNLIMITED_CONNECTION_AGE_MS;
- this.keepaliveTimeMs =
- (_d = this.options['grpc.keepalive_time_ms']) !== null && _d !== void 0 ? _d : KEEPALIVE_MAX_TIME_MS;
- this.keepaliveTimeoutMs =
- (_e = this.options['grpc.keepalive_timeout_ms']) !== null && _e !== void 0 ? _e : KEEPALIVE_TIMEOUT_MS;
- this.sessionIdleTimeout =
- (_f = this.options['grpc.max_connection_idle_ms']) !== null && _f !== void 0 ? _f : MAX_CONNECTION_IDLE_MS;
- this.commonServerOptions = {
- maxSendHeaderBlockLength: Number.MAX_SAFE_INTEGER,
- };
- if ('grpc-node.max_session_memory' in this.options) {
- this.commonServerOptions.maxSessionMemory =
- this.options['grpc-node.max_session_memory'];
- }
- else {
- /* By default, set a very large max session memory limit, to effectively
- * disable enforcement of the limit. Some testing indicates that Node's
- * behavior degrades badly when this limit is reached, so we solve that
- * by disabling the check entirely. */
- this.commonServerOptions.maxSessionMemory = Number.MAX_SAFE_INTEGER;
- }
- if ('grpc.max_concurrent_streams' in this.options) {
- this.commonServerOptions.settings = {
- maxConcurrentStreams: this.options['grpc.max_concurrent_streams'],
- };
- }
- this.interceptors = (_g = this.options.interceptors) !== null && _g !== void 0 ? _g : [];
- this.trace('Server constructed');
- }
- getChannelzInfo() {
- return {
- trace: this.channelzTrace,
- callTracker: this.callTracker,
- listenerChildren: this.listenerChildrenTracker.getChildLists(),
- sessionChildren: this.sessionChildrenTracker.getChildLists(),
- };
- }
- getChannelzSessionInfo(session) {
- var _b, _c, _d;
- const sessionInfo = this.sessions.get(session);
- const sessionSocket = session.socket;
- const remoteAddress = sessionSocket.remoteAddress
- ? (0, subchannel_address_1.stringToSubchannelAddress)(sessionSocket.remoteAddress, sessionSocket.remotePort)
- : null;
- const localAddress = sessionSocket.localAddress
- ? (0, subchannel_address_1.stringToSubchannelAddress)(sessionSocket.localAddress, sessionSocket.localPort)
- : null;
- let tlsInfo;
- if (session.encrypted) {
- const tlsSocket = sessionSocket;
- const cipherInfo = tlsSocket.getCipher();
- const certificate = tlsSocket.getCertificate();
- const peerCertificate = tlsSocket.getPeerCertificate();
- tlsInfo = {
- cipherSuiteStandardName: (_b = cipherInfo.standardName) !== null && _b !== void 0 ? _b : null,
- cipherSuiteOtherName: cipherInfo.standardName ? null : cipherInfo.name,
- localCertificate: certificate && 'raw' in certificate ? certificate.raw : null,
- remoteCertificate: peerCertificate && 'raw' in peerCertificate
- ? peerCertificate.raw
- : null,
- };
- }
- else {
- tlsInfo = null;
- }
- const socketInfo = {
- remoteAddress: remoteAddress,
- localAddress: localAddress,
- security: tlsInfo,
- remoteName: null,
- streamsStarted: sessionInfo.streamTracker.callsStarted,
- streamsSucceeded: sessionInfo.streamTracker.callsSucceeded,
- streamsFailed: sessionInfo.streamTracker.callsFailed,
- messagesSent: sessionInfo.messagesSent,
- messagesReceived: sessionInfo.messagesReceived,
- keepAlivesSent: sessionInfo.keepAlivesSent,
- lastLocalStreamCreatedTimestamp: null,
- lastRemoteStreamCreatedTimestamp: sessionInfo.streamTracker.lastCallStartedTimestamp,
- lastMessageSentTimestamp: sessionInfo.lastMessageSentTimestamp,
- lastMessageReceivedTimestamp: sessionInfo.lastMessageReceivedTimestamp,
- localFlowControlWindow: (_c = session.state.localWindowSize) !== null && _c !== void 0 ? _c : null,
- remoteFlowControlWindow: (_d = session.state.remoteWindowSize) !== null && _d !== void 0 ? _d : null,
- };
- return socketInfo;
- }
- trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, '(' + this.channelzRef.id + ') ' + text);
- }
- keepaliveTrace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, 'keepalive', '(' + this.channelzRef.id + ') ' + text);
- }
- addProtoService() {
- throw new Error('Not implemented. Use addService() instead');
- }
- addService(service, implementation) {
- if (service === null ||
- typeof service !== 'object' ||
- implementation === null ||
- typeof implementation !== 'object') {
- throw new Error('addService() requires two objects as arguments');
- }
- const serviceKeys = Object.keys(service);
- if (serviceKeys.length === 0) {
- throw new Error('Cannot add an empty service to a server');
- }
- serviceKeys.forEach(name => {
- const attrs = service[name];
- let methodType;
- if (attrs.requestStream) {
- if (attrs.responseStream) {
- methodType = 'bidi';
- }
- else {
- methodType = 'clientStream';
- }
- }
- else {
- if (attrs.responseStream) {
- methodType = 'serverStream';
- }
- else {
- methodType = 'unary';
- }
- }
- let implFn = implementation[name];
- let impl;
- if (implFn === undefined && typeof attrs.originalName === 'string') {
- implFn = implementation[attrs.originalName];
- }
- if (implFn !== undefined) {
- impl = implFn.bind(implementation);
- }
- else {
- impl = getDefaultHandler(methodType, name);
- }
- const success = this.register(attrs.path, impl, attrs.responseSerialize, attrs.requestDeserialize, methodType);
- if (success === false) {
- throw new Error(`Method handler for ${attrs.path} already provided.`);
- }
- });
- }
- removeService(service) {
- if (service === null || typeof service !== 'object') {
- throw new Error('removeService() requires object as argument');
- }
- const serviceKeys = Object.keys(service);
- serviceKeys.forEach(name => {
- const attrs = service[name];
- this.unregister(attrs.path);
- });
- }
- bind(port, creds) {
- throw new Error('Not implemented. Use bindAsync() instead');
- }
- /**
- * This API is experimental, so API stability is not guaranteed across minor versions.
- * @param boundAddress
- * @returns
- */
- experimentalRegisterListenerToChannelz(boundAddress) {
- return (0, channelz_1.registerChannelzSocket)((0, subchannel_address_1.subchannelAddressToString)(boundAddress), () => {
- return {
- localAddress: boundAddress,
- remoteAddress: null,
- security: null,
- remoteName: null,
- streamsStarted: 0,
- streamsSucceeded: 0,
- streamsFailed: 0,
- messagesSent: 0,
- messagesReceived: 0,
- keepAlivesSent: 0,
- lastLocalStreamCreatedTimestamp: null,
- lastRemoteStreamCreatedTimestamp: null,
- lastMessageSentTimestamp: null,
- lastMessageReceivedTimestamp: null,
- localFlowControlWindow: null,
- remoteFlowControlWindow: null,
- };
- }, this.channelzEnabled);
- }
- experimentalUnregisterListenerFromChannelz(channelzRef) {
- (0, channelz_1.unregisterChannelzRef)(channelzRef);
- }
- createHttp2Server(credentials) {
- let http2Server;
- if (credentials._isSecure()) {
- const constructorOptions = credentials._getConstructorOptions();
- const contextOptions = credentials._getSecureContextOptions();
- const secureServerOptions = Object.assign(Object.assign(Object.assign(Object.assign({}, this.commonServerOptions), constructorOptions), contextOptions), { enableTrace: this.options['grpc-node.tls_enable_trace'] === 1 });
- let areCredentialsValid = contextOptions !== null;
- this.trace('Initial credentials valid: ' + areCredentialsValid);
- http2Server = http2.createSecureServer(secureServerOptions);
- http2Server.prependListener('connection', (socket) => {
- if (!areCredentialsValid) {
- this.trace('Dropped connection from ' + JSON.stringify(socket.address()) + ' due to unloaded credentials');
- socket.destroy();
- }
- });
- http2Server.on('secureConnection', (socket) => {
- /* These errors need to be handled by the user of Http2SecureServer,
- * according to https://github.com/nodejs/node/issues/35824 */
- socket.on('error', (e) => {
- this.trace('An incoming TLS connection closed with error: ' + e.message);
- });
- });
- const credsWatcher = options => {
- if (options) {
- const secureServer = http2Server;
- try {
- secureServer.setSecureContext(options);
- }
- catch (e) {
- logging.log(constants_1.LogVerbosity.ERROR, 'Failed to set secure context with error ' + e.message);
- options = null;
- }
- }
- areCredentialsValid = options !== null;
- this.trace('Post-update credentials valid: ' + areCredentialsValid);
- };
- credentials._addWatcher(credsWatcher);
- http2Server.on('close', () => {
- credentials._removeWatcher(credsWatcher);
- });
- }
- else {
- http2Server = http2.createServer(this.commonServerOptions);
- }
- http2Server.setTimeout(0, noop);
- this._setupHandlers(http2Server, credentials._getInterceptors());
- return http2Server;
- }
- bindOneAddress(address, boundPortObject) {
- this.trace('Attempting to bind ' + (0, subchannel_address_1.subchannelAddressToString)(address));
- const http2Server = this.createHttp2Server(boundPortObject.credentials);
- return new Promise((resolve, reject) => {
- const onError = (err) => {
- this.trace('Failed to bind ' +
- (0, subchannel_address_1.subchannelAddressToString)(address) +
- ' with error ' +
- err.message);
- resolve({
- port: 'port' in address ? address.port : 1,
- error: err.message,
- });
- };
- http2Server.once('error', onError);
- http2Server.listen(address, () => {
- const boundAddress = http2Server.address();
- let boundSubchannelAddress;
- if (typeof boundAddress === 'string') {
- boundSubchannelAddress = {
- path: boundAddress,
- };
- }
- else {
- boundSubchannelAddress = {
- host: boundAddress.address,
- port: boundAddress.port,
- };
- }
- const channelzRef = this.experimentalRegisterListenerToChannelz(boundSubchannelAddress);
- this.listenerChildrenTracker.refChild(channelzRef);
- this.http2Servers.set(http2Server, {
- channelzRef: channelzRef,
- sessions: new Set(),
- ownsChannelzRef: true
- });
- boundPortObject.listeningServers.add(http2Server);
- this.trace('Successfully bound ' +
- (0, subchannel_address_1.subchannelAddressToString)(boundSubchannelAddress));
- resolve({
- port: 'port' in boundSubchannelAddress ? boundSubchannelAddress.port : 1,
- });
- http2Server.removeListener('error', onError);
- });
- });
- }
- async bindManyPorts(addressList, boundPortObject) {
- if (addressList.length === 0) {
- return {
- count: 0,
- port: 0,
- errors: [],
- };
- }
- if ((0, subchannel_address_1.isTcpSubchannelAddress)(addressList[0]) && addressList[0].port === 0) {
- /* If binding to port 0, first try to bind the first address, then bind
- * the rest of the address list to the specific port that it binds. */
- const firstAddressResult = await this.bindOneAddress(addressList[0], boundPortObject);
- if (firstAddressResult.error) {
- /* If the first address fails to bind, try the same operation starting
- * from the second item in the list. */
- const restAddressResult = await this.bindManyPorts(addressList.slice(1), boundPortObject);
- return Object.assign(Object.assign({}, restAddressResult), { errors: [firstAddressResult.error, ...restAddressResult.errors] });
- }
- else {
- const restAddresses = addressList
- .slice(1)
- .map(address => (0, subchannel_address_1.isTcpSubchannelAddress)(address)
- ? { host: address.host, port: firstAddressResult.port }
- : address);
- const restAddressResult = await Promise.all(restAddresses.map(address => this.bindOneAddress(address, boundPortObject)));
- const allResults = [firstAddressResult, ...restAddressResult];
- return {
- count: allResults.filter(result => result.error === undefined).length,
- port: firstAddressResult.port,
- errors: allResults
- .filter(result => result.error)
- .map(result => result.error),
- };
- }
- }
- else {
- const allResults = await Promise.all(addressList.map(address => this.bindOneAddress(address, boundPortObject)));
- return {
- count: allResults.filter(result => result.error === undefined).length,
- port: allResults[0].port,
- errors: allResults
- .filter(result => result.error)
- .map(result => result.error),
- };
- }
- }
- async bindAddressList(addressList, boundPortObject) {
- const bindResult = await this.bindManyPorts(addressList, boundPortObject);
- if (bindResult.count > 0) {
- if (bindResult.count < addressList.length) {
- logging.log(constants_1.LogVerbosity.INFO, `WARNING Only ${bindResult.count} addresses added out of total ${addressList.length} resolved`);
- }
- return bindResult.port;
- }
- else {
- const errorString = `No address added out of total ${addressList.length} resolved`;
- logging.log(constants_1.LogVerbosity.ERROR, errorString);
- throw new Error(`${errorString} errors: [${bindResult.errors.join(',')}]`);
- }
- }
- resolvePort(port) {
- return new Promise((resolve, reject) => {
- let seenResolution = false;
- const resolverListener = (endpointList, attributes, serviceConfig, resolutionNote) => {
- if (seenResolution) {
- return true;
- }
- seenResolution = true;
- if (!endpointList.ok) {
- reject(new Error(endpointList.error.details));
- return true;
- }
- const addressList = [].concat(...endpointList.value.map(endpoint => endpoint.addresses));
- if (addressList.length === 0) {
- reject(new Error(`No addresses resolved for port ${port}`));
- return true;
- }
- resolve(addressList);
- return true;
- };
- const resolver = (0, resolver_1.createResolver)(port, resolverListener, this.options);
- resolver.updateResolution();
- });
- }
- async bindPort(port, boundPortObject) {
- const addressList = await this.resolvePort(port);
- if (boundPortObject.cancelled) {
- this.completeUnbind(boundPortObject);
- throw new Error('bindAsync operation cancelled by unbind call');
- }
- const portNumber = await this.bindAddressList(addressList, boundPortObject);
- if (boundPortObject.cancelled) {
- this.completeUnbind(boundPortObject);
- throw new Error('bindAsync operation cancelled by unbind call');
- }
- return portNumber;
- }
- normalizePort(port) {
- const initialPortUri = (0, uri_parser_1.parseUri)(port);
- if (initialPortUri === null) {
- throw new Error(`Could not parse port "${port}"`);
- }
- const portUri = (0, resolver_1.mapUriDefaultScheme)(initialPortUri);
- if (portUri === null) {
- throw new Error(`Could not get a default scheme for port "${port}"`);
- }
- return portUri;
- }
- bindAsync(port, creds, callback) {
- if (this.shutdown) {
- throw new Error('bindAsync called after shutdown');
- }
- if (typeof port !== 'string') {
- throw new TypeError('port must be a string');
- }
- if (creds === null || !(creds instanceof server_credentials_1.ServerCredentials)) {
- throw new TypeError('creds must be a ServerCredentials object');
- }
- if (typeof callback !== 'function') {
- throw new TypeError('callback must be a function');
- }
- this.trace('bindAsync port=' + port);
- const portUri = this.normalizePort(port);
- const deferredCallback = (error, port) => {
- process.nextTick(() => callback(error, port));
- };
- /* First, if this port is already bound or that bind operation is in
- * progress, use that result. */
- let boundPortObject = this.boundPorts.get((0, uri_parser_1.uriToString)(portUri));
- if (boundPortObject) {
- if (!creds._equals(boundPortObject.credentials)) {
- deferredCallback(new Error(`${port} already bound with incompatible credentials`), 0);
- return;
- }
- /* If that operation has previously been cancelled by an unbind call,
- * uncancel it. */
- boundPortObject.cancelled = false;
- if (boundPortObject.completionPromise) {
- boundPortObject.completionPromise.then(portNum => callback(null, portNum), error => callback(error, 0));
- }
- else {
- deferredCallback(null, boundPortObject.portNumber);
- }
- return;
- }
- boundPortObject = {
- mapKey: (0, uri_parser_1.uriToString)(portUri),
- originalUri: portUri,
- completionPromise: null,
- cancelled: false,
- portNumber: 0,
- credentials: creds,
- listeningServers: new Set(),
- };
- const splitPort = (0, uri_parser_1.splitHostPort)(portUri.path);
- const completionPromise = this.bindPort(portUri, boundPortObject);
- boundPortObject.completionPromise = completionPromise;
- /* If the port number is 0, defer populating the map entry until after the
- * bind operation completes and we have a specific port number. Otherwise,
- * populate it immediately. */
- if ((splitPort === null || splitPort === void 0 ? void 0 : splitPort.port) === 0) {
- completionPromise.then(portNum => {
- const finalUri = {
- scheme: portUri.scheme,
- authority: portUri.authority,
- path: (0, uri_parser_1.combineHostPort)({ host: splitPort.host, port: portNum }),
- };
- boundPortObject.mapKey = (0, uri_parser_1.uriToString)(finalUri);
- boundPortObject.completionPromise = null;
- boundPortObject.portNumber = portNum;
- this.boundPorts.set(boundPortObject.mapKey, boundPortObject);
- callback(null, portNum);
- }, error => {
- callback(error, 0);
- });
- }
- else {
- this.boundPorts.set(boundPortObject.mapKey, boundPortObject);
- completionPromise.then(portNum => {
- boundPortObject.completionPromise = null;
- boundPortObject.portNumber = portNum;
- callback(null, portNum);
- }, error => {
- callback(error, 0);
- });
- }
- }
- registerInjectorToChannelz() {
- return (0, channelz_1.registerChannelzSocket)('injector', () => {
- return {
- localAddress: null,
- remoteAddress: null,
- security: null,
- remoteName: null,
- streamsStarted: 0,
- streamsSucceeded: 0,
- streamsFailed: 0,
- messagesSent: 0,
- messagesReceived: 0,
- keepAlivesSent: 0,
- lastLocalStreamCreatedTimestamp: null,
- lastRemoteStreamCreatedTimestamp: null,
- lastMessageSentTimestamp: null,
- lastMessageReceivedTimestamp: null,
- localFlowControlWindow: null,
- remoteFlowControlWindow: null,
- };
- }, this.channelzEnabled);
- }
- /**
- * This API is experimental, so API stability is not guaranteed across minor versions.
- * @param credentials
- * @param channelzRef
- * @returns
- */
- experimentalCreateConnectionInjectorWithChannelzRef(credentials, channelzRef, ownsChannelzRef = false) {
- if (credentials === null || !(credentials instanceof server_credentials_1.ServerCredentials)) {
- throw new TypeError('creds must be a ServerCredentials object');
- }
- if (this.channelzEnabled) {
- this.listenerChildrenTracker.refChild(channelzRef);
- }
- const server = this.createHttp2Server(credentials);
- const sessionsSet = new Set();
- this.http2Servers.set(server, {
- channelzRef: channelzRef,
- sessions: sessionsSet,
- ownsChannelzRef
- });
- return {
- injectConnection: (connection) => {
- server.emit('connection', connection);
- },
- drain: (graceTimeMs) => {
- var _b, _c;
- for (const session of sessionsSet) {
- this.closeSession(session);
- }
- (_c = (_b = setTimeout(() => {
- for (const session of sessionsSet) {
- session.destroy(http2.constants.NGHTTP2_CANCEL);
- }
- }, graceTimeMs)).unref) === null || _c === void 0 ? void 0 : _c.call(_b);
- },
- destroy: () => {
- this.closeServer(server);
- for (const session of sessionsSet) {
- this.closeSession(session);
- }
- }
- };
- }
- createConnectionInjector(credentials) {
- if (credentials === null || !(credentials instanceof server_credentials_1.ServerCredentials)) {
- throw new TypeError('creds must be a ServerCredentials object');
- }
- const channelzRef = this.registerInjectorToChannelz();
- return this.experimentalCreateConnectionInjectorWithChannelzRef(credentials, channelzRef, true);
- }
- closeServer(server, callback) {
- this.trace('Closing server with address ' + JSON.stringify(server.address()));
- const serverInfo = this.http2Servers.get(server);
- server.close(() => {
- if (serverInfo && serverInfo.ownsChannelzRef) {
- this.listenerChildrenTracker.unrefChild(serverInfo.channelzRef);
- (0, channelz_1.unregisterChannelzRef)(serverInfo.channelzRef);
- }
- this.http2Servers.delete(server);
- callback === null || callback === void 0 ? void 0 : callback();
- });
- }
- closeSession(session, callback) {
- var _b;
- this.trace('Closing session initiated by ' + ((_b = session.socket) === null || _b === void 0 ? void 0 : _b.remoteAddress));
- const sessionInfo = this.sessions.get(session);
- const closeCallback = () => {
- if (sessionInfo) {
- this.sessionChildrenTracker.unrefChild(sessionInfo.ref);
- (0, channelz_1.unregisterChannelzRef)(sessionInfo.ref);
- }
- callback === null || callback === void 0 ? void 0 : callback();
- };
- if (session.closed) {
- queueMicrotask(closeCallback);
- }
- else {
- session.close(closeCallback);
- }
- }
- completeUnbind(boundPortObject) {
- for (const server of boundPortObject.listeningServers) {
- const serverInfo = this.http2Servers.get(server);
- this.closeServer(server, () => {
- boundPortObject.listeningServers.delete(server);
- });
- if (serverInfo) {
- for (const session of serverInfo.sessions) {
- this.closeSession(session);
- }
- }
- }
- this.boundPorts.delete(boundPortObject.mapKey);
- }
- /**
- * Unbind a previously bound port, or cancel an in-progress bindAsync
- * operation. If port 0 was bound, only the actual bound port can be
- * unbound. For example, if bindAsync was called with "localhost:0" and the
- * bound port result was 54321, it can be unbound as "localhost:54321".
- * @param port
- */
- unbind(port) {
- this.trace('unbind port=' + port);
- const portUri = this.normalizePort(port);
- const splitPort = (0, uri_parser_1.splitHostPort)(portUri.path);
- if ((splitPort === null || splitPort === void 0 ? void 0 : splitPort.port) === 0) {
- throw new Error('Cannot unbind port 0');
- }
- const boundPortObject = this.boundPorts.get((0, uri_parser_1.uriToString)(portUri));
- if (boundPortObject) {
- this.trace('unbinding ' +
- boundPortObject.mapKey +
- ' originally bound as ' +
- (0, uri_parser_1.uriToString)(boundPortObject.originalUri));
- /* If the bind operation is pending, the cancelled flag will trigger
- * the unbind operation later. */
- if (boundPortObject.completionPromise) {
- boundPortObject.cancelled = true;
- }
- else {
- this.completeUnbind(boundPortObject);
- }
- }
- }
- /**
- * Gracefully close all connections associated with a previously bound port.
- * After the grace time, forcefully close all remaining open connections.
- *
- * If port 0 was bound, only the actual bound port can be
- * drained. For example, if bindAsync was called with "localhost:0" and the
- * bound port result was 54321, it can be drained as "localhost:54321".
- * @param port
- * @param graceTimeMs
- * @returns
- */
- drain(port, graceTimeMs) {
- var _b, _c;
- this.trace('drain port=' + port + ' graceTimeMs=' + graceTimeMs);
- const portUri = this.normalizePort(port);
- const splitPort = (0, uri_parser_1.splitHostPort)(portUri.path);
- if ((splitPort === null || splitPort === void 0 ? void 0 : splitPort.port) === 0) {
- throw new Error('Cannot drain port 0');
- }
- const boundPortObject = this.boundPorts.get((0, uri_parser_1.uriToString)(portUri));
- if (!boundPortObject) {
- return;
- }
- const allSessions = new Set();
- for (const http2Server of boundPortObject.listeningServers) {
- const serverEntry = this.http2Servers.get(http2Server);
- if (serverEntry) {
- for (const session of serverEntry.sessions) {
- allSessions.add(session);
- this.closeSession(session, () => {
- allSessions.delete(session);
- });
- }
- }
- }
- /* After the grace time ends, send another goaway to all remaining sessions
- * with the CANCEL code. */
- (_c = (_b = setTimeout(() => {
- for (const session of allSessions) {
- session.destroy(http2.constants.NGHTTP2_CANCEL);
- }
- }, graceTimeMs)).unref) === null || _c === void 0 ? void 0 : _c.call(_b);
- }
- forceShutdown() {
- for (const boundPortObject of this.boundPorts.values()) {
- boundPortObject.cancelled = true;
- }
- this.boundPorts.clear();
- // Close the server if it is still running.
- for (const server of this.http2Servers.keys()) {
- this.closeServer(server);
- }
- // Always destroy any available sessions. It's possible that one or more
- // tryShutdown() calls are in progress. Don't wait on them to finish.
- this.sessions.forEach((channelzInfo, session) => {
- this.closeSession(session);
- // Cast NGHTTP2_CANCEL to any because TypeScript doesn't seem to
- // recognize destroy(code) as a valid signature.
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- session.destroy(http2.constants.NGHTTP2_CANCEL);
- });
- this.sessions.clear();
- (0, channelz_1.unregisterChannelzRef)(this.channelzRef);
- this.shutdown = true;
- }
- register(name, handler, serialize, deserialize, type) {
- if (this.handlers.has(name)) {
- return false;
- }
- this.handlers.set(name, {
- func: handler,
- serialize,
- deserialize,
- type,
- path: name,
- });
- return true;
- }
- unregister(name) {
- return this.handlers.delete(name);
- }
- /**
- * @deprecated No longer needed as of version 1.10.x
- */
- start() {
- if (this.http2Servers.size === 0 ||
- [...this.http2Servers.keys()].every(server => !server.listening)) {
- throw new Error('server must be bound in order to start');
- }
- if (this.started === true) {
- throw new Error('server is already started');
- }
- this.started = true;
- }
- tryShutdown(callback) {
- var _b;
- const wrappedCallback = (error) => {
- (0, channelz_1.unregisterChannelzRef)(this.channelzRef);
- callback(error);
- };
- let pendingChecks = 0;
- function maybeCallback() {
- pendingChecks--;
- if (pendingChecks === 0) {
- wrappedCallback();
- }
- }
- this.shutdown = true;
- for (const [serverKey, server] of this.http2Servers.entries()) {
- pendingChecks++;
- const serverString = server.channelzRef.name;
- this.trace('Waiting for server ' + serverString + ' to close');
- this.closeServer(serverKey, () => {
- this.trace('Server ' + serverString + ' finished closing');
- maybeCallback();
- });
- for (const session of server.sessions.keys()) {
- pendingChecks++;
- const sessionString = (_b = session.socket) === null || _b === void 0 ? void 0 : _b.remoteAddress;
- this.trace('Waiting for session ' + sessionString + ' to close');
- this.closeSession(session, () => {
- this.trace('Session ' + sessionString + ' finished closing');
- maybeCallback();
- });
- }
- }
- if (pendingChecks === 0) {
- wrappedCallback();
- }
- }
- addHttp2Port() {
- throw new Error('Not yet implemented');
- }
- /**
- * Get the channelz reference object for this server. The returned value is
- * garbage if channelz is disabled for this server.
- * @returns
- */
- getChannelzRef() {
- return this.channelzRef;
- }
- _verifyContentType(stream, headers) {
- const contentType = headers[http2.constants.HTTP2_HEADER_CONTENT_TYPE];
- if (typeof contentType !== 'string' ||
- !contentType.startsWith('application/grpc')) {
- stream.respond({
- [http2.constants.HTTP2_HEADER_STATUS]: http2.constants.HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE,
- }, { endStream: true });
- return false;
- }
- return true;
- }
- _retrieveHandler(path) {
- serverCallTrace('Received call to method ' +
- path +
- ' at address ' +
- this.serverAddressString);
- const handler = this.handlers.get(path);
- if (handler === undefined) {
- serverCallTrace('No handler registered for method ' +
- path +
- '. Sending UNIMPLEMENTED status.');
- return null;
- }
- return handler;
- }
- _respondWithError(err, stream, channelzSessionInfo = null) {
- var _b, _c;
- const trailersToSend = Object.assign({ 'grpc-status': (_b = err.code) !== null && _b !== void 0 ? _b : constants_1.Status.INTERNAL, 'grpc-message': err.details, [http2.constants.HTTP2_HEADER_STATUS]: http2.constants.HTTP_STATUS_OK, [http2.constants.HTTP2_HEADER_CONTENT_TYPE]: 'application/grpc+proto' }, (_c = err.metadata) === null || _c === void 0 ? void 0 : _c.toHttp2Headers());
- stream.respond(trailersToSend, { endStream: true });
- this.callTracker.addCallFailed();
- channelzSessionInfo === null || channelzSessionInfo === void 0 ? void 0 : channelzSessionInfo.streamTracker.addCallFailed();
- }
- _channelzHandler(extraInterceptors, stream, headers) {
- stream.once('error', (err) => {
- /* We need an error handler to avoid uncaught error event exceptions, but
- * there is nothing we can reasonably do here. Any error event should
- * have a corresponding close event, which handles emitting the cancelled
- * event. And the stream is now in a bad state, so we can't reasonably
- * expect to be able to send an error over it. */
- });
- // for handling idle timeout
- this.onStreamOpened(stream);
- const channelzSessionInfo = this.sessions.get(stream.session);
- this.callTracker.addCallStarted();
- channelzSessionInfo === null || channelzSessionInfo === void 0 ? void 0 : channelzSessionInfo.streamTracker.addCallStarted();
- if (!this._verifyContentType(stream, headers)) {
- this.callTracker.addCallFailed();
- channelzSessionInfo === null || channelzSessionInfo === void 0 ? void 0 : channelzSessionInfo.streamTracker.addCallFailed();
- return;
- }
- const path = headers[HTTP2_HEADER_PATH];
- const handler = this._retrieveHandler(path);
- if (!handler) {
- this._respondWithError(getUnimplementedStatusResponse(path), stream, channelzSessionInfo);
- return;
- }
- const callEventTracker = {
- addMessageSent: () => {
- if (channelzSessionInfo) {
- channelzSessionInfo.messagesSent += 1;
- channelzSessionInfo.lastMessageSentTimestamp = new Date();
- }
- },
- addMessageReceived: () => {
- if (channelzSessionInfo) {
- channelzSessionInfo.messagesReceived += 1;
- channelzSessionInfo.lastMessageReceivedTimestamp = new Date();
- }
- },
- onCallEnd: status => {
- if (status.code === constants_1.Status.OK) {
- this.callTracker.addCallSucceeded();
- }
- else {
- this.callTracker.addCallFailed();
- }
- },
- onStreamEnd: success => {
- if (channelzSessionInfo) {
- if (success) {
- channelzSessionInfo.streamTracker.addCallSucceeded();
- }
- else {
- channelzSessionInfo.streamTracker.addCallFailed();
- }
- }
- },
- };
- const call = (0, server_interceptors_1.getServerInterceptingCall)([...extraInterceptors, ...this.interceptors], stream, headers, callEventTracker, handler, this.options);
- if (!this._runHandlerForCall(call, handler)) {
- this.callTracker.addCallFailed();
- channelzSessionInfo === null || channelzSessionInfo === void 0 ? void 0 : channelzSessionInfo.streamTracker.addCallFailed();
- call.sendStatus({
- code: constants_1.Status.INTERNAL,
- details: `Unknown handler type: ${handler.type}`,
- });
- }
- }
- _streamHandler(extraInterceptors, stream, headers) {
- stream.once('error', (err) => {
- /* We need an error handler to avoid uncaught error event exceptions, but
- * there is nothing we can reasonably do here. Any error event should
- * have a corresponding close event, which handles emitting the cancelled
- * event. And the stream is now in a bad state, so we can't reasonably
- * expect to be able to send an error over it. */
- });
- // for handling idle timeout
- this.onStreamOpened(stream);
- if (this._verifyContentType(stream, headers) !== true) {
- return;
- }
- const path = headers[HTTP2_HEADER_PATH];
- const handler = this._retrieveHandler(path);
- if (!handler) {
- this._respondWithError(getUnimplementedStatusResponse(path), stream, null);
- return;
- }
- const call = (0, server_interceptors_1.getServerInterceptingCall)([...extraInterceptors, ...this.interceptors], stream, headers, null, handler, this.options);
- if (!this._runHandlerForCall(call, handler)) {
- call.sendStatus({
- code: constants_1.Status.INTERNAL,
- details: `Unknown handler type: ${handler.type}`,
- });
- }
- }
- _runHandlerForCall(call, handler) {
- const { type } = handler;
- if (type === 'unary') {
- handleUnary(call, handler);
- }
- else if (type === 'clientStream') {
- handleClientStreaming(call, handler);
- }
- else if (type === 'serverStream') {
- handleServerStreaming(call, handler);
- }
- else if (type === 'bidi') {
- handleBidiStreaming(call, handler);
- }
- else {
- return false;
- }
- return true;
- }
- _setupHandlers(http2Server, extraInterceptors) {
- if (http2Server === null) {
- return;
- }
- const serverAddress = http2Server.address();
- let serverAddressString = 'null';
- if (serverAddress) {
- if (typeof serverAddress === 'string') {
- serverAddressString = serverAddress;
- }
- else {
- serverAddressString = serverAddress.address + ':' + serverAddress.port;
- }
- }
- this.serverAddressString = serverAddressString;
- const handler = this.channelzEnabled
- ? this._channelzHandler
- : this._streamHandler;
- const sessionHandler = this.channelzEnabled
- ? this._channelzSessionHandler(http2Server)
- : this._sessionHandler(http2Server);
- http2Server.on('stream', handler.bind(this, extraInterceptors));
- http2Server.on('session', sessionHandler);
- }
- _sessionHandler(http2Server) {
- return (session) => {
- var _b, _c;
- (_b = this.http2Servers.get(http2Server)) === null || _b === void 0 ? void 0 : _b.sessions.add(session);
- let connectionAgeTimer = null;
- let connectionAgeGraceTimer = null;
- let keepaliveTimer = null;
- let sessionClosedByServer = false;
- const idleTimeoutObj = this.enableIdleTimeout(session);
- if (this.maxConnectionAgeMs !== UNLIMITED_CONNECTION_AGE_MS) {
- // Apply a random jitter within a +/-10% range
- const jitterMagnitude = this.maxConnectionAgeMs / 10;
- const jitter = Math.random() * jitterMagnitude * 2 - jitterMagnitude;
- connectionAgeTimer = setTimeout(() => {
- var _b, _c;
- sessionClosedByServer = true;
- this.trace('Connection dropped by max connection age: ' +
- ((_b = session.socket) === null || _b === void 0 ? void 0 : _b.remoteAddress));
- try {
- session.goaway(http2.constants.NGHTTP2_NO_ERROR, ~(1 << 31), kMaxAge);
- }
- catch (e) {
- // The goaway can't be sent because the session is already closed
- session.destroy();
- return;
- }
- session.close();
- /* Allow a grace period after sending the GOAWAY before forcibly
- * closing the connection. */
- if (this.maxConnectionAgeGraceMs !== UNLIMITED_CONNECTION_AGE_MS) {
- connectionAgeGraceTimer = setTimeout(() => {
- session.destroy();
- }, this.maxConnectionAgeGraceMs);
- (_c = connectionAgeGraceTimer.unref) === null || _c === void 0 ? void 0 : _c.call(connectionAgeGraceTimer);
- }
- }, this.maxConnectionAgeMs + jitter);
- (_c = connectionAgeTimer.unref) === null || _c === void 0 ? void 0 : _c.call(connectionAgeTimer);
- }
- const clearKeepaliveTimeout = () => {
- if (keepaliveTimer) {
- clearTimeout(keepaliveTimer);
- keepaliveTimer = null;
- }
- };
- const canSendPing = () => {
- return (!session.destroyed &&
- this.keepaliveTimeMs < KEEPALIVE_MAX_TIME_MS &&
- this.keepaliveTimeMs > 0);
- };
- /* eslint-disable-next-line prefer-const */
- let sendPing; // hoisted for use in maybeStartKeepalivePingTimer
- const maybeStartKeepalivePingTimer = () => {
- var _b;
- if (!canSendPing()) {
- return;
- }
- this.keepaliveTrace('Starting keepalive timer for ' + this.keepaliveTimeMs + 'ms');
- keepaliveTimer = setTimeout(() => {
- clearKeepaliveTimeout();
- sendPing();
- }, this.keepaliveTimeMs);
- (_b = keepaliveTimer.unref) === null || _b === void 0 ? void 0 : _b.call(keepaliveTimer);
- };
- sendPing = () => {
- var _b;
- if (!canSendPing()) {
- return;
- }
- this.keepaliveTrace('Sending ping with timeout ' + this.keepaliveTimeoutMs + 'ms');
- let pingSendError = '';
- try {
- const pingSentSuccessfully = session.ping((err, duration, payload) => {
- clearKeepaliveTimeout();
- if (err) {
- this.keepaliveTrace('Ping failed with error: ' + err.message);
- sessionClosedByServer = true;
- session.destroy();
- }
- else {
- this.keepaliveTrace('Received ping response');
- maybeStartKeepalivePingTimer();
- }
- });
- if (!pingSentSuccessfully) {
- pingSendError = 'Ping returned false';
- }
- }
- catch (e) {
- // grpc/grpc-node#2139
- pingSendError =
- (e instanceof Error ? e.message : '') || 'Unknown error';
- }
- if (pingSendError) {
- this.keepaliveTrace('Ping send failed: ' + pingSendError);
- this.trace('Connection dropped due to ping send error: ' + pingSendError);
- sessionClosedByServer = true;
- session.destroy();
- return;
- }
- keepaliveTimer = setTimeout(() => {
- clearKeepaliveTimeout();
- this.keepaliveTrace('Ping timeout passed without response');
- this.trace('Connection dropped by keepalive timeout');
- sessionClosedByServer = true;
- session.destroy();
- }, this.keepaliveTimeoutMs);
- (_b = keepaliveTimer.unref) === null || _b === void 0 ? void 0 : _b.call(keepaliveTimer);
- };
- maybeStartKeepalivePingTimer();
- session.on('close', () => {
- var _b, _c;
- if (!sessionClosedByServer) {
- this.trace(`Connection dropped by client ${(_b = session.socket) === null || _b === void 0 ? void 0 : _b.remoteAddress}`);
- }
- if (connectionAgeTimer) {
- clearTimeout(connectionAgeTimer);
- }
- if (connectionAgeGraceTimer) {
- clearTimeout(connectionAgeGraceTimer);
- }
- clearKeepaliveTimeout();
- if (idleTimeoutObj !== null) {
- clearTimeout(idleTimeoutObj.timeout);
- this.sessionIdleTimeouts.delete(session);
- }
- (_c = this.http2Servers.get(http2Server)) === null || _c === void 0 ? void 0 : _c.sessions.delete(session);
- });
- };
- }
- _channelzSessionHandler(http2Server) {
- return (session) => {
- var _b, _c, _d, _e;
- const channelzRef = (0, channelz_1.registerChannelzSocket)((_c = (_b = session.socket) === null || _b === void 0 ? void 0 : _b.remoteAddress) !== null && _c !== void 0 ? _c : 'unknown', this.getChannelzSessionInfo.bind(this, session), this.channelzEnabled);
- const channelzSessionInfo = {
- ref: channelzRef,
- streamTracker: new channelz_1.ChannelzCallTracker(),
- messagesSent: 0,
- messagesReceived: 0,
- keepAlivesSent: 0,
- lastMessageSentTimestamp: null,
- lastMessageReceivedTimestamp: null,
- };
- (_d = this.http2Servers.get(http2Server)) === null || _d === void 0 ? void 0 : _d.sessions.add(session);
- this.sessions.set(session, channelzSessionInfo);
- const clientAddress = `${session.socket.remoteAddress}:${session.socket.remotePort}`;
- this.channelzTrace.addTrace('CT_INFO', 'Connection established by client ' + clientAddress);
- this.trace('Connection established by client ' + clientAddress);
- this.sessionChildrenTracker.refChild(channelzRef);
- let connectionAgeTimer = null;
- let connectionAgeGraceTimer = null;
- let keepaliveTimeout = null;
- let sessionClosedByServer = false;
- const idleTimeoutObj = this.enableIdleTimeout(session);
- if (this.maxConnectionAgeMs !== UNLIMITED_CONNECTION_AGE_MS) {
- // Apply a random jitter within a +/-10% range
- const jitterMagnitude = this.maxConnectionAgeMs / 10;
- const jitter = Math.random() * jitterMagnitude * 2 - jitterMagnitude;
- connectionAgeTimer = setTimeout(() => {
- var _b;
- sessionClosedByServer = true;
- this.channelzTrace.addTrace('CT_INFO', 'Connection dropped by max connection age from ' + clientAddress);
- try {
- session.goaway(http2.constants.NGHTTP2_NO_ERROR, ~(1 << 31), kMaxAge);
- }
- catch (e) {
- // The goaway can't be sent because the session is already closed
- session.destroy();
- return;
- }
- session.close();
- /* Allow a grace period after sending the GOAWAY before forcibly
- * closing the connection. */
- if (this.maxConnectionAgeGraceMs !== UNLIMITED_CONNECTION_AGE_MS) {
- connectionAgeGraceTimer = setTimeout(() => {
- session.destroy();
- }, this.maxConnectionAgeGraceMs);
- (_b = connectionAgeGraceTimer.unref) === null || _b === void 0 ? void 0 : _b.call(connectionAgeGraceTimer);
- }
- }, this.maxConnectionAgeMs + jitter);
- (_e = connectionAgeTimer.unref) === null || _e === void 0 ? void 0 : _e.call(connectionAgeTimer);
- }
- const clearKeepaliveTimeout = () => {
- if (keepaliveTimeout) {
- clearTimeout(keepaliveTimeout);
- keepaliveTimeout = null;
- }
- };
- const canSendPing = () => {
- return (!session.destroyed &&
- this.keepaliveTimeMs < KEEPALIVE_MAX_TIME_MS &&
- this.keepaliveTimeMs > 0);
- };
- /* eslint-disable-next-line prefer-const */
- let sendPing; // hoisted for use in maybeStartKeepalivePingTimer
- const maybeStartKeepalivePingTimer = () => {
- var _b;
- if (!canSendPing()) {
- return;
- }
- this.keepaliveTrace('Starting keepalive timer for ' + this.keepaliveTimeMs + 'ms');
- keepaliveTimeout = setTimeout(() => {
- clearKeepaliveTimeout();
- sendPing();
- }, this.keepaliveTimeMs);
- (_b = keepaliveTimeout.unref) === null || _b === void 0 ? void 0 : _b.call(keepaliveTimeout);
- };
- sendPing = () => {
- var _b;
- if (!canSendPing()) {
- return;
- }
- this.keepaliveTrace('Sending ping with timeout ' + this.keepaliveTimeoutMs + 'ms');
- let pingSendError = '';
- try {
- const pingSentSuccessfully = session.ping((err, duration, payload) => {
- clearKeepaliveTimeout();
- if (err) {
- this.keepaliveTrace('Ping failed with error: ' + err.message);
- this.channelzTrace.addTrace('CT_INFO', 'Connection dropped due to error of a ping frame ' +
- err.message +
- ' return in ' +
- duration);
- sessionClosedByServer = true;
- session.destroy();
- }
- else {
- this.keepaliveTrace('Received ping response');
- maybeStartKeepalivePingTimer();
- }
- });
- if (!pingSentSuccessfully) {
- pingSendError = 'Ping returned false';
- }
- }
- catch (e) {
- // grpc/grpc-node#2139
- pingSendError =
- (e instanceof Error ? e.message : '') || 'Unknown error';
- }
- if (pingSendError) {
- this.keepaliveTrace('Ping send failed: ' + pingSendError);
- this.channelzTrace.addTrace('CT_INFO', 'Connection dropped due to ping send error: ' + pingSendError);
- sessionClosedByServer = true;
- session.destroy();
- return;
- }
- channelzSessionInfo.keepAlivesSent += 1;
- keepaliveTimeout = setTimeout(() => {
- clearKeepaliveTimeout();
- this.keepaliveTrace('Ping timeout passed without response');
- this.channelzTrace.addTrace('CT_INFO', 'Connection dropped by keepalive timeout from ' + clientAddress);
- sessionClosedByServer = true;
- session.destroy();
- }, this.keepaliveTimeoutMs);
- (_b = keepaliveTimeout.unref) === null || _b === void 0 ? void 0 : _b.call(keepaliveTimeout);
- };
- maybeStartKeepalivePingTimer();
- session.on('close', () => {
- var _b;
- if (!sessionClosedByServer) {
- this.channelzTrace.addTrace('CT_INFO', 'Connection dropped by client ' + clientAddress);
- }
- this.sessionChildrenTracker.unrefChild(channelzRef);
- (0, channelz_1.unregisterChannelzRef)(channelzRef);
- if (connectionAgeTimer) {
- clearTimeout(connectionAgeTimer);
- }
- if (connectionAgeGraceTimer) {
- clearTimeout(connectionAgeGraceTimer);
- }
- clearKeepaliveTimeout();
- if (idleTimeoutObj !== null) {
- clearTimeout(idleTimeoutObj.timeout);
- this.sessionIdleTimeouts.delete(session);
- }
- (_b = this.http2Servers.get(http2Server)) === null || _b === void 0 ? void 0 : _b.sessions.delete(session);
- this.sessions.delete(session);
- });
- };
- }
- enableIdleTimeout(session) {
- var _b, _c;
- if (this.sessionIdleTimeout >= MAX_CONNECTION_IDLE_MS) {
- return null;
- }
- const idleTimeoutObj = {
- activeStreams: 0,
- lastIdle: Date.now(),
- onClose: this.onStreamClose.bind(this, session),
- timeout: setTimeout(this.onIdleTimeout, this.sessionIdleTimeout, this, session),
- };
- (_c = (_b = idleTimeoutObj.timeout).unref) === null || _c === void 0 ? void 0 : _c.call(_b);
- this.sessionIdleTimeouts.set(session, idleTimeoutObj);
- const { socket } = session;
- this.trace('Enable idle timeout for ' +
- socket.remoteAddress +
- ':' +
- socket.remotePort);
- return idleTimeoutObj;
- }
- onIdleTimeout(ctx, session) {
- const { socket } = session;
- const sessionInfo = ctx.sessionIdleTimeouts.get(session);
- // if it is called while we have activeStreams - timer will not be rescheduled
- // until last active stream is closed, then it will call .refresh() on the timer
- // important part is to not clearTimeout(timer) or it becomes unusable
- // for future refreshes
- if (sessionInfo !== undefined &&
- sessionInfo.activeStreams === 0) {
- if (Date.now() - sessionInfo.lastIdle >= ctx.sessionIdleTimeout) {
- ctx.trace('Session idle timeout triggered for ' +
- (socket === null || socket === void 0 ? void 0 : socket.remoteAddress) +
- ':' +
- (socket === null || socket === void 0 ? void 0 : socket.remotePort) +
- ' last idle at ' +
- sessionInfo.lastIdle);
- ctx.closeSession(session);
- }
- else {
- sessionInfo.timeout.refresh();
- }
- }
- }
- onStreamOpened(stream) {
- const session = stream.session;
- const idleTimeoutObj = this.sessionIdleTimeouts.get(session);
- if (idleTimeoutObj) {
- idleTimeoutObj.activeStreams += 1;
- stream.once('close', idleTimeoutObj.onClose);
- }
- }
- onStreamClose(session) {
- var _b, _c;
- const idleTimeoutObj = this.sessionIdleTimeouts.get(session);
- if (idleTimeoutObj) {
- idleTimeoutObj.activeStreams -= 1;
- if (idleTimeoutObj.activeStreams === 0) {
- idleTimeoutObj.lastIdle = Date.now();
- idleTimeoutObj.timeout.refresh();
- this.trace('Session onStreamClose' +
- ((_b = session.socket) === null || _b === void 0 ? void 0 : _b.remoteAddress) +
- ':' +
- ((_c = session.socket) === null || _c === void 0 ? void 0 : _c.remotePort) +
- ' at ' +
- idleTimeoutObj.lastIdle);
- }
- }
- }
- },
- (() => {
- const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
- _start_decorators = [deprecate('Calling start() is no longer necessary. It can be safely omitted.')];
- __esDecorate(_a, null, _start_decorators, { kind: "method", name: "start", static: false, private: false, access: { has: obj => "start" in obj, get: obj => obj.start }, metadata: _metadata }, null, _instanceExtraInitializers);
- if (_metadata) Object.defineProperty(_a, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
- })(),
- _a;
-})();
-exports.Server = Server;
-async function handleUnary(call, handler) {
- let stream;
- function respond(err, value, trailer, flags) {
- if (err) {
- call.sendStatus((0, server_call_1.serverErrorToStatus)(err, trailer));
- return;
- }
- call.sendMessage(value, () => {
- call.sendStatus({
- code: constants_1.Status.OK,
- details: 'OK',
- metadata: trailer !== null && trailer !== void 0 ? trailer : null,
- });
- });
- }
- let requestMetadata;
- let requestMessage = null;
- call.start({
- onReceiveMetadata(metadata) {
- requestMetadata = metadata;
- call.startRead();
- },
- onReceiveMessage(message) {
- if (requestMessage) {
- call.sendStatus({
- code: constants_1.Status.UNIMPLEMENTED,
- details: `Received a second request message for server streaming method ${handler.path}`,
- metadata: null,
- });
- return;
- }
- requestMessage = message;
- call.startRead();
- },
- onReceiveHalfClose() {
- if (!requestMessage) {
- call.sendStatus({
- code: constants_1.Status.UNIMPLEMENTED,
- details: `Received no request message for server streaming method ${handler.path}`,
- metadata: null,
- });
- return;
- }
- stream = new server_call_1.ServerWritableStreamImpl(handler.path, call, requestMetadata, requestMessage);
- try {
- handler.func(stream, respond);
- }
- catch (err) {
- call.sendStatus({
- code: constants_1.Status.UNKNOWN,
- details: `Server method handler threw error ${err.message}`,
- metadata: null,
- });
- }
- },
- onCancel() {
- if (stream) {
- stream.cancelled = true;
- stream.emit('cancelled', 'cancelled');
- }
- },
- });
-}
-function handleClientStreaming(call, handler) {
- let stream;
- function respond(err, value, trailer, flags) {
- if (err) {
- call.sendStatus((0, server_call_1.serverErrorToStatus)(err, trailer));
- return;
- }
- call.sendMessage(value, () => {
- call.sendStatus({
- code: constants_1.Status.OK,
- details: 'OK',
- metadata: trailer !== null && trailer !== void 0 ? trailer : null,
- });
- });
- }
- call.start({
- onReceiveMetadata(metadata) {
- stream = new server_call_1.ServerDuplexStreamImpl(handler.path, call, metadata);
- try {
- handler.func(stream, respond);
- }
- catch (err) {
- call.sendStatus({
- code: constants_1.Status.UNKNOWN,
- details: `Server method handler threw error ${err.message}`,
- metadata: null,
- });
- }
- },
- onReceiveMessage(message) {
- stream.push(message);
- },
- onReceiveHalfClose() {
- stream.push(null);
- },
- onCancel() {
- if (stream) {
- stream.cancelled = true;
- stream.emit('cancelled', 'cancelled');
- stream.destroy();
- }
- },
- });
-}
-function handleServerStreaming(call, handler) {
- let stream;
- let requestMetadata;
- let requestMessage = null;
- call.start({
- onReceiveMetadata(metadata) {
- requestMetadata = metadata;
- call.startRead();
- },
- onReceiveMessage(message) {
- if (requestMessage) {
- call.sendStatus({
- code: constants_1.Status.UNIMPLEMENTED,
- details: `Received a second request message for server streaming method ${handler.path}`,
- metadata: null,
- });
- return;
- }
- requestMessage = message;
- call.startRead();
- },
- onReceiveHalfClose() {
- if (!requestMessage) {
- call.sendStatus({
- code: constants_1.Status.UNIMPLEMENTED,
- details: `Received no request message for server streaming method ${handler.path}`,
- metadata: null,
- });
- return;
- }
- stream = new server_call_1.ServerWritableStreamImpl(handler.path, call, requestMetadata, requestMessage);
- try {
- handler.func(stream);
- }
- catch (err) {
- call.sendStatus({
- code: constants_1.Status.UNKNOWN,
- details: `Server method handler threw error ${err.message}`,
- metadata: null,
- });
- }
- },
- onCancel() {
- if (stream) {
- stream.cancelled = true;
- stream.emit('cancelled', 'cancelled');
- stream.destroy();
- }
- },
- });
-}
-function handleBidiStreaming(call, handler) {
- let stream;
- call.start({
- onReceiveMetadata(metadata) {
- stream = new server_call_1.ServerDuplexStreamImpl(handler.path, call, metadata);
- try {
- handler.func(stream);
- }
- catch (err) {
- call.sendStatus({
- code: constants_1.Status.UNKNOWN,
- details: `Server method handler threw error ${err.message}`,
- metadata: null,
- });
- }
- },
- onReceiveMessage(message) {
- stream.push(message);
- },
- onReceiveHalfClose() {
- stream.push(null);
- },
- onCancel() {
- if (stream) {
- stream.cancelled = true;
- stream.emit('cancelled', 'cancelled');
- stream.destroy();
- }
- },
- });
-}
-//# sourceMappingURL=server.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/server.js.map b/node_modules/@grpc/grpc-js/build/src/server.js.map
deleted file mode 100644
index 84f6e78..0000000
--- a/node_modules/@grpc/grpc-js/build/src/server.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,+BAA+B;AAC/B,6BAA6B;AAG7B,2CAAmD;AAGnD,+CAkBuB;AACvB,6DAA+E;AAE/E,yCAIoB;AACpB,qCAAqC;AACrC,6D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ACxB,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;gBACtC,MAAM,CAAC,OAAO,EAAE,CAAC;YACnB,CAAC;QACH,CAAC;KACF,CAAC,CAAC;AACL,CAAC;AAED,SAAS,mBAAmB,CAC1B,IAAqC,EACrC,OAAwD;IAExD,IAAI,MAAqD,CAAC;IAE1D,IAAI,CAAC,KAAK,CAAC;QACT,iBAAiB,CAAC,QAAQ;YACxB,MAAM,GAAG,IAAI,oCAAsB,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;YAClE,IAAI,CAAC;gBACH,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACvB,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,IAAI,CAAC,UAAU,CAAC;oBACd,IAAI,EAAE,kBAAM,CAAC,OAAO;oBACpB,OAAO,EAAE,qCACN,GAAa,CAAC,OACjB,EAAE;oBACF,QAAQ,EAAE,IAAI;iBACf,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QACD,gBAAgB,CAAC,OAAO;YACtB,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvB,CAAC;QACD,kBAAkB;YAChB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACpB,CAAC;QACD,QAAQ;YACN,IAAI,MAAM,EAAE,CAAC;gBACX,MAAM,CAAC,SAAS,GAAG,IAAI,CAAC;gBACxB,MAAM,CAAC,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;gBACtC,MAAM,CAAC,OAAO,EAAE,CAAC;YACnB,CAAC;QACH,CAAC;KACF,CAAC,CAAC;AACL,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/service-config.d.ts b/node_modules/@grpc/grpc-js/build/src/service-config.d.ts
deleted file mode 100644
index c638f4f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/service-config.d.ts
+++ /dev/null
@@ -1,58 +0,0 @@
-import { Status } from './constants';
-import { Duration } from './duration';
-export interface MethodConfigName {
- service?: string;
- method?: string;
-}
-export interface RetryPolicy {
- maxAttempts: number;
- initialBackoff: string;
- maxBackoff: string;
- backoffMultiplier: number;
- retryableStatusCodes: (Status | string)[];
-}
-export interface HedgingPolicy {
- maxAttempts: number;
- hedgingDelay?: string;
- nonFatalStatusCodes?: (Status | string)[];
-}
-export interface MethodConfig {
- name: MethodConfigName[];
- waitForReady?: boolean;
- timeout?: Duration;
- maxRequestBytes?: number;
- maxResponseBytes?: number;
- retryPolicy?: RetryPolicy;
- hedgingPolicy?: HedgingPolicy;
-}
-export interface RetryThrottling {
- maxTokens: number;
- tokenRatio: number;
-}
-export interface LoadBalancingConfig {
- [key: string]: object;
-}
-export interface ServiceConfig {
- loadBalancingPolicy?: string;
- loadBalancingConfig: LoadBalancingConfig[];
- methodConfig: MethodConfig[];
- retryThrottling?: RetryThrottling;
-}
-export interface ServiceConfigCanaryConfig {
- clientLanguage?: string[];
- percentage?: number;
- clientHostname?: string[];
- serviceConfig: ServiceConfig;
-}
-export declare function validateRetryThrottling(obj: any): RetryThrottling;
-export declare function validateServiceConfig(obj: any): ServiceConfig;
-/**
- * Find the "grpc_config" record among the TXT records, parse its value as JSON, validate its contents,
- * and select a service config with selection fields that all match this client. Most of these steps
- * can fail with an error; the caller must handle any errors thrown this way.
- * @param txtRecord The TXT record array that is output from a successful call to dns.resolveTxt
- * @param percentage A number chosen from the range [0, 100) that is used to select which config to use
- * @return The service configuration to use, given the percentage value, or null if the service config
- * data has a valid format but none of the options match the current client.
- */
-export declare function extractAndSelectServiceConfig(txtRecord: string[][], percentage: number): ServiceConfig | null;
diff --git a/node_modules/@grpc/grpc-js/build/src/service-config.js b/node_modules/@grpc/grpc-js/build/src/service-config.js
deleted file mode 100644
index d7accd3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/service-config.js
+++ /dev/null
@@ -1,430 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.validateRetryThrottling = validateRetryThrottling;
-exports.validateServiceConfig = validateServiceConfig;
-exports.extractAndSelectServiceConfig = extractAndSelectServiceConfig;
-/* This file implements gRFC A2 and the service config spec:
- * https://github.com/grpc/proposal/blob/master/A2-service-configs-in-dns.md
- * https://github.com/grpc/grpc/blob/master/doc/service_config.md. Each
- * function here takes an object with unknown structure and returns its
- * specific object type if the input has the right structure, and throws an
- * error otherwise. */
-/* The any type is purposely used here. All functions validate their input at
- * runtime */
-/* eslint-disable @typescript-eslint/no-explicit-any */
-const os = require("os");
-const constants_1 = require("./constants");
-/**
- * Recognizes a number with up to 9 digits after the decimal point, followed by
- * an "s", representing a number of seconds.
- */
-const DURATION_REGEX = /^\d+(\.\d{1,9})?s$/;
-/**
- * Client language name used for determining whether this client matches a
- * `ServiceConfigCanaryConfig`'s `clientLanguage` list.
- */
-const CLIENT_LANGUAGE_STRING = 'node';
-function validateName(obj) {
- // In this context, and unset field and '' are considered the same
- if ('service' in obj && obj.service !== '') {
- if (typeof obj.service !== 'string') {
- throw new Error(`Invalid method config name: invalid service: expected type string, got ${typeof obj.service}`);
- }
- if ('method' in obj && obj.method !== '') {
- if (typeof obj.method !== 'string') {
- throw new Error(`Invalid method config name: invalid method: expected type string, got ${typeof obj.service}`);
- }
- return {
- service: obj.service,
- method: obj.method,
- };
- }
- else {
- return {
- service: obj.service,
- };
- }
- }
- else {
- if ('method' in obj && obj.method !== undefined) {
- throw new Error(`Invalid method config name: method set with empty or unset service`);
- }
- return {};
- }
-}
-function validateRetryPolicy(obj) {
- if (!('maxAttempts' in obj) ||
- !Number.isInteger(obj.maxAttempts) ||
- obj.maxAttempts < 2) {
- throw new Error('Invalid method config retry policy: maxAttempts must be an integer at least 2');
- }
- if (!('initialBackoff' in obj) ||
- typeof obj.initialBackoff !== 'string' ||
- !DURATION_REGEX.test(obj.initialBackoff)) {
- throw new Error('Invalid method config retry policy: initialBackoff must be a string consisting of a positive integer or decimal followed by s');
- }
- if (!('maxBackoff' in obj) ||
- typeof obj.maxBackoff !== 'string' ||
- !DURATION_REGEX.test(obj.maxBackoff)) {
- throw new Error('Invalid method config retry policy: maxBackoff must be a string consisting of a positive integer or decimal followed by s');
- }
- if (!('backoffMultiplier' in obj) ||
- typeof obj.backoffMultiplier !== 'number' ||
- obj.backoffMultiplier <= 0) {
- throw new Error('Invalid method config retry policy: backoffMultiplier must be a number greater than 0');
- }
- if (!('retryableStatusCodes' in obj && Array.isArray(obj.retryableStatusCodes))) {
- throw new Error('Invalid method config retry policy: retryableStatusCodes is required');
- }
- if (obj.retryableStatusCodes.length === 0) {
- throw new Error('Invalid method config retry policy: retryableStatusCodes must be non-empty');
- }
- for (const value of obj.retryableStatusCodes) {
- if (typeof value === 'number') {
- if (!Object.values(constants_1.Status).includes(value)) {
- throw new Error('Invalid method config retry policy: retryableStatusCodes value not in status code range');
- }
- }
- else if (typeof value === 'string') {
- if (!Object.values(constants_1.Status).includes(value.toUpperCase())) {
- throw new Error('Invalid method config retry policy: retryableStatusCodes value not a status code name');
- }
- }
- else {
- throw new Error('Invalid method config retry policy: retryableStatusCodes value must be a string or number');
- }
- }
- return {
- maxAttempts: obj.maxAttempts,
- initialBackoff: obj.initialBackoff,
- maxBackoff: obj.maxBackoff,
- backoffMultiplier: obj.backoffMultiplier,
- retryableStatusCodes: obj.retryableStatusCodes,
- };
-}
-function validateHedgingPolicy(obj) {
- if (!('maxAttempts' in obj) ||
- !Number.isInteger(obj.maxAttempts) ||
- obj.maxAttempts < 2) {
- throw new Error('Invalid method config hedging policy: maxAttempts must be an integer at least 2');
- }
- if ('hedgingDelay' in obj &&
- (typeof obj.hedgingDelay !== 'string' ||
- !DURATION_REGEX.test(obj.hedgingDelay))) {
- throw new Error('Invalid method config hedging policy: hedgingDelay must be a string consisting of a positive integer followed by s');
- }
- if ('nonFatalStatusCodes' in obj && Array.isArray(obj.nonFatalStatusCodes)) {
- for (const value of obj.nonFatalStatusCodes) {
- if (typeof value === 'number') {
- if (!Object.values(constants_1.Status).includes(value)) {
- throw new Error('Invalid method config hedging policy: nonFatalStatusCodes value not in status code range');
- }
- }
- else if (typeof value === 'string') {
- if (!Object.values(constants_1.Status).includes(value.toUpperCase())) {
- throw new Error('Invalid method config hedging policy: nonFatalStatusCodes value not a status code name');
- }
- }
- else {
- throw new Error('Invalid method config hedging policy: nonFatalStatusCodes value must be a string or number');
- }
- }
- }
- const result = {
- maxAttempts: obj.maxAttempts,
- };
- if (obj.hedgingDelay) {
- result.hedgingDelay = obj.hedgingDelay;
- }
- if (obj.nonFatalStatusCodes) {
- result.nonFatalStatusCodes = obj.nonFatalStatusCodes;
- }
- return result;
-}
-function validateMethodConfig(obj) {
- var _a;
- const result = {
- name: [],
- };
- if (!('name' in obj) || !Array.isArray(obj.name)) {
- throw new Error('Invalid method config: invalid name array');
- }
- for (const name of obj.name) {
- result.name.push(validateName(name));
- }
- if ('waitForReady' in obj) {
- if (typeof obj.waitForReady !== 'boolean') {
- throw new Error('Invalid method config: invalid waitForReady');
- }
- result.waitForReady = obj.waitForReady;
- }
- if ('timeout' in obj) {
- if (typeof obj.timeout === 'object') {
- if (!('seconds' in obj.timeout) ||
- !(typeof obj.timeout.seconds === 'number')) {
- throw new Error('Invalid method config: invalid timeout.seconds');
- }
- if (!('nanos' in obj.timeout) ||
- !(typeof obj.timeout.nanos === 'number')) {
- throw new Error('Invalid method config: invalid timeout.nanos');
- }
- result.timeout = obj.timeout;
- }
- else if (typeof obj.timeout === 'string' &&
- DURATION_REGEX.test(obj.timeout)) {
- const timeoutParts = obj.timeout
- .substring(0, obj.timeout.length - 1)
- .split('.');
- result.timeout = {
- seconds: timeoutParts[0] | 0,
- nanos: ((_a = timeoutParts[1]) !== null && _a !== void 0 ? _a : 0) | 0,
- };
- }
- else {
- throw new Error('Invalid method config: invalid timeout');
- }
- }
- if ('maxRequestBytes' in obj) {
- if (typeof obj.maxRequestBytes !== 'number') {
- throw new Error('Invalid method config: invalid maxRequestBytes');
- }
- result.maxRequestBytes = obj.maxRequestBytes;
- }
- if ('maxResponseBytes' in obj) {
- if (typeof obj.maxResponseBytes !== 'number') {
- throw new Error('Invalid method config: invalid maxRequestBytes');
- }
- result.maxResponseBytes = obj.maxResponseBytes;
- }
- if ('retryPolicy' in obj) {
- if ('hedgingPolicy' in obj) {
- throw new Error('Invalid method config: retryPolicy and hedgingPolicy cannot both be specified');
- }
- else {
- result.retryPolicy = validateRetryPolicy(obj.retryPolicy);
- }
- }
- else if ('hedgingPolicy' in obj) {
- result.hedgingPolicy = validateHedgingPolicy(obj.hedgingPolicy);
- }
- return result;
-}
-function validateRetryThrottling(obj) {
- if (!('maxTokens' in obj) ||
- typeof obj.maxTokens !== 'number' ||
- obj.maxTokens <= 0 ||
- obj.maxTokens > 1000) {
- throw new Error('Invalid retryThrottling: maxTokens must be a number in (0, 1000]');
- }
- if (!('tokenRatio' in obj) ||
- typeof obj.tokenRatio !== 'number' ||
- obj.tokenRatio <= 0) {
- throw new Error('Invalid retryThrottling: tokenRatio must be a number greater than 0');
- }
- return {
- maxTokens: +obj.maxTokens.toFixed(3),
- tokenRatio: +obj.tokenRatio.toFixed(3),
- };
-}
-function validateLoadBalancingConfig(obj) {
- if (!(typeof obj === 'object' && obj !== null)) {
- throw new Error(`Invalid loadBalancingConfig: unexpected type ${typeof obj}`);
- }
- const keys = Object.keys(obj);
- if (keys.length > 1) {
- throw new Error(`Invalid loadBalancingConfig: unexpected multiple keys ${keys}`);
- }
- if (keys.length === 0) {
- throw new Error('Invalid loadBalancingConfig: load balancing policy name required');
- }
- return {
- [keys[0]]: obj[keys[0]],
- };
-}
-function validateServiceConfig(obj) {
- const result = {
- loadBalancingConfig: [],
- methodConfig: [],
- };
- if ('loadBalancingPolicy' in obj) {
- if (typeof obj.loadBalancingPolicy === 'string') {
- result.loadBalancingPolicy = obj.loadBalancingPolicy;
- }
- else {
- throw new Error('Invalid service config: invalid loadBalancingPolicy');
- }
- }
- if ('loadBalancingConfig' in obj) {
- if (Array.isArray(obj.loadBalancingConfig)) {
- for (const config of obj.loadBalancingConfig) {
- result.loadBalancingConfig.push(validateLoadBalancingConfig(config));
- }
- }
- else {
- throw new Error('Invalid service config: invalid loadBalancingConfig');
- }
- }
- if ('methodConfig' in obj) {
- if (Array.isArray(obj.methodConfig)) {
- for (const methodConfig of obj.methodConfig) {
- result.methodConfig.push(validateMethodConfig(methodConfig));
- }
- }
- }
- if ('retryThrottling' in obj) {
- result.retryThrottling = validateRetryThrottling(obj.retryThrottling);
- }
- // Validate method name uniqueness
- const seenMethodNames = [];
- for (const methodConfig of result.methodConfig) {
- for (const name of methodConfig.name) {
- for (const seenName of seenMethodNames) {
- if (name.service === seenName.service &&
- name.method === seenName.method) {
- throw new Error(`Invalid service config: duplicate name ${name.service}/${name.method}`);
- }
- }
- seenMethodNames.push(name);
- }
- }
- return result;
-}
-function validateCanaryConfig(obj) {
- if (!('serviceConfig' in obj)) {
- throw new Error('Invalid service config choice: missing service config');
- }
- const result = {
- serviceConfig: validateServiceConfig(obj.serviceConfig),
- };
- if ('clientLanguage' in obj) {
- if (Array.isArray(obj.clientLanguage)) {
- result.clientLanguage = [];
- for (const lang of obj.clientLanguage) {
- if (typeof lang === 'string') {
- result.clientLanguage.push(lang);
- }
- else {
- throw new Error('Invalid service config choice: invalid clientLanguage');
- }
- }
- }
- else {
- throw new Error('Invalid service config choice: invalid clientLanguage');
- }
- }
- if ('clientHostname' in obj) {
- if (Array.isArray(obj.clientHostname)) {
- result.clientHostname = [];
- for (const lang of obj.clientHostname) {
- if (typeof lang === 'string') {
- result.clientHostname.push(lang);
- }
- else {
- throw new Error('Invalid service config choice: invalid clientHostname');
- }
- }
- }
- else {
- throw new Error('Invalid service config choice: invalid clientHostname');
- }
- }
- if ('percentage' in obj) {
- if (typeof obj.percentage === 'number' &&
- 0 <= obj.percentage &&
- obj.percentage <= 100) {
- result.percentage = obj.percentage;
- }
- else {
- throw new Error('Invalid service config choice: invalid percentage');
- }
- }
- // Validate that no unexpected fields are present
- const allowedFields = [
- 'clientLanguage',
- 'percentage',
- 'clientHostname',
- 'serviceConfig',
- ];
- for (const field in obj) {
- if (!allowedFields.includes(field)) {
- throw new Error(`Invalid service config choice: unexpected field ${field}`);
- }
- }
- return result;
-}
-function validateAndSelectCanaryConfig(obj, percentage) {
- if (!Array.isArray(obj)) {
- throw new Error('Invalid service config list');
- }
- for (const config of obj) {
- const validatedConfig = validateCanaryConfig(config);
- /* For each field, we check if it is present, then only discard the
- * config if the field value does not match the current client */
- if (typeof validatedConfig.percentage === 'number' &&
- percentage > validatedConfig.percentage) {
- continue;
- }
- if (Array.isArray(validatedConfig.clientHostname)) {
- let hostnameMatched = false;
- for (const hostname of validatedConfig.clientHostname) {
- if (hostname === os.hostname()) {
- hostnameMatched = true;
- }
- }
- if (!hostnameMatched) {
- continue;
- }
- }
- if (Array.isArray(validatedConfig.clientLanguage)) {
- let languageMatched = false;
- for (const language of validatedConfig.clientLanguage) {
- if (language === CLIENT_LANGUAGE_STRING) {
- languageMatched = true;
- }
- }
- if (!languageMatched) {
- continue;
- }
- }
- return validatedConfig.serviceConfig;
- }
- throw new Error('No matching service config found');
-}
-/**
- * Find the "grpc_config" record among the TXT records, parse its value as JSON, validate its contents,
- * and select a service config with selection fields that all match this client. Most of these steps
- * can fail with an error; the caller must handle any errors thrown this way.
- * @param txtRecord The TXT record array that is output from a successful call to dns.resolveTxt
- * @param percentage A number chosen from the range [0, 100) that is used to select which config to use
- * @return The service configuration to use, given the percentage value, or null if the service config
- * data has a valid format but none of the options match the current client.
- */
-function extractAndSelectServiceConfig(txtRecord, percentage) {
- for (const record of txtRecord) {
- if (record.length > 0 && record[0].startsWith('grpc_config=')) {
- /* Treat the list of strings in this record as a single string and remove
- * "grpc_config=" from the beginning. The rest should be a JSON string */
- const recordString = record.join('').substring('grpc_config='.length);
- const recordJson = JSON.parse(recordString);
- return validateAndSelectCanaryConfig(recordJson, percentage);
- }
- }
- return null;
-}
-//# sourceMappingURL=service-config.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/service-config.js.map b/node_modules/@grpc/grpc-js/build/src/service-config.js.map
deleted file mode 100644
index 1aa51f4..0000000
--- a/node_modules/@grpc/grpc-js/build/src/service-config.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"service-config.js","sourceRoot":"","sources":["../../src/service-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AA2TH,0DAwBC;AAwBD,sDAiDC;AA0HD,sEAcC;AAliBD;;;;;sBAKsB;AAEtB;aACa;AACb,uDAAuD;AAEvD,yBAAyB;AACzB,2CAAqC;AAuDrC;;;GAGG;AACH,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAE5C;;;GAGG;AACH,MAAM,sBAAsB,GAAG,MAAM,CAAC;AAEtC,SAAS,YAAY,CAAC,GAAQ;IAC5B,kEAAkE;IAClE,IAAI,SAAS,IAAI,GAAG,IAAI,GAAG,CAAC,OAAO,KAAK,EAAE,EAAE,CAAC;QAC3C,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ,EAAE,CAAC;YACpC,MAAM,IAAI,KAAK,CACb,0EAA0E,OAAO,GAAG,CAAC,OAAO,EAAE,CAC/F,CAAC;QACJ,CAAC;QACD,IAAI,QAAQ,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;YACzC,IAAI,OAAO,GAAG,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;gBACnC,MAAM,IAAI,KAAK,CACb,yEAAy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.ts b/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.d.ts
deleted file mode 100644
index a9a412f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.d.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { Call } from "./call-interface";
-import { Channel } from "./channel";
-import { ChannelOptions } from "./channel-options";
-import { ChannelRef } from "./channelz";
-import { ConnectivityState } from "./connectivity-state";
-import { Deadline } from "./deadline";
-import { Subchannel } from "./subchannel";
-import { GrpcUri } from "./uri-parser";
-export declare class SingleSubchannelChannel implements Channel {
- private subchannel;
- private target;
- private channelzRef;
- private channelzEnabled;
- private channelzTrace;
- private callTracker;
- private childrenTracker;
- private filterStackFactory;
- constructor(subchannel: Subchannel, target: GrpcUri, options: ChannelOptions);
- close(): void;
- getTarget(): string;
- getConnectivityState(tryToConnect: boolean): ConnectivityState;
- watchConnectivityState(currentState: ConnectivityState, deadline: Date | number, callback: (error?: Error) => void): void;
- getChannelzRef(): ChannelRef;
- createCall(method: string, deadline: Deadline): Call;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js b/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js
deleted file mode 100644
index 72343f5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js
+++ /dev/null
@@ -1,245 +0,0 @@
-"use strict";
-/*
- * Copyright 2025 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SingleSubchannelChannel = void 0;
-const call_number_1 = require("./call-number");
-const channelz_1 = require("./channelz");
-const compression_filter_1 = require("./compression-filter");
-const connectivity_state_1 = require("./connectivity-state");
-const constants_1 = require("./constants");
-const control_plane_status_1 = require("./control-plane-status");
-const deadline_1 = require("./deadline");
-const filter_stack_1 = require("./filter-stack");
-const metadata_1 = require("./metadata");
-const resolver_1 = require("./resolver");
-const uri_parser_1 = require("./uri-parser");
-class SubchannelCallWrapper {
- constructor(subchannel, method, filterStackFactory, options, callNumber) {
- var _a, _b;
- this.subchannel = subchannel;
- this.method = method;
- this.options = options;
- this.callNumber = callNumber;
- this.childCall = null;
- this.pendingMessage = null;
- this.readPending = false;
- this.halfClosePending = false;
- this.pendingStatus = null;
- this.readFilterPending = false;
- this.writeFilterPending = false;
- const splitPath = this.method.split('/');
- let serviceName = '';
- /* The standard path format is "/{serviceName}/{methodName}", so if we split
- * by '/', the first item should be empty and the second should be the
- * service name */
- if (splitPath.length >= 2) {
- serviceName = splitPath[1];
- }
- const hostname = (_b = (_a = (0, uri_parser_1.splitHostPort)(this.options.host)) === null || _a === void 0 ? void 0 : _a.host) !== null && _b !== void 0 ? _b : 'localhost';
- /* Currently, call credentials are only allowed on HTTPS connections, so we
- * can assume that the scheme is "https" */
- this.serviceUrl = `https://${hostname}/${serviceName}`;
- const timeout = (0, deadline_1.getRelativeTimeout)(options.deadline);
- if (timeout !== Infinity) {
- if (timeout <= 0) {
- this.cancelWithStatus(constants_1.Status.DEADLINE_EXCEEDED, 'Deadline exceeded');
- }
- else {
- setTimeout(() => {
- this.cancelWithStatus(constants_1.Status.DEADLINE_EXCEEDED, 'Deadline exceeded');
- }, timeout);
- }
- }
- this.filterStack = filterStackFactory.createFilter();
- }
- cancelWithStatus(status, details) {
- if (this.childCall) {
- this.childCall.cancelWithStatus(status, details);
- }
- else {
- this.pendingStatus = {
- code: status,
- details: details,
- metadata: new metadata_1.Metadata()
- };
- }
- }
- getPeer() {
- var _a, _b;
- return (_b = (_a = this.childCall) === null || _a === void 0 ? void 0 : _a.getPeer()) !== null && _b !== void 0 ? _b : this.subchannel.getAddress();
- }
- async start(metadata, listener) {
- if (this.pendingStatus) {
- listener.onReceiveStatus(this.pendingStatus);
- return;
- }
- if (this.subchannel.getConnectivityState() !== connectivity_state_1.ConnectivityState.READY) {
- listener.onReceiveStatus({
- code: constants_1.Status.UNAVAILABLE,
- details: 'Subchannel not ready',
- metadata: new metadata_1.Metadata()
- });
- return;
- }
- const filteredMetadata = await this.filterStack.sendMetadata(Promise.resolve(metadata));
- let credsMetadata;
- try {
- credsMetadata = await this.subchannel.getCallCredentials()
- .generateMetadata({ method_name: this.method, service_url: this.serviceUrl });
- }
- catch (e) {
- const error = e;
- const { code, details } = (0, control_plane_status_1.restrictControlPlaneStatusCode)(typeof error.code === 'number' ? error.code : constants_1.Status.UNKNOWN, `Getting metadata from plugin failed with error: ${error.message}`);
- listener.onReceiveStatus({
- code: code,
- details: details,
- metadata: new metadata_1.Metadata(),
- });
- return;
- }
- credsMetadata.merge(filteredMetadata);
- const childListener = {
- onReceiveMetadata: async (metadata) => {
- listener.onReceiveMetadata(await this.filterStack.receiveMetadata(metadata));
- },
- onReceiveMessage: async (message) => {
- this.readFilterPending = true;
- const filteredMessage = await this.filterStack.receiveMessage(message);
- this.readFilterPending = false;
- listener.onReceiveMessage(filteredMessage);
- if (this.pendingStatus) {
- listener.onReceiveStatus(this.pendingStatus);
- }
- },
- onReceiveStatus: async (status) => {
- const filteredStatus = await this.filterStack.receiveTrailers(status);
- if (this.readFilterPending) {
- this.pendingStatus = filteredStatus;
- }
- else {
- listener.onReceiveStatus(filteredStatus);
- }
- }
- };
- this.childCall = this.subchannel.createCall(credsMetadata, this.options.host, this.method, childListener);
- if (this.readPending) {
- this.childCall.startRead();
- }
- if (this.pendingMessage) {
- this.childCall.sendMessageWithContext(this.pendingMessage.context, this.pendingMessage.message);
- }
- if (this.halfClosePending && !this.writeFilterPending) {
- this.childCall.halfClose();
- }
- }
- async sendMessageWithContext(context, message) {
- this.writeFilterPending = true;
- const filteredMessage = await this.filterStack.sendMessage(Promise.resolve({ message: message, flags: context.flags }));
- this.writeFilterPending = false;
- if (this.childCall) {
- this.childCall.sendMessageWithContext(context, filteredMessage.message);
- if (this.halfClosePending) {
- this.childCall.halfClose();
- }
- }
- else {
- this.pendingMessage = { context, message: filteredMessage.message };
- }
- }
- startRead() {
- if (this.childCall) {
- this.childCall.startRead();
- }
- else {
- this.readPending = true;
- }
- }
- halfClose() {
- if (this.childCall && !this.writeFilterPending) {
- this.childCall.halfClose();
- }
- else {
- this.halfClosePending = true;
- }
- }
- getCallNumber() {
- return this.callNumber;
- }
- setCredentials(credentials) {
- throw new Error("Method not implemented.");
- }
- getAuthContext() {
- if (this.childCall) {
- return this.childCall.getAuthContext();
- }
- else {
- return null;
- }
- }
-}
-class SingleSubchannelChannel {
- constructor(subchannel, target, options) {
- this.subchannel = subchannel;
- this.target = target;
- this.channelzEnabled = false;
- this.channelzTrace = new channelz_1.ChannelzTrace();
- this.callTracker = new channelz_1.ChannelzCallTracker();
- this.childrenTracker = new channelz_1.ChannelzChildrenTracker();
- this.channelzEnabled = options['grpc.enable_channelz'] !== 0;
- this.channelzRef = (0, channelz_1.registerChannelzChannel)((0, uri_parser_1.uriToString)(target), () => ({
- target: `${(0, uri_parser_1.uriToString)(target)} (${subchannel.getAddress()})`,
- state: this.subchannel.getConnectivityState(),
- trace: this.channelzTrace,
- callTracker: this.callTracker,
- children: this.childrenTracker.getChildLists()
- }), this.channelzEnabled);
- if (this.channelzEnabled) {
- this.childrenTracker.refChild(subchannel.getChannelzRef());
- }
- this.filterStackFactory = new filter_stack_1.FilterStackFactory([new compression_filter_1.CompressionFilterFactory(this, options)]);
- }
- close() {
- if (this.channelzEnabled) {
- this.childrenTracker.unrefChild(this.subchannel.getChannelzRef());
- }
- (0, channelz_1.unregisterChannelzRef)(this.channelzRef);
- }
- getTarget() {
- return (0, uri_parser_1.uriToString)(this.target);
- }
- getConnectivityState(tryToConnect) {
- throw new Error("Method not implemented.");
- }
- watchConnectivityState(currentState, deadline, callback) {
- throw new Error("Method not implemented.");
- }
- getChannelzRef() {
- return this.channelzRef;
- }
- createCall(method, deadline) {
- const callOptions = {
- deadline: deadline,
- host: (0, resolver_1.getDefaultAuthority)(this.target),
- flags: constants_1.Propagate.DEFAULTS,
- parentCall: null
- };
- return new SubchannelCallWrapper(this.subchannel, method, this.filterStackFactory, callOptions, (0, call_number_1.getNextCallNumber)());
- }
-}
-exports.SingleSubchannelChannel = SingleSubchannelChannel;
-//# sourceMappingURL=single-subchannel-channel.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js.map b/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js.map
deleted file mode 100644
index 8b39287..0000000
--- a/node_modules/@grpc/grpc-js/build/src/single-subchannel-channel.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"single-subchannel-channel.js","sourceRoot":"","sources":["../../src/single-subchannel-channel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAKH,+CAAkD;AAGlD,yCAAqJ;AACrJ,6DAAgE;AAChE,6DAAyD;AACzD,2CAAgD;AAChD,iEAAwE;AACxE,yCAA0D;AAC1D,iDAAiE;AACjE,yCAAsC;AACtC,yCAAiD;AAGjD,6CAAmE;AAEnE,MAAM,qBAAqB;IAWzB,YAAoB,UAAsB,EAAU,MAAc,EAAE,kBAAsC,EAAU,OAA0B,EAAU,UAAkB;;QAAtJ,eAAU,GAAV,UAAU,CAAY;QAAU,WAAM,GAAN,MAAM,CAAQ;QAAkD,YAAO,GAAP,OAAO,CAAmB;QAAU,eAAU,GAAV,UAAU,CAAQ;QAVlK,cAAS,GAA0B,IAAI,CAAC;QACxC,mBAAc,GACpB,IAAI,CAAC;QACC,gBAAW,GAAG,KAAK,CAAC;QACpB,qBAAgB,GAAG,KAAK,CAAC;QACzB,kBAAa,GAAwB,IAAI,CAAC;QAG1C,sBAAiB,GAAG,KAAK,CAAC;QAC1B,uBAAkB,GAAG,KAAK,CAAC;QAEjC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GAAsB;YACrC,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,IAAA,8BAAmB,EAAC,IAAI,CAAC,MAAM,CAAC;YACtC,KAAK,EAAE,qBAAS,CAAC,QAAQ;YACzB,UAAU,EAAE,IAAI;SACjB,CAAC;QACF,OAAO,IAAI,qBAAqB,CAAC,IAAI,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC,kBAAkB,EAAE,WAAW,EAAE,IAAA,+BAAiB,GAAE,CAAC,CAAC;IACvH,CAAC;CACF;AAlDD,0DAkDC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/status-builder.d.ts b/node_modules/@grpc/grpc-js/build/src/status-builder.d.ts
deleted file mode 100644
index 5628226..0000000
--- a/node_modules/@grpc/grpc-js/build/src/status-builder.d.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { StatusObject } from './call-interface';
-import { Status } from './constants';
-import { Metadata } from './metadata';
-/**
- * A builder for gRPC status objects.
- */
-export declare class StatusBuilder {
- private code;
- private details;
- private metadata;
- constructor();
- /**
- * Adds a status code to the builder.
- */
- withCode(code: Status): this;
- /**
- * Adds details to the builder.
- */
- withDetails(details: string): this;
- /**
- * Adds metadata to the builder.
- */
- withMetadata(metadata: Metadata): this;
- /**
- * Builds the status object.
- */
- build(): Partial;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/status-builder.js b/node_modules/@grpc/grpc-js/build/src/status-builder.js
deleted file mode 100644
index 7426e54..0000000
--- a/node_modules/@grpc/grpc-js/build/src/status-builder.js
+++ /dev/null
@@ -1,68 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.StatusBuilder = void 0;
-/**
- * A builder for gRPC status objects.
- */
-class StatusBuilder {
- constructor() {
- this.code = null;
- this.details = null;
- this.metadata = null;
- }
- /**
- * Adds a status code to the builder.
- */
- withCode(code) {
- this.code = code;
- return this;
- }
- /**
- * Adds details to the builder.
- */
- withDetails(details) {
- this.details = details;
- return this;
- }
- /**
- * Adds metadata to the builder.
- */
- withMetadata(metadata) {
- this.metadata = metadata;
- return this;
- }
- /**
- * Builds the status object.
- */
- build() {
- const status = {};
- if (this.code !== null) {
- status.code = this.code;
- }
- if (this.details !== null) {
- status.details = this.details;
- }
- if (this.metadata !== null) {
- status.metadata = this.metadata;
- }
- return status;
- }
-}
-exports.StatusBuilder = StatusBuilder;
-//# sourceMappingURL=status-builder.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/status-builder.js.map b/node_modules/@grpc/grpc-js/build/src/status-builder.js.map
deleted file mode 100644
index 33277b2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/status-builder.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"status-builder.js","sourceRoot":"","sources":["../../src/status-builder.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAMH;;GAEG;AACH,MAAa,aAAa;IAKxB;QACE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACpB,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,IAAY;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,OAAe;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,YAAY,CAAC,QAAkB;QAC7B,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK;QACH,MAAM,MAAM,GAA0B,EAAE,CAAC;QAEzC,IAAI,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE,CAAC;YACvB,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC;QAC1B,CAAC;QAED,IAAI,IAAI,CAAC,OAAO,KAAK,IAAI,EAAE,CAAC;YAC1B,MAAM,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC;QAChC,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,KAAK,IAAI,EAAE,CAAC;YAC3B,MAAM,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAClC,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAvDD,sCAuDC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/stream-decoder.d.ts b/node_modules/@grpc/grpc-js/build/src/stream-decoder.d.ts
deleted file mode 100644
index 7ff04f3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/stream-decoder.d.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-export declare class StreamDecoder {
- private maxReadMessageLength;
- private readState;
- private readCompressFlag;
- private readPartialSize;
- private readSizeRemaining;
- private readMessageSize;
- private readPartialMessage;
- private readMessageRemaining;
- constructor(maxReadMessageLength: number);
- write(data: Buffer): Buffer[];
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/stream-decoder.js b/node_modules/@grpc/grpc-js/build/src/stream-decoder.js
deleted file mode 100644
index b3857c0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/stream-decoder.js
+++ /dev/null
@@ -1,100 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.StreamDecoder = void 0;
-var ReadState;
-(function (ReadState) {
- ReadState[ReadState["NO_DATA"] = 0] = "NO_DATA";
- ReadState[ReadState["READING_SIZE"] = 1] = "READING_SIZE";
- ReadState[ReadState["READING_MESSAGE"] = 2] = "READING_MESSAGE";
-})(ReadState || (ReadState = {}));
-class StreamDecoder {
- constructor(maxReadMessageLength) {
- this.maxReadMessageLength = maxReadMessageLength;
- this.readState = ReadState.NO_DATA;
- this.readCompressFlag = Buffer.alloc(1);
- this.readPartialSize = Buffer.alloc(4);
- this.readSizeRemaining = 4;
- this.readMessageSize = 0;
- this.readPartialMessage = [];
- this.readMessageRemaining = 0;
- }
- write(data) {
- let readHead = 0;
- let toRead;
- const result = [];
- while (readHead < data.length) {
- switch (this.readState) {
- case ReadState.NO_DATA:
- this.readCompressFlag = data.slice(readHead, readHead + 1);
- readHead += 1;
- this.readState = ReadState.READING_SIZE;
- this.readPartialSize.fill(0);
- this.readSizeRemaining = 4;
- this.readMessageSize = 0;
- this.readMessageRemaining = 0;
- this.readPartialMessage = [];
- break;
- case ReadState.READING_SIZE:
- toRead = Math.min(data.length - readHead, this.readSizeRemaining);
- data.copy(this.readPartialSize, 4 - this.readSizeRemaining, readHead, readHead + toRead);
- this.readSizeRemaining -= toRead;
- readHead += toRead;
- // readSizeRemaining >=0 here
- if (this.readSizeRemaining === 0) {
- this.readMessageSize = this.readPartialSize.readUInt32BE(0);
- if (this.maxReadMessageLength !== -1 && this.readMessageSize > this.maxReadMessageLength) {
- throw new Error(`Received message larger than max (${this.readMessageSize} vs ${this.maxReadMessageLength})`);
- }
- this.readMessageRemaining = this.readMessageSize;
- if (this.readMessageRemaining > 0) {
- this.readState = ReadState.READING_MESSAGE;
- }
- else {
- const message = Buffer.concat([this.readCompressFlag, this.readPartialSize], 5);
- this.readState = ReadState.NO_DATA;
- result.push(message);
- }
- }
- break;
- case ReadState.READING_MESSAGE:
- toRead = Math.min(data.length - readHead, this.readMessageRemaining);
- this.readPartialMessage.push(data.slice(readHead, readHead + toRead));
- this.readMessageRemaining -= toRead;
- readHead += toRead;
- // readMessageRemaining >=0 here
- if (this.readMessageRemaining === 0) {
- // At this point, we have read a full message
- const framedMessageBuffers = [
- this.readCompressFlag,
- this.readPartialSize,
- ].concat(this.readPartialMessage);
- const framedMessage = Buffer.concat(framedMessageBuffers, this.readMessageSize + 5);
- this.readState = ReadState.NO_DATA;
- result.push(framedMessage);
- }
- break;
- default:
- throw new Error('Unexpected read state');
- }
- }
- return result;
- }
-}
-exports.StreamDecoder = StreamDecoder;
-//# sourceMappingURL=stream-decoder.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/stream-decoder.js.map b/node_modules/@grpc/grpc-js/build/src/stream-decoder.js.map
deleted file mode 100644
index fc6498a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/stream-decoder.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"stream-decoder.js","sourceRoot":"","sources":["../../src/stream-decoder.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,IAAK,SAIJ;AAJD,WAAK,SAAS;IACZ,+CAAO,CAAA;IACP,yDAAY,CAAA;IACZ,+DAAe,CAAA;AACjB,CAAC,EAJI,SAAS,KAAT,SAAS,QAIb;AAED,MAAa,aAAa;IASxB,YAAoB,oBAA4B;QAA5B,yBAAoB,GAApB,oBAAoB,CAAQ;QARxC,cAAS,GAAc,SAAS,CAAC,OAAO,CAAC;QACzC,qBAAgB,GAAW,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC3C,oBAAe,GAAW,MAAM,CAAC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AAI,IAAI,CAAC,oBAAoB,KAAK,CAAC,EAAE,CAAC;wBACpC,6CAA6C;wBAC7C,MAAM,oBAAoB,GAAG;4BAC3B,IAAI,CAAC,gBAAgB;4BACrB,IAAI,CAAC,eAAe;yBACrB,CAAC,MAAM,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;wBAClC,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CACjC,oBAAoB,EACpB,IAAI,CAAC,eAAe,GAAG,CAAC,CACzB,CAAC;wBAEF,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,OAAO,CAAC;wBACnC,MAAM,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;oBAC7B,CAAC;oBACD,MAAM;gBACR;oBACE,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;YAC7C,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AAtFD,sCAsFC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-address.d.ts b/node_modules/@grpc/grpc-js/build/src/subchannel-address.d.ts
deleted file mode 100644
index f403563..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-address.d.ts
+++ /dev/null
@@ -1,42 +0,0 @@
-export interface TcpSubchannelAddress {
- port: number;
- host: string;
-}
-export interface IpcSubchannelAddress {
- path: string;
-}
-/**
- * This represents a single backend address to connect to. This interface is a
- * subset of net.SocketConnectOpts, i.e. the options described at
- * https://nodejs.org/api/net.html#net_socket_connect_options_connectlistener.
- * Those are in turn a subset of the options that can be passed to http2.connect.
- */
-export type SubchannelAddress = TcpSubchannelAddress | IpcSubchannelAddress;
-export declare function isTcpSubchannelAddress(address: SubchannelAddress): address is TcpSubchannelAddress;
-export declare function subchannelAddressEqual(address1?: SubchannelAddress, address2?: SubchannelAddress): boolean;
-export declare function subchannelAddressToString(address: SubchannelAddress): string;
-export declare function stringToSubchannelAddress(addressString: string, port?: number): SubchannelAddress;
-export interface Endpoint {
- addresses: SubchannelAddress[];
-}
-export declare function endpointEqual(endpoint1: Endpoint, endpoint2: Endpoint): boolean;
-export declare function endpointToString(endpoint: Endpoint): string;
-export declare function endpointHasAddress(endpoint: Endpoint, expectedAddress: SubchannelAddress): boolean;
-export declare class EndpointMap {
- private map;
- get size(): number;
- getForSubchannelAddress(address: SubchannelAddress): ValueType | undefined;
- /**
- * Delete any entries in this map with keys that are not in endpoints
- * @param endpoints
- */
- deleteMissing(endpoints: Endpoint[]): ValueType[];
- get(endpoint: Endpoint): ValueType | undefined;
- set(endpoint: Endpoint, mapEntry: ValueType): void;
- delete(endpoint: Endpoint): void;
- has(endpoint: Endpoint): boolean;
- clear(): void;
- keys(): IterableIterator;
- values(): IterableIterator;
- entries(): IterableIterator<[Endpoint, ValueType]>;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-address.js b/node_modules/@grpc/grpc-js/build/src/subchannel-address.js
deleted file mode 100644
index d48d0c2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-address.js
+++ /dev/null
@@ -1,202 +0,0 @@
-"use strict";
-/*
- * Copyright 2021 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.EndpointMap = void 0;
-exports.isTcpSubchannelAddress = isTcpSubchannelAddress;
-exports.subchannelAddressEqual = subchannelAddressEqual;
-exports.subchannelAddressToString = subchannelAddressToString;
-exports.stringToSubchannelAddress = stringToSubchannelAddress;
-exports.endpointEqual = endpointEqual;
-exports.endpointToString = endpointToString;
-exports.endpointHasAddress = endpointHasAddress;
-const net_1 = require("net");
-function isTcpSubchannelAddress(address) {
- return 'port' in address;
-}
-function subchannelAddressEqual(address1, address2) {
- if (!address1 && !address2) {
- return true;
- }
- if (!address1 || !address2) {
- return false;
- }
- if (isTcpSubchannelAddress(address1)) {
- return (isTcpSubchannelAddress(address2) &&
- address1.host === address2.host &&
- address1.port === address2.port);
- }
- else {
- return !isTcpSubchannelAddress(address2) && address1.path === address2.path;
- }
-}
-function subchannelAddressToString(address) {
- if (isTcpSubchannelAddress(address)) {
- if ((0, net_1.isIPv6)(address.host)) {
- return '[' + address.host + ']:' + address.port;
- }
- else {
- return address.host + ':' + address.port;
- }
- }
- else {
- return address.path;
- }
-}
-const DEFAULT_PORT = 443;
-function stringToSubchannelAddress(addressString, port) {
- if ((0, net_1.isIP)(addressString)) {
- return {
- host: addressString,
- port: port !== null && port !== void 0 ? port : DEFAULT_PORT,
- };
- }
- else {
- return {
- path: addressString,
- };
- }
-}
-function endpointEqual(endpoint1, endpoint2) {
- if (endpoint1.addresses.length !== endpoint2.addresses.length) {
- return false;
- }
- for (let i = 0; i < endpoint1.addresses.length; i++) {
- if (!subchannelAddressEqual(endpoint1.addresses[i], endpoint2.addresses[i])) {
- return false;
- }
- }
- return true;
-}
-function endpointToString(endpoint) {
- return ('[' + endpoint.addresses.map(subchannelAddressToString).join(', ') + ']');
-}
-function endpointHasAddress(endpoint, expectedAddress) {
- for (const address of endpoint.addresses) {
- if (subchannelAddressEqual(address, expectedAddress)) {
- return true;
- }
- }
- return false;
-}
-function endpointEqualUnordered(endpoint1, endpoint2) {
- if (endpoint1.addresses.length !== endpoint2.addresses.length) {
- return false;
- }
- for (const address1 of endpoint1.addresses) {
- let matchFound = false;
- for (const address2 of endpoint2.addresses) {
- if (subchannelAddressEqual(address1, address2)) {
- matchFound = true;
- break;
- }
- }
- if (!matchFound) {
- return false;
- }
- }
- return true;
-}
-class EndpointMap {
- constructor() {
- this.map = new Set();
- }
- get size() {
- return this.map.size;
- }
- getForSubchannelAddress(address) {
- for (const entry of this.map) {
- if (endpointHasAddress(entry.key, address)) {
- return entry.value;
- }
- }
- return undefined;
- }
- /**
- * Delete any entries in this map with keys that are not in endpoints
- * @param endpoints
- */
- deleteMissing(endpoints) {
- const removedValues = [];
- for (const entry of this.map) {
- let foundEntry = false;
- for (const endpoint of endpoints) {
- if (endpointEqualUnordered(endpoint, entry.key)) {
- foundEntry = true;
- }
- }
- if (!foundEntry) {
- removedValues.push(entry.value);
- this.map.delete(entry);
- }
- }
- return removedValues;
- }
- get(endpoint) {
- for (const entry of this.map) {
- if (endpointEqualUnordered(endpoint, entry.key)) {
- return entry.value;
- }
- }
- return undefined;
- }
- set(endpoint, mapEntry) {
- for (const entry of this.map) {
- if (endpointEqualUnordered(endpoint, entry.key)) {
- entry.value = mapEntry;
- return;
- }
- }
- this.map.add({ key: endpoint, value: mapEntry });
- }
- delete(endpoint) {
- for (const entry of this.map) {
- if (endpointEqualUnordered(endpoint, entry.key)) {
- this.map.delete(entry);
- return;
- }
- }
- }
- has(endpoint) {
- for (const entry of this.map) {
- if (endpointEqualUnordered(endpoint, entry.key)) {
- return true;
- }
- }
- return false;
- }
- clear() {
- this.map.clear();
- }
- *keys() {
- for (const entry of this.map) {
- yield entry.key;
- }
- }
- *values() {
- for (const entry of this.map) {
- yield entry.value;
- }
- }
- *entries() {
- for (const entry of this.map) {
- yield [entry.key, entry.value];
- }
- }
-}
-exports.EndpointMap = EndpointMap;
-//# sourceMappingURL=subchannel-address.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-address.js.map b/node_modules/@grpc/grpc-js/build/src/subchannel-address.js.map
deleted file mode 100644
index 8dd5aed..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-address.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"subchannel-address.js","sourceRoot":"","sources":["../../src/subchannel-address.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAqBH,wDAIC;AAED,wDAmBC;AAED,8DAUC;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,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YAC7B,IAAI,sBAAsB,CAAC,QAAQ,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC;gBAChD,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,KAAK;QACH,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;IACnB,CAAC;IAED,CAAC,IAAI;QACH,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YAC7B,MAAM,KAAK,CAAC,GAAG,CAAC;QAClB,CAAC;IACH,CAAC;IAED,CAAC,MAAM;QACL,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YAC7B,MAAM,KAAK,CAAC,KAAK,CAAC;QACpB,CAAC;IACH,CAAC;IAED,CAAC,OAAO;QACN,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,GAAG,EAAE,CAAC;YAC7B,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;CACF;AA/FD,kCA+FC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-call.d.ts b/node_modules/@grpc/grpc-js/build/src/subchannel-call.d.ts
deleted file mode 100644
index 3f534c9..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-call.d.ts
+++ /dev/null
@@ -1,68 +0,0 @@
-import * as http2 from 'http2';
-import { Status } from './constants';
-import { InterceptingListener, MessageContext, StatusObject } from './call-interface';
-import { CallEventTracker, Transport } from './transport';
-import { AuthContext } from './auth-context';
-export interface SubchannelCall {
- cancelWithStatus(status: Status, details: string): void;
- getPeer(): string;
- sendMessageWithContext(context: MessageContext, message: Buffer): void;
- startRead(): void;
- halfClose(): void;
- getCallNumber(): number;
- getDeadlineInfo(): string[];
- getAuthContext(): AuthContext;
-}
-export interface StatusObjectWithRstCode extends StatusObject {
- rstCode?: number;
-}
-export interface SubchannelCallInterceptingListener extends InterceptingListener {
- onReceiveStatus(status: StatusObjectWithRstCode): void;
-}
-export declare class Http2SubchannelCall implements SubchannelCall {
- private readonly http2Stream;
- private readonly callEventTracker;
- private readonly listener;
- private readonly transport;
- private readonly callId;
- private decoder;
- private isReadFilterPending;
- private isPushPending;
- private canPush;
- /**
- * Indicates that an 'end' event has come from the http2 stream, so there
- * will be no more data events.
- */
- private readsClosed;
- private statusOutput;
- private unpushedReadMessages;
- private httpStatusCode;
- private finalStatus;
- private internalError;
- private serverEndedCall;
- private connectionDropped;
- constructor(http2Stream: http2.ClientHttp2Stream, callEventTracker: CallEventTracker, listener: SubchannelCallInterceptingListener, transport: Transport, callId: number);
- getDeadlineInfo(): string[];
- onDisconnect(): void;
- private outputStatus;
- private trace;
- /**
- * On first call, emits a 'status' event with the given StatusObject.
- * Subsequent calls are no-ops.
- * @param status The status of the call.
- */
- private endCall;
- private maybeOutputStatus;
- private push;
- private tryPush;
- private handleTrailers;
- private destroyHttp2Stream;
- cancelWithStatus(status: Status, details: string): void;
- getStatus(): StatusObject | null;
- getPeer(): string;
- getCallNumber(): number;
- getAuthContext(): AuthContext;
- startRead(): void;
- sendMessageWithContext(context: MessageContext, message: Buffer): void;
- halfClose(): void;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-call.js b/node_modules/@grpc/grpc-js/build/src/subchannel-call.js
deleted file mode 100644
index e448ad3..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-call.js
+++ /dev/null
@@ -1,545 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Http2SubchannelCall = void 0;
-const http2 = require("http2");
-const os = require("os");
-const constants_1 = require("./constants");
-const metadata_1 = require("./metadata");
-const stream_decoder_1 = require("./stream-decoder");
-const logging = require("./logging");
-const constants_2 = require("./constants");
-const TRACER_NAME = 'subchannel_call';
-/**
- * Should do approximately the same thing as util.getSystemErrorName but the
- * TypeScript types don't have that function for some reason so I just made my
- * own.
- * @param errno
- */
-function getSystemErrorName(errno) {
- for (const [name, num] of Object.entries(os.constants.errno)) {
- if (num === errno) {
- return name;
- }
- }
- return 'Unknown system error ' + errno;
-}
-function mapHttpStatusCode(code) {
- const details = `Received HTTP status code ${code}`;
- let mappedStatusCode;
- switch (code) {
- // TODO(murgatroid99): handle 100 and 101
- case 400:
- mappedStatusCode = constants_1.Status.INTERNAL;
- break;
- case 401:
- mappedStatusCode = constants_1.Status.UNAUTHENTICATED;
- break;
- case 403:
- mappedStatusCode = constants_1.Status.PERMISSION_DENIED;
- break;
- case 404:
- mappedStatusCode = constants_1.Status.UNIMPLEMENTED;
- break;
- case 429:
- case 502:
- case 503:
- case 504:
- mappedStatusCode = constants_1.Status.UNAVAILABLE;
- break;
- default:
- mappedStatusCode = constants_1.Status.UNKNOWN;
- }
- return {
- code: mappedStatusCode,
- details: details,
- metadata: new metadata_1.Metadata()
- };
-}
-class Http2SubchannelCall {
- constructor(http2Stream, callEventTracker, listener, transport, callId) {
- var _a;
- this.http2Stream = http2Stream;
- this.callEventTracker = callEventTracker;
- this.listener = listener;
- this.transport = transport;
- this.callId = callId;
- this.isReadFilterPending = false;
- this.isPushPending = false;
- this.canPush = false;
- /**
- * Indicates that an 'end' event has come from the http2 stream, so there
- * will be no more data events.
- */
- this.readsClosed = false;
- this.statusOutput = false;
- this.unpushedReadMessages = [];
- // This is populated (non-null) if and only if the call has ended
- this.finalStatus = null;
- this.internalError = null;
- this.serverEndedCall = false;
- this.connectionDropped = false;
- const maxReceiveMessageLength = (_a = transport.getOptions()['grpc.max_receive_message_length']) !== null && _a !== void 0 ? _a : constants_1.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH;
- this.decoder = new stream_decoder_1.StreamDecoder(maxReceiveMessageLength);
- http2Stream.on('response', (headers, flags) => {
- let headersString = '';
- for (const header of Object.keys(headers)) {
- headersString += '\t\t' + header + ': ' + headers[header] + '\n';
- }
- this.trace('Received server headers:\n' + headersString);
- this.httpStatusCode = headers[':status'];
- if (flags & http2.constants.NGHTTP2_FLAG_END_STREAM) {
- this.handleTrailers(headers);
- }
- else {
- let metadata;
- try {
- metadata = metadata_1.Metadata.fromHttp2Headers(headers);
- }
- catch (error) {
- this.endCall({
- code: constants_1.Status.UNKNOWN,
- details: error.message,
- metadata: new metadata_1.Metadata(),
- });
- return;
- }
- this.listener.onReceiveMetadata(metadata);
- }
- });
- http2Stream.on('trailers', (headers) => {
- this.handleTrailers(headers);
- });
- http2Stream.on('data', (data) => {
- /* If the status has already been output, allow the http2 stream to
- * drain without processing the data. */
- if (this.statusOutput) {
- return;
- }
- this.trace('receive HTTP/2 data frame of length ' + data.length);
- let messages;
- try {
- messages = this.decoder.write(data);
- }
- catch (e) {
- /* Some servers send HTML error pages along with HTTP status codes.
- * When the client attempts to parse this as a length-delimited
- * message, the parsed message size is greater than the default limit,
- * resulting in a message decoding error. In that situation, the HTTP
- * error code information is more useful to the user than the
- * RESOURCE_EXHAUSTED error is, so we report that instead. Normally,
- * we delay processing the HTTP status until after the stream ends, to
- * prioritize reporting the gRPC status from trailers if it is present,
- * but when there is a message parsing error we end the stream early
- * before processing trailers. */
- if (this.httpStatusCode !== undefined && this.httpStatusCode !== 200) {
- const mappedStatus = mapHttpStatusCode(this.httpStatusCode);
- this.cancelWithStatus(mappedStatus.code, mappedStatus.details);
- }
- else {
- this.cancelWithStatus(constants_1.Status.RESOURCE_EXHAUSTED, e.message);
- }
- return;
- }
- for (const message of messages) {
- this.trace('parsed message of length ' + message.length);
- this.callEventTracker.addMessageReceived();
- this.tryPush(message);
- }
- });
- http2Stream.on('end', () => {
- this.readsClosed = true;
- this.maybeOutputStatus();
- });
- http2Stream.on('close', () => {
- this.serverEndedCall = true;
- /* Use process.next tick to ensure that this code happens after any
- * "error" event that may be emitted at about the same time, so that
- * we can bubble up the error message from that event. */
- process.nextTick(() => {
- var _a;
- this.trace('HTTP/2 stream closed with code ' + http2Stream.rstCode);
- /* If we have a final status with an OK status code, that means that
- * we have received all of the messages and we have processed the
- * trailers and the call completed successfully, so it doesn't matter
- * how the stream ends after that */
- if (((_a = this.finalStatus) === null || _a === void 0 ? void 0 : _a.code) === constants_1.Status.OK) {
- return;
- }
- let code;
- let details = '';
- switch (http2Stream.rstCode) {
- case http2.constants.NGHTTP2_NO_ERROR:
- /* If we get a NO_ERROR code and we already have a status, the
- * stream completed properly and we just haven't fully processed
- * it yet */
- if (this.finalStatus !== null) {
- return;
- }
- if (this.httpStatusCode && this.httpStatusCode !== 200) {
- const mappedStatus = mapHttpStatusCode(this.httpStatusCode);
- code = mappedStatus.code;
- details = mappedStatus.details;
- }
- else {
- code = constants_1.Status.INTERNAL;
- details = `Received RST_STREAM with code ${http2Stream.rstCode} (Call ended without gRPC status)`;
- }
- break;
- case http2.constants.NGHTTP2_REFUSED_STREAM:
- code = constants_1.Status.UNAVAILABLE;
- details = 'Stream refused by server';
- break;
- case http2.constants.NGHTTP2_CANCEL:
- /* Bug reports indicate that Node synthesizes a NGHTTP2_CANCEL
- * code from connection drops. We want to prioritize reporting
- * an unavailable status when that happens. */
- if (this.connectionDropped) {
- code = constants_1.Status.UNAVAILABLE;
- details = 'Connection dropped';
- }
- else {
- code = constants_1.Status.CANCELLED;
- details = 'Call cancelled';
- }
- break;
- case http2.constants.NGHTTP2_ENHANCE_YOUR_CALM:
- code = constants_1.Status.RESOURCE_EXHAUSTED;
- details = 'Bandwidth exhausted or memory limit exceeded';
- break;
- case http2.constants.NGHTTP2_INADEQUATE_SECURITY:
- code = constants_1.Status.PERMISSION_DENIED;
- details = 'Protocol not secure enough';
- break;
- case http2.constants.NGHTTP2_INTERNAL_ERROR:
- code = constants_1.Status.INTERNAL;
- if (this.internalError === null) {
- /* This error code was previously handled in the default case, and
- * there are several instances of it online, so I wanted to
- * preserve the original error message so that people find existing
- * information in searches, but also include the more recognizable
- * "Internal server error" message. */
- details = `Received RST_STREAM with code ${http2Stream.rstCode} (Internal server error)`;
- }
- else {
- if (this.internalError.code === 'ECONNRESET' ||
- this.internalError.code === 'ETIMEDOUT') {
- code = constants_1.Status.UNAVAILABLE;
- details = this.internalError.message;
- }
- else {
- /* The "Received RST_STREAM with code ..." error is preserved
- * here for continuity with errors reported online, but the
- * error message at the end will probably be more relevant in
- * most cases. */
- details = `Received RST_STREAM with code ${http2Stream.rstCode} triggered by internal client error: ${this.internalError.message}`;
- }
- }
- break;
- default:
- code = constants_1.Status.INTERNAL;
- details = `Received RST_STREAM with code ${http2Stream.rstCode}`;
- }
- // This is a no-op if trailers were received at all.
- // This is OK, because status codes emitted here correspond to more
- // catastrophic issues that prevent us from receiving trailers in the
- // first place.
- this.endCall({
- code,
- details,
- metadata: new metadata_1.Metadata(),
- rstCode: http2Stream.rstCode,
- });
- });
- });
- http2Stream.on('error', (err) => {
- /* We need an error handler here to stop "Uncaught Error" exceptions
- * from bubbling up. However, errors here should all correspond to
- * "close" events, where we will handle the error more granularly */
- /* Specifically looking for stream errors that were *not* constructed
- * from a RST_STREAM response here:
- * https://github.com/nodejs/node/blob/8b8620d580314050175983402dfddf2674e8e22a/lib/internal/http2/core.js#L2267
- */
- if (err.code !== 'ERR_HTTP2_STREAM_ERROR') {
- this.trace('Node error event: message=' +
- err.message +
- ' code=' +
- err.code +
- ' errno=' +
- getSystemErrorName(err.errno) +
- ' syscall=' +
- err.syscall);
- this.internalError = err;
- }
- this.callEventTracker.onStreamEnd(false);
- });
- }
- getDeadlineInfo() {
- return [`remote_addr=${this.getPeer()}`];
- }
- onDisconnect() {
- this.connectionDropped = true;
- /* Give the call an event loop cycle to finish naturally before reporting
- * the disconnection as an error. */
- setImmediate(() => {
- this.endCall({
- code: constants_1.Status.UNAVAILABLE,
- details: 'Connection dropped',
- metadata: new metadata_1.Metadata(),
- });
- });
- }
- outputStatus() {
- /* Precondition: this.finalStatus !== null */
- if (!this.statusOutput) {
- this.statusOutput = true;
- this.trace('ended with status: code=' +
- this.finalStatus.code +
- ' details="' +
- this.finalStatus.details +
- '"');
- this.callEventTracker.onCallEnd(this.finalStatus);
- /* We delay the actual action of bubbling up the status to insulate the
- * cleanup code in this class from any errors that may be thrown in the
- * upper layers as a result of bubbling up the status. In particular,
- * if the status is not OK, the "error" event may be emitted
- * synchronously at the top level, which will result in a thrown error if
- * the user does not handle that event. */
- process.nextTick(() => {
- this.listener.onReceiveStatus(this.finalStatus);
- });
- /* Leave the http2 stream in flowing state to drain incoming messages, to
- * ensure that the stream closure completes. The call stream already does
- * not push more messages after the status is output, so the messages go
- * nowhere either way. */
- this.http2Stream.resume();
- }
- }
- trace(text) {
- logging.trace(constants_2.LogVerbosity.DEBUG, TRACER_NAME, '[' + this.callId + '] ' + text);
- }
- /**
- * On first call, emits a 'status' event with the given StatusObject.
- * Subsequent calls are no-ops.
- * @param status The status of the call.
- */
- endCall(status) {
- /* If the status is OK and a new status comes in (e.g. from a
- * deserialization failure), that new status takes priority */
- if (this.finalStatus === null || this.finalStatus.code === constants_1.Status.OK) {
- this.finalStatus = status;
- this.maybeOutputStatus();
- }
- this.destroyHttp2Stream();
- }
- maybeOutputStatus() {
- if (this.finalStatus !== null) {
- /* The combination check of readsClosed and that the two message buffer
- * arrays are empty checks that there all incoming data has been fully
- * processed */
- if (this.finalStatus.code !== constants_1.Status.OK ||
- (this.readsClosed &&
- this.unpushedReadMessages.length === 0 &&
- !this.isReadFilterPending &&
- !this.isPushPending)) {
- this.outputStatus();
- }
- }
- }
- push(message) {
- this.trace('pushing to reader message of length ' +
- (message instanceof Buffer ? message.length : null));
- this.canPush = false;
- this.isPushPending = true;
- process.nextTick(() => {
- this.isPushPending = false;
- /* If we have already output the status any later messages should be
- * ignored, and can cause out-of-order operation errors higher up in the
- * stack. Checking as late as possible here to avoid any race conditions.
- */
- if (this.statusOutput) {
- return;
- }
- this.listener.onReceiveMessage(message);
- this.maybeOutputStatus();
- });
- }
- tryPush(messageBytes) {
- if (this.canPush) {
- this.http2Stream.pause();
- this.push(messageBytes);
- }
- else {
- this.trace('unpushedReadMessages.push message of length ' + messageBytes.length);
- this.unpushedReadMessages.push(messageBytes);
- }
- }
- handleTrailers(headers) {
- this.serverEndedCall = true;
- this.callEventTracker.onStreamEnd(true);
- let headersString = '';
- for (const header of Object.keys(headers)) {
- headersString += '\t\t' + header + ': ' + headers[header] + '\n';
- }
- this.trace('Received server trailers:\n' + headersString);
- let metadata;
- try {
- metadata = metadata_1.Metadata.fromHttp2Headers(headers);
- }
- catch (e) {
- metadata = new metadata_1.Metadata();
- }
- const metadataMap = metadata.getMap();
- let status;
- if (typeof metadataMap['grpc-status'] === 'string') {
- const receivedStatus = Number(metadataMap['grpc-status']);
- this.trace('received status code ' + receivedStatus + ' from server');
- metadata.remove('grpc-status');
- let details = '';
- if (typeof metadataMap['grpc-message'] === 'string') {
- try {
- details = decodeURI(metadataMap['grpc-message']);
- }
- catch (e) {
- details = metadataMap['grpc-message'];
- }
- metadata.remove('grpc-message');
- this.trace('received status details string "' + details + '" from server');
- }
- status = {
- code: receivedStatus,
- details: details,
- metadata: metadata
- };
- }
- else if (this.httpStatusCode) {
- status = mapHttpStatusCode(this.httpStatusCode);
- status.metadata = metadata;
- }
- else {
- status = {
- code: constants_1.Status.UNKNOWN,
- details: 'No status information received',
- metadata: metadata
- };
- }
- // This is a no-op if the call was already ended when handling headers.
- this.endCall(status);
- }
- destroyHttp2Stream() {
- var _a;
- // The http2 stream could already have been destroyed if cancelWithStatus
- // is called in response to an internal http2 error.
- if (this.http2Stream.destroyed) {
- return;
- }
- /* If the server ended the call, sending an RST_STREAM is redundant, so we
- * just half close on the client side instead to finish closing the stream.
- */
- if (this.serverEndedCall) {
- this.http2Stream.end();
- }
- else {
- /* If the call has ended with an OK status, communicate that when closing
- * the stream, partly to avoid a situation in which we detect an error
- * RST_STREAM as a result after we have the status */
- let code;
- if (((_a = this.finalStatus) === null || _a === void 0 ? void 0 : _a.code) === constants_1.Status.OK) {
- code = http2.constants.NGHTTP2_NO_ERROR;
- }
- else {
- code = http2.constants.NGHTTP2_CANCEL;
- }
- this.trace('close http2 stream with code ' + code);
- this.http2Stream.close(code);
- }
- }
- cancelWithStatus(status, details) {
- this.trace('cancelWithStatus code: ' + status + ' details: "' + details + '"');
- this.endCall({ code: status, details, metadata: new metadata_1.Metadata() });
- }
- getStatus() {
- return this.finalStatus;
- }
- getPeer() {
- return this.transport.getPeerName();
- }
- getCallNumber() {
- return this.callId;
- }
- getAuthContext() {
- return this.transport.getAuthContext();
- }
- startRead() {
- /* If the stream has ended with an error, we should not emit any more
- * messages and we should communicate that the stream has ended */
- if (this.finalStatus !== null && this.finalStatus.code !== constants_1.Status.OK) {
- this.readsClosed = true;
- this.maybeOutputStatus();
- return;
- }
- this.canPush = true;
- if (this.unpushedReadMessages.length > 0) {
- const nextMessage = this.unpushedReadMessages.shift();
- this.push(nextMessage);
- return;
- }
- /* Only resume reading from the http2Stream if we don't have any pending
- * messages to emit */
- this.http2Stream.resume();
- }
- sendMessageWithContext(context, message) {
- this.trace('write() called with message of length ' + message.length);
- const cb = (error) => {
- /* nextTick here ensures that no stream action can be taken in the call
- * stack of the write callback, in order to hopefully work around
- * https://github.com/nodejs/node/issues/49147 */
- process.nextTick(() => {
- var _a;
- let code = constants_1.Status.UNAVAILABLE;
- if ((error === null || error === void 0 ? void 0 : error.code) ===
- 'ERR_STREAM_WRITE_AFTER_END') {
- code = constants_1.Status.INTERNAL;
- }
- if (error) {
- this.cancelWithStatus(code, `Write error: ${error.message}`);
- }
- (_a = context.callback) === null || _a === void 0 ? void 0 : _a.call(context);
- });
- };
- this.trace('sending data chunk of length ' + message.length);
- this.callEventTracker.addMessageSent();
- try {
- this.http2Stream.write(message, cb);
- }
- catch (error) {
- this.endCall({
- code: constants_1.Status.UNAVAILABLE,
- details: `Write failed with error ${error.message}`,
- metadata: new metadata_1.Metadata(),
- });
- }
- }
- halfClose() {
- this.trace('end() called');
- this.trace('calling end() on HTTP/2 stream');
- this.http2Stream.end();
- }
-}
-exports.Http2SubchannelCall = Http2SubchannelCall;
-//# sourceMappingURL=subchannel-call.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-call.js.map b/node_modules/@grpc/grpc-js/build/src/subchannel-call.js.map
deleted file mode 100644
index 2c2e09f..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-call.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"subchannel-call.js","sourceRoot":"","sources":["../../src/subchannel-call.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,+BAA+B;AAC/B,yBAAyB;AAEzB,2CAAyE;AACzE,yCAAsC;AACtC,qDAAiD;AACjD,qCAAqC;AACrC,2CAA2C;AAU3C,MAAM,WAAW,GAAG,iBAAiB,CAAC;AAiBtC;;;;;GAKG;AACH,SAAS,kBAAkB,CAAC,KAAa;IACvC,KAAK,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,KAAK,KAAK,EAAE,CAAC;YAClB,OAAO,IAAI,CAAC;QACd,CAAC;IACH,CAAC;IACD,OAAO,uBAAuB,GAAG,KAAK,CAAC;AACzC,CAAC;AAsBD,SAAS,iBAAiB,CAAC,IAAY;IACrC,MAAM,OAAO,GAAG,6BAA6B,IAAI,EAAE,CAAC;IACpD,IAAI,gBAAwB,CAAC;IAC7B,QAAQ,IAAI,EAAE,CAAC;QACb,yCAA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;AAtfD,kDAsfC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-interface.d.ts b/node_modules/@grpc/grpc-js/build/src/subchannel-interface.d.ts
deleted file mode 100644
index 7b1eb81..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-interface.d.ts
+++ /dev/null
@@ -1,82 +0,0 @@
-import { CallCredentials } from './call-credentials';
-import { Channel } from './channel';
-import type { SubchannelRef } from './channelz';
-import { ConnectivityState } from './connectivity-state';
-import { Subchannel } from './subchannel';
-export type ConnectivityStateListener = (subchannel: SubchannelInterface, previousState: ConnectivityState, newState: ConnectivityState, keepaliveTime: number, errorMessage?: string) => void;
-export type HealthListener = (healthy: boolean) => void;
-export interface DataWatcher {
- setSubchannel(subchannel: Subchannel): void;
- destroy(): void;
-}
-/**
- * This is an interface for load balancing policies to use to interact with
- * subchannels. This allows load balancing policies to wrap and unwrap
- * subchannels.
- *
- * Any load balancing policy that wraps subchannels must unwrap the subchannel
- * in the picker, so that other load balancing policies consistently have
- * access to their own wrapper objects.
- */
-export interface SubchannelInterface {
- getConnectivityState(): ConnectivityState;
- addConnectivityStateListener(listener: ConnectivityStateListener): void;
- removeConnectivityStateListener(listener: ConnectivityStateListener): void;
- startConnecting(): void;
- getAddress(): string;
- throttleKeepalive(newKeepaliveTime: number): void;
- ref(): void;
- unref(): void;
- getChannelzRef(): SubchannelRef;
- isHealthy(): boolean;
- addHealthStateWatcher(listener: HealthListener): void;
- removeHealthStateWatcher(listener: HealthListener): void;
- addDataWatcher(dataWatcher: DataWatcher): void;
- /**
- * If this is a wrapper, return the wrapped subchannel, otherwise return this
- */
- getRealSubchannel(): Subchannel;
- /**
- * Returns true if this and other both proxy the same underlying subchannel.
- * Can be used instead of directly accessing getRealSubchannel to allow mocks
- * to avoid implementing getRealSubchannel
- */
- realSubchannelEquals(other: SubchannelInterface): boolean;
- /**
- * Get the call credentials associated with the channel credentials for this
- * subchannel.
- */
- getCallCredentials(): CallCredentials;
- /**
- * Get a channel that can be used to make requests with just this
- */
- getChannel(): Channel;
-}
-export declare abstract class BaseSubchannelWrapper implements SubchannelInterface {
- protected child: SubchannelInterface;
- private healthy;
- private healthListeners;
- private refcount;
- private dataWatchers;
- constructor(child: SubchannelInterface);
- private updateHealthListeners;
- getConnectivityState(): ConnectivityState;
- addConnectivityStateListener(listener: ConnectivityStateListener): void;
- removeConnectivityStateListener(listener: ConnectivityStateListener): void;
- startConnecting(): void;
- getAddress(): string;
- throttleKeepalive(newKeepaliveTime: number): void;
- ref(): void;
- unref(): void;
- protected destroy(): void;
- getChannelzRef(): SubchannelRef;
- isHealthy(): boolean;
- addHealthStateWatcher(listener: HealthListener): void;
- removeHealthStateWatcher(listener: HealthListener): void;
- addDataWatcher(dataWatcher: DataWatcher): void;
- protected setHealthy(healthy: boolean): void;
- getRealSubchannel(): Subchannel;
- realSubchannelEquals(other: SubchannelInterface): boolean;
- getCallCredentials(): CallCredentials;
- getChannel(): Channel;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js b/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js
deleted file mode 100644
index 6faf71a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js
+++ /dev/null
@@ -1,114 +0,0 @@
-"use strict";
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.BaseSubchannelWrapper = void 0;
-class BaseSubchannelWrapper {
- constructor(child) {
- this.child = child;
- this.healthy = true;
- this.healthListeners = new Set();
- this.refcount = 0;
- this.dataWatchers = new Set();
- child.addHealthStateWatcher(childHealthy => {
- /* A change to the child health state only affects this wrapper's overall
- * health state if this wrapper is reporting healthy. */
- if (this.healthy) {
- this.updateHealthListeners();
- }
- });
- }
- updateHealthListeners() {
- for (const listener of this.healthListeners) {
- listener(this.isHealthy());
- }
- }
- getConnectivityState() {
- return this.child.getConnectivityState();
- }
- addConnectivityStateListener(listener) {
- this.child.addConnectivityStateListener(listener);
- }
- removeConnectivityStateListener(listener) {
- this.child.removeConnectivityStateListener(listener);
- }
- startConnecting() {
- this.child.startConnecting();
- }
- getAddress() {
- return this.child.getAddress();
- }
- throttleKeepalive(newKeepaliveTime) {
- this.child.throttleKeepalive(newKeepaliveTime);
- }
- ref() {
- this.child.ref();
- this.refcount += 1;
- }
- unref() {
- this.child.unref();
- this.refcount -= 1;
- if (this.refcount === 0) {
- this.destroy();
- }
- }
- destroy() {
- for (const watcher of this.dataWatchers) {
- watcher.destroy();
- }
- }
- getChannelzRef() {
- return this.child.getChannelzRef();
- }
- isHealthy() {
- return this.healthy && this.child.isHealthy();
- }
- addHealthStateWatcher(listener) {
- this.healthListeners.add(listener);
- }
- removeHealthStateWatcher(listener) {
- this.healthListeners.delete(listener);
- }
- addDataWatcher(dataWatcher) {
- dataWatcher.setSubchannel(this.getRealSubchannel());
- this.dataWatchers.add(dataWatcher);
- }
- setHealthy(healthy) {
- if (healthy !== this.healthy) {
- this.healthy = healthy;
- /* A change to this wrapper's health state only affects the overall
- * reported health state if the child is healthy. */
- if (this.child.isHealthy()) {
- this.updateHealthListeners();
- }
- }
- }
- getRealSubchannel() {
- return this.child.getRealSubchannel();
- }
- realSubchannelEquals(other) {
- return this.getRealSubchannel() === other.getRealSubchannel();
- }
- getCallCredentials() {
- return this.child.getCallCredentials();
- }
- getChannel() {
- return this.child.getChannel();
- }
-}
-exports.BaseSubchannelWrapper = BaseSubchannelWrapper;
-//# sourceMappingURL=subchannel-interface.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js.map b/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js.map
deleted file mode 100644
index d298ea0..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-interface.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"subchannel-interface.js","sourceRoot":"","sources":["../../src/subchannel-interface.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAmEH,MAAsB,qBAAqB;IAKzC,YAAsB,KAA0B;QAA1B,UAAK,GAAL,KAAK,CAAqB;QAJxC,YAAO,GAAG,IAAI,CAAC;QACf,oBAAe,GAAwB,IAAI,GAAG,EAAE,CAAC;QACjD,aAAQ,GAAG,CAAC,CAAC;QACb,iBAAY,GAAqB,IAAI,GAAG,EAAE,CAAC;QAEjD,KAAK,CAAC,qBAAqB,CAAC,YAAY,CAAC,EAAE;YACzC;oEACwD;YACxD,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;gBACjB,IAAI,CAAC,qBAAqB,EAAE,CAAC;YAC/B,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;IAEO,qBAAqB;QAC3B,KAAK,MAAM,QAAQ,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;YAC5C,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC;QAC7B,CAAC;IACH,CAAC;IAED,oBAAoB;QAClB,OAAO,IAAI,CAAC,KAAK,CAAC,oBAAoB,EAAE,CAAC;IAC3C,CAAC;IACD,4BAA4B,CAAC,QAAmC;QAC9D,IAAI,CAAC,KAAK,CAAC,4BAA4B,CAAC,QAAQ,CAAC,CAAC;IACpD,CAAC;IACD,+BAA+B,CAAC,QAAmC;QACjE,IAAI,CAAC,KAAK,CAAC,+BAA+B,CAAC,QAAQ,CAAC,CAAC;IACvD,CAAC;IACD,eAAe;QACb,IAAI,CAAC,KAAK,CAAC,eAAe,EAAE,CAAC;IAC/B,CAAC;IACD,UAAU;QACR,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU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O,GAAG,OAAO,CAAC;YACvB;gEACoD;YACpD,IAAI,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE,EAAE,CAAC;gBAC3B,IAAI,CAAC,qBAAqB,EAAE,CAAC;YAC/B,CAAC;QACH,CAAC;IACH,CAAC;IACD,iBAAiB;QACf,OAAO,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,CAAC;IACxC,CAAC;IACD,oBAAoB,CAAC,KAA0B;QAC7C,OAAO,IAAI,CAAC,iBAAiB,EAAE,KAAK,KAAK,CAAC,iBAAiB,EAAE,CAAC;IAChE,CAAC;IACD,kBAAkB;QAChB,OAAO,IAAI,CAAC,KAAK,CAAC,kBAAkB,EAAE,CAAC;IACzC,CAAC;IACD,UAAU;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;IACnC,CAAC;CACF;AA7FD,sDA6FC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-pool.d.ts b/node_modules/@grpc/grpc-js/build/src/subchannel-pool.d.ts
deleted file mode 100644
index 9c00300..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-pool.d.ts
+++ /dev/null
@@ -1,40 +0,0 @@
-import { ChannelOptions } from './channel-options';
-import { Subchannel } from './subchannel';
-import { SubchannelAddress } from './subchannel-address';
-import { ChannelCredentials } from './channel-credentials';
-import { GrpcUri } from './uri-parser';
-export declare class SubchannelPool {
- private pool;
- /**
- * A timer of a task performing a periodic subchannel cleanup.
- */
- private cleanupTimer;
- /**
- * A pool of subchannels use for making connections. Subchannels with the
- * exact same parameters will be reused.
- */
- constructor();
- /**
- * Unrefs all unused subchannels and cancels the cleanup task if all
- * subchannels have been unrefed.
- */
- unrefUnusedSubchannels(): void;
- /**
- * Ensures that the cleanup task is spawned.
- */
- ensureCleanupTask(): void;
- /**
- * Get a subchannel if one already exists with exactly matching parameters.
- * Otherwise, create and save a subchannel with those parameters.
- * @param channelTarget
- * @param subchannelTarget
- * @param channelArguments
- * @param channelCredentials
- */
- getOrCreateSubchannel(channelTargetUri: GrpcUri, subchannelTarget: SubchannelAddress, channelArguments: ChannelOptions, channelCredentials: ChannelCredentials): Subchannel;
-}
-/**
- * Get either the global subchannel pool, or a new subchannel pool.
- * @param global
- */
-export declare function getSubchannelPool(global: boolean): SubchannelPool;
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js b/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js
deleted file mode 100644
index e10d66d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js
+++ /dev/null
@@ -1,137 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.SubchannelPool = void 0;
-exports.getSubchannelPool = getSubchannelPool;
-const channel_options_1 = require("./channel-options");
-const subchannel_1 = require("./subchannel");
-const subchannel_address_1 = require("./subchannel-address");
-const uri_parser_1 = require("./uri-parser");
-const transport_1 = require("./transport");
-// 10 seconds in milliseconds. This value is arbitrary.
-/**
- * The amount of time in between checks for dropping subchannels that have no
- * other references
- */
-const REF_CHECK_INTERVAL = 10000;
-class SubchannelPool {
- /**
- * A pool of subchannels use for making connections. Subchannels with the
- * exact same parameters will be reused.
- */
- constructor() {
- this.pool = Object.create(null);
- /**
- * A timer of a task performing a periodic subchannel cleanup.
- */
- this.cleanupTimer = null;
- }
- /**
- * Unrefs all unused subchannels and cancels the cleanup task if all
- * subchannels have been unrefed.
- */
- unrefUnusedSubchannels() {
- let allSubchannelsUnrefed = true;
- /* These objects are created with Object.create(null), so they do not
- * have a prototype, which means that for (... in ...) loops over them
- * do not need to be filtered */
- // eslint-disable-disable-next-line:forin
- for (const channelTarget in this.pool) {
- const subchannelObjArray = this.pool[channelTarget];
- const refedSubchannels = subchannelObjArray.filter(value => !value.subchannel.unrefIfOneRef());
- if (refedSubchannels.length > 0) {
- allSubchannelsUnrefed = false;
- }
- /* For each subchannel in the pool, try to unref it if it has
- * exactly one ref (which is the ref from the pool itself). If that
- * does happen, remove the subchannel from the pool */
- this.pool[channelTarget] = refedSubchannels;
- }
- /* Currently we do not delete keys with empty values. If that results
- * in significant memory usage we should change it. */
- // Cancel the cleanup task if all subchannels have been unrefed.
- if (allSubchannelsUnrefed && this.cleanupTimer !== null) {
- clearInterval(this.cleanupTimer);
- this.cleanupTimer = null;
- }
- }
- /**
- * Ensures that the cleanup task is spawned.
- */
- ensureCleanupTask() {
- var _a, _b;
- if (this.cleanupTimer === null) {
- this.cleanupTimer = setInterval(() => {
- this.unrefUnusedSubchannels();
- }, REF_CHECK_INTERVAL);
- // Unref because this timer should not keep the event loop running.
- // Call unref only if it exists to address electron/electron#21162
- (_b = (_a = this.cleanupTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- }
- }
- /**
- * Get a subchannel if one already exists with exactly matching parameters.
- * Otherwise, create and save a subchannel with those parameters.
- * @param channelTarget
- * @param subchannelTarget
- * @param channelArguments
- * @param channelCredentials
- */
- getOrCreateSubchannel(channelTargetUri, subchannelTarget, channelArguments, channelCredentials) {
- this.ensureCleanupTask();
- const channelTarget = (0, uri_parser_1.uriToString)(channelTargetUri);
- if (channelTarget in this.pool) {
- const subchannelObjArray = this.pool[channelTarget];
- for (const subchannelObj of subchannelObjArray) {
- if ((0, subchannel_address_1.subchannelAddressEqual)(subchannelTarget, subchannelObj.subchannelAddress) &&
- (0, channel_options_1.channelOptionsEqual)(channelArguments, subchannelObj.channelArguments) &&
- channelCredentials._equals(subchannelObj.channelCredentials)) {
- return subchannelObj.subchannel;
- }
- }
- }
- // If we get here, no matching subchannel was found
- const subchannel = new subchannel_1.Subchannel(channelTargetUri, subchannelTarget, channelArguments, channelCredentials, new transport_1.Http2SubchannelConnector(channelTargetUri));
- if (!(channelTarget in this.pool)) {
- this.pool[channelTarget] = [];
- }
- this.pool[channelTarget].push({
- subchannelAddress: subchannelTarget,
- channelArguments,
- channelCredentials,
- subchannel,
- });
- subchannel.ref();
- return subchannel;
- }
-}
-exports.SubchannelPool = SubchannelPool;
-const globalSubchannelPool = new SubchannelPool();
-/**
- * Get either the global subchannel pool, or a new subchannel pool.
- * @param global
- */
-function getSubchannelPool(global) {
- if (global) {
- return globalSubchannelPool;
- }
- else {
- return new SubchannelPool();
- }
-}
-//# sourceMappingURL=subchannel-pool.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js.map b/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js.map
deleted file mode 100644
index d1b988a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel-pool.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"subchannel-pool.js","sourceRoot":"","sources":["../../src/subchannel-pool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AA0JH,8CAMC;AA9JD,uDAAwE;AACxE,6CAA0C;AAC1C,6DAG8B;AAE9B,6CAAoD;AACpD,2CAAuD;AAEvD,uDAAuD;AACvD;;;GAGG;AACH,MAAM,kBAAkB,GAAG,KAAM,CAAC;AAElC,MAAa,cAAc;IAezB;;;OAGG;IACH;QAlBQ,SAAI,GAOR,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QAExB;;WAEG;QACK,iBAAY,GAA0B,IAAI,CAAC;IAMpC,CAAC;IAEhB;;;OAGG;IACH,sBAAsB;QACpB,IAAI,qBAAqB,GAAG,IAAI,CAAC;QAEjC;;wCAEgC;QAChC,yCAAyC;QACzC,KAAK,MAAM,aAAa,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YACtC,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CAAC,CAAC;YACpD,KAAK,MAAM,aAAa,IAAI,kBAAkB,EAAE,CAAC;gBAC/C,IACE,IAAA,2CAAsB,EACpB,gBAAgB,EAChB,aAAa,CAAC,iBAAiB,CAChC;oBACD,IAAA,qCAAmB,EACjB,gBAAgB,EAChB,aAAa,CAAC,gBAAgB,CAC/B;oBACD,kBAAkB,CAAC,OAAO,CAAC,aAAa,CAAC,kBAAkB,CAAC,EAC5D,CAAC;oBACD,OAAO,aAAa,CAAC,UAAU,CAAC;gBAClC,CAAC;YACH,CAAC;QACH,CAAC;QACD,mDAAmD;QACnD,MAAM,UAAU,GAAG,IAAI,uBAAU,CAC/B,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,IAAI,oCAAwB,CAAC,gBAAgB,CAAC,CAC/C,CAAC;QACF,IAAI,CAAC,CAAC,aAAa,IAAI,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAClC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,EAAE,CAAC;QAChC,CAAC;QACD,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC;YAC5B,iBAAiB,EAAE,gBAAgB;YACnC,gBAAgB;YAChB,kBAAkB;YAClB,UAAU;SACX,CAAC,CAAC;QACH,UAAU,CAAC,GAAG,EAAE,CAAC;QACjB,OAAO,UAAU,CAAC;IACpB,CAAC;CACF;AA/HD,wCA+HC;AAED,MAAM,oBAAoB,GAAG,IAAI,cAAc,EAAE,CAAC;AAElD;;;GAGG;AACH,SAAgB,iBAAiB,CAAC,MAAe;IAC/C,IAAI,MAAM,EAAE,CAAC;QACX,OAAO,oBAAoB,CAAC;IAC9B,CAAC;SAAM,CAAC;QACN,OAAO,IAAI,cAAc,EAAE,CAAC;IAC9B,CAAC;AACH,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel.d.ts b/node_modules/@grpc/grpc-js/build/src/subchannel.d.ts
deleted file mode 100644
index 1a1689b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel.d.ts
+++ /dev/null
@@ -1,135 +0,0 @@
-import { ChannelCredentials } from './channel-credentials';
-import { Metadata } from './metadata';
-import { ChannelOptions } from './channel-options';
-import { ConnectivityState } from './connectivity-state';
-import { GrpcUri } from './uri-parser';
-import { SubchannelAddress } from './subchannel-address';
-import { SubchannelRef } from './channelz';
-import { ConnectivityStateListener, DataWatcher, SubchannelInterface } from './subchannel-interface';
-import { SubchannelCallInterceptingListener } from './subchannel-call';
-import { SubchannelCall } from './subchannel-call';
-import { SubchannelConnector } from './transport';
-import { CallCredentials } from './call-credentials';
-import { Channel } from './channel';
-export interface DataProducer {
- addDataWatcher(dataWatcher: DataWatcher): void;
- removeDataWatcher(dataWatcher: DataWatcher): void;
-}
-export declare class Subchannel implements SubchannelInterface {
- private channelTarget;
- private subchannelAddress;
- private options;
- private connector;
- /**
- * The subchannel's current connectivity state. Invariant: `session` === `null`
- * if and only if `connectivityState` is IDLE or TRANSIENT_FAILURE.
- */
- private connectivityState;
- /**
- * The underlying http2 session used to make requests.
- */
- private transport;
- /**
- * Indicates that the subchannel should transition from TRANSIENT_FAILURE to
- * CONNECTING instead of IDLE when the backoff timeout ends.
- */
- private continueConnecting;
- /**
- * A list of listener functions that will be called whenever the connectivity
- * state changes. Will be modified by `addConnectivityStateListener` and
- * `removeConnectivityStateListener`
- */
- private stateListeners;
- private backoffTimeout;
- private keepaliveTime;
- /**
- * Tracks channels and subchannel pools with references to this subchannel
- */
- private refcount;
- /**
- * A string representation of the subchannel address, for logging/tracing
- */
- private subchannelAddressString;
- private readonly channelzEnabled;
- private channelzRef;
- private channelzTrace;
- private callTracker;
- private childrenTracker;
- private streamTracker;
- private secureConnector;
- private dataProducers;
- private subchannelChannel;
- /**
- * A class representing a connection to a single backend.
- * @param channelTarget The target string for the channel as a whole
- * @param subchannelAddress The address for the backend that this subchannel
- * will connect to
- * @param options The channel options, plus any specific subchannel options
- * for this subchannel
- * @param credentials The channel credentials used to establish this
- * connection
- */
- constructor(channelTarget: GrpcUri, subchannelAddress: SubchannelAddress, options: ChannelOptions, credentials: ChannelCredentials, connector: SubchannelConnector);
- private getChannelzInfo;
- private trace;
- private refTrace;
- private handleBackoffTimer;
- /**
- * Start a backoff timer with the current nextBackoff timeout
- */
- private startBackoff;
- private stopBackoff;
- private startConnectingInternal;
- /**
- * Initiate a state transition from any element of oldStates to the new
- * state. If the current connectivityState is not in oldStates, do nothing.
- * @param oldStates The set of states to transition from
- * @param newState The state to transition to
- * @returns True if the state changed, false otherwise
- */
- private transitionToState;
- ref(): void;
- unref(): void;
- unrefIfOneRef(): boolean;
- createCall(metadata: Metadata, host: string, method: string, listener: SubchannelCallInterceptingListener): SubchannelCall;
- /**
- * If the subchannel is currently IDLE, start connecting and switch to the
- * CONNECTING state. If the subchannel is current in TRANSIENT_FAILURE,
- * the next time it would transition to IDLE, start connecting again instead.
- * Otherwise, do nothing.
- */
- startConnecting(): void;
- /**
- * Get the subchannel's current connectivity state.
- */
- getConnectivityState(): ConnectivityState;
- /**
- * Add a listener function to be called whenever the subchannel's
- * connectivity state changes.
- * @param listener
- */
- addConnectivityStateListener(listener: ConnectivityStateListener): void;
- /**
- * Remove a listener previously added with `addConnectivityStateListener`
- * @param listener A reference to a function previously passed to
- * `addConnectivityStateListener`
- */
- removeConnectivityStateListener(listener: ConnectivityStateListener): void;
- /**
- * Reset the backoff timeout, and immediately start connecting if in backoff.
- */
- resetBackoff(): void;
- getAddress(): string;
- getChannelzRef(): SubchannelRef;
- isHealthy(): boolean;
- addHealthStateWatcher(listener: (healthy: boolean) => void): void;
- removeHealthStateWatcher(listener: (healthy: boolean) => void): void;
- getRealSubchannel(): this;
- realSubchannelEquals(other: SubchannelInterface): boolean;
- throttleKeepalive(newKeepaliveTime: number): void;
- getCallCredentials(): CallCredentials;
- getChannel(): Channel;
- addDataWatcher(dataWatcher: DataWatcher): void;
- getOrCreateDataProducer(name: string, createDataProducer: (subchannel: Subchannel) => DataProducer): DataProducer;
- removeDataProducer(name: string): void;
-}
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel.js b/node_modules/@grpc/grpc-js/build/src/subchannel.js
deleted file mode 100644
index abdb420..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel.js
+++ /dev/null
@@ -1,397 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Subchannel = void 0;
-const connectivity_state_1 = require("./connectivity-state");
-const backoff_timeout_1 = require("./backoff-timeout");
-const logging = require("./logging");
-const constants_1 = require("./constants");
-const uri_parser_1 = require("./uri-parser");
-const subchannel_address_1 = require("./subchannel-address");
-const channelz_1 = require("./channelz");
-const single_subchannel_channel_1 = require("./single-subchannel-channel");
-const TRACER_NAME = 'subchannel';
-/* setInterval and setTimeout only accept signed 32 bit integers. JS doesn't
- * have a constant for the max signed 32 bit integer, so this is a simple way
- * to calculate it */
-const KEEPALIVE_MAX_TIME_MS = ~(1 << 31);
-class Subchannel {
- /**
- * A class representing a connection to a single backend.
- * @param channelTarget The target string for the channel as a whole
- * @param subchannelAddress The address for the backend that this subchannel
- * will connect to
- * @param options The channel options, plus any specific subchannel options
- * for this subchannel
- * @param credentials The channel credentials used to establish this
- * connection
- */
- constructor(channelTarget, subchannelAddress, options, credentials, connector) {
- var _a;
- this.channelTarget = channelTarget;
- this.subchannelAddress = subchannelAddress;
- this.options = options;
- this.connector = connector;
- /**
- * The subchannel's current connectivity state. Invariant: `session` === `null`
- * if and only if `connectivityState` is IDLE or TRANSIENT_FAILURE.
- */
- this.connectivityState = connectivity_state_1.ConnectivityState.IDLE;
- /**
- * The underlying http2 session used to make requests.
- */
- this.transport = null;
- /**
- * Indicates that the subchannel should transition from TRANSIENT_FAILURE to
- * CONNECTING instead of IDLE when the backoff timeout ends.
- */
- this.continueConnecting = false;
- /**
- * A list of listener functions that will be called whenever the connectivity
- * state changes. Will be modified by `addConnectivityStateListener` and
- * `removeConnectivityStateListener`
- */
- this.stateListeners = new Set();
- /**
- * Tracks channels and subchannel pools with references to this subchannel
- */
- this.refcount = 0;
- // Channelz info
- this.channelzEnabled = true;
- this.dataProducers = new Map();
- this.subchannelChannel = null;
- const backoffOptions = {
- initialDelay: options['grpc.initial_reconnect_backoff_ms'],
- maxDelay: options['grpc.max_reconnect_backoff_ms'],
- };
- this.backoffTimeout = new backoff_timeout_1.BackoffTimeout(() => {
- this.handleBackoffTimer();
- }, backoffOptions);
- this.backoffTimeout.unref();
- this.subchannelAddressString = (0, subchannel_address_1.subchannelAddressToString)(subchannelAddress);
- this.keepaliveTime = (_a = options['grpc.keepalive_time_ms']) !== null && _a !== void 0 ? _a : -1;
- if (options['grpc.enable_channelz'] === 0) {
- this.channelzEnabled = false;
- this.channelzTrace = new channelz_1.ChannelzTraceStub();
- this.callTracker = new channelz_1.ChannelzCallTrackerStub();
- this.childrenTracker = new channelz_1.ChannelzChildrenTrackerStub();
- this.streamTracker = new channelz_1.ChannelzCallTrackerStub();
- }
- else {
- this.channelzTrace = new channelz_1.ChannelzTrace();
- this.callTracker = new channelz_1.ChannelzCallTracker();
- this.childrenTracker = new channelz_1.ChannelzChildrenTracker();
- this.streamTracker = new channelz_1.ChannelzCallTracker();
- }
- this.channelzRef = (0, channelz_1.registerChannelzSubchannel)(this.subchannelAddressString, () => this.getChannelzInfo(), this.channelzEnabled);
- this.channelzTrace.addTrace('CT_INFO', 'Subchannel created');
- this.trace('Subchannel constructed with options ' +
- JSON.stringify(options, undefined, 2));
- this.secureConnector = credentials._createSecureConnector(channelTarget, options);
- }
- getChannelzInfo() {
- return {
- state: this.connectivityState,
- trace: this.channelzTrace,
- callTracker: this.callTracker,
- children: this.childrenTracker.getChildLists(),
- target: this.subchannelAddressString,
- };
- }
- trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, '(' +
- this.channelzRef.id +
- ') ' +
- this.subchannelAddressString +
- ' ' +
- text);
- }
- refTrace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, 'subchannel_refcount', '(' +
- this.channelzRef.id +
- ') ' +
- this.subchannelAddressString +
- ' ' +
- text);
- }
- handleBackoffTimer() {
- if (this.continueConnecting) {
- this.transitionToState([connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE], connectivity_state_1.ConnectivityState.CONNECTING);
- }
- else {
- this.transitionToState([connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE], connectivity_state_1.ConnectivityState.IDLE);
- }
- }
- /**
- * Start a backoff timer with the current nextBackoff timeout
- */
- startBackoff() {
- this.backoffTimeout.runOnce();
- }
- stopBackoff() {
- this.backoffTimeout.stop();
- this.backoffTimeout.reset();
- }
- startConnectingInternal() {
- let options = this.options;
- if (options['grpc.keepalive_time_ms']) {
- const adjustedKeepaliveTime = Math.min(this.keepaliveTime, KEEPALIVE_MAX_TIME_MS);
- options = Object.assign(Object.assign({}, options), { 'grpc.keepalive_time_ms': adjustedKeepaliveTime });
- }
- this.connector
- .connect(this.subchannelAddress, this.secureConnector, options)
- .then(transport => {
- if (this.transitionToState([connectivity_state_1.ConnectivityState.CONNECTING], connectivity_state_1.ConnectivityState.READY)) {
- this.transport = transport;
- if (this.channelzEnabled) {
- this.childrenTracker.refChild(transport.getChannelzRef());
- }
- transport.addDisconnectListener(tooManyPings => {
- this.transitionToState([connectivity_state_1.ConnectivityState.READY], connectivity_state_1.ConnectivityState.IDLE);
- if (tooManyPings && this.keepaliveTime > 0) {
- this.keepaliveTime *= 2;
- logging.log(constants_1.LogVerbosity.ERROR, `Connection to ${(0, uri_parser_1.uriToString)(this.channelTarget)} at ${this.subchannelAddressString} rejected by server because of excess pings. Increasing ping interval to ${this.keepaliveTime} ms`);
- }
- });
- }
- else {
- /* If we can't transition from CONNECTING to READY here, we will
- * not be using this transport, so release its resources. */
- transport.shutdown();
- }
- }, error => {
- this.transitionToState([connectivity_state_1.ConnectivityState.CONNECTING], connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE, `${error}`);
- });
- }
- /**
- * Initiate a state transition from any element of oldStates to the new
- * state. If the current connectivityState is not in oldStates, do nothing.
- * @param oldStates The set of states to transition from
- * @param newState The state to transition to
- * @returns True if the state changed, false otherwise
- */
- transitionToState(oldStates, newState, errorMessage) {
- var _a, _b;
- if (oldStates.indexOf(this.connectivityState) === -1) {
- return false;
- }
- if (errorMessage) {
- this.trace(connectivity_state_1.ConnectivityState[this.connectivityState] +
- ' -> ' +
- connectivity_state_1.ConnectivityState[newState] +
- ' with error "' + errorMessage + '"');
- }
- else {
- this.trace(connectivity_state_1.ConnectivityState[this.connectivityState] +
- ' -> ' +
- connectivity_state_1.ConnectivityState[newState]);
- }
- if (this.channelzEnabled) {
- this.channelzTrace.addTrace('CT_INFO', 'Connectivity state change to ' + connectivity_state_1.ConnectivityState[newState]);
- }
- const previousState = this.connectivityState;
- this.connectivityState = newState;
- switch (newState) {
- case connectivity_state_1.ConnectivityState.READY:
- this.stopBackoff();
- break;
- case connectivity_state_1.ConnectivityState.CONNECTING:
- this.startBackoff();
- this.startConnectingInternal();
- this.continueConnecting = false;
- break;
- case connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE:
- if (this.channelzEnabled && this.transport) {
- this.childrenTracker.unrefChild(this.transport.getChannelzRef());
- }
- (_a = this.transport) === null || _a === void 0 ? void 0 : _a.shutdown();
- this.transport = null;
- /* If the backoff timer has already ended by the time we get to the
- * TRANSIENT_FAILURE state, we want to immediately transition out of
- * TRANSIENT_FAILURE as though the backoff timer is ending right now */
- if (!this.backoffTimeout.isRunning()) {
- process.nextTick(() => {
- this.handleBackoffTimer();
- });
- }
- break;
- case connectivity_state_1.ConnectivityState.IDLE:
- if (this.channelzEnabled && this.transport) {
- this.childrenTracker.unrefChild(this.transport.getChannelzRef());
- }
- (_b = this.transport) === null || _b === void 0 ? void 0 : _b.shutdown();
- this.transport = null;
- break;
- default:
- throw new Error(`Invalid state: unknown ConnectivityState ${newState}`);
- }
- for (const listener of this.stateListeners) {
- listener(this, previousState, newState, this.keepaliveTime, errorMessage);
- }
- return true;
- }
- ref() {
- this.refTrace('refcount ' + this.refcount + ' -> ' + (this.refcount + 1));
- this.refcount += 1;
- }
- unref() {
- this.refTrace('refcount ' + this.refcount + ' -> ' + (this.refcount - 1));
- this.refcount -= 1;
- if (this.refcount === 0) {
- this.channelzTrace.addTrace('CT_INFO', 'Shutting down');
- (0, channelz_1.unregisterChannelzRef)(this.channelzRef);
- this.secureConnector.destroy();
- process.nextTick(() => {
- this.transitionToState([connectivity_state_1.ConnectivityState.CONNECTING, connectivity_state_1.ConnectivityState.READY], connectivity_state_1.ConnectivityState.IDLE);
- });
- }
- }
- unrefIfOneRef() {
- if (this.refcount === 1) {
- this.unref();
- return true;
- }
- return false;
- }
- createCall(metadata, host, method, listener) {
- if (!this.transport) {
- throw new Error('Cannot create call, subchannel not READY');
- }
- let statsTracker;
- if (this.channelzEnabled) {
- this.callTracker.addCallStarted();
- this.streamTracker.addCallStarted();
- statsTracker = {
- onCallEnd: status => {
- if (status.code === constants_1.Status.OK) {
- this.callTracker.addCallSucceeded();
- }
- else {
- this.callTracker.addCallFailed();
- }
- },
- };
- }
- else {
- statsTracker = {};
- }
- return this.transport.createCall(metadata, host, method, listener, statsTracker);
- }
- /**
- * If the subchannel is currently IDLE, start connecting and switch to the
- * CONNECTING state. If the subchannel is current in TRANSIENT_FAILURE,
- * the next time it would transition to IDLE, start connecting again instead.
- * Otherwise, do nothing.
- */
- startConnecting() {
- process.nextTick(() => {
- /* First, try to transition from IDLE to connecting. If that doesn't happen
- * because the state is not currently IDLE, check if it is
- * TRANSIENT_FAILURE, and if so indicate that it should go back to
- * connecting after the backoff timer ends. Otherwise do nothing */
- if (!this.transitionToState([connectivity_state_1.ConnectivityState.IDLE], connectivity_state_1.ConnectivityState.CONNECTING)) {
- if (this.connectivityState === connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE) {
- this.continueConnecting = true;
- }
- }
- });
- }
- /**
- * Get the subchannel's current connectivity state.
- */
- getConnectivityState() {
- return this.connectivityState;
- }
- /**
- * Add a listener function to be called whenever the subchannel's
- * connectivity state changes.
- * @param listener
- */
- addConnectivityStateListener(listener) {
- this.stateListeners.add(listener);
- }
- /**
- * Remove a listener previously added with `addConnectivityStateListener`
- * @param listener A reference to a function previously passed to
- * `addConnectivityStateListener`
- */
- removeConnectivityStateListener(listener) {
- this.stateListeners.delete(listener);
- }
- /**
- * Reset the backoff timeout, and immediately start connecting if in backoff.
- */
- resetBackoff() {
- process.nextTick(() => {
- this.backoffTimeout.reset();
- this.transitionToState([connectivity_state_1.ConnectivityState.TRANSIENT_FAILURE], connectivity_state_1.ConnectivityState.CONNECTING);
- });
- }
- getAddress() {
- return this.subchannelAddressString;
- }
- getChannelzRef() {
- return this.channelzRef;
- }
- isHealthy() {
- return true;
- }
- addHealthStateWatcher(listener) {
- // Do nothing with the listener
- }
- removeHealthStateWatcher(listener) {
- // Do nothing with the listener
- }
- getRealSubchannel() {
- return this;
- }
- realSubchannelEquals(other) {
- return other.getRealSubchannel() === this;
- }
- throttleKeepalive(newKeepaliveTime) {
- if (newKeepaliveTime > this.keepaliveTime) {
- this.keepaliveTime = newKeepaliveTime;
- }
- }
- getCallCredentials() {
- return this.secureConnector.getCallCredentials();
- }
- getChannel() {
- if (!this.subchannelChannel) {
- this.subchannelChannel = new single_subchannel_channel_1.SingleSubchannelChannel(this, this.channelTarget, this.options);
- }
- return this.subchannelChannel;
- }
- addDataWatcher(dataWatcher) {
- throw new Error('Not implemented');
- }
- getOrCreateDataProducer(name, createDataProducer) {
- const existingProducer = this.dataProducers.get(name);
- if (existingProducer) {
- return existingProducer;
- }
- const newProducer = createDataProducer(this);
- this.dataProducers.set(name, newProducer);
- return newProducer;
- }
- removeDataProducer(name) {
- this.dataProducers.delete(name);
- }
-}
-exports.Subchannel = Subchannel;
-//# sourceMappingURL=subchannel.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/subchannel.js.map b/node_modules/@grpc/grpc-js/build/src/subchannel.js.map
deleted file mode 100644
index f3feb8b..0000000
--- a/node_modules/@grpc/grpc-js/build/src/subchannel.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"subchannel.js","sourceRoot":"","sources":["../../src/subchannel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAKH,6DAAyD;AACzD,uDAAmE;AACnE,qCAAqC;AACrC,2CAAmD;AACnD,6CAAoD;AACpD,6DAG8B;AAC9B,yCAWoB;AAUpB,2EAAsE;AAGtE,MAAM,WAAW,GAAG,YAAY,CAAC;AAEjC;;qBAEqB;AACrB,MAAM,qBAAqB,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;AAOzC,MAAa,UAAU;IAsDrB;;;;;;;;;OASG;IACH,YACU,aAAsB,EACtB,iBAAoC,EACpC,OAAuB,EAC/B,WAA+B,EACvB,SAA8B;;QAJ9B,kBAAa,GAAb,aAAa,CAAS;QACtB,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,YAAO,GAAP,OAAO,CAAgB;QAEvB,cAAS,GAAT,SAAS,CAAqB;QApExC;;;WAGG;QACK,sBAAiB,GAAsB,sCAAiB,CAAC,IAAI,CAAC;QACtE;;WAEG;QACK,cAAS,GAAqB,IAAI,CAAC;QAC3C;;;WAGG;QACK,uBAAkB,GAAG,KAAK,CAAC;QACnC;;;;WAIG;QACK,mBAAc,GAAmC,IAAI,GAAG,EAAE,CAAC;QAKnE;;WAEG;QACK,aAAQ,GAAG,CAAC,CAAC;QAOrB,gBAAgB;QAC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AI,CAAC,aAAa,GAAG,gBAAgB,CAAC;QACxC,CAAC;IACH,CAAC;IACD,kBAAkB;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC,kBAAkB,EAAE,CAAC;IACnD,CAAC;IAED,UAAU;QACR,IAAI,CAAC,IAAI,CAAC,iBAAiB,EAAE,CAAC;YAC5B,IAAI,CAAC,iBAAiB,GAAG,IAAI,mDAAuB,CAAC,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QAC/F,CAAC;QACD,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAED,cAAc,CAAC,WAAwB;QACrC,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACrC,CAAC;IAED,uBAAuB,CAAC,IAAY,EAAE,kBAA4D;QAChG,MAAM,gBAAgB,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QACtD,IAAI,gBAAgB,EAAC,CAAC;YACpB,OAAO,gBAAgB,CAAC;QAC1B,CAAC;QACD,MAAM,WAAW,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;QAC1C,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,kBAAkB,CAAC,IAAY;QAC7B,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAClC,CAAC;CACF;AA7eD,gCA6eC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/tls-helpers.d.ts b/node_modules/@grpc/grpc-js/build/src/tls-helpers.d.ts
deleted file mode 100644
index c1e2ff2..0000000
--- a/node_modules/@grpc/grpc-js/build/src/tls-helpers.d.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-export declare const CIPHER_SUITES: string | undefined;
-export declare function getDefaultRootsData(): Buffer | null;
diff --git a/node_modules/@grpc/grpc-js/build/src/tls-helpers.js b/node_modules/@grpc/grpc-js/build/src/tls-helpers.js
deleted file mode 100644
index 14c521d..0000000
--- a/node_modules/@grpc/grpc-js/build/src/tls-helpers.js
+++ /dev/null
@@ -1,34 +0,0 @@
-"use strict";
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.CIPHER_SUITES = void 0;
-exports.getDefaultRootsData = getDefaultRootsData;
-const fs = require("fs");
-exports.CIPHER_SUITES = process.env.GRPC_SSL_CIPHER_SUITES;
-const DEFAULT_ROOTS_FILE_PATH = process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH;
-let defaultRootsData = null;
-function getDefaultRootsData() {
- if (DEFAULT_ROOTS_FILE_PATH) {
- if (defaultRootsData === null) {
- defaultRootsData = fs.readFileSync(DEFAULT_ROOTS_FILE_PATH);
- }
- return defaultRootsData;
- }
- return null;
-}
-//# sourceMappingURL=tls-helpers.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/tls-helpers.js.map b/node_modules/@grpc/grpc-js/build/src/tls-helpers.js.map
deleted file mode 100644
index 07294da..0000000
--- a/node_modules/@grpc/grpc-js/build/src/tls-helpers.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"tls-helpers.js","sourceRoot":"","sources":["../../src/tls-helpers.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAWH,kDAQC;AAjBD,yBAAyB;AAEZ,QAAA,aAAa,GACxB,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAErC,MAAM,uBAAuB,GAAG,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;AAE7E,IAAI,gBAAgB,GAAkB,IAAI,CAAC;AAE3C,SAAgB,mBAAmB;IACjC,IAAI,uBAAuB,EAAE,CAAC;QAC5B,IAAI,gBAAgB,KAAK,IAAI,EAAE,CAAC;YAC9B,gBAAgB,GAAG,EAAE,CAAC,YAAY,CAAC,uBAAuB,CAAC,CAAC;QAC9D,CAAC;QACD,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/transport.d.ts b/node_modules/@grpc/grpc-js/build/src/transport.d.ts
deleted file mode 100644
index 179c2fe..0000000
--- a/node_modules/@grpc/grpc-js/build/src/transport.d.ts
+++ /dev/null
@@ -1,135 +0,0 @@
-import * as http2 from 'http2';
-import { PartialStatusObject } from './call-interface';
-import { SecureConnector } from './channel-credentials';
-import { ChannelOptions } from './channel-options';
-import { SocketRef } from './channelz';
-import { SubchannelAddress } from './subchannel-address';
-import { GrpcUri } from './uri-parser';
-import { Http2SubchannelCall, SubchannelCall, SubchannelCallInterceptingListener } from './subchannel-call';
-import { Metadata } from './metadata';
-import { AuthContext } from './auth-context';
-export interface CallEventTracker {
- addMessageSent(): void;
- addMessageReceived(): void;
- onCallEnd(status: PartialStatusObject): void;
- onStreamEnd(success: boolean): void;
-}
-export interface TransportDisconnectListener {
- (tooManyPings: boolean): void;
-}
-export interface Transport {
- getChannelzRef(): SocketRef;
- getPeerName(): string;
- getOptions(): ChannelOptions;
- getAuthContext(): AuthContext;
- createCall(metadata: Metadata, host: string, method: string, listener: SubchannelCallInterceptingListener, subchannelCallStatsTracker: Partial): SubchannelCall;
- addDisconnectListener(listener: TransportDisconnectListener): void;
- shutdown(): void;
-}
-declare class Http2Transport implements Transport {
- private session;
- private options;
- /**
- * Name of the remote server, if it is not the same as the subchannel
- * address, i.e. if connecting through an HTTP CONNECT proxy.
- */
- private remoteName;
- /**
- * The amount of time in between sending pings
- */
- private readonly keepaliveTimeMs;
- /**
- * The amount of time to wait for an acknowledgement after sending a ping
- */
- private readonly keepaliveTimeoutMs;
- /**
- * Indicates whether keepalive pings should be sent without any active calls
- */
- private readonly keepaliveWithoutCalls;
- /**
- * Timer reference indicating when to send the next ping or when the most recent ping will be considered lost.
- */
- private keepaliveTimer;
- /**
- * Indicates that the keepalive timer ran out while there were no active
- * calls, and a ping should be sent the next time a call starts.
- */
- private pendingSendKeepalivePing;
- private userAgent;
- private activeCalls;
- private subchannelAddressString;
- private disconnectListeners;
- private disconnectHandled;
- private authContext;
- private channelzRef;
- private readonly channelzEnabled;
- private streamTracker;
- private keepalivesSent;
- private messagesSent;
- private messagesReceived;
- private lastMessageSentTimestamp;
- private lastMessageReceivedTimestamp;
- constructor(session: http2.ClientHttp2Session, subchannelAddress: SubchannelAddress, options: ChannelOptions,
- /**
- * Name of the remote server, if it is not the same as the subchannel
- * address, i.e. if connecting through an HTTP CONNECT proxy.
- */
- remoteName: string | null);
- private getChannelzInfo;
- private trace;
- private keepaliveTrace;
- private flowControlTrace;
- private internalsTrace;
- /**
- * Indicate to the owner of this object that this transport should no longer
- * be used. That happens if the connection drops, or if the server sends a
- * GOAWAY.
- * @param tooManyPings If true, this was triggered by a GOAWAY with data
- * indicating that the session was closed becaues the client sent too many
- * pings.
- * @returns
- */
- private reportDisconnectToOwner;
- /**
- * Handle connection drops, but not GOAWAYs.
- */
- private handleDisconnect;
- addDisconnectListener(listener: TransportDisconnectListener): void;
- private canSendPing;
- private maybeSendPing;
- /**
- * Starts the keepalive ping timer if appropriate. If the timer already ran
- * out while there were no active requests, instead send a ping immediately.
- * If the ping timer is already running or a ping is currently in flight,
- * instead do nothing and wait for them to resolve.
- */
- private maybeStartKeepalivePingTimer;
- /**
- * Clears whichever keepalive timeout is currently active, if any.
- */
- private clearKeepaliveTimeout;
- private removeActiveCall;
- private addActiveCall;
- createCall(metadata: Metadata, host: string, method: string, listener: SubchannelCallInterceptingListener, subchannelCallStatsTracker: Partial): Http2SubchannelCall;
- getChannelzRef(): SocketRef;
- getPeerName(): string;
- getOptions(): ChannelOptions;
- getAuthContext(): AuthContext;
- shutdown(): void;
-}
-export interface SubchannelConnector {
- connect(address: SubchannelAddress, secureConnector: SecureConnector, options: ChannelOptions): Promise;
- shutdown(): void;
-}
-export declare class Http2SubchannelConnector implements SubchannelConnector {
- private channelTarget;
- private session;
- private isShutdown;
- constructor(channelTarget: GrpcUri);
- private trace;
- private createSession;
- private tcpConnect;
- connect(address: SubchannelAddress, secureConnector: SecureConnector, options: ChannelOptions): Promise;
- shutdown(): void;
-}
-export {};
diff --git a/node_modules/@grpc/grpc-js/build/src/transport.js b/node_modules/@grpc/grpc-js/build/src/transport.js
deleted file mode 100644
index 9cd187a..0000000
--- a/node_modules/@grpc/grpc-js/build/src/transport.js
+++ /dev/null
@@ -1,640 +0,0 @@
-"use strict";
-/*
- * Copyright 2023 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.Http2SubchannelConnector = void 0;
-const http2 = require("http2");
-const tls_1 = require("tls");
-const channelz_1 = require("./channelz");
-const constants_1 = require("./constants");
-const http_proxy_1 = require("./http_proxy");
-const logging = require("./logging");
-const resolver_1 = require("./resolver");
-const subchannel_address_1 = require("./subchannel-address");
-const uri_parser_1 = require("./uri-parser");
-const net = require("net");
-const subchannel_call_1 = require("./subchannel-call");
-const call_number_1 = require("./call-number");
-const TRACER_NAME = 'transport';
-const FLOW_CONTROL_TRACER_NAME = 'transport_flowctrl';
-const clientVersion = require('../../package.json').version;
-const { HTTP2_HEADER_AUTHORITY, HTTP2_HEADER_CONTENT_TYPE, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_TE, HTTP2_HEADER_USER_AGENT, } = http2.constants;
-const KEEPALIVE_TIMEOUT_MS = 20000;
-const tooManyPingsData = Buffer.from('too_many_pings', 'ascii');
-class Http2Transport {
- constructor(session, subchannelAddress, options,
- /**
- * Name of the remote server, if it is not the same as the subchannel
- * address, i.e. if connecting through an HTTP CONNECT proxy.
- */
- remoteName) {
- this.session = session;
- this.options = options;
- this.remoteName = remoteName;
- /**
- * Timer reference indicating when to send the next ping or when the most recent ping will be considered lost.
- */
- this.keepaliveTimer = null;
- /**
- * Indicates that the keepalive timer ran out while there were no active
- * calls, and a ping should be sent the next time a call starts.
- */
- this.pendingSendKeepalivePing = false;
- this.activeCalls = new Set();
- this.disconnectListeners = [];
- this.disconnectHandled = false;
- this.channelzEnabled = true;
- this.keepalivesSent = 0;
- this.messagesSent = 0;
- this.messagesReceived = 0;
- this.lastMessageSentTimestamp = null;
- this.lastMessageReceivedTimestamp = null;
- /* Populate subchannelAddressString and channelzRef before doing anything
- * else, because they are used in the trace methods. */
- this.subchannelAddressString = (0, subchannel_address_1.subchannelAddressToString)(subchannelAddress);
- if (options['grpc.enable_channelz'] === 0) {
- this.channelzEnabled = false;
- this.streamTracker = new channelz_1.ChannelzCallTrackerStub();
- }
- else {
- this.streamTracker = new channelz_1.ChannelzCallTracker();
- }
- this.channelzRef = (0, channelz_1.registerChannelzSocket)(this.subchannelAddressString, () => this.getChannelzInfo(), this.channelzEnabled);
- // Build user-agent string.
- this.userAgent = [
- options['grpc.primary_user_agent'],
- `grpc-node-js/${clientVersion}`,
- options['grpc.secondary_user_agent'],
- ]
- .filter(e => e)
- .join(' '); // remove falsey values first
- if ('grpc.keepalive_time_ms' in options) {
- this.keepaliveTimeMs = options['grpc.keepalive_time_ms'];
- }
- else {
- this.keepaliveTimeMs = -1;
- }
- if ('grpc.keepalive_timeout_ms' in options) {
- this.keepaliveTimeoutMs = options['grpc.keepalive_timeout_ms'];
- }
- else {
- this.keepaliveTimeoutMs = KEEPALIVE_TIMEOUT_MS;
- }
- if ('grpc.keepalive_permit_without_calls' in options) {
- this.keepaliveWithoutCalls =
- options['grpc.keepalive_permit_without_calls'] === 1;
- }
- else {
- this.keepaliveWithoutCalls = false;
- }
- session.once('close', () => {
- this.trace('session closed');
- this.handleDisconnect();
- });
- session.once('goaway', (errorCode, lastStreamID, opaqueData) => {
- let tooManyPings = false;
- /* See the last paragraph of
- * https://github.com/grpc/proposal/blob/master/A8-client-side-keepalive.md#basic-keepalive */
- if (errorCode === http2.constants.NGHTTP2_ENHANCE_YOUR_CALM &&
- opaqueData &&
- opaqueData.equals(tooManyPingsData)) {
- tooManyPings = true;
- }
- this.trace('connection closed by GOAWAY with code ' +
- errorCode +
- ' and data ' +
- (opaqueData === null || opaqueData === void 0 ? void 0 : opaqueData.toString()));
- this.reportDisconnectToOwner(tooManyPings);
- });
- session.once('error', error => {
- this.trace('connection closed with error ' + error.message);
- this.handleDisconnect();
- });
- session.socket.once('close', (hadError) => {
- this.trace('connection closed. hadError=' + hadError);
- this.handleDisconnect();
- });
- if (logging.isTracerEnabled(TRACER_NAME)) {
- session.on('remoteSettings', (settings) => {
- this.trace('new settings received' +
- (this.session !== session ? ' on the old connection' : '') +
- ': ' +
- JSON.stringify(settings));
- });
- session.on('localSettings', (settings) => {
- this.trace('local settings acknowledged by remote' +
- (this.session !== session ? ' on the old connection' : '') +
- ': ' +
- JSON.stringify(settings));
- });
- }
- /* Start the keepalive timer last, because this can trigger trace logs,
- * which should only happen after everything else is set up. */
- if (this.keepaliveWithoutCalls) {
- this.maybeStartKeepalivePingTimer();
- }
- if (session.socket instanceof tls_1.TLSSocket) {
- this.authContext = {
- transportSecurityType: 'ssl',
- sslPeerCertificate: session.socket.getPeerCertificate()
- };
- }
- else {
- this.authContext = {};
- }
- }
- getChannelzInfo() {
- var _a, _b, _c;
- const sessionSocket = this.session.socket;
- const remoteAddress = sessionSocket.remoteAddress
- ? (0, subchannel_address_1.stringToSubchannelAddress)(sessionSocket.remoteAddress, sessionSocket.remotePort)
- : null;
- const localAddress = sessionSocket.localAddress
- ? (0, subchannel_address_1.stringToSubchannelAddress)(sessionSocket.localAddress, sessionSocket.localPort)
- : null;
- let tlsInfo;
- if (this.session.encrypted) {
- const tlsSocket = sessionSocket;
- const cipherInfo = tlsSocket.getCipher();
- const certificate = tlsSocket.getCertificate();
- const peerCertificate = tlsSocket.getPeerCertificate();
- tlsInfo = {
- cipherSuiteStandardName: (_a = cipherInfo.standardName) !== null && _a !== void 0 ? _a : null,
- cipherSuiteOtherName: cipherInfo.standardName ? null : cipherInfo.name,
- localCertificate: certificate && 'raw' in certificate ? certificate.raw : null,
- remoteCertificate: peerCertificate && 'raw' in peerCertificate
- ? peerCertificate.raw
- : null,
- };
- }
- else {
- tlsInfo = null;
- }
- const socketInfo = {
- remoteAddress: remoteAddress,
- localAddress: localAddress,
- security: tlsInfo,
- remoteName: this.remoteName,
- streamsStarted: this.streamTracker.callsStarted,
- streamsSucceeded: this.streamTracker.callsSucceeded,
- streamsFailed: this.streamTracker.callsFailed,
- messagesSent: this.messagesSent,
- messagesReceived: this.messagesReceived,
- keepAlivesSent: this.keepalivesSent,
- lastLocalStreamCreatedTimestamp: this.streamTracker.lastCallStartedTimestamp,
- lastRemoteStreamCreatedTimestamp: null,
- lastMessageSentTimestamp: this.lastMessageSentTimestamp,
- lastMessageReceivedTimestamp: this.lastMessageReceivedTimestamp,
- localFlowControlWindow: (_b = this.session.state.localWindowSize) !== null && _b !== void 0 ? _b : null,
- remoteFlowControlWindow: (_c = this.session.state.remoteWindowSize) !== null && _c !== void 0 ? _c : null,
- };
- return socketInfo;
- }
- trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, '(' +
- this.channelzRef.id +
- ') ' +
- this.subchannelAddressString +
- ' ' +
- text);
- }
- keepaliveTrace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, 'keepalive', '(' +
- this.channelzRef.id +
- ') ' +
- this.subchannelAddressString +
- ' ' +
- text);
- }
- flowControlTrace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, FLOW_CONTROL_TRACER_NAME, '(' +
- this.channelzRef.id +
- ') ' +
- this.subchannelAddressString +
- ' ' +
- text);
- }
- internalsTrace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, 'transport_internals', '(' +
- this.channelzRef.id +
- ') ' +
- this.subchannelAddressString +
- ' ' +
- text);
- }
- /**
- * Indicate to the owner of this object that this transport should no longer
- * be used. That happens if the connection drops, or if the server sends a
- * GOAWAY.
- * @param tooManyPings If true, this was triggered by a GOAWAY with data
- * indicating that the session was closed becaues the client sent too many
- * pings.
- * @returns
- */
- reportDisconnectToOwner(tooManyPings) {
- if (this.disconnectHandled) {
- return;
- }
- this.disconnectHandled = true;
- this.disconnectListeners.forEach(listener => listener(tooManyPings));
- }
- /**
- * Handle connection drops, but not GOAWAYs.
- */
- handleDisconnect() {
- this.clearKeepaliveTimeout();
- this.reportDisconnectToOwner(false);
- for (const call of this.activeCalls) {
- call.onDisconnect();
- }
- // Wait an event loop cycle before destroying the connection
- setImmediate(() => {
- this.session.destroy();
- });
- }
- addDisconnectListener(listener) {
- this.disconnectListeners.push(listener);
- }
- canSendPing() {
- return (!this.session.destroyed &&
- this.keepaliveTimeMs > 0 &&
- (this.keepaliveWithoutCalls || this.activeCalls.size > 0));
- }
- maybeSendPing() {
- var _a, _b;
- if (!this.canSendPing()) {
- this.pendingSendKeepalivePing = true;
- return;
- }
- if (this.keepaliveTimer) {
- console.error('keepaliveTimeout is not null');
- return;
- }
- if (this.channelzEnabled) {
- this.keepalivesSent += 1;
- }
- this.keepaliveTrace('Sending ping with timeout ' + this.keepaliveTimeoutMs + 'ms');
- this.keepaliveTimer = setTimeout(() => {
- this.keepaliveTimer = null;
- this.keepaliveTrace('Ping timeout passed without response');
- this.handleDisconnect();
- }, this.keepaliveTimeoutMs);
- (_b = (_a = this.keepaliveTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- let pingSendError = '';
- try {
- const pingSentSuccessfully = this.session.ping((err, duration, payload) => {
- this.clearKeepaliveTimeout();
- if (err) {
- this.keepaliveTrace('Ping failed with error ' + err.message);
- this.handleDisconnect();
- }
- else {
- this.keepaliveTrace('Received ping response');
- this.maybeStartKeepalivePingTimer();
- }
- });
- if (!pingSentSuccessfully) {
- pingSendError = 'Ping returned false';
- }
- }
- catch (e) {
- // grpc/grpc-node#2139
- pingSendError = (e instanceof Error ? e.message : '') || 'Unknown error';
- }
- if (pingSendError) {
- this.keepaliveTrace('Ping send failed: ' + pingSendError);
- this.handleDisconnect();
- }
- }
- /**
- * Starts the keepalive ping timer if appropriate. If the timer already ran
- * out while there were no active requests, instead send a ping immediately.
- * If the ping timer is already running or a ping is currently in flight,
- * instead do nothing and wait for them to resolve.
- */
- maybeStartKeepalivePingTimer() {
- var _a, _b;
- if (!this.canSendPing()) {
- return;
- }
- if (this.pendingSendKeepalivePing) {
- this.pendingSendKeepalivePing = false;
- this.maybeSendPing();
- }
- else if (!this.keepaliveTimer) {
- this.keepaliveTrace('Starting keepalive timer for ' + this.keepaliveTimeMs + 'ms');
- this.keepaliveTimer = setTimeout(() => {
- this.keepaliveTimer = null;
- this.maybeSendPing();
- }, this.keepaliveTimeMs);
- (_b = (_a = this.keepaliveTimer).unref) === null || _b === void 0 ? void 0 : _b.call(_a);
- }
- /* Otherwise, there is already either a keepalive timer or a ping pending,
- * wait for those to resolve. */
- }
- /**
- * Clears whichever keepalive timeout is currently active, if any.
- */
- clearKeepaliveTimeout() {
- if (this.keepaliveTimer) {
- clearTimeout(this.keepaliveTimer);
- this.keepaliveTimer = null;
- }
- }
- removeActiveCall(call) {
- this.activeCalls.delete(call);
- if (this.activeCalls.size === 0) {
- this.session.unref();
- }
- }
- addActiveCall(call) {
- this.activeCalls.add(call);
- if (this.activeCalls.size === 1) {
- this.session.ref();
- if (!this.keepaliveWithoutCalls) {
- this.maybeStartKeepalivePingTimer();
- }
- }
- }
- createCall(metadata, host, method, listener, subchannelCallStatsTracker) {
- const headers = metadata.toHttp2Headers();
- headers[HTTP2_HEADER_AUTHORITY] = host;
- headers[HTTP2_HEADER_USER_AGENT] = this.userAgent;
- headers[HTTP2_HEADER_CONTENT_TYPE] = 'application/grpc';
- headers[HTTP2_HEADER_METHOD] = 'POST';
- headers[HTTP2_HEADER_PATH] = method;
- headers[HTTP2_HEADER_TE] = 'trailers';
- let http2Stream;
- /* In theory, if an error is thrown by session.request because session has
- * become unusable (e.g. because it has received a goaway), this subchannel
- * should soon see the corresponding close or goaway event anyway and leave
- * READY. But we have seen reports that this does not happen
- * (https://github.com/googleapis/nodejs-firestore/issues/1023#issuecomment-653204096)
- * so for defense in depth, we just discard the session when we see an
- * error here.
- */
- try {
- http2Stream = this.session.request(headers);
- }
- catch (e) {
- this.handleDisconnect();
- throw e;
- }
- this.flowControlTrace('local window size: ' +
- this.session.state.localWindowSize +
- ' remote window size: ' +
- this.session.state.remoteWindowSize);
- this.internalsTrace('session.closed=' +
- this.session.closed +
- ' session.destroyed=' +
- this.session.destroyed +
- ' session.socket.destroyed=' +
- this.session.socket.destroyed);
- let eventTracker;
- // eslint-disable-next-line prefer-const
- let call;
- if (this.channelzEnabled) {
- this.streamTracker.addCallStarted();
- eventTracker = {
- addMessageSent: () => {
- var _a;
- this.messagesSent += 1;
- this.lastMessageSentTimestamp = new Date();
- (_a = subchannelCallStatsTracker.addMessageSent) === null || _a === void 0 ? void 0 : _a.call(subchannelCallStatsTracker);
- },
- addMessageReceived: () => {
- var _a;
- this.messagesReceived += 1;
- this.lastMessageReceivedTimestamp = new Date();
- (_a = subchannelCallStatsTracker.addMessageReceived) === null || _a === void 0 ? void 0 : _a.call(subchannelCallStatsTracker);
- },
- onCallEnd: status => {
- var _a;
- (_a = subchannelCallStatsTracker.onCallEnd) === null || _a === void 0 ? void 0 : _a.call(subchannelCallStatsTracker, status);
- this.removeActiveCall(call);
- },
- onStreamEnd: success => {
- var _a;
- if (success) {
- this.streamTracker.addCallSucceeded();
- }
- else {
- this.streamTracker.addCallFailed();
- }
- (_a = subchannelCallStatsTracker.onStreamEnd) === null || _a === void 0 ? void 0 : _a.call(subchannelCallStatsTracker, success);
- },
- };
- }
- else {
- eventTracker = {
- addMessageSent: () => {
- var _a;
- (_a = subchannelCallStatsTracker.addMessageSent) === null || _a === void 0 ? void 0 : _a.call(subchannelCallStatsTracker);
- },
- addMessageReceived: () => {
- var _a;
- (_a = subchannelCallStatsTracker.addMessageReceived) === null || _a === void 0 ? void 0 : _a.call(subchannelCallStatsTracker);
- },
- onCallEnd: status => {
- var _a;
- (_a = subchannelCallStatsTracker.onCallEnd) === null || _a === void 0 ? void 0 : _a.call(subchannelCallStatsTracker, status);
- this.removeActiveCall(call);
- },
- onStreamEnd: success => {
- var _a;
- (_a = subchannelCallStatsTracker.onStreamEnd) === null || _a === void 0 ? void 0 : _a.call(subchannelCallStatsTracker, success);
- },
- };
- }
- call = new subchannel_call_1.Http2SubchannelCall(http2Stream, eventTracker, listener, this, (0, call_number_1.getNextCallNumber)());
- this.addActiveCall(call);
- return call;
- }
- getChannelzRef() {
- return this.channelzRef;
- }
- getPeerName() {
- return this.subchannelAddressString;
- }
- getOptions() {
- return this.options;
- }
- getAuthContext() {
- return this.authContext;
- }
- shutdown() {
- this.session.close();
- (0, channelz_1.unregisterChannelzRef)(this.channelzRef);
- }
-}
-class Http2SubchannelConnector {
- constructor(channelTarget) {
- this.channelTarget = channelTarget;
- this.session = null;
- this.isShutdown = false;
- }
- trace(text) {
- logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, (0, uri_parser_1.uriToString)(this.channelTarget) + ' ' + text);
- }
- createSession(secureConnectResult, address, options) {
- if (this.isShutdown) {
- return Promise.reject();
- }
- if (secureConnectResult.socket.closed) {
- return Promise.reject('Connection closed before starting HTTP/2 handshake');
- }
- return new Promise((resolve, reject) => {
- var _a, _b, _c, _d, _e, _f, _g, _h;
- let remoteName = null;
- let realTarget = this.channelTarget;
- if ('grpc.http_connect_target' in options) {
- const parsedTarget = (0, uri_parser_1.parseUri)(options['grpc.http_connect_target']);
- if (parsedTarget) {
- realTarget = parsedTarget;
- remoteName = (0, uri_parser_1.uriToString)(parsedTarget);
- }
- }
- const scheme = secureConnectResult.secure ? 'https' : 'http';
- const targetPath = (0, resolver_1.getDefaultAuthority)(realTarget);
- const closeHandler = () => {
- var _a;
- (_a = this.session) === null || _a === void 0 ? void 0 : _a.destroy();
- this.session = null;
- // Leave time for error event to happen before rejecting
- setImmediate(() => {
- if (!reportedError) {
- reportedError = true;
- reject(`${errorMessage.trim()} (${new Date().toISOString()})`);
- }
- });
- };
- const errorHandler = (error) => {
- var _a;
- (_a = this.session) === null || _a === void 0 ? void 0 : _a.destroy();
- errorMessage = error.message;
- this.trace('connection failed with error ' + errorMessage);
- if (!reportedError) {
- reportedError = true;
- reject(`${errorMessage} (${new Date().toISOString()})`);
- }
- };
- const sessionOptions = {
- createConnection: (authority, option) => {
- return secureConnectResult.socket;
- },
- settings: {
- initialWindowSize: (_d = (_a = options['grpc-node.flow_control_window']) !== null && _a !== void 0 ? _a : (_c = (_b = http2.getDefaultSettings) === null || _b === void 0 ? void 0 : _b.call(http2)) === null || _c === void 0 ? void 0 : _c.initialWindowSize) !== null && _d !== void 0 ? _d : 65535,
- },
- maxSendHeaderBlockLength: Number.MAX_SAFE_INTEGER,
- /* By default, set a very large max session memory limit, to effectively
- * disable enforcement of the limit. Some testing indicates that Node's
- * behavior degrades badly when this limit is reached, so we solve that
- * by disabling the check entirely. */
- maxSessionMemory: (_e = options['grpc-node.max_session_memory']) !== null && _e !== void 0 ? _e : Number.MAX_SAFE_INTEGER
- };
- const session = http2.connect(`${scheme}://${targetPath}`, sessionOptions);
- // Prepare window size configuration for remoteSettings handler
- const defaultWin = (_h = (_g = (_f = http2.getDefaultSettings) === null || _f === void 0 ? void 0 : _f.call(http2)) === null || _g === void 0 ? void 0 : _g.initialWindowSize) !== null && _h !== void 0 ? _h : 65535; // 65 535 B
- const connWin = options['grpc-node.flow_control_window'];
- this.session = session;
- let errorMessage = 'Failed to connect';
- let reportedError = false;
- session.unref();
- session.once('remoteSettings', () => {
- var _a;
- // Send WINDOW_UPDATE now to avoid 65 KB start-window stall.
- if (connWin && connWin > defaultWin) {
- try {
- // Node ≥ 14.18
- session.setLocalWindowSize(connWin);
- }
- catch (_b) {
- // Older Node: bump by the delta
- const delta = connWin - ((_a = session.state.localWindowSize) !== null && _a !== void 0 ? _a : defaultWin);
- if (delta > 0)
- session.incrementWindowSize(delta);
- }
- }
- session.removeAllListeners();
- secureConnectResult.socket.removeListener('close', closeHandler);
- secureConnectResult.socket.removeListener('error', errorHandler);
- resolve(new Http2Transport(session, address, options, remoteName));
- this.session = null;
- });
- session.once('close', closeHandler);
- session.once('error', errorHandler);
- secureConnectResult.socket.once('close', closeHandler);
- secureConnectResult.socket.once('error', errorHandler);
- });
- }
- tcpConnect(address, options) {
- return (0, http_proxy_1.getProxiedConnection)(address, options).then(proxiedSocket => {
- if (proxiedSocket) {
- return proxiedSocket;
- }
- else {
- return new Promise((resolve, reject) => {
- const closeCallback = () => {
- reject(new Error('Socket closed'));
- };
- const errorCallback = (error) => {
- reject(error);
- };
- const socket = net.connect(address, () => {
- socket.removeListener('close', closeCallback);
- socket.removeListener('error', errorCallback);
- resolve(socket);
- });
- socket.once('close', closeCallback);
- socket.once('error', errorCallback);
- });
- }
- });
- }
- async connect(address, secureConnector, options) {
- if (this.isShutdown) {
- return Promise.reject();
- }
- let tcpConnection = null;
- let secureConnectResult = null;
- const addressString = (0, subchannel_address_1.subchannelAddressToString)(address);
- try {
- this.trace(addressString + ' Waiting for secureConnector to be ready');
- await secureConnector.waitForReady();
- this.trace(addressString + ' secureConnector is ready');
- tcpConnection = await this.tcpConnect(address, options);
- tcpConnection.setNoDelay();
- this.trace(addressString + ' Established TCP connection');
- secureConnectResult = await secureConnector.connect(tcpConnection);
- this.trace(addressString + ' Established secure connection');
- return this.createSession(secureConnectResult, address, options);
- }
- catch (e) {
- tcpConnection === null || tcpConnection === void 0 ? void 0 : tcpConnection.destroy();
- secureConnectResult === null || secureConnectResult === void 0 ? void 0 : secureConnectResult.socket.destroy();
- throw e;
- }
- }
- shutdown() {
- var _a;
- this.isShutdown = true;
- (_a = this.session) === null || _a === void 0 ? void 0 : _a.close();
- this.session = null;
- }
-}
-exports.Http2SubchannelConnector = Http2SubchannelConnector;
-//# sourceMappingURL=transport.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/transport.js.map b/node_modules/@grpc/grpc-js/build/src/transport.js.map
deleted file mode 100644
index 06e7fcd..0000000
--- a/node_modules/@grpc/grpc-js/build/src/transport.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"transport.js","sourceRoot":"","sources":["../../src/transport.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAEH,+BAA+B;AAC/B,6BAGa;AAIb,yCAQoB;AACpB,2CAA2C;AAC3C,6CAAoD;AACpD,qCAAqC;AACrC,yCAAiD;AACjD,6DAI8B;AAC9B,6CAA8D;AAC9D,2BAA2B;AAC3B,uDAI2B;AAE3B,+CAAkD;AAIlD,MAAM,WAAW,GAAG,WAAW,CAAC;AAChC,MAAM,wBAAwB,GAAG,oBAAoB,CAAC;AAEtD,MAAM,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC,OAAO,CAAC;AAE5D,MAAM,EACJ,sBAAsB,EACtB,yBAAyB,EACzB,mBAAmB,EACnB,iBAAiB,EACjB,eAAe,EACf,uBAAuB,GACxB,GAAG,KAAK,CAAC,SAAS,CAAC;AAEpB,MAAM,oBAAoB,GAAG,KAAK,CAAC;AA6BnC,MAAM,gBAAgB,GAAW,MAAM,CAAC,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,CAAC;AAExE,MAAM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,6BAA6B,CAAC,CAAC;YAC1D,mBAAmB,GAAG,MAAM,eAAe,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;YACnE,IAAI,CAAC,KAAK,CAAC,aAAa,GAAG,gCAAgC,CAAC,CAAC;YAC7D,OAAO,IAAI,CAAC,aAAa,CAAC,mBAAmB,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QACnE,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,OAAO,EAAE,CAAC;YACzB,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAE,MAAM,CAAC,OAAO,EAAE,CAAC;YACtC,MAAM,CAAC,CAAC;QACV,CAAC;IACH,CAAC;IAED,QAAQ;;QACN,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QACvB,MAAA,IAAI,CAAC,OAAO,0CAAE,KAAK,EAAE,CAAC;QACtB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;IACtB,CAAC;CACF;AAxKD,4DAwKC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/uri-parser.d.ts b/node_modules/@grpc/grpc-js/build/src/uri-parser.d.ts
deleted file mode 100644
index 26db9c6..0000000
--- a/node_modules/@grpc/grpc-js/build/src/uri-parser.d.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-export interface GrpcUri {
- scheme?: string;
- authority?: string;
- path: string;
-}
-export declare function parseUri(uriString: string): GrpcUri | null;
-export interface HostPort {
- host: string;
- port?: number;
-}
-export declare function splitHostPort(path: string): HostPort | null;
-export declare function combineHostPort(hostPort: HostPort): string;
-export declare function uriToString(uri: GrpcUri): string;
diff --git a/node_modules/@grpc/grpc-js/build/src/uri-parser.js b/node_modules/@grpc/grpc-js/build/src/uri-parser.js
deleted file mode 100644
index 5b4e6d5..0000000
--- a/node_modules/@grpc/grpc-js/build/src/uri-parser.js
+++ /dev/null
@@ -1,125 +0,0 @@
-"use strict";
-/*
- * Copyright 2020 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-Object.defineProperty(exports, "__esModule", { value: true });
-exports.parseUri = parseUri;
-exports.splitHostPort = splitHostPort;
-exports.combineHostPort = combineHostPort;
-exports.uriToString = uriToString;
-/*
- * The groups correspond to URI parts as follows:
- * 1. scheme
- * 2. authority
- * 3. path
- */
-const URI_REGEX = /^(?:([A-Za-z0-9+.-]+):)?(?:\/\/([^/]*)\/)?(.+)$/;
-function parseUri(uriString) {
- const parsedUri = URI_REGEX.exec(uriString);
- if (parsedUri === null) {
- return null;
- }
- return {
- scheme: parsedUri[1],
- authority: parsedUri[2],
- path: parsedUri[3],
- };
-}
-const NUMBER_REGEX = /^\d+$/;
-function splitHostPort(path) {
- if (path.startsWith('[')) {
- const hostEnd = path.indexOf(']');
- if (hostEnd === -1) {
- return null;
- }
- const host = path.substring(1, hostEnd);
- /* Only an IPv6 address should be in bracketed notation, and an IPv6
- * address should have at least one colon */
- if (host.indexOf(':') === -1) {
- return null;
- }
- if (path.length > hostEnd + 1) {
- if (path[hostEnd + 1] === ':') {
- const portString = path.substring(hostEnd + 2);
- if (NUMBER_REGEX.test(portString)) {
- return {
- host: host,
- port: +portString,
- };
- }
- else {
- return null;
- }
- }
- else {
- return null;
- }
- }
- else {
- return {
- host,
- };
- }
- }
- else {
- const splitPath = path.split(':');
- /* Exactly one colon means that this is host:port. Zero colons means that
- * there is no port. And multiple colons means that this is a bare IPv6
- * address with no port */
- if (splitPath.length === 2) {
- if (NUMBER_REGEX.test(splitPath[1])) {
- return {
- host: splitPath[0],
- port: +splitPath[1],
- };
- }
- else {
- return null;
- }
- }
- else {
- return {
- host: path,
- };
- }
- }
-}
-function combineHostPort(hostPort) {
- if (hostPort.port === undefined) {
- return hostPort.host;
- }
- else {
- // Only an IPv6 host should include a colon
- if (hostPort.host.includes(':')) {
- return `[${hostPort.host}]:${hostPort.port}`;
- }
- else {
- return `${hostPort.host}:${hostPort.port}`;
- }
- }
-}
-function uriToString(uri) {
- let result = '';
- if (uri.scheme !== undefined) {
- result += uri.scheme + ':';
- }
- if (uri.authority !== undefined) {
- result += '//' + uri.authority + '/';
- }
- result += uri.path;
- return result;
-}
-//# sourceMappingURL=uri-parser.js.map
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/build/src/uri-parser.js.map b/node_modules/@grpc/grpc-js/build/src/uri-parser.js.map
deleted file mode 100644
index 878db02..0000000
--- a/node_modules/@grpc/grpc-js/build/src/uri-parser.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"uri-parser.js","sourceRoot":"","sources":["../../src/uri-parser.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;AAgBH,4BAUC;AASD,sCAmDC;AAED,0CAWC;AAED,kCAUC;AAvGD;;;;;GAKG;AACH,MAAM,SAAS,GAAG,iDAAiD,CAAC;AAEpE,SAAgB,QAAQ,CAAC,SAAiB;IACxC,MAAM,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,SAAS,KAAK,IAAI,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO;QACL,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;QACpB,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC;QACvB,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC;KACnB,CAAC;AACJ,CAAC;AAOD,MAAM,YAAY,GAAG,OAAO,CAAC;AAE7B,SAAgB,aAAa,CAAC,IAAY;IACxC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;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,CAAC,CAAC,CAAC;iBACpB,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,OAAO,IAAI,CAAC;YACd,CAAC;QACH,CAAC;aAAM,CAAC;YACN,OAAO;gBACL,IAAI,EAAE,IAAI;aACX,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAgB,eAAe,CAAC,QAAkB;IAChD,IAAI,QAAQ,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,QAAQ,CAAC,IAAI,CAAC;IACvB,CAAC;SAAM,CAAC;QACN,2CAA2C;QAC3C,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAChC,OAAO,IAAI,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAAC,IAAI,EAAE,CAAC;QAC/C,CAAC;aAAM,CAAC;YACN,OAAO,GAAG,QAAQ,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;QAC7C,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAgB,WAAW,CAAC,GAAY;IACtC,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,IAAI,GAAG,CAAC,MAAM,KAAK,SAAS,EAAE,CAAC;QAC7B,MAAM,IAAI,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC;IAC7B,CAAC;IACD,IAAI,GAAG,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;QAChC,MAAM,IAAI,IAAI,GAAG,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC;IACvC,CAAC;IACD,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC;IACnB,OAAO,MAAM,CAAC;AAChB,CAAC"}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/package.json b/node_modules/@grpc/grpc-js/package.json
deleted file mode 100644
index 4cf0a28..0000000
--- a/node_modules/@grpc/grpc-js/package.json
+++ /dev/null
@@ -1,89 +0,0 @@
-{
- "name": "@grpc/grpc-js",
- "version": "1.14.4",
- "description": "gRPC Library for Node - pure JS implementation",
- "homepage": "https://grpc.io/",
- "repository": "https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",
- "main": "build/src/index.js",
- "engines": {
- "node": ">=12.10.0"
- },
- "keywords": [],
- "author": {
- "name": "Google Inc."
- },
- "types": "build/src/index.d.ts",
- "license": "Apache-2.0",
- "devDependencies": {
- "@grpc/proto-loader": "file:../proto-loader",
- "@types/gulp": "^4.0.17",
- "@types/gulp-mocha": "0.0.37",
- "@types/lodash": "^4.14.202",
- "@types/mocha": "^10.0.6",
- "@types/ncp": "^2.0.8",
- "@types/node": ">=20.11.20",
- "@types/pify": "^5.0.4",
- "@types/semver": "^7.5.8",
- "@typescript-eslint/eslint-plugin": "^7.1.0",
- "@typescript-eslint/parser": "^7.1.0",
- "@typescript-eslint/typescript-estree": "^7.1.0",
- "clang-format": "^1.8.0",
- "eslint": "^8.42.0",
- "eslint-config-prettier": "^8.8.0",
- "eslint-plugin-node": "^11.1.0",
- "eslint-plugin-prettier": "^4.2.1",
- "execa": "^2.0.3",
- "gulp": "^4.0.2",
- "gulp-mocha": "^6.0.0",
- "lodash": "^4.17.21",
- "madge": "^5.0.1",
- "mocha-jenkins-reporter": "^0.4.1",
- "ncp": "^2.0.0",
- "pify": "^4.0.1",
- "prettier": "^2.8.8",
- "rimraf": "^3.0.2",
- "semver": "^7.6.0",
- "ts-node": "^10.9.2",
- "typescript": "^5.3.3"
- },
- "contributors": [
- {
- "name": "Google Inc."
- }
- ],
- "scripts": {
- "build": "npm run compile",
- "clean": "rimraf ./build",
- "compile": "tsc -p .",
- "format": "clang-format -i -style=\"{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}\" src/*.ts test/*.ts",
- "lint": "eslint src/*.ts test/*.ts",
- "prepare": "npm run copy-protos && npm run generate-types && npm run generate-test-types && npm run compile",
- "test": "gulp test",
- "check": "npm run lint",
- "fix": "eslint --fix src/*.ts test/*.ts",
- "pretest": "npm run generate-types && npm run generate-test-types && npm run compile",
- "posttest": "npm run check && madge -c ./build/src",
- "generate-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --includeDirs proto/ --include-dirs proto/ proto/xds/ proto/protoc-gen-validate/ -O src/generated/ --grpcLib ../index channelz.proto xds/service/orca/v3/orca.proto",
- "generate-test-types": "proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --include-dirs test/fixtures/ -O test/generated/ --grpcLib ../../src/index test_service.proto echo_service.proto",
- "copy-protos": "node ./copy-protos"
- },
- "dependencies": {
- "@grpc/proto-loader": "^0.8.0",
- "@js-sdsl/ordered-map": "^4.4.2"
- },
- "files": [
- "src/**/*.ts",
- "build/src/**/*.{js,d.ts,js.map}",
- "proto/**/*.proto",
- "proto/**/LICENSE",
- "LICENSE",
- "deps/envoy-api/envoy/api/v2/**/*.proto",
- "deps/envoy-api/envoy/config/**/*.proto",
- "deps/envoy-api/envoy/service/**/*.proto",
- "deps/envoy-api/envoy/type/**/*.proto",
- "deps/udpa/udpa/**/*.proto",
- "deps/googleapis/google/api/*.proto",
- "deps/googleapis/google/rpc/*.proto",
- "deps/protoc-gen-validate/validate/**/*.proto"
- ]
-}
diff --git a/node_modules/@grpc/grpc-js/proto/channelz.proto b/node_modules/@grpc/grpc-js/proto/channelz.proto
deleted file mode 100644
index 446e979..0000000
--- a/node_modules/@grpc/grpc-js/proto/channelz.proto
+++ /dev/null
@@ -1,564 +0,0 @@
-// Copyright 2018 The gRPC Authors
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-
-// This file defines an interface for exporting monitoring information
-// out of gRPC servers. See the full design at
-// https://github.com/grpc/proposal/blob/master/A14-channelz.md
-//
-// The canonical version of this proto can be found at
-// https://github.com/grpc/grpc-proto/blob/master/grpc/channelz/v1/channelz.proto
-
-syntax = "proto3";
-
-package grpc.channelz.v1;
-
-import "google/protobuf/any.proto";
-import "google/protobuf/duration.proto";
-import "google/protobuf/timestamp.proto";
-import "google/protobuf/wrappers.proto";
-
-option go_package = "google.golang.org/grpc/channelz/grpc_channelz_v1";
-option java_multiple_files = true;
-option java_package = "io.grpc.channelz.v1";
-option java_outer_classname = "ChannelzProto";
-
-// Channel is a logical grouping of channels, subchannels, and sockets.
-message Channel {
- // The identifier for this channel. This should bet set.
- ChannelRef ref = 1;
- // Data specific to this channel.
- ChannelData data = 2;
- // At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
-
- // There are no ordering guarantees on the order of channel refs.
- // There may not be cycles in the ref graph.
- // A channel ref may be present in more than one channel or subchannel.
- repeated ChannelRef channel_ref = 3;
-
- // At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
- // There are no ordering guarantees on the order of subchannel refs.
- // There may not be cycles in the ref graph.
- // A sub channel ref may be present in more than one channel or subchannel.
- repeated SubchannelRef subchannel_ref = 4;
-
- // There are no ordering guarantees on the order of sockets.
- repeated SocketRef socket_ref = 5;
-}
-
-// Subchannel is a logical grouping of channels, subchannels, and sockets.
-// A subchannel is load balanced over by it's ancestor
-message Subchannel {
- // The identifier for this channel.
- SubchannelRef ref = 1;
- // Data specific to this channel.
- ChannelData data = 2;
- // At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
-
- // There are no ordering guarantees on the order of channel refs.
- // There may not be cycles in the ref graph.
- // A channel ref may be present in more than one channel or subchannel.
- repeated ChannelRef channel_ref = 3;
-
- // At most one of 'channel_ref+subchannel_ref' and 'socket' is set.
- // There are no ordering guarantees on the order of subchannel refs.
- // There may not be cycles in the ref graph.
- // A sub channel ref may be present in more than one channel or subchannel.
- repeated SubchannelRef subchannel_ref = 4;
-
- // There are no ordering guarantees on the order of sockets.
- repeated SocketRef socket_ref = 5;
-}
-
-// These come from the specified states in this document:
-// https://github.com/grpc/grpc/blob/master/doc/connectivity-semantics-and-api.md
-message ChannelConnectivityState {
- enum State {
- UNKNOWN = 0;
- IDLE = 1;
- CONNECTING = 2;
- READY = 3;
- TRANSIENT_FAILURE = 4;
- SHUTDOWN = 5;
- }
- State state = 1;
-}
-
-// Channel data is data related to a specific Channel or Subchannel.
-message ChannelData {
- // The connectivity state of the channel or subchannel. Implementations
- // should always set this.
- ChannelConnectivityState state = 1;
-
- // The target this channel originally tried to connect to. May be absent
- string target = 2;
-
- // A trace of recent events on the channel. May be absent.
- ChannelTrace trace = 3;
-
- // The number of calls started on the channel
- int64 calls_started = 4;
- // The number of calls that have completed with an OK status
- int64 calls_succeeded = 5;
- // The number of calls that have completed with a non-OK status
- int64 calls_failed = 6;
-
- // The last time a call was started on the channel.
- google.protobuf.Timestamp last_call_started_timestamp = 7;
-}
-
-// A trace event is an interesting thing that happened to a channel or
-// subchannel, such as creation, address resolution, subchannel creation, etc.
-message ChannelTraceEvent {
- // High level description of the event.
- string description = 1;
- // The supported severity levels of trace events.
- enum Severity {
- CT_UNKNOWN = 0;
- CT_INFO = 1;
- CT_WARNING = 2;
- CT_ERROR = 3;
- }
- // the severity of the trace event
- Severity severity = 2;
- // When this event occurred.
- google.protobuf.Timestamp timestamp = 3;
- // ref of referenced channel or subchannel.
- // Optional, only present if this event refers to a child object. For example,
- // this field would be filled if this trace event was for a subchannel being
- // created.
- oneof child_ref {
- ChannelRef channel_ref = 4;
- SubchannelRef subchannel_ref = 5;
- }
-}
-
-// ChannelTrace represents the recent events that have occurred on the channel.
-message ChannelTrace {
- // Number of events ever logged in this tracing object. This can differ from
- // events.size() because events can be overwritten or garbage collected by
- // implementations.
- int64 num_events_logged = 1;
- // Time that this channel was created.
- google.protobuf.Timestamp creation_timestamp = 2;
- // List of events that have occurred on this channel.
- repeated ChannelTraceEvent events = 3;
-}
-
-// ChannelRef is a reference to a Channel.
-message ChannelRef {
- // The globally unique id for this channel. Must be a positive number.
- int64 channel_id = 1;
- // An optional name associated with the channel.
- string name = 2;
- // Intentionally don't use field numbers from other refs.
- reserved 3, 4, 5, 6, 7, 8;
-}
-
-// SubchannelRef is a reference to a Subchannel.
-message SubchannelRef {
- // The globally unique id for this subchannel. Must be a positive number.
- int64 subchannel_id = 7;
- // An optional name associated with the subchannel.
- string name = 8;
- // Intentionally don't use field numbers from other refs.
- reserved 1, 2, 3, 4, 5, 6;
-}
-
-// SocketRef is a reference to a Socket.
-message SocketRef {
- // The globally unique id for this socket. Must be a positive number.
- int64 socket_id = 3;
- // An optional name associated with the socket.
- string name = 4;
- // Intentionally don't use field numbers from other refs.
- reserved 1, 2, 5, 6, 7, 8;
-}
-
-// ServerRef is a reference to a Server.
-message ServerRef {
- // A globally unique identifier for this server. Must be a positive number.
- int64 server_id = 5;
- // An optional name associated with the server.
- string name = 6;
- // Intentionally don't use field numbers from other refs.
- reserved 1, 2, 3, 4, 7, 8;
-}
-
-// Server represents a single server. There may be multiple servers in a single
-// program.
-message Server {
- // The identifier for a Server. This should be set.
- ServerRef ref = 1;
- // The associated data of the Server.
- ServerData data = 2;
-
- // The sockets that the server is listening on. There are no ordering
- // guarantees. This may be absent.
- repeated SocketRef listen_socket = 3;
-}
-
-// ServerData is data for a specific Server.
-message ServerData {
- // A trace of recent events on the server. May be absent.
- ChannelTrace trace = 1;
-
- // The number of incoming calls started on the server
- int64 calls_started = 2;
- // The number of incoming calls that have completed with an OK status
- int64 calls_succeeded = 3;
- // The number of incoming calls that have a completed with a non-OK status
- int64 calls_failed = 4;
-
- // The last time a call was started on the server.
- google.protobuf.Timestamp last_call_started_timestamp = 5;
-}
-
-// Information about an actual connection. Pronounced "sock-ay".
-message Socket {
- // The identifier for the Socket.
- SocketRef ref = 1;
-
- // Data specific to this Socket.
- SocketData data = 2;
- // The locally bound address.
- Address local = 3;
- // The remote bound address. May be absent.
- Address remote = 4;
- // Security details for this socket. May be absent if not available, or
- // there is no security on the socket.
- Security security = 5;
-
- // Optional, represents the name of the remote endpoint, if different than
- // the original target name.
- string remote_name = 6;
-}
-
-// SocketData is data associated for a specific Socket. The fields present
-// are specific to the implementation, so there may be minor differences in
-// the semantics. (e.g. flow control windows)
-message SocketData {
- // The number of streams that have been started.
- int64 streams_started = 1;
- // The number of streams that have ended successfully:
- // On client side, received frame with eos bit set;
- // On server side, sent frame with eos bit set.
- int64 streams_succeeded = 2;
- // The number of streams that have ended unsuccessfully:
- // On client side, ended without receiving frame with eos bit set;
- // On server side, ended without sending frame with eos bit set.
- int64 streams_failed = 3;
- // The number of grpc messages successfully sent on this socket.
- int64 messages_sent = 4;
- // The number of grpc messages received on this socket.
- int64 messages_received = 5;
-
- // The number of keep alives sent. This is typically implemented with HTTP/2
- // ping messages.
- int64 keep_alives_sent = 6;
-
- // The last time a stream was created by this endpoint. Usually unset for
- // servers.
- google.protobuf.Timestamp last_local_stream_created_timestamp = 7;
- // The last time a stream was created by the remote endpoint. Usually unset
- // for clients.
- google.protobuf.Timestamp last_remote_stream_created_timestamp = 8;
-
- // The last time a message was sent by this endpoint.
- google.protobuf.Timestamp last_message_sent_timestamp = 9;
- // The last time a message was received by this endpoint.
- google.protobuf.Timestamp last_message_received_timestamp = 10;
-
- // The amount of window, granted to the local endpoint by the remote endpoint.
- // This may be slightly out of date due to network latency. This does NOT
- // include stream level or TCP level flow control info.
- google.protobuf.Int64Value local_flow_control_window = 11;
-
- // The amount of window, granted to the remote endpoint by the local endpoint.
- // This may be slightly out of date due to network latency. This does NOT
- // include stream level or TCP level flow control info.
- google.protobuf.Int64Value remote_flow_control_window = 12;
-
- // Socket options set on this socket. May be absent if 'summary' is set
- // on GetSocketRequest.
- repeated SocketOption option = 13;
-}
-
-// Address represents the address used to create the socket.
-message Address {
- message TcpIpAddress {
- // Either the IPv4 or IPv6 address in bytes. Will be either 4 bytes or 16
- // bytes in length.
- bytes ip_address = 1;
- // 0-64k, or -1 if not appropriate.
- int32 port = 2;
- }
- // A Unix Domain Socket address.
- message UdsAddress {
- string filename = 1;
- }
- // An address type not included above.
- message OtherAddress {
- // The human readable version of the value. This value should be set.
- string name = 1;
- // The actual address message.
- google.protobuf.Any value = 2;
- }
-
- oneof address {
- TcpIpAddress tcpip_address = 1;
- UdsAddress uds_address = 2;
- OtherAddress other_address = 3;
- }
-}
-
-// Security represents details about how secure the socket is.
-message Security {
- message Tls {
- oneof cipher_suite {
- // The cipher suite name in the RFC 4346 format:
- // https://tools.ietf.org/html/rfc4346#appendix-C
- string standard_name = 1;
- // Some other way to describe the cipher suite if
- // the RFC 4346 name is not available.
- string other_name = 2;
- }
- // the certificate used by this endpoint.
- bytes local_certificate = 3;
- // the certificate used by the remote endpoint.
- bytes remote_certificate = 4;
- }
- message OtherSecurity {
- // The human readable version of the value.
- string name = 1;
- // The actual security details message.
- google.protobuf.Any value = 2;
- }
- oneof model {
- Tls tls = 1;
- OtherSecurity other = 2;
- }
-}
-
-// SocketOption represents socket options for a socket. Specifically, these
-// are the options returned by getsockopt().
-message SocketOption {
- // The full name of the socket option. Typically this will be the upper case
- // name, such as "SO_REUSEPORT".
- string name = 1;
- // The human readable value of this socket option. At least one of value or
- // additional will be set.
- string value = 2;
- // Additional data associated with the socket option. At least one of value
- // or additional will be set.
- google.protobuf.Any additional = 3;
-}
-
-// For use with SocketOption's additional field. This is primarily used for
-// SO_RCVTIMEO and SO_SNDTIMEO
-message SocketOptionTimeout {
- google.protobuf.Duration duration = 1;
-}
-
-// For use with SocketOption's additional field. This is primarily used for
-// SO_LINGER.
-message SocketOptionLinger {
- // active maps to `struct linger.l_onoff`
- bool active = 1;
- // duration maps to `struct linger.l_linger`
- google.protobuf.Duration duration = 2;
-}
-
-// For use with SocketOption's additional field. Tcp info for
-// SOL_TCP and TCP_INFO.
-message SocketOptionTcpInfo {
- uint32 tcpi_state = 1;
-
- uint32 tcpi_ca_state = 2;
- uint32 tcpi_retransmits = 3;
- uint32 tcpi_probes = 4;
- uint32 tcpi_backoff = 5;
- uint32 tcpi_options = 6;
- uint32 tcpi_snd_wscale = 7;
- uint32 tcpi_rcv_wscale = 8;
-
- uint32 tcpi_rto = 9;
- uint32 tcpi_ato = 10;
- uint32 tcpi_snd_mss = 11;
- uint32 tcpi_rcv_mss = 12;
-
- uint32 tcpi_unacked = 13;
- uint32 tcpi_sacked = 14;
- uint32 tcpi_lost = 15;
- uint32 tcpi_retrans = 16;
- uint32 tcpi_fackets = 17;
-
- uint32 tcpi_last_data_sent = 18;
- uint32 tcpi_last_ack_sent = 19;
- uint32 tcpi_last_data_recv = 20;
- uint32 tcpi_last_ack_recv = 21;
-
- uint32 tcpi_pmtu = 22;
- uint32 tcpi_rcv_ssthresh = 23;
- uint32 tcpi_rtt = 24;
- uint32 tcpi_rttvar = 25;
- uint32 tcpi_snd_ssthresh = 26;
- uint32 tcpi_snd_cwnd = 27;
- uint32 tcpi_advmss = 28;
- uint32 tcpi_reordering = 29;
-}
-
-// Channelz is a service exposed by gRPC servers that provides detailed debug
-// information.
-service Channelz {
- // Gets all root channels (i.e. channels the application has directly
- // created). This does not include subchannels nor non-top level channels.
- rpc GetTopChannels(GetTopChannelsRequest) returns (GetTopChannelsResponse);
- // Gets all servers that exist in the process.
- rpc GetServers(GetServersRequest) returns (GetServersResponse);
- // Returns a single Server, or else a NOT_FOUND code.
- rpc GetServer(GetServerRequest) returns (GetServerResponse);
- // Gets all server sockets that exist in the process.
- rpc GetServerSockets(GetServerSocketsRequest) returns (GetServerSocketsResponse);
- // Returns a single Channel, or else a NOT_FOUND code.
- rpc GetChannel(GetChannelRequest) returns (GetChannelResponse);
- // Returns a single Subchannel, or else a NOT_FOUND code.
- rpc GetSubchannel(GetSubchannelRequest) returns (GetSubchannelResponse);
- // Returns a single Socket or else a NOT_FOUND code.
- rpc GetSocket(GetSocketRequest) returns (GetSocketResponse);
-}
-
-message GetTopChannelsRequest {
- // start_channel_id indicates that only channels at or above this id should be
- // included in the results.
- // To request the first page, this should be set to 0. To request
- // subsequent pages, the client generates this value by adding 1 to
- // the highest seen result ID.
- int64 start_channel_id = 1;
-
- // If non-zero, the server will return a page of results containing
- // at most this many items. If zero, the server will choose a
- // reasonable page size. Must never be negative.
- int64 max_results = 2;
-}
-
-message GetTopChannelsResponse {
- // list of channels that the connection detail service knows about. Sorted in
- // ascending channel_id order.
- // Must contain at least 1 result, otherwise 'end' must be true.
- repeated Channel channel = 1;
- // If set, indicates that the list of channels is the final list. Requesting
- // more channels can only return more if they are created after this RPC
- // completes.
- bool end = 2;
-}
-
-message GetServersRequest {
- // start_server_id indicates that only servers at or above this id should be
- // included in the results.
- // To request the first page, this must be set to 0. To request
- // subsequent pages, the client generates this value by adding 1 to
- // the highest seen result ID.
- int64 start_server_id = 1;
-
- // If non-zero, the server will return a page of results containing
- // at most this many items. If zero, the server will choose a
- // reasonable page size. Must never be negative.
- int64 max_results = 2;
-}
-
-message GetServersResponse {
- // list of servers that the connection detail service knows about. Sorted in
- // ascending server_id order.
- // Must contain at least 1 result, otherwise 'end' must be true.
- repeated Server server = 1;
- // If set, indicates that the list of servers is the final list. Requesting
- // more servers will only return more if they are created after this RPC
- // completes.
- bool end = 2;
-}
-
-message GetServerRequest {
- // server_id is the identifier of the specific server to get.
- int64 server_id = 1;
-}
-
-message GetServerResponse {
- // The Server that corresponds to the requested server_id. This field
- // should be set.
- Server server = 1;
-}
-
-message GetServerSocketsRequest {
- int64 server_id = 1;
- // start_socket_id indicates that only sockets at or above this id should be
- // included in the results.
- // To request the first page, this must be set to 0. To request
- // subsequent pages, the client generates this value by adding 1 to
- // the highest seen result ID.
- int64 start_socket_id = 2;
-
- // If non-zero, the server will return a page of results containing
- // at most this many items. If zero, the server will choose a
- // reasonable page size. Must never be negative.
- int64 max_results = 3;
-}
-
-message GetServerSocketsResponse {
- // list of socket refs that the connection detail service knows about. Sorted in
- // ascending socket_id order.
- // Must contain at least 1 result, otherwise 'end' must be true.
- repeated SocketRef socket_ref = 1;
- // If set, indicates that the list of sockets is the final list. Requesting
- // more sockets will only return more if they are created after this RPC
- // completes.
- bool end = 2;
-}
-
-message GetChannelRequest {
- // channel_id is the identifier of the specific channel to get.
- int64 channel_id = 1;
-}
-
-message GetChannelResponse {
- // The Channel that corresponds to the requested channel_id. This field
- // should be set.
- Channel channel = 1;
-}
-
-message GetSubchannelRequest {
- // subchannel_id is the identifier of the specific subchannel to get.
- int64 subchannel_id = 1;
-}
-
-message GetSubchannelResponse {
- // The Subchannel that corresponds to the requested subchannel_id. This
- // field should be set.
- Subchannel subchannel = 1;
-}
-
-message GetSocketRequest {
- // socket_id is the identifier of the specific socket to get.
- int64 socket_id = 1;
-
- // If true, the response will contain only high level information
- // that is inexpensive to obtain. Fields thay may be omitted are
- // documented.
- bool summary = 2;
-}
-
-message GetSocketResponse {
- // The Socket that corresponds to the requested socket_id. This field
- // should be set.
- Socket socket = 1;
-}
\ No newline at end of file
diff --git a/node_modules/@grpc/grpc-js/proto/protoc-gen-validate/LICENSE b/node_modules/@grpc/grpc-js/proto/protoc-gen-validate/LICENSE
deleted file mode 100644
index d645695..0000000
--- a/node_modules/@grpc/grpc-js/proto/protoc-gen-validate/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/node_modules/@grpc/grpc-js/proto/protoc-gen-validate/validate/validate.proto b/node_modules/@grpc/grpc-js/proto/protoc-gen-validate/validate/validate.proto
deleted file mode 100644
index 7767f0a..0000000
--- a/node_modules/@grpc/grpc-js/proto/protoc-gen-validate/validate/validate.proto
+++ /dev/null
@@ -1,797 +0,0 @@
-syntax = "proto2";
-package validate;
-
-option go_package = "github.com/envoyproxy/protoc-gen-validate/validate";
-option java_package = "io.envoyproxy.pgv.validate";
-
-import "google/protobuf/descriptor.proto";
-import "google/protobuf/duration.proto";
-import "google/protobuf/timestamp.proto";
-
-// Validation rules applied at the message level
-extend google.protobuf.MessageOptions {
- // Disabled nullifies any validation rules for this message, including any
- // message fields associated with it that do support validation.
- optional bool disabled = 1071;
-}
-
-// Validation rules applied at the oneof level
-extend google.protobuf.OneofOptions {
- // Required ensures that exactly one the field options in a oneof is set;
- // validation fails if no fields in the oneof are set.
- optional bool required = 1071;
-}
-
-// Validation rules applied at the field level
-extend google.protobuf.FieldOptions {
- // Rules specify the validations to be performed on this field. By default,
- // no validation is performed against a field.
- optional FieldRules rules = 1071;
-}
-
-// FieldRules encapsulates the rules for each type of field. Depending on the
-// field, the correct set should be used to ensure proper validations.
-message FieldRules {
- optional MessageRules message = 17;
- oneof type {
- // Scalar Field Types
- FloatRules float = 1;
- DoubleRules double = 2;
- Int32Rules int32 = 3;
- Int64Rules int64 = 4;
- UInt32Rules uint32 = 5;
- UInt64Rules uint64 = 6;
- SInt32Rules sint32 = 7;
- SInt64Rules sint64 = 8;
- Fixed32Rules fixed32 = 9;
- Fixed64Rules fixed64 = 10;
- SFixed32Rules sfixed32 = 11;
- SFixed64Rules sfixed64 = 12;
- BoolRules bool = 13;
- StringRules string = 14;
- BytesRules bytes = 15;
-
- // Complex Field Types
- EnumRules enum = 16;
- RepeatedRules repeated = 18;
- MapRules map = 19;
-
- // Well-Known Field Types
- AnyRules any = 20;
- DurationRules duration = 21;
- TimestampRules timestamp = 22;
- }
-}
-
-// FloatRules describes the constraints applied to `float` values
-message FloatRules {
- // Const specifies that this field must be exactly the specified value
- optional float const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional float lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional float lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional float gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional float gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated float in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated float not_in = 7;
-}
-
-// DoubleRules describes the constraints applied to `double` values
-message DoubleRules {
- // Const specifies that this field must be exactly the specified value
- optional double const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional double lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional double lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional double gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional double gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated double in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated double not_in = 7;
-}
-
-// Int32Rules describes the constraints applied to `int32` values
-message Int32Rules {
- // Const specifies that this field must be exactly the specified value
- optional int32 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional int32 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional int32 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional int32 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional int32 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated int32 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated int32 not_in = 7;
-}
-
-// Int64Rules describes the constraints applied to `int64` values
-message Int64Rules {
- // Const specifies that this field must be exactly the specified value
- optional int64 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional int64 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional int64 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional int64 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional int64 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated int64 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated int64 not_in = 7;
-}
-
-// UInt32Rules describes the constraints applied to `uint32` values
-message UInt32Rules {
- // Const specifies that this field must be exactly the specified value
- optional uint32 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional uint32 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional uint32 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional uint32 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional uint32 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated uint32 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated uint32 not_in = 7;
-}
-
-// UInt64Rules describes the constraints applied to `uint64` values
-message UInt64Rules {
- // Const specifies that this field must be exactly the specified value
- optional uint64 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional uint64 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional uint64 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional uint64 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional uint64 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated uint64 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated uint64 not_in = 7;
-}
-
-// SInt32Rules describes the constraints applied to `sint32` values
-message SInt32Rules {
- // Const specifies that this field must be exactly the specified value
- optional sint32 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional sint32 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional sint32 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional sint32 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional sint32 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated sint32 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated sint32 not_in = 7;
-}
-
-// SInt64Rules describes the constraints applied to `sint64` values
-message SInt64Rules {
- // Const specifies that this field must be exactly the specified value
- optional sint64 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional sint64 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional sint64 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional sint64 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional sint64 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated sint64 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated sint64 not_in = 7;
-}
-
-// Fixed32Rules describes the constraints applied to `fixed32` values
-message Fixed32Rules {
- // Const specifies that this field must be exactly the specified value
- optional fixed32 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional fixed32 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional fixed32 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional fixed32 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional fixed32 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated fixed32 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated fixed32 not_in = 7;
-}
-
-// Fixed64Rules describes the constraints applied to `fixed64` values
-message Fixed64Rules {
- // Const specifies that this field must be exactly the specified value
- optional fixed64 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional fixed64 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional fixed64 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional fixed64 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional fixed64 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated fixed64 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated fixed64 not_in = 7;
-}
-
-// SFixed32Rules describes the constraints applied to `sfixed32` values
-message SFixed32Rules {
- // Const specifies that this field must be exactly the specified value
- optional sfixed32 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional sfixed32 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional sfixed32 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional sfixed32 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional sfixed32 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated sfixed32 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated sfixed32 not_in = 7;
-}
-
-// SFixed64Rules describes the constraints applied to `sfixed64` values
-message SFixed64Rules {
- // Const specifies that this field must be exactly the specified value
- optional sfixed64 const = 1;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional sfixed64 lt = 2;
-
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- optional sfixed64 lte = 3;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- optional sfixed64 gt = 4;
-
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- optional sfixed64 gte = 5;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated sfixed64 in = 6;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated sfixed64 not_in = 7;
-}
-
-// BoolRules describes the constraints applied to `bool` values
-message BoolRules {
- // Const specifies that this field must be exactly the specified value
- optional bool const = 1;
-}
-
-// StringRules describe the constraints applied to `string` values
-message StringRules {
- // Const specifies that this field must be exactly the specified value
- optional string const = 1;
-
- // Len specifies that this field must be the specified number of
- // characters (Unicode code points). Note that the number of
- // characters may differ from the number of bytes in the string.
- optional uint64 len = 19;
-
- // MinLen specifies that this field must be the specified number of
- // characters (Unicode code points) at a minimum. Note that the number of
- // characters may differ from the number of bytes in the string.
- optional uint64 min_len = 2;
-
- // MaxLen specifies that this field must be the specified number of
- // characters (Unicode code points) at a maximum. Note that the number of
- // characters may differ from the number of bytes in the string.
- optional uint64 max_len = 3;
-
- // LenBytes specifies that this field must be the specified number of bytes
- // at a minimum
- optional uint64 len_bytes = 20;
-
- // MinBytes specifies that this field must be the specified number of bytes
- // at a minimum
- optional uint64 min_bytes = 4;
-
- // MaxBytes specifies that this field must be the specified number of bytes
- // at a maximum
- optional uint64 max_bytes = 5;
-
- // Pattern specifes that this field must match against the specified
- // regular expression (RE2 syntax). The included expression should elide
- // any delimiters.
- optional string pattern = 6;
-
- // Prefix specifies that this field must have the specified substring at
- // the beginning of the string.
- optional string prefix = 7;
-
- // Suffix specifies that this field must have the specified substring at
- // the end of the string.
- optional string suffix = 8;
-
- // Contains specifies that this field must have the specified substring
- // anywhere in the string.
- optional string contains = 9;
-
- // NotContains specifies that this field cannot have the specified substring
- // anywhere in the string.
- optional string not_contains = 23;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated string in = 10;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated string not_in = 11;
-
- // WellKnown rules provide advanced constraints against common string
- // patterns
- oneof well_known {
- // Email specifies that the field must be a valid email address as
- // defined by RFC 5322
- bool email = 12;
-
- // Hostname specifies that the field must be a valid hostname as
- // defined by RFC 1034. This constraint does not support
- // internationalized domain names (IDNs).
- bool hostname = 13;
-
- // Ip specifies that the field must be a valid IP (v4 or v6) address.
- // Valid IPv6 addresses should not include surrounding square brackets.
- bool ip = 14;
-
- // Ipv4 specifies that the field must be a valid IPv4 address.
- bool ipv4 = 15;
-
- // Ipv6 specifies that the field must be a valid IPv6 address. Valid
- // IPv6 addresses should not include surrounding square brackets.
- bool ipv6 = 16;
-
- // Uri specifies that the field must be a valid, absolute URI as defined
- // by RFC 3986
- bool uri = 17;
-
- // UriRef specifies that the field must be a valid URI as defined by RFC
- // 3986 and may be relative or absolute.
- bool uri_ref = 18;
-
- // Address specifies that the field must be either a valid hostname as
- // defined by RFC 1034 (which does not support internationalized domain
- // names or IDNs), or it can be a valid IP (v4 or v6).
- bool address = 21;
-
- // Uuid specifies that the field must be a valid UUID as defined by
- // RFC 4122
- bool uuid = 22;
-
- // WellKnownRegex specifies a common well known pattern defined as a regex.
- KnownRegex well_known_regex = 24;
- }
-
- // This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable
- // strict header validation.
- // By default, this is true, and HTTP header validations are RFC-compliant.
- // Setting to false will enable a looser validations that only disallows
- // \r\n\0 characters, which can be used to bypass header matching rules.
- optional bool strict = 25 [default = true];
-}
-
-// WellKnownRegex contain some well-known patterns.
-enum KnownRegex {
- UNKNOWN = 0;
-
- // HTTP header name as defined by RFC 7230.
- HTTP_HEADER_NAME = 1;
-
- // HTTP header value as defined by RFC 7230.
- HTTP_HEADER_VALUE = 2;
-}
-
-// BytesRules describe the constraints applied to `bytes` values
-message BytesRules {
- // Const specifies that this field must be exactly the specified value
- optional bytes const = 1;
-
- // Len specifies that this field must be the specified number of bytes
- optional uint64 len = 13;
-
- // MinLen specifies that this field must be the specified number of bytes
- // at a minimum
- optional uint64 min_len = 2;
-
- // MaxLen specifies that this field must be the specified number of bytes
- // at a maximum
- optional uint64 max_len = 3;
-
- // Pattern specifes that this field must match against the specified
- // regular expression (RE2 syntax). The included expression should elide
- // any delimiters.
- optional string pattern = 4;
-
- // Prefix specifies that this field must have the specified bytes at the
- // beginning of the string.
- optional bytes prefix = 5;
-
- // Suffix specifies that this field must have the specified bytes at the
- // end of the string.
- optional bytes suffix = 6;
-
- // Contains specifies that this field must have the specified bytes
- // anywhere in the string.
- optional bytes contains = 7;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated bytes in = 8;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated bytes not_in = 9;
-
- // WellKnown rules provide advanced constraints against common byte
- // patterns
- oneof well_known {
- // Ip specifies that the field must be a valid IP (v4 or v6) address in
- // byte format
- bool ip = 10;
-
- // Ipv4 specifies that the field must be a valid IPv4 address in byte
- // format
- bool ipv4 = 11;
-
- // Ipv6 specifies that the field must be a valid IPv6 address in byte
- // format
- bool ipv6 = 12;
- }
-}
-
-// EnumRules describe the constraints applied to enum values
-message EnumRules {
- // Const specifies that this field must be exactly the specified value
- optional int32 const = 1;
-
- // DefinedOnly specifies that this field must be only one of the defined
- // values for this enum, failing on any undefined value.
- optional bool defined_only = 2;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated int32 in = 3;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated int32 not_in = 4;
-}
-
-// MessageRules describe the constraints applied to embedded message values.
-// For message-type fields, validation is performed recursively.
-message MessageRules {
- // Skip specifies that the validation rules of this field should not be
- // evaluated
- optional bool skip = 1;
-
- // Required specifies that this field must be set
- optional bool required = 2;
-}
-
-// RepeatedRules describe the constraints applied to `repeated` values
-message RepeatedRules {
- // MinItems specifies that this field must have the specified number of
- // items at a minimum
- optional uint64 min_items = 1;
-
- // MaxItems specifies that this field must have the specified number of
- // items at a maximum
- optional uint64 max_items = 2;
-
- // Unique specifies that all elements in this field must be unique. This
- // contraint is only applicable to scalar and enum types (messages are not
- // supported).
- optional bool unique = 3;
-
- // Items specifies the contraints to be applied to each item in the field.
- // Repeated message fields will still execute validation against each item
- // unless skip is specified here.
- optional FieldRules items = 4;
-}
-
-// MapRules describe the constraints applied to `map` values
-message MapRules {
- // MinPairs specifies that this field must have the specified number of
- // KVs at a minimum
- optional uint64 min_pairs = 1;
-
- // MaxPairs specifies that this field must have the specified number of
- // KVs at a maximum
- optional uint64 max_pairs = 2;
-
- // NoSparse specifies values in this field cannot be unset. This only
- // applies to map's with message value types.
- optional bool no_sparse = 3;
-
- // Keys specifies the constraints to be applied to each key in the field.
- optional FieldRules keys = 4;
-
- // Values specifies the constraints to be applied to the value of each key
- // in the field. Message values will still have their validations evaluated
- // unless skip is specified here.
- optional FieldRules values = 5;
-}
-
-// AnyRules describe constraints applied exclusively to the
-// `google.protobuf.Any` well-known type
-message AnyRules {
- // Required specifies that this field must be set
- optional bool required = 1;
-
- // In specifies that this field's `type_url` must be equal to one of the
- // specified values.
- repeated string in = 2;
-
- // NotIn specifies that this field's `type_url` must not be equal to any of
- // the specified values.
- repeated string not_in = 3;
-}
-
-// DurationRules describe the constraints applied exclusively to the
-// `google.protobuf.Duration` well-known type
-message DurationRules {
- // Required specifies that this field must be set
- optional bool required = 1;
-
- // Const specifies that this field must be exactly the specified value
- optional google.protobuf.Duration const = 2;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional google.protobuf.Duration lt = 3;
-
- // Lt specifies that this field must be less than the specified value,
- // inclusive
- optional google.protobuf.Duration lte = 4;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive
- optional google.protobuf.Duration gt = 5;
-
- // Gte specifies that this field must be greater than the specified value,
- // inclusive
- optional google.protobuf.Duration gte = 6;
-
- // In specifies that this field must be equal to one of the specified
- // values
- repeated google.protobuf.Duration in = 7;
-
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- repeated google.protobuf.Duration not_in = 8;
-}
-
-// TimestampRules describe the constraints applied exclusively to the
-// `google.protobuf.Timestamp` well-known type
-message TimestampRules {
- // Required specifies that this field must be set
- optional bool required = 1;
-
- // Const specifies that this field must be exactly the specified value
- optional google.protobuf.Timestamp const = 2;
-
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- optional google.protobuf.Timestamp lt = 3;
-
- // Lte specifies that this field must be less than the specified value,
- // inclusive
- optional google.protobuf.Timestamp lte = 4;
-
- // Gt specifies that this field must be greater than the specified value,
- // exclusive
- optional google.protobuf.Timestamp gt = 5;
-
- // Gte specifies that this field must be greater than the specified value,
- // inclusive
- optional google.protobuf.Timestamp gte = 6;
-
- // LtNow specifies that this must be less than the current time. LtNow
- // can only be used with the Within rule.
- optional bool lt_now = 7;
-
- // GtNow specifies that this must be greater than the current time. GtNow
- // can only be used with the Within rule.
- optional bool gt_now = 8;
-
- // Within specifies that this field must be within this duration of the
- // current time. This constraint can be used alone or with the LtNow and
- // GtNow rules.
- optional google.protobuf.Duration within = 9;
-}
diff --git a/node_modules/@grpc/grpc-js/proto/xds/LICENSE b/node_modules/@grpc/grpc-js/proto/xds/LICENSE
deleted file mode 100644
index 261eeb9..0000000
--- a/node_modules/@grpc/grpc-js/proto/xds/LICENSE
+++ /dev/null
@@ -1,201 +0,0 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
diff --git a/node_modules/@grpc/grpc-js/proto/xds/xds/data/orca/v3/orca_load_report.proto b/node_modules/@grpc/grpc-js/proto/xds/xds/data/orca/v3/orca_load_report.proto
deleted file mode 100644
index 53da75f..0000000
--- a/node_modules/@grpc/grpc-js/proto/xds/xds/data/orca/v3/orca_load_report.proto
+++ /dev/null
@@ -1,58 +0,0 @@
-syntax = "proto3";
-
-package xds.data.orca.v3;
-
-option java_outer_classname = "OrcaLoadReportProto";
-option java_multiple_files = true;
-option java_package = "com.github.xds.data.orca.v3";
-option go_package = "github.com/cncf/xds/go/xds/data/orca/v3";
-
-import "validate/validate.proto";
-
-// See section `ORCA load report format` of the design document in
-// :ref:`https://github.com/envoyproxy/envoy/issues/6614`.
-
-message OrcaLoadReport {
- // CPU utilization expressed as a fraction of available CPU resources. This
- // should be derived from the latest sample or measurement. The value may be
- // larger than 1.0 when the usage exceeds the reporter dependent notion of
- // soft limits.
- double cpu_utilization = 1 [(validate.rules).double.gte = 0];
-
- // Memory utilization expressed as a fraction of available memory
- // resources. This should be derived from the latest sample or measurement.
- double mem_utilization = 2 [(validate.rules).double.gte = 0, (validate.rules).double.lte = 1];
-
- // Total RPS being served by an endpoint. This should cover all services that an endpoint is
- // responsible for.
- // Deprecated -- use ``rps_fractional`` field instead.
- uint64 rps = 3 [deprecated = true];
-
- // Application specific requests costs. Each value is an absolute cost (e.g. 3487 bytes of
- // storage) associated with the request.
- map request_cost = 4;
-
- // Resource utilization values. Each value is expressed as a fraction of total resources
- // available, derived from the latest sample or measurement.
- map utilization = 5
- [(validate.rules).map.values.double.gte = 0, (validate.rules).map.values.double.lte = 1];
-
- // Total RPS being served by an endpoint. This should cover all services that an endpoint is
- // responsible for.
- double rps_fractional = 6 [(validate.rules).double.gte = 0];
-
- // Total EPS (errors/second) being served by an endpoint. This should cover
- // all services that an endpoint is responsible for.
- double eps = 7 [(validate.rules).double.gte = 0];
-
- // Application specific opaque metrics.
- map named_metrics = 8;
-
- // Application specific utilization expressed as a fraction of available
- // resources. For example, an application may report the max of CPU and memory
- // utilization for better load balancing if it is both CPU and memory bound.
- // This should be derived from the latest sample or measurement.
- // The value may be larger than 1.0 when the usage exceeds the reporter
- // dependent notion of soft limits.
- double application_utilization = 9 [(validate.rules).double.gte = 0];
-}
diff --git a/node_modules/@grpc/grpc-js/proto/xds/xds/service/orca/v3/orca.proto b/node_modules/@grpc/grpc-js/proto/xds/xds/service/orca/v3/orca.proto
deleted file mode 100644
index 03126cd..0000000
--- a/node_modules/@grpc/grpc-js/proto/xds/xds/service/orca/v3/orca.proto
+++ /dev/null
@@ -1,36 +0,0 @@
-syntax = "proto3";
-
-package xds.service.orca.v3;
-
-option java_outer_classname = "OrcaProto";
-option java_multiple_files = true;
-option java_package = "com.github.xds.service.orca.v3";
-option go_package = "github.com/cncf/xds/go/xds/service/orca/v3";
-
-import "xds/data/orca/v3/orca_load_report.proto";
-
-import "google/protobuf/duration.proto";
-
-// See section `Out-of-band (OOB) reporting` of the design document in
-// :ref:`https://github.com/envoyproxy/envoy/issues/6614`.
-
-// Out-of-band (OOB) load reporting service for the additional load reporting
-// agent that does not sit in the request path. Reports are periodically sampled
-// with sufficient frequency to provide temporal association with requests.
-// OOB reporting compensates the limitation of in-band reporting in revealing
-// costs for backends that do not provide a steady stream of telemetry such as
-// long running stream operations and zero QPS services. This is a server
-// streaming service, client needs to terminate current RPC and initiate
-// a new call to change backend reporting frequency.
-service OpenRcaService {
- rpc StreamCoreMetrics(OrcaLoadReportRequest) returns (stream xds.data.orca.v3.OrcaLoadReport);
-}
-
-message OrcaLoadReportRequest {
- // Interval for generating Open RCA core metric responses.
- google.protobuf.Duration report_interval = 1;
- // Request costs to collect. If this is empty, all known requests costs tracked by
- // the load reporting agent will be returned. This provides an opportunity for
- // the client to selectively obtain a subset of tracked costs.
- repeated string request_cost_names = 2;
-}
diff --git a/node_modules/@grpc/grpc-js/src/admin.ts b/node_modules/@grpc/grpc-js/src/admin.ts
deleted file mode 100644
index 4d26b89..0000000
--- a/node_modules/@grpc/grpc-js/src/admin.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2021 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-import { ServiceDefinition } from './make-client';
-import { Server, UntypedServiceImplementation } from './server';
-
-interface GetServiceDefinition {
- (): ServiceDefinition;
-}
-
-interface GetHandlers {
- (): UntypedServiceImplementation;
-}
-
-const registeredAdminServices: {
- getServiceDefinition: GetServiceDefinition;
- getHandlers: GetHandlers;
-}[] = [];
-
-export function registerAdminService(
- getServiceDefinition: GetServiceDefinition,
- getHandlers: GetHandlers
-) {
- registeredAdminServices.push({ getServiceDefinition, getHandlers });
-}
-
-export function addAdminServicesToServer(server: Server): void {
- for (const { getServiceDefinition, getHandlers } of registeredAdminServices) {
- server.addService(getServiceDefinition(), getHandlers());
- }
-}
diff --git a/node_modules/@grpc/grpc-js/src/auth-context.ts b/node_modules/@grpc/grpc-js/src/auth-context.ts
deleted file mode 100644
index 4fc110d..0000000
--- a/node_modules/@grpc/grpc-js/src/auth-context.ts
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright 2025 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-import { PeerCertificate } from "tls";
-
-export interface AuthContext {
- transportSecurityType?: string;
- sslPeerCertificate?: PeerCertificate;
-}
diff --git a/node_modules/@grpc/grpc-js/src/backoff-timeout.ts b/node_modules/@grpc/grpc-js/src/backoff-timeout.ts
deleted file mode 100644
index 8be560d..0000000
--- a/node_modules/@grpc/grpc-js/src/backoff-timeout.ts
+++ /dev/null
@@ -1,222 +0,0 @@
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-import { LogVerbosity } from './constants';
-import * as logging from './logging';
-
-const TRACER_NAME = 'backoff';
-
-const INITIAL_BACKOFF_MS = 1000;
-const BACKOFF_MULTIPLIER = 1.6;
-const MAX_BACKOFF_MS = 120000;
-const BACKOFF_JITTER = 0.2;
-
-/**
- * Get a number uniformly at random in the range [min, max)
- * @param min
- * @param max
- */
-function uniformRandom(min: number, max: number) {
- return Math.random() * (max - min) + min;
-}
-
-export interface BackoffOptions {
- initialDelay?: number;
- multiplier?: number;
- jitter?: number;
- maxDelay?: number;
-}
-
-export class BackoffTimeout {
- /**
- * The delay time at the start, and after each reset.
- */
- private readonly initialDelay: number = INITIAL_BACKOFF_MS;
- /**
- * The exponential backoff multiplier.
- */
- private readonly multiplier: number = BACKOFF_MULTIPLIER;
- /**
- * The maximum delay time
- */
- private readonly maxDelay: number = MAX_BACKOFF_MS;
- /**
- * The maximum fraction by which the delay time can randomly vary after
- * applying the multiplier.
- */
- private readonly jitter: number = BACKOFF_JITTER;
- /**
- * The delay time for the next time the timer runs.
- */
- private nextDelay: number;
- /**
- * The handle of the underlying timer. If running is false, this value refers
- * to an object representing a timer that has ended, but it can still be
- * interacted with without error.
- */
- private timerId: NodeJS.Timeout;
- /**
- * Indicates whether the timer is currently running.
- */
- private running = false;
- /**
- * Indicates whether the timer should keep the Node process running if no
- * other async operation is doing so.
- */
- private hasRef = true;
- /**
- * The time that the currently running timer was started. Only valid if
- * running is true.
- */
- private startTime: Date = new Date();
- /**
- * The approximate time that the currently running timer will end. Only valid
- * if running is true.
- */
- private endTime: Date = new Date();
-
- private id: number;
-
- private static nextId = 0;
-
- constructor(private callback: () => void, options?: BackoffOptions) {
- this.id = BackoffTimeout.getNextId();
- if (options) {
- if (options.initialDelay) {
- this.initialDelay = options.initialDelay;
- }
- if (options.multiplier) {
- this.multiplier = options.multiplier;
- }
- if (options.jitter) {
- this.jitter = options.jitter;
- }
- if (options.maxDelay) {
- this.maxDelay = options.maxDelay;
- }
- }
- this.trace('constructed initialDelay=' + this.initialDelay + ' multiplier=' + this.multiplier + ' jitter=' + this.jitter + ' maxDelay=' + this.maxDelay);
- this.nextDelay = this.initialDelay;
- this.timerId = setTimeout(() => {}, 0);
- clearTimeout(this.timerId);
- }
-
- private static getNextId() {
- return this.nextId++;
- }
-
- private trace(text: string) {
- logging.trace(LogVerbosity.DEBUG, TRACER_NAME, '{' + this.id + '} ' + text);
- }
-
- private runTimer(delay: number) {
- this.trace('runTimer(delay=' + delay + ')');
- this.endTime = this.startTime;
- this.endTime.setMilliseconds(
- this.endTime.getMilliseconds() + delay
- );
- clearTimeout(this.timerId);
- this.timerId = setTimeout(() => {
- this.trace('timer fired');
- this.running = false;
- this.callback();
- }, delay);
- if (!this.hasRef) {
- this.timerId.unref?.();
- }
- }
-
- /**
- * Call the callback after the current amount of delay time
- */
- runOnce() {
- this.trace('runOnce()');
- this.running = true;
- this.startTime = new Date();
- this.runTimer(this.nextDelay);
- const nextBackoff = Math.min(
- this.nextDelay * this.multiplier,
- this.maxDelay
- );
- const jitterMagnitude = nextBackoff * this.jitter;
- this.nextDelay =
- nextBackoff + uniformRandom(-jitterMagnitude, jitterMagnitude);
- }
-
- /**
- * Stop the timer. The callback will not be called until `runOnce` is called
- * again.
- */
- stop() {
- this.trace('stop()');
- clearTimeout(this.timerId);
- this.running = false;
- }
-
- /**
- * Reset the delay time to its initial value. If the timer is still running,
- * retroactively apply that reset to the current timer.
- */
- reset() {
- this.trace('reset() running=' + this.running);
- this.nextDelay = this.initialDelay;
- if (this.running) {
- const now = new Date();
- const newEndTime = this.startTime;
- newEndTime.setMilliseconds(newEndTime.getMilliseconds() + this.nextDelay);
- clearTimeout(this.timerId);
- if (now < newEndTime) {
- this.runTimer(newEndTime.getTime() - now.getTime());
- } else {
- this.running = false;
- }
- }
- }
-
- /**
- * Check whether the timer is currently running.
- */
- isRunning() {
- return this.running;
- }
-
- /**
- * Set that while the timer is running, it should keep the Node process
- * running.
- */
- ref() {
- this.hasRef = true;
- this.timerId.ref?.();
- }
-
- /**
- * Set that while the timer is running, it should not keep the Node process
- * running.
- */
- unref() {
- this.hasRef = false;
- this.timerId.unref?.();
- }
-
- /**
- * Get the approximate timestamp of when the timer will fire. Only valid if
- * this.isRunning() is true.
- */
- getEndTime() {
- return this.endTime;
- }
-}
diff --git a/node_modules/@grpc/grpc-js/src/call-credentials.ts b/node_modules/@grpc/grpc-js/src/call-credentials.ts
deleted file mode 100644
index a9afe4a..0000000
--- a/node_modules/@grpc/grpc-js/src/call-credentials.ts
+++ /dev/null
@@ -1,227 +0,0 @@
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-import { Metadata } from './metadata';
-
-export interface CallMetadataOptions {
- method_name: string;
- service_url: string;
-}
-
-export type CallMetadataGenerator = (
- options: CallMetadataOptions,
- cb: (err: Error | null, metadata?: Metadata) => void
-) => void;
-
-// google-auth-library pre-v2.0.0 does not have getRequestHeaders
-// but has getRequestMetadata, which is deprecated in v2.0.0
-export interface OldOAuth2Client {
- getRequestMetadata: (
- url: string,
- callback: (
- err: Error | null,
- headers?: {
- [index: string]: string;
- }
- ) => void
- ) => void;
-}
-
-export interface CurrentOAuth2Client {
- getRequestHeaders: (url?: string) => Promise<{ [index: string]: string }>;
-}
-
-export type OAuth2Client = OldOAuth2Client | CurrentOAuth2Client;
-
-function isCurrentOauth2Client(
- client: OAuth2Client
-): client is CurrentOAuth2Client {
- return (
- 'getRequestHeaders' in client &&
- typeof client.getRequestHeaders === 'function'
- );
-}
-
-/**
- * A class that represents a generic method of adding authentication-related
- * metadata on a per-request basis.
- */
-export abstract class CallCredentials {
- /**
- * Asynchronously generates a new Metadata object.
- * @param options Options used in generating the Metadata object.
- */
- abstract generateMetadata(options: CallMetadataOptions): Promise;
- /**
- * Creates a new CallCredentials object from properties of both this and
- * another CallCredentials object. This object's metadata generator will be
- * called first.
- * @param callCredentials The other CallCredentials object.
- */
- abstract compose(callCredentials: CallCredentials): CallCredentials;
-
- /**
- * Check whether two call credentials objects are equal. Separate
- * SingleCallCredentials with identical metadata generator functions are
- * equal.
- * @param other The other CallCredentials object to compare with.
- */
- abstract _equals(other: CallCredentials): boolean;
-
- /**
- * Creates a new CallCredentials object from a given function that generates
- * Metadata objects.
- * @param metadataGenerator A function that accepts a set of options, and
- * generates a Metadata object based on these options, which is passed back
- * to the caller via a supplied (err, metadata) callback.
- */
- static createFromMetadataGenerator(
- metadataGenerator: CallMetadataGenerator
- ): CallCredentials {
- return new SingleCallCredentials(metadataGenerator);
- }
-
- /**
- * Create a gRPC credential from a Google credential object.
- * @param googleCredentials The authentication client to use.
- * @return The resulting CallCredentials object.
- */
- static createFromGoogleCredential(
- googleCredentials: OAuth2Client
- ): CallCredentials {
- return CallCredentials.createFromMetadataGenerator((options, callback) => {
- let getHeaders: Promise<{ [index: string]: string }>;
- if (isCurrentOauth2Client(googleCredentials)) {
- getHeaders = googleCredentials.getRequestHeaders(options.service_url);
- } else {
- getHeaders = new Promise((resolve, reject) => {
- googleCredentials.getRequestMetadata(
- options.service_url,
- (err, headers) => {
- if (err) {
- reject(err);
- return;
- }
- if (!headers) {
- reject(new Error('Headers not set by metadata plugin'));
- return;
- }
- resolve(headers);
- }
- );
- });
- }
- getHeaders.then(
- headers => {
- const metadata = new Metadata();
- for (const key of Object.keys(headers)) {
- metadata.add(key, headers[key]);
- }
- callback(null, metadata);
- },
- err => {
- callback(err);
- }
- );
- });
- }
-
- static createEmpty(): CallCredentials {
- return new EmptyCallCredentials();
- }
-}
-
-class ComposedCallCredentials extends CallCredentials {
- constructor(private creds: CallCredentials[]) {
- super();
- }
-
- async generateMetadata(options: CallMetadataOptions): Promise {
- const base: Metadata = new Metadata();
- const generated: Metadata[] = await Promise.all(
- this.creds.map(cred => cred.generateMetadata(options))
- );
- for (const gen of generated) {
- base.merge(gen);
- }
- return base;
- }
-
- compose(other: CallCredentials): CallCredentials {
- return new ComposedCallCredentials(this.creds.concat([other]));
- }
-
- _equals(other: CallCredentials): boolean {
- if (this === other) {
- return true;
- }
- if (other instanceof ComposedCallCredentials) {
- return this.creds.every((value, index) =>
- value._equals(other.creds[index])
- );
- } else {
- return false;
- }
- }
-}
-
-class SingleCallCredentials extends CallCredentials {
- constructor(private metadataGenerator: CallMetadataGenerator) {
- super();
- }
-
- generateMetadata(options: CallMetadataOptions): Promise {
- return new Promise((resolve, reject) => {
- this.metadataGenerator(options, (err, metadata) => {
- if (metadata !== undefined) {
- resolve(metadata);
- } else {
- reject(err);
- }
- });
- });
- }
-
- compose(other: CallCredentials): CallCredentials {
- return new ComposedCallCredentials([this, other]);
- }
-
- _equals(other: CallCredentials): boolean {
- if (this === other) {
- return true;
- }
- if (other instanceof SingleCallCredentials) {
- return this.metadataGenerator === other.metadataGenerator;
- } else {
- return false;
- }
- }
-}
-
-class EmptyCallCredentials extends CallCredentials {
- generateMetadata(options: CallMetadataOptions): Promise {
- return Promise.resolve(new Metadata());
- }
-
- compose(other: CallCredentials): CallCredentials {
- return other;
- }
-
- _equals(other: CallCredentials): boolean {
- return other instanceof EmptyCallCredentials;
- }
-}
diff --git a/node_modules/@grpc/grpc-js/src/call-interface.ts b/node_modules/@grpc/grpc-js/src/call-interface.ts
deleted file mode 100644
index 637228c..0000000
--- a/node_modules/@grpc/grpc-js/src/call-interface.ts
+++ /dev/null
@@ -1,208 +0,0 @@
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-import { AuthContext } from './auth-context';
-import { CallCredentials } from './call-credentials';
-import { Status } from './constants';
-import { Deadline } from './deadline';
-import { Metadata } from './metadata';
-import { ServerSurfaceCall } from './server-call';
-
-export interface CallStreamOptions {
- deadline: Deadline;
- flags: number;
- host: string;
- parentCall: ServerSurfaceCall | null;
-}
-
-export type PartialCallStreamOptions = Partial;
-
-export interface StatusObject {
- code: Status;
- details: string;
- metadata: Metadata;
-}
-
-export type PartialStatusObject = Pick & {
- metadata?: Metadata | null | undefined;
-};
-
-export interface StatusOrOk {
- ok: true;
- value: T;
-}
-
-export interface StatusOrError {
- ok: false;
- error: StatusObject;
-}
-
-export type StatusOr = StatusOrOk | StatusOrError;
-
-export function statusOrFromValue(value: T): StatusOr {
- return {
- ok: true,
- value: value
- };
-}
-
-export function statusOrFromError(error: PartialStatusObject): StatusOr {
- return {
- ok: false,
- error: {
- ...error,
- metadata: error.metadata ?? new Metadata()
- }
- };
-}
-
-export const enum WriteFlags {
- BufferHint = 1,
- NoCompress = 2,
- WriteThrough = 4,
-}
-
-export interface WriteObject {
- message: Buffer;
- flags?: number;
-}
-
-export interface MetadataListener {
- (metadata: Metadata, next: (metadata: Metadata) => void): void;
-}
-
-export interface MessageListener {
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- (message: any, next: (message: any) => void): void;
-}
-
-export interface StatusListener {
- (status: StatusObject, next: (status: StatusObject) => void): void;
-}
-
-export interface FullListener {
- onReceiveMetadata: MetadataListener;
- onReceiveMessage: MessageListener;
- onReceiveStatus: StatusListener;
-}
-
-export type Listener = Partial;
-
-/**
- * An object with methods for handling the responses to a call.
- */
-export interface InterceptingListener {
- onReceiveMetadata(metadata: Metadata): void;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- onReceiveMessage(message: any): void;
- onReceiveStatus(status: StatusObject): void;
-}
-
-export function isInterceptingListener(
- listener: Listener | InterceptingListener
-): listener is InterceptingListener {
- return (
- listener.onReceiveMetadata !== undefined &&
- listener.onReceiveMetadata.length === 1
- );
-}
-
-export class InterceptingListenerImpl implements InterceptingListener {
- private processingMetadata = false;
- private hasPendingMessage = false;
- private pendingMessage: any;
- private processingMessage = false;
- private pendingStatus: StatusObject | null = null;
- constructor(
- private listener: FullListener,
- private nextListener: InterceptingListener
- ) {}
-
- private processPendingMessage() {
- if (this.hasPendingMessage) {
- this.nextListener.onReceiveMessage(this.pendingMessage);
- this.pendingMessage = null;
- this.hasPendingMessage = false;
- }
- }
-
- private processPendingStatus() {
- if (this.pendingStatus) {
- this.nextListener.onReceiveStatus(this.pendingStatus);
- }
- }
-
- onReceiveMetadata(metadata: Metadata): void {
- this.processingMetadata = true;
- this.listener.onReceiveMetadata(metadata, metadata => {
- this.processingMetadata = false;
- this.nextListener.onReceiveMetadata(metadata);
- this.processPendingMessage();
- this.processPendingStatus();
- });
- }
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- onReceiveMessage(message: any): void {
- /* If this listener processes messages asynchronously, the last message may
- * be reordered with respect to the status */
- this.processingMessage = true;
- this.listener.onReceiveMessage(message, msg => {
- this.processingMessage = false;
- if (this.processingMetadata) {
- this.pendingMessage = msg;
- this.hasPendingMessage = true;
- } else {
- this.nextListener.onReceiveMessage(msg);
- this.processPendingStatus();
- }
- });
- }
- onReceiveStatus(status: StatusObject): void {
- this.listener.onReceiveStatus(status, processedStatus => {
- if (this.processingMetadata || this.processingMessage) {
- this.pendingStatus = processedStatus;
- } else {
- this.nextListener.onReceiveStatus(processedStatus);
- }
- });
- }
-}
-
-export interface WriteCallback {
- (error?: Error | null): void;
-}
-
-export interface MessageContext {
- callback?: WriteCallback;
- flags?: number;
-}
-
-export interface Call {
- cancelWithStatus(status: Status, details: string): void;
- getPeer(): string;
- start(metadata: Metadata, listener: InterceptingListener): void;
- sendMessageWithContext(context: MessageContext, message: Buffer): void;
- startRead(): void;
- halfClose(): void;
- getCallNumber(): number;
- setCredentials(credentials: CallCredentials): void;
- getAuthContext(): AuthContext | null;
-}
-
-export interface DeadlineInfoProvider {
- getDeadlineInfo(): string[];
-}
diff --git a/node_modules/@grpc/grpc-js/src/call-number.ts b/node_modules/@grpc/grpc-js/src/call-number.ts
deleted file mode 100644
index 8c37d3f..0000000
--- a/node_modules/@grpc/grpc-js/src/call-number.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * Copyright 2022 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-let nextCallNumber = 0;
-
-export function getNextCallNumber() {
- return nextCallNumber++;
-}
diff --git a/node_modules/@grpc/grpc-js/src/call.ts b/node_modules/@grpc/grpc-js/src/call.ts
deleted file mode 100644
index 426deb6..0000000
--- a/node_modules/@grpc/grpc-js/src/call.ts
+++ /dev/null
@@ -1,218 +0,0 @@
-/*
- * Copyright 2019 gRPC authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-import { EventEmitter } from 'events';
-import { Duplex, Readable, Writable } from 'stream';
-
-import { StatusObject, MessageContext } from './call-interface';
-import { Status } from './constants';
-import { EmitterAugmentation1 } from './events';
-import { Metadata } from './metadata';
-import { ObjectReadable, ObjectWritable, WriteCallback } from './object-stream';
-import { InterceptingCallInterface } from './client-interceptors';
-import { AuthContext } from './auth-context';
-
-/**
- * A type extending the built-in Error object with additional fields.
- */
-export type ServiceError = StatusObject & Error;
-
-/**
- * A base type for all user-facing values returned by client-side method calls.
- */
-export type SurfaceCall = {
- call?: InterceptingCallInterface;
- cancel(): void;
- getPeer(): string;
- getAuthContext(): AuthContext | null;
-} & EmitterAugmentation1<'metadata', Metadata> &
- EmitterAugmentation1<'status', StatusObject> &
- EventEmitter;
-
-/**
- * A type representing the return value of a unary method call.
- */
-export type ClientUnaryCall = SurfaceCall;
-
-/**
- * A type representing the return value of a server stream method call.
- */
-export type ClientReadableStream