mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02d7208d73 | ||
|
|
75155a9a86 | ||
|
|
dd138fd0be | ||
|
|
608429c139 | ||
|
|
27ed3c11f1 | ||
|
|
b183198029 | ||
|
|
6e50b89b1a |
13
CHANGELOG.md
13
CHANGELOG.md
@@ -1,3 +1,16 @@
|
|||||||
|
# [0.70.0](https://gitlab.com/openstapps/core/compare/v0.69.0...v0.70.0) (2022-09-02)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* add auth provider to config menu items ([b183198](https://gitlab.com/openstapps/core/commit/b18319802969d711373e70cca5921730345aa3e8))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# [0.69.0](https://gitlab.com/openstapps/core/compare/v0.68.0...v0.69.0) (2022-08-17)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# [0.68.0](https://gitlab.com/openstapps/core/compare/v0.67.0...v0.68.0) (2022-06-27)
|
# [0.68.0](https://gitlab.com/openstapps/core/compare/v0.67.0...v0.68.0) (2022-06-27)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@openstapps/core",
|
"name": "@openstapps/core",
|
||||||
"version": "0.69.0",
|
"version": "0.71.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@openstapps/core",
|
"name": "@openstapps/core",
|
||||||
"version": "0.69.0",
|
"version": "0.71.0",
|
||||||
"description": "StAppsCore - Generalized model of data",
|
"description": "StAppsCore - Generalized model of data",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"Model",
|
"Model",
|
||||||
|
|||||||
@@ -16,12 +16,19 @@ import {Polygon} from 'geojson';
|
|||||||
import {SCTranslations} from '../general/i18n';
|
import {SCTranslations} from '../general/i18n';
|
||||||
import {SCMap} from '../general/map';
|
import {SCMap} from '../general/map';
|
||||||
import {SCLanguageSetting, SCSetting, SCUserGroupSetting} from '../things/setting';
|
import {SCLanguageSetting, SCSetting, SCUserGroupSetting} from '../things/setting';
|
||||||
|
import {SCAuthorizationProviderType} from './authorization';
|
||||||
import {SCFeatureConfiguration} from './feature';
|
import {SCFeatureConfiguration} from './feature';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An app configuration menu item
|
* An app configuration menu item
|
||||||
*/
|
*/
|
||||||
export interface SCAppConfigurationMenuItem {
|
export interface SCAppConfigurationMenuItem {
|
||||||
|
/**
|
||||||
|
* Key of authorization provider available in SCConfigFile
|
||||||
|
* Restricting and enabling the usage of this item
|
||||||
|
*/
|
||||||
|
authProvider?: SCAuthorizationProviderType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Icon for the menu item
|
* Icon for the menu item
|
||||||
*/
|
*/
|
||||||
@@ -52,25 +59,25 @@ export interface SCAppConfigurationMenuCategory {
|
|||||||
*/
|
*/
|
||||||
icon: string;
|
icon: string;
|
||||||
|
|
||||||
/**
|
|
||||||
* ID of the menu category
|
|
||||||
*/
|
|
||||||
id: 'main' | 'meta' | 'personal' | 'external';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A list of items that belong to the category
|
* A list of items that belong to the category
|
||||||
*/
|
*/
|
||||||
items: SCAppConfigurationMenuItem[];
|
items: SCAppConfigurationMenuItem[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Name of the category
|
* Title of the category
|
||||||
*/
|
*/
|
||||||
name: string;
|
title: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Route inside the app
|
||||||
|
*/
|
||||||
|
route: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Translations for the menu category
|
* Translations for the menu category
|
||||||
*/
|
*/
|
||||||
translations: SCTranslations<SCAppConfigurationMenuCategoryTranslationName>;
|
translations: SCTranslations<SCAppConfigurationMenuCategoryTranslationTitle>;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -162,11 +169,11 @@ export interface SCAppConfigurationMenuItemTranslationTitle {
|
|||||||
/**
|
/**
|
||||||
* Translatable property of a menu category
|
* Translatable property of a menu category
|
||||||
*/
|
*/
|
||||||
export interface SCAppConfigurationMenuCategoryTranslationName {
|
export interface SCAppConfigurationMenuCategoryTranslationTitle {
|
||||||
/**
|
/**
|
||||||
* Translation of the name of a menu category
|
* Translation of the name of a menu category
|
||||||
*/
|
*/
|
||||||
name: string;
|
title: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum SCAboutPageContentType {
|
export enum SCAboutPageContentType {
|
||||||
|
|||||||
@@ -39,11 +39,13 @@ import {
|
|||||||
*/
|
*/
|
||||||
export type SCBookCategories =
|
export type SCBookCategories =
|
||||||
| 'audio'
|
| 'audio'
|
||||||
|
| 'audiobook'
|
||||||
| 'book'
|
| 'book'
|
||||||
| 'cd'
|
| 'cd'
|
||||||
| 'dvd'
|
| 'dvd'
|
||||||
| 'ePhoto'
|
| 'eAudiobook'
|
||||||
| 'ebook'
|
| 'ebook'
|
||||||
|
| 'ePhoto'
|
||||||
| 'hierarchy'
|
| 'hierarchy'
|
||||||
| 'kit'
|
| 'kit'
|
||||||
| 'manuscript'
|
| 'manuscript'
|
||||||
@@ -169,11 +171,13 @@ export class SCBookMeta extends SCThingMeta implements SCMetaTranslations<SCBook
|
|||||||
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldValueTranslations.de,
|
...new SCThingThatCanBeOfferedMeta<SCAcademicPriceGroup>().fieldValueTranslations.de,
|
||||||
categories: {
|
categories: {
|
||||||
audio: 'Tonträger',
|
audio: 'Tonträger',
|
||||||
|
audiobook: 'Hörbuch',
|
||||||
book: 'Buch',
|
book: 'Buch',
|
||||||
cd: 'CD',
|
cd: 'CD',
|
||||||
dvd: 'DVD',
|
dvd: 'DVD',
|
||||||
ePhoto: 'E-Photo',
|
eAudiobook: 'E-Hörbuch',
|
||||||
ebook: 'E-Book',
|
ebook: 'E-Book',
|
||||||
|
ePhoto: 'E-Photo',
|
||||||
hierarchy: 'mehrteiliges Werk',
|
hierarchy: 'mehrteiliges Werk',
|
||||||
kit: 'Medienkombination',
|
kit: 'Medienkombination',
|
||||||
manuscript: 'Handschrift',
|
manuscript: 'Handschrift',
|
||||||
@@ -199,11 +203,13 @@ export class SCBookMeta extends SCThingMeta implements SCMetaTranslations<SCBook
|
|||||||
type: SCThingType.Book,
|
type: SCThingType.Book,
|
||||||
categories: {
|
categories: {
|
||||||
audio: 'audio material',
|
audio: 'audio material',
|
||||||
|
audiobook: 'audiobook',
|
||||||
book: 'book',
|
book: 'book',
|
||||||
cd: 'CD',
|
cd: 'CD',
|
||||||
dvd: 'DVD',
|
dvd: 'DVD',
|
||||||
ePhoto: 'E-Photo',
|
eAudiobook: 'E-Audiobook',
|
||||||
ebook: 'E-Book',
|
ebook: 'E-Book',
|
||||||
|
ePhoto: 'E-Photo',
|
||||||
hierarchy: 'multipart item',
|
hierarchy: 'multipart item',
|
||||||
kit: 'media combination',
|
kit: 'media combination',
|
||||||
manuscript: 'manuscript',
|
manuscript: 'manuscript',
|
||||||
|
|||||||
Reference in New Issue
Block a user