From 3301d46000bb7a296c05ccb36188d6c343a1881c Mon Sep 17 00:00:00 2001 From: Arne Gnisa Date: Mon, 17 Jun 2024 13:31:06 +0200 Subject: [PATCH 1/5] N21-1967 generate api --- package.json | 4 ++-- src/fileStorageApi/v3/api.ts | 4 ++-- src/fileStorageApi/v3/api/file-api.ts | 4 ++-- src/fileStorageApi/v3/api/file-config-api.ts | 4 ++-- src/fileStorageApi/v3/base.ts | 4 ++-- src/fileStorageApi/v3/common.ts | 4 ++-- src/fileStorageApi/v3/configuration.ts | 4 ++-- src/fileStorageApi/v3/index.ts | 4 ++-- src/fileStorageApi/v3/models/api-validation-error.ts | 4 ++-- src/fileStorageApi/v3/models/copy-file-list-response.ts | 4 ++-- src/fileStorageApi/v3/models/copy-file-params.ts | 4 ++-- src/fileStorageApi/v3/models/copy-file-response.ts | 4 ++-- src/fileStorageApi/v3/models/copy-files-of-parent-params.ts | 4 ++-- src/fileStorageApi/v3/models/file-record-list-response.ts | 4 ++-- src/fileStorageApi/v3/models/file-record-params.ts | 4 ++-- src/fileStorageApi/v3/models/file-record-parent-type.ts | 4 ++-- src/fileStorageApi/v3/models/file-record-response.ts | 4 ++-- src/fileStorageApi/v3/models/file-record-scan-status.ts | 4 ++-- src/fileStorageApi/v3/models/file-url-params.ts | 4 ++-- src/fileStorageApi/v3/models/files-storage-config-response.ts | 4 ++-- src/fileStorageApi/v3/models/preview-output-mime-types.ts | 4 ++-- src/fileStorageApi/v3/models/preview-status.ts | 4 ++-- src/fileStorageApi/v3/models/preview-width.ts | 4 ++-- src/fileStorageApi/v3/models/rename-file-params.ts | 4 ++-- src/fileStorageApi/v3/models/storage-location.ts | 4 ++-- 25 files changed, 50 insertions(+), 50 deletions(-) diff --git a/package.json b/package.json index ab3b23ad94..3a0aea9ea0 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "test:unit:ci": "npm run test:unit -- --coverage --ci --maxWorkers=4", "lint": "vue-cli-service lint", "generate-client:server": "node generate-client.js -c openapitools-for-server.json", - "generate-client:filestorage": "node generate-client.js -u 'http://localhost:4444/api/v3/docs-json/' -p 'src/fileStorageApi/v3' -c 'openapitools-for-file-storage.json'", - "generate-client:h5p-editor": "node generate-client.js -u 'http://localhost:4448/api/v3/docs-json/' -p 'src/h5pEditorApi/v3' -c 'openapitools-for-h5p-editor.json'" + "generate-client:filestorage": "node generate-client.js -u \"http://localhost:4444/api/v3/docs-json/\" -p \"src/fileStorageApi/v3\" -c \"openapitools-for-file-storage.json\"", + "generate-client:h5p-editor": "node generate-client.js -u \"http://localhost:4448/api/v3/docs-json/\" -p \"src/h5pEditorApi/v3\" -c \"openapitools-for-h5p-editor.json\"" }, "dependencies": { "@braintree/sanitize-url": "^6.0.4", diff --git a/src/fileStorageApi/v3/api.ts b/src/fileStorageApi/v3/api.ts index ebec406662..f24fd9aeed 100644 --- a/src/fileStorageApi/v3/api.ts +++ b/src/fileStorageApi/v3/api.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/api/file-api.ts b/src/fileStorageApi/v3/api/file-api.ts index 9a98a2f3d0..a82b069107 100644 --- a/src/fileStorageApi/v3/api/file-api.ts +++ b/src/fileStorageApi/v3/api/file-api.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/api/file-config-api.ts b/src/fileStorageApi/v3/api/file-config-api.ts index 4a998e0005..28afc679a3 100644 --- a/src/fileStorageApi/v3/api/file-config-api.ts +++ b/src/fileStorageApi/v3/api/file-config-api.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/base.ts b/src/fileStorageApi/v3/base.ts index 58e7e7ee90..d633ddd2e7 100644 --- a/src/fileStorageApi/v3/base.ts +++ b/src/fileStorageApi/v3/base.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/common.ts b/src/fileStorageApi/v3/common.ts index ff387d5ced..927bdf8400 100644 --- a/src/fileStorageApi/v3/common.ts +++ b/src/fileStorageApi/v3/common.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/configuration.ts b/src/fileStorageApi/v3/configuration.ts index 771c1dbbdb..ce202f21c6 100644 --- a/src/fileStorageApi/v3/configuration.ts +++ b/src/fileStorageApi/v3/configuration.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/index.ts b/src/fileStorageApi/v3/index.ts index 9ba67e6bce..8b762df664 100644 --- a/src/fileStorageApi/v3/index.ts +++ b/src/fileStorageApi/v3/index.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/api-validation-error.ts b/src/fileStorageApi/v3/models/api-validation-error.ts index 1510bd3ea7..9461d4ecbf 100644 --- a/src/fileStorageApi/v3/models/api-validation-error.ts +++ b/src/fileStorageApi/v3/models/api-validation-error.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/copy-file-list-response.ts b/src/fileStorageApi/v3/models/copy-file-list-response.ts index 0550ecc13e..ff967120c7 100644 --- a/src/fileStorageApi/v3/models/copy-file-list-response.ts +++ b/src/fileStorageApi/v3/models/copy-file-list-response.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/copy-file-params.ts b/src/fileStorageApi/v3/models/copy-file-params.ts index 458716a6f8..e006db3d57 100644 --- a/src/fileStorageApi/v3/models/copy-file-params.ts +++ b/src/fileStorageApi/v3/models/copy-file-params.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/copy-file-response.ts b/src/fileStorageApi/v3/models/copy-file-response.ts index 31c90d7c43..3fa384fe82 100644 --- a/src/fileStorageApi/v3/models/copy-file-response.ts +++ b/src/fileStorageApi/v3/models/copy-file-response.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/copy-files-of-parent-params.ts b/src/fileStorageApi/v3/models/copy-files-of-parent-params.ts index c184d7f363..f437542ab6 100644 --- a/src/fileStorageApi/v3/models/copy-files-of-parent-params.ts +++ b/src/fileStorageApi/v3/models/copy-files-of-parent-params.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/file-record-list-response.ts b/src/fileStorageApi/v3/models/file-record-list-response.ts index f20e200135..4c5553088b 100644 --- a/src/fileStorageApi/v3/models/file-record-list-response.ts +++ b/src/fileStorageApi/v3/models/file-record-list-response.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/file-record-params.ts b/src/fileStorageApi/v3/models/file-record-params.ts index c2a2e8a88a..8bd213cfd6 100644 --- a/src/fileStorageApi/v3/models/file-record-params.ts +++ b/src/fileStorageApi/v3/models/file-record-params.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/file-record-parent-type.ts b/src/fileStorageApi/v3/models/file-record-parent-type.ts index 231c4ac6f3..2146eab002 100644 --- a/src/fileStorageApi/v3/models/file-record-parent-type.ts +++ b/src/fileStorageApi/v3/models/file-record-parent-type.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/file-record-response.ts b/src/fileStorageApi/v3/models/file-record-response.ts index c2f080647f..13079a2dfb 100644 --- a/src/fileStorageApi/v3/models/file-record-response.ts +++ b/src/fileStorageApi/v3/models/file-record-response.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/file-record-scan-status.ts b/src/fileStorageApi/v3/models/file-record-scan-status.ts index 357f7f87d3..d55623d953 100644 --- a/src/fileStorageApi/v3/models/file-record-scan-status.ts +++ b/src/fileStorageApi/v3/models/file-record-scan-status.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/file-url-params.ts b/src/fileStorageApi/v3/models/file-url-params.ts index 71c2c52072..3a05831081 100644 --- a/src/fileStorageApi/v3/models/file-url-params.ts +++ b/src/fileStorageApi/v3/models/file-url-params.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/files-storage-config-response.ts b/src/fileStorageApi/v3/models/files-storage-config-response.ts index 84cc577c85..0fa9507bbe 100644 --- a/src/fileStorageApi/v3/models/files-storage-config-response.ts +++ b/src/fileStorageApi/v3/models/files-storage-config-response.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/preview-output-mime-types.ts b/src/fileStorageApi/v3/models/preview-output-mime-types.ts index 936ff2db26..4ac910ba24 100644 --- a/src/fileStorageApi/v3/models/preview-output-mime-types.ts +++ b/src/fileStorageApi/v3/models/preview-output-mime-types.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/preview-status.ts b/src/fileStorageApi/v3/models/preview-status.ts index a7e8fc59fa..75009ad747 100644 --- a/src/fileStorageApi/v3/models/preview-status.ts +++ b/src/fileStorageApi/v3/models/preview-status.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/preview-width.ts b/src/fileStorageApi/v3/models/preview-width.ts index b7d257d3aa..070573f675 100644 --- a/src/fileStorageApi/v3/models/preview-width.ts +++ b/src/fileStorageApi/v3/models/preview-width.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/rename-file-params.ts b/src/fileStorageApi/v3/models/rename-file-params.ts index 1873bf2806..63bf52c33d 100644 --- a/src/fileStorageApi/v3/models/rename-file-params.ts +++ b/src/fileStorageApi/v3/models/rename-file-params.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/fileStorageApi/v3/models/storage-location.ts b/src/fileStorageApi/v3/models/storage-location.ts index 699a1c2406..b21b8eb456 100644 --- a/src/fileStorageApi/v3/models/storage-location.ts +++ b/src/fileStorageApi/v3/models/storage-location.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * From eb2d6da75db86535a016c6598bd5afd6a9a44f9e Mon Sep 17 00:00:00 2001 From: Arne Gnisa Date: Mon, 17 Jun 2024 15:07:32 +0200 Subject: [PATCH 2/5] N21-1967 generate server api --- src/serverApi/v3/api.ts | 3 +++ src/serverApi/v3/base.ts | 4 ++-- src/serverApi/v3/common.ts | 4 ++-- src/serverApi/v3/configuration.ts | 4 ++-- src/serverApi/v3/index.ts | 4 ++-- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/serverApi/v3/api.ts b/src/serverApi/v3/api.ts index adc4fb5531..37fa268f4c 100644 --- a/src/serverApi/v3/api.ts +++ b/src/serverApi/v3/api.ts @@ -216,6 +216,8 @@ export enum AuthorizationBodyParamsReferenceTypeEnum { SchoolExternalTools = 'school-external-tools', Boardnodes = 'boardnodes', ContextExternalTools = 'context-external-tools', + ExternalTools = 'external-tools', + Instances = 'instances' } /** @@ -5589,6 +5591,7 @@ export enum Permission { ImportUserMigrate = 'IMPORT_USER_MIGRATE', ImportUserUpdate = 'IMPORT_USER_UPDATE', ImportUserView = 'IMPORT_USER_VIEW', + InstanceView = 'INSTANCE_VIEW', InviteAdministrators = 'INVITE_ADMINISTRATORS', InviteExperts = 'INVITE_EXPERTS', JoinMeeting = 'JOIN_MEETING', diff --git a/src/serverApi/v3/base.ts b/src/serverApi/v3/base.ts index 0da0e2b41f..5cf198d709 100644 --- a/src/serverApi/v3/base.ts +++ b/src/serverApi/v3/base.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/serverApi/v3/common.ts b/src/serverApi/v3/common.ts index ff387d5ced..927bdf8400 100644 --- a/src/serverApi/v3/common.ts +++ b/src/serverApi/v3/common.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/serverApi/v3/configuration.ts b/src/serverApi/v3/configuration.ts index 771c1dbbdb..ce202f21c6 100644 --- a/src/serverApi/v3/configuration.ts +++ b/src/serverApi/v3/configuration.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/serverApi/v3/index.ts b/src/serverApi/v3/index.ts index de68565fde..4c9c31c127 100644 --- a/src/serverApi/v3/index.ts +++ b/src/serverApi/v3/index.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * From 99a70c5b538e27bff579c69d28c963eea2ad97e3 Mon Sep 17 00:00:00 2001 From: Arne Gnisa Date: Mon, 17 Jun 2024 15:29:13 +0200 Subject: [PATCH 3/5] N21-1967 generate server api --- src/h5pEditorApi/v3/api.ts | 4 ++-- src/h5pEditorApi/v3/api/h5p-editor-api.ts | 4 ++-- src/h5pEditorApi/v3/base.ts | 4 ++-- src/h5pEditorApi/v3/common.ts | 4 ++-- src/h5pEditorApi/v3/configuration.ts | 4 ++-- src/h5pEditorApi/v3/index.ts | 4 ++-- src/h5pEditorApi/v3/models/api-validation-error.ts | 4 ++-- src/h5pEditorApi/v3/models/h5-pcontent-metadata.ts | 4 ++-- src/h5pEditorApi/v3/models/h5-pcontent-parent-type.ts | 4 ++-- .../v3/models/h5-peditor-model-content-response.ts | 4 ++-- src/h5pEditorApi/v3/models/h5-peditor-model-response.ts | 4 ++-- src/h5pEditorApi/v3/models/h5-psave-response.ts | 4 ++-- src/h5pEditorApi/v3/models/language-type.ts | 4 ++-- src/h5pEditorApi/v3/models/post-h5-pcontent-create-params.ts | 4 ++-- 14 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/h5pEditorApi/v3/api.ts b/src/h5pEditorApi/v3/api.ts index 3ac1d7c842..d5ec8c7332 100644 --- a/src/h5pEditorApi/v3/api.ts +++ b/src/h5pEditorApi/v3/api.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/api/h5p-editor-api.ts b/src/h5pEditorApi/v3/api/h5p-editor-api.ts index 90773e4007..8c7fd01667 100644 --- a/src/h5pEditorApi/v3/api/h5p-editor-api.ts +++ b/src/h5pEditorApi/v3/api/h5p-editor-api.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/base.ts b/src/h5pEditorApi/v3/base.ts index 4328eac0d6..b345c7b40f 100644 --- a/src/h5pEditorApi/v3/base.ts +++ b/src/h5pEditorApi/v3/base.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/common.ts b/src/h5pEditorApi/v3/common.ts index ff387d5ced..927bdf8400 100644 --- a/src/h5pEditorApi/v3/common.ts +++ b/src/h5pEditorApi/v3/common.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/configuration.ts b/src/h5pEditorApi/v3/configuration.ts index 771c1dbbdb..ce202f21c6 100644 --- a/src/h5pEditorApi/v3/configuration.ts +++ b/src/h5pEditorApi/v3/configuration.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/index.ts b/src/h5pEditorApi/v3/index.ts index 9ba67e6bce..8b762df664 100644 --- a/src/h5pEditorApi/v3/index.ts +++ b/src/h5pEditorApi/v3/index.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/models/api-validation-error.ts b/src/h5pEditorApi/v3/models/api-validation-error.ts index 1510bd3ea7..9461d4ecbf 100644 --- a/src/h5pEditorApi/v3/models/api-validation-error.ts +++ b/src/h5pEditorApi/v3/models/api-validation-error.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/models/h5-pcontent-metadata.ts b/src/h5pEditorApi/v3/models/h5-pcontent-metadata.ts index c378485618..c75027fb1a 100644 --- a/src/h5pEditorApi/v3/models/h5-pcontent-metadata.ts +++ b/src/h5pEditorApi/v3/models/h5-pcontent-metadata.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/models/h5-pcontent-parent-type.ts b/src/h5pEditorApi/v3/models/h5-pcontent-parent-type.ts index f720c285fe..bc4e2cf375 100644 --- a/src/h5pEditorApi/v3/models/h5-pcontent-parent-type.ts +++ b/src/h5pEditorApi/v3/models/h5-pcontent-parent-type.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/models/h5-peditor-model-content-response.ts b/src/h5pEditorApi/v3/models/h5-peditor-model-content-response.ts index eeb06f0be7..68144185dd 100644 --- a/src/h5pEditorApi/v3/models/h5-peditor-model-content-response.ts +++ b/src/h5pEditorApi/v3/models/h5-peditor-model-content-response.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/models/h5-peditor-model-response.ts b/src/h5pEditorApi/v3/models/h5-peditor-model-response.ts index cbb6f337e2..b044242dd4 100644 --- a/src/h5pEditorApi/v3/models/h5-peditor-model-response.ts +++ b/src/h5pEditorApi/v3/models/h5-peditor-model-response.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/models/h5-psave-response.ts b/src/h5pEditorApi/v3/models/h5-psave-response.ts index 6c46429ba6..62220577d7 100644 --- a/src/h5pEditorApi/v3/models/h5-psave-response.ts +++ b/src/h5pEditorApi/v3/models/h5-psave-response.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/models/language-type.ts b/src/h5pEditorApi/v3/models/language-type.ts index c4303ba385..b5bc323249 100644 --- a/src/h5pEditorApi/v3/models/language-type.ts +++ b/src/h5pEditorApi/v3/models/language-type.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * diff --git a/src/h5pEditorApi/v3/models/post-h5-pcontent-create-params.ts b/src/h5pEditorApi/v3/models/post-h5-pcontent-create-params.ts index b5fd3786c1..8a8c8762c5 100644 --- a/src/h5pEditorApi/v3/models/post-h5-pcontent-create-params.ts +++ b/src/h5pEditorApi/v3/models/post-h5-pcontent-create-params.ts @@ -1,8 +1,8 @@ /* tslint:disable */ /* eslint-disable */ /** - * HPI Schul-Cloud Server API - * This is v3 of HPI Schul-Cloud Server. Checkout /docs for v1. + * Schulcloud-Verbund-Software Server API + * This is v3 of Schulcloud-Verbund-Software Server. Checkout /docs for v1. * * The version of the OpenAPI document: 3.0 * From 0c16b543253c7e06d05002ae9d034310351d3117 Mon Sep 17 00:00:00 2001 From: Arne Gnisa Date: Mon, 17 Jun 2024 15:54:40 +0200 Subject: [PATCH 4/5] N21-1967 revert npm scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3a0aea9ea0..ab3b23ad94 100644 --- a/package.json +++ b/package.json @@ -11,8 +11,8 @@ "test:unit:ci": "npm run test:unit -- --coverage --ci --maxWorkers=4", "lint": "vue-cli-service lint", "generate-client:server": "node generate-client.js -c openapitools-for-server.json", - "generate-client:filestorage": "node generate-client.js -u \"http://localhost:4444/api/v3/docs-json/\" -p \"src/fileStorageApi/v3\" -c \"openapitools-for-file-storage.json\"", - "generate-client:h5p-editor": "node generate-client.js -u \"http://localhost:4448/api/v3/docs-json/\" -p \"src/h5pEditorApi/v3\" -c \"openapitools-for-h5p-editor.json\"" + "generate-client:filestorage": "node generate-client.js -u 'http://localhost:4444/api/v3/docs-json/' -p 'src/fileStorageApi/v3' -c 'openapitools-for-file-storage.json'", + "generate-client:h5p-editor": "node generate-client.js -u 'http://localhost:4448/api/v3/docs-json/' -p 'src/h5pEditorApi/v3' -c 'openapitools-for-h5p-editor.json'" }, "dependencies": { "@braintree/sanitize-url": "^6.0.4", From 77e65455232981bbb285b755ea611ab0c3997fbf Mon Sep 17 00:00:00 2001 From: Arne Gnisa Date: Mon, 17 Jun 2024 16:06:43 +0200 Subject: [PATCH 5/5] N21-1967 fixes file type in picker --- .../board-file-element/upload/file-picker/FilePicker.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/modules/feature/board-file-element/upload/file-picker/FilePicker.vue b/src/modules/feature/board-file-element/upload/file-picker/FilePicker.vue index 8af1f5d7bc..e6f83137d5 100644 --- a/src/modules/feature/board-file-element/upload/file-picker/FilePicker.vue +++ b/src/modules/feature/board-file-element/upload/file-picker/FilePicker.vue @@ -42,8 +42,12 @@ export default defineComponent({ } ); - const onFileChange = (files: File[]) => { - emit("update:file", files[0]); + const onFileChange = (files: File[] | File) => { + if (Array.isArray(files)) { + emit("update:file", files[0]); + } else { + emit("update:file", files); + } }; return {