mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
17dc720df6 | ||
|
|
be98fd8c4c | ||
|
|
8c032209a0 | ||
|
|
82aaefe843 | ||
|
|
0ad7e48462 | ||
|
|
48218e89da |
13
CHANGELOG.md
13
CHANGELOG.md
@@ -1,3 +1,16 @@
|
|||||||
|
## [0.71.1](https://gitlab.com/openstapps/core/compare/v0.71.0...v0.71.1) (2022-11-22)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [0.71.0](https://gitlab.com/openstapps/core/compare/v0.70.0...v0.71.0) (2022-10-11)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add new book categories ([dd138fd](https://gitlab.com/openstapps/core/commit/dd138fd0be6d8100fc242816f5eb2549f2672ab3)), closes [#147](https://gitlab.com/openstapps/core/issues/147)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.70.0](https://gitlab.com/openstapps/core/compare/v0.69.0...v0.70.0) (2022-09-02)
|
# [0.70.0](https://gitlab.com/openstapps/core/compare/v0.69.0...v0.70.0) (2022-09-02)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@openstapps/core",
|
"name": "@openstapps/core",
|
||||||
"version": "0.71.0",
|
"version": "0.72.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@openstapps/core",
|
"name": "@openstapps/core",
|
||||||
"version": "0.71.0",
|
"version": "0.72.0",
|
||||||
"description": "StAppsCore - Generalized model of data",
|
"description": "StAppsCore - Generalized model of data",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Model",
|
"Model",
|
||||||
|
|||||||
@@ -53,6 +53,11 @@ export interface SCDishWithoutReferences
|
|||||||
*/
|
*/
|
||||||
nutrition?: SCNutritionInformation;
|
nutrition?: SCNutritionInformation;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Section of the restaurant menu to which the dish belongs
|
||||||
|
*/
|
||||||
|
menuSection?: SCMenuSection;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Translated fields of a dish
|
* Translated fields of a dish
|
||||||
*/
|
*/
|
||||||
@@ -187,6 +192,20 @@ export interface SCNutritionInformation {
|
|||||||
sugarContent?: number;
|
sugarContent?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface SCMenuSection {
|
||||||
|
/**
|
||||||
|
* Name of the menu section (mostly to be used as a section title)
|
||||||
|
*/
|
||||||
|
name: 'breakfast' | 'lunch' | 'dinner';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The time span when the dishes from the sections are available.
|
||||||
|
*
|
||||||
|
* @see http://wiki.openstreetmap.org/wiki/Key:opening_hours/specification
|
||||||
|
*/
|
||||||
|
servingHours?: string;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Meta information about a dish
|
* Meta information about a dish
|
||||||
*/
|
*/
|
||||||
@@ -201,10 +220,11 @@ export class SCDishMeta extends SCThingMeta implements SCMetaTranslations<SCDish
|
|||||||
SCThingWithCategoriesSpecificValues
|
SCThingWithCategoriesSpecificValues
|
||||||
>().fieldTranslations.de,
|
>().fieldTranslations.de,
|
||||||
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.de,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.de,
|
||||||
additives: 'Zusatzstoffe',
|
additives: 'Allergene und Zusatzstoffe',
|
||||||
characteristics: 'Merkmale',
|
characteristics: 'Merkmale',
|
||||||
dishAddOns: 'Beilagen',
|
dishAddOns: 'Beilagen',
|
||||||
nutrition: 'Nährwertangaben',
|
nutrition: 'Nährwertangaben',
|
||||||
|
menuSection: 'Menüabschnitt',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...new SCThingWithCategoriesWithoutReferencesMeta<
|
...new SCThingWithCategoriesWithoutReferencesMeta<
|
||||||
@@ -212,10 +232,11 @@ export class SCDishMeta extends SCThingMeta implements SCMetaTranslations<SCDish
|
|||||||
SCThingWithCategoriesSpecificValues
|
SCThingWithCategoriesSpecificValues
|
||||||
>().fieldTranslations.en,
|
>().fieldTranslations.en,
|
||||||
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.en,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldTranslations.en,
|
||||||
additives: 'additives',
|
additives: 'additives and allergens',
|
||||||
characteristics: 'characteristics',
|
characteristics: 'characteristics',
|
||||||
dishAddOns: 'side dishes',
|
dishAddOns: 'side dishes',
|
||||||
nutrition: 'nutrition information',
|
nutrition: 'nutrition information',
|
||||||
|
menuSection: 'menu section',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -117,6 +117,14 @@ export interface SCRoomSpecificValues extends SCThingWithCategoriesSpecificValue
|
|||||||
* @keyword
|
* @keyword
|
||||||
*/
|
*/
|
||||||
openingHours?: string;
|
openingHours?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Category specific service hours of the room (e.g. cooked food serving hours)
|
||||||
|
*
|
||||||
|
* @see http://wiki.openstreetmap.org/wiki/Key:opening_hours/specification
|
||||||
|
* @keyword
|
||||||
|
*/
|
||||||
|
serviceHours?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -135,6 +143,7 @@ export class SCRoomMeta extends SCThingMeta implements SCMetaTranslations<SCRoom
|
|||||||
...new SCThingInPlaceMeta().fieldTranslations.de,
|
...new SCThingInPlaceMeta().fieldTranslations.de,
|
||||||
floorName: 'Etagenbezeichnung',
|
floorName: 'Etagenbezeichnung',
|
||||||
inventory: 'Bestand',
|
inventory: 'Bestand',
|
||||||
|
serviceHours: 'Servicezeiten',
|
||||||
},
|
},
|
||||||
en: {
|
en: {
|
||||||
...new SCPlaceWithoutReferencesMeta().fieldTranslations.en,
|
...new SCPlaceWithoutReferencesMeta().fieldTranslations.en,
|
||||||
@@ -144,6 +153,7 @@ export class SCRoomMeta extends SCThingMeta implements SCMetaTranslations<SCRoom
|
|||||||
...new SCThingInPlaceMeta().fieldTranslations.en,
|
...new SCThingInPlaceMeta().fieldTranslations.en,
|
||||||
floorName: 'floor name',
|
floorName: 'floor name',
|
||||||
inventory: 'inventory',
|
inventory: 'inventory',
|
||||||
|
serviceHours: 'service hours',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user