mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 19:52:53 +00:00
refactor: rename receivingOrganizations field
This commit is contained in:
committed by
Benjamin Jöckel
parent
d781dd6de5
commit
7fbe1620ee
@@ -29,6 +29,11 @@ import {SCOrganizationWithoutReferences} from './organization';
|
||||
*/
|
||||
export interface SCMessageWithoutReferences
|
||||
extends SCCreativeWorkWithoutReferences {
|
||||
/**
|
||||
* Recipients of the message
|
||||
*/
|
||||
audienceOrganizations?: SCOrganizationWithoutReferences[];
|
||||
|
||||
/**
|
||||
* Audience of the message
|
||||
*/
|
||||
@@ -46,11 +51,6 @@ export interface SCMessageWithoutReferences
|
||||
*/
|
||||
messageBody: string;
|
||||
|
||||
/**
|
||||
* Recipients of the message
|
||||
*/
|
||||
receivingOrganizations?: SCOrganizationWithoutReferences[];
|
||||
|
||||
/**
|
||||
* Translated fields of a message
|
||||
*/
|
||||
@@ -115,18 +115,18 @@ export class SCMessageMeta
|
||||
de: {
|
||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
||||
.de,
|
||||
audienceOrganizations: 'Publikumsorganisationen',
|
||||
audiences: 'Zielgruppen',
|
||||
dateCreated: 'Erstellungsdatum',
|
||||
messageBody: 'Nachrichteninhalt',
|
||||
receivingOrganizations: 'empfangende Organisationen',
|
||||
},
|
||||
en: {
|
||||
...SCCreativeWorkMeta.getInstance<SCCreativeWorkMeta>().fieldTranslations
|
||||
.en,
|
||||
audienceOrganizations: 'audience organizations',
|
||||
audiences: 'audiences',
|
||||
dateCreated: 'date created',
|
||||
messageBody: 'message body',
|
||||
receivingOrganizations: 'receiving organizations',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"audiences": [
|
||||
"students"
|
||||
],
|
||||
"receivingOrganizations": [{
|
||||
"audienceOrganizations": [{
|
||||
"name": "TU Berlin",
|
||||
"type": "organization",
|
||||
"uid": "4806ef14-b631-5c20-91d1-3c627decca5a"
|
||||
|
||||
Reference in New Issue
Block a user