feat: upend.js attr
includes backlinks
This commit is contained in:
parent
0177fe007d
commit
587eb69032
2 changed files with 11 additions and 2 deletions
|
@ -74,6 +74,15 @@ export class UpObject {
|
||||||
result[entry.attribute].push(entry);
|
result[entry.attribute].push(entry);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.backlinks.forEach((entry) => {
|
||||||
|
const attribute = `~${entry.attribute}`;
|
||||||
|
if (!result[attribute]) {
|
||||||
|
result[attribute] = [];
|
||||||
|
}
|
||||||
|
|
||||||
|
result[attribute].push(entry);
|
||||||
|
});
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12585,11 +12585,11 @@ __metadata:
|
||||||
|
|
||||||
"upend@file:../tools/upend_js::locator=upend-kestrel%40workspace%3A.":
|
"upend@file:../tools/upend_js::locator=upend-kestrel%40workspace%3A.":
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
resolution: "upend@file:../tools/upend_js#../tools/upend_js::hash=f2ceee&locator=upend-kestrel%40workspace%3A."
|
resolution: "upend@file:../tools/upend_js#../tools/upend_js::hash=88616b&locator=upend-kestrel%40workspace%3A."
|
||||||
dependencies:
|
dependencies:
|
||||||
debug: ^4.3.4
|
debug: ^4.3.4
|
||||||
lru-cache: ^7.0.0
|
lru-cache: ^7.0.0
|
||||||
checksum: aaeb2d9605684b048f9b0da394c60108ca655bedcb633aa752d6163094123435b2b4b5408244890822fc1444af5ffb9b0372a69c0a4f04e3b080ced6b77146b7
|
checksum: c73ce133f42c9669f15b5d38b2d552722d9df56ec1daa61d31b41d8a0ec6c9064a9424c6e5589d53edeebfc75c447464f10110539b8237c19bf9597987bd6d06
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue