 e89f2f4b7b
			
		
	
	e89f2f4b7b
	
	
	
		
			
			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>
		
			
				
	
	
		
			29 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import resolveToValue from './resolveToValue.js';
 | |
| export default function resolveExportDeclaration(path) {
 | |
|     const definitions = [];
 | |
|     if (path.isExportDefaultDeclaration()) {
 | |
|         definitions.push(path.get('declaration'));
 | |
|     }
 | |
|     else if (path.isExportNamedDeclaration()) {
 | |
|         if (path.has('declaration')) {
 | |
|             const declaration = path.get('declaration');
 | |
|             if (declaration.isVariableDeclaration()) {
 | |
|                 declaration
 | |
|                     .get('declarations')
 | |
|                     .forEach((declarator) => definitions.push(declarator));
 | |
|             }
 | |
|             else if (declaration.isDeclaration()) {
 | |
|                 definitions.push(declaration);
 | |
|             }
 | |
|         }
 | |
|         else if (path.has('specifiers')) {
 | |
|             path.get('specifiers').forEach((specifier) => {
 | |
|                 if (specifier.isExportSpecifier()) {
 | |
|                     definitions.push(specifier.get('local'));
 | |
|                 }
 | |
|             });
 | |
|         }
 | |
|     }
 | |
|     return definitions.map((definition) => resolveToValue(definition));
 | |
| }
 |