UNPKG

n8n

Version:

n8n Workflow Automation Tool

10 lines (9 loc) 465 B
import { ProjectRelationRepository, type User } from '@n8n/db'; import { type Scope } from '@n8n/permissions'; import { RoleService } from '../services/role.service'; export declare class ProjectScopeService { private readonly roleService; private readonly projectRelationRepository; constructor(roleService: RoleService, projectRelationRepository: ProjectRelationRepository); getProjectIds(user: User, scopes: Scope[]): Promise<string[] | null>; }