'use strict' ; import BaseModel from '../bases/BaseModel' ; import { IEntryData , IEntryCategoriesData } from 'teambition' ; class EntryModel extends BaseModel { public getEntry ( namespace ) { return this . _get < IEntryData > ( namespace , null ) ; } public setEntry ( namespace , entry ) { if ( ! this . getEntry ( namespace ) ) { this . _set ( namespace , null , entry ) ; } } } export default new EntryModel ( ) ;