简化模块加载

deprecated hydro-build
This commit is contained in:
undefined committed 2020-07-15 20:46:45 +08:00
1 parent 8aef05a375
commit 8f6968bbbd
41 files changed
+1361 -1957

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ export const PERMS = [
];
let PERM_ALL = 0n;
for (const p in PERM) if (PERM[p]) PERM_ALL += PERM[p];
for (const p in PERM) if (PERM[p]) PERM_ALL |= PERM[p];
PERM.PERM_ALL = PERM_ALL;
export const PERMS_BY_FAMILY = {};
-1
View File
@@ -1,5 +1,4 @@
import { FindOneAndUpdateOption } from 'mongodb';
import { Dictionary } from 'lodash';
import * as db from '../service/db';
const coll = db.collection('system');