Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
protected _sourceInterfaces(source: Source): string[] {
let interfaces = ['transformable'];
if (isPullable(source)) {
interfaces.push('pullable');
}
if (isPushable(source)) {
interfaces.push('pushable');
}
if (isQueryable(source)) {
interfaces.push('queryable');
}
if (isSyncable(source)) {
interfaces.push('syncable');
}
if (isUpdatable(source)) {
interfaces.push('updatable');
}
return interfaces;
}