Improve doc
This commit is contained in:
parent
b67f3438e9
commit
31802c9749
10 changed files with 85 additions and 16 deletions
|
@ -151,6 +151,15 @@ if ((config as any).sw) {
|
|||
}
|
||||
});
|
||||
}
|
||||
Meta.findOne({}).then(m => {
|
||||
if (m != null && (m as any).broadcasts != null) {
|
||||
Meta.update({}, {
|
||||
$rename: {
|
||||
broadcasts: 'announcements'
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
export type IMeta = {
|
||||
name?: string;
|
||||
|
@ -173,7 +182,7 @@ export type IMeta = {
|
|||
|
||||
langs?: string[];
|
||||
|
||||
broadcasts?: any[];
|
||||
announcements?: any[];
|
||||
|
||||
stats?: {
|
||||
notesCount: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue