mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Merge pull request #18519 from davelopez/update_openapi_typescript_6.7.6
Update openapi-typescript dependency to version 6.7.6
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@
|
||||
"markdown-it": "^13.0.2",
|
||||
"markdown-it-regexp": "^0.4.0",
|
||||
"object-hash": "^3.0.0",
|
||||
"openapi-typescript": "^6.1.0",
|
||||
"openapi-typescript": "^6.7.6",
|
||||
"openapi-typescript-fetch": "^1.1.3",
|
||||
"pinia": "^2.1.7",
|
||||
"popper.js": "^1.16.1",
|
||||
|
||||
@@ -10,7 +10,7 @@ export type TemplateVariable =
|
||||
| components["schemas"]["TemplateVariablePathComponent"]
|
||||
| components["schemas"]["TemplateVariableBoolean"];
|
||||
export type TemplateSecret = components["schemas"]["TemplateSecret"];
|
||||
export type VariableValueType = (string | boolean | number) | undefined;
|
||||
export type VariableValueType = string | boolean | number;
|
||||
export type VariableData = { [key: string]: VariableValueType };
|
||||
export type SecretData = { [key: string]: string };
|
||||
|
||||
|
||||
@@ -72,7 +72,6 @@ export const fetchCollectionAttributes = fetcher
|
||||
.create();
|
||||
|
||||
const postCopyCollection = fetcher.path("/api/dataset_collections/{id}/copy").method("post").create();
|
||||
export async function copyCollection(id: string, dbkey: string): Promise<Record<string, never>> {
|
||||
const { data } = await postCopyCollection({ id, dbkey });
|
||||
return data;
|
||||
export async function copyCollection(id: string, dbkey: string): Promise<void> {
|
||||
await postCopyCollection({ id, dbkey });
|
||||
}
|
||||
|
||||
+2854
-2802
File diff suppressed because it is too large
Load Diff
@@ -39,7 +39,7 @@ export function metadataFormEntryDescription(what: string): FormEntry {
|
||||
};
|
||||
}
|
||||
|
||||
export function templateVariableFormEntry(variable: TemplateVariable, variableValue: VariableValueType): FormEntry {
|
||||
export function templateVariableFormEntry(variable: TemplateVariable, variableValue?: VariableValueType): FormEntry {
|
||||
const common_fields = {
|
||||
name: variable.name,
|
||||
label: variable.label ?? variable.name,
|
||||
@@ -166,7 +166,7 @@ export function createFormDataToPayload(template: TemplateSummary, formData: any
|
||||
return payload;
|
||||
}
|
||||
|
||||
export function formDataTypedGet(variableDefinition: TemplateVariable, formData: any): VariableValueType {
|
||||
export function formDataTypedGet(variableDefinition: TemplateVariable, formData: any): VariableValueType | undefined {
|
||||
// galaxy form library doesn't type values traditionally, so add a typed
|
||||
// access to the data if coming back as string. Though it does seem to be
|
||||
// typed properly - this might not be needed anymore?
|
||||
|
||||
+23
-23
@@ -6030,17 +6030,6 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
|
||||
resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"
|
||||
integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
|
||||
|
||||
fast-glob@^3.2.12:
|
||||
version "3.2.12"
|
||||
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
|
||||
integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==
|
||||
dependencies:
|
||||
"@nodelib/fs.stat" "^2.0.2"
|
||||
"@nodelib/fs.walk" "^1.2.3"
|
||||
glob-parent "^5.1.2"
|
||||
merge2 "^1.3.0"
|
||||
micromatch "^4.0.4"
|
||||
|
||||
fast-glob@^3.2.9:
|
||||
version "3.2.11"
|
||||
resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz"
|
||||
@@ -6063,6 +6052,17 @@ fast-glob@^3.3.0:
|
||||
merge2 "^1.3.0"
|
||||
micromatch "^4.0.4"
|
||||
|
||||
fast-glob@^3.3.2:
|
||||
version "3.3.2"
|
||||
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129"
|
||||
integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==
|
||||
dependencies:
|
||||
"@nodelib/fs.stat" "^2.0.2"
|
||||
"@nodelib/fs.walk" "^1.2.3"
|
||||
glob-parent "^5.1.2"
|
||||
merge2 "^1.3.0"
|
||||
micromatch "^4.0.4"
|
||||
|
||||
fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0:
|
||||
version "2.1.0"
|
||||
resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz"
|
||||
@@ -8990,16 +8990,16 @@ openapi-typescript-fetch@^1.1.3:
|
||||
resolved "https://registry.yarnpkg.com/openapi-typescript-fetch/-/openapi-typescript-fetch-1.1.3.tgz#354e6803b7885c7142ae11adc1b758afafd8aa2e"
|
||||
integrity sha512-smLZPck4OkKMNExcw8jMgrMOGgVGx2N/s6DbKL2ftNl77g5HfoGpZGFy79RBzU/EkaO0OZpwBnslfdBfh7ZcWg==
|
||||
|
||||
openapi-typescript@^6.1.0:
|
||||
version "6.1.0"
|
||||
resolved "https://registry.yarnpkg.com/openapi-typescript/-/openapi-typescript-6.1.0.tgz#404d94ea8598f757c526f9a414e66ba96c050dad"
|
||||
integrity sha512-4G0hQu9zXHESZe4fZouucmA+6J5oKSBNYzG0gPbV9V4aKBNIwfUY86ur/cxyTMzuN9vQuAiMe//q4ZMXgMvGtQ==
|
||||
openapi-typescript@^6.7.6:
|
||||
version "6.7.6"
|
||||
resolved "https://registry.yarnpkg.com/openapi-typescript/-/openapi-typescript-6.7.6.tgz#4f387199203bd7bfb94545cbc613751b52e3fa37"
|
||||
integrity sha512-c/hfooPx+RBIOPM09GSxABOZhYPblDoyaGhqBkD/59vtpN21jEuWKDlM0KYTvqJVlSYjKs0tBcIdeXKChlSPtw==
|
||||
dependencies:
|
||||
ansi-colors "^4.1.3"
|
||||
fast-glob "^3.2.12"
|
||||
fast-glob "^3.3.2"
|
||||
js-yaml "^4.1.0"
|
||||
supports-color "^9.2.3"
|
||||
undici "^5.12.0"
|
||||
supports-color "^9.4.0"
|
||||
undici "^5.28.4"
|
||||
yargs-parser "^21.1.1"
|
||||
|
||||
optionator@^0.8.1:
|
||||
@@ -10988,10 +10988,10 @@ supports-color@^8.0.0:
|
||||
dependencies:
|
||||
has-flag "^4.0.0"
|
||||
|
||||
supports-color@^9.2.3:
|
||||
version "9.3.0"
|
||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-9.3.0.tgz#cce566c5ad562eece4dfe5a4502a58efc54986a9"
|
||||
integrity sha512-hJ6RYjNbcBFkpHi+ykjar+7GgHs+65Kxyw940nBLOSjaWZ13acq4A5f+gWiV5w+xfsg5MbnjDxTigLcUuljerw==
|
||||
supports-color@^9.4.0:
|
||||
version "9.4.0"
|
||||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-9.4.0.tgz#17bfcf686288f531db3dea3215510621ccb55954"
|
||||
integrity sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==
|
||||
|
||||
supports-preserve-symlinks-flag@^1.0.0:
|
||||
version "1.0.0"
|
||||
@@ -11476,7 +11476,7 @@ undertaker@^1.2.1:
|
||||
object.reduce "^1.0.0"
|
||||
undertaker-registry "^1.0.0"
|
||||
|
||||
undici@^5.12.0:
|
||||
undici@^5.28.4:
|
||||
version "5.28.4"
|
||||
resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.4.tgz#6b280408edb6a1a604a9b20340f45b422e373068"
|
||||
integrity sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==
|
||||
|
||||
@@ -5,6 +5,8 @@ from fastapi import (
|
||||
Body,
|
||||
Path,
|
||||
Query,
|
||||
Response,
|
||||
status,
|
||||
)
|
||||
from typing_extensions import Annotated
|
||||
|
||||
@@ -68,6 +70,7 @@ class FastAPIDatasetCollections:
|
||||
@router.post(
|
||||
"/api/dataset_collections/{id}/copy",
|
||||
summary="Copy the given collection datasets to a new collection using a new `dbkey` attribute.",
|
||||
status_code=status.HTTP_204_NO_CONTENT,
|
||||
)
|
||||
def copy(
|
||||
self,
|
||||
@@ -76,6 +79,7 @@ class FastAPIDatasetCollections:
|
||||
payload: UpdateCollectionAttributePayload = Body(...),
|
||||
):
|
||||
self.service.copy(trans, id, payload)
|
||||
return Response(status_code=status.HTTP_204_NO_CONTENT)
|
||||
|
||||
@router.get(
|
||||
"/api/dataset_collections/{id}/attributes",
|
||||
|
||||
@@ -255,7 +255,7 @@ export interface components {
|
||||
/** Body_repositories__create_revision */
|
||||
Body_repositories__create_revision: {
|
||||
/** Commit Message */
|
||||
commit_message?: Record<string, never>
|
||||
commit_message?: unknown
|
||||
/** Files */
|
||||
files?: string[] | null
|
||||
}
|
||||
@@ -537,7 +537,7 @@ export interface components {
|
||||
}
|
||||
/** RepositoryMetadata */
|
||||
RepositoryMetadata: {
|
||||
[key: string]: components["schemas"]["RepositoryRevisionMetadata"] | undefined
|
||||
[key: string]: components["schemas"]["RepositoryRevisionMetadata"]
|
||||
}
|
||||
/** RepositoryMetadataInstallInfo */
|
||||
RepositoryMetadataInstallInfo: {
|
||||
@@ -609,7 +609,7 @@ export interface components {
|
||||
}
|
||||
/** RepositoryRevisionReadmes */
|
||||
RepositoryRevisionReadmes: {
|
||||
[key: string]: string | undefined
|
||||
[key: string]: string
|
||||
}
|
||||
/** RepositorySearchHit */
|
||||
RepositorySearchHit: {
|
||||
@@ -670,7 +670,7 @@ export interface components {
|
||||
/** Name */
|
||||
name: string
|
||||
/** Requirements */
|
||||
requirements: Record<string, never>[]
|
||||
requirements: unknown[]
|
||||
/** Tool Config */
|
||||
tool_config: string
|
||||
/** Tool Type */
|
||||
@@ -859,7 +859,7 @@ export interface components {
|
||||
* @description A map providing information about the language versions used in this tool. The keys should be the same values used in the `descriptor_type` field, and the value should be an array of all the language versions used for the given `descriptor_type`. Depending on the `descriptor_type` (e.g. CWL) multiple version values may be used in a single tool.
|
||||
*/
|
||||
descriptor_type_version?: {
|
||||
[key: string]: components["schemas"]["DescriptorTypeVersion"][] | undefined
|
||||
[key: string]: components["schemas"]["DescriptorTypeVersion"][]
|
||||
} | null
|
||||
/**
|
||||
* Id
|
||||
@@ -997,9 +997,9 @@ export interface components {
|
||||
/** Name */
|
||||
name: string
|
||||
/** Requirements */
|
||||
requirements: Record<string, never>[]
|
||||
requirements: unknown[]
|
||||
/** Tests */
|
||||
tests: Record<string, never>[]
|
||||
tests: unknown[]
|
||||
/** Tool Config */
|
||||
tool_config: string
|
||||
/** Tool Type */
|
||||
@@ -1038,11 +1038,13 @@ export interface components {
|
||||
pathItems: never
|
||||
}
|
||||
|
||||
export type $defs = Record<string, never>
|
||||
|
||||
export type external = Record<string, never>
|
||||
|
||||
export interface operations {
|
||||
/** Returns returns an API key for authenticated user based on BaseAuth headers. */
|
||||
authenticate__baseauth: {
|
||||
/** Returns returns an API key for authenticated user based on BaseAuth headers. */
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1052,11 +1054,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Index
|
||||
* @description index category
|
||||
*/
|
||||
categories__index: {
|
||||
/**
|
||||
* Index
|
||||
* @description index category
|
||||
*/
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1066,11 +1068,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Create
|
||||
* @description create a category
|
||||
*/
|
||||
categories__create: {
|
||||
/**
|
||||
* Create
|
||||
* @description create a category
|
||||
*/
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["CreateCategoryRequest"]
|
||||
@@ -1091,14 +1093,14 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Show
|
||||
* @description show category
|
||||
*/
|
||||
categories__show: {
|
||||
/**
|
||||
* Show
|
||||
* @description show category
|
||||
*/
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the category. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the category. */
|
||||
encoded_category_id: string
|
||||
}
|
||||
}
|
||||
@@ -1117,11 +1119,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Repositories
|
||||
* @description display repositories by category
|
||||
*/
|
||||
categories__repositories: {
|
||||
/**
|
||||
* Repositories
|
||||
* @description display repositories by category
|
||||
*/
|
||||
parameters: {
|
||||
query?: {
|
||||
installable?: boolean
|
||||
@@ -1129,8 +1131,8 @@ export interface operations {
|
||||
sort_order?: string
|
||||
page?: number | null
|
||||
}
|
||||
/** @description The encoded database identifier of the category. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the category. */
|
||||
encoded_category_id: string
|
||||
}
|
||||
}
|
||||
@@ -1149,8 +1151,8 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Service Info */
|
||||
tools_trs_service_info: {
|
||||
/** Service Info */
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1160,8 +1162,8 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Tool Classes */
|
||||
tools__trs_tool_classes: {
|
||||
/** Tool Classes */
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1171,22 +1173,22 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Trs Index */
|
||||
tools__trs_index: {
|
||||
/** Trs Index */
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
content: {
|
||||
"application/json": Record<string, never>
|
||||
"application/json": unknown
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Trs Get */
|
||||
tools__trs_get: {
|
||||
/** Trs Get */
|
||||
parameters: {
|
||||
/** @description See also https://ga4gh.github.io/tool-registry-service-schemas/DataModel/#trs-tool-and-trs-tool-version-ids */
|
||||
path: {
|
||||
/** @description See also https://ga4gh.github.io/tool-registry-service-schemas/DataModel/#trs-tool-and-trs-tool-version-ids */
|
||||
tool_id: string
|
||||
}
|
||||
}
|
||||
@@ -1205,11 +1207,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Trs Get Versions */
|
||||
tools__trs_get_versions: {
|
||||
/** Trs Get Versions */
|
||||
parameters: {
|
||||
/** @description See also https://ga4gh.github.io/tool-registry-service-schemas/DataModel/#trs-tool-and-trs-tool-version-ids */
|
||||
path: {
|
||||
/** @description See also https://ga4gh.github.io/tool-registry-service-schemas/DataModel/#trs-tool-and-trs-tool-version-ids */
|
||||
tool_id: string
|
||||
}
|
||||
}
|
||||
@@ -1228,12 +1230,12 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Index
|
||||
* @description Get a list of repositories or perform a search.
|
||||
*/
|
||||
repositories__index: {
|
||||
/**
|
||||
* Index
|
||||
* @description Get a list of repositories or perform a search.
|
||||
*/
|
||||
parameters?: {
|
||||
parameters: {
|
||||
query?: {
|
||||
q?: string | null
|
||||
page?: number | null
|
||||
@@ -1260,11 +1262,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Create
|
||||
* @description create a new repository
|
||||
*/
|
||||
repositories__create: {
|
||||
/**
|
||||
* Create
|
||||
* @description create a new repository
|
||||
*/
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["CreateRepositoryRequest"]
|
||||
@@ -1285,12 +1287,12 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Get Ordered Installable Revisions
|
||||
* @description Get an ordered list of the repository changeset revisions that are installable
|
||||
*/
|
||||
repositories__get_ordered_installable_revisions: {
|
||||
/**
|
||||
* Get Ordered Installable Revisions
|
||||
* @description Get an ordered list of the repository changeset revisions that are installable
|
||||
*/
|
||||
parameters?: {
|
||||
parameters: {
|
||||
query?: {
|
||||
owner?: string | null
|
||||
name?: string | null
|
||||
@@ -1312,18 +1314,18 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Legacy Install Info
|
||||
* @description Get information used by the install client to install this repository.
|
||||
*/
|
||||
repositories__legacy_install_info: {
|
||||
/**
|
||||
* Legacy Install Info
|
||||
* @description Get information used by the install client to install this repository.
|
||||
*/
|
||||
parameters: {
|
||||
/** @description Name of the target repository. */
|
||||
/** @description Owner of the target repository. */
|
||||
/** @description Changeset of the target repository. */
|
||||
query: {
|
||||
/** @description Name of the target repository. */
|
||||
name: string
|
||||
/** @description Owner of the target repository. */
|
||||
owner: string
|
||||
/** @description Changeset of the target repository. */
|
||||
changeset_revision: string
|
||||
}
|
||||
}
|
||||
@@ -1331,7 +1333,7 @@ export interface operations {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
content: {
|
||||
"application/json": Record<string, never>[]
|
||||
"application/json": unknown[]
|
||||
}
|
||||
}
|
||||
/** @description Validation Error */
|
||||
@@ -1342,18 +1344,18 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Install Info
|
||||
* @description Get information used by the install client to install this repository.
|
||||
*/
|
||||
repositories__install_info: {
|
||||
/**
|
||||
* Install Info
|
||||
* @description Get information used by the install client to install this repository.
|
||||
*/
|
||||
parameters: {
|
||||
/** @description Name of the target repository. */
|
||||
/** @description Owner of the target repository. */
|
||||
/** @description Changeset of the target repository. */
|
||||
query: {
|
||||
/** @description Name of the target repository. */
|
||||
name: string
|
||||
/** @description Owner of the target repository. */
|
||||
owner: string
|
||||
/** @description Changeset of the target repository. */
|
||||
changeset_revision: string
|
||||
}
|
||||
}
|
||||
@@ -1372,11 +1374,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Reset Metadata On Repository Legacy
|
||||
* @description reset metadata on a repository
|
||||
*/
|
||||
repositories__reset_legacy: {
|
||||
/**
|
||||
* Reset Metadata On Repository Legacy
|
||||
* @description reset metadata on a repository
|
||||
*/
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1386,8 +1388,8 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Updates */
|
||||
repositories__update: {
|
||||
/** Updates */
|
||||
parameters: {
|
||||
query: {
|
||||
owner?: string | null
|
||||
@@ -1400,7 +1402,7 @@ export interface operations {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
content: {
|
||||
"application/json": Record<string, never>
|
||||
"application/json": unknown
|
||||
}
|
||||
}
|
||||
/** @description Validation Error */
|
||||
@@ -1411,11 +1413,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Show */
|
||||
repositories__show: {
|
||||
/** Show */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
@@ -1434,11 +1436,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Show Allow Push */
|
||||
repositories__show_allow_push: {
|
||||
/** Show Allow Push */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
@@ -1457,13 +1459,13 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Add Allow Push */
|
||||
repositories__add_allow_push: {
|
||||
/** Add Allow Push */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
/** @description The target username. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
/** @description The target username. */
|
||||
username: string
|
||||
}
|
||||
}
|
||||
@@ -1482,13 +1484,13 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Remove Allow Push */
|
||||
repositories__remove_allow_push: {
|
||||
/** Remove Allow Push */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
/** @description The target username. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
/** @description The target username. */
|
||||
username: string
|
||||
}
|
||||
}
|
||||
@@ -1507,18 +1509,18 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Create Changeset Revision
|
||||
* @description upload new revision to the repository
|
||||
*/
|
||||
repositories__create_revision: {
|
||||
/**
|
||||
* Create Changeset Revision
|
||||
* @description upload new revision to the repository
|
||||
*/
|
||||
parameters: {
|
||||
/** @description Set commit message as a query parameter. */
|
||||
query?: {
|
||||
/** @description Set commit message as a query parameter. */
|
||||
commit_message?: string | null
|
||||
}
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
@@ -1542,17 +1544,19 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Set Deprecated */
|
||||
repositories__set_deprecated: {
|
||||
/** Set Deprecated */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
204: never
|
||||
204: {
|
||||
content: never
|
||||
}
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
content: {
|
||||
@@ -1561,17 +1565,19 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Unset Deprecated */
|
||||
repositories__unset_deprecated: {
|
||||
/** Unset Deprecated */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
204: never
|
||||
204: {
|
||||
content: never
|
||||
}
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
content: {
|
||||
@@ -1580,18 +1586,18 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Metadata
|
||||
* @description Get information about repository metadata
|
||||
*/
|
||||
repositories__metadata: {
|
||||
/**
|
||||
* Metadata
|
||||
* @description Get information about repository metadata
|
||||
*/
|
||||
parameters: {
|
||||
/** @description Include only downloadable repositories. */
|
||||
query?: {
|
||||
/** @description Include only downloadable repositories. */
|
||||
downloadable_only?: boolean
|
||||
}
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
@@ -1610,11 +1616,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Permissions */
|
||||
repositories__permissions: {
|
||||
/** Permissions */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
@@ -1633,14 +1639,14 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Reset Metadata On Repository
|
||||
* @description reset metadata on a repository
|
||||
*/
|
||||
repositories__reset: {
|
||||
/**
|
||||
* Reset Metadata On Repository
|
||||
* @description reset metadata on a repository
|
||||
*/
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
@@ -1659,19 +1665,21 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Set Malicious */
|
||||
repositories__set_malicious: {
|
||||
/** Set Malicious */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
/** @description The changeset revision corresponding to the target revision of the target repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
/** @description The changeset revision corresponding to the target revision of the target repository. */
|
||||
changeset_revision: string
|
||||
}
|
||||
}
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
204: never
|
||||
204: {
|
||||
content: never
|
||||
}
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
content: {
|
||||
@@ -1680,19 +1688,21 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Unset Malicious */
|
||||
repositories__unset_malicious: {
|
||||
/** Unset Malicious */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
/** @description The changeset revision corresponding to the target revision of the target repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
/** @description The changeset revision corresponding to the target revision of the target repository. */
|
||||
changeset_revision: string
|
||||
}
|
||||
}
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
204: never
|
||||
204: {
|
||||
content: never
|
||||
}
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
content: {
|
||||
@@ -1701,16 +1711,16 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Get Readmes
|
||||
* @description fetch readmes for repository revision
|
||||
*/
|
||||
repositories__readmes: {
|
||||
/**
|
||||
* Get Readmes
|
||||
* @description fetch readmes for repository revision
|
||||
*/
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
/** @description The changeset revision corresponding to the target revision of the target repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
/** @description The changeset revision corresponding to the target revision of the target repository. */
|
||||
changeset_revision: string
|
||||
}
|
||||
}
|
||||
@@ -1729,8 +1739,8 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Index */
|
||||
tools__index: {
|
||||
/** Index */
|
||||
parameters: {
|
||||
query: {
|
||||
q: string
|
||||
@@ -1742,7 +1752,7 @@ export interface operations {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
content: {
|
||||
"application/json": Record<string, never>
|
||||
"application/json": unknown
|
||||
}
|
||||
}
|
||||
/** @description Validation Error */
|
||||
@@ -1753,12 +1763,12 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Build Search Index
|
||||
* @description Not part of the stable API, just something to simplify
|
||||
* bootstrapping tool sheds, scripting, testing, etc...
|
||||
*/
|
||||
tools__build_search_index: {
|
||||
/**
|
||||
* Build Search Index
|
||||
* @description Not part of the stable API, just something to simplify
|
||||
* bootstrapping tool sheds, scripting, testing, etc...
|
||||
*/
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1768,11 +1778,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Index
|
||||
* @description index users
|
||||
*/
|
||||
users__index: {
|
||||
/**
|
||||
* Index
|
||||
* @description index users
|
||||
*/
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1782,11 +1792,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Create
|
||||
* @description create a user
|
||||
*/
|
||||
users__create: {
|
||||
/**
|
||||
* Create
|
||||
* @description create a user
|
||||
*/
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["CreateUserRequest"]
|
||||
@@ -1807,11 +1817,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Current
|
||||
* @description show current user
|
||||
*/
|
||||
users__current: {
|
||||
/**
|
||||
* Current
|
||||
* @description show current user
|
||||
*/
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1821,14 +1831,14 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Show
|
||||
* @description show a user
|
||||
*/
|
||||
users__show: {
|
||||
/**
|
||||
* Show
|
||||
* @description show a user
|
||||
*/
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the user. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the user. */
|
||||
encoded_user_id: string
|
||||
}
|
||||
}
|
||||
@@ -1847,11 +1857,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Return the user's API key */
|
||||
users__get_or_create_api_key: {
|
||||
/** Return the user's API key */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the user. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the user. */
|
||||
encoded_user_id: string
|
||||
}
|
||||
}
|
||||
@@ -1870,11 +1880,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Creates a new API key for the user */
|
||||
users__create_api_key: {
|
||||
/** Creates a new API key for the user */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the user. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the user. */
|
||||
encoded_user_id: string
|
||||
}
|
||||
}
|
||||
@@ -1893,17 +1903,19 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Delete the current API key of the user */
|
||||
users__delete_api_key: {
|
||||
/** Delete the current API key of the user */
|
||||
parameters: {
|
||||
/** @description The encoded database identifier of the user. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the user. */
|
||||
encoded_user_id: string
|
||||
}
|
||||
}
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
204: never
|
||||
204: {
|
||||
content: never
|
||||
}
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
content: {
|
||||
@@ -1912,8 +1924,8 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/** Version */
|
||||
configuration__version: {
|
||||
/** Version */
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
@@ -1923,11 +1935,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Change Password
|
||||
* @description reset a user
|
||||
*/
|
||||
users__internal_change_password: {
|
||||
/**
|
||||
* Change Password
|
||||
* @description reset a user
|
||||
*/
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["UiChangePasswordRequest"]
|
||||
@@ -1935,7 +1947,9 @@ export interface operations {
|
||||
}
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
204: never
|
||||
204: {
|
||||
content: never
|
||||
}
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
content: {
|
||||
@@ -1944,11 +1958,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Internal Login
|
||||
* @description login to web UI
|
||||
*/
|
||||
users__internal_login: {
|
||||
/**
|
||||
* Internal Login
|
||||
* @description login to web UI
|
||||
*/
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["UiLoginRequest"]
|
||||
@@ -1969,11 +1983,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Internal Logout
|
||||
* @description logout of web UI
|
||||
*/
|
||||
users__internal_logout: {
|
||||
/**
|
||||
* Internal Logout
|
||||
* @description logout of web UI
|
||||
*/
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["UiLogoutRequest"]
|
||||
@@ -1994,11 +2008,11 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Register
|
||||
* @description register a user
|
||||
*/
|
||||
users__internal_register: {
|
||||
/**
|
||||
* Register
|
||||
* @description register a user
|
||||
*/
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["UiRegisterRequest"]
|
||||
@@ -2019,18 +2033,18 @@ export interface operations {
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Metadata Internal
|
||||
* @description Get information about repository metadata
|
||||
*/
|
||||
repositories__internal_metadata: {
|
||||
/**
|
||||
* Metadata Internal
|
||||
* @description Get information about repository metadata
|
||||
*/
|
||||
parameters: {
|
||||
/** @description Include only downloadable repositories. */
|
||||
query?: {
|
||||
/** @description Include only downloadable repositories. */
|
||||
downloadable_only?: boolean
|
||||
}
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
path: {
|
||||
/** @description The encoded database identifier of the repository. */
|
||||
encoded_repository_id: string
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user