superdesk/superdesk-client-core

View on GitHub
scripts/extensions/broadcasting/src/customization.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import {IRundownItemBase} from './interfaces';

export interface ICustomizations {
    getRundownItemDisplayName?: (rundownItem: IRundownItemBase) => string;
}

export const customizations: ICustomizations = {};

export function setCustomizations(_customizations: ICustomizations) {
    Object.assign(customizations, _customizations);
}