mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: remove undocumented domain.union feature
This commit is contained in:
1 parent
f93108f160
commit
efb8adfe6d
7 files changed
+12
-36
No files matched your search
@@ -137,9 +137,8 @@ export async function calcLevel(domainId: string, report: Function) {
|
||||
}
|
||||
|
||||
async function runInDomain(id: string, report: Function) {
|
||||
const info = await domain.getUnion(id);
|
||||
if (info) info.union.unshift(id);
|
||||
const domainIds = info ? info.union : [id];
|
||||
const info = await domain.get(id);
|
||||
const domainIds = [id, ...(info.union || [])];
|
||||
const results: Record<keyof typeof RpTypes, ND> = {};
|
||||
const udict = new Proxy({}, { get: (self, key) => self[key] || 0 });
|
||||
for (const type in RpTypes) {
|
||||
|
||||
Reference in new issue
Block a user