{{ modal.body }}
+{{ global.information_modal.body }}
diff --git a/openapi.yaml b/openapi.yaml
index 04b24dbd2..78be14d41 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -1176,25 +1176,9 @@ components:
type: object
properties:
text:
- type: object
- properties:
- de:
- type: string
- en:
- type: string
- required:
- - de
- - en
+ type: string
url:
- type: object
- properties:
- de:
- type: string
- en:
- type: string
- required:
- - de
- - en
+ type: string
required:
- text
- url
@@ -1649,17 +1633,19 @@ components:
example: 126
minimum: 0
children:
- type: object
- properties:
- id:
- description: The id of the building
- type: string
- name:
- description: Main display name
- type: string
- required:
- - id
- - name
+ type: array
+ items:
+ type: object
+ properties:
+ id:
+ description: The id of the room
+ type: string
+ name:
+ description: Main display name
+ type: string
+ required:
+ - id
+ - name
required:
- children
- count
@@ -1727,6 +1713,25 @@ components:
$ref: '#/components/schemas/ImageInfo'
ranking_factors:
$ref: '#/components/schemas/RankingFactors'
+ sources:
+ type: object
+ required:
+ - base
+ description: 'Where we got our data from, should be displayed at the bottom of any page containing this data'
+ properties:
+ base:
+ type: array
+ description: What is the basis of the data we have
+ items:
+ type: object
+ minProperties: 1
+ properties:
+ name:
+ type: string
+ example: NavigaTUM
+ description: The name of the provider
+ required:
+ - name
required:
- type_common_name
- name
@@ -1734,6 +1739,7 @@ components:
- parent_names
- props
- ranking_factors
+ - sources
CalendarResponse:
type: object
properties:
diff --git a/webclient/README.md b/webclient/README.md
index 3a66faf05..08020405a 100644
--- a/webclient/README.md
+++ b/webclient/README.md
@@ -63,7 +63,7 @@ npm run lint
### Update the API's type definitions
```sh
-npx openapi-typescript openapi.yaml --output webclient/src/codegen/api.ts --export-type --immutable-types
+npx openapi-typescript openapi.yaml --output webclient/src/api_types/index.ts --export-type --immutable-types --support-array-length
```
## Build files & Serving release build
diff --git a/webclient/src/App.vue b/webclient/src/App.vue
index 194a1b103..7a39ad512 100644
--- a/webclient/src/App.vue
+++ b/webclient/src/App.vue
@@ -130,19 +130,20 @@ const global = useGlobalStore();
{{ modal.body }}
+{{ global.information_modal.body }}
{{ $t("feedback.success.thank_you") }}
{{ $t("feedback.success.response_at") }} - {{ + {{ $t("feedback.success.this_issue") }}
diff --git a/webclient/src/components/ShareButton.vue b/webclient/src/components/ShareButton.vue index 029d8c298..7e437fb96 100644 --- a/webclient/src/components/ShareButton.vue +++ b/webclient/src/components/ShareButton.vue @@ -1,27 +1,21 @@ - @@ -58,8 +52,8 @@ export default {