mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-09 19:22:51 +00:00
feat: boost academic terms dynamically
This commit is contained in:
committed by
Rainer Killinger
parent
afd324fc6a
commit
13938ecf21
@@ -1,17 +1,8 @@
|
||||
// tslint:disable:no-default-export
|
||||
// tslint:disable:no-magic-numbers
|
||||
import {RecursivePartial} from '@openstapps/logger/lib/common';
|
||||
import {ElasticsearchConfigFile} from '../src/storage/elasticsearch/common';
|
||||
|
||||
/**
|
||||
* A partial type which is recursive
|
||||
*
|
||||
* Copied and only modified array type from `[]` to `Array<>` from https://stackoverflow.com/a/51365037
|
||||
*/
|
||||
type RecursivePartial<T> = {
|
||||
[P in keyof T]?:
|
||||
T[P] extends Array<(infer U)> ? Array<RecursivePartial<U>> :
|
||||
T[P] extends object ? RecursivePartial<T[P]> :
|
||||
T[P];
|
||||
};
|
||||
|
||||
/**
|
||||
* This is the database configuration for the technical university of berlin
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user