mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 23:43:09 +02:00
Fix indent
This commit is contained in:
parent
fe00cb9ad5
commit
a48e503caa
1 changed files with 16 additions and 16 deletions
|
@ -54,25 +54,25 @@ export const meta = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const state: any = { // < https://github.com/Microsoft/TypeScript/issues/1863
|
const state: any = { // < https://github.com/Microsoft/TypeScript/issues/1863
|
||||||
'admin': { isAdmin: true },
|
'admin': { isAdmin: true },
|
||||||
'moderator': { isModerator: true },
|
'moderator': { isModerator: true },
|
||||||
'adminOrModerator': {
|
'adminOrModerator': {
|
||||||
$or: [
|
$or: [
|
||||||
{ isAdmin: true },
|
{ isAdmin: true },
|
||||||
{ isModerator: true }
|
{ isModerator: true }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
'verified': { isVerified: true },
|
'verified': { isVerified: true },
|
||||||
'alive': {
|
'alive': {
|
||||||
updatedAt: { $gt: new Date(Date.now() - 1000 * 60 * 60 * 24 * 5) }
|
updatedAt: { $gt: new Date(Date.now() - 1000 * 60 * 60 * 24 * 5) }
|
||||||
},
|
},
|
||||||
[fallback]: {}
|
[fallback]: {}
|
||||||
};
|
};
|
||||||
|
|
||||||
const origin: any = { // < https://github.com/Microsoft/TypeScript/issues/1863
|
const origin: any = { // < https://github.com/Microsoft/TypeScript/issues/1863
|
||||||
'local': { host: null },
|
'local': { host: null },
|
||||||
'remote': { host: nonnull },
|
'remote': { host: nonnull },
|
||||||
[fallback]: {}
|
[fallback]: {}
|
||||||
};
|
};
|
||||||
|
|
||||||
const sort: any = { // < https://github.com/Microsoft/TypeScript/issues/1863
|
const sort: any = { // < https://github.com/Microsoft/TypeScript/issues/1863
|
||||||
|
|
Loading…
Reference in a new issue