ohctechv3/.svn/pristine/44/446def5882a764ba99523b6f33c4fe4066e93310.svn-base
2024-10-28 15:03:36 +05:30

22 lines
660 B
Plaintext

import LayerExpressionInterface from './LayerInterface';
import EffectsExpressionInterface from './EffectInterface';
import CompExpressionInterface from './CompInterface';
import ShapeExpressionInterface from './ShapeInterface';
import TextExpressionInterface from './TextInterface';
import FootageInterface from './FootageInterface';
var interfaces = {
layer: LayerExpressionInterface,
effects: EffectsExpressionInterface,
comp: CompExpressionInterface,
shape: ShapeExpressionInterface,
text: TextExpressionInterface,
footage: FootageInterface,
};
function getInterface(type) {
return interfaces[type] || null;
}
export default getInterface;