From 15c9c1e96cec191a124ae6425536712a421d2e62 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:50:32 +0300 Subject: [PATCH 01/30] feat: define shared extractor types --- src/types.ts | 194 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 src/types.ts diff --git a/src/types.ts b/src/types.ts new file mode 100644 index 0000000..6d330ab --- /dev/null +++ b/src/types.ts @@ -0,0 +1,194 @@ +import type { + RouteOverride as ConfigRouteOverride, + RouteOverrideParameter as ConfigRouteOverrideParameter, + ParameterLocation, +} from "./config-schema.js"; + +export const HttpMethodMap = { + get: "GET", + post: "POST", + put: "PUT", + patch: "PATCH", + del: "DELETE", +} as const; + +export type HttpMethod = (typeof HttpMethodMap)[keyof typeof HttpMethodMap]; +export type CppHttpMethod = keyof typeof HttpMethodMap; + +const PRIMITIVE_BASES = [ + "string", + "boolean", + "object", + "number", + "array", + "uint", + "integer", +] as const; + +type PrimitiveBase = (typeof PRIMITIVE_BASES)[number]; + +export type TypePrimitives = PrimitiveBase | `${PrimitiveBase}[]`; + +export type ValueType = TypePrimitives | "unknown"; + +const KNOWN_VALUE_TYPES: ReadonlySet = new Set([ + ...PRIMITIVE_BASES, + ...PRIMITIVE_BASES.map((p) => `${p}[]`), + "unknown", +]); + +export function isValueType(value: string): value is ValueType { + return value.split(" | ").every((part) => KNOWN_VALUE_TYPES.has(part)); +} + +export interface SourceLocation { + readonly filePath: string; + readonly line: number; + readonly column: number; +} + +export interface ApiDiagnostic { + readonly level: "info" | "warning" | "error"; + readonly code: string; + readonly message: string; + readonly routeKey: string | undefined; + readonly source: SourceLocation | undefined; +} + +export interface ApiParameterSpec { + readonly name: string; + readonly canonicalPath: string; + readonly location: ParameterLocation; + readonly valueType: ValueType | undefined; + readonly sources: readonly SourceLocation[]; +} + +export interface ApiRouteSpec { + readonly method: HttpMethod; + readonly pathTemplate: string; + readonly urlTemplate: string | undefined; + readonly handler: string; + readonly pathParams: readonly ApiParameterSpec[]; + readonly queryParams: readonly ApiParameterSpec[]; + readonly bodyParams: readonly ApiParameterSpec[]; + readonly source: SourceLocation; + readonly diagnostics: readonly ApiDiagnostic[]; +} + +export interface ApiSpec { + readonly rootDir: string; + readonly routeFile: string; + readonly routes: readonly ApiRouteSpec[]; + readonly diagnostics: readonly ApiDiagnostic[]; +} + +export type RouteOverrideParameter = ConfigRouteOverrideParameter; +export type RouteOverride = ConfigRouteOverride; +export type { ParameterLocation }; + +export interface DebugConfig { + readonly enabled: boolean; + readonly routeFilter: string | undefined; +} + +export interface ExtractorConfig { + readonly rootDir: string; + readonly routeFile: string; + readonly sourceBranch: string; + readonly outputPath: string; + readonly diagnosticsOutputPath: string | undefined; + readonly baseUrl: string | undefined; + readonly maxCallDepth: number; + readonly failOnDiagnostics: boolean; + readonly failOnUnresolved: boolean; + readonly blacklist: { + readonly paths: readonly string[]; + readonly params: readonly string[]; + }; + readonly includeHelpers: readonly string[]; + readonly overrides: readonly RouteOverride[]; + readonly debug: DebugConfig; +} + +export interface CliOptions { + readonly command: "extract"; + readonly configPath: string | undefined; + readonly outputPath: string | undefined; + readonly baseUrl: string | undefined; + readonly maxCallDepth: number | undefined; + readonly failOnDiagnostics: boolean | undefined; + readonly failOnUnresolved: boolean | undefined; + readonly verbose: boolean; + readonly debugRoute: string | undefined; + readonly json: boolean; +} + +export interface SemanticDiffCliOptions { + readonly command: "semantic-diff"; + readonly previousPath: string; + readonly nextPath: string; + readonly jsonOutputPath: string | undefined; + readonly markdownOutputPath: string | undefined; +} + +export type CommandLineOptions = CliOptions | SemanticDiffCliOptions; + +export interface RouteRegistration { + readonly method: HttpMethod; + readonly pathTemplate: string; + readonly handler: string; + readonly source: SourceLocation; +} + +export interface FunctionParameter { + readonly typeText: string; + readonly name: string; +} + +export interface FunctionDefinition { + readonly name: string; + readonly filePath: string; + readonly declaration: string; + readonly body: string; + readonly fullText: string; + readonly source: SourceLocation; + readonly parameters: readonly FunctionParameter[]; +} + +export interface AliasTarget { + readonly location: + | ParameterLocation + | "params-root" + | "query-root" + | "body-root"; + readonly segments: readonly string[]; +} + +export interface ExtractionContext { + readonly aliasTargets: ReadonlyMap; + readonly constants: ReadonlyMap; + readonly functions: ReadonlyMap; + readonly diagnostics: DiagnosticCollector; + readonly maxCallDepth: number; + readonly pathParamNames: ReadonlySet; +} + +export interface CollectedParameter { + readonly location: ParameterLocation; + readonly canonicalPath: string; + readonly valueType: ValueType | undefined; + readonly source: SourceLocation; +} + +export interface RouteExtraction { + readonly route: RouteRegistration; + readonly pathParams: readonly CollectedParameter[]; + readonly queryParams: readonly CollectedParameter[]; + readonly bodyParams: readonly CollectedParameter[]; + readonly diagnostics: readonly ApiDiagnostic[]; +} + +export interface DiagnosticCollector { + add(diagnostic: ApiDiagnostic): void; + snapshot(): readonly ApiDiagnostic[]; +} From 4a1dffdfb709bf4408f214aedb9f91b70e057ff9 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:54 +0300 Subject: [PATCH 02/30] chore: update package scripts and deps --- package.json | 53 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 6afc336..22326cf 100644 --- a/package.json +++ b/package.json @@ -1,30 +1,41 @@ { - "name": "typesense-api-spec", + "name": "typesense-api-extractor", "version": "1.0.0", - "description": "Typesense OpenAPI spec", - "keywords": [ - "openapi", - "typesense", - "search", - "api" - ], - "homepage": "https://github.com/typesense/typesense-api-spec#readme", - "bugs": { - "url": "https://github.com/typesense/typesense-api-spec/issues" + "type": "module", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } }, - "repository": { - "type": "git", - "url": "git+https://github.com/typesense/typesense-api-spec.git" + "bin": { + "typesense-api-extractor": "./dist/cli.js" }, - "license": "GPL-3.0", - "author": "typesense", - "type": "commonjs", - "main": "index.js", "scripts": { - "lint": "redocly lint openapi.yml", - "bundle": "redocly bundle openapi.yml --output bundled-openapi.yml" + "build": "tsc -p tsconfig.json", + "spec:lint": "redocly lint openapi.yml", + "spec:bundle": "redocly bundle openapi.yml --output bundled-openapi.yml", + "extract": "tsx src/cli.ts extract", + "semantic-diff": "tsx src/cli.ts semantic-diff", + "check": "tsc -p tsconfig.json --noEmit", + "lint": "eslint ." }, "dependencies": { - "@redocly/cli": "^1.34.4" + "cosmiconfig": "^9.0.0", + "octokit": "^5.0.5", + "@redocly/cli": "^1.34.4", + "tree-sitter": "^0.22.4", + "tree-sitter-cpp": "^0.23.4", + "zod": "^3.23.8" + }, + "devDependencies": { + "@eslint/js": "^9.39.1", + "@types/node": "^22.0.0", + "eslint": "^9.39.1", + "tsx": "^4.19.0", + "typescript": "^5.5.0", + "typescript-eslint": "^8.46.2" } } From fd042961152627600569481fee2a4d494d985693 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:57 +0300 Subject: [PATCH 03/30] chore: refresh lockfile --- package-lock.json | 4135 +++++++++++++++++++++------------------------ 1 file changed, 1947 insertions(+), 2188 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9c4f9af..0915dfe 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,24 +1,38 @@ { - "name": "typesense-api-spec", + "name": "typesense-api-extractor", "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "typesense-api-spec", + "name": "typesense-api-extractor", "version": "1.0.0", - "license": "GPL-3.0", "dependencies": { - "@redocly/cli": "^1.34.4" + "cosmiconfig": "^9.0.0", + "octokit": "^5.0.5", + "tree-sitter": "^0.22.4", + "tree-sitter-cpp": "^0.23.4", + "zod": "^3.23.8" + }, + "bin": { + "typesense-api-extractor": "dist/cli.js" + }, + "devDependencies": { + "@eslint/js": "^9.39.1", + "@types/node": "^22.0.0", + "eslint": "^9.39.1", + "tsx": "^4.19.0", + "typescript": "^5.5.0", + "typescript-eslint": "^8.46.2" } }, "node_modules/@babel/code-frame": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.27.1.tgz", - "integrity": "sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==", + "version": "7.29.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.0.tgz", + "integrity": "sha512-9NhCeYjq9+3uxgdtp20LSiJXJvN0FeCtNGpJxuMFZ1Kv3cWUNb6DOhJwUvcVCzKGR66cw4njwM6hrJLqgOwbcw==", "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.27.1", + "@babel/helper-validator-identifier": "^7.28.5", "js-tokens": "^4.0.0", "picocolors": "^1.1.1" }, @@ -27,2634 +41,2371 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.27.1", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", - "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", + "version": "7.28.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz", + "integrity": "sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/runtime": { - "version": "7.27.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.27.6.tgz", - "integrity": "sha512-vbavdySgbTTrmFE+EsiqUTzlOr5bzlnJtUv9PynGCAKvfQqjIXbvFdumPM/GxMDfyuGMJaJAU6TO4zc1Jf1i8Q==", + "node_modules/@esbuild/aix-ppc64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz", + "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==", + "cpu": [ + "ppc64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "aix" + ], "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@emotion/is-prop-valid": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz", - "integrity": "sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw==", - "license": "MIT", - "dependencies": { - "@emotion/memoize": "^0.8.1" + "node": ">=18" } }, - "node_modules/@emotion/memoize": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.8.1.tgz", - "integrity": "sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA==", - "license": "MIT" - }, - "node_modules/@emotion/unitless": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz", - "integrity": "sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ==", - "license": "MIT" - }, - "node_modules/@exodus/schemasafe": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@exodus/schemasafe/-/schemasafe-1.3.0.tgz", - "integrity": "sha512-5Aap/GaRupgNx/feGBwLLTVv8OQFfv3pq2lPRzPg9R+IOBnDgghTGW7l7EuVXOvg5cc/xSAlRW8rBrjIC3Nvqw==", - "license": "MIT" - }, - "node_modules/@faker-js/faker": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-7.6.0.tgz", - "integrity": "sha512-XK6BTq1NDMo9Xqw/YkYyGjSsg44fbNwYRx7QK2CuoQgyy+f1rrTDHoExVM5PsyXCtfl2vs2vVJ0MN0yN6LppRw==", + "node_modules/@esbuild/android-arm": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz", + "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==", + "cpu": [ + "arm" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">=14.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/@humanwhocodes/momoa": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@humanwhocodes/momoa/-/momoa-2.0.4.tgz", - "integrity": "sha512-RE815I4arJFtt+FVeU1Tgp9/Xvecacji8w/V6XtXsWWH/wz/eNkNbhb+ny/+PlVZjV0rxQpRSQKNKE3lcktHEA==", - "license": "Apache-2.0", - "engines": { - "node": ">=10.10.0" + "node": ">=18" } }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "node_modules/@esbuild/android-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz", + "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "@sinclair/typebox": "^0.27.8" - }, + "optional": true, + "os": [ + "android" + ], "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18" } }, - "node_modules/@jsep-plugin/assignment": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@jsep-plugin/assignment/-/assignment-1.3.0.tgz", - "integrity": "sha512-VVgV+CXrhbMI3aSusQyclHkenWSAm95WaiKrMxRFam3JSUiIaQjoMIw2sEs/OX4XifnqeQUN4DYbJjlA8EfktQ==", + "node_modules/@esbuild/android-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz", + "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "android" + ], "engines": { - "node": ">= 10.16.0" - }, - "peerDependencies": { - "jsep": "^0.4.0||^1.0.0" + "node": ">=18" } }, - "node_modules/@jsep-plugin/regex": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/@jsep-plugin/regex/-/regex-1.0.4.tgz", - "integrity": "sha512-q7qL4Mgjs1vByCaTnDFcBnV9HS7GVPJX5vyVoCgZHNSC9rjwIlmbXG5sUuorR5ndfHAIlJ8pVStxvjXHbNvtUg==", + "node_modules/@esbuild/darwin-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz", + "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">= 10.16.0" - }, - "peerDependencies": { - "jsep": "^0.4.0||^1.0.0" - } - }, - "node_modules/@opentelemetry/api": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api/-/api-1.9.0.tgz", - "integrity": "sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==", - "license": "Apache-2.0", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/@opentelemetry/api-logs": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/api-logs/-/api-logs-0.53.0.tgz", - "integrity": "sha512-8HArjKx+RaAI8uEIgcORbZIPklyh1YLjPSBus8hjRmvLi6DeFzgOcdZ7KwPabKj8mXF8dX0hyfAyGfycz0DbFw==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api": "^1.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@opentelemetry/context-async-hooks": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/context-async-hooks/-/context-async-hooks-1.26.0.tgz", - "integrity": "sha512-HedpXXYzzbaoutw6DFLWLDket2FwLkLpil4hGCZ1xYEIMTcivdfwEOISgdbLEWyG3HW52gTq2V9mOVJrONgiwg==", - "license": "Apache-2.0", - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/core": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/core/-/core-1.26.0.tgz", - "integrity": "sha512-1iKxXXE8415Cdv0yjG3G6hQnB5eVEsJce3QaawX8SjDn0mAS0ZM8fAbZZJD4ajvhC15cePvosSCut404KrIIvQ==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/semantic-conventions": "1.27.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/exporter-trace-otlp-http": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/exporter-trace-otlp-http/-/exporter-trace-otlp-http-0.53.0.tgz", - "integrity": "sha512-m7F5ZTq+V9mKGWYpX8EnZ7NjoqAU7VemQ1E2HAG+W/u0wpY1x0OmbxAXfGKFHCspdJk8UKlwPGrpcB8nay3P8A==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "1.26.0", - "@opentelemetry/otlp-exporter-base": "0.53.0", - "@opentelemetry/otlp-transformer": "0.53.0", - "@opentelemetry/resources": "1.26.0", - "@opentelemetry/sdk-trace-base": "1.26.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/otlp-exporter-base": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-exporter-base/-/otlp-exporter-base-0.53.0.tgz", - "integrity": "sha512-UCWPreGQEhD6FjBaeDuXhiMf6kkBODF0ZQzrk/tuQcaVDJ+dDQ/xhJp192H9yWnKxVpEjFrSSLnpqmX4VwX+eA==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "1.26.0", - "@opentelemetry/otlp-transformer": "0.53.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.0.0" - } - }, - "node_modules/@opentelemetry/otlp-transformer": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/otlp-transformer/-/otlp-transformer-0.53.0.tgz", - "integrity": "sha512-rM0sDA9HD8dluwuBxLetUmoqGJKSAbWenwD65KY9iZhUxdBHRLrIdrABfNDP7aiTjcgK8XFyTn5fhDz7N+W6DA==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api-logs": "0.53.0", - "@opentelemetry/core": "1.26.0", - "@opentelemetry/resources": "1.26.0", - "@opentelemetry/sdk-logs": "0.53.0", - "@opentelemetry/sdk-metrics": "1.26.0", - "@opentelemetry/sdk-trace-base": "1.26.0", - "protobufjs": "^7.3.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": "^1.3.0" - } - }, - "node_modules/@opentelemetry/propagator-b3": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-b3/-/propagator-b3-1.26.0.tgz", - "integrity": "sha512-vvVkQLQ/lGGyEy9GT8uFnI047pajSOVnZI2poJqVGD3nJ+B9sFGdlHNnQKophE3lHfnIH0pw2ubrCTjZCgIj+Q==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "1.26.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/propagator-jaeger": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/propagator-jaeger/-/propagator-jaeger-1.26.0.tgz", - "integrity": "sha512-DelFGkCdaxA1C/QA0Xilszfr0t4YbGd3DjxiCDPh34lfnFr+VkkrjV9S8ZTJvAzfdKERXhfOxIKBoGPJwoSz7Q==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "1.26.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/resources": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/resources/-/resources-1.26.0.tgz", - "integrity": "sha512-CPNYchBE7MBecCSVy0HKpUISEeJOniWqcHaAHpmasZ3j9o6V3AyBzhRc90jdmemq0HOxDr6ylhUbDhBqqPpeNw==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "1.26.0", - "@opentelemetry/semantic-conventions": "1.27.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-logs": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-logs/-/sdk-logs-0.53.0.tgz", - "integrity": "sha512-dhSisnEgIj/vJZXZV6f6KcTnyLDx/VuQ6l3ejuZpMpPlh9S1qMHiZU9NMmOkVkwwHkMy3G6mEBwdP23vUZVr4g==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/api-logs": "0.53.0", - "@opentelemetry/core": "1.26.0", - "@opentelemetry/resources": "1.26.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.4.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-metrics": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-metrics/-/sdk-metrics-1.26.0.tgz", - "integrity": "sha512-0SvDXmou/JjzSDOjUmetAAvcKQW6ZrvosU0rkbDGpXvvZN+pQF6JbK/Kd4hNdK4q/22yeruqvukXEJyySTzyTQ==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "1.26.0", - "@opentelemetry/resources": "1.26.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.3.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-base": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-base/-/sdk-trace-base-1.26.0.tgz", - "integrity": "sha512-olWQldtvbK4v22ymrKLbIcBi9L2SpMO84sCPY54IVsJhP9fRsxJT194C/AVaAuJzLE30EdhhM1VmvVYR7az+cw==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/core": "1.26.0", - "@opentelemetry/resources": "1.26.0", - "@opentelemetry/semantic-conventions": "1.27.0" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/sdk-trace-node": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/sdk-trace-node/-/sdk-trace-node-1.26.0.tgz", - "integrity": "sha512-Fj5IVKrj0yeUwlewCRwzOVcr5avTuNnMHWf7GPc1t6WaT78J6CJyF3saZ/0RkZfdeNO8IcBl/bNcWMVZBMRW8Q==", - "license": "Apache-2.0", - "dependencies": { - "@opentelemetry/context-async-hooks": "1.26.0", - "@opentelemetry/core": "1.26.0", - "@opentelemetry/propagator-b3": "1.26.0", - "@opentelemetry/propagator-jaeger": "1.26.0", - "@opentelemetry/sdk-trace-base": "1.26.0", - "semver": "^7.5.2" - }, - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@opentelemetry/api": ">=1.0.0 <1.10.0" - } - }, - "node_modules/@opentelemetry/semantic-conventions": { - "version": "1.27.0", - "resolved": "https://registry.npmjs.org/@opentelemetry/semantic-conventions/-/semantic-conventions-1.27.0.tgz", - "integrity": "sha512-sAay1RrB+ONOem0OZanAR1ZI/k7yDpnOQSQmTMuGImUQb2y8EbSaCJ94FQluM74xoU03vlb2d2U90hZluL6nQg==", - "license": "Apache-2.0", - "engines": { - "node": ">=14" - } - }, - "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.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==", - "license": "BSD-3-Clause" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", - "license": "BSD-3-Clause", - "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" + "node": ">=18" } }, - "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.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", - "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.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", - "license": "BSD-3-Clause" - }, - "node_modules/@redocly/ajv": { - "version": "8.11.2", - "resolved": "https://registry.npmjs.org/@redocly/ajv/-/ajv-8.11.2.tgz", - "integrity": "sha512-io1JpnwtIcvojV7QKDUSIuMN/ikdOUd1ReEnUnMKGfDVridQZ31J0MmIuqwuRjWDZfmvr+Q0MqCcfHM2gTivOg==", + "node_modules/@esbuild/darwin-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz", + "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js-replace": "^1.0.1" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" - } - }, - "node_modules/@redocly/cli": { - "version": "1.34.4", - "resolved": "https://registry.npmjs.org/@redocly/cli/-/cli-1.34.4.tgz", - "integrity": "sha512-seH/GgrjSB1EeOsgJ/4Ct6Jk2N7sh12POn/7G8UQFARMyUMJpe1oHtBwT2ndfp4EFCpgBAbZ/82Iw6dwczNxEA==", - "license": "MIT", - "dependencies": { - "@opentelemetry/api": "1.9.0", - "@opentelemetry/exporter-trace-otlp-http": "0.53.0", - "@opentelemetry/resources": "1.26.0", - "@opentelemetry/sdk-trace-node": "1.26.0", - "@opentelemetry/semantic-conventions": "1.27.0", - "@redocly/config": "^0.22.0", - "@redocly/openapi-core": "1.34.4", - "@redocly/respect-core": "1.34.4", - "abort-controller": "^3.0.0", - "chokidar": "^3.5.1", - "colorette": "^1.2.0", - "core-js": "^3.32.1", - "dotenv": "16.4.7", - "form-data": "^4.0.0", - "get-port-please": "^3.0.1", - "glob": "^7.1.6", - "handlebars": "^4.7.6", - "mobx": "^6.0.4", - "pluralize": "^8.0.0", - "react": "^17.0.0 || ^18.2.0 || ^19.0.0", - "react-dom": "^17.0.0 || ^18.2.0 || ^19.0.0", - "redoc": "2.5.0", - "semver": "^7.5.2", - "simple-websocket": "^9.0.0", - "styled-components": "^6.0.7", - "yargs": "17.0.1" - }, - "bin": { - "openapi": "bin/cli.js", - "redocly": "bin/cli.js" - }, + "optional": true, + "os": [ + "darwin" + ], "engines": { - "node": ">=18.17.0", - "npm": ">=9.5.0" + "node": ">=18" } }, - "node_modules/@redocly/config": { - "version": "0.22.2", - "resolved": "https://registry.npmjs.org/@redocly/config/-/config-0.22.2.tgz", - "integrity": "sha512-roRDai8/zr2S9YfmzUfNhKjOF0NdcOIqF7bhf4MVC5UxpjIysDjyudvlAiVbpPHp3eDRWbdzUgtkK1a7YiDNyQ==", - "license": "MIT" - }, - "node_modules/@redocly/openapi-core": { - "version": "1.34.4", - "resolved": "https://registry.npmjs.org/@redocly/openapi-core/-/openapi-core-1.34.4.tgz", - "integrity": "sha512-hf53xEgpXIgWl3b275PgZU3OTpYh1RoD2LHdIfQ1JzBNTWsiNKczTEsI/4Tmh2N1oq9YcphhSMyk3lDh85oDjg==", - "license": "MIT", - "dependencies": { - "@redocly/ajv": "^8.11.2", - "@redocly/config": "^0.22.0", - "colorette": "^1.2.0", - "https-proxy-agent": "^7.0.5", - "js-levenshtein": "^1.1.6", - "js-yaml": "^4.1.0", - "minimatch": "^5.0.1", - "pluralize": "^8.0.0", - "yaml-ast-parser": "0.0.43" - }, - "engines": { - "node": ">=18.17.0", - "npm": ">=9.5.0" - } - }, - "node_modules/@redocly/respect-core": { - "version": "1.34.4", - "resolved": "https://registry.npmjs.org/@redocly/respect-core/-/respect-core-1.34.4.tgz", - "integrity": "sha512-MitKyKyQpsizA4qCVv+MjXL4WltfhFQAoiKiAzrVR1Kusro3VhYb6yJuzoXjiJhR0ukLP5QOP19Vcs7qmj9dZg==", - "license": "MIT", - "dependencies": { - "@faker-js/faker": "^7.6.0", - "@redocly/ajv": "8.11.2", - "@redocly/openapi-core": "1.34.4", - "better-ajv-errors": "^1.2.0", - "colorette": "^2.0.20", - "concat-stream": "^2.0.0", - "cookie": "^0.7.2", - "dotenv": "16.4.7", - "form-data": "4.0.0", - "jest-diff": "^29.3.1", - "jest-matcher-utils": "^29.3.1", - "js-yaml": "4.1.0", - "json-pointer": "^0.6.2", - "jsonpath-plus": "^10.0.6", - "open": "^10.1.0", - "openapi-sampler": "^1.6.1", - "outdent": "^0.8.0", - "set-cookie-parser": "^2.3.5", - "undici": "^6.21.1" - }, - "engines": { - "node": ">=18.17.0", - "npm": ">=9.5.0" - } - }, - "node_modules/@redocly/respect-core/node_modules/colorette": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.20.tgz", - "integrity": "sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==", - "license": "MIT" - }, - "node_modules/@redocly/respect-core/node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz", + "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": ">= 6" - } - }, - "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "license": "MIT" - }, - "node_modules/@types/json-schema": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", - "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "license": "MIT" - }, - "node_modules/@types/node": { - "version": "24.0.12", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.0.12.tgz", - "integrity": "sha512-LtOrbvDf5ndC9Xi+4QZjVL0woFymF/xSTKZKPgrrl7H7XoeDvnD+E2IclKVDyaK9UM756W/3BXqSU+JEHopA9g==", - "license": "MIT", - "dependencies": { - "undici-types": "~7.8.0" + "node": ">=18" } }, - "node_modules/@types/stylis": { - "version": "4.2.5", - "resolved": "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.5.tgz", - "integrity": "sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw==", - "license": "MIT" - }, - "node_modules/@types/trusted-types": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", - "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", - "license": "MIT", - "optional": true - }, - "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==", + "node_modules/@esbuild/freebsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz", + "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "event-target-shim": "^5.0.0" - }, + "optional": true, + "os": [ + "freebsd" + ], "engines": { - "node": ">=6.5" + "node": ">=18" } }, - "node_modules/agent-base": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.4.tgz", - "integrity": "sha512-MnA+YT8fwfJPgBx3m60MNqakm30XOkyIoH1y6huTQvC0PwZG7ki8NacLBcrPbNoo8vEZy7Jpuk7+jMO+CUovTQ==", + "node_modules/@esbuild/linux-arm": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz", + "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==", + "cpu": [ + "arm" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 14" - } - }, - "node_modules/ajv": { - "version": "8.17.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.17.1.tgz", - "integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==", - "license": "MIT", - "peer": true, - "dependencies": { - "fast-deep-equal": "^3.1.3", - "fast-uri": "^3.0.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/epoberezkin" + "node": ">=18" } }, - "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==", + "node_modules/@esbuild/linux-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz", + "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=8" + "node": ">=18" } }, - "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==", + "node_modules/@esbuild/linux-ia32": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz", + "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==", + "cpu": [ + "ia32" + ], + "dev": true, "license": "MIT", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "license": "ISC", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "license": "Python-2.0" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "license": "MIT" - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "license": "MIT" - }, - "node_modules/better-ajv-errors": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/better-ajv-errors/-/better-ajv-errors-1.2.0.tgz", - "integrity": "sha512-UW+IsFycygIo7bclP9h5ugkNH8EjCSgqyFB/yQ4Hqqa1OEYDtb0uFIkYE0b6+CjkgJYVM5UKI/pJPxjYe9EZlA==", - "license": "Apache-2.0", - "dependencies": { - "@babel/code-frame": "^7.16.0", - "@humanwhocodes/momoa": "^2.0.2", - "chalk": "^4.1.2", - "jsonpointer": "^5.0.0", - "leven": "^3.1.0 < 4" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 12.13.0" - }, - "peerDependencies": { - "ajv": "4.11.8 - 8" + "node": ">=18" } }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", + "node_modules/@esbuild/linux-loong64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz", + "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==", + "cpu": [ + "loong64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=18" } }, - "node_modules/brace-expansion": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", - "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "node_modules/@esbuild/linux-mips64el": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz", + "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==", + "cpu": [ + "mips64el" + ], + "dev": true, "license": "MIT", - "dependencies": { - "balanced-match": "^1.0.0" + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "node_modules/@esbuild/linux-ppc64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz", + "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==", + "cpu": [ + "ppc64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">=8" + "node": ">=18" } }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "license": "MIT" - }, - "node_modules/bundle-name": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-4.1.0.tgz", - "integrity": "sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==", + "node_modules/@esbuild/linux-riscv64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz", + "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==", + "cpu": [ + "riscv64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "run-applescript": "^7.0.0" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "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==", + "node_modules/@esbuild/linux-s390x": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz", + "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==", + "cpu": [ + "s390x" + ], + "dev": true, "license": "MIT", - "dependencies": { - "es-errors": "^1.3.0", - "function-bind": "^1.1.2" - }, + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 0.4" + "node": ">=18" } }, - "node_modules/call-me-maybe": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", - "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", - "license": "MIT" - }, - "node_modules/camelize": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/camelize/-/camelize-1.0.1.tgz", - "integrity": "sha512-dU+Tx2fsypxTgtLoE36npi3UqcjSSMNYfkqgmoEhtZrraP5VWq0K7FkWVTYa8eMPtnU/G2txVsfdCJTn9uzpuQ==", + "node_modules/@esbuild/linux-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz", + "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" } }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz", + "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" + "node": ">=18" } }, - "node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "node_modules/@esbuild/netbsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz", + "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" - }, + "optional": true, + "os": [ + "netbsd" + ], "engines": { - "node": ">= 8.10.0" - }, - "funding": { - "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/classnames": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", - "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==", - "license": "MIT" - }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "license": "ISC", - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" + "node": ">=18" } }, - "node_modules/clsx": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", - "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "node_modules/@esbuild/openbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz", + "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==", + "cpu": [ + "arm64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], "engines": { - "node": ">=6" + "node": ">=18" } }, - "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==", + "node_modules/@esbuild/openbsd-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz", + "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "color-name": "~1.1.4" - }, + "optional": true, + "os": [ + "openbsd" + ], "engines": { - "node": ">=7.0.0" + "node": ">=18" } }, - "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/colorette": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", - "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==", - "license": "MIT" + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz", + "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "node_modules/@esbuild/sunos-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz", + "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", - "dependencies": { - "delayed-stream": "~1.0.0" - }, + "optional": true, + "os": [ + "sunos" + ], "engines": { - "node": ">= 0.8" + "node": ">=18" } }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "license": "MIT" + "node_modules/@esbuild/win32-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz", + "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } }, - "node_modules/concat-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", - "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", - "engines": [ - "node >= 6.0" + "node_modules/@esbuild/win32-ia32": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz", + "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==", + "cpu": [ + "ia32" ], + "dev": true, "license": "MIT", - "dependencies": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.0.2", - "typedarray": "^0.0.6" + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" } }, - "node_modules/cookie": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", - "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", + "node_modules/@esbuild/win32-x64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz", + "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==", + "cpu": [ + "x64" + ], + "dev": true, "license": "MIT", + "optional": true, + "os": [ + "win32" + ], "engines": { - "node": ">= 0.6" + "node": ">=18" } }, - "node_modules/core-js": { - "version": "3.44.0", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.44.0.tgz", - "integrity": "sha512-aFCtd4l6GvAXwVEh3XbbVqJGHDJt0OZRa+5ePGx3LLwi12WfexqQxcsohb2wgsa/92xtl19Hd66G/L+TaAxDMw==", - "hasInstallScript": true, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", + "dev": true, "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.4.3" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" + "url": "https://opencollective.com/eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, - "node_modules/css-color-keywords": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-color-keywords/-/css-color-keywords-1.0.0.tgz", - "integrity": "sha512-FyyrDHZKEjXDpNJYvVsV960FiqQyXc/LlYmsxl2BcdMb2WPx0OGRVgTg55rPSyLSNMqP52R9r8geSp7apN3Ofg==", - "license": "ISC", + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=4" + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/css-to-react-native": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.2.0.tgz", - "integrity": "sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ==", + "node_modules/@eslint-community/regexpp": { + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", + "dev": true, "license": "MIT", - "dependencies": { - "camelize": "^1.0.0", - "css-color-keywords": "^1.0.0", - "postcss-value-parser": "^4.0.2" + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, - "node_modules/csstype": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz", - "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==", - "license": "MIT" - }, - "node_modules/debug": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.1.tgz", - "integrity": "sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==", - "license": "MIT", + "node_modules/@eslint/config-array": { + "version": "0.21.2", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.2.tgz", + "integrity": "sha512-nJl2KGTlrf9GjLimgIru+V/mzgSK0ABCDQRvxw5BjURL7WfH5uoWmizbH7QB6MmnMBd8cIC9uceWnezL1VZWWw==", + "dev": true, + "license": "Apache-2.0", "dependencies": { - "ms": "^2.1.3" + "@eslint/object-schema": "^2.1.7", + "debug": "^4.3.1", + "minimatch": "^3.1.5" }, "engines": { - "node": ">=6.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/config-helpers": { + "version": "0.4.2", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz", + "integrity": "sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0" }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/decko": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decko/-/decko-1.2.0.tgz", - "integrity": "sha512-m8FnyHXV1QX+S1cl+KPFDIl6NMkxtKsy6+U/aYyjrOqWMuwAwYWu7ePqrsUHtDR5Y8Yk2pi/KIDSgF+vT4cPOQ==" + "node_modules/@eslint/core": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz", + "integrity": "sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@types/json-schema": "^7.0.15" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } }, - "node_modules/default-browser": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/default-browser/-/default-browser-5.2.1.tgz", - "integrity": "sha512-WY/3TUME0x3KPYdRRxEJJvXRHV4PyPoUsxtZa78lwItwRQRHhd2U9xOscaT/YTf8uCXIAjeJOFBVEh/7FtD8Xg==", + "node_modules/@eslint/eslintrc": { + "version": "3.3.5", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.5.tgz", + "integrity": "sha512-4IlJx0X0qftVsN5E+/vGujTRIFtwuLbNsVUe7TO6zYPDR1O6nFwvwhIKEKSrl6dZchmYBITazxKoUYOjdtjlRg==", + "dev": true, "license": "MIT", "dependencies": { - "bundle-name": "^4.1.0", - "default-browser-id": "^5.0.0" + "ajv": "^6.14.0", + "debug": "^4.3.2", + "espree": "^10.0.1", + "globals": "^14.0.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.1", + "minimatch": "^3.1.5", + "strip-json-comments": "^3.1.1" }, "engines": { - "node": ">=18" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://opencollective.com/eslint" } }, - "node_modules/default-browser-id": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/default-browser-id/-/default-browser-id-5.0.0.tgz", - "integrity": "sha512-A6p/pu/6fyBcA1TRz/GqWYPViplrftcW2gZC9q79ngNCKAeR/X3gcEdXQHl4KNXV+3wgIJ1CPkJQ3IHM6lcsyA==", + "node_modules/@eslint/js": { + "version": "9.39.4", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.39.4.tgz", + "integrity": "sha512-nE7DEIchvtiFTwBw4Lfbu59PG+kCofhjsKaCWzxTpt4lfRjRMqG6uMBzKXuEcyXhOHoUp9riAm7/aWYGhXZ9cw==", + "dev": true, "license": "MIT", "engines": { - "node": ">=18" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://eslint.org/donate" } }, - "node_modules/define-lazy-prop": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-3.0.0.tgz", - "integrity": "sha512-N+MeXYoqr3pOgn8xfyRPREN7gHakLYjhsHhWGT3fWAiL4IkAt0iDw14QiiEm2bE30c5XX5q0FtAA3CK5f9/BUg==", - "license": "MIT", + "node_modules/@eslint/object-schema": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.7.tgz", + "integrity": "sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=12" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + } + }, + "node_modules/@eslint/plugin-kit": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz", + "integrity": "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@eslint/core": "^0.17.0", + "levn": "^0.4.1" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "license": "MIT", + "node_modules/@humanfs/core": { + "version": "0.19.1", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", + "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=0.4.0" + "node": ">=18.18.0" } }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "license": "MIT", + "node_modules/@humanfs/node": { + "version": "0.16.7", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.7.tgz", + "integrity": "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/core": "^0.19.1", + "@humanwhocodes/retry": "^0.4.0" + }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=18.18.0" } }, - "node_modules/dompurify": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-3.2.6.tgz", - "integrity": "sha512-/2GogDQlohXPZe6D6NOgQvXLPSYBqIWMnZ8zzOhn09REE4eyAzb+Hed3jhoM9OkuaJ8P6ZGTTVWQKAi8ieIzfQ==", - "license": "(MPL-2.0 OR Apache-2.0)", - "optionalDependencies": { - "@types/trusted-types": "^2.0.7" + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" } }, - "node_modules/dotenv": { - "version": "16.4.7", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz", - "integrity": "sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==", - "license": "BSD-2-Clause", + "node_modules/@humanwhocodes/retry": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=12" + "node": ">=18.18" }, "funding": { - "url": "https://dotenvx.com" + "type": "github", + "url": "https://github.com/sponsors/nzakas" } }, - "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==", + "node_modules/@octokit/app": { + "version": "16.1.2", + "resolved": "https://registry.npmjs.org/@octokit/app/-/app-16.1.2.tgz", + "integrity": "sha512-8j7sEpUYVj18dxvh0KWj6W/l6uAiVRBl1JBDVRqH1VHKAO/G5eRVl4yEoYACjakWers1DjUkcCHyJNQK47JqyQ==", "license": "MIT", "dependencies": { - "call-bind-apply-helpers": "^1.0.1", - "es-errors": "^1.3.0", - "gopd": "^1.2.0" + "@octokit/auth-app": "^8.1.2", + "@octokit/auth-unauthenticated": "^7.0.3", + "@octokit/core": "^7.0.6", + "@octokit/oauth-app": "^8.0.3", + "@octokit/plugin-paginate-rest": "^14.0.0", + "@octokit/types": "^16.0.0", + "@octokit/webhooks": "^14.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">= 20" } }, - "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/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==", + "node_modules/@octokit/auth-app": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-app/-/auth-app-8.2.0.tgz", + "integrity": "sha512-vVjdtQQwomrZ4V46B9LaCsxsySxGoHsyw6IYBov/TqJVROrlYdyNgw5q6tQbB7KZt53v1l1W53RiqTvpzL907g==", "license": "MIT", + "dependencies": { + "@octokit/auth-oauth-app": "^9.0.3", + "@octokit/auth-oauth-user": "^6.0.2", + "@octokit/request": "^10.0.6", + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0", + "toad-cache": "^3.7.0", + "universal-github-app-jwt": "^2.2.0", + "universal-user-agent": "^7.0.0" + }, "engines": { - "node": ">= 0.4" + "node": ">= 20" } }, - "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==", + "node_modules/@octokit/auth-oauth-app": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-app/-/auth-oauth-app-9.0.3.tgz", + "integrity": "sha512-+yoFQquaF8OxJSxTb7rnytBIC2ZLbLqA/yb71I4ZXT9+Slw4TziV9j/kyGhUFRRTF2+7WlnIWsePZCWHs+OGjg==", "license": "MIT", + "dependencies": { + "@octokit/auth-oauth-device": "^8.0.3", + "@octokit/auth-oauth-user": "^6.0.2", + "@octokit/request": "^10.0.6", + "@octokit/types": "^16.0.0", + "universal-user-agent": "^7.0.0" + }, "engines": { - "node": ">= 0.4" + "node": ">= 20" } }, - "node_modules/es-object-atoms": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", - "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "node_modules/@octokit/auth-oauth-device": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-device/-/auth-oauth-device-8.0.3.tgz", + "integrity": "sha512-zh2W0mKKMh/VWZhSqlaCzY7qFyrgd9oTWmTmHaXnHNeQRCZr/CXy2jCgHo4e4dJVTiuxP5dLa0YM5p5QVhJHbw==", "license": "MIT", "dependencies": { - "es-errors": "^1.3.0" + "@octokit/oauth-methods": "^6.0.2", + "@octokit/request": "^10.0.6", + "@octokit/types": "^16.0.0", + "universal-user-agent": "^7.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">= 20" } }, - "node_modules/es-set-tostringtag": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", - "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "node_modules/@octokit/auth-oauth-user": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@octokit/auth-oauth-user/-/auth-oauth-user-6.0.2.tgz", + "integrity": "sha512-qLoPPc6E6GJoz3XeDG/pnDhJpTkODTGG4kY0/Py154i/I003O9NazkrwJwRuzgCalhzyIeWQ+6MDvkUmKXjg/A==", "license": "MIT", "dependencies": { - "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.6", - "has-tostringtag": "^1.0.2", - "hasown": "^2.0.2" + "@octokit/auth-oauth-device": "^8.0.3", + "@octokit/oauth-methods": "^6.0.2", + "@octokit/request": "^10.0.6", + "@octokit/types": "^16.0.0", + "universal-user-agent": "^7.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">= 20" } }, - "node_modules/es6-promise": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-3.3.1.tgz", - "integrity": "sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==", - "license": "MIT" - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "node_modules/@octokit/auth-token": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-6.0.0.tgz", + "integrity": "sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==", "license": "MIT", "engines": { - "node": ">=6" + "node": ">= 20" } }, - "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==", + "node_modules/@octokit/auth-unauthenticated": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/@octokit/auth-unauthenticated/-/auth-unauthenticated-7.0.3.tgz", + "integrity": "sha512-8Jb1mtUdmBHL7lGmop9mU9ArMRUTRhg8vp0T1VtZ4yd9vEm3zcLwmjQkhNEduKawOOORie61xhtYIhTDN+ZQ3g==", "license": "MIT", + "dependencies": { + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0" + }, "engines": { - "node": ">=6" + "node": ">= 20" } }, - "node_modules/eventemitter3": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.1.tgz", - "integrity": "sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA==", - "license": "MIT" - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "license": "MIT" - }, - "node_modules/fast-safe-stringify": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz", - "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==", - "license": "MIT" - }, - "node_modules/fast-uri": { - "version": "3.0.6", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.6.tgz", - "integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause", - "peer": true - }, - "node_modules/fast-xml-parser": { - "version": "4.5.3", - "resolved": "https://registry.npmjs.org/fast-xml-parser/-/fast-xml-parser-4.5.3.tgz", - "integrity": "sha512-RKihhV+SHsIUGXObeVy9AXiBbFwkVk7Syp8XgwN5U3JV416+Gwp/GO9i0JYKmikykgz/UHRrrV4ROuZEo/T0ig==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], + "node_modules/@octokit/core": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-7.0.6.tgz", + "integrity": "sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==", "license": "MIT", "dependencies": { - "strnum": "^1.1.1" + "@octokit/auth-token": "^6.0.0", + "@octokit/graphql": "^9.0.3", + "@octokit/request": "^10.0.6", + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0", + "before-after-hook": "^4.0.0", + "universal-user-agent": "^7.0.0" }, - "bin": { - "fxparser": "src/cli/cli.js" + "engines": { + "node": ">= 20" } }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "node_modules/@octokit/endpoint": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-11.0.3.tgz", + "integrity": "sha512-FWFlNxghg4HrXkD3ifYbS/IdL/mDHjh9QcsNyhQjN8dplUoZbejsdpmuqdA76nxj2xoWPs7p8uX2SNr9rYu0Ag==", "license": "MIT", "dependencies": { - "to-regex-range": "^5.0.1" + "@octokit/types": "^16.0.0", + "universal-user-agent": "^7.0.2" }, "engines": { - "node": ">=8" + "node": ">= 20" } }, - "node_modules/foreach": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/foreach/-/foreach-2.0.6.tgz", - "integrity": "sha512-k6GAGDyqLe9JaebCsFCoudPPWfihKu8pylYXRlqP1J7ms39iPoTtk2fviNglIeQEwdh0bQeKJ01ZPyuyQvKzwg==", - "license": "MIT" - }, - "node_modules/form-data": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.3.tgz", - "integrity": "sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==", + "node_modules/@octokit/graphql": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-9.0.3.tgz", + "integrity": "sha512-grAEuupr/C1rALFnXTv6ZQhFuL1D8G5y8CN04RgrO4FIPMrtm+mcZzFG7dcBm+nq+1ppNixu+Jd78aeJOYxlGA==", "license": "MIT", "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.2", - "mime-types": "^2.1.12" + "@octokit/request": "^10.0.6", + "@octokit/types": "^16.0.0", + "universal-user-agent": "^7.0.0" }, "engines": { - "node": ">= 6" + "node": ">= 20" } }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "license": "ISC" - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "hasInstallScript": true, + "node_modules/@octokit/oauth-app": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/@octokit/oauth-app/-/oauth-app-8.0.3.tgz", + "integrity": "sha512-jnAjvTsPepyUaMu9e69hYBuozEPgYqP4Z3UnpmvoIzHDpf8EXDGvTY1l1jK0RsZ194oRd+k6Hm13oRU8EoDFwg==", "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], + "dependencies": { + "@octokit/auth-oauth-app": "^9.0.2", + "@octokit/auth-oauth-user": "^6.0.1", + "@octokit/auth-unauthenticated": "^7.0.2", + "@octokit/core": "^7.0.5", + "@octokit/oauth-authorization-url": "^8.0.0", + "@octokit/oauth-methods": "^6.0.1", + "@types/aws-lambda": "^8.10.83", + "universal-user-agent": "^7.0.0" + }, "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + "node": ">= 20" } }, - "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==", + "node_modules/@octokit/oauth-authorization-url": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@octokit/oauth-authorization-url/-/oauth-authorization-url-8.0.0.tgz", + "integrity": "sha512-7QoLPRh/ssEA/HuHBHdVdSgF8xNLz/Bc5m9fZkArJE5bb6NmVkDm3anKxXPmN1zh6b5WKZPRr3697xKT/yM3qQ==", "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": ">= 20" } }, - "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==", + "node_modules/@octokit/oauth-methods": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@octokit/oauth-methods/-/oauth-methods-6.0.2.tgz", + "integrity": "sha512-HiNOO3MqLxlt5Da5bZbLV8Zarnphi4y9XehrbaFMkcoJ+FL7sMxH/UlUsCVxpddVu4qvNDrBdaTVE2o4ITK8ng==", "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" + "@octokit/oauth-authorization-url": "^8.0.0", + "@octokit/request": "^10.0.6", + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0" }, "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "node": ">= 20" } }, - "node_modules/get-port-please": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/get-port-please/-/get-port-please-3.1.2.tgz", - "integrity": "sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ==", + "node_modules/@octokit/openapi-types": { + "version": "27.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-27.0.0.tgz", + "integrity": "sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==", "license": "MIT" }, - "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==", + "node_modules/@octokit/openapi-webhooks-types": { + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-webhooks-types/-/openapi-webhooks-types-12.1.0.tgz", + "integrity": "sha512-WiuzhOsiOvb7W3Pvmhf8d2C6qaLHXrWiLBP4nJ/4kydu+wpagV5Fkz9RfQwV2afYzv3PB+3xYgp4mAdNGjDprA==", + "license": "MIT" + }, + "node_modules/@octokit/plugin-paginate-graphql": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-graphql/-/plugin-paginate-graphql-6.0.0.tgz", + "integrity": "sha512-crfpnIoFiBtRkvPqOyLOsw12XsveYuY2ieP6uYDosoUegBJpSVxGwut9sxUgFFcll3VTOTqpUf8yGd8x1OmAkQ==", "license": "MIT", - "dependencies": { - "dunder-proto": "^1.0.1", - "es-object-atoms": "^1.0.0" - }, "engines": { - "node": ">= 0.4" + "node": ">= 20" + }, + "peerDependencies": { + "@octokit/core": ">=6" } }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "license": "ISC", + "node_modules/@octokit/plugin-paginate-rest": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-14.0.0.tgz", + "integrity": "sha512-fNVRE7ufJiAA3XUrha2omTA39M6IXIc6GIZLvlbsm8QOQCYvpq/LkMNGyFlB1d8hTDzsAXa3OKtybdMAYsV/fw==", + "license": "MIT", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "@octokit/types": "^16.0.0" }, "engines": { - "node": "*" + "node": ">= 20" }, - "funding": { - "url": "https://github.com/sponsors/isaacs" + "peerDependencies": { + "@octokit/core": ">=6" } }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "license": "ISC", + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-17.0.0.tgz", + "integrity": "sha512-B5yCyIlOJFPqUUeiD0cnBJwWJO8lkJs5d8+ze9QDP6SvfiXSz1BF+91+0MeI1d2yxgOhU/O+CvtiZ9jSkHhFAw==", + "license": "MIT", "dependencies": { - "is-glob": "^4.0.1" + "@octokit/types": "^16.0.0" }, "engines": { - "node": ">= 6" + "node": ">= 20" + }, + "peerDependencies": { + "@octokit/core": ">=6" } }, - "node_modules/glob/node_modules/brace-expansion": { - "version": "1.1.12", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", - "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "node_modules/@octokit/plugin-retry": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-8.1.0.tgz", + "integrity": "sha512-O1FZgXeiGb2sowEr/hYTr6YunGdSAFWnr2fyW39Ah85H8O33ELASQxcvOFF5LE6Tjekcyu2ms4qAzJVhSaJxTw==", "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/glob/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "license": "ISC", - "dependencies": { - "brace-expansion": "^1.1.7" + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0", + "bottleneck": "^2.15.3" }, "engines": { - "node": "*" - } - }, - "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" + "node": ">= 20" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "peerDependencies": { + "@octokit/core": ">=7" } }, - "node_modules/handlebars": { - "version": "4.7.8", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", - "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "node_modules/@octokit/plugin-throttling": { + "version": "11.0.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-11.0.3.tgz", + "integrity": "sha512-34eE0RkFCKycLl2D2kq7W+LovheM/ex3AwZCYN8udpi6bxsyjZidb2McXs69hZhLmJlDqTSP8cH+jSRpiaijBg==", "license": "MIT", "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.2", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" + "@octokit/types": "^16.0.0", + "bottleneck": "^2.15.3" }, "engines": { - "node": ">=0.4.7" + "node": ">= 20" }, - "optionalDependencies": { - "uglify-js": "^3.1.4" + "peerDependencies": { + "@octokit/core": "^7.0.0" } }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "node_modules/@octokit/request": { + "version": "10.0.8", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-10.0.8.tgz", + "integrity": "sha512-SJZNwY9pur9Agf7l87ywFi14W+Hd9Jg6Ifivsd33+/bGUQIjNujdFiXII2/qSlN2ybqUHfp5xpekMEjIBTjlSw==", "license": "MIT", + "dependencies": { + "@octokit/endpoint": "^11.0.3", + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0", + "fast-content-type-parse": "^3.0.0", + "json-with-bigint": "^3.5.3", + "universal-user-agent": "^7.0.2" + }, "engines": { - "node": ">=8" + "node": ">= 20" } }, - "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==", + "node_modules/@octokit/request-error": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-7.1.0.tgz", + "integrity": "sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==", "license": "MIT", - "engines": { - "node": ">= 0.4" + "dependencies": { + "@octokit/types": "^16.0.0" }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "engines": { + "node": ">= 20" } }, - "node_modules/has-tostringtag": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", - "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "node_modules/@octokit/types": { + "version": "16.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-16.0.0.tgz", + "integrity": "sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==", "license": "MIT", "dependencies": { - "has-symbols": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" + "@octokit/openapi-types": "^27.0.0" } }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "node_modules/@octokit/webhooks": { + "version": "14.2.0", + "resolved": "https://registry.npmjs.org/@octokit/webhooks/-/webhooks-14.2.0.tgz", + "integrity": "sha512-da6KbdNCV5sr1/txD896V+6W0iamFWrvVl8cHkBSPT+YlvmT3DwXa4jxZnQc+gnuTEqSWbBeoSZYTayXH9wXcw==", "license": "MIT", "dependencies": { - "function-bind": "^1.1.2" + "@octokit/openapi-webhooks-types": "12.1.0", + "@octokit/request-error": "^7.0.0", + "@octokit/webhooks-methods": "^6.0.0" }, "engines": { - "node": ">= 0.4" + "node": ">= 20" } }, - "node_modules/http2-client": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/http2-client/-/http2-client-1.3.5.tgz", - "integrity": "sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA==", - "license": "MIT" - }, - "node_modules/https-proxy-agent": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz", - "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==", + "node_modules/@octokit/webhooks-methods": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@octokit/webhooks-methods/-/webhooks-methods-6.0.0.tgz", + "integrity": "sha512-MFlzzoDJVw/GcbfzVC1RLR36QqkTLUf79vLVO3D+xn7r0QgxnFoLZgtrzxiQErAjFUOdH6fas2KeQJ1yr/qaXQ==", "license": "MIT", - "dependencies": { - "agent-base": "^7.1.2", - "debug": "4" - }, "engines": { - "node": ">= 14" + "node": ">= 20" } }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", - "license": "ISC", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } + "node_modules/@types/aws-lambda": { + "version": "8.10.161", + "resolved": "https://registry.npmjs.org/@types/aws-lambda/-/aws-lambda-8.10.161.tgz", + "integrity": "sha512-rUYdp+MQwSFocxIOcSsYSF3YYYC/uUpMbCY/mbO21vGqfrEYvNSoPyKYDj6RhXXpPfS0KstW9RwG3qXh9sL7FQ==", + "license": "MIT" }, - "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/@types/estree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", + "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/json-schema": { + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", + "dev": true, + "license": "MIT" }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "node_modules/@types/node": { + "version": "22.19.17", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.17.tgz", + "integrity": "sha512-wGdMcf+vPYM6jikpS/qhg6WiqSV/OhG+jeeHT/KlVqxYfD40iYJf9/AE1uQxVWFvU7MipKRkRv8NSHiCGgPr8Q==", + "dev": true, "license": "MIT", "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" + "undici-types": "~6.21.0" } }, - "node_modules/is-docker": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", - "integrity": "sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ==", + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.58.0.tgz", + "integrity": "sha512-RLkVSiNuUP1C2ROIWfqX+YcUfLaSnxGE/8M+Y57lopVwg9VTYYfhuz15Yf1IzCKgZj6/rIbYTmJCUSqr76r0Wg==", + "dev": true, "license": "MIT", - "bin": { - "is-docker": "cli.js" + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.58.0", + "@typescript-eslint/type-utils": "8.58.0", + "@typescript-eslint/utils": "8.58.0", + "@typescript-eslint/visitor-keys": "8.58.0", + "ignore": "^7.0.5", + "natural-compare": "^1.4.0", + "ts-api-utils": "^2.5.0" }, "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^8.58.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.5", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz", + "integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==", + "dev": true, "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": ">= 4" } }, - "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==", + "node_modules/@typescript-eslint/parser": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.58.0.tgz", + "integrity": "sha512-rLoGZIf9afaRBYsPUMtvkDWykwXwUPL60HebR4JgTI8mxfFe2cQTu3AGitANp4b9B2QlVru6WzjgB2IzJKiCSA==", + "dev": true, "license": "MIT", + "dependencies": { + "@typescript-eslint/scope-manager": "8.58.0", + "@typescript-eslint/types": "8.58.0", + "@typescript-eslint/typescript-estree": "8.58.0", + "@typescript-eslint/visitor-keys": "8.58.0", + "debug": "^4.4.3" + }, "engines": { - "node": ">=8" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "node_modules/@typescript-eslint/project-service": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.58.0.tgz", + "integrity": "sha512-8Q/wBPWLQP1j16NxoPNIKpDZFMaxl7yWIoqXWYeWO+Bbd2mjgvoF0dxP2jKZg5+x49rgKdf7Ck473M8PC3V9lg==", + "dev": true, "license": "MIT", "dependencies": { - "is-extglob": "^2.1.1" + "@typescript-eslint/tsconfig-utils": "^8.58.0", + "@typescript-eslint/types": "^8.58.0", + "debug": "^4.4.3" }, "engines": { - "node": ">=0.10.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/is-inside-container": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", - "integrity": "sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==", + "node_modules/@typescript-eslint/scope-manager": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.58.0.tgz", + "integrity": "sha512-W1Lur1oF50FxSnNdGp3Vs6P+yBRSmZiw4IIjEeYxd8UQJwhUF0gDgDD/W/Tgmh73mxgEU3qX0Bzdl/NGuSPEpQ==", + "dev": true, "license": "MIT", "dependencies": { - "is-docker": "^3.0.0" - }, - "bin": { - "is-inside-container": "cli.js" + "@typescript-eslint/types": "8.58.0", + "@typescript-eslint/visitor-keys": "8.58.0" }, "engines": { - "node": ">=14.16" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.58.0.tgz", + "integrity": "sha512-doNSZEVJsWEu4htiVC+PR6NpM+pa+a4ClH9INRWOWCUzMst/VA9c4gXq92F8GUD1rwhNvRLkgjfYtFXegXQF7A==", + "dev": true, "license": "MIT", "engines": { - "node": ">=0.12.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/is-wsl": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-3.1.0.tgz", - "integrity": "sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw==", + "node_modules/@typescript-eslint/type-utils": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.58.0.tgz", + "integrity": "sha512-aGsCQImkDIqMyx1u4PrVlbi/krmDsQUs4zAcCV6M7yPcPev+RqVlndsJy9kJ8TLihW9TZ0kbDAzctpLn5o+lOg==", + "dev": true, "license": "MIT", "dependencies": { - "is-inside-container": "^1.0.0" + "@typescript-eslint/types": "8.58.0", + "@typescript-eslint/typescript-estree": "8.58.0", + "@typescript-eslint/utils": "8.58.0", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" }, "engines": { - "node": ">=16" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", - "license": "MIT", - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", + "node_modules/@typescript-eslint/types": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.58.0.tgz", + "integrity": "sha512-O9CjxypDT89fbHxRfETNoAnHj/i6IpRK0CvbVN3qibxlLdo5p5hcLmUuCCrHMpxiWSwKyI8mCP7qRNYuOJ0Uww==", + "dev": true, "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.58.0.tgz", + "integrity": "sha512-7vv5UWbHqew/dvs+D3e1RvLv1v2eeZ9txRHPnEEBUgSNLx5ghdzjHa0sgLWYVKssH+lYmV0JaWdoubo0ncGYLA==", + "dev": true, "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "@typescript-eslint/project-service": "8.58.0", + "@typescript-eslint/tsconfig-utils": "8.58.0", + "@typescript-eslint/types": "8.58.0", + "@typescript-eslint/visitor-keys": "8.58.0", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/js-levenshtein": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz", - "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": "18 || 20 || >=22" } }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "license": "MIT" - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz", + "integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==", + "dev": true, "license": "MIT", "dependencies": { - "argparse": "^2.0.1" + "balanced-match": "^4.0.2" }, - "bin": { - "js-yaml": "bin/js-yaml.js" + "engines": { + "node": "18 || 20 || >=22" } }, - "node_modules/jsep": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/jsep/-/jsep-1.4.0.tgz", - "integrity": "sha512-B7qPcEVE3NVkmSJbaYxvv4cHkVW7DQsZz13pUMrfS8z8Q/BuShN+gcTXrUlPiGqM2/t/EEaI030bpxMqY8gMlw==", - "license": "MIT", + "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { + "version": "10.2.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.5.tgz", + "integrity": "sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.5" + }, "engines": { - "node": ">= 10.16.0" + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/json-pointer": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/json-pointer/-/json-pointer-0.6.2.tgz", - "integrity": "sha512-vLWcKbOaXlO+jvRy4qNd+TI1QUPZzfJj1tpJ3vAXDych5XJf93ftpUKe5pKCrzyIIwgBJcOcCVRUfqQP25afBw==", + "node_modules/@typescript-eslint/utils": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.58.0.tgz", + "integrity": "sha512-RfeSqcFeHMHlAWzt4TBjWOAtoW9lnsAGiP3GbaX9uVgTYYrMbVnGONEfUCiSss+xMHFl+eHZiipmA8WkQ7FuNA==", + "dev": true, "license": "MIT", "dependencies": { - "foreach": "^2.0.4" + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.58.0", + "@typescript-eslint/types": "8.58.0", + "@typescript-eslint/typescript-estree": "8.58.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "license": "MIT" - }, - "node_modules/jsonpath-plus": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/jsonpath-plus/-/jsonpath-plus-10.3.0.tgz", - "integrity": "sha512-8TNmfeTCk2Le33A3vRRwtuworG/L5RrgMvdjhKZxvyShO+mBu2fP50OWUjRLNtvw344DdDarFh9buFAZs5ujeA==", + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.58.0.tgz", + "integrity": "sha512-XJ9UD9+bbDo4a4epraTwG3TsNPeiB9aShrUneAVXy8q4LuwowN+qu89/6ByLMINqvIMeI9H9hOHQtg/ijrYXzQ==", + "dev": true, "license": "MIT", "dependencies": { - "@jsep-plugin/assignment": "^1.3.0", - "@jsep-plugin/regex": "^1.0.4", - "jsep": "^1.4.0" - }, - "bin": { - "jsonpath": "bin/jsonpath-cli.js", - "jsonpath-plus": "bin/jsonpath-cli.js" + "@typescript-eslint/types": "8.58.0", + "eslint-visitor-keys": "^5.0.0" }, "engines": { - "node": ">=18.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/jsonpointer": { + "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { "version": "5.0.1", - "resolved": "https://registry.npmjs.org/jsonpointer/-/jsonpointer-5.0.1.tgz", - "integrity": "sha512-p/nXbhSEcu3pZRdkW1OfJhpsVtW1gd4Wa1fnQc9YLiTfAjn0312eMKimbdIQzuZl9aa9xUGaRlP9T/CJE/ditQ==", - "license": "MIT", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=0.10.0" + "node": "^20.19.0 || ^22.13.0 || >=24" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "node_modules/acorn": { + "version": "8.16.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz", + "integrity": "sha512-UVJyE9MttOsBQIDKw1skb9nAwQuR5wuGD3+82K6JgJlm/Y+KI92oNsMNGZCYdDsVtRHSak0pcV5Dno5+4jh9sw==", + "dev": true, "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, "engines": { - "node": ">=6" + "node": ">=0.4.0" } }, - "node_modules/long": { + "node_modules/acorn-jsx": { "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" + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "node_modules/ajv": { + "version": "6.14.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz", + "integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==", + "dev": true, "license": "MIT", "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" }, - "bin": { - "loose-envify": "cli.js" + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" } }, - "node_modules/lunr": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz", - "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", - "license": "MIT" - }, - "node_modules/mark.js": { - "version": "8.11.1", - "resolved": "https://registry.npmjs.org/mark.js/-/mark.js-8.11.1.tgz", - "integrity": "sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==", - "license": "MIT" - }, - "node_modules/marked": { + "node_modules/ansi-styles": { "version": "4.3.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", - "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, "license": "MIT", - "bin": { - "marked": "bin/marked.js" + "dependencies": { + "color-convert": "^2.0.1" }, "engines": { - "node": ">= 12" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "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==", + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/before-after-hook": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-4.0.0.tgz", + "integrity": "sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==", + "license": "Apache-2.0" + }, + "node_modules/bottleneck": { + "version": "2.19.5", + "resolved": "https://registry.npmjs.org/bottleneck/-/bottleneck-2.19.5.tgz", + "integrity": "sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==", + "license": "MIT" + }, + "node_modules/brace-expansion": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.13.tgz", + "integrity": "sha512-9ZLprWS6EENmhEOpjCYW2c8VkmOvckIJZfkr7rBW6dObmfgJ/L1GpSYW5Hpo9lDz4D1+n0Ckz8rU7FwHDQiG/w==", + "dev": true, "license": "MIT", - "engines": { - "node": ">= 0.4" + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" } }, - "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==", + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "license": "MIT", "engines": { - "node": ">= 0.6" + "node": ">=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==", + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, "license": "MIT", "dependencies": { - "mime-db": "1.52.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">= 0.6" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, - "node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "license": "ISC", + "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==", + "dev": true, + "license": "MIT", "dependencies": { - "brace-expansion": "^2.0.1" + "color-name": "~1.1.4" }, "engines": { - "node": ">=10" + "node": ">=7.0.0" } }, - "node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } + "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==", + "dev": true, + "license": "MIT" }, - "node_modules/mobx": { - "version": "6.13.7", - "resolved": "https://registry.npmjs.org/mobx/-/mobx-6.13.7.tgz", - "integrity": "sha512-aChaVU/DO5aRPmk1GX8L+whocagUUpBQqoPtJk+cm7UOXUk87J4PeWCh6nNmTTIfEhiR9DI/+FnA8dln/hTK7g==", - "license": "MIT", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mobx" - } + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "dev": true, + "license": "MIT" }, - "node_modules/mobx-react": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/mobx-react/-/mobx-react-9.2.0.tgz", - "integrity": "sha512-dkGWCx+S0/1mfiuFfHRH8D9cplmwhxOV5CkXMp38u6rQGG2Pv3FWYztS0M7ncR6TyPRQKaTG/pnitInoYE9Vrw==", + "node_modules/cosmiconfig": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-9.0.1.tgz", + "integrity": "sha512-hr4ihw+DBqcvrsEDioRO31Z17x71pUYoNe/4h6Z0wB72p7MU7/9gH8Q3s12NFhHPfYBBOV3qyfUxmr/Yn3shnQ==", "license": "MIT", "dependencies": { - "mobx-react-lite": "^4.1.0" + "env-paths": "^2.2.1", + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0" + }, + "engines": { + "node": ">=14" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mobx" + "url": "https://github.com/sponsors/d-fischer" }, "peerDependencies": { - "mobx": "^6.9.0", - "react": "^16.8.0 || ^17 || ^18 || ^19" + "typescript": ">=4.9.5" }, "peerDependenciesMeta": { - "react-dom": { - "optional": true - }, - "react-native": { + "typescript": { "optional": true } } }, - "node_modules/mobx-react-lite": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/mobx-react-lite/-/mobx-react-lite-4.1.0.tgz", - "integrity": "sha512-QEP10dpHHBeQNv1pks3WnHRCem2Zp636lq54M2nKO2Sarr13pL4u6diQXf65yzXUn0mkk18SyIDCm9UOJYTi1w==", + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, "license": "MIT", "dependencies": { - "use-sync-external-store": "^1.4.0" + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/mobx" + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" }, - "peerDependencies": { - "mobx": "^6.9.0", - "react": "^16.8.0 || ^17 || ^18 || ^19" + "engines": { + "node": ">=6.0" }, "peerDependenciesMeta": { - "react-dom": { - "optional": true - }, - "react-native": { + "supports-color": { "optional": true } } }, - "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==", + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true, "license": "MIT" }, - "node_modules/nanoid": { - "version": "3.3.11", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.11.tgz", - "integrity": "sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/error-ex": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/esbuild": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz", + "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==", + "dev": true, + "hasInstallScript": true, "license": "MIT", "bin": { - "nanoid": "bin/nanoid.cjs" + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.27.7", + "@esbuild/android-arm": "0.27.7", + "@esbuild/android-arm64": "0.27.7", + "@esbuild/android-x64": "0.27.7", + "@esbuild/darwin-arm64": "0.27.7", + "@esbuild/darwin-x64": "0.27.7", + "@esbuild/freebsd-arm64": "0.27.7", + "@esbuild/freebsd-x64": "0.27.7", + "@esbuild/linux-arm": "0.27.7", + "@esbuild/linux-arm64": "0.27.7", + "@esbuild/linux-ia32": "0.27.7", + "@esbuild/linux-loong64": "0.27.7", + "@esbuild/linux-mips64el": "0.27.7", + "@esbuild/linux-ppc64": "0.27.7", + "@esbuild/linux-riscv64": "0.27.7", + "@esbuild/linux-s390x": "0.27.7", + "@esbuild/linux-x64": "0.27.7", + "@esbuild/netbsd-arm64": "0.27.7", + "@esbuild/netbsd-x64": "0.27.7", + "@esbuild/openbsd-arm64": "0.27.7", + "@esbuild/openbsd-x64": "0.27.7", + "@esbuild/openharmony-arm64": "0.27.7", + "@esbuild/sunos-x64": "0.27.7", + "@esbuild/win32-arm64": "0.27.7", + "@esbuild/win32-ia32": "0.27.7", + "@esbuild/win32-x64": "0.27.7" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "license": "MIT" - }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "license": "MIT", - "dependencies": { - "whatwg-url": "^5.0.0" + "node_modules/eslint": { + "version": "9.39.4", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.39.4.tgz", + "integrity": "sha512-XoMjdBOwe/esVgEvLmNsD3IRHkm7fbKIUGvrleloJXUZgDHig2IPWNniv+GwjyJXzuNqVjlr5+4yVUZjycJwfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.1", + "@eslint/config-array": "^0.21.2", + "@eslint/config-helpers": "^0.4.2", + "@eslint/core": "^0.17.0", + "@eslint/eslintrc": "^3.3.5", + "@eslint/js": "9.39.4", + "@eslint/plugin-kit": "^0.4.1", + "@humanfs/node": "^0.16.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@humanwhocodes/retry": "^0.4.2", + "@types/estree": "^1.0.6", + "ajv": "^6.14.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.6", + "debug": "^4.3.2", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^8.4.0", + "eslint-visitor-keys": "^4.2.1", + "espree": "^10.4.0", + "esquery": "^1.5.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^8.0.0", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "ignore": "^5.2.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.5", + "natural-compare": "^1.4.0", + "optionator": "^0.9.3" + }, + "bin": { + "eslint": "bin/eslint.js" }, "engines": { - "node": "4.x || >=6.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://eslint.org/donate" }, "peerDependencies": { - "encoding": "^0.1.0" + "jiti": "*" }, "peerDependenciesMeta": { - "encoding": { + "jiti": { "optional": true } } }, - "node_modules/node-fetch-h2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/node-fetch-h2/-/node-fetch-h2-2.3.0.tgz", - "integrity": "sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==", - "license": "MIT", + "node_modules/eslint-scope": { + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.4.0.tgz", + "integrity": "sha512-sNXOfKCn74rt8RICKMvJS7XKV/Xk9kA7DyJr8mJik3S7Cwgy3qlkkmyS2uQB3jiJg6VNdZd/pDBJu0nvG2NlTg==", + "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "http2-client": "^1.2.5" + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" }, "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/node-readfiles": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/node-readfiles/-/node-readfiles-0.2.0.tgz", - "integrity": "sha512-SU00ZarexNlE4Rjdm83vglt5Y9yiQ+XI1XpflWlb7q7UTN1JUItm69xMeiQCTxtTfnzt+83T8Cx+vI2ED++VDA==", - "license": "MIT", - "dependencies": { - "es6-promise": "^3.2.1" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" } }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "license": "MIT", + "node_modules/eslint-visitor-keys": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz", + "integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==", + "dev": true, + "license": "Apache-2.0", "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/oas-kit-common": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/oas-kit-common/-/oas-kit-common-1.0.8.tgz", - "integrity": "sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==", - "license": "BSD-3-Clause", - "dependencies": { - "fast-safe-stringify": "^2.0.7" - } - }, - "node_modules/oas-linter": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/oas-linter/-/oas-linter-3.2.2.tgz", - "integrity": "sha512-KEGjPDVoU5K6swgo9hJVA/qYGlwfbFx+Kg2QB/kd7rzV5N8N5Mg6PlsoCMohVnQmo+pzJap/F610qTodKzecGQ==", - "license": "BSD-3-Clause", - "dependencies": { - "@exodus/schemasafe": "^1.0.0-rc.2", - "should": "^13.2.1", - "yaml": "^1.10.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" + "url": "https://opencollective.com/eslint" } }, - "node_modules/oas-resolver": { - "version": "2.5.6", - "resolved": "https://registry.npmjs.org/oas-resolver/-/oas-resolver-2.5.6.tgz", - "integrity": "sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ==", - "license": "BSD-3-Clause", + "node_modules/espree": { + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-10.4.0.tgz", + "integrity": "sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==", + "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "node-fetch-h2": "^2.3.0", - "oas-kit-common": "^1.0.8", - "reftools": "^1.1.9", - "yaml": "^1.10.0", - "yargs": "^17.0.1" + "acorn": "^8.15.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^4.2.1" }, - "bin": { - "resolve": "resolve.js" + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" - } - }, - "node_modules/oas-schema-walker": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/oas-schema-walker/-/oas-schema-walker-1.1.5.tgz", - "integrity": "sha512-2yucenq1a9YPmeNExoUa9Qwrt9RFkjqaMAA1X+U7sbb0AqBeTIdMHky9SQQ6iN94bO5NW0W4TRYXerG+BdAvAQ==", - "license": "BSD-3-Clause", - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" + "url": "https://opencollective.com/eslint" } }, - "node_modules/oas-validator": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/oas-validator/-/oas-validator-5.0.8.tgz", - "integrity": "sha512-cu20/HE5N5HKqVygs3dt94eYJfBi0TsZvPVXDhbXQHiEityDN+RROTleefoKRKKJ9dFAF2JBkDHgvWj0sjKGmw==", + "node_modules/esquery": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", + "dev": true, "license": "BSD-3-Clause", "dependencies": { - "call-me-maybe": "^1.0.1", - "oas-kit-common": "^1.0.8", - "oas-linter": "^3.2.2", - "oas-resolver": "^2.5.6", - "oas-schema-walker": "^1.1.5", - "reftools": "^1.1.9", - "should": "^13.2.1", - "yaml": "^1.10.0" + "estraverse": "^5.1.0" }, - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", - "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": ">=0.10" } }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "license": "ISC", + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "wrappy": "1" + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" } }, - "node_modules/open": { - "version": "10.1.2", - "resolved": "https://registry.npmjs.org/open/-/open-10.1.2.tgz", - "integrity": "sha512-cxN6aIDPz6rm8hbebcP7vrQNhvRcveZoJU72Y7vskh4oIm+BZwBECnx5nTmrlres1Qapvx27Qo1Auukpf8PKXw==", - "license": "MIT", - "dependencies": { - "default-browser": "^5.2.1", - "define-lazy-prop": "^3.0.0", - "is-inside-container": "^1.0.0", - "is-wsl": "^3.1.0" - }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "license": "BSD-2-Clause", "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "node": ">=4.0" } }, - "node_modules/openapi-sampler": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.6.1.tgz", - "integrity": "sha512-s1cIatOqrrhSj2tmJ4abFYZQK6l5v+V4toO5q1Pa0DyN8mtyqy2I+Qrj5W9vOELEtybIMQs/TBZGVO/DtTFK8w==", - "license": "MIT", - "dependencies": { - "@types/json-schema": "^7.0.7", - "fast-xml-parser": "^4.5.0", - "json-pointer": "0.6.2" + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" } }, - "node_modules/outdent": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/outdent/-/outdent-0.8.0.tgz", - "integrity": "sha512-KiOAIsdpUTcAXuykya5fnVVT+/5uS0Q1mrkRHcF89tpieSmY33O/tmc54CqwA+bfhbtEfZUNLHaPUiB9X3jt1A==", + "node_modules/fast-content-type-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/fast-content-type-parse/-/fast-content-type-parse-3.0.0.tgz", + "integrity": "sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], "license": "MIT" }, - "node_modules/path-browserify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz", - "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==", + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, "license": "MIT" }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/perfect-scrollbar": { - "version": "1.5.6", - "resolved": "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-1.5.6.tgz", - "integrity": "sha512-rixgxw3SxyJbCaSpo1n35A/fwI1r2rdwMKOTCg/AcG+xOEyZcE8UHVjpZMFCVImzsFoCZeJTT+M/rdEIQYO2nw==", + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, "license": "MIT" }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "license": "ISC" + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true, + "license": "MIT" }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">=12.0.0" }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } } }, - "node_modules/pluralize": { + "node_modules/file-entry-cache": { "version": "8.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-8.0.0.tgz", - "integrity": "sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA==", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", + "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "dev": true, "license": "MIT", + "dependencies": { + "flat-cache": "^4.0.0" + }, "engines": { - "node": ">=4" + "node": ">=16.0.0" } }, - "node_modules/polished": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/polished/-/polished-4.3.1.tgz", - "integrity": "sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==", + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.17.8" + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/postcss": { - "version": "8.4.49", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", - "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], + "node_modules/flat-cache": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", + "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "dev": true, "license": "MIT", "dependencies": { - "nanoid": "^3.3.7", - "picocolors": "^1.1.1", - "source-map-js": "^1.2.1" + "flatted": "^3.2.9", + "keyv": "^4.5.4" }, "engines": { - "node": "^10 || ^12 || >=14" + "node": ">=16" } }, - "node_modules/postcss-value-parser": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz", - "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", - "license": "MIT" + "node_modules/flatted": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.2.tgz", + "integrity": "sha512-PjDse7RzhcPkIJwy5t7KPWQSZ9cAbzQXcafsetQoD7sOJRQlGikNbx7yZp2OotDnJyrDcbyRq3Ttb18iYOqkxA==", + "dev": true, + "license": "ISC" + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } }, - "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "node_modules/get-tsconfig": { + "version": "4.13.7", + "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.13.7.tgz", + "integrity": "sha512-7tN6rFgBlMgpBML5j8typ92BKFi2sFQvIdpAqLA2beia5avZDrMs0FLZiM5etShWq5irVyGcGMEA1jcDaK7A/Q==", + "dev": true, "license": "MIT", "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" + "resolve-pkg-maps": "^1.0.0" + }, + "funding": { + "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=10.13.0" } }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "node_modules/globals": { + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", + "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", + "dev": true, "license": "MIT", "engines": { - "node": ">=10" + "node": ">=18" }, "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/prismjs": { - "version": "1.30.0", - "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz", - "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==", + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, "license": "MIT", "engines": { - "node": ">=6" + "node": ">=8" } }, - "node_modules/prop-types": { - "version": "15.8.1", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.8.1.tgz", - "integrity": "sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==", + "node_modules/ignore": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", + "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", + "dev": true, "license": "MIT", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.13.1" + "engines": { + "node": ">= 4" } }, - "node_modules/prop-types/node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", - "license": "MIT" - }, - "node_modules/protobufjs": { - "version": "7.5.3", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.5.3.tgz", - "integrity": "sha512-sildjKwVqOI2kmFDiXQ6aEB0fjYTafpEvIBs8tOR8qI4spuL9OPROLVu2qZqi/xgCfsHIwVqlaF8JBjWFHnKbw==", - "hasInstallScript": true, - "license": "BSD-3-Clause", + "node_modules/import-fresh": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz", + "integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==", + "license": "MIT", "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" }, "engines": { - "node": ">=12.0.0" + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", "license": "MIT" }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, "license": "MIT", - "dependencies": { - "safe-buffer": "^5.1.0" + "engines": { + "node": ">=0.10.0" } }, - "node_modules/react": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/react/-/react-19.1.0.tgz", - "integrity": "sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==", + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, "engines": { "node": ">=0.10.0" } }, - "node_modules/react-dom": { - "version": "19.1.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.1.0.tgz", - "integrity": "sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==", + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.1.tgz", + "integrity": "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA==", "license": "MIT", "dependencies": { - "scheduler": "^0.26.0" + "argparse": "^2.0.1" }, - "peerDependencies": { - "react": "^19.1.0" + "bin": { + "js-yaml": "bin/js-yaml.js" } }, - "node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-with-bigint": { + "version": "3.5.8", + "resolved": "https://registry.npmjs.org/json-with-bigint/-/json-with-bigint-3.5.8.tgz", + "integrity": "sha512-eq/4KP6K34kwa7TcFdtvnftvHCD9KvHOGGICWwMFc4dOOKF5t4iYqnfLK8otCRCRv06FXOzGGyqE8h8ElMvvdw==", "license": "MIT" }, - "node_modules/react-tabs": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/react-tabs/-/react-tabs-6.1.0.tgz", - "integrity": "sha512-6QtbTRDKM+jA/MZTTefvigNxo0zz+gnBTVFw2CFVvq+f2BuH0nF0vDLNClL045nuTAdOoK/IL1vTP0ZLX0DAyQ==", + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, "license": "MIT", "dependencies": { - "clsx": "^2.0.0", - "prop-types": "^15.5.0" - }, - "peerDependencies": { - "react": "^18.0.0 || ^19.0.0" + "json-buffer": "3.0.1" } }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, "license": "MIT", "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" }, "engines": { - "node": ">= 6" + "node": ">= 0.8.0" } }, - "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "license": "MIT" + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, "license": "MIT", "dependencies": { - "picomatch": "^2.2.1" + "p-locate": "^5.0.0" }, "engines": { - "node": ">=8.10.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/redoc": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/redoc/-/redoc-2.5.0.tgz", - "integrity": "sha512-NpYsOZ1PD9qFdjbLVBZJWptqE+4Y6TkUuvEOqPUmoH7AKOmPcE+hYjotLxQNTqVoWL4z0T2uxILmcc8JGDci+Q==", - "license": "MIT", - "dependencies": { - "@redocly/openapi-core": "^1.4.0", - "classnames": "^2.3.2", - "decko": "^1.2.0", - "dompurify": "^3.2.4", - "eventemitter3": "^5.0.1", - "json-pointer": "^0.6.2", - "lunr": "^2.3.9", - "mark.js": "^8.11.1", - "marked": "^4.3.0", - "mobx-react": "^9.1.1", - "openapi-sampler": "^1.5.0", - "path-browserify": "^1.0.1", - "perfect-scrollbar": "^1.5.5", - "polished": "^4.2.2", - "prismjs": "^1.29.0", - "prop-types": "^15.8.1", - "react-tabs": "^6.0.2", - "slugify": "~1.4.7", - "stickyfill": "^1.1.1", - "swagger2openapi": "^7.0.8", - "url-template": "^2.0.8" - }, - "engines": { - "node": ">=6.9", - "npm": ">=3.0.0" + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/minimatch": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" }, - "peerDependencies": { - "core-js": "^3.1.4", - "mobx": "^6.0.4", - "react": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "react-dom": "^16.8.4 || ^17.0.0 || ^18.0.0 || ^19.0.0", - "styled-components": "^4.1.1 || ^5.1.1 || ^6.0.5" + "engines": { + "node": "*" + } + }, + "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==", + "dev": true, + "license": "MIT" + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-addon-api": { + "version": "8.7.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-8.7.0.tgz", + "integrity": "sha512-9MdFxmkKaOYVTV+XVRG8ArDwwQ77XIgIPyKASB1k3JPq3M8fGQQQE3YpMOrKm6g//Ktx8ivZr8xo1Qmtqub+GA==", + "license": "MIT", + "engines": { + "node": "^18 || ^20 || >= 21" } }, - "node_modules/reftools": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/reftools/-/reftools-1.1.9.tgz", - "integrity": "sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==", - "license": "BSD-3-Clause", - "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" + "node_modules/node-gyp-build": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" } }, - "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==", + "node_modules/octokit": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/octokit/-/octokit-5.0.5.tgz", + "integrity": "sha512-4+/OFSqOjoyULo7eN7EA97DE0Xydj/PW5aIckxqQIoFjFwqXKuFCvXUJObyJfBF9Khu4RL/jlDRI9FPaMGfPnw==", "license": "MIT", + "dependencies": { + "@octokit/app": "^16.1.2", + "@octokit/core": "^7.0.6", + "@octokit/oauth-app": "^8.0.3", + "@octokit/plugin-paginate-graphql": "^6.0.0", + "@octokit/plugin-paginate-rest": "^14.0.0", + "@octokit/plugin-rest-endpoint-methods": "^17.0.0", + "@octokit/plugin-retry": "^8.0.3", + "@octokit/plugin-throttling": "^11.0.3", + "@octokit/request-error": "^7.0.2", + "@octokit/types": "^16.0.0", + "@octokit/webhooks": "^14.0.0" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 20" } }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "node_modules/optionator": { + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "dev": true, "license": "MIT", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" + }, "engines": { - "node": ">=0.10.0" + "node": ">= 0.8.0" } }, - "node_modules/run-applescript": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/run-applescript/-/run-applescript-7.0.0.tgz", - "integrity": "sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==", + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, "engines": { - "node": ">=18" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, - "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/scheduler": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.26.0.tgz", - "integrity": "sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==", - "license": "MIT" - }, - "node_modules/semver": { - "version": "7.7.2", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", - "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", - "license": "ISC", - "bin": { - "semver": "bin/semver.js" + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" }, "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/set-cookie-parser": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/set-cookie-parser/-/set-cookie-parser-2.7.1.tgz", - "integrity": "sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==", - "license": "MIT" - }, - "node_modules/shallowequal": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", - "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==", - "license": "MIT" - }, - "node_modules/should": { - "version": "13.2.3", - "resolved": "https://registry.npmjs.org/should/-/should-13.2.3.tgz", - "integrity": "sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==", + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "license": "MIT", "dependencies": { - "should-equal": "^2.0.0", - "should-format": "^3.0.3", - "should-type": "^1.4.0", - "should-type-adaptors": "^1.0.1", - "should-util": "^1.0.0" + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" } }, - "node_modules/should-equal": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/should-equal/-/should-equal-2.0.0.tgz", - "integrity": "sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==", + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "license": "MIT", "dependencies": { - "should-type": "^1.4.0" + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/should-format": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/should-format/-/should-format-3.0.3.tgz", - "integrity": "sha512-hZ58adtulAk0gKtua7QxevgUaXTTXxIi8t41L3zo9AHvjXO1/7sdLECuHeIN2SRtYXpNkmhoUP2pdeWgricQ+Q==", + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, "license": "MIT", - "dependencies": { - "should-type": "^1.3.0", - "should-type-adaptors": "^1.0.1" + "engines": { + "node": ">=8" } }, - "node_modules/should-type": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/should-type/-/should-type-1.4.0.tgz", - "integrity": "sha512-MdAsTu3n25yDbIe1NeN69G4n6mUnJGtSJHygX3+oN0ZbO3DTiATnf7XnYJdGT42JCXurTb1JI0qOBR65shvhPQ==", - "license": "MIT" - }, - "node_modules/should-type-adaptors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/should-type-adaptors/-/should-type-adaptors-1.1.0.tgz", - "integrity": "sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==", + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, "license": "MIT", - "dependencies": { - "should-type": "^1.3.0", - "should-util": "^1.0.0" + "engines": { + "node": ">=8" } }, - "node_modules/should-util": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/should-util/-/should-util-1.0.1.tgz", - "integrity": "sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==", - "license": "MIT" + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "license": "ISC" }, - "node_modules/simple-websocket": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/simple-websocket/-/simple-websocket-9.1.0.tgz", - "integrity": "sha512-8MJPnjRN6A8UCp1I+H/dSFyjwJhp6wta4hsVRhjf8w9qBHRzxYt14RaOcjvQnhD1N4yKOddEjflwMnQM4VtXjQ==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], + "node_modules/picomatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", + "dev": true, "license": "MIT", - "dependencies": { - "debug": "^4.3.1", - "queue-microtask": "^1.2.2", - "randombytes": "^2.1.0", - "readable-stream": "^3.6.0", - "ws": "^7.4.2" + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" } }, - "node_modules/slugify": { - "version": "1.4.7", - "resolved": "https://registry.npmjs.org/slugify/-/slugify-1.4.7.tgz", - "integrity": "sha512-tf+h5W1IrjNm/9rKKj0JU2MDMruiopx0jjVA5zCdBtcGjfp0+c5rHw/zADLC3IeKlGHtVbHtpfzvYA0OYT+HKg==", + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, "license": "MIT", "engines": { - "node": ">=8.0.0" + "node": ">= 0.8.0" } }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "license": "BSD-3-Clause", + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": ">=6" } }, - "node_modules/source-map-js": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.1.tgz", - "integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==", - "license": "BSD-3-Clause", + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": ">=4" } }, - "node_modules/stickyfill": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stickyfill/-/stickyfill-1.1.1.tgz", - "integrity": "sha512-GCp7vHAfpao+Qh/3Flh9DXEJ/qSi0KJwJw6zYlZOtRYXWUIpMM6mC2rIep/dK8RQqwW0KxGJIllmjPIBOGN8AA==" - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "node_modules/resolve-pkg-maps": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz", + "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==", + "dev": true, "license": "MIT", - "dependencies": { - "safe-buffer": "~5.2.0" + "funding": { + "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1" } }, - "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" + "node_modules/semver": { + "version": "7.7.4", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz", + "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, "engines": { - "node": ">=8" + "node": ">=10" } }, - "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==", + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, "license": "MIT", "dependencies": { - "ansi-regex": "^5.0.1" + "shebang-regex": "^3.0.0" }, "engines": { "node": ">=8" } }, - "node_modules/strnum": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/strnum/-/strnum-1.1.2.tgz", - "integrity": "sha512-vrN+B7DBIoTTZjnPNewwhx6cBA/H+IS7rfW68n7XxC1y7uoiGQBxaKzqucGUgavX15dJgiGztLJ8vxuEzwqBdA==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/NaturalIntelligence" - } - ], - "license": "MIT" + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } }, - "node_modules/styled-components": { - "version": "6.1.19", - "resolved": "https://registry.npmjs.org/styled-components/-/styled-components-6.1.19.tgz", - "integrity": "sha512-1v/e3Dl1BknC37cXMhwGomhO8AkYmN41CqyX9xhUDxry1ns3BFQy2lLDRQXJRdVVWB9OHemv/53xaStimvWyuA==", + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, "license": "MIT", - "dependencies": { - "@emotion/is-prop-valid": "1.2.2", - "@emotion/unitless": "0.8.1", - "@types/stylis": "4.2.5", - "css-to-react-native": "3.2.0", - "csstype": "3.1.3", - "postcss": "8.4.49", - "shallowequal": "1.1.0", - "stylis": "4.3.2", - "tslib": "2.6.2" - }, "engines": { - "node": ">= 16" + "node": ">=8" }, "funding": { - "type": "opencollective", - "url": "https://opencollective.com/styled-components" - }, - "peerDependencies": { - "react": ">= 16.8.0", - "react-dom": ">= 16.8.0" + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/stylis": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.3.2.tgz", - "integrity": "sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg==", - "license": "MIT" - }, "node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, "license": "MIT", "dependencies": { "has-flag": "^4.0.0" @@ -2663,233 +2414,241 @@ "node": ">=8" } }, - "node_modules/swagger2openapi": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/swagger2openapi/-/swagger2openapi-7.0.8.tgz", - "integrity": "sha512-upi/0ZGkYgEcLeGieoz8gT74oWHA0E7JivX7aN9mAf+Tc7BQoRBvnIGHoPDw+f9TXTW4s6kGYCZJtauP6OYp7g==", - "license": "BSD-3-Clause", + "node_modules/tinyglobby": { + "version": "0.2.15", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", + "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", + "dev": true, + "license": "MIT", "dependencies": { - "call-me-maybe": "^1.0.1", - "node-fetch": "^2.6.1", - "node-fetch-h2": "^2.3.0", - "node-readfiles": "^0.2.0", - "oas-kit-common": "^1.0.8", - "oas-resolver": "^2.5.6", - "oas-schema-walker": "^1.1.5", - "oas-validator": "^5.0.8", - "reftools": "^1.1.9", - "yaml": "^1.10.0", - "yargs": "^17.0.1" + "fdir": "^6.5.0", + "picomatch": "^4.0.3" }, - "bin": { - "boast": "boast.js", - "oas-validate": "oas-validate.js", - "swagger2openapi": "swagger2openapi.js" + "engines": { + "node": ">=12.0.0" }, "funding": { - "url": "https://github.com/Mermade/oas-kit?sponsor=1" + "url": "https://github.com/sponsors/SuperchupuDev" } }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "node_modules/toad-cache": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/toad-cache/-/toad-cache-3.7.0.tgz", + "integrity": "sha512-/m8M+2BJUpoJdgAHoG+baCwBT+tf2VraSfkBgl0Y00qIWt41DJ8R5B8nsEw0I58YwF5IZH6z24/2TobDKnqSWw==", "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, "engines": { - "node": ">=8.0" + "node": ">=12" } }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "license": "MIT" - }, - "node_modules/tslib": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", - "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", - "license": "0BSD" - }, - "node_modules/typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", - "license": "MIT" + "node_modules/tree-sitter": { + "version": "0.22.4", + "resolved": "https://registry.npmjs.org/tree-sitter/-/tree-sitter-0.22.4.tgz", + "integrity": "sha512-usbHZP9/oxNsUY65MQUsduGRqDHQOou1cagUSwjhoSYAmSahjQDAVsh9s+SlZkn8X8+O1FULRGwHu7AFP3kjzg==", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^8.3.0", + "node-gyp-build": "^4.8.4" + } }, - "node_modules/uglify-js": { - "version": "3.19.3", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", - "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", - "license": "BSD-2-Clause", - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" + "node_modules/tree-sitter-c": { + "version": "0.23.6", + "resolved": "https://registry.npmjs.org/tree-sitter-c/-/tree-sitter-c-0.23.6.tgz", + "integrity": "sha512-0dxXKznVyUA0s6PjNolJNs2yF87O5aL538A/eR6njA5oqX3C3vH4vnx3QdOKwuUdpKEcFdHuiDpRKLLCA/tjvQ==", + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^8.3.0", + "node-gyp-build": "^4.8.4" }, - "engines": { - "node": ">=0.8.0" + "peerDependencies": { + "tree-sitter": "^0.22.1" + }, + "peerDependenciesMeta": { + "tree-sitter": { + "optional": true + } } }, - "node_modules/undici": { - "version": "6.21.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.3.tgz", - "integrity": "sha512-gBLkYIlEnSp8pFbT64yFgGE6UIB9tAkhukC23PmMDCe5Nd+cRqKxSjw5y54MK2AZMgZfJWMaNE4nYUHgi1XEOw==", + "node_modules/tree-sitter-cpp": { + "version": "0.23.4", + "resolved": "https://registry.npmjs.org/tree-sitter-cpp/-/tree-sitter-cpp-0.23.4.tgz", + "integrity": "sha512-qR5qUDyhZ5jJ6V8/umiBxokRbe89bCGmcq/dk94wI4kN86qfdV8k0GHIUEKaqWgcu42wKal5E97LKpLeVW8sKw==", + "hasInstallScript": true, "license": "MIT", - "engines": { - "node": ">=18.17" + "dependencies": { + "node-addon-api": "^8.2.1", + "node-gyp-build": "^4.8.2", + "tree-sitter-c": "^0.23.1" + }, + "peerDependencies": { + "tree-sitter": "^0.21.1" + }, + "peerDependenciesMeta": { + "tree-sitter": { + "optional": true + } } }, - "node_modules/undici-types": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.8.0.tgz", - "integrity": "sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==", - "license": "MIT" - }, - "node_modules/uri-js-replace": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/uri-js-replace/-/uri-js-replace-1.0.1.tgz", - "integrity": "sha512-W+C9NWNLFOoBI2QWDp4UT9pv65r2w5Cx+3sTYFvtMdDBxkKt1syCqsUdSFAChbEe1uK5TfS04wt/nGwmaeIQ0g==", - "license": "MIT" - }, - "node_modules/url-template": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/url-template/-/url-template-2.0.8.tgz", - "integrity": "sha512-XdVKMF4SJ0nP/O7XIPB0JwAEuT9lDIYnNsK8yGVe43y0AWoKeJNdv3ZNWh7ksJ6KqQFjOO6ox/VEitLnaVNufw==", - "license": "BSD" - }, - "node_modules/use-sync-external-store": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.5.0.tgz", - "integrity": "sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==", + "node_modules/ts-api-utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", + "dev": true, "license": "MIT", + "engines": { + "node": ">=18.12" + }, "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" + "typescript": ">=4.8.4" } }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "license": "MIT" - }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "license": "BSD-2-Clause" - }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "node_modules/tsx": { + "version": "4.21.0", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.21.0.tgz", + "integrity": "sha512-5C1sg4USs1lfG0GFb2RLXsdpXqBSEhAaA/0kPL01wxzpMqLILNxIxIOKiILz+cdg/pLnOUxFYOR5yhHU666wbw==", + "dev": true, "license": "MIT", "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" + "esbuild": "~0.27.0", + "get-tsconfig": "^4.7.5" + }, + "bin": { + "tsx": "dist/cli.mjs" + }, + "engines": { + "node": ">=18.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" } }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "license": "MIT" - }, - "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==", + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, "license": "MIT", "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" + "prelude-ls": "^1.2.1" }, "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + "node": ">= 0.8.0" } }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "license": "ISC" + "node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } }, - "node_modules/ws": { - "version": "7.5.10", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.10.tgz", - "integrity": "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ==", + "node_modules/typescript-eslint": { + "version": "8.58.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.58.0.tgz", + "integrity": "sha512-e2TQzKfaI85fO+F3QywtX+tCTsu/D3WW5LVU6nz8hTFKFZ8yBJ6mSYRpXqdR3mFjPWmO0eWsTa5f+UpAOe/FMA==", + "dev": true, "license": "MIT", + "dependencies": { + "@typescript-eslint/eslint-plugin": "8.58.0", + "@typescript-eslint/parser": "8.58.0", + "@typescript-eslint/typescript-estree": "8.58.0", + "@typescript-eslint/utils": "8.58.0" + }, "engines": { - "node": ">=8.3.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, - "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/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/universal-github-app-jwt": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/universal-github-app-jwt/-/universal-github-app-jwt-2.2.2.tgz", + "integrity": "sha512-dcmbeSrOdTnsjGjUfAlqNDJrhxXizjAz94ija9Qw8YkZ1uu0d+GoZzyH+Jb9tIIqvGsadUfwg+22k5aDqqwzbw==", + "license": "MIT" + }, + "node_modules/universal-user-agent": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.3.tgz", + "integrity": "sha512-TmnEAEAsBJVZM/AADELsK76llnwcf9vMKuPz8JflO1frO8Lchitr0fNaN9d+Ap0BjKtqWqd/J17qeDnXh8CL2A==", + "license": "ISC" + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" } }, - "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, "engines": { - "node": ">= 6" + "node": ">= 8" } }, - "node_modules/yaml-ast-parser": { - "version": "0.0.43", - "resolved": "https://registry.npmjs.org/yaml-ast-parser/-/yaml-ast-parser-0.0.43.tgz", - "integrity": "sha512-2PTINUwsRqSd+s8XxKaJWQlUuEMHJQyEuh2edBbW8KNJz0SJPwUSD2zRWqezFEdN7IzAgeuYHFUCF7o8zRdZ0A==", - "license": "Apache-2.0" - }, - "node_modules/yargs": { - "version": "17.0.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.0.1.tgz", - "integrity": "sha512-xBBulfCc8Y6gLFcrPvtqKz9hz8SO0l1Ni8GgDekvBX2ro0HRQImDGnikfc33cgzcYUSncapnNcZDjVFIH3f6KQ==", + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "dev": true, "license": "MIT", - "dependencies": { - "cliui": "^7.0.2", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.0", - "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" - }, "engines": { - "node": ">=12" + "node": ">=0.10.0" } }, - "node_modules/yargs-parser": { - "version": "20.2.9", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", - "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", - "license": "ISC", + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", "engines": { "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/zod": { + "version": "3.25.76", + "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", + "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" } } } From 9fa74c4260eb2fc7c186a02cffdbf739c25ea26f Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 17:21:29 +0300 Subject: [PATCH 04/30] ci: use renamed scripts for yml linting --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ddde82c..fabd713 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,10 +19,10 @@ jobs: run: npm install - name: Lint OpenAPI specification - run: npm run lint + run: npm run spec:lint - name: Bundle OpenAPI specification - run: npm run bundle + run: npm run spec:bundle - name: Upload bundled specification uses: actions/upload-artifact@v4 From 25149290a3d9489f5d167bc429db96fa7ce9c262 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:50:39 +0300 Subject: [PATCH 05/30] feat: add path normalization helpers --- src/text.ts | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/text.ts diff --git a/src/text.ts b/src/text.ts new file mode 100644 index 0000000..58aa3bb --- /dev/null +++ b/src/text.ts @@ -0,0 +1,25 @@ +export function normalizeNewlines(input: string): string { + return input.replace(/\r\n/g, '\n'); +} + +export function normalizePathSegments(segments: readonly string[]): string { + return segments + .map((segment, index) => { + if (segment === '[]') return segment; + return index > 0 ? `.${segment}` : segment; + }) + .join(''); +} + +export function extractPathName(canonicalPath: string): string { + return canonicalPath + .split(".") + .filter((part) => part.length > 0 && part !== "[]") + .at(-1) ?? ""; +} + +export function sortedReadonly(values: readonly T[], compare: (left: T, right: T) => number): readonly T[] { + const copy = [...values]; + copy.sort(compare); + return copy; +} From 514b63f26bcc81a38420aff51657852b073bbbac Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:50:45 +0300 Subject: [PATCH 06/30] feat: add in-memory diagnostics collector --- src/diagnostics.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/diagnostics.ts diff --git a/src/diagnostics.ts b/src/diagnostics.ts new file mode 100644 index 0000000..f40a2a0 --- /dev/null +++ b/src/diagnostics.ts @@ -0,0 +1,13 @@ +import type { ApiDiagnostic, DiagnosticCollector } from "./types.js"; + +export class MemoryDiagnosticCollector implements DiagnosticCollector { + readonly #items: ApiDiagnostic[] = []; + + add(diagnostic: ApiDiagnostic): void { + this.#items.push(diagnostic); + } + + snapshot(): readonly ApiDiagnostic[] { + return [...this.#items]; + } +} From 613e52d6fbfc9e5adcdff902a25e7aec5094474f Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:50:47 +0300 Subject: [PATCH 07/30] feat: add progress reporting --- src/progress.ts | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/progress.ts diff --git a/src/progress.ts b/src/progress.ts new file mode 100644 index 0000000..cfde094 --- /dev/null +++ b/src/progress.ts @@ -0,0 +1,47 @@ +export class ProgressReporter { + readonly #jsonMode: boolean; + + constructor(jsonMode: boolean) { + this.#jsonMode = jsonMode; + } + + startStep(name: string): StepHandle { + if (this.#jsonMode) { + process.stdout.write(`${JSON.stringify({ event: "step:start", name })}\n`); + } else { + process.stdout.write(`* ${name}\n`); + } + return new StepHandle(name, this.#jsonMode); + } + + info(message: string): void { + if (this.#jsonMode) { + process.stdout.write(`${JSON.stringify({ event: "info", message })}\n`); + return; + } + process.stdout.write(` ${message}\n`); + } +} + +class StepHandle { + readonly #name: string; + readonly #jsonMode: boolean; + readonly #startedAt: number; + + constructor(name: string, jsonMode: boolean) { + this.#name = name; + this.#jsonMode = jsonMode; + this.#startedAt = Date.now(); + } + + done(details?: string): void { + const elapsedMs = Date.now() - this.#startedAt; + if (this.#jsonMode) { + process.stdout.write(`${JSON.stringify({ event: "step:done", name: this.#name, elapsedMs, details })}\n`); + return; + } + + const suffix = details === undefined ? "" : ` ${details}`; + process.stdout.write(` done ${this.#name} (${elapsedMs}ms)${suffix}\n`); + } +} From ae8c382ad6d378cc442afa4b4a9a7a5cc071b9a1 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:50:52 +0300 Subject: [PATCH 08/30] feat: add filesystem helpers --- src/fs.ts | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 src/fs.ts diff --git a/src/fs.ts b/src/fs.ts new file mode 100644 index 0000000..d27ccf4 --- /dev/null +++ b/src/fs.ts @@ -0,0 +1,55 @@ +import { mkdir, readFile, readdir, stat, writeFile } from "node:fs/promises"; +import path from "node:path"; + +export async function readTextFile(filePath: string): Promise { + if (filePath.startsWith("https://")) { + const response = await fetch(filePath, { + headers: { + "User-Agent": "typesense-api-extractor", + Accept: "text/plain", + }, + }); + if (!response.ok) { + throw new Error( + `Could not read remote file ${filePath}: ${response.status} ${response.statusText}`, + ); + } + return response.text(); + } + + return readFile(filePath, "utf8"); +} + +export async function writeTextFile( + filePath: string, + contents: string, +): Promise { + await mkdir(path.dirname(filePath), { recursive: true }); + await writeFile(filePath, contents, "utf8"); +} + +export async function listFilesRecursive( + rootPath: string, +): Promise { + const entries = await readdir(rootPath, { withFileTypes: true }); + const nestedFiles = await Promise.all( + entries.map(async (entry) => { + const fullPath = path.join(rootPath, entry.name); + if (entry.isDirectory()) { + return listFilesRecursive(fullPath); + } + return entry.isFile() ? [fullPath] : []; + }), + ); + + return nestedFiles.flat(); +} + +export async function fileExists(filePath: string): Promise { + try { + const fileStat = await stat(filePath); + return fileStat.isFile() ?? fileStat.isDirectory(); + } catch { + return false; + } +} From 8b34e305b3668fd75196f6d161bbe1993121610a Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:50:59 +0300 Subject: [PATCH 09/30] feat: add c++ ast helpers --- src/cpp-ast.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/cpp-ast.ts diff --git a/src/cpp-ast.ts b/src/cpp-ast.ts new file mode 100644 index 0000000..9e814f7 --- /dev/null +++ b/src/cpp-ast.ts @@ -0,0 +1,27 @@ +import Parser from "tree-sitter"; +import type { SyntaxNode } from "tree-sitter"; +import Cpp from "tree-sitter-cpp"; + +const parser = new Parser(); +parser.setLanguage(Cpp as unknown as Parser.Language); + +export function parseCpp(sourceText: string): SyntaxNode { + return parser.parse(sourceText).rootNode; +} + +export function findFirstNamedNode(rootNode: SyntaxNode, type: string): SyntaxNode | undefined { + if (rootNode.type === type) { + return rootNode; + } + + return rootNode.namedChildren.find((child) => child.type === type) ?? undefined; +} + +export function walkNamed(node: SyntaxNode, visit: (node: SyntaxNode) => void): void { + visit(node); + node.namedChildren.forEach((child) => walkNamed(child, visit)); +} + +export function childForField(node: SyntaxNode, fieldName: string): SyntaxNode | undefined { + return node.childForFieldName(fieldName) ?? undefined; +} From ce9a3fd8aaa45bec54860a0405db49171339587b Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:02 +0300 Subject: [PATCH 10/30] feat: add counting semaphore --- src/concurrency.ts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/concurrency.ts diff --git a/src/concurrency.ts b/src/concurrency.ts new file mode 100644 index 0000000..415ab7a --- /dev/null +++ b/src/concurrency.ts @@ -0,0 +1,32 @@ +export class CountingSemaphore { + #count: number; + readonly #waiters: (() => void)[] = []; + + constructor(count: number) { + if (count < 1) { + throw new Error("Semaphore count must be at least 1"); + } + this.#count = count; + } + + async acquire(): Promise { + if (this.#count > 0) { + this.#count -= 1; + return; + } + + await new Promise((resolve) => { + this.#waiters.push(resolve); + }); + } + + release(): void { + const nextResolve = this.#waiters.shift(); + if (nextResolve !== undefined) { + nextResolve(); + return; + } + + this.#count += 1; + } +} From 4ecc0f127a59cf7e549c1b789e186442d94f7269 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:04 +0300 Subject: [PATCH 11/30] feat: add extractor config loading --- src/config-schema.ts | 64 +++++++++++++++++++++++++++++++++++ src/config.ts | 79 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 143 insertions(+) create mode 100644 src/config-schema.ts create mode 100644 src/config.ts diff --git a/src/config-schema.ts b/src/config-schema.ts new file mode 100644 index 0000000..58db6ed --- /dev/null +++ b/src/config-schema.ts @@ -0,0 +1,64 @@ +import { z } from "zod"; +import { HttpMethodMap } from "./types.js"; + +export const httpMethodSchema = z.nativeEnum(HttpMethodMap); + +export const locationEnum = z.enum(["path", "query", "body"]); + +export const routeOverrideParameterSchema = z.object({ + location: z.enum(["path", "query", "body"]), + name: z.string().min(1), + canonicalPath: z.string().min(1).optional(), +}); + +export const routeOverrideSchema = z.object({ + method: httpMethodSchema.optional(), + path: z.string().min(1), + skip: z.boolean().optional(), + removeParams: z.array(z.string().min(1)).optional(), + addParams: z.array(routeOverrideParameterSchema).optional(), +}); + +export const extractorConfigSchema = z + .object({ + root_dir: z.string().default(""), + route_file: z.string().min(1).default("src/main/typesense_server.cpp"), + source_branch: z.string().min(1).default("v30"), + output_path: z.string().min(1).default("./output/typesense_api_spec.json"), + diagnostics_output_path: z + .string() + .min(1) + .optional() + .default("./output/typesense_api_diagnostics.json"), + base_url: z.string().min(1).optional(), + max_call_depth: z.number().finite().default(4), + fail_on_diagnostics: z.boolean().default(false), + fail_on_unresolved: z.boolean().default(false), + include_helpers: z.array(z.string().min(1)).default([]), + blacklist: z + .object({ + paths: z.array(z.string().min(1)).default([]), + params: z.array(z.string().min(1)).default([]), + }) + .default({ + paths: [], + params: [], + }), + overrides: z.array(routeOverrideSchema).default([]), + debug: z + .object({ + enabled: z.boolean().default(false), + route_filter: z.string().min(1).optional(), + }) + .default({ + enabled: false, + }), + }) + .strict(); + +export type RouteOverrideParameter = z.infer< + typeof routeOverrideParameterSchema +>; +export type RouteOverride = z.infer; +export type ParsedExtractorConfig = z.infer; +export type ParameterLocation = z.infer; diff --git a/src/config.ts b/src/config.ts new file mode 100644 index 0000000..c2fad76 --- /dev/null +++ b/src/config.ts @@ -0,0 +1,79 @@ +import path from "node:path"; +import { cosmiconfig } from "cosmiconfig"; +import { extractorConfigSchema } from "./config-schema.js"; +import type { ParsedExtractorConfig } from "./config-schema.js"; +import type { + CliOptions, + ExtractorConfig, +} from "./types.js"; + +export async function loadConfig( + configPath: string, + cliOptions: CliOptions, +): Promise { + const absoluteConfigPath = path.resolve(configPath); + const configDir = path.dirname(absoluteConfigPath); + const explorer = cosmiconfig("typesense-api-extractor", { + searchPlaces: [ + "package.json", + ".typesense-api-extractorrc", + ".typesense-api-extractorrc.json", + ".typesense-api-extractorrc.yaml", + ".typesense-api-extractorrc.yml", + ".typesense-api-extractorrc.js", + "typesense-api-extractor.config.js", + "config.json", + ], + }); + + const result = await explorer.load(absoluteConfigPath); + if (result === null) { + throw new Error(`Could not load config file ${absoluteConfigPath}.`); + } + + const parsedConfig = parseConfig(result.config, absoluteConfigPath); + return { + rootDir: parsedConfig.root_dir, + routeFile: parsedConfig.route_file, + sourceBranch: parsedConfig.source_branch, + outputPath: + cliOptions.outputPath !== undefined + ? path.resolve(cliOptions.outputPath) + : path.resolve(configDir, parsedConfig.output_path), + diagnosticsOutputPath: + parsedConfig.diagnostics_output_path === undefined + ? undefined + : path.resolve(configDir, parsedConfig.diagnostics_output_path), + baseUrl: cliOptions.baseUrl ?? parsedConfig.base_url, + maxCallDepth: cliOptions.maxCallDepth ?? parsedConfig.max_call_depth, + failOnDiagnostics: + cliOptions.failOnDiagnostics ?? parsedConfig.fail_on_diagnostics, + failOnUnresolved: + cliOptions.failOnUnresolved ?? parsedConfig.fail_on_unresolved, + blacklist: parsedConfig.blacklist, + includeHelpers: parsedConfig.include_helpers, + overrides: parsedConfig.overrides, + debug: { + enabled: cliOptions.verbose || parsedConfig.debug.enabled, + routeFilter: cliOptions.debugRoute ?? parsedConfig.debug.route_filter, + }, + }; +} + +function parseConfig( + config: unknown, + configPath: string, +): ParsedExtractorConfig { + const parsedConfig = extractorConfigSchema.safeParse(config); + if (parsedConfig.success) { + return parsedConfig.data; + } + + const message = parsedConfig.error.errors + .map( + (error) => + `Error for config field '${error.path.join(".")}': ${error.message}`, + ) + .join("\n"); + throw new Error(`Could not parse config file ${configPath}:\n${message}`); +} From 99d09cfd6ac9eb5a8e82e8ad89caee60eef2c517 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:06 +0300 Subject: [PATCH 12/30] feat: add source resolution helpers --- src/source.ts | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 src/source.ts diff --git a/src/source.ts b/src/source.ts new file mode 100644 index 0000000..59f63e0 --- /dev/null +++ b/src/source.ts @@ -0,0 +1,80 @@ +import { Octokit } from "octokit"; + +const GITHUB_OWNER = "typesense" as const; +const GITHUB_REPO = "typesense" as const; +const GITHUB_RAW_BASE_URL = + `https://raw.githubusercontent.com/${GITHUB_OWNER}/${GITHUB_REPO}` as const; +const GITHUB_API_VERSION = "2022-11-28" as const; +const octokit = new Octokit(); + +export function resolveSourcePath(rootDir: string, filePath: string): string { + const normalizedRootDir = normalizeRepoPath(rootDir); + const normalizedFilePath = normalizeRepoPath(filePath); + + if (normalizedFilePath.length === 0) { + throw new Error("Source file path cannot be empty."); + } + + if ( + normalizedFilePath.startsWith("http://") || + normalizedFilePath.startsWith("https://") + ) { + return normalizedFilePath; + } + + if (normalizedRootDir.length === 0) { + return normalizedFilePath; + } + + return normalizeRepoPath(`${normalizedRootDir}/${normalizedFilePath}`); +} + +export function resolveRawGithubUrl( + sourceBranch: string, + sourcePath: string, +): string { + const normalizedSourcePath = normalizeRepoPath(sourcePath); + if (normalizedSourcePath.length === 0) { + throw new Error("Source path cannot be empty."); + } + return `${GITHUB_RAW_BASE_URL}/${sourceBranch}/${normalizedSourcePath}`; +} + +export async function listSourceFiles( + sourceBranch: string, + rootDir: string, + extensions: readonly string[], +): Promise { + const response = await octokit.rest.git.getTree({ + owner: GITHUB_OWNER, + repo: GITHUB_REPO, + tree_sha: sourceBranch, + recursive: "1", + headers: { + "X-GitHub-Api-Version": GITHUB_API_VERSION, + }, + }); + + if (response.data.truncated === true) { + throw new Error(`GitHub tree response for ${sourceBranch} was truncated.`); + } + + const normalizedRootDir = normalizeRepoPath(rootDir); + const rootPrefix = + normalizedRootDir.length === 0 ? "" : `${normalizedRootDir}/`; + + return response.data.tree + .filter((entry) => entry.type === "blob") + .map((entry) => entry.path) + .filter((filePath): filePath is string => filePath !== undefined) + .filter( + (filePath) => rootPrefix.length === 0 || filePath.startsWith(rootPrefix), + ) + .filter((filePath) => + extensions.some((extension) => filePath.endsWith(extension)), + ); +} + +function normalizeRepoPath(value: string): string { + return value.replaceAll("\\", "/").replace(/^\/+/, "").replace(/\/+$/, ""); +} From c7bc26592c82523f30fcae7485a0115b294cde15 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:08 +0300 Subject: [PATCH 13/30] feat: add string constant loading --- src/constants.ts | 169 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 169 insertions(+) create mode 100644 src/constants.ts diff --git a/src/constants.ts b/src/constants.ts new file mode 100644 index 0000000..8e16f1b --- /dev/null +++ b/src/constants.ts @@ -0,0 +1,169 @@ +import type { SyntaxNode } from "tree-sitter"; +import { childForField, parseCpp } from "./cpp-ast.js"; +import { CountingSemaphore } from "./concurrency.js"; +import { readTextFile } from "./fs.js"; +import { listSourceFiles, resolveRawGithubUrl } from "./source.js"; + +export async function loadStringConstants( + rootDir: string, + sourceBranch: string, +): Promise> { + const candidateFiles = await listSourceFiles(sourceBranch, rootDir, [".h", ".hpp", ".cpp"]); + const semaphore = new CountingSemaphore(8); + const sourceTexts = await Promise.all( + candidateFiles.map(async (filePath) => { + await semaphore.acquire(); + try { + return await readTextFile(resolveRawGithubUrl(sourceBranch, filePath)); + } finally { + semaphore.release(); + } + }), + ); + + const allEntries = sourceTexts.flatMap(scanConstants); + return new Map( + [...allEntries].reverse().map(({ name, value }): [string, string] => [name, value]), + ); +} + +interface ConstantEntry { + readonly name: string; + readonly value: string; +} + +interface ScanAccumulator { + readonly pendingLines: readonly string[]; + readonly entries: readonly ConstantEntry[]; +} + +function scanConstants(sourceText: string): readonly ConstantEntry[] { + return sourceText + .replaceAll("\r\n", "\n") + .split("\n") + .reduce( + (acc, line) => scanConstantLine(line, acc), + { pendingLines: [], entries: [] }, + ).entries; +} + +function scanConstantLine(line: string, acc: ScanAccumulator): ScanAccumulator { + const trimmedLine = line.trim(); + if (trimmedLine.length === 0) { + return { pendingLines: [], entries: acc.entries }; + } + + if (trimmedLine.startsWith("#define")) { + const entry = parseDefineConstant(trimmedLine); + return { + pendingLines: [], + entries: entry !== undefined ? [...acc.entries, entry] : acc.entries, + }; + } + + const pendingLines = [...acc.pendingLines, trimmedLine]; + if (!trimmedLine.endsWith(";")) { + return { pendingLines, entries: acc.entries }; + } + + const entry = parseDeclarationConstant(pendingLines.join(" ")); + return { + pendingLines: [], + entries: entry !== undefined ? [...acc.entries, entry] : acc.entries, + }; +} + +function parseDefineConstant(sourceLine: string): ConstantEntry | undefined { + const rootNode = parseCpp(`${sourceLine}\n`); + const defineNode = rootNode.namedChildren.find( + (child) => child.type === "preproc_def", + ); + if (defineNode === undefined) { + return undefined; + } + + const nameNode = defineNode.namedChildren.find( + (child) => child.type === "identifier", + ); + const valueNode = childForField(defineNode, "value"); + const name = nameNode?.text; + const value = + valueNode === undefined ? undefined : extractStringLiteral(valueNode.text); + if (name === undefined || value === undefined) { + return undefined; + } + return { name, value }; +} + +function parseDeclarationConstant(sourceLine: string): ConstantEntry | undefined { + const rootNode = parseCpp(`${sourceLine}\n`); + const declarationNode = rootNode.namedChildren.find( + (child) => child.type === "declaration", + ); + if (declarationNode === undefined) { + return undefined; + } + + const initDeclaratorNode = childForField(declarationNode, "declarator"); + if ( + initDeclaratorNode === undefined || + initDeclaratorNode.type !== "init_declarator" + ) { + return undefined; + } + + const declaratorNode = childForField(initDeclaratorNode, "declarator"); + const valueNode = childForField(initDeclaratorNode, "value"); + const name = extractDeclaratorName(declaratorNode); + const value = + valueNode === undefined ? undefined : extractStringLiteral(valueNode.text); + if (name === undefined || value === undefined) { + return undefined; + } + return { name, value }; +} + +function extractDeclaratorName( + node: SyntaxNode | undefined, +): string | undefined { + if (node === undefined) { + return undefined; + } + + if (node.type === "identifier" || node.type === "field_identifier") { + return node.text; + } + + const nestedDeclarator = childForField(node, "declarator"); + if (nestedDeclarator !== undefined) { + return extractDeclaratorName(nestedDeclarator); + } + + for (const child of node.namedChildren) { + const name = extractDeclaratorName(child); + if (name !== undefined) { + return name; + } + } + + return undefined; +} + +function extractStringLiteral(value: string): string | undefined { + const trimmedValue = value.trim(); + return trimmedValue.startsWith('"') && trimmedValue.endsWith('"') + ? trimmedValue.slice(1, trimmedValue.length - 1) + : undefined; +} + +export function resolveConstantValue( + token: string, + constants: ReadonlyMap, +): string | undefined { + const trimmedToken = token.trim(); + const literalValue = extractStringLiteral(trimmedToken); + if (literalValue !== undefined) { + return literalValue; + } + return constants.get(trimmedToken); +} From b9e89fff324656f6e5f1ad3a201fb75576db4c4a Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:10 +0300 Subject: [PATCH 14/30] feat: add function symbol indexing --- src/symbols.ts | 137 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 src/symbols.ts diff --git a/src/symbols.ts b/src/symbols.ts new file mode 100644 index 0000000..b256637 --- /dev/null +++ b/src/symbols.ts @@ -0,0 +1,137 @@ +import type { SyntaxNode } from "tree-sitter"; +import { childForField, parseCpp } from "./cpp-ast.js"; +import { readTextFile } from "./fs.js"; +import { normalizeNewlines } from "./text.js"; +import { resolveRawGithubUrl, resolveSourcePath } from "./source.js"; +import type { FunctionDefinition, FunctionParameter } from "./types.js"; + +export async function indexFunctions( + rootDir: string, + includeHelpers: readonly string[], + sourceBranch: string, +): Promise> { + const sourceFiles = [ + "src/core_api.cpp", + "src/core_api_utils.cpp", + "src/auth_manager.cpp", + "src/collection.cpp", + "src/collection_manager.cpp", + "src/curation_index_manager.cpp", + "src/field.cpp", + "src/synonym_index_manager.cpp", + "src/tsconfig.cpp", + ...includeHelpers, + ] + .map((filePath) => resolveSourcePath(rootDir, filePath)) + .map((filePath) => resolveRawGithubUrl(sourceBranch, filePath)); + + const allDefinitions = ( + await Promise.all( + sourceFiles.map(async (filePath) => { + const sourceText = normalizeNewlines(await readTextFile(filePath)); + return extractFunctionDefinitions(filePath, sourceText); + }), + ) + ).flat(); + + const functions = new Map(); + allDefinitions.forEach((definition) => { + const overloadKey = serializeOverloadKey(definition.name, definition.parameters.length); + if (!functions.has(overloadKey)) { + functions.set(overloadKey, definition); + } + if (!functions.has(definition.name)) { + functions.set(definition.name, definition); + } + }); + + return functions; +} + +function serializeOverloadKey(name: string, arity: number): string { + return `${name}#${arity}`; +} + +function extractFunctionDefinitions(filePath: string, sourceText: string): readonly FunctionDefinition[] { + const rootNode = parseCpp(sourceText); + return collectFunctionNodes(rootNode).flatMap((functionNode) => { + const definition = materializeFunctionDefinition(filePath, sourceText, functionNode); + return definition !== undefined ? [definition] : []; + }); +} + +function collectFunctionNodes(node: SyntaxNode): readonly SyntaxNode[] { + if (node.type === "function_definition") { + return [node]; + } + return node.namedChildren.flatMap(collectFunctionNodes); +} + +function materializeFunctionDefinition( + filePath: string, + sourceText: string, + functionNode: SyntaxNode, +): FunctionDefinition | undefined { + const declaratorNode = childForField(functionNode, "declarator"); + const bodyNode = childForField(functionNode, "body"); + if (declaratorNode === undefined || bodyNode === undefined || bodyNode.type !== "compound_statement") { + return undefined; + } + + const nameNode = childForField(declaratorNode, "declarator"); + const functionName = extractDeclaratorName(nameNode); + if (functionName === undefined) { + return undefined; + } + + return { + name: functionName, + filePath, + declaration: sourceText.slice(functionNode.startIndex, bodyNode.startIndex).trim(), + body: sourceText.slice(bodyNode.startIndex + 1, bodyNode.endIndex - 1), + fullText: sourceText.slice(functionNode.startIndex, functionNode.endIndex), + source: { + filePath, + line: functionNode.startPosition.row + 1, + column: functionNode.startPosition.column + 1, + }, + parameters: parseParametersFromDeclarator(declaratorNode), + }; +} + +function parseParametersFromDeclarator(declaratorNode: SyntaxNode): readonly FunctionParameter[] { + const parameterListNode = childForField(declaratorNode, "parameters"); + if (parameterListNode === undefined) { + return []; + } + + return parameterListNode.namedChildren + .filter((parameterNode) => parameterNode.type === "parameter_declaration") + .flatMap((parameterNode) => { + const nestedDeclarator = childForField(parameterNode, "declarator"); + const name = extractDeclaratorName(nestedDeclarator); + if (name === undefined) return []; + const typeText = + nestedDeclarator === undefined + ? parameterNode.text.trim() + : parameterNode.text.slice(0, parameterNode.text.length - nestedDeclarator.text.length).trim(); + return [{ name, typeText }]; + }); +} + +function extractDeclaratorName(node: SyntaxNode | undefined): string | undefined { + if (node === undefined) { + return undefined; + } + + if (node.type === "identifier" || node.type === "field_identifier") { + return node.text; + } + + const nestedDeclarator = childForField(node, "declarator"); + if (nestedDeclarator !== undefined) { + return extractDeclaratorName(nestedDeclarator); + } + + return node.namedChildren.find((child) => child.type === "identifier" || child.type === "field_identifier")?.text; +} From 952b5730fa5bb1cb3f779e2a6ad9bcd198f723bc Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:13 +0300 Subject: [PATCH 15/30] feat: discover route registrations --- src/routes.ts | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 src/routes.ts diff --git a/src/routes.ts b/src/routes.ts new file mode 100644 index 0000000..ceba675 --- /dev/null +++ b/src/routes.ts @@ -0,0 +1,83 @@ +import { childForField, parseCpp, walkNamed } from './cpp-ast.js'; +import { readTextFile } from './fs.js'; +import { normalizeNewlines } from './text.js'; +import { type CppHttpMethod, type RouteRegistration, HttpMethodMap } from './types.js'; + +export async function discoverRoutes(routeFilePath: string): Promise { + const sourceText = normalizeNewlines(await readTextFile(routeFilePath)); + const rootNode = parseCpp(sourceText); + const routes: RouteRegistration[] = []; + + walkNamed(rootNode, (node) => { + if (node.type !== 'call_expression') { + return; + } + + const functionNode = childForField(node, 'function'); + const functionParts = functionNode === undefined ? undefined : parseFieldExpression(functionNode); + if (functionParts === undefined) { + return; + } + + if (functionParts.operator !== '->' || functionParts.baseName !== 'server' || !isHttpMethodToken(functionParts.fieldName)) { + return; + } + + const argumentListNode = node.namedChildren.find((child) => child.type === 'argument_list'); + const pathNode = argumentListNode?.namedChildren[0]; + const handlerNode = argumentListNode?.namedChildren[1]; + const pathTemplate = pathNode === undefined ? undefined : extractStringLiteral(pathNode.text); + const handler = handlerNode?.type === 'identifier' ? handlerNode.text : undefined; + if (pathTemplate === undefined || handler === undefined) { + return; + } + + routes.push({ + method: HttpMethodMap[functionParts.fieldName], + pathTemplate, + handler, + source: { + filePath: routeFilePath, + line: node.startPosition.row + 1, + column: node.startPosition.column + 1, + }, + }); + }); + + return routes; +} + +function parseFieldExpression(node: { readonly type: string; readonly text: string; childForFieldName(fieldName: string): unknown }): { + readonly baseName: string; + readonly fieldName: string; + readonly operator: string; +} | undefined { + if (node.type !== 'field_expression') { + return undefined; + } + + const argumentNode = childForField(node as never, 'argument'); + const fieldNode = childForField(node as never, 'field'); + const operatorNode = childForField(node as never, 'operator'); + if (argumentNode === undefined || fieldNode === undefined || operatorNode === undefined) { + return undefined; + } + + if (argumentNode.type !== 'identifier') { + return undefined; + } + + return { + baseName: argumentNode.text, + fieldName: fieldNode.text, + operator: operatorNode.text, + }; +} + +function isHttpMethodToken(token: string): token is CppHttpMethod { + return token in HttpMethodMap; +} + +function extractStringLiteral(value: string): string | undefined { + return value.startsWith('"') && value.endsWith('"') ? value.slice(1, value.length - 1) : undefined; +} From fce5c3c70590900fb8198c24fda5bbbe8450106b Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:20 +0300 Subject: [PATCH 16/30] feat: add syntax parsing helpers --- src/analysis/syntax.ts | 147 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 src/analysis/syntax.ts diff --git a/src/analysis/syntax.ts b/src/analysis/syntax.ts new file mode 100644 index 0000000..1dcfea8 --- /dev/null +++ b/src/analysis/syntax.ts @@ -0,0 +1,147 @@ +import { childForField } from "../cpp-ast.js"; +import type { SyntaxNode } from "tree-sitter"; + +export interface ParsedCall { + readonly calleeName: string; + readonly baseNode: SyntaxNode | undefined; + readonly methodName: string | undefined; + readonly arguments: readonly SyntaxNode[]; +} + +export function parseCallExpressionNode( + node: SyntaxNode, +): ParsedCall | undefined { + const functionNode = childForField(node, "function"); + const argumentListNode = node.namedChildren.find( + (child) => child.type === "argument_list", + ); + if (functionNode === undefined || argumentListNode === undefined) { + return undefined; + } + + const argumentsList = [...argumentListNode.namedChildren]; + const fieldParts = + functionNode.type === "field_expression" + ? parseFieldExpression(functionNode) + : undefined; + if (fieldParts !== undefined) { + return { + calleeName: functionNode.text, + baseNode: fieldParts.baseNode, + methodName: fieldParts.fieldName, + arguments: argumentsList, + }; + } + + return { + calleeName: functionNode.text, + baseNode: undefined, + methodName: undefined, + arguments: argumentsList, + }; +} + +export function extractStringLiteral(value: string): string | undefined { + const trimmedValue = value.trim(); + if (trimmedValue.startsWith('"') && trimmedValue.endsWith('"')) { + return trimmedValue.slice(1, trimmedValue.length - 1); + } + return undefined; +} + +export function parseFieldExpression(node: SyntaxNode): + | { + readonly baseNode: SyntaxNode; + readonly fieldName: string; + readonly operator: string; + } + | undefined { + if (node.type !== "field_expression") { + return undefined; + } + + const baseNode = childForField(node, "argument"); + const fieldNode = childForField(node, "field"); + const operatorNode = childForField(node, "operator"); + if ( + baseNode === undefined || + fieldNode === undefined || + operatorNode === undefined + ) { + return undefined; + } + + return { + baseNode, + fieldName: fieldNode.text, + operator: operatorNode.text, + }; +} + +export function extractLoopAliasName(statement: SyntaxNode): string | undefined { + return statement.namedChildren + .filter((child) => child.type !== "compound_statement" && child.type !== "field_expression") + .map((child) => extractDeclaratorName(child)) + .find((name): name is string => name !== undefined); +} + +export function extractSubscriptIndexNode( + node: SyntaxNode, +): SyntaxNode | undefined { + const argListNode = node.namedChildren.find( + (child) => child.type === "subscript_argument_list", + ); + return argListNode?.namedChildren[0]; +} + +export function extractIdentifierName(node: SyntaxNode): string | undefined { + const normalizedNode = unwrapExpressionNode(node); + if (normalizedNode.type === "identifier") { + return normalizedNode.text; + } + return undefined; +} + +export function extractDeclaratorName( + node: SyntaxNode | undefined, +): string | undefined { + if (node === undefined) { + return undefined; + } + + if (node.type === "identifier" || node.type === "field_identifier") { + return node.text; + } + + const nestedDeclarator = childForField(node, "declarator"); + if (nestedDeclarator !== undefined) { + return extractDeclaratorName(nestedDeclarator); + } + + for (const child of node.namedChildren) { + const name = extractDeclaratorName(child); + if (name !== undefined) { + return name; + } + } + + return undefined; +} + +export function unwrapExpressionNode(node: SyntaxNode): SyntaxNode { + let current = node; + while ( + (current.type === "parenthesized_expression" || + current.type === "reference_expression" || + current.type === "qualified_identifier") && + current.namedChildren.length > 0 + ) { + current = + current.namedChildren[current.namedChildren.length - 1] ?? current; + } + return current; +} + +export function isConstantIdentifier(value: string): boolean { + return value.length > 0 && /^[A-Z0-9_]+$/.test(value); +} From 7f2c5e7312a185404b6fe0c3ef132c8cb67d113b Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:24 +0300 Subject: [PATCH 17/30] feat: add route debug logger --- src/analysis/debug.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/analysis/debug.ts diff --git a/src/analysis/debug.ts b/src/analysis/debug.ts new file mode 100644 index 0000000..3e122e9 --- /dev/null +++ b/src/analysis/debug.ts @@ -0,0 +1,18 @@ +import type { DebugConfig } from "../types.js"; + +export function createDebugLogger( + routeKey: string, + debugConfig: DebugConfig, +): (message: string) => void { + const filter = debugConfig.routeFilter; + const enabled = debugConfig.enabled || filter !== undefined; + const shouldLog = filter === undefined || routeKey.includes(filter); + + if (!enabled || !shouldLog) { + return () => {}; + } + + return (message: string): void => { + process.stderr.write(`[extractor:${routeKey}] ${message}\n`); + }; +} From 51613bc7c268e60b536b9824dd8c9dee347f49d5 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:27 +0300 Subject: [PATCH 18/30] feat: add collected parameter tracking --- src/analysis/collector.ts | 124 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 src/analysis/collector.ts diff --git a/src/analysis/collector.ts b/src/analysis/collector.ts new file mode 100644 index 0000000..edce7e0 --- /dev/null +++ b/src/analysis/collector.ts @@ -0,0 +1,124 @@ +import type { ParameterLocation } from "../config-schema.js"; +import { isValueType } from "../types.js"; +import type { + CollectedParameter, + RouteRegistration, + ValueType, +} from "../types.js"; + +export class ParameterCollector { + readonly #path = new Map(); + readonly #query = new Map(); + readonly #body = new Map(); + + constructor(route: RouteRegistration) { + for (const parameter of collectPathParams(route)) { + this.#path.set(parameter.canonicalPath, parameter); + } + } + + add(parameter: CollectedParameter): void { + if (parameter.location === "path") { + this.#path.set( + parameter.canonicalPath, + mergeCollectedParameter( + this.#path.get(parameter.canonicalPath), + parameter, + ), + ); + return; + } + if (parameter.location === "query") { + this.#query.set( + parameter.canonicalPath, + mergeCollectedParameter( + this.#query.get(parameter.canonicalPath), + parameter, + ), + ); + return; + } + if (parameter.location === "body") { + this.#body.set( + parameter.canonicalPath, + mergeCollectedParameter( + this.#body.get(parameter.canonicalPath), + parameter, + ), + ); + } + } + + snapshot(location: ParameterLocation): readonly CollectedParameter[] { + switch (location) { + case "path": + return [...this.#path.values()]; + case "query": + return [...this.#query.values()]; + case "body": + return [...this.#body.values()]; + default: { + const _exhaustiveCheck: never = location; + // eslint-disable-next-line + throw new Error(`Unhandled case: ${_exhaustiveCheck}`); + } + } + } +} + +function mergeCollectedParameter( + existing: CollectedParameter | undefined, + incoming: CollectedParameter, +): CollectedParameter { + if (existing === undefined) { + return incoming; + } + + return { + ...incoming, + valueType: mergeValueTypes(existing.valueType, incoming.valueType), + }; +} + +function mergeValueTypes( + left: ValueType | undefined, + right: ValueType | undefined, +): ValueType | undefined { + if (left === undefined) { + return right; + } + if (right === undefined || left === right) { + return left; + } + if (left === "array" && right.endsWith("[]")) { + return right; + } + if (right === "array" && left.endsWith("[]")) { + return left; + } + + const variants = new Set([...left.split(" | "), ...right.split(" | ")]); + const merged = [...variants].sort((a, b) => a.localeCompare(b)).join(" | "); + if (isValueType(merged)) { + return merged; + } + return left; +} + +function collectPathParams( + route: RouteRegistration, +): readonly CollectedParameter[] { + return route.pathTemplate + .split("/") + .filter((part) => part.startsWith(":")) + .map((part) => part.slice(1)) + .filter((name) => name.length > 0) + .map( + (name): CollectedParameter => ({ + location: "path", + canonicalPath: name, + valueType: "string", + source: route.source, + }), + ); +} From f1fa9a00a6002d3488842723e3cf39719ef434cd Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:29 +0300 Subject: [PATCH 19/30] feat: add expression resolution --- src/analysis/resolution.ts | 291 +++++++++++++++++++++++++++++++++++++ 1 file changed, 291 insertions(+) create mode 100644 src/analysis/resolution.ts diff --git a/src/analysis/resolution.ts b/src/analysis/resolution.ts new file mode 100644 index 0000000..cdf00ca --- /dev/null +++ b/src/analysis/resolution.ts @@ -0,0 +1,291 @@ +import { childForField } from "../cpp-ast.js"; +import type { AliasTarget, FunctionParameter } from "../types.js"; +import type { SyntaxNode } from "tree-sitter"; +import { + extractStringLiteral, + extractSubscriptIndexNode, + parseCallExpressionNode, + parseFieldExpression, + unwrapExpressionNode, +} from "./syntax.js"; + +export function resolveExpressionNode( + expressionNode: SyntaxNode, + aliases: ReadonlyMap, + constants: ReadonlyMap, +): AliasTarget | undefined { + const normalizedNode = unwrapExpressionNode(expressionNode); + + const requestRoot = resolveRequestRoot(normalizedNode); + if (requestRoot !== undefined) return requestRoot; + + const directAlias = getDirectAlias(normalizedNode, aliases); + if (directAlias !== undefined) return directAlias; + + if (normalizedNode.type === "call_expression") { + return resolveCallExpression(normalizedNode, aliases, constants); + } + + if (normalizedNode.type === "subscript_expression") { + return resolveSubscriptExpression(normalizedNode, aliases, constants); + } + + return undefined; +} + +function getDirectAlias( + node: SyntaxNode, + aliases: ReadonlyMap, +): AliasTarget | undefined { + if (node.type !== "identifier") { + return undefined; + } + return aliases.get(node.text); +} + +function resolveCallExpression( + node: SyntaxNode, + aliases: ReadonlyMap, + constants: ReadonlyMap, +): AliasTarget | undefined { + const callInfo = parseCallExpressionNode(node); + if (callInfo === undefined) { + return undefined; + } + + if (callInfo.methodName === undefined) { + return resolveFreeCallExpression(callInfo, aliases, constants); + } + + return resolveMethodCallExpression(callInfo, aliases, constants); +} + +function resolveFreeCallExpression( + callInfo: NonNullable>, + aliases: ReadonlyMap, + constants: ReadonlyMap, +): AliasTarget | undefined { + const calleeName = extractTerminalName(callInfo.calleeName); + const isJsonParseCall = + callInfo.calleeName === "nlohmann::json::parse" || calleeName === "parse"; + if (!isJsonParseCall) { + return undefined; + } + + const firstArgument = callInfo.arguments[0]; + if (firstArgument === undefined) { + return undefined; + } + + const firstTarget = resolveExpressionNode(firstArgument, aliases, constants); + if (firstTarget?.location !== "body-root") { + return undefined; + } + + return { location: "body-root", segments: [] }; +} + +function resolveMethodCallExpression( + callInfo: NonNullable>, + aliases: ReadonlyMap, + constants: ReadonlyMap, +): AliasTarget | undefined { + if (callInfo.baseNode === undefined) { + return undefined; + } + + const baseTarget = resolveExpressionNode( + callInfo.baseNode, + aliases, + constants, + ); + if (baseTarget === undefined) { + return undefined; + } + + if (callInfo.methodName === "items") { + return baseTarget; + } + + if (callInfo.methodName === "value") { + if (callInfo.arguments.length === 0) { + return baseTarget; + } + return resolveIndexedMethodTarget( + baseTarget, + callInfo.arguments[0], + constants, + ); + } + + if (callInfo.methodName === "find" || callInfo.methodName === "at") { + return resolveIndexedMethodTarget( + baseTarget, + callInfo.arguments[0], + constants, + ); + } + + return undefined; +} + +function resolveIndexedMethodTarget( + baseTarget: AliasTarget, + firstArgument: SyntaxNode | undefined, + constants: ReadonlyMap, +): AliasTarget | undefined { + if (firstArgument === undefined) { + return undefined; + } + + const segment = resolveStringTokenNode(firstArgument, constants); + if (segment === undefined) { + return undefined; + } + + return { + location: baseTarget.location, + segments: [...baseTarget.segments, segment], + }; +} + +function resolveSubscriptExpression( + node: SyntaxNode, + aliases: ReadonlyMap, + constants: ReadonlyMap, +): AliasTarget | undefined { + const baseNode = childForField(node, "argument"); + const indexNode = extractSubscriptIndexNode(node); + if (baseNode === undefined || indexNode === undefined) { + return undefined; + } + + const baseTarget = resolveExpressionNode(baseNode, aliases, constants); + if (baseTarget === undefined) { + return undefined; + } + + const segment = resolveStringTokenNode(indexNode, constants) ?? "[]"; + return { + location: baseTarget.location, + segments: [...baseTarget.segments, segment], + }; +} + +function extractTerminalName(value: string): string | undefined { + const parts = value.split("::"); + return parts[parts.length - 1]; +} + +export function resolveLoopItemTarget( + expressionNode: SyntaxNode, + aliases: ReadonlyMap, + constants: ReadonlyMap, +): AliasTarget | undefined { + const resolved = resolveExpressionNode(expressionNode, aliases, constants); + if (resolved === undefined || resolved.location === "query-root") { + return undefined; + } + + return { + location: "body-root", + segments: [...resolved.segments, "[]"], + }; +} + +export function resolveStringTokenNode( + node: SyntaxNode, + constants: ReadonlyMap, +): string | undefined { + const normalizedNode = unwrapExpressionNode(node); + if (normalizedNode.type === "string_literal") { + return extractStringLiteral(normalizedNode.text); + } + + if (normalizedNode.type === "concatenated_string") { + return resolveConcatenatedString(normalizedNode); + } + + if (normalizedNode.type === "identifier") { + return constants.get(normalizedNode.text); + } + + if (normalizedNode.type === "qualified_identifier") { + return resolveQualifiedIdentifierToken(normalizedNode.text, constants); + } + + return undefined; +} + +function resolveConcatenatedString(node: SyntaxNode): string | undefined { + return node.namedChildren.reduce((combined, child) => { + if (combined === undefined || child.type !== "string_literal") { + return undefined; + } + + const value = extractStringLiteral(child.text); + if (value === undefined) { + return undefined; + } + + return `${combined}${value}`; + }, ""); +} + +function resolveQualifiedIdentifierToken( + tokenText: string, + constants: ReadonlyMap, +): string | undefined { + if (tokenText.startsWith("fields::")) { + return tokenText.slice("fields::".length); + } + + const terminalName = extractTerminalName(tokenText); + if (terminalName === undefined) { + return undefined; + } + + return constants.get(terminalName); +} + +export function bootstrapAliases( + parameters: readonly FunctionParameter[], + inherited: ReadonlyMap, +): Map { + const aliases = new Map(inherited); + + parameters + .filter((parameter) => + parameter.typeText.includes("std::map"), + ) + .forEach((parameter) => + aliases.set(parameter.name, { location: "query-root", segments: [] }), + ); + + return aliases; +} + +function resolveRequestRoot(node: SyntaxNode): AliasTarget | undefined { + const fieldParts = parseFieldExpression(node); + if (fieldParts === undefined) { + return undefined; + } + + if ( + fieldParts.operator !== "->" || + fieldParts.baseNode.type !== "identifier" || + fieldParts.baseNode.text !== "req" + ) { + return undefined; + } + + if (fieldParts.fieldName === "params") { + return { location: "params-root", segments: [] }; + } + + if (fieldParts.fieldName === "body") { + return { location: "body-root", segments: [] }; + } + + return undefined; +} From 0255df011e4347eca0bcf6d10e151fd8d5a9f2c3 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:31 +0300 Subject: [PATCH 20/30] feat: add extraction traversal --- src/analysis/traversal.ts | 859 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 859 insertions(+) create mode 100644 src/analysis/traversal.ts diff --git a/src/analysis/traversal.ts b/src/analysis/traversal.ts new file mode 100644 index 0000000..a643ec8 --- /dev/null +++ b/src/analysis/traversal.ts @@ -0,0 +1,859 @@ +import { parseCpp, findFirstNamedNode, walkNamed, childForField } from "../cpp-ast.js"; +import { normalizePathSegments } from "../text.js"; +import type { SyntaxNode } from "tree-sitter"; +import { isValueType } from "../types.js"; +import type { + AliasTarget, + ExtractionContext, + FunctionDefinition, + SourceLocation, + TypePrimitives, + ValueType, +} from "../types.js"; +import type { ParameterCollector } from "./collector.js"; +import { + bootstrapAliases, + resolveExpressionNode, + resolveLoopItemTarget, + resolveStringTokenNode, +} from "./resolution.js"; +import { + extractDeclaratorName, + extractIdentifierName, + extractLoopAliasName, + extractSubscriptIndexNode, + isConstantIdentifier, + parseCallExpressionNode, +} from "./syntax.js"; + +const bodyMethods = new Set(["count", "find", "contains", "at"]); + +const typeMethods = { + is_string: "string", + is_boolean: "boolean", + is_object: "object", + is_array: "array", + is_number_unsigned: "uint", + is_number_integer: "integer", + is_number_float: "number", + is_number: "number", +} as const satisfies Record; + +const typeTemplates = { + "std::string": "string", + string: "string", + bool: "boolean", + size_t: "uint", + uint32_t: "uint", + uint64_t: "uint", + int: "integer", + int32_t: "integer", + int64_t: "integer", + float: "number", + double: "number", + "std::vector": "string[]", +} as const satisfies Record; + +type TypeTemplateName = keyof typeof typeTemplates; +type TypeMethodName = keyof typeof typeMethods; +type InferredValueType = (typeof typeMethods)[TypeMethodName] | (typeof typeTemplates)[TypeTemplateName]; + +interface AnalysisState { + readonly aliases: Map; + readonly constants: Map; + readonly valueTypes: Map; + readonly definition: FunctionDefinition; readonly collector: ParameterCollector; + readonly pathParamNames: ReadonlySet; + readonly routeKey: string; + readonly debug: (message: string) => void; +} + +export function analyzeFunction( + definition: FunctionDefinition, + context: ExtractionContext, + collector: ParameterCollector, + visited: Set, + depth: number, + routeKey: string, + debug: (message: string) => void, +): void { + const inheritedAliases = bootstrapAliases(definition.parameters, context.aliasTargets); + const visitKey = serializeVisitKey(definition.name, inheritedAliases); + if (visited.has(visitKey)) { + return; + } + visited.add(visitKey); + + if (depth > context.maxCallDepth) { + context.diagnostics.add({ + level: "warning", + code: "max_call_depth_reached", + message: `Stopped traversing helper calls at ${definition.name}.`, + routeKey, + source: definition.source, + }); + return; + } + + const rootNode = parseCpp(definition.fullText); + const functionNode = findFirstNamedNode(rootNode, "function_definition"); + const bodyNode = functionNode === undefined ? undefined : findFirstNamedNode(functionNode, "compound_statement"); + if (!bodyNode) { + context.diagnostics.add({ + level: "error", + code: "function_ast_missing", + message: `Could not parse AST for ${definition.name}.`, + routeKey, + source: definition.source, + }); + return; + } + + const state: AnalysisState = { + aliases: inheritedAliases, + constants: new Map(context.constants), + valueTypes: new Map(), + definition, + collector, + pathParamNames: context.pathParamNames, + routeKey, + debug, + }; + + state.debug(`analyzing ${definition.name}`); + analyzeBlock(bodyNode, state, context, visited, depth); +} + +function analyzeBlock( + blockNode: SyntaxNode, + state: AnalysisState, + context: ExtractionContext, + visited: Set, + depth: number, +): void { + for (const statement of blockNode.namedChildren) { + analyzeStatement(statement, state, context, visited, depth); + } +} + +function analyzeStatement( + statement: SyntaxNode, + state: AnalysisState, + context: ExtractionContext, + visited: Set, + depth: number, +): void { + if (statement.type === "declaration") { + handleDeclaration(statement, state, context, visited, depth); + return; + } + + if (statement.type === "expression_statement") { + const expressionNode = statement.namedChildren[0]; + if (expressionNode !== undefined) { + handleExpression(expressionNode, state, context, visited, depth); + } + return; + } + + if (statement.type === "for_range_loop") { + handleForRangeLoop(statement, state, context, visited, depth); + return; + } + + if (statement.type === "for_statement") { + handleForLoop(statement, state, context, visited, depth); + return; + } + + if (statement.type === "if_statement" || statement.type === "while_statement") { + statement.namedChildren.forEach((child) => { + if (child.type === "compound_statement") { + analyzeBlock(child, cloneState(state), context, visited, depth); + } else { + walkExpression(child, state, context, visited, depth); + } + }); + return; + } + + if (statement.type === "try_statement") { + const compoundChildren = statement.namedChildren.filter((child) => child.type === "compound_statement"); + const [firstChild, ...restChildren] = compoundChildren; + if (firstChild !== undefined) { + analyzeBlock(firstChild, state, context, visited, depth); + } + restChildren.forEach((child) => { + analyzeBlock(child, cloneState(state), context, visited, depth); + }); + return; + } + + if (statement.type === "compound_statement") { + analyzeBlock(statement, cloneState(state), context, visited, depth); + return; + } + + walkExpression(statement, state, context, visited, depth); +} + +function handleDeclaration( + statement: SyntaxNode, + state: AnalysisState, + context: ExtractionContext, + visited: Set, + depth: number, +): void { + walkNamed(statement, (child) => { + if (child === statement || child.type !== "init_declarator") { + return; + } + + const declaratorNode = childForField(child, "declarator"); + const valueNode = childForField(child, "value"); + const aliasName = extractDeclaratorName(declaratorNode); + if (aliasName === undefined || valueNode === undefined) { + return; + } + + const literalValue = resolveStringTokenNode(valueNode, state.constants); + if (literalValue !== undefined && isConstantIdentifier(aliasName)) { + state.constants.set(aliasName, literalValue); + state.debug(`const ${aliasName} = ${literalValue}`); + } + + const resolved = resolveExpressionNode(valueNode, state.aliases, state.constants); + if (resolved !== undefined) { + state.aliases.set(aliasName, resolved); + state.debug(`alias ${aliasName} => ${resolved.location}:${normalizePathSegments(resolved.segments)}`); + } + + const inferredType = resolveValueTypeNode(valueNode, state); + if (inferredType !== undefined) { + state.valueTypes.set(aliasName, inferredType); + } + }); + + walkExpression(statement, state, context, visited, depth); +} + +function handleExpression( + expressionNode: SyntaxNode, + state: AnalysisState, + context: ExtractionContext, + visited: Set, + depth: number, +): void { + walkExpression(expressionNode, state, context, visited, depth); +} + +function handleForRangeLoop( + statement: SyntaxNode, + state: AnalysisState, + context: ExtractionContext, + visited: Set, + depth: number, +): void { + const bodyNode = + childForField(statement, "body") ?? statement.namedChildren.find((child) => child.type === "compound_statement"); + const iterableNode = childForField(statement, "right"); + if (bodyNode === undefined || iterableNode === undefined) { + walkExpression(statement, state, context, visited, depth); + return; + } + + const aliasName = extractLoopAliasName(statement); + if (aliasName === undefined) { + analyzeBlock(bodyNode, cloneState(state), context, visited, depth); + return; + } + + const scopedState = cloneState(state); + const resolved = resolveLoopItemTarget(iterableNode, scopedState.aliases, scopedState.constants); + if (resolved !== undefined) { + scopedState.aliases.set(aliasName, resolved); + state.debug(`loop ${aliasName} => ${resolved.location}:${normalizePathSegments(resolved.segments)}`); + } + + analyzeBlock(bodyNode, scopedState, context, visited, depth); +} + +function handleForLoop( + statement: SyntaxNode, + state: AnalysisState, + context: ExtractionContext, + visited: Set, + depth: number, +): void { + for (const child of statement.namedChildren) { + if (child.type === "compound_statement") { + analyzeBlock(child, cloneState(state), context, visited, depth); + continue; + } + + walkExpression(child, state, context, visited, depth); + } +} + +function walkExpression( + node: SyntaxNode, + state: AnalysisState, + context: ExtractionContext, + visited: Set, + depth: number, +): void { + walkNamed(node, (currentNode) => { + if (currentNode.type === "assignment_expression") { + collectAssignmentExpression(currentNode, state); + return; + } + + if (currentNode.type === "call_expression") { + collectCallExpression(currentNode, state, context); + collectHelperCallExpression(currentNode, state, context, visited, depth); + return; + } + + if (currentNode.type === "binary_expression") { + collectBinaryExpression(currentNode, state); + return; + } + + if (currentNode.type === "subscript_expression") { + collectSubscriptExpression(currentNode, state); + } + }); +} + +function collectAssignmentExpression(node: SyntaxNode, state: AnalysisState): void { + const leftNode = childForField(node, "left"); + const rightNode = childForField(node, "right"); + if (rightNode === undefined) { + return; + } + + const inferredType = resolveValueTypeNode(rightNode, state); + const aliasName = leftNode === undefined ? undefined : extractIdentifierName(leftNode); + if (aliasName !== undefined) { + const resolved = resolveExpressionNode(rightNode, state.aliases, state.constants); + if (resolved !== undefined) { + state.aliases.set(aliasName, resolved); + state.debug(`assign ${aliasName} => ${resolved.location}:${normalizePathSegments(resolved.segments)}`); + } + if (inferredType !== undefined) { + state.valueTypes.set(aliasName, inferredType); + } + } + + const rightTarget = resolveExpressionNode(rightNode, state.aliases, state.constants); + const wrappedAlias = inferWrappedAliasTarget(leftNode, rightTarget, state); + if (wrappedAlias !== undefined) { + state.aliases.set(wrappedAlias.aliasName, wrappedAlias.target); + state.debug( + `assign ${wrappedAlias.aliasName} => ${wrappedAlias.target.location}:${normalizePathSegments(wrappedAlias.target.segments)}`, + ); + } + + const target = leftNode === undefined ? undefined : resolveExpressionNode(leftNode, state.aliases, state.constants); + if (target !== undefined && target.location === "body-root") { + addParameter(target, [], state, node, inferredType); + } +} + +function collectCallExpression(node: SyntaxNode, state: AnalysisState, context: ExtractionContext): void { + const callInfo = parseCallExpressionNode(node); + if (callInfo === undefined) { + return; + } + + const normalizedMethodName = callInfo.methodName === undefined ? undefined : normalizeMethodName(callInfo.methodName); + + if (normalizedMethodName === "key") { + return; + } + + if (normalizedMethodName === "items") { + const resolved = + callInfo.baseNode === undefined ? + undefined + : resolveExpressionNode(callInfo.baseNode, state.aliases, state.constants); + if (resolved !== undefined) { + addParameter(resolved, [], state, node); + } + return; + } + + if (normalizedMethodName !== undefined && bodyMethods.has(normalizedMethodName)) { + const resolved = + callInfo.baseNode === undefined ? + undefined + : resolveExpressionNode(callInfo.baseNode, state.aliases, state.constants); + if (resolved !== undefined) { + const firstArgument = callInfo.arguments[0]; + if (firstArgument !== undefined) { + const segment = resolveStringTokenNode(firstArgument, state.constants); + if (segment !== undefined) { + state.debug(`call ${callInfo.calleeName} => ${segment}`); + addParameter(resolved, [segment], state, node); + if ( + normalizedMethodName === "find" || + normalizedMethodName === "contains" || + normalizedMethodName === "count" || + normalizedMethodName === "value" + ) { + addParameter(resolved, [], state, node, "object"); + } + } + } + } + } + + const inferredType = + normalizedMethodName === undefined ? undefined : ( + inferTypeFromCall(normalizedMethodName, callInfo.methodName ?? normalizedMethodName, callInfo.baseNode) + ); + if (inferredType !== undefined) { + const resolved = + callInfo.baseNode === undefined ? + undefined + : resolveExpressionNode(callInfo.baseNode, state.aliases, state.constants); + if (resolved !== undefined) { + state.debug(`type ${normalizePathSegments(resolved.segments) || "(root)"} => ${inferredType}`); + addParameter(resolved, [], state, node, inferredType); + } + } + + const helperDefinition = findCallDefinition(callInfo, context.functions, state.definition.name); + if (helperDefinition !== undefined) { + collectArgumentTypeHints(node, callInfo.arguments, helperDefinition, state); + } +} + +function collectSubscriptExpression(node: SyntaxNode, state: AnalysisState): void { + const baseNode = childForField(node, "argument"); + const indexNode = extractSubscriptIndexNode(node); + if (baseNode === undefined || indexNode === undefined) { + return; + } + + const resolved = resolveExpressionNode(baseNode, state.aliases, state.constants); + if (resolved === undefined) { + return; + } + + const segment = resolveStringTokenNode(indexNode, state.constants) ?? "[]"; + state.debug(`subscript ${baseNode.text}[${indexNode.text}] => ${segment}`); + addParameter(resolved, [segment], state, node); +} + +function collectBinaryExpression(node: SyntaxNode, state: AnalysisState): void { + const operatorNode = childForField(node, "operator"); + if (operatorNode === undefined || (operatorNode.text !== "==" && operatorNode.text !== "!=")) { + return; + } + + const leftNode = childForField(node, "left"); + const rightNode = childForField(node, "right"); + if (leftNode === undefined || rightNode === undefined) { + return; + } + + const leftTarget = resolveExpressionNode(leftNode, state.aliases, state.constants); + const rightTarget = resolveExpressionNode(rightNode, state.aliases, state.constants); + const leftType = resolveValueTypeNode(rightNode, state); + const rightType = resolveValueTypeNode(leftNode, state); + + if (leftTarget !== undefined && leftType !== undefined) { + addParameter(leftTarget, [], state, node, leftType); + } + if (rightTarget !== undefined && rightType !== undefined) { + addParameter(rightTarget, [], state, node, rightType); + } +} + +function collectHelperCallExpression( + node: SyntaxNode, + state: AnalysisState, + context: ExtractionContext, + visited: Set, + depth: number, +): void { + const callInfo = parseCallExpressionNode(node); + if (callInfo === undefined) { + return; + } + + const helperDefinition = findCallDefinition(callInfo, context.functions, state.definition.name); + if (helperDefinition === undefined) { + return; + } + + const nextAliases = new Map(); + helperDefinition.parameters.forEach((parameter, parameterIndex) => { + const argument = callInfo.arguments[parameterIndex]; + if (argument === undefined) return; + const resolved = resolveExpressionNode(argument, state.aliases, state.constants); + if (resolved === undefined) return; + nextAliases.set(parameter.name, resolved); + state.debug( + `helper arg ${helperDefinition.name}.${parameter.name} => ${resolved.location}:${normalizePathSegments(resolved.segments)}`, + ); + }); + + if (nextAliases.size === 0) { + return; + } + + analyzeFunction( + helperDefinition, + { ...context, aliasTargets: nextAliases, constants: state.constants }, + state.collector, + visited, + depth + 1, + state.routeKey, + state.debug, + ); +} + +function addParameter( + target: AliasTarget, + segments: readonly string[], + state: AnalysisState, + node: SyntaxNode, + valueType?: TypePrimitives, +): void { + const combinedSegments = [...target.segments, ...segments]; + + if (target.location === "query-root") { + const firstSegment = firstConcreteSegment(combinedSegments); + if (firstSegment !== undefined) { + state.collector.add({ + location: "query", + canonicalPath: firstSegment, + valueType: valueType ?? "string", + source: nodeSourceLocation(state.definition, node), + }); + state.debug(`add query ${firstSegment}`); + } + return; + } + + if (target.location === "params-root") { + const firstSegment = firstConcreteSegment(combinedSegments); + if (firstSegment !== undefined) { + const location = state.pathParamNames.has(firstSegment) ? "path" : "query"; + state.collector.add({ + location, + canonicalPath: firstSegment, + valueType: valueType ?? "string", + source: nodeSourceLocation(state.definition, node), + }); + state.debug(`add ${location} ${firstSegment}`); + } + return; + } + + const typedParameter = materializeTypedParameter(combinedSegments, valueType); + if (typedParameter === undefined) { + return; + } + + state.collector.add({ + location: "body", + canonicalPath: typedParameter.canonicalPath, + valueType: typedParameter.valueType, + source: nodeSourceLocation(state.definition, node), + }); + state.debug( + `add body ${typedParameter.canonicalPath}${ + typedParameter.valueType === undefined ? "" : ` : ${typedParameter.valueType}` + }`, + ); +} + +function findCallDefinition( + callInfo: ReturnType, + functions: ReadonlyMap, + currentFunctionName: string, +): FunctionDefinition | undefined { + if (callInfo === undefined) { + return undefined; + } + + const calleeKey = callInfo.methodName === undefined ? callInfo.calleeName : normalizeMethodName(callInfo.methodName); + const helper = functions.get(calleeKey); + const normalizedCalleeName = extractTerminalName(calleeKey); + const normalizedCurrentName = extractTerminalName(currentFunctionName); + const arityKey = + normalizedCalleeName === undefined ? undefined : `${normalizedCalleeName}#${callInfo.arguments.length}`; + const resolvedHelper = + (arityKey === undefined ? undefined : functions.get(arityKey)) ?? + helper ?? + (normalizedCalleeName === undefined ? undefined : functions.get(normalizedCalleeName)); + if (resolvedHelper === undefined || resolvedHelper.name === normalizedCurrentName) { + return undefined; + } + + return resolvedHelper; +} + +function firstConcreteSegment(segments: readonly string[]): string | undefined { + return segments.find((segment) => segment !== "[]" && segment.length > 0); +} + +function nodeSourceLocation(definition: FunctionDefinition, node: SyntaxNode): SourceLocation { + return { + filePath: definition.filePath, + line: definition.source.line + node.startPosition.row, + column: node.startPosition.column + 1, + }; +} + +function serializeVisitKey(functionName: string, aliases: ReadonlyMap): string { + return [ + functionName, + ...Array.from(aliases.entries()).map( + ([aliasName, target]) => `${aliasName}:${target.location}:${normalizePathSegments(target.segments)}`, + ), + ].join("|"); +} + +function cloneState(state: AnalysisState): AnalysisState { + return { + aliases: new Map(state.aliases), + constants: new Map(state.constants), + valueTypes: new Map(state.valueTypes), + definition: state.definition, + collector: state.collector, + pathParamNames: state.pathParamNames, + routeKey: state.routeKey, + debug: state.debug, + }; +} + +function materializeTypedParameter( + segments: readonly string[], + valueType: TypePrimitives | undefined, +): { canonicalPath: string; valueType: ValueType | undefined } | undefined { + if (segments.some((segment) => segment !== "[]" && segment.length === 0)) { + return undefined; + } + + const canonicalPath = normalizePathSegments(segments); + if (canonicalPath.length === 0) { + return undefined; + } + + if (canonicalPath.endsWith("[]")) { + if (valueType === undefined) { + return undefined; + } + + const parentSegments = segments.slice(0, -1); + const parentPath = normalizePathSegments(parentSegments); + if (parentPath.length === 0) { + return undefined; + } + + const arrayType = `${valueType}[]`; + if (!isValueType(arrayType)) { + return undefined; + } + return { canonicalPath: parentPath, valueType: arrayType }; + } + + return { canonicalPath, valueType }; +} + +function extractTerminalName(value: string): string | undefined { + const parts = value.split("::"); + return parts[parts.length - 1]; +} + +function isMethod(methodName: string): methodName is TypeMethodName { + return methodName in typeMethods; +} + +function isTemplate(callText: string): callText is TypeTemplateName { + return callText in typeTemplates; +} + +function inferTypeFromCall( + normalizedMethodName: string, + rawMethodName: string, + baseNode: SyntaxNode | undefined, +): InferredValueType | undefined { + if (isMethod(normalizedMethodName)) { + return typeMethods[normalizedMethodName]; + } + + if (normalizedMethodName !== "get") { + return undefined; + } + + const templateType = inferTemplateType(rawMethodName); + if (templateType !== undefined) { + return templateType; + } + + if (baseNode === undefined) { + return undefined; + } + + return inferTemplateType(baseNode.parent?.text ?? ""); +} + +function inferTemplateType(callText: string): InferredValueType | undefined { + const typeStart = callText.indexOf("<"); + const typeEnd = callText.lastIndexOf(">"); + if (typeStart < 0 || typeEnd <= typeStart) { + return undefined; + } + + const templateText = callText.slice(typeStart + 1, typeEnd).replaceAll(" ", ""); + + if (isTemplate(templateText)) { + return typeTemplates[templateText]; + } + return undefined; +} + +function resolveValueTypeNode(node: SyntaxNode, state: AnalysisState): TypePrimitives | undefined { + const normalizedNode = unwrapTypeNode(node); + if (normalizedNode.type === "string_literal") { + return "string"; + } + if (normalizedNode.type === "number_literal" || normalizedNode.type === "float_literal") { + return normalizedNode.text.includes(".") ? "number" : "integer"; + } + if (normalizedNode.text === "true" || normalizedNode.text === "false") { + return "boolean"; + } + if (normalizedNode.type === "identifier") { + return state.valueTypes.get(normalizedNode.text); + } + + const directTarget = resolveExpressionNode(normalizedNode, state.aliases, state.constants); + if (directTarget?.location === "query-root" || directTarget?.location === "params-root") { + return "string"; + } + + if (normalizedNode.type !== "call_expression") { + return undefined; + } + + const callInfo = parseCallExpressionNode(normalizedNode); + if (callInfo === undefined) { + return undefined; + } + + if (callInfo.methodName !== undefined) { + return inferTypeFromCall(normalizeMethodName(callInfo.methodName), callInfo.methodName, callInfo.baseNode); + } + + const calleeName = extractTerminalName(callInfo.calleeName); + if (callInfo.calleeName === "nlohmann::json::array" || calleeName === "array") { + return "array"; + } + if (callInfo.calleeName === "nlohmann::json::object" || calleeName === "object") { + return "object"; + } + if (calleeName === "stoul" || calleeName === "stoull") { + return "uint"; + } + if (calleeName === "stoi" || calleeName === "stoll") { + return "integer"; + } + if (calleeName === "stof" || calleeName === "stod") { + return "number"; + } + + return undefined; +} + +function normalizeMethodName(methodName: string): string { + const templateStart = methodName.indexOf("<"); + return templateStart < 0 ? methodName : methodName.slice(0, templateStart); +} + +function collectArgumentTypeHints( + node: SyntaxNode, + argumentsList: readonly SyntaxNode[], + definition: FunctionDefinition, + state: AnalysisState, +): void { + definition.parameters.forEach((parameter, parameterIndex) => { + const argument = argumentsList[parameterIndex]; + if (argument === undefined) return; + + const resolved = resolveExpressionNode(argument, state.aliases, state.constants); + const inferredType = inferTypeFromParameter(parameter.typeText); + if (resolved !== undefined && inferredType !== undefined) { + addParameter(resolved, [], state, node, inferredType); + } + }); +} + +function inferTypeFromParameter(typeText: string): TypePrimitives | undefined { + const normalized = typeText + .replaceAll("&", "") + .replaceAll("*", "") + .replace(/\bconst\b/g, "") + .replace(/\bstruct\b/g, "") + .trim() + .replaceAll(" ", ""); + + if (isTemplate(normalized)) { + return typeTemplates[normalized]; + } + + return undefined; +} + +function inferWrappedAliasTarget( + leftNode: SyntaxNode | undefined, + rightTarget: AliasTarget | undefined, + state: AnalysisState, +): { aliasName: string; target: AliasTarget } | undefined { + if (leftNode === undefined || rightTarget === undefined) { + return undefined; + } + + if (leftNode.type !== "subscript_expression") { + return undefined; + } + + const baseNode = childForField(leftNode, "argument"); + const aliasName = baseNode === undefined ? undefined : extractIdentifierName(baseNode); + const indexNode = extractSubscriptIndexNode(leftNode); + const segment = indexNode === undefined ? undefined : resolveStringTokenNode(indexNode, state.constants); + if ( + aliasName === undefined || + segment === undefined || + rightTarget.segments.length === 0 || + rightTarget.segments[rightTarget.segments.length - 1] !== segment + ) { + return undefined; + } + + return { + aliasName, + target: { + location: rightTarget.location, + segments: rightTarget.segments.slice(0, -1), + }, + }; +} + +function unwrapTypeNode(node: SyntaxNode): SyntaxNode { + let current = node; + while ( + (current.type === "parenthesized_expression" || + current.type === "reference_expression" || + current.type === "qualified_identifier") && + current.namedChildren.length > 0 + ) { + current = current.namedChildren[current.namedChildren.length - 1] ?? current; + } + return current; +} From 92b86407934a3857d52344b67bb73d377fe09e09 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:38 +0300 Subject: [PATCH 21/30] feat: wire route parameter extraction --- src/analysis.ts | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 src/analysis.ts diff --git a/src/analysis.ts b/src/analysis.ts new file mode 100644 index 0000000..06712d2 --- /dev/null +++ b/src/analysis.ts @@ -0,0 +1,81 @@ +import { MemoryDiagnosticCollector } from "./diagnostics.js"; +import { ParameterCollector } from "./analysis/collector.js"; +import { createDebugLogger } from "./analysis/debug.js"; +import { analyzeFunction } from "./analysis/traversal.js"; +import type { + AliasTarget, + DebugConfig, + ExtractionContext, + FunctionDefinition, + RouteExtraction, + RouteRegistration, +} from "./types.js"; + +export function extractRouteData( + route: RouteRegistration, + functions: ReadonlyMap, + constants: ReadonlyMap, + maxCallDepth: number, + debugConfig: DebugConfig, +): RouteExtraction { + const diagnostics = new MemoryDiagnosticCollector(); + const definition = functions.get(route.handler); + const routeKey = `${route.method} ${route.pathTemplate}`; + const debug = createDebugLogger(routeKey, debugConfig); + const collector = new ParameterCollector(route); + const initialPathParams = collector.snapshot("path"); + let pathParams = initialPathParams; + + if (definition === undefined) { + diagnostics.add({ + level: "error", + code: "handler_not_found", + message: `Could not find function body for handler ${route.handler}.`, + routeKey, + source: route.source, + }); + return { + route, + pathParams: initialPathParams, + queryParams: [], + bodyParams: [], + diagnostics: diagnostics.snapshot(), + }; + } + + const context: ExtractionContext = { + aliasTargets: new Map(), + constants, + functions, + diagnostics, + maxCallDepth, + pathParamNames: new Set(initialPathParams.map((parameter) => parameter.canonicalPath)), + }; + + const visited = new Set(); + analyzeFunction(definition, context, collector, visited, 0, routeKey, debug); + pathParams = collector.snapshot("path"); + debug( + `path params => ${ + pathParams.map((item) => item.canonicalPath).join(", ") || "(none)" + }`, + ); + const queryParams = collector.snapshot("query"); + const bodyParams = collector.snapshot("body"); + debug( + `query params => ${ + queryParams.map((item) => item.canonicalPath).join(", ") || "(none)" + }`, + ); + debug( + `body params => ${bodyParams.map((item) => item.canonicalPath).join(", ") || "(none)"}`, + ); + + return { + route, + pathParams, + queryParams, + bodyParams, + diagnostics: diagnostics.snapshot(), + }; +} From 7cf457f7e14ff428394a542e4d6ce2ac0d255358 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:40 +0300 Subject: [PATCH 22/30] feat: build extracted api spec --- src/spec.ts | 210 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 210 insertions(+) create mode 100644 src/spec.ts diff --git a/src/spec.ts b/src/spec.ts new file mode 100644 index 0000000..cb20246 --- /dev/null +++ b/src/spec.ts @@ -0,0 +1,210 @@ +import type { ParameterLocation } from "./config-schema.js"; +import { extractPathName, normalizePathSegments, sortedReadonly } from "./text.js"; +import { isValueType } from "./types.js"; +import type { + ApiDiagnostic, + ApiParameterSpec, + ApiRouteSpec, + ApiSpec, + CollectedParameter, + ExtractorConfig, + HttpMethod, + RouteExtraction, + RouteOverride, + SourceLocation, + ValueType, +} from "./types.js"; + +export function buildSpec( + config: ExtractorConfig, + extractions: readonly RouteExtraction[], + diagnostics: readonly ApiDiagnostic[], +): ApiSpec { + const routes = extractions + .map((extraction) => applyOverride(extraction, config.overrides)) + .filter((overridden): overridden is RouteExtraction => overridden !== undefined) + .filter((overridden) => !isPathBlacklisted(overridden.route.pathTemplate, config.blacklist.paths)) + .map( + (overridden): ApiRouteSpec => ({ + method: overridden.route.method, + pathTemplate: overridden.route.pathTemplate, + urlTemplate: buildUrlTemplate(config.baseUrl, overridden.route.pathTemplate), + handler: overridden.route.handler, + pathParams: materializeParameters(overridden.pathParams, "path", config.blacklist.params), + queryParams: materializeParameters(overridden.queryParams, "query", config.blacklist.params), + bodyParams: materializeParameters(overridden.bodyParams, "body", config.blacklist.params), + source: overridden.route.source, + diagnostics: filterDiagnostics(overridden.diagnostics, overridden.route.method, overridden.route.pathTemplate), + }), + ); + + return { + rootDir: config.rootDir, + routeFile: config.routeFile, + routes: sortedReadonly(routes, compareRoutes), + diagnostics, + }; +} + +function compareRoutes(left: ApiRouteSpec, right: ApiRouteSpec): number { + if (left.pathTemplate !== right.pathTemplate) { + return left.pathTemplate.localeCompare(right.pathTemplate); + } + return left.method.localeCompare(right.method); +} + +function materializeParameters( + parameters: readonly CollectedParameter[], + location: ParameterLocation, + blacklistedNames: readonly string[], +): readonly ApiParameterSpec[] { + const validParameters = parameters + .filter((parameter) => parameter.location === location) + .filter((parameter) => isValidCanonicalPath(parameter.canonicalPath)) + .filter((parameter) => !isParamBlacklisted(extractPathName(parameter.canonicalPath), blacklistedNames)); + + const deduped = new Map(); + validParameters.forEach((parameter) => { + const name = extractPathName(parameter.canonicalPath); + const existing = deduped.get(parameter.canonicalPath); + if (existing === undefined) { + deduped.set(parameter.canonicalPath, { + name, + canonicalPath: parameter.canonicalPath, + location, + valueType: normalizeValueType(parameter.valueType, location), + sources: [parameter.source], + }); + return; + } + + deduped.set(parameter.canonicalPath, { + ...existing, + valueType: mergeValueTypes(existing.valueType, normalizeValueType(parameter.valueType, location)), + sources: [...existing.sources, parameter.source], + }); + }); + + return sortedReadonly( + Array.from(deduped.values()).map((spec) => ({ + ...spec, + sources: sortedReadonly(spec.sources, compareLocations), + })), + compareParameters, + ); +} + +function isValidCanonicalPath(canonicalPath: string): boolean { + return canonicalPath.length > 0 && !canonicalPath.endsWith(".") && !canonicalPath.includes(".."); +} + +function mergeValueTypes(left: ValueType | undefined, right: ValueType | undefined): ValueType | undefined { + if (left === undefined) { + return right; + } + if (right === undefined || left === right) { + return left; + } + if (left === "array" && right.endsWith("[]")) { + return right; + } + if (right === "array" && left.endsWith("[]")) { + return left; + } + + const variants = new Set([...left.split(" | "), ...right.split(" | ")]); + const merged = [...variants].sort((a, b) => a.localeCompare(b)).join(" | "); + if (isValueType(merged)) { + return merged; + } + return left; +} + +function normalizeValueType(valueType: ValueType | undefined, location: ParameterLocation): ValueType { + if (valueType !== undefined) { + return valueType; + } + return location === "body" ? "unknown" : "string"; +} + +function compareParameters(left: ApiParameterSpec, right: ApiParameterSpec): number { + return left.canonicalPath.localeCompare(right.canonicalPath); +} + +function compareLocations(left: SourceLocation, right: SourceLocation): number { + if (left.filePath !== right.filePath) { + return left.filePath.localeCompare(right.filePath); + } + if (left.line !== right.line) { + return left.line - right.line; + } + return left.column - right.column; +} + +function buildUrlTemplate(baseUrl: string | undefined, pathTemplate: string): string | undefined { + if (baseUrl === undefined || baseUrl.length === 0) { + return undefined; + } + return `${baseUrl.replace(/\/$/, "")}${pathTemplate}`; +} + +function isPathBlacklisted(pathTemplate: string, blacklistedPaths: readonly string[]): boolean { + return blacklistedPaths.includes(pathTemplate); +} + +function isParamBlacklisted(name: string, blacklistedNames: readonly string[]): boolean { + return blacklistedNames.includes(name); +} + +function filterDiagnostics( + diagnostics: readonly ApiDiagnostic[], + method: HttpMethod, + pathTemplate: string, +): readonly ApiDiagnostic[] { + const routeKey = `${method} ${pathTemplate}`; + return diagnostics.filter((diagnostic) => diagnostic.routeKey === undefined || diagnostic.routeKey === routeKey); +} + +function applyOverride(extraction: RouteExtraction, overrides: readonly RouteOverride[]): RouteExtraction | undefined { + const matchingOverrides = overrides.filter( + (override) => + override.path === extraction.route.pathTemplate && + (override.method === undefined || override.method === extraction.route.method), + ); + + if (matchingOverrides.some((override) => override.skip === true)) { + return undefined; + } + + return matchingOverrides.reduce( + (current, override) => ({ + ...current, + pathParams: applyOverrideParams(current.pathParams, override, "path"), + queryParams: applyOverrideParams(current.queryParams, override, "query"), + bodyParams: applyOverrideParams(current.bodyParams, override, "body"), + }), + extraction, + ); +} + +function applyOverrideParams( + parameters: readonly CollectedParameter[], + override: RouteOverride, + location: ParameterLocation, +): readonly CollectedParameter[] { + const removeSet = new Set(override.removeParams ?? []); + const filtered = parameters.filter((parameter) => !removeSet.has(extractPathName(parameter.canonicalPath))); + + const additions = (override.addParams ?? []) + .filter((addition) => addition.location === location) + .map( + (addition): CollectedParameter => ({ + location, + canonicalPath: addition.canonicalPath ?? normalizePathSegments([addition.name]), + valueType: undefined, + source: { filePath: "config", line: 1, column: 1 }, + }), + ); + + return [...filtered, ...additions]; +} From 93acddb1087d9061ddc78a49a4bb6bec72ccd4e1 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:42 +0300 Subject: [PATCH 23/30] feat: add extraction runtime --- src/index.ts | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 src/index.ts diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..66e40f7 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,65 @@ +import { loadStringConstants } from "./constants.js"; +import { loadConfig } from "./config.js"; +import { readTextFile, writeTextFile } from "./fs.js"; +import { ProgressReporter } from "./progress.js"; +import { discoverRoutes } from "./routes.js"; +import { extractRouteData } from "./analysis.js"; +import { buildSpec } from "./spec.js"; +import { indexFunctions } from "./symbols.js"; +import { resolveRawGithubUrl, resolveSourcePath } from "./source.js"; +import type { ApiSpec, CliOptions } from "./types.js"; + +export async function runExtraction(cliOptions: CliOptions): Promise { + const progress = new ProgressReporter(cliOptions.json); + const configStep = progress.startStep("loading config"); + const config = await loadConfig(cliOptions.configPath ?? "./config.json", cliOptions); + configStep.done(); + + const routesStep = progress.startStep("discovering routes"); + const routes = await discoverRoutes( + resolveRawGithubUrl(config.sourceBranch, resolveSourcePath(config.rootDir, config.routeFile)), + ); + routesStep.done(`${routes.length} routes`); + + const constantsStep = progress.startStep("loading constants"); + const constants = await loadStringConstants(config.rootDir, config.sourceBranch); + constantsStep.done(`${constants.size} constants`); + + const symbolsStep = progress.startStep("indexing functions"); + const functions = await indexFunctions(config.rootDir, config.includeHelpers, config.sourceBranch); + symbolsStep.done(`${functions.size} functions`); + + const extractStep = progress.startStep("extracting route parameters"); + const routeExtractions = routes.map((route) => + extractRouteData(route, functions, constants, config.maxCallDepth, config.debug), + ); + extractStep.done(`${routeExtractions.length} route scans`); + + const specStep = progress.startStep("building output"); + const diagnostics = routeExtractions.flatMap((extraction) => extraction.diagnostics); + const spec = buildSpec(config, routeExtractions, diagnostics); + const outputText = `${JSON.stringify(spec, null, 2)}\n`; + await writeTextFile(config.outputPath, outputText); + if (config.diagnosticsOutputPath !== undefined) { + await writeTextFile(config.diagnosticsOutputPath, `${JSON.stringify(diagnostics, null, 2)}\n`); + } + specStep.done(config.outputPath); + + if (config.failOnDiagnostics && diagnostics.length > 0) { + throw new Error("Extraction produced diagnostics."); + } + + if ( + config.failOnUnresolved && + diagnostics.some((diagnostic) => diagnostic.level === "error") + ) { + throw new Error("Extraction produced unresolved handler errors."); + } + + return spec; +} + +export async function readSpec(filePath: string): Promise { + const sourceText = await readTextFile(filePath); + return JSON.parse(sourceText) as ApiSpec; +} From 57722980c11878d7cffd718875445c2def5c3bc7 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:45 +0300 Subject: [PATCH 24/30] feat: add cli command dispatch --- src/cli.ts | 127 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 src/cli.ts diff --git a/src/cli.ts b/src/cli.ts new file mode 100644 index 0000000..a8c5b26 --- /dev/null +++ b/src/cli.ts @@ -0,0 +1,127 @@ +#!/usr/bin/env node + +import { parseArgs } from "node:util"; +import { runExtraction } from "./index.js"; +import { runSemanticDiff } from "./semantic-diff.js"; +import type { + CommandLineOptions, + SemanticDiffCliOptions, + CliOptions, +} from "./types.js"; + +async function main(): Promise { + const options = parseCli(process.argv.slice(2)); + if (options.command === "extract") { + const spec = await runExtraction(options); + if (options.json) { + process.stdout.write( + `${JSON.stringify({ event: "result", routes: spec.routes.length, diagnostics: spec.diagnostics.length })}\n`, + ); + } else { + process.stdout.write( + `Extracted ${spec.routes.length} routes with ${spec.diagnostics.length} diagnostics.\n`, + ); + } + return; + } + + const summary = await runSemanticDiff({ + previousPath: options.previousPath, + nextPath: options.nextPath, + jsonOutputPath: options.jsonOutputPath, + markdownOutputPath: options.markdownOutputPath, + }); + process.stdout.write(`${JSON.stringify(summary)}\n`); +} + +function parseCli(argv: readonly string[]): CommandLineOptions { + const command = argv[0] ?? "extract"; + const commandArgs = argv[0] === undefined ? argv : argv.slice(1); + if (command === "extract") { + return parseExtractCli(commandArgs); + } + if (command === "semantic-diff") { + return parseSemanticDiffCli(commandArgs); + } + throw new Error(`Unknown command: ${command}`); +} +function parseExtractCli(argv: readonly string[]): CliOptions { + const { values, positionals } = parseArgs({ + args: [...argv], + allowPositionals: true, + options: { + config: { type: "string" }, + output: { type: "string" }, + "base-url": { type: "string" }, + "max-call-depth": { type: "string" }, + "fail-on-diagnostics": { type: "boolean" }, + "fail-on-unresolved": { type: "boolean" }, + verbose: { type: "boolean" }, + "debug-route": { type: "string" }, + json: { type: "boolean" }, + }, + strict: true, + }); + + if (positionals.length > 0) { + throw new Error(`Unknown arguments: ${positionals.join(" ")}`); + } + + let maxCallDepth: number | undefined; + if (values["max-call-depth"] !== undefined) { + maxCallDepth = Number.parseInt(values["max-call-depth"], 10); + if (!Number.isFinite(maxCallDepth)) { + throw new Error( + `Invalid value for --max-call-depth: ${values["max-call-depth"]}`, + ); + } + } + + return { + command: "extract", + configPath: values.config, + outputPath: values.output, + baseUrl: values["base-url"], + maxCallDepth, + failOnDiagnostics: values["fail-on-diagnostics"], + failOnUnresolved: values["fail-on-unresolved"], + verbose: values.verbose ?? false, + debugRoute: values["debug-route"], + json: values.json ?? false, + }; +} + +function parseSemanticDiffCli(argv: readonly string[]): SemanticDiffCliOptions { + const { values, positionals } = parseArgs({ + args: [...argv], + allowPositionals: true, + options: { + previous: { type: "string" }, + next: { type: "string" }, + "json-output": { type: "string" }, + "markdown-output": { type: "string" }, + }, + strict: true, + }); + + if (positionals.length > 0) { + throw new Error(`Unknown arguments: ${positionals.join(" ")}`); + } + if (values.previous === undefined || values.next === undefined) { + throw new Error("Both --previous and --next are required."); + } + + return { + command: "semantic-diff", + previousPath: values.previous, + nextPath: values.next, + jsonOutputPath: values["json-output"], + markdownOutputPath: values["markdown-output"], + }; +} + +main().catch((error: unknown) => { + const message = error instanceof Error ? error.message : String(error); + process.stderr.write(`${message}\n`); + process.exitCode = 1; +}); From 6517e7732fbf681f41a40313b89341b60cb04d14 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:51:47 +0300 Subject: [PATCH 25/30] feat: add semantic api diff reporting --- src/semantic-diff.ts | 224 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 src/semantic-diff.ts diff --git a/src/semantic-diff.ts b/src/semantic-diff.ts new file mode 100644 index 0000000..2238501 --- /dev/null +++ b/src/semantic-diff.ts @@ -0,0 +1,224 @@ +import { mkdir, readFile, writeFile } from "node:fs/promises"; +import path from "node:path"; +import type { + ApiParameterSpec, + ApiRouteSpec, + ApiSpec, + HttpMethod, + ParameterLocation, + ValueType, +} from "./types.js"; + +interface DiffSummary { + readonly changed: boolean; + readonly addedRoutes: readonly string[]; + readonly removedRoutes: readonly string[]; + readonly changedRoutes: readonly RouteChange[]; +} + +interface RouteChange { + readonly routeKey: string; + readonly addedParams: readonly string[]; + readonly removedParams: readonly string[]; + readonly changedParamTypes: readonly ParamTypeChange[]; +} + +interface ParamTypeChange { + readonly parameterKey: string; + readonly previousType: ValueType | undefined; + readonly nextType: ValueType | undefined; +} + +interface ComparableRoute { + readonly routeKey: string; + readonly params: ReadonlyMap; +} + +export async function runSemanticDiff(options: { + readonly previousPath: string; + readonly nextPath: string; + readonly jsonOutputPath: string | undefined; + readonly markdownOutputPath: string | undefined; +}): Promise { + const previous = await readSpec(options.previousPath); + const next = await readSpec(options.nextPath); + const summary = diffSpecs(previous, next); + + if (options.jsonOutputPath !== undefined) { + await writeTextFile(options.jsonOutputPath, `${JSON.stringify(summary, null, 2)}\n`); + } + if (options.markdownOutputPath !== undefined) { + await writeTextFile(options.markdownOutputPath, renderMarkdown(summary)); + } + + return summary; +} + +async function readSpec(filePath: string): Promise { + const sourceText = await readFile(filePath, "utf8"); + return JSON.parse(sourceText) as ApiSpec; +} + +function diffSpecs(previous: ApiSpec, next: ApiSpec): DiffSummary { + const previousRoutes = indexRoutes(previous.routes); + const nextRoutes = indexRoutes(next.routes); + + const addedRoutes = sortedKeysDifference(nextRoutes, previousRoutes); + const removedRoutes = sortedKeysDifference(previousRoutes, nextRoutes); + + const changedRoutes = [...previousRoutes.keys()] + .filter((routeKey) => nextRoutes.has(routeKey)) + .map((routeKey) => diffRoute(previousRoutes.get(routeKey), nextRoutes.get(routeKey))) + .filter((route): route is RouteChange => route !== undefined) + .sort((left, right) => left.routeKey.localeCompare(right.routeKey)); + + return { + changed: + addedRoutes.length > 0 || + removedRoutes.length > 0 || + changedRoutes.length > 0, + addedRoutes, + removedRoutes, + changedRoutes, + }; +} + +function indexRoutes(routes: readonly ApiRouteSpec[]): ReadonlyMap { + return new Map( + routes.map((route) => { + const routeKey = buildRouteKey(route.method, route.pathTemplate); + return [ + routeKey, + { + routeKey, + params: new Map([ + ...route.pathParams.map((parameter) => [buildParameterKey("path", parameter), parameter.valueType] as const), + ...route.queryParams.map((parameter) => [buildParameterKey("query", parameter), parameter.valueType] as const), + ...route.bodyParams.map((parameter) => [buildParameterKey("body", parameter), parameter.valueType] as const), + ]), + }, + ] as const; + }), + ); +} + +function diffRoute( + previous: ComparableRoute | undefined, + next: ComparableRoute | undefined, +): RouteChange | undefined { + if (previous === undefined || next === undefined) { + return undefined; + } + + const addedParams = sortedKeysDifference(next.params, previous.params); + const removedParams = sortedKeysDifference(previous.params, next.params); + const changedParamTypes = [...previous.params.keys()] + .filter((parameterKey) => next.params.has(parameterKey)) + .map((parameterKey) => { + const previousType = previous.params.get(parameterKey); + const nextType = next.params.get(parameterKey); + if (previousType === nextType) { + return undefined; + } + return { + parameterKey, + previousType, + nextType, + } satisfies ParamTypeChange; + }) + .filter((change): change is ParamTypeChange => change !== undefined) + .sort((left, right) => left.parameterKey.localeCompare(right.parameterKey)); + + if ( + addedParams.length === 0 && + removedParams.length === 0 && + changedParamTypes.length === 0 + ) { + return undefined; + } + + return { + routeKey: previous.routeKey, + addedParams, + removedParams, + changedParamTypes, + }; +} + +function sortedKeysDifference( + left: ReadonlyMap, + right: ReadonlyMap, +): readonly string[] { + return [...left.keys()] + .filter((key) => !right.has(key)) + .sort((a, b) => a.localeCompare(b)); +} + +function buildRouteKey(method: HttpMethod, pathTemplate: string): string { + return `${method} ${pathTemplate}`; +} + +function buildParameterKey(location: ParameterLocation, parameter: ApiParameterSpec): string { + return `${location}:${parameter.canonicalPath}`; +} + +function renderMarkdown(summary: DiffSummary): string { + if (!summary.changed) { + return [ + "# Typesense API extraction changed", + "", + "The committed extraction diff does not include any API-shape changes that require `openapi.yml` updates.", + "", + ].join("\n"); + } + + const lines = [ + "# Update `openapi.yml` for extracted API changes", + "", + "The latest committed extractor output includes API-shape changes compared with the previous committed JSON.", + "", + ]; + + if (summary.addedRoutes.length > 0) { + lines.push("## Added routes", ""); + lines.push(...summary.addedRoutes.map((routeKey) => `- ${routeKey}`), ""); + } + + if (summary.removedRoutes.length > 0) { + lines.push("## Removed routes", ""); + lines.push(...summary.removedRoutes.map((routeKey) => `- ${routeKey}`), ""); + } + + if (summary.changedRoutes.length > 0) { + lines.push("## Changed routes", ""); + summary.changedRoutes.forEach((route) => { + lines.push(`### ${route.routeKey}`, ""); + if (route.addedParams.length > 0) { + lines.push(...route.addedParams.map((parameter) => `- Added parameter: ${parameter}`)); + } + if (route.removedParams.length > 0) { + lines.push(...route.removedParams.map((parameter) => `- Removed parameter: ${parameter}`)); + } + if (route.changedParamTypes.length > 0) { + lines.push( + ...route.changedParamTypes.map( + (change) => + `- Changed parameter type: ${change.parameterKey} (${formatType(change.previousType)} -> ${formatType(change.nextType)})`, + ), + ); + } + lines.push(""); + }); + } + + return `${lines.join("\n").trimEnd()}\n`; +} + +function formatType(valueType: ValueType | undefined): string { + return valueType ?? "undefined"; +} + +async function writeTextFile(filePath: string, contents: string): Promise { + await mkdir(path.dirname(filePath), { recursive: true }); + await writeFile(filePath, contents, "utf8"); +} From cc92d8f057a255fc5b147cc8dd99c6fd5866457a Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:52:00 +0300 Subject: [PATCH 26/30] chore: add project config files --- config.json | 14 ++++++++++++++ eslint.config.mjs | 33 +++++++++++++++++++++++++++++++++ tsconfig.json | 18 ++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 config.json create mode 100644 eslint.config.mjs create mode 100644 tsconfig.json diff --git a/config.json b/config.json new file mode 100644 index 0000000..76660a4 --- /dev/null +++ b/config.json @@ -0,0 +1,14 @@ +{ + "root_dir": "", + "route_file": "src/main/typesense_server.cpp", + "source_branch": "v30", + "output_path": "./output/typesense_api_spec.json", + "diagnostics_output_path": "./output/typesense_api_diagnostics.json", + "max_call_depth": 4, + "fail_on_unresolved": false, + "blacklist": { + "paths": ["/proxy", "/proxy_sse", "/operations/reset_peers", "/limits"], + "params": ["_ArraySize_"] + }, + "overrides": [] +} diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..92eb8b7 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,33 @@ +import eslint from "@eslint/js"; +import tseslint from "typescript-eslint"; + +export default tseslint.config( + eslint.configs.recommended, + ...tseslint.configs.recommendedTypeChecked, + { + ignores: ["**/dist/**"], + }, + { + languageOptions: { + parserOptions: { + projectService: true, + tsconfigRootDir: import.meta.dirname, + }, + }, + rules: { + "@typescript-eslint/consistent-type-imports": [ + "error", + { prefer: "type-imports", fixStyle: "separate-type-imports" }, + ], + "@typescript-eslint/no-explicit-any": "error", + "@typescript-eslint/no-unused-vars": [ + "error", + { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, + ], + }, + }, + { + files: ["**/*.js", "**/*.mjs"], + ...tseslint.configs.disableTypeChecked, + }, +); diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..1f11990 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "target": "ES2022", + "module": "Node16", + "moduleResolution": "Node16", + "strict": true, + "noImplicitOverride": true, + "noUncheckedIndexedAccess": true, + "exactOptionalPropertyTypes": true, + "esModuleInterop": true, + "skipLibCheck": true, + "declaration": true, + "outDir": "dist", + "rootDir": "src", + "resolveJsonModule": true + }, + "include": ["src"] +} From cb84c23a3f9302d5810cf293df1a57d9211ef579 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:52:03 +0300 Subject: [PATCH 27/30] chore: ignore build output --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 3c3629e..f06235c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules +dist From e23e559ec012d4bec58caf49c859ac10ddf5da74 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:52:05 +0300 Subject: [PATCH 28/30] chore: add extractor sync workflow --- .github/workflows/extract-api.yml | 143 ++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 .github/workflows/extract-api.yml diff --git a/.github/workflows/extract-api.yml b/.github/workflows/extract-api.yml new file mode 100644 index 0000000..9b03564 --- /dev/null +++ b/.github/workflows/extract-api.yml @@ -0,0 +1,143 @@ +name: Extract Typesense API + +on: + workflow_dispatch: + schedule: + - cron: "17 4 * * *" + push: + branches: + - master + paths: + - "src/**" + - "config.json" + - "package.json" + - "package-lock.json" + - "tsconfig.json" + - ".github/workflows/extract-api.yml" + +permissions: + contents: write + issues: write + +jobs: + extract: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + + - name: Install dependencies + run: npm ci --legacy-peer-deps + + - name: Build CLI + run: npm run build + + - name: Save previous extracted spec + run: | + if git cat-file -e HEAD:output/typesense_api_spec.json 2>/dev/null; then + git show HEAD:output/typesense_api_spec.json > "$RUNNER_TEMP/previous-typesense-api-spec.json" + else + printf '%s\n' '{"rootDir":"","routeFile":"","routes":[],"diagnostics":[]}' > "$RUNNER_TEMP/previous-typesense-api-spec.json" + fi + + - name: Run extractor + id: extract + continue-on-error: true + run: node dist/cli.js extract --config ./config.json --fail-on-diagnostics + + - name: Upload extractor artifacts for debugging + if: steps.extract.outcome != 'success' + uses: actions/upload-artifact@v4 + with: + name: extractor-debug-artifacts + if-no-files-found: warn + path: | + output/typesense_api_spec.json + output/typesense_api_diagnostics.json + + - name: Stop on extractor diagnostics + if: steps.extract.outcome != 'success' + run: exit 1 + + - name: Check for extracted output changes + id: changes + run: | + if git diff --quiet -- output/typesense_api_spec.json output/typesense_api_diagnostics.json; then + echo "changed=false" >> "$GITHUB_OUTPUT" + else + echo "changed=true" >> "$GITHUB_OUTPUT" + fi + + - name: Build semantic API diff + if: steps.changes.outputs.changed == 'true' + run: | + node dist/cli.js semantic-diff \ + --previous "$RUNNER_TEMP/previous-typesense-api-spec.json" \ + --next output/typesense_api_spec.json \ + --json-output "$RUNNER_TEMP/typesense-api-diff.json" \ + --markdown-output "$RUNNER_TEMP/typesense-api-diff.md" + + - name: Read semantic API diff result + if: steps.changes.outputs.changed == 'true' + id: semantic_diff + run: | + jq -r '"changed=\(.changed)"' "$RUNNER_TEMP/typesense-api-diff.json" >> "$GITHUB_OUTPUT" + + - name: Commit extracted artifacts + if: steps.changes.outputs.changed == 'true' + id: commit_artifacts + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add output/typesense_api_spec.json output/typesense_api_diagnostics.json + git commit -m "chore: update extracted Typesense API artifacts" + git push + echo "sha=$(git rev-parse HEAD)" >> "$GITHUB_OUTPUT" + + - name: Open OpenAPI update issue + if: steps.changes.outputs.changed == 'true' && steps.semantic_diff.outputs.changed == 'true' + uses: actions/github-script@v7 + with: + script: | + const fs = require("node:fs"); + const owner = context.repo.owner; + const repo = context.repo.repo; + const commitSha = "${{ steps.commit_artifacts.outputs.sha }}"; + const shortSha = commitSha.slice(0, 12); + const commitUrl = `https://github.com/${owner}/${repo}/commit/${commitSha}`; + const title = `Update openapi.yml for extracted Typesense API changes [${shortSha}]`; + const existing = await github.paginate(github.rest.issues.listForRepo, { + owner, + repo, + state: "open", + per_page: 100, + }); + const alreadyOpen = existing.some((issue) => issue.title === title); + if (alreadyOpen) { + core.info(`Open issue already exists: ${title}`); + return; + } + + const bodyPath = `${process.env.RUNNER_TEMP}/typesense-api-diff.md`; + const diffBody = fs.readFileSync(bodyPath, "utf8"); + const body = [ + "", + `Commit: ${commitUrl}`, + "", + diffBody, + ].join("\n"); + await github.rest.issues.create({ + owner, + repo, + title, + body, + }); From be9d3ded59a31ed0833bbc6d25463d55d00943f0 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 16:52:08 +0300 Subject: [PATCH 29/30] chore: update extracted api artifacts --- output/typesense_api_diagnostics.json | 1 + output/typesense_api_spec.json | 4329 +++++++++++++++++++++++++ 2 files changed, 4330 insertions(+) create mode 100644 output/typesense_api_diagnostics.json create mode 100644 output/typesense_api_spec.json diff --git a/output/typesense_api_diagnostics.json b/output/typesense_api_diagnostics.json new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/output/typesense_api_diagnostics.json @@ -0,0 +1 @@ +[] diff --git a/output/typesense_api_spec.json b/output/typesense_api_spec.json new file mode 100644 index 0000000..4526185 --- /dev/null +++ b/output/typesense_api_spec.json @@ -0,0 +1,4329 @@ +{ + "rootDir": "", + "routeFile": "src/main/typesense_server.cpp", + "routes": [ + { + "method": "GET", + "pathTemplate": "/aliases", + "handler": "get_aliases", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 48, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/aliases/:alias", + "handler": "del_alias", + "pathParams": [ + { + "name": "alias", + "canonicalPath": "alias", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1003, + "column": 34 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 51, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/aliases/:alias", + "handler": "get_alias", + "pathParams": [ + { + "name": "alias", + "canonicalPath": "alias", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2222, + "column": 46 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 49, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/aliases/:alias", + "handler": "put_upsert_alias", + "pathParams": [ + { + "name": "alias", + "canonicalPath": "alias", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 991, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [ + { + "name": "collection_name", + "canonicalPath": "collection_name", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2258, + "column": 71 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2264, + "column": 5 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 50, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/analytics/aggregate_events", + "handler": "post_write_analytics_to_db", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 95, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/analytics/events", + "handler": "get_analytics_events", + "pathParams": [], + "queryParams": [ + { + "name": "n", + "canonicalPath": "n", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3751, + "column": 34 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3745, + "column": 31 + } + ] + }, + { + "name": "user_id", + "canonicalPath": "user_id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3739, + "column": 34 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 96, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/analytics/events", + "handler": "post_create_event", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 94, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/analytics/flush", + "handler": "post_analytics_flush", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 97, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/analytics/rules", + "handler": "get_analytics_rules", + "pathParams": [], + "queryParams": [ + { + "name": "rule_tag", + "canonicalPath": "rule_tag", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3619, + "column": 37 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 89, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/analytics/rules", + "handler": "post_create_analytics_rules", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 91, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/analytics/rules/:name", + "handler": "del_analytics_rules", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3704, + "column": 31 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 93, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/analytics/rules/:name", + "handler": "get_analytics_rule", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3644, + "column": 31 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 90, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/analytics/rules/:name", + "handler": "put_upsert_analytics_rules", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3689, + "column": 5 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 92, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/analytics/status", + "handler": "get_analytics_status", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 98, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/collections", + "handler": "get_collections", + "pathParams": [], + "queryParams": [ + { + "name": "exclude_fields", + "canonicalPath": "exclude_fields", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 264, + "column": 42 + } + ] + }, + { + "name": "limit", + "canonicalPath": "limit", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 255, + "column": 33 + } + ] + }, + { + "name": "offset", + "canonicalPath": "offset", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 246, + "column": 34 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 44, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/collections", + "handler": "post_create_collection", + "pathParams": [], + "queryParams": [ + { + "name": "copy_documents", + "canonicalPath": "copy_documents", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 306, + "column": 89 + } + ] + }, + { + "name": "src_name", + "canonicalPath": "src_name", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 306, + "column": 51 + } + ] + } + ], + "bodyParams": [ + { + "name": "curation_sets", + "canonicalPath": "curation_sets", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1884, + "column": 116 + } + ] + }, + { + "name": "default_sorting_field", + "canonicalPath": "default_sorting_field", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1834, + "column": 48 + } + ] + }, + { + "name": "enable_nested_fields", + "canonicalPath": "enable_nested_fields", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1883, + "column": 65 + } + ] + }, + { + "name": "fields", + "canonicalPath": "fields", + "location": "body", + "valueType": "object[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1843, + "column": 50 + } + ] + }, + { + "name": "fields[]", + "canonicalPath": "fields[]", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 486, + "column": 24 + } + ] + }, + { + "name": "async_reference", + "canonicalPath": "fields[].async_reference", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 479, + "column": 52 + } + ] + }, + { + "name": "cascade_delete", + "canonicalPath": "fields[].cascade_delete", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 480, + "column": 57 + } + ] + }, + { + "name": "drop", + "canonicalPath": "fields[].drop", + "location": "body", + "valueType": "unknown", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 127, + "column": 8 + } + ] + }, + { + "name": "embed", + "canonicalPath": "fields[].embed", + "location": "body", + "valueType": "object", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 871, + "column": 32 + } + ] + }, + { + "name": "from", + "canonicalPath": "fields[].embed.from", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 866, + "column": 66 + } + ] + }, + { + "name": "mapping", + "canonicalPath": "fields[].embed.mapping", + "location": "body", + "valueType": "array", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 866, + "column": 13 + } + ] + }, + { + "name": "model_config", + "canonicalPath": "fields[].embed.model_config", + "location": "body", + "valueType": "object", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 873, + "column": 9 + } + ] + }, + { + "name": "model_name", + "canonicalPath": "fields[].embed.model_config.model_name", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 324, + "column": 12 + } + ] + }, + { + "name": "personalization_type", + "canonicalPath": "fields[].embed.model_config.personalization_type", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 874, + "column": 13 + } + ] + }, + { + "name": "facet", + "canonicalPath": "fields[].facet", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 473, + "column": 71 + } + ] + }, + { + "name": "hnsw_params", + "canonicalPath": "fields[].hnsw_params", + "location": "body", + "valueType": "object", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 479, + "column": 19 + } + ] + }, + { + "name": "ef_construction", + "canonicalPath": "fields[].hnsw_params.ef_construction", + "location": "body", + "valueType": "integer | uint", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 406, + "column": 13 + } + ] + }, + { + "name": "M", + "canonicalPath": "fields[].hnsw_params.M", + "location": "body", + "valueType": "integer | uint", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 410, + "column": 13 + } + ] + }, + { + "name": "index", + "canonicalPath": "fields[].index", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 474, + "column": 49 + } + ] + }, + { + "name": "infix", + "canonicalPath": "fields[].infix", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 475, + "column": 45 + } + ] + }, + { + "name": "model_config", + "canonicalPath": "fields[].model_config", + "location": "body", + "valueType": "object", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 67, + "column": 9 + } + ] + }, + { + "name": "name", + "canonicalPath": "fields[].name", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 236, + "column": 8 + } + ] + }, + { + "name": "nested", + "canonicalPath": "fields[].nested", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 489, + "column": 20 + } + ] + }, + { + "name": "nested_array", + "canonicalPath": "fields[].nested_array", + "location": "body", + "valueType": "integer", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 476, + "column": 19 + } + ] + }, + { + "name": "num_dim", + "canonicalPath": "fields[].num_dim", + "location": "body", + "valueType": "uint", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 890, + "column": 5 + } + ] + }, + { + "name": "optional", + "canonicalPath": "fields[].optional", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 488, + "column": 31 + } + ] + }, + { + "name": "range_index", + "canonicalPath": "fields[].range_index", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 477, + "column": 77 + } + ] + }, + { + "name": "reference", + "canonicalPath": "fields[].reference", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 483, + "column": 10 + } + ] + }, + { + "name": "sort", + "canonicalPath": "fields[].sort", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 475, + "column": 19 + } + ] + }, + { + "name": "stem", + "canonicalPath": "fields[].stem", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 478, + "column": 46 + } + ] + }, + { + "name": "stem_dictionary", + "canonicalPath": "fields[].stem_dictionary", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 478, + "column": 72 + } + ] + }, + { + "name": "store", + "canonicalPath": "fields[].store", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 478, + "column": 19 + } + ] + }, + { + "name": "symbols_to_index", + "canonicalPath": "fields[].symbols_to_index", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 480, + "column": 19 + } + ] + }, + { + "name": "token_separators", + "canonicalPath": "fields[].token_separators", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 479, + "column": 89 + } + ] + }, + { + "name": "truncate_len", + "canonicalPath": "fields[].truncate_len", + "location": "body", + "valueType": "uint", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 480, + "column": 93 + } + ] + }, + { + "name": "type", + "canonicalPath": "fields[].type", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 487, + "column": 46 + } + ] + }, + { + "name": "vec_dist", + "canonicalPath": "fields[].vec_dist", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 435, + "column": 67 + } + ] + }, + { + "name": "metadata", + "canonicalPath": "metadata", + "location": "body", + "valueType": "object", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1884, + "column": 72 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/field.cpp", + "line": 805, + "column": 19 + } + ] + }, + { + "name": "num_memory_shards", + "canonicalPath": "num_memory_shards", + "location": "body", + "valueType": "uint", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1814, + "column": 32 + } + ] + }, + { + "name": "symbols_to_index", + "canonicalPath": "symbols_to_index", + "location": "body", + "valueType": "array", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1881, + "column": 65 + } + ] + }, + { + "name": "synonym_sets", + "canonicalPath": "synonym_sets", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1884, + "column": 92 + } + ] + }, + { + "name": "token_separators", + "canonicalPath": "token_separators", + "location": "body", + "valueType": "array", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1882, + "column": 65 + } + ] + }, + { + "name": "voice_query_model", + "canonicalPath": "voice_query_model", + "location": "body", + "valueType": "object", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1857, + "column": 12 + } + ] + }, + { + "name": "model_name", + "canonicalPath": "voice_query_model.model_name", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1865, + "column": 41 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 42, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/collections/:collection", + "handler": "del_drop_collection", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 427, + "column": 72 + } + ] + } + ], + "queryParams": [ + { + "name": "compact_store", + "canonicalPath": "compact_store", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 419, + "column": 26 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 45, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/collections/:collection", + "handler": "get_collection_summary", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1360, + "column": 56 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 46, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PATCH", + "pathTemplate": "/collections/:collection", + "handler": "patch_update_collection", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 408, + "column": 64 + } + ] + } + ], + "queryParams": [], + "bodyParams": [ + { + "name": "curation_sets", + "canonicalPath": "curation_sets", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 389, + "column": 30 + } + ] + }, + { + "name": "fields", + "canonicalPath": "fields", + "location": "body", + "valueType": "unknown", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 406, + "column": 30 + } + ] + }, + { + "name": "metadata", + "canonicalPath": "metadata", + "location": "body", + "valueType": "object", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 362, + "column": 91 + } + ] + }, + { + "name": "synonym_sets", + "canonicalPath": "synonym_sets", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 375, + "column": 29 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 43, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/collections/:collection/documents", + "handler": "del_remove_documents", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2020, + "column": 56 + } + ] + } + ], + "queryParams": [ + { + "name": "batch_size", + "canonicalPath": "batch_size", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2107, + "column": 48 + } + ] + }, + { + "name": "filter_by", + "canonicalPath": "filter_by", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2120, + "column": 31 + } + ] + }, + { + "name": "return_doc", + "canonicalPath": "return_doc", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2128, + "column": 51 + } + ] + }, + { + "name": "return_id", + "canonicalPath": "return_id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2132, + "column": 50 + } + ] + }, + { + "name": "top_k_by", + "canonicalPath": "top_k_by", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2040, + "column": 28 + } + ] + }, + { + "name": "truncate", + "canonicalPath": "truncate", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2075, + "column": 44 + } + ] + }, + { + "name": "validate_field_names", + "canonicalPath": "validate_field_names", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2137, + "column": 61 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 31, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PATCH", + "pathTemplate": "/collections/:collection/documents", + "handler": "patch_update_documents", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1890, + "column": 56 + } + ] + } + ], + "queryParams": [ + { + "name": "dirty_values", + "canonicalPath": "dirty_values", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1908, + "column": 82 + } + ] + }, + { + "name": "filter_by", + "canonicalPath": "filter_by", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 830, + "column": 12 + } + ] + }, + { + "name": "validate_field_names", + "canonicalPath": "validate_field_names", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1903, + "column": 57 + } + ] + } + ], + "bodyParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection.cpp", + "line": 727, + "column": 17 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 38, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/collections/:collection/documents", + "handler": "post_add_document", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1788, + "column": 56 + } + ] + } + ], + "queryParams": [ + { + "name": "action", + "canonicalPath": "action", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1795, + "column": 61 + } + ] + }, + { + "name": "dirty_values", + "canonicalPath": "dirty_values", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1796, + "column": 70 + } + ] + }, + { + "name": "remote_embedding_num_tries", + "canonicalPath": "remote_embedding_num_tries", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1806, + "column": 49 + } + ] + }, + { + "name": "remote_embedding_timeout_ms", + "canonicalPath": "remote_embedding_timeout_ms", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1802, + "column": 50 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 30, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/collections/:collection/documents/:id", + "handler": "del_remove_document", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1973, + "column": 56 + } + ] + }, + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1998, + "column": 13 + } + ] + } + ], + "queryParams": [ + { + "name": "ignore_not_found", + "canonicalPath": "ignore_not_found", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1968, + "column": 57 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 39, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/collections/:collection/documents/:id", + "handler": "get_fetch_document", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1923, + "column": 56 + } + ] + }, + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1920, + "column": 26 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 36, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PATCH", + "pathTemplate": "/collections/:collection/documents/:id", + "handler": "patch_update_document", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1854, + "column": 56 + } + ] + }, + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection.cpp", + "line": 261, + "column": 9 + } + ] + } + ], + "queryParams": [ + { + "name": "dirty_values", + "canonicalPath": "dirty_values", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1867, + "column": 70 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 37, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/collections/:collection/documents/export", + "handler": "get_export_documents", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1416, + "column": 56 + } + ] + } + ], + "queryParams": [ + { + "name": "batch_size", + "canonicalPath": "batch_size", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1458, + "column": 58 + } + ] + }, + { + "name": "filter_by", + "canonicalPath": "filter_by", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1444, + "column": 28 + } + ] + }, + { + "name": "validate_field_names", + "canonicalPath": "validate_field_names", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1467, + "column": 65 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 34, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/collections/:collection/documents/import", + "handler": "post_import_documents", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1677, + "column": 56 + } + ] + } + ], + "queryParams": [ + { + "name": "action", + "canonicalPath": "action", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1729, + "column": 61 + } + ] + }, + { + "name": "batch_size", + "canonicalPath": "batch_size", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1636, + "column": 48 + } + ] + }, + { + "name": "dirty_values", + "canonicalPath": "dirty_values", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1734, + "column": 74 + } + ] + }, + { + "name": "remote_embedding_batch_size", + "canonicalPath": "remote_embedding_batch_size", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1637, + "column": 62 + } + ] + }, + { + "name": "remote_embedding_num_tries", + "canonicalPath": "remote_embedding_num_tries", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1639, + "column": 61 + } + ] + }, + { + "name": "remote_embedding_timeout_ms", + "canonicalPath": "remote_embedding_timeout_ms", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1638, + "column": 62 + } + ] + }, + { + "name": "return_doc", + "canonicalPath": "return_doc", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1735, + "column": 34 + } + ] + }, + { + "name": "return_id", + "canonicalPath": "return_id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1736, + "column": 33 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 33, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/collections/:collection/documents/search", + "handler": "get_search", + "pathParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 25, + "column": 5 + } + ] + } + ], + "queryParams": [ + { + "name": "cache_ttl", + "canonicalPath": "cache_ttl", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 873, + "column": 35 + } + ] + }, + { + "name": "collection", + "canonicalPath": "collection", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 830, + "column": 12 + } + ] + }, + { + "name": "conversation", + "canonicalPath": "conversation", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 652, + "column": 65 + } + ] + }, + { + "name": "conversation_id", + "canonicalPath": "conversation_id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 661, + "column": 27 + } + ] + }, + { + "name": "conversation_model_id", + "canonicalPath": "conversation_model_id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 665, + "column": 33 + } + ] + }, + { + "name": "conversation_stream", + "canonicalPath": "conversation_stream", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 656, + "column": 72 + } + ] + }, + { + "name": "exclude_fields", + "canonicalPath": "exclude_fields", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 793, + "column": 28 + } + ] + }, + { + "name": "nl_query_prompt_cache_ttl", + "canonicalPath": "nl_query_prompt_cache_ttl", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 719, + "column": 40 + } + ] + }, + { + "name": "preset", + "canonicalPath": "preset", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1374, + "column": 28 + } + ] + }, + { + "name": "q", + "canonicalPath": "q", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 714, + "column": 9 + } + ] + }, + { + "name": "stopwords", + "canonicalPath": "stopwords", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1402, + "column": 30 + } + ] + }, + { + "name": "use_cache", + "canonicalPath": "use_cache", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 602, + "column": 31 + } + ] + }, + { + "name": "x-typesense-user-id", + "canonicalPath": "x-typesense-user-id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1481, + "column": 17 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 25, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/config", + "handler": "post_config", + "pathParams": [], + "queryParams": [], + "bodyParams": [ + { + "name": "cache-num-entries", + "canonicalPath": "cache-num-entries", + "location": "body", + "valueType": "integer", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2457, + "column": 12 + } + ] + }, + { + "name": "embedding-cache-num-entries", + "canonicalPath": "embedding-cache-num-entries", + "location": "body", + "valueType": "integer", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/tsconfig.cpp", + "line": 86, + "column": 43 + } + ] + }, + { + "name": "enable-search-logging", + "canonicalPath": "enable-search-logging", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/tsconfig.cpp", + "line": 35, + "column": 35 + } + ] + }, + { + "name": "healthy-read-lag", + "canonicalPath": "healthy-read-lag", + "location": "body", + "valueType": "integer", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/tsconfig.cpp", + "line": 44, + "column": 24 + } + ] + }, + { + "name": "healthy-write-lag", + "canonicalPath": "healthy-write-lag", + "location": "body", + "valueType": "integer", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/tsconfig.cpp", + "line": 58, + "column": 25 + } + ] + }, + { + "name": "log-slow-requests-time-ms", + "canonicalPath": "log-slow-requests-time-ms", + "location": "body", + "valueType": "integer", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/tsconfig.cpp", + "line": 17, + "column": 39 + } + ] + }, + { + "name": "log-slow-searches-time-ms", + "canonicalPath": "log-slow-searches-time-ms", + "location": "body", + "valueType": "integer", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/tsconfig.cpp", + "line": 26, + "column": 39 + } + ] + }, + { + "name": "skip-writes", + "canonicalPath": "skip-writes", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/tsconfig.cpp", + "line": 100, + "column": 28 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 143, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/conversations/models", + "handler": "get_conversation_models", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 123, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/conversations/models", + "handler": "post_conversation_model", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 122, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/conversations/models/:id", + "handler": "del_conversation_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3182, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 126, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/conversations/models/:id", + "handler": "get_conversation_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3147, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 124, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/conversations/models/:id", + "handler": "put_conversation_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3200, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 125, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/curation_sets", + "handler": "get_curation_sets", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 79, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/curation_sets/:name", + "handler": "del_curation_set", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 4000, + "column": 5 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 82, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/curation_sets/:name", + "handler": "get_curation_set", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3977, + "column": 25 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 80, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/curation_sets/:name", + "handler": "put_curation_set", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/curation_index_manager.cpp", + "line": 163, + "column": 25 + } + ] + } + ], + "queryParams": [ + { + "name": "items", + "canonicalPath": "items", + "location": "query", + "valueType": "array | string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 4030, + "column": 56 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 81, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/curation_sets/:name/items", + "handler": "get_curation_set_items", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/curation_index_manager.cpp", + "line": 171, + "column": 19 + } + ] + } + ], + "queryParams": [ + { + "name": "limit", + "canonicalPath": "limit", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 4050, + "column": 31 + } + ] + }, + { + "name": "offset", + "canonicalPath": "offset", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 4042, + "column": 32 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 83, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/curation_sets/:name/items/:id", + "handler": "del_curation_set_item", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 4117, + "column": 5 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/curation_index_manager.cpp", + "line": 214, + "column": 19 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 86, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/curation_sets/:name/items/:id", + "handler": "get_curation_set_item", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 4072, + "column": 20 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/curation_index_manager.cpp", + "line": 188, + "column": 19 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 84, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/curation_sets/:name/items/:id", + "handler": "put_curation_set_item", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 4096, + "column": 5 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/curation_index_manager.cpp", + "line": 201, + "column": 19 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 85, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/debug", + "handler": "get_debug", + "pathParams": [], + "queryParams": [ + { + "name": "log_inflight_queries", + "canonicalPath": "log_inflight_queries", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 442, + "column": 33 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 109, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/health", + "handler": "get_health", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 110, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/health", + "handler": "post_health", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 112, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/health_with_rusage", + "handler": "get_health_with_resource_usage", + "pathParams": [], + "queryParams": [ + { + "name": "cpu_threshold", + "canonicalPath": "cpu_threshold", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 474, + "column": 41 + } + ] + }, + { + "name": "pending_write_batches_threshold", + "canonicalPath": "pending_write_batches_threshold", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 483, + "column": 67 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 111, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/keys", + "handler": "get_keys", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 53, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/keys", + "handler": "post_create_key", + "pathParams": [], + "queryParams": [], + "bodyParams": [ + { + "name": "actions", + "canonicalPath": "actions", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2355, + "column": 9 + } + ] + }, + { + "name": "autodelete", + "canonicalPath": "autodelete", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2358, + "column": 9 + } + ] + }, + { + "name": "collections", + "canonicalPath": "collections", + "location": "body", + "valueType": "string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2356, + "column": 9 + } + ] + }, + { + "name": "description", + "canonicalPath": "description", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2354, + "column": 9 + } + ] + }, + { + "name": "expires_at", + "canonicalPath": "expires_at", + "location": "body", + "valueType": "integer | uint", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2357, + "column": 9 + } + ] + }, + { + "name": "value", + "canonicalPath": "value", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2350, + "column": 13 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 55, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/keys/:id", + "handler": "del_key", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2397, + "column": 37 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 56, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/keys/:id", + "handler": "get_key", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2375, + "column": 37 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 54, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/limits/:id", + "handler": "del_rate_limit", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2787, + "column": 31 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 140, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/limits/:id", + "handler": "get_rate_limit", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2741, + "column": 31 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 137, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/limits/:id", + "handler": "put_rate_limit", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2760, + "column": 31 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 139, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/limits/active", + "handler": "get_active_throttles", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 135, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/limits/active/:id", + "handler": "del_throttle", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2836, + "column": 31 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 141, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/limits/exceeds", + "handler": "get_limit_exceed_counts", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 136, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/limits/exceeds/:id", + "handler": "del_exceed", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2854, + "column": 31 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 142, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/metrics.json", + "handler": "get_metrics_json", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 107, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/multi_search", + "handler": "post_multi_search", + "pathParams": [], + "queryParams": [ + { + "name": "cache_ttl", + "canonicalPath": "cache_ttl", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1341, + "column": 35 + } + ] + }, + { + "name": "collection", + "canonicalPath": "collection", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1446, + "column": 23 + } + ] + }, + { + "name": "conversation", + "canonicalPath": "conversation", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api_utils.cpp", + "line": 163, + "column": 8 + } + ] + }, + { + "name": "conversation_id", + "canonicalPath": "conversation_id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1264, + "column": 62 + } + ] + }, + { + "name": "conversation_model_id", + "canonicalPath": "conversation_model_id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1222, + "column": 52 + } + ] + }, + { + "name": "conversation_stream", + "canonicalPath": "conversation_stream", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1037, + "column": 32 + } + ] + }, + { + "name": "exclude_fields", + "canonicalPath": "exclude_fields", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1300, + "column": 28 + } + ] + }, + { + "name": "limit_multi_searches", + "canonicalPath": "limit_multi_searches", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 971, + "column": 42 + } + ] + }, + { + "name": "nl_query_prompt_cache_ttl", + "canonicalPath": "nl_query_prompt_cache_ttl", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1133, + "column": 48 + } + ] + }, + { + "name": "preset", + "canonicalPath": "preset", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1374, + "column": 28 + } + ] + }, + { + "name": "q", + "canonicalPath": "q", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1232, + "column": 23 + } + ] + }, + { + "name": "stopwords", + "canonicalPath": "stopwords", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1402, + "column": 30 + } + ] + }, + { + "name": "use_cache", + "canonicalPath": "use_cache", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 891, + "column": 31 + } + ] + }, + { + "name": "x-typesense-user-id", + "canonicalPath": "x-typesense-user-id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/collection_manager.cpp", + "line": 1481, + "column": 17 + } + ] + } + ], + "bodyParams": [ + { + "name": "remove_duplicates", + "canonicalPath": "remove_duplicates", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1033, + "column": 9 + } + ] + }, + { + "name": "searches", + "canonicalPath": "searches", + "location": "body", + "valueType": "object[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api_utils.cpp", + "line": 121, + "column": 9 + } + ] + }, + { + "name": "searches[]", + "canonicalPath": "searches[]", + "location": "body", + "valueType": "boolean[] | integer[] | number[] | string[]", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/auth_manager.cpp", + "line": 435, + "column": 21 + } + ] + }, + { + "name": "union", + "canonicalPath": "union", + "location": "body", + "valueType": "boolean", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 1028, + "column": 9 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 26, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/nl_search_models", + "handler": "get_nl_search_models", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 151, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/nl_search_models", + "handler": "post_nl_search_model", + "pathParams": [], + "queryParams": [], + "bodyParams": [ + { + "name": "service_account", + "canonicalPath": "service_account", + "location": "body", + "valueType": "object", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3515, + "column": 30 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 150, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/nl_search_models/:id", + "handler": "delete_nl_search_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3568, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 154, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/nl_search_models/:id", + "handler": "get_nl_search_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3457, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 152, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/nl_search_models/:id", + "handler": "put_nl_search_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3525, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 153, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/operations/cache/clear", + "handler": "post_clear_cache", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 117, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/operations/db/compact", + "handler": "post_compact_db", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 118, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/operations/schema_changes", + "handler": "get_schema_changes", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 120, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/operations/snapshot", + "handler": "post_snapshot", + "pathParams": [], + "queryParams": [ + { + "name": "snapshot_path", + "canonicalPath": "snapshot_path", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2424, + "column": 25 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 115, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/operations/vote", + "handler": "post_vote", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 116, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/personalization/models", + "handler": "get_personalization_models", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 129, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/personalization/models", + "handler": "post_personalization_model", + "pathParams": [], + "queryParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3248, + "column": 20 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3241, + "column": 18 + } + ] + }, + { + "name": "type", + "canonicalPath": "type", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3242, + "column": 18 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 128, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/personalization/models/:id", + "handler": "del_personalization_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3304, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 131, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/personalization/models/:id", + "handler": "get_personalization_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3268, + "column": 35 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 130, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/personalization/models/:id", + "handler": "put_personalization_model", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3337, + "column": 28 + } + ] + } + ], + "queryParams": [ + { + "name": "collection", + "canonicalPath": "collection", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3327, + "column": 34 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3324, + "column": 28 + } + ] + }, + { + "name": "type", + "canonicalPath": "type", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3330, + "column": 28 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 132, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/presets", + "handler": "get_presets", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 58, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/presets/:name", + "handler": "del_preset", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2642, + "column": 5 + } + ] + } + ], + "queryParams": [ + { + "name": "value", + "canonicalPath": "value", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2643, + "column": 5 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 61, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/presets/:name", + "handler": "get_preset", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2583, + "column": 5 + } + ] + } + ], + "queryParams": [ + { + "name": "value", + "canonicalPath": "value", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2584, + "column": 5 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 59, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/presets/:name", + "handler": "put_upsert_preset", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2617, + "column": 5 + } + ] + } + ], + "queryParams": [], + "bodyParams": [ + { + "name": "value", + "canonicalPath": "value", + "location": "body", + "valueType": "unknown", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2611, + "column": 76 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 60, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/stats.json", + "handler": "get_stats_json", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 108, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/status", + "handler": "get_status", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 113, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/stemming/dictionaries", + "handler": "get_stemming_dictionaries", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 102, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/stemming/dictionaries/:id", + "handler": "del_stemming_dictionary", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3038, + "column": 5 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 104, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/stemming/dictionaries/:id", + "handler": "get_stemming_dictionary", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3015, + "column": 29 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 103, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "POST", + "pathTemplate": "/stemming/dictionaries/import", + "handler": "post_import_stemming_dictionary", + "pathParams": [], + "queryParams": [ + { + "name": "batch_size", + "canonicalPath": "batch_size", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2936, + "column": 34 + } + ] + }, + { + "name": "id", + "canonicalPath": "id", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2974, + "column": 77 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 101, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/stopwords", + "handler": "get_stopwords", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 63, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/stopwords/:name", + "handler": "del_stopword", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2710, + "column": 41 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 66, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/stopwords/:name", + "handler": "get_stopword", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2664, + "column": 41 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 64, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/stopwords/:name", + "handler": "put_upsert_stopword", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2695, + "column": 41 + } + ] + } + ], + "queryParams": [], + "bodyParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "body", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 2703, + "column": 5 + } + ] + } + ], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 65, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/synonym_sets", + "handler": "get_synonym_sets", + "pathParams": [], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 69, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/synonym_sets/:name", + "handler": "del_synonym_set", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3822, + "column": 5 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 72, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/synonym_sets/:name", + "handler": "get_synonym_set", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3792, + "column": 42 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 70, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/synonym_sets/:name", + "handler": "put_synonym_set", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/synonym_index_manager.cpp", + "line": 178, + "column": 25 + } + ] + } + ], + "queryParams": [ + { + "name": "items", + "canonicalPath": "items", + "location": "query", + "valueType": "array | string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3858, + "column": 55 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 71, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/synonym_sets/:name/items", + "handler": "get_synonym_set_items", + "pathParams": [ + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/synonym_index_manager.cpp", + "line": 187, + "column": 25 + } + ] + } + ], + "queryParams": [ + { + "name": "limit", + "canonicalPath": "limit", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3881, + "column": 31 + } + ] + }, + { + "name": "offset", + "canonicalPath": "offset", + "location": "query", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3872, + "column": 32 + } + ] + } + ], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 73, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "DELETE", + "pathTemplate": "/synonym_sets/:name/items/:id", + "handler": "del_synonym_set_item", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3960, + "column": 5 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/synonym_index_manager.cpp", + "line": 231, + "column": 25 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 76, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "GET", + "pathTemplate": "/synonym_sets/:name/items/:id", + "handler": "get_synonym_set_item", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3906, + "column": 20 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/synonym_index_manager.cpp", + "line": 205, + "column": 25 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 74, + "column": 5 + }, + "diagnostics": [] + }, + { + "method": "PUT", + "pathTemplate": "/synonym_sets/:name/items/:id", + "handler": "put_synonym_set_item", + "pathParams": [ + { + "name": "id", + "canonicalPath": "id", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/core_api.cpp", + "line": 3935, + "column": 5 + } + ] + }, + { + "name": "name", + "canonicalPath": "name", + "location": "path", + "valueType": "string", + "sources": [ + { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/synonym_index_manager.cpp", + "line": 218, + "column": 25 + } + ] + } + ], + "queryParams": [], + "bodyParams": [], + "source": { + "filePath": "https://raw.githubusercontent.com/typesense/typesense/v30/src/main/typesense_server.cpp", + "line": 75, + "column": 5 + }, + "diagnostics": [] + } + ], + "diagnostics": [] +} From 046c4e2efceba75c631c224ab6391d1723bd0d61 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Apr 2026 17:13:03 +0300 Subject: [PATCH 30/30] build: fix dependency for tree-sitter --- .github/workflows/extract-api.yml | 2 +- package-lock.json | 2 +- package.json | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/extract-api.yml b/.github/workflows/extract-api.yml index 9b03564..9d1e10f 100644 --- a/.github/workflows/extract-api.yml +++ b/.github/workflows/extract-api.yml @@ -36,7 +36,7 @@ jobs: cache: npm - name: Install dependencies - run: npm ci --legacy-peer-deps + run: npm ci - name: Build CLI run: npm run build diff --git a/package-lock.json b/package-lock.json index 0915dfe..870dd69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2540,7 +2540,7 @@ "version": "5.9.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", - "dev": true, + "devOptional": true, "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", diff --git a/package.json b/package.json index 22326cf..adf6d93 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,11 @@ "tree-sitter-cpp": "^0.23.4", "zod": "^3.23.8" }, + "overrides": { + "tree-sitter-cpp": { + "tree-sitter": "^0.22.4" + } + }, "devDependencies": { "@eslint/js": "^9.39.1", "@types/node": "^22.0.0",