Add comprehensive development roadmap via GitHub Issues
Created 10 detailed GitHub issues covering: - Project activation and management UI (#1-2) - Worker node coordination and visualization (#3-4) - Automated GitHub repository scanning (#5) - Intelligent model-to-issue matching (#6) - Multi-model task execution system (#7) - N8N workflow integration (#8) - Hive-Bzzz P2P bridge (#9) - Peer assistance protocol (#10) Each issue includes detailed specifications, acceptance criteria, technical implementation notes, and dependency mapping. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
35
frontend/node_modules/react-docgen/dist/utils/resolveObjectPatternPropertyToValue.js
generated
vendored
Normal file
35
frontend/node_modules/react-docgen/dist/utils/resolveObjectPatternPropertyToValue.js
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
import getPropertyValuePath from './getPropertyValuePath.js';
|
||||
import resolveToValue from './resolveToValue.js';
|
||||
function resolveToObjectExpression(path) {
|
||||
if (path.isVariableDeclarator()) {
|
||||
const init = path.get('init');
|
||||
if (init.hasNode()) {
|
||||
return resolveToValue(init);
|
||||
}
|
||||
}
|
||||
else if (path.isAssignmentExpression()) {
|
||||
if (path.node.operator === '=') {
|
||||
return resolveToValue(path.get('right'));
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
/**
|
||||
* Resolve and ObjectProperty inside an ObjectPattern to its value if possible
|
||||
* If not found `null` is returned
|
||||
*/
|
||||
export default function resolveObjectPatternPropertyToValue(path) {
|
||||
if (!path.parentPath.isObjectPattern()) {
|
||||
return null;
|
||||
}
|
||||
const resolved = resolveToObjectExpression(path.parentPath.parentPath);
|
||||
if (resolved && resolved.isObjectExpression()) {
|
||||
const propertyPath = getPropertyValuePath(resolved,
|
||||
// Always id in ObjectPattern
|
||||
path.get('key').node.name);
|
||||
if (propertyPath) {
|
||||
return resolveToValue(propertyPath);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
Reference in New Issue
Block a user