n8n
Version:
n8n Workflow Automation Tool
15 lines (14 loc) • 477 B
TypeScript
import type { ICredentialDataDecryptedObject } from 'n8n-workflow';
import type { RemoteResourceOwner, StatusResourceOwner } from './resource-owner';
export interface ExportableCredential {
id: string;
name: string;
type: string;
data: ICredentialDataDecryptedObject;
ownedBy: RemoteResourceOwner | null;
isGlobal?: boolean;
}
export type StatusExportableCredential = ExportableCredential & {
filename: string;
ownedBy?: StatusResourceOwner;
};