@n8n-plus/n8n-plus
Version:
n8n Workflow Automation Tool (plus edition)
18 lines (17 loc) • 441 B
TypeScript
export type PersonalResourceOwner = {
type: 'personal';
projectId?: string;
projectName?: string;
personalEmail: string;
};
export type TeamResourceOwner = {
type: 'team';
teamId: string;
teamName: string;
};
export type RemoteResourceOwner = string | PersonalResourceOwner | TeamResourceOwner;
export type StatusResourceOwner = {
type: 'personal' | 'team';
projectId: string;
projectName: string;
};