diff --git a/openapi.json b/openapi.json index d481d07..577ce66 100644 --- a/openapi.json +++ b/openapi.json @@ -5821,7 +5821,7 @@ ] }, "value": { - "$ref": "#/components/schemas/SocketRefNPM" + "$ref": "#/components/schemas/SocketRefPyPI" } } }, @@ -5854,6 +5854,21 @@ "$ref": "#/components/schemas/SocketRefWeb" } } + }, + { + "type": "object", + "additionalProperties": false, + "properties": { + "type": { + "type": "string", + "enum": [ + "pypi" + ] + }, + "value": { + "$ref": "#/components/schemas/SocketRefPyPI" + } + } } ] }, @@ -5903,7 +5918,7 @@ "start" ] }, - "SocketRefNPM": { + "SocketRefPyPI": { "type": "object", "additionalProperties": false, "properties": { diff --git a/types/api.d.ts b/types/api.d.ts index dbd5112..92adff3 100644 --- a/types/api.d.ts +++ b/types/api.d.ts @@ -1764,7 +1764,7 @@ export interface components { Partial<{ /** @enum {string} */ type?: "npm"; - value?: components["schemas"]["SocketRefNPM"]; + value?: components["schemas"]["SocketRefPyPI"]; }> & Partial<{ /** @enum {string} */ @@ -1775,6 +1775,11 @@ export interface components { /** @enum {string} */ type?: "web"; value?: components["schemas"]["SocketRefWeb"]; + }> & + Partial<{ + /** @enum {string} */ + type?: "pypi"; + value?: components["schemas"]["SocketRefPyPI"]; }>; SocketRefTextRange: { /** @default 0 */ @@ -1792,7 +1797,7 @@ export interface components { /** @default 0 */ end: number; }; - SocketRefNPM: { + SocketRefPyPI: { /** @default */ package: string; /** @default */