mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-12 17:26:22 +00:00
feat: app release notes
This commit is contained in:
@@ -18,6 +18,7 @@ import {SCMap} from '../general/map.js';
|
||||
import {SCLanguageSetting, SCSetting, SCUserGroupSetting} from '../things/setting.js';
|
||||
import {SCAuthorizationProviderType} from './authorization.js';
|
||||
import {SCFeatureConfiguration} from './feature.js';
|
||||
import {SCISO8601Date} from '../general/time.js';
|
||||
|
||||
/**
|
||||
* An app configuration menu item
|
||||
@@ -136,6 +137,38 @@ export interface SCAppConfiguration {
|
||||
* URL where a web instance of the app is available
|
||||
*/
|
||||
url?: string;
|
||||
|
||||
/**
|
||||
* Version history in sequence of their publishing date.
|
||||
*
|
||||
* The items are ordered in descending version index order,
|
||||
* where the first item is always the most recent release.
|
||||
*/
|
||||
versionHistory?: SCAppVersionInfo[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Info about app version releases
|
||||
*/
|
||||
export interface SCAppVersionInfo {
|
||||
/**
|
||||
* Published date for each platform.
|
||||
*
|
||||
* Missing entries mean the version has not been published on that platform yet.
|
||||
*/
|
||||
published: Partial<Record<'web' | 'android' | 'ios', SCISO8601Date>>;
|
||||
/**
|
||||
* Version index that increments by one each version
|
||||
*/
|
||||
version: string;
|
||||
/**
|
||||
* Release notes of the version
|
||||
*/
|
||||
releaseNotes: string;
|
||||
/**
|
||||
* Translations
|
||||
*/
|
||||
translations: SCTranslations<{releaseNotes: string}>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user